From dsc at swcp.com Fri Aug 1 00:44:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 1 00:44:00 2003 Subject: I don't want "read from socket" to be blocking In-Reply-To: Message-ID: <45B3DE73-C3E2-11D7-8D63-000A9567A3E6@swcp.com> On Thursday, July 31, 2003, at 08:55 PM, Bj?rnke von Gierke wrote: > I use read socket to access a pop3 server (email) I need to repeat > certain commands several times. How can I make them non-blocking while > still repeating them? I just don't get it :( Normally when you read from a socket in a repeat loop you want blocking and would not use 'with message'. You might want to make sure all is working well with blocking before making a non-blocking version. If you are concerned that your handler (which may cause confusion if named 'handler') is taking a long time and keeping you or Revolution from doing anything else, you may want to take another approach. You want non-blocking and 'with message'. > repeat with x = 1 to (the second word of theData) --number of > messages > write ( "TOP" && x && "0" & crlf ) to socket server & ":110" > --TOP 0 =get only headers > read from socket server & ":110" until crlf & "." & crlf --should > be non-blocking but isn't > if theMessage contains "Reply-To: use-revolution at lists.runrev.com" > then -- I assume 'theMessage' means 'it'. > put x & "," after theList --gather all runrev messages > end if Sarah or Shao Sean can better comment on whether this is good POP3. The equivalent using 'read ... with message' is below. This off the top of my head, so you might need to make adjustments. The handler startGettingHeaders will get the headers based on its parameter and sor it away in the headerList. Error handling is ignored to keep this simple. local pop3socketID local currentRecord local lastRecord local headerList on startGettingHeaders numberOfMessages put numberOfMessages into lastRecord put 1 into currentRecord put empty into headerList queryHeader end startGettingHeaders on queryHeader write ("TOP" && currentRecord && "0" & CRLF) to socket pop3socketID read from socket pop3socketID until CRLF & "." & CRLF with message "processHeader" end queryHeader on processHeader socketID, headerData if headerData contains "Reply-To: use-revolution at lists.runrev.com" then put currentRecord & "," after headerList end if add 1 to currentRecord if currentRecord <= lastRecord then queryHeader else -- process header list (or send a message to process it) end if end processHeader Eventually you will want to write handlers for socketClosed, socketError and socketTimeout and examine the result on write and read. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From wmb at internettrainer.com Fri Aug 1 01:02:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Aug 1 01:02:01 2003 Subject: Fix to distribution builder available In-Reply-To: Message-ID: <30959527-C37D-11D7-BFA8-003065430226@internettrainer.com> On Donnerstag, Jul 31, 2003, at 18:20 Europe/Vienna, Mark Talluto wrote: > Here is a video I created that shows what you need to do. I have > found that version 2.0.1 of Rev does not correctly write the plst with > your information. So I edit it myself. I then save the file for > later use with later builds of my app. I have one for each app. > Thanks Mark, that video seems a big help...! regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From HyperChris at aol.com Fri Aug 1 01:06:00 2003 From: HyperChris at aol.com (HyperChris at aol.com) Date: Fri Aug 1 01:06:00 2003 Subject: 'Spreadsheet' Woes... Message-ID: <114.26feceb2.2c5b5bb5@aol.com> The most interesting thing I have found of late regarding tables is that when you edit a cell, a closeField message is sent to the stack script. Note that it is NOT sent to ... the card script to the field script or even to the the frontscrip (although there is a closeField handler in the frontScript ???) Instead this closeField message just goes to the stack script. Very strange but good to know as it allowed me to recalc the table like a spreadsheet does. If anyone can explain that it would be a good lesson for me to learn! From andre.rombauts at win.be Fri Aug 1 02:27:00 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Fri Aug 1 02:27:00 2003 Subject: Very easy to build a web database References: <5120128.1059703908256.JavaMail.tac@mac.com> Message-ID: <000d01c357fd$66cf7440$9e26fea9@piran> Very nice idea and piece of work but -here- it doesn't work properly. I managed to open the stack; it displayed the first item (1/10), but Prve and Next buttons have no effect. I managed however to add one item in the stack... Possibly a browser problem here? Andre Rombauts ----- Original Message ----- From: "Takaaki Furukawa" To: Sent: Friday, August 01, 2003 4:11 AM Subject: Very easy to build a web database > I built a simple card-based online database with RunRev CGI. I put a tutorial and it > explains how easy it is to read/make changes to stacks from the web. > > http://gladstone.uoregon.edu/~tfurukaw/RunRev/dbindex.html From sims at ezpzapps.com Fri Aug 1 02:39:00 2003 From: sims at ezpzapps.com (sims) Date: Fri Aug 1 02:39:00 2003 Subject: Very easy to build a web database In-Reply-To: <000d01c357fd$66cf7440$9e26fea9@piran> References: <5120128.1059703908256.JavaMail.tac@mac.com> <000d01c357fd$66cf7440$9e26fea9@piran> Message-ID: >Very nice idea and piece of work but -here- it doesn't work properly. >I managed to open the stack; it displayed the first item (1/10), but Prve >and Next buttons have no effect. >I managed however to add one item in the stack... >Possibly a browser problem here? Same result from Safari & IE 5.2.2 sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From tac at mac.com Fri Aug 1 02:58:00 2003 From: tac at mac.com (osxuser) Date: Fri Aug 1 02:58:00 2003 Subject: Very easy to build a web database In-Reply-To: <000d01c357fd$66cf7440$9e26fea9@piran> Message-ID: Hmm...It's working fine on my browser (Safari, Mozilla,IE) on Mac OS X 10.2. As an alternative,, you can also go to this page and tell the CGI which card to go to. (integer) http://gladstone.uoregon.edu/~tfurukaw/RunRev/opencard.html I will correct omitted HTML tags and other possible errors. (Maybe using multiple forms in one page is a problem?) Please check back later. http://gladstone.uoregon.edu/~tfurukaw/RunRev/dbindex.html - Takaaki Furukawa On Friday, August 1, 2003, at 12:20 AM, Andre Rombauts wrote: > Very nice idea and piece of work but -here- it doesn't work properly. > I managed to open the stack; it displayed the first item (1/10), but > Prve > and Next buttons have no effect. > I managed however to add one item in the stack... > Possibly a browser problem here? > > Andre Rombauts > ----- Original Message ----- > From: "Takaaki Furukawa" > To: > Sent: Friday, August 01, 2003 4:11 AM > Subject: Very easy to build a web database > > >> I built a simple card-based online database with RunRev CGI. I put a > tutorial and it >> explains how easy it is to read/make changes to stacks from the web. >> >> http://gladstone.uoregon.edu/~tfurukaw/RunRev/dbindex.html > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From igor at pixelmedia.com.au Fri Aug 1 03:13:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Aug 1 03:13:00 2003 Subject: getProp Parameters Message-ID: <129DA509-C3F7-11D7-97A7-000393AD9396@pixelmedia.com.au> According to the 'What's New in version 2.0-2.0.2' section of the Rev documentation: "(...) parameters in an 'on', 'setProp', 'getProp', or 'function' control structure can no longer have the same name as a built-in property or function." My query is in regards to the 'getProp' portion of this sentence. I thought that 'getProp' handlers were called only when a user/script tried accessing a custom property. If so, how can a parameter be passed when the getProp is called? Not long ago, I wanted to do exactly that - be able to pass a parameter to a getProp handler, so that based on the parameter passed, a different value would be returned. The property was a 'virtual property' of a group, and the group was supposed to query one of its children to get the appropriate property. I had to end up using *several* virtual properties - one for each child of the group - because I could not figure a way to pass a parameter to the 'getProp' - even though it sounds as if I should have been able to... Does anyone know what the story is? Is this just an error in the documentation, or is there really a way to pass a parameter to a 'getProp'? many thanks, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From andre.rombauts at win.be Fri Aug 1 03:17:01 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Fri Aug 1 03:17:01 2003 Subject: Very easy to build a web database References: Message-ID: <002601c35804$5c026480$9e26fea9@piran> Didn't work either... BUT I was testing with Win XP; I moved to my Mac and... it worked! I noticed that the card I added was... empty. Thus the program is NOT receiving keystrokes from a PC system... :-( ----- Original Message ----- From: "osxuser" To: Sent: Friday, August 01, 2003 9:51 AM Subject: Re: Very easy to build a web database > Hmm...It's working fine on my browser (Safari, Mozilla,IE) on Mac OS X > 10.2. > As an alternative,, you can also go to this page and tell the CGI which > card to go to. (integer) > http://gladstone.uoregon.edu/~tfurukaw/RunRev/opencard.html > > I will correct omitted HTML tags and other possible errors. > (Maybe using multiple forms in one page is a problem?) Please check > back later. > > http://gladstone.uoregon.edu/~tfurukaw/RunRev/dbindex.html > > - Takaaki Furukawa > > On Friday, August 1, 2003, at 12:20 AM, Andre Rombauts wrote: > > > Very nice idea and piece of work but -here- it doesn't work properly. > > I managed to open the stack; it displayed the first item (1/10), but > > Prve > > and Next buttons have no effect. > > I managed however to add one item in the stack... > > Possibly a browser problem here? > > > > Andre Rombauts > > ----- Original Message ----- > > From: "Takaaki Furukawa" > > To: > > Sent: Friday, August 01, 2003 4:11 AM > > Subject: Very easy to build a web database > > > > > >> I built a simple card-based online database with RunRev CGI. I put a > > tutorial and it > >> explains how easy it is to read/make changes to stacks from the web. > >> > >> http://gladstone.uoregon.edu/~tfurukaw/RunRev/dbindex.html > > > > > > _______________________________________________ > > 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 monte at sweattechnologies.com Fri Aug 1 03:26:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Aug 1 03:26:01 2003 Subject: getProp Parameters In-Reply-To: <129DA509-C3F7-11D7-97A7-000393AD9396@pixelmedia.com.au> Message-ID: > According to the 'What's New in version 2.0-2.0.2' section of the Rev > documentation: > > "(...) parameters in an 'on', 'setProp', 'getProp', or 'function' > control structure can no longer have the same name as a built-in > property or function." > > My query is in regards to the 'getProp' portion of this sentence. I > thought that 'getProp' handlers were called only when a user/script > tried accessing a custom property. If so, how can a parameter be passed > when the getProp is called? > > Not long ago, I wanted to do exactly that - be able to pass a parameter > to a getProp handler, so that based on the parameter passed, a > different value would be returned. The property was a 'virtual > property' of a group, and the group was supposed to query one of its > children to get the appropriate property. I had to end up using > *several* virtual properties - one for each child of the group - > because I could not figure a way to pass a parameter to the 'getProp' - > even though it sounds as if I should have been able to... > > Does anyone know what the story is? Is this just an error in the > documentation, or is there really a way to pass a parameter to a > 'getProp'? > Hi Igor You can't pass a parameter but you can do this: -- I guess this is what's meant by a getprop parameter getProp cProperty pIndex switch pIndex ... end switch end cProperty Then you use the following code to get the property: put the cProperty[pIndex] into tProperty Cheers Monte From igor at pixelmedia.com.au Fri Aug 1 03:42:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Aug 1 03:42:00 2003 Subject: getProp Parameters In-Reply-To: Message-ID: <13DD7DE3-C3FB-11D7-97A7-000393AD9396@pixelmedia.com.au> Dear Monte, WOW! On Friday, August 1, 2003, at 06:19 PM, Monte Goulding wrote: > You can't pass a parameter but you can do this: > > -- I guess this is what's meant by a getprop parameter > getProp cProperty pIndex > switch pIndex > ... > end switch > end cProperty > > Then you use the following code to get the property: > > put the cProperty[pIndex] into tProperty > That's great! I'm going to have to try this! This would have saved me SOOOOOOOOOOOOOOO much time!!! Many, many thanks for the tip! Kind Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From tac at mac.com Fri Aug 1 03:43:00 2003 From: tac at mac.com (Takaaki Furukawa) Date: Fri Aug 1 03:43:00 2003 Subject: Very easy to build a web database In-Reply-To: <002601c35804$5c026480$9e26fea9@piran> Message-ID: <368E0D5A-C3FB-11D7-B533-00039308EC44@mac.com> It could be that I was editing the script EXACTLY when you accessed, causing no data to be posted. Or it may really be the compatibility problem with browsers. What browser did you use on your XP? I'll test on various platforms tomorrow. - Takaaki Furukawa On Friday, August 1, 2003, at 01:10 AM, Andre Rombauts wrote: > Didn't work either... BUT I was testing with Win XP; I moved to my Mac > and... it worked! I noticed that the card I added was... empty. Thus > the > program is NOT receiving keystrokes from a PC system... :-( > > ----- Original Message ----- > From: "osxuser" > To: > Sent: Friday, August 01, 2003 9:51 AM > Subject: Re: Very easy to build a web database > > >> Hmm...It's working fine on my browser (Safari, Mozilla,IE) on Mac OS X >> 10.2. >> As an alternative,, you can also go to this page and tell the CGI >> which >> card to go to. (integer) >> http://gladstone.uoregon.edu/~tfurukaw/RunRev/opencard.html >> >> I will correct omitted HTML tags and other possible errors. >> (Maybe using multiple forms in one page is a problem?) Please check >> back later. >> >> http://gladstone.uoregon.edu/~tfurukaw/RunRev/dbindex.html >> >> - Takaaki Furukawa >> >> On Friday, August 1, 2003, at 12:20 AM, Andre Rombauts wrote: >> >>> Very nice idea and piece of work but -here- it doesn't work properly. >>> I managed to open the stack; it displayed the first item (1/10), but >>> Prve >>> and Next buttons have no effect. >>> I managed however to add one item in the stack... >>> Possibly a browser problem here? >>> >>> Andre Rombauts >>> ----- Original Message ----- >>> From: "Takaaki Furukawa" >>> To: >>> Sent: Friday, August 01, 2003 4:11 AM >>> Subject: Very easy to build a web database >>> >>> >>>> I built a simple card-based online database with RunRev CGI. I put a >>> tutorial and it >>>> explains how easy it is to read/make changes to stacks from the web. >>>> >>>> http://gladstone.uoregon.edu/~tfurukaw/RunRev/dbindex.html >>> >>> >>> _______________________________________________ >>> 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 sims at ezpzapps.com Fri Aug 1 03:55:01 2003 From: sims at ezpzapps.com (sims) Date: Fri Aug 1 03:55:01 2003 Subject: Very easy to build a web database In-Reply-To: <368E0D5A-C3FB-11D7-B533-00039308EC44@mac.com> References: <368E0D5A-C3FB-11D7-B533-00039308EC44@mac.com> Message-ID: >It could be that I was editing the script EXACTLY when you accessed, causing >no data to be posted. Or it may really be the compatibility problem >with browsers. Tried again and can use the find feature & make new card. Thanks for the lesson. sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From apierre.lgc at libertysurf.fr Fri Aug 1 04:02:01 2003 From: apierre.lgc at libertysurf.fr (Alain PIERRE) Date: Fri Aug 1 04:02:01 2003 Subject: Is RR suited for this project ? Message-ID: <5.2.0.9.0.20030801090521.043bcdb0@127.0.0.1> Hi, I recently discovered RR while doing some research on the net and would like to know whether RR is most suited for the following database publishing project. If not, which software and database (DB)/RDBMS is most suited ? - Annually updated commercial European multi-lingual publication ( min. 3 languages: english, french, dutch - maybe later on: spanish, italian ) - Publishing medium: . 1st edition: paper, stand-alone application on CD-ROM / DVD ( text and graphics/images ) . 2nd edition+: paper, stand-alone application on CD-ROM / DVD ( text, graphics/images, audio and video ), Internet - Data: . text, graphics/images, audio and video ( various formats ) . text: multi-lingual - Publishing format: . CD-ROM / DVD: stand-alone application and PDF files . Internet: static ( and probably dynamic ) web pages - Database: . 25 related files/tables . total of approx. 7000 records/rows . encrypted . embedded PDF files . read from CD-ROM / DVD or to be installed on hard disk(*) - PDF files: . generated from DB/RDBMS - Stand-alone application: . compiled ( & linked ) . run from CD-ROM / DVD or to be installed on hard disk(*) . multi-lingual . present development platform: Windows 98 - 2nd edition . distribution platform: Windows, probably also Mac . graphics/images: separate viewing ( thumbnail + enlarged ) + slide-show . read-only + read/write version . data quering by form, cfr FileMaker ( user don't have to enter SQL statements or use a query editor ) . data quering by form on related tables . data quering results: record by record + grid . downloadable time-limited demo ( with partial data or a limited number of records/rows ) . import of images/graphics from scanner . possibilty to define hyperlinked areas ( link to text or other image ) on graphics/images (*) determined by read-write/read-only status, speed and copy protection considerations. Questions: ---------- 01.1 Most suited development software ? Why ? 01.2 Most suited platform to develop on ? Why ? 01.3 Most tried-and-true, stable version to develop with on the development platform ? 01.4 What's needed to port the application to other platform(s) ? 01.5 Necessary plug-ins / add-ons / add-ins / ... ? 01.6 Distributed application RAM requirements ? 01.7 Stand-alone application CD-ROM / DVD reading speed ? 01.8 Stand-alone application size ( excl. database ), especially regarding downloadable demo ? ADSL or high speed Internet access is not ( yet ) available everywhere in Europe, especially for non-professional users. 01.09 Stand-alone application: which screen resolution & screen size to develop for ? 02.1 Most suited DB/RDBMS ? 02.2 Most tried-and-true, stable version to develop with ? 02.3 Allows indexed compound fields ? 02.4 Allows prefixed auto-increment fields ? 02.5 Design and management tools ? 02.6 Data encryption tools ? 03.1 CD-ROM / DVD - executable - PDF anti-copy/piracy tools ? 03.2 Licence / registration key / registration attempts tracking tools ? 04. Which Windows compatible graphic, audio and video formats ( supplied by manufacturers ) can be converted to Quicktime compatible format(s) ? 05. What is meant by a "double-clickable" application ? 06. Tool for applying a watermark on graphics and videos. Can be automated for a graphic / video collection ? 07. Statistics on Windows & Mac platform in use + which versions of each ? 08. Any other important question(s) or considerations I forgot to mention ? 09. Any other important selection criteria I forgot to mention ? Thanks for your kind advice, Alain From psahores at easynet.fr Fri Aug 1 04:03:02 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 1 04:03:02 2003 Subject: Very easy to build a web database In-Reply-To: <5120128.1059703908256.JavaMail.tac@mac.com> References: <5120128.1059703908256.JavaMail.tac@mac.com> Message-ID: <1059728146.1526.180.camel@www.kmax.net> On Fri, 2003-08-01 at 04:11, Takaaki Furukawa wrote: > I built a simple card-based online database with RunRev CGI. I put a tutorial and it > explains how easy it is to read/make changes to stacks from the web. > > http://gladstone.uoregon.edu/~tfurukaw/RunRev/dbindex.html > > It could have taken weeks if I used PHP, PostgreSQL and Perl... I finished it > in simple HyperTalk-like scripts within a day(!!). > > - Takaaaki Furukawa > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Hi Takaaaki, Really Cool : the Rev's lightweight web database system you did is really impressive (and faster than the HC-based LiveCard one never went) :-) -- Bien cordialement, Pierre Sahores Serveurs d'applications & bases ACID SQL Penser et produire l'avantage comp?titif From rjb at rz.uni-potsdam.de Fri Aug 1 04:49:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Aug 1 04:49:00 2003 Subject: Very easy to build a web database In-Reply-To: <1059728146.1526.180.camel@www.kmax.net> References: <5120128.1059703908256.JavaMail.tac@mac.com> <1059728146.1526.180.camel@www.kmax.net> Message-ID: > >Hi Takaaaki, > >Really Cool : the Rev's lightweight web database system you did is >really impressive (and faster than the HC-based LiveCard one never went) >:-) > The beauty is not only that it is much faster than HC but also that it does not require cgi to be the frontmost app as it was the case of HC. Further, it can be implemented on different systems, although communication with the web server is done differently. Doing this under Mac OS Classic, for example, is as easy as Unix/OSX, if not easier, and Mac OS Classic is hacker-proof and quite old Macs may be utilized. Moreover, Revs easy connectivity to real databases allows us to move easily beyond stack-based databases. Robert From dan at danshafer.com Fri Aug 1 04:53:02 2003 From: dan at danshafer.com (Dan Shafer) Date: Fri Aug 1 04:53:02 2003 Subject: dateItems Message-ID: <04221C8C-C3F8-11D7-BFB7-0030656FB5D4@danshafer.com> I have run across a bit of an anomaly. The dateItems format is not documented anywhere in the Rev docs as far as I can tell but it does seem to work almost exactly as expected. It returns a comma-delimited list of seven items alright, but if I don't supply a time with the value being converted, rather than providing 0,0,0 for the hour, minutes, and seconds, it puts a value in the hours. In my case, it was 2. I don't know for sure where that came from; it was only 1:05 a.m. when I tried this. So is this a bug or a modification of HyperTalk behavior I need to know about? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- .-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Dan Shafer Technology Visionary - Technology Assessment - Documentation "Looking at technology from every angle" http://www.eclecticity.com Latest Book Release: "HTML Utopia: Designing Without Tables Using CSS" (http://www.sitepoint.com/books/css1/) Watch for my new eBook/Web site/Rev Stack Set, "Revolution Pros" this summer From kevin at runrev.com Fri Aug 1 06:04:05 2003 From: kevin at runrev.com (Kevin Miller) Date: Fri Aug 1 06:04:05 2003 Subject: Database access issue patch Message-ID: Hi, We have posted an update to to the library stack to fix the database access issue. If you are having problems with 2.0.2, go to the updates directory: http://www.runrev.com/revolution/downloads/distributions/2.0/updates/ Or 2.1B2: http://www.runrev.com/revolution/downloads/distributions/2.1/updates/ Kind regards, Kevin Kevin Miller Runtime Revolution Limited: Software at the Speed of Thought Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From keith at vortex.co.uk Fri Aug 1 06:19:00 2003 From: keith at vortex.co.uk (Keith Martin) Date: Fri Aug 1 06:19:00 2003 Subject: Stack Opens Manually But Script Thinks It's Corrupted? In-Reply-To: References: Message-ID: >So the central question is: Which shoud be the default, the HC model which >alters the data or the SC model that doesn't? Personally, I prefer the idea that a request for something without added instructions should get everything that's asked for, intact and unaltered. Adding additional elements to the read request is what I'd prefer to cause 'custom' behaviour in the data acquisition, such as massaging to suit certain formats and uses. >But in spite of my own initial tantrum I've come to appreciate the >flexibility, and since most of my reads are with text files I love the >platform-independence granted by having the default option take care of line >endings without having to think about it. A good point. But I still feel that simpler requests should get simpler results - 'simple' meaning without extra things happening to what you're getting. When deeper involvement is needed, ask the engine for it. :-) Thoughts? k From kevin at runrev.com Fri Aug 1 06:56:00 2003 From: kevin at runrev.com (Kevin Miller) Date: Fri Aug 1 06:56:00 2003 Subject: Colour Picker ? In-Reply-To: Message-ID: On 2/7/03 2:20 pm, Mathewson wrote: > It is entirely possible to extract the COLOR CHOOSER > component from MetaCard 2.5 and > then move it into Runtime Revolution's HOME stack using my > MAINSTACKER.REV from > whence it can be called via the message box whenever it is > required. If it is kept external to the HOME stack (say as > a plugin) it does not function properly. > > It does, however, violate the RUNTIME REVOLUTION license > agreement....... No, it does not violate the agreement. All you need to know is that it is not supported and you cannot modify those files specified in the license agreement, such as home. Kind regards, Kevin Kevin Miller Runtime Revolution Limited: Software at the Speed of Thought Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Fri Aug 1 06:56:18 2003 From: kevin at runrev.com (Kevin Miller) Date: Fri Aug 1 06:56:18 2003 Subject: Image conversion still broken In-Reply-To: Message-ID: On 13/7/03 2:13 pm, Ken Norris wrote: > That sounds plausible, but it's not my concern. The concern is that, as a > Bugzilla reply, Tuviah says it works for him, so my bug report got dissed. So, the course of action is to reopen the report, and supply an image that definitely breaks. Sorry if our responses on Bugzilla are sometimeis a little bit terse, but because we have opened the database up to everyone, it means that we get a really wide range of reports including duplicates and reports that aren't really bugs. We need to be able to verify your report easily, if we can, we'll fix it quickly. Kind regards, Kevin Kevin Miller Runtime Revolution Limited: Software at the Speed of Thought Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Fri Aug 1 06:56:22 2003 From: kevin at runrev.com (Kevin Miller) Date: Fri Aug 1 06:56:22 2003 Subject: Is "revShowPrintDialog" Working Yet? In-Reply-To: <200306181914.h5IJE1iY022095@ms-smtp-02.nyroc.rr.com> Message-ID: On 18/6/03 8:14 pm, Howard Bornstein wrote: > I reported this specific bug to support at runrev.com on 2/13/03. For > Windows, I always have to use the "answer printer" command, as Sarah > suggested. Please note that unfortunately if the bug hasn't been fixed and you haven't submitted it to the new bug database, we don't have a record of it. Everything is now in the database or not recorded. When we implemented the system we intended to upload the existing bug reports we had. However people quickly reported most of them again before we had time to do that, and it would be very time consuming to sort through the old reports and ensure we don't have duplicates, then copy them into the database. We have very limited resources. This is a one time problem, but in this case, if its not in the database, and it hasn't been fixed, please report it again. I do apologize for the inconvenience. Kind regards, Kevin Kevin Miller Runtime Revolution Limited: Software at the Speed of Thought Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Fri Aug 1 06:56:27 2003 From: kevin at runrev.com (Kevin Miller) Date: Fri Aug 1 06:56:27 2003 Subject: "Made with Rev" splash - for a "player", yes In-Reply-To: <6A7D7A01-B96D-11D7-9CB2-000A95763ABC@macosx.com> Message-ID: On 18/7/03 6:16 pm, Barry Levine wrote: > I am, however, extremely disappointed that I can't develop/compile any > longer (apparently) on my PC as well as my Mac without spending an > additional $400. Am I correct in assuming that whatever reg# I receive > from RR will be platform specific? I'm on a short holiday at the moment, so I finally have time to catch up on the mailing list traffic. The answer is no. We will be publishing special arrangements for existing customers shortly. Existing customers will not receive a reduction in the level of service if they are prepared to continue to pay the same as they have done previously on renewals. Kevin Kevin Miller Runtime Revolution Limited: Software at the Speed of Thought Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From igor at pixelmedia.com.au Fri Aug 1 07:17:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Aug 1 07:17:00 2003 Subject: dateItems In-Reply-To: <04221C8C-C3F8-11D7-BFB7-0030656FB5D4@danshafer.com> Message-ID: <175225B8-C419-11D7-97A7-000393AD9396@pixelmedia.com.au> Dear Dan, I'm only a newbie here, but I'm quite glad that I *think* I can shed some light on your question: On Friday, August 1, 2003, at 06:13 PM, Dan Shafer wrote: > I have run across a bit of an anomaly. The dateItems format is not > documented anywhere in the Rev docs as far as I can tell but it does > seem to work almost exactly as expected. > > It returns a comma-delimited list of seven items alright, but if I > don't supply a time with the value being converted, rather than > providing 0,0,0 for the hour, minutes, and seconds, it puts a value in > the hours. In my case, it was 2. I don't know for sure where that came > from; it was only 1:05 a.m. when I tried this. > > So is this a bug or a modification of HyperTalk behavior I need to > know about? > Quoting directly from the documentation - have a look at the description of the CONVERT command: "Note: If you convert a date without a time to a form that includes the time, the time will be given as 2 AM. (This is the default time because it is the time of day when Daylight Savings Time begins and ends.)" I hope this helps! I have found the 'convert' command quite limiting, because it can only convert dates that the host system can handle (ie, in MacOS X it can handle dates only as far back as 1901, and in Windows, supposedly, only up to 1970). I put a bug report about it on the bug database (Bug # 182), but received a message stating that this is basically the way it is supposed to work - even though that is not stated in the documentation... Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From psahores at easynet.fr Fri Aug 1 07:27:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 1 07:27:00 2003 Subject: Is RR suited for this project ? In-Reply-To: <5.2.0.9.0.20030801090521.043bcdb0@127.0.0.1> References: <5.2.0.9.0.20030801090521.043bcdb0@127.0.0.1> Message-ID: <1059740415.1502.264.camel@www.kmax.net> On Fri, 2003-08-01 at 10:43, Alain PIERRE wrote: > Hi, > > I recently discovered RR while doing some research on the > net and would like to know whether RR is most suited for the > following database publishing project. If not, which software and > database (DB)/RDBMS is most suited ? RR is full suitable for development of the kind of dual-sided project (CD-Rom + Web-hosting). > > - Annually updated commercial European multi-lingual > publication ( min. 3 languages: english, french, dutch - maybe > later on: spanish, italian ) > > - Publishing medium: > . 1st edition: paper, stand-alone application on CD-ROM / DVD > ( text and graphics/images ) > . 2nd edition+: paper, stand-alone application on CD-ROM / > DVD ( text, graphics/images, audio and video ), Internet > > - Data: > . text, graphics/images, audio and video ( various formats ) > . text: multi-lingual > > - Publishing format: > . CD-ROM / DVD: stand-alone application and PDF files > . Internet: static ( and probably dynamic ) web pages OK, even about building dynamic HTML and PDF (Htmldoc engine) outputs in using RR as tcp/ip application server > > - Database: > . 25 related files/tables > . total of approx. 7000 records/rows > . encrypted > . embedded PDF files > . read from CD-ROM / DVD or to be installed on hard > disk(*) RR+local flat-file database (CD-Rom) RR+SQL RDBMS (Web's and/or ERP's on-line app) > > - PDF files: > . generated from DB/RDBMS as said up on, RR+Htmldoc > > - Stand-alone application: > . compiled ( & linked ) > . run from CD-ROM / DVD or to be installed on hard disk(*) > . multi-lingual > . present development platform: Windows 98 - 2nd edition > . distribution platform: Windows, probably also Mac OK, RR is full suitable to develop once and deploy anywhere (Win32, MacOS, over 10 Unix*s including Linux and Solaris) > . graphics/images: separate viewing ( thumbnail + enlarged ) + > slide-show > . read-only + read/write version > . data quering by form, cfr FileMaker ( user don't have to enter > SQL statements or use a query editor ) > . data quering by form on related tables > . data quering results: record by record + grid > . downloadable time-limited demo ( with partial data or a > limited number of records/rows ) > . import of images/graphics from scanner > . possibilty to define hyperlinked areas ( link to text or other > image ) on graphics/images all needs full suitables, including the friendly end-users front screens (possible Desktop's, Web's or ERP's front-ends) > > (*) determined by read-write/read-only status, speed and > copy protection considerations. > OK, "if..then...else" statements + login/password. The RR file-format (the stack) can be password-protected to set the source-code app as unavailable to others than the copyright owner of the developed application > > Questions: > ---------- > > 01.1 Most suited development software ? Why ? > 01.2 Most suited platform to develop on ? Why ? > 01.3 Most tried-and-true, stable version to develop with on the > development platform ? RR 2.0.1 (2.0.2, still a little young). > 01.4 What's needed to port the application to other platform(s) ? Un couple of days about the apps i'm developing for my own (Linux --> MacOSX, Linux --> Win32) > 01.5 Necessary plug-ins / add-ons / add-ins / ... ? No. > 01.6 Distributed application RAM requirements ? About twice the size of the distribued app (about 10 to 20 Mo). > 01.7 Stand-alone application CD-ROM / DVD reading speed ? It will always be good speed results in installing the stand-alone on the end-user hard-drive (lots faster than Java and, even, MMDirector.apps) > 01.8 Stand-alone application size ( excl. database ), especially At least, from 3 Mo to 10 Mo for front-end apps, from 50 ko to 4 Mo for server-side no-GUI apps, as an average. In about GUI apps, it depend about the number and complexity of the end-users screens you want to have inside your app. > regarding downloadable demo ? ADSL or high speed Internet > access is not ( yet ) available everywhere in Europe, especially > for non-professional users. > 01.09 Stand-alone application: which screen resolution & screen > size to develop for ? 32.000 colors and 800*600 to 1024*768 as a raisonnable average but you are free to choose others. > > 02.1 Most suited DB/RDBMS ? I use, for my own networked apps, the ACID compliant PostgreSQL 7.xx server (MySQL 3.xx/4.xx, Oracle 8/9i and most of the ODBC suitables db also availables, aka Sybase ASE 12.5, FrontBase,...) > 02.2 Most tried-and-true, stable version to develop with ? PostgreSQL 7.xx is, for me, an use full and unbreakable server. > 02.3 Allows indexed compound fields ? > 02.4 Allows prefixed auto-increment fields ? Yes. > 02.5 Design and management tools ? No really top (pgMyAdmin, PGAccess,...) --> i use my own home-made tools instead. > 02.6 Data encryption tools ? SSL is not yet available as a RR feature, even if it's on the PostgreSQL. But there is other ways available to encrypt the RR POST datas before they goes over the web. > > 03.1 CD-ROM / DVD - executable - PDF anti-copy/piracy tools ? > 03.2 Licence / registration key / registration attempts tracking > tools ? The RR entreprise edition is best suitable for such kind of project (stand-alone runtime are "royalty-free" distribuables. > > 04. Which Windows compatible graphic, audio and video > formats ( supplied by manufacturers ) can be converted to > Quicktime compatible format(s) ? > > 05. What is meant by a "double-clickable" application ? It's an executable app, witch embed both the developed app and the needed runtime engine witch powers it, inside an unique file. > > 06. Tool for applying a watermark on graphics and videos. Can > be automated for a graphic / video collection ? > > 07. Statistics on Windows & Mac platform in use + which > versions of each ? See the mailing-list archive about this. > > 08. Any other important question(s) or considerations I forgot > to mention ? Don't think !!! > > 09. Any other important selection criteria I forgot to mention ? > Again !!! > > Thanks for your kind advice, > Alain > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Hope this help, -- Bien cordialement, Pierre Sahores Serveurs d'applications & bases ACID SQL Penser et produire l'avantage comp?titif From igor at pixelmedia.com.au Fri Aug 1 07:36:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Aug 1 07:36:01 2003 Subject: Image conversion still broken In-Reply-To: Message-ID: Dear Kevin, Thank you and the RunRev team for all your hard work in keeping up-to-date with all the emails, and in maintaining a good rhythm in clearing the bug reports off the database! On Tuesday, July 29, 2003, at 03:44 AM, Kevin Miller wrote: > Sorry if our responses on Bugzilla are sometimeis a > little bit terse, but because we have opened the database up to > everyone, it > means that we get a really wide range of reports including duplicates > and > reports that aren't really bugs. Being one who has actually filed bogus and duplicate reports myself, let me make a suggestion that will make the RunRev team's life TREMENDOUSLY easier in the future. In my own experience, the reason why I filed every report that ended up being a duplicate was not for lack of doing a search in the database beforehand. The problem is that, BY DEFAULT, the query pages only returns results that include "new", "assigned" and "reopened" results. It purposely excludes "resolved", "closed", "verified" and "unconfirmed" reports. Most users, like me, find the entire Bugzilla interface a bit daunting. If all I want to do is find out whether someone has reported the 'clear all breakpoints' bug for the debugger, I don't want to have to click on a dozen different choices (hey, half of them don't even make any sense to me). All I (used to) do was simply type in the words in the 'summary' field, and hit 'search'. Bingo. It looked like no one had reported it before. So, being the kind soul that I am, I would report it (again...). What you guys need to do is to change the DEFAULT to INCLUDE RESOLVED, VERIFIED, CLOSED and UNCONFIRMED reports, as well! Believe me: as bug reporters, we want to be taken seriously. No one wants to be seen as a 'dummy' or a whiner who is reporting the same bug for the 3rd or 4th time!... Second suggestion: I'm not a member of the Revolution development team. I have absolutely no idea whatsoever what the terms under the 'Resolution' and 'Severity' category mean. I've been caught already a couple of times, reporting a bug that I thought was "critical" (because it meant that the particular feature of the program was made unusable), simply to be told that I had categorised it wrongly. We want to help, and we CAN do that by categorising the bugs properly for you, when we report it. However, unless you let us know what these categories mean, we'll just have to keep on guessing, giving it our best shot, and then keep on being told off!!! ;-P the links on the query page that supposedly take us to a page where explanation is given on each categories, does not clarify anything, as the explanations of the terms given there do not have the same meaning as the ones adopted by the Rev team. I once reported a bug as a 'blocker', because it blocked development and testing, but was told that 'blockers' are supposed to be bugs that crash Revolution. So, my suggestion is: PUT A GUIDELINE at the top of the search page (and the new bug report page) indicating what the categories mean. We all love Revolution, and we want to help you. Show us how to do it properly, how to do it in a way that is helpful to your team. We want to do it right, too! Kind Regards, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From sims at ezpzapps.com Fri Aug 1 07:39:00 2003 From: sims at ezpzapps.com (sims) Date: Fri Aug 1 07:39:00 2003 Subject: Inexcusable? (Was Re: Rev 2.0.2 is availalble) In-Reply-To: References: Message-ID: > >We do care very much about our existing customers, and greatly appreciate >the patience you have shown. If you have not yet received your new unlock >code for 2.0.2, and you think you should have, I suggest that in order for >me to fasttrack these enquires, you email me (again if you have already done >so previously) with the subject line "Missing New Unlock Code" in the title >of the email. I hate to bother the List with this but I am posting this in case my email did not get through the "fasttrack" for whatever reason. I did send a fasttrack email with the subject line "Missing New Unlock Code" in the title and have heard nothing in return. I would appreciate an email which contains my new unlock code. I feel I have been patient, but it would be nice to get this prior to the weekend in case everyone at RunRev goes away for the weekend or off on holiday. So...please may I have access to the new Rev version????? sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From igor at pixelmedia.com.au Fri Aug 1 08:03:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Aug 1 08:03:01 2003 Subject: [OT] UML Tools for developing Revolution projects Message-ID: <837D63E5-C41F-11D7-97A7-000393AD9396@pixelmedia.com.au> I was wondering if anyone in this list uses UML diagramming tools to help in development with Revolution. If so, have you found that you have had to change the notation much/at all? Also - what UML tools do you use? Most of the tools seem to be directed at generating object-oriented code, rather than diagramming. They all seem to be cluttered with programming features, and have *very* poor interface and diagramming features. The only *reasonable* diagramming tool I've found so far is OmniGraffle I have found, however, that UML diagrams require a level of flexibility that OmniGraffle does not have (ie, linking LINES of text inside one class to another is not possible). For UML use, it ends up being *extremely* limited in functionality. This means that updating the diagrams is taking FAR too long - and then we end up abandoning them altogether, as they become more of a chore than a helpful tool... I would be very interested in hearing other people's experiences with UML, and its application to development with Revolution. Many thanks, in advance, for your sharing. Kind Regards, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From andre.rombauts at win.be Fri Aug 1 08:43:00 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Fri Aug 1 08:43:00 2003 Subject: Ressource unavailable (CGI capabilities) Message-ID: <000a01c35831$ed0893f0$9e26fea9@piran> >Download and decompress the engine you need for the platform that your ISP or web server uses from: >http://www.runrev.com/revolution/engines11 This link leads to nothing... :-( Andr? Rombauts -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeanne at runrev.com Fri Aug 1 09:30:06 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Aug 1 09:30:06 2003 Subject: Ressource unavailable (CGI capabilities) In-Reply-To: <000a01c35831$ed0893f0$9e26fea9@piran> Message-ID: At 6:36 AM -0700 8/1/03, Andre Rombauts wrote: > >Download and decompress the engine you need for the platform that >your ISP or web server uses from: >>http://www.runrev.com/revolution/engines11 This link leads to >>nothing... :-( Look at . -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From webart at kenjikojima.com Fri Aug 1 09:41:01 2003 From: webart at kenjikojima.com (Kenji Kojima) Date: Fri Aug 1 09:41:01 2003 Subject: Internet date question Message-ID: <3CAB80F7-C42D-11D7-B3AD-000A27941ED2@kenjikojima.com> Hi, I think it was the first beta of version 2. I reported the last item of internet date was British summer time. But Version 2.1 is still same. It is one hour different from version 1.1.1. Now I am very confusing what is the correct internet date. Can anybody explain about it? I must correct my old script on version 2.1 or should wait until the bug is fixed. Thanks, -- Kenji Kojima http://www.kenjikojima.com/ From lists at mangomultimedia.com Fri Aug 1 10:37:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Aug 1 10:37:00 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: <837D63E5-C41F-11D7-97A7-000393AD9396@pixelmedia.com.au> Message-ID: On 8/1/03 Igor Couto wrote >Also - what UML tools do you use? Most of the tools seem to be directed >at generating object-oriented code, rather than diagramming. They all >seem to be cluttered with programming features, and have *very* poor >interface and diagramming features. The only *reasonable* diagramming >tool I've found so far is OmniGraffle I have found, however, that UML >diagrams require a level of flexibility that OmniGraffle does not have >(ie, linking LINES of text inside one class to another is not >possible). For UML use, it ends up being *extremely* limited in >functionality. This means that updating the diagrams is taking FAR too >long - and then we end up abandoning them altogether, as they become >more of a chore than a helpful tool... With OmniGraffle you can sort of link lines of text to another object using Magnets. Click on the uml object you want to link the text form and add a magnet next to the line of text. Then you can draw a line from that magnet point to another object. I use this all of the time for digramming databases and showing connections between tables. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alrice at ARCplanning.com Fri Aug 1 11:13:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 1 11:13:00 2003 Subject: Bring a window to front In-Reply-To: Message-ID: <1A77E8F4-C43A-11D7-8EC1-000393529642@ARCplanning.com> On Wednesday, July 30, 2003, at 10:12 AM, Keith Martin wrote: > Interesting. Is it possible to make a window a system-wide floater? > Something that remains visible *and* stays on top even when other apps > are being used? Looks like 2.1 is going to have a built-in property for this --Alex -- in What's New.Txt, 2.1B2 decorations property: in addition to the existing options, now supports "close", "metal", "noShadow", parallel to the above properties. Also supports "utility" which sets a window to be a system palette, floating above all apps (not just above all windows in its own app) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From lists at mangomultimedia.com Fri Aug 1 11:18:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Aug 1 11:18:00 2003 Subject: Database access issue patch In-Reply-To: Message-ID: On 8/1/03 Kevin Miller wrote > >Or 2.1B2: > >http://www.runrev.com/revolution/downloads/distributions/2.1/updates/ I was just playing around with 2.1B2 and the metal feature is very cool. I also noticed that there is a new decoration for stacks called "utility" which will float the stack above all apps. I remember someone was looking for this functionality in some posts a few days ago. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From doupsy at wanadoo.fr Fri Aug 1 11:42:01 2003 From: doupsy at wanadoo.fr (doupsy at wanadoo.fr) Date: Fri Aug 1 11:42:01 2003 Subject: Corrupted stack Message-ID: Hello, I tryed to open a Revolution Stack with BBEdit Lite. Then, when I want to open this stack with Revolution, I have the message : this is a corrupted stack file. Is there a possibility to repair corrupted stack file ? Thank you. Edouard From dan at shafermedia.com Fri Aug 1 11:46:02 2003 From: dan at shafermedia.com (Dan Shafer) Date: Fri Aug 1 11:46:02 2003 Subject: dateItems In-Reply-To: <200308011128.HAA06191@www.runrev.com> Message-ID: On Friday, August 1, 2003, at 04:28 AM, Igor wrote: > Quoting directly from the documentation - have a look at the > description of the CONVERT command: > > "Note: If you convert a date without a time to a form that includes > the time, the time will be given as 2 AM. (This is the default time > because it is the time of day when Daylight Savings Time begins and > ends.)" > You are right, of course. I read that doc three times and missed that note. I think I have to stop working earlier in the evening! Thanks for pointing it out. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- .-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Dan Shafer Technology Visionary - Technology Assessment - Documentation "Looking at technology from every angle" http://www.eclecticity.com Latest Book Release: "HTML Utopia: Designing Without Tables Using CSS" (http://www.sitepoint.com/books/css1/) Watch for my new eBook/Web site/Rev Stack Set, "Revolution Pros" this summer From ambassador at fourthworld.com Fri Aug 1 12:11:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 1 12:11:01 2003 Subject: Stack Opens Manually But Script Thinks It's Corrupted? In-Reply-To: Message-ID: Keith Martin wrote: >> So the central question is: Which shoud be the default, the HC model which >> alters the data or the SC model that doesn't? > > Personally, I prefer the idea that a request for something without > added instructions should get everything that's asked for, intact and > unaltered. Adding additional elements to the read request is what I'd > prefer to cause 'custom' behaviour in the data acquisition, such as > massaging to suit certain formats and uses. > >> But in spite of my own initial tantrum I've come to appreciate the >> flexibility, and since most of my reads are with text files I love the >> platform-independence granted by having the default option take care of line >> endings without having to think about it. > > A good point. But I still feel that simpler requests should get > simpler results - 'simple' meaning without extra things happening to > what you're getting. When deeper involvement is needed, ask the > engine for it. :-) In principle I agree wholeheartedly. In practice, well, _you_ tell 13 years' worth of users they need to rewrite their scripts. ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rgmiller at pacbell.net Fri Aug 1 14:39:29 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Fri Aug 1 14:39:29 2003 Subject: Proposal - the use-revolution list References: <200308010236.WAA24055@www.runrev.com> Message-ID: <3F2AA135.4070308@pacbell.net> Sannyasin said: "Second the motion to keep it as a list. We are missing one thing though: search capabilities for the past archives. Google doesn't seem to keep up with indexing the mail list archives and I really don't have time to read all these posts, but then when you need to know something chances are it has been well clarified here some time or other... I think 3 years ago Run Rev's list serve had search capabilities, but now it doesn't. So maybe there is a happy medium where the list is kept as it is but we get a more robust archive mechanism online? Or perhaps there is a way to make Google "believe" that Run Rev is worth indexing weekly. They index all our sites weekly... I also vote to keep the list. The list is dynamic vs. a passive message board. It becomes "out of sight, out of mind." Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From heather at runrev.com Fri Aug 1 14:46:02 2003 From: heather at runrev.com (Heather Williams) Date: Fri Aug 1 14:46:02 2003 Subject: 2.1 Beta now in public testing Message-ID: Dear listees, As some of you may have noticed, Revolution Beta 2.1 is now available for testing from http://www.runrev.com/Revolution1/developercentral/latesttestversion.html Please remember this is a beta, and back up your stacks before using it. Bug reports should be made to our bugdatabase at http://www.runrev.com/Revolution1/bugzilla/index.html Enjoy! Regards, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution: Software at the Speed of Thought From k.r.hauge at east.uio.no Fri Aug 1 15:49:01 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Fri Aug 1 15:49:01 2003 Subject: More Unicode woes (solved) Message-ID: At 12:02 -0400 05-07-03, Kjetil R? Hauge wrote: > >From: Toma Tasovac >>[...] > >>try this: >> >>put the unicodeText of fld "text" into tText >>put uniDecode (tText,"utf8") into url "file:mysavedtext.txt" >> >>it works for me -- at least with cyrillic. opens correctly in bbedit >>if you tell bbedit to open it as utf8, but not if you try to open it >>with auto-detect. > >Thanks a lot, this did the trick - at least with Cyrillic, Greek and >Turkish. I hope that RunRev will add this to the "recipe" collection >in their documentation. CE fonts, however, still are interpreted as >latin-1. I have now found out how to have RR handle CE fonts (on the Mac, OS X): the trick is not to use Monaco CE or any of the other CE fonts, but to use Lucida Grande (or any other Unicode font, presumably) and enter CE characters from the Unicode character palette. This way, Toma Tasovac' code above worked fine. This is of course not an alternative when entering large amounts of text, but it is easy to make a Unicode character layout for CE characters with the keyboard generator at . So that settles it - I have put in an order for RR Studio and will migrate my project from HyperCard. It would still be nice to have RR handle CE entered with the built-in CE keyboard layouts, similar to the way Cyrillic is converted to Unicode when entered from a keyboard layout belonging to the Cyrillic script. -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From erikhans08 at yahoo.com Fri Aug 1 16:31:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Aug 1 16:31:01 2003 Subject: Ressource unavailable (CGI capabilities) In-Reply-To: Message-ID: <20030801212418.78573.qmail@web20006.mail.yahoo.com> heather at runrev.com wrote: My backlog has reached monumental proportions, and however hard I try, I simply cannot answer 1000 emails in one day. === when should one write to: support at runrev.com heather at runrev.com ? hopefully helpful, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From bvg at mac.com Fri Aug 1 16:55:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri Aug 1 16:55:00 2003 Subject: Proposal - the use-revolution list In-Reply-To: <1753A205-C3CB-11D7-8164-000A959D0AC6@hindu.org> Message-ID: The hierarchical weblist viewer is finished! after almost 24 hours of sleeping (10h), eating (1/2h), partying (4h) and also some coding I present to you a stack so simple and basic I could have done it in much less time, but as it is with coding I ran into troubles. This time it was the nonblocking calls for "read from socket" that costed me most of the time (current implementation uses blocking socket calls). The stack I am talking about lets you view the mailings of this list in a hierarchical order, all from within runrev. It logs into your pop account and gets all emails which are part of this mailing list. Then you can view them ordered by topic. Go get it now! Copy/ paste this into your messagebox: go URL "http://www.revolutionboard.de/bvg/stacks/ReaderofRevlist.rev" Or go to http://www.revolutionboard.de/bvg/subindexes/stacks-2.html and right click the last link to download it. If you find this stack is too simple and basic, and you make changes to increase the use of it, then try to think of all the poor people out there who still use the old version and mail me your new one. I will then update the stack so that everyone profits. Have fun Bjoernke von Gierke From igor at pixelmedia.com.au Fri Aug 1 16:58:03 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Aug 1 16:58:03 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: Message-ID: <46A00FC2-C46A-11D7-968F-000393AD9396@pixelmedia.com.au> Dear Trevor, Thank you very much for your suggestion! On Saturday, August 2, 2003, at 01:29 AM, Trevor DeVore wrote: > With OmniGraffle you can sort of link lines of text to another object > using Magnets. Click on the uml object you want to link the text form > and add a magnet next to the line of text. Then you can draw a line > from that magnet point to another object. I use this all of the time > for digramming databases and showing connections between tables. > This is actually exactly what we are doing right now. With UML class/object diagrams, however, we are adding and removing attributes and methods all the time. As these methods and attributes should have connection lines that link them to the other methods and attributes they refer to, we find that everytime one is deleted/added, the whole thing goes out of whack, and depending on the complexity of the diagram, we have to spend a great deal of time updating magnets and lines... It all ends up being *far* too time consuming... I have had a look at other diagramming tools that are designed more specifically towards UML - such as Poseidon for UML, ObjectPlant, and a couple of others. Even though they are able to link and update links better than OmniGraffle, their otherwise diagramming options are terrible, and cumbersome. Their entire functionality is geared towards generating final code (Java, Objective C, C++, etc) directly out of your diagrams, rather than just diagramming. Their interface ends up being too complicated and clumsy for simple diagramming. I'm interested to hear that you DO use OmniGraffle for UML diagramming, though. Do you use it in your Revolution projects? Many thanks for the info, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From alrice at ARCplanning.com Fri Aug 1 17:21:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 1 17:21:00 2003 Subject: ReaderofRevLists [Re: Proposal - the use-revolution list] In-Reply-To: Message-ID: <8CEAFD7F-C46D-11D7-8EC1-000393529642@ARCplanning.com> On Friday, August 1, 2003, at 03:48 PM, Bj?rnke von Gierke wrote: > The stack I am talking about lets you view the mailings of this list > in a hierarchical order, all from within runrev. It logs into your pop > account and gets all emails which are part of this mailing list. Then > you can view them ordered by topic. Go get it now! Bj?rnke, that's really cool. Unfortunately most people using POP for email don't leave their messages on the server. Often IMAP is used for that instead of POP. I usually set my mail client to delete messages on the server immediately after POP downloads them. So I cannot try it out :-) By the way, did you see my post earlier this week re: the message threading algorithm advocated by JWZ- the guy who wrote the original Netscape Mail and News reader? It would be a way to improve your makeEntry handler. http://lists.runrev.com/pipermail/use-revolution/2003-July/019830.html Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Fri Aug 1 17:26:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 1 17:26:00 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: <46A00FC2-C46A-11D7-968F-000393AD9396@pixelmedia.com.au> Message-ID: <23D4D018-C46E-11D7-8EC1-000393529642@ARCplanning.com> On Friday, August 1, 2003, at 03:51 PM, Igor Couto wrote: > I'm interested to hear that you DO use OmniGraffle for UML > diagramming, though. Do you use it in your Revolution projects? Omnigraffle rocks. I don't use UML for RR projects. I've tried to use the UML palette for SQL projects. Although it has a UML palette, you are right about getting out-of-whack: and it's a real pain to always have to add a magnet to each attribute or operation you want to link to. Have you searched the Omnigraffle mailing list for "UML"? AFAIK omnigraffle is scriptable and hyper-linkable. Maybe someone has implemented real UML support already using it's extensibility features. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From ambassador at fourthworld.com Fri Aug 1 18:08:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 1 18:08:00 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: <23D4D018-C46E-11D7-8EC1-000393529642@ARCplanning.com> Message-ID: Alex Rice wrote: > > On Friday, August 1, 2003, at 03:51 PM, Igor Couto wrote: >> I'm interested to hear that you DO use OmniGraffle for UML >> diagramming, though. Do you use it in your Revolution projects? > > Omnigraffle rocks. I don't use UML for RR projects. I've tried to use > the UML palette for SQL projects. Although it has a UML palette, you > are right about getting out-of-whack: and it's a real pain to always > have to add a magnet to each attribute or operation you want to link to. Could such a tool be made for Rev using Rev itself? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From themacguy at macosx.com Fri Aug 1 18:17:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Aug 1 18:17:01 2003 Subject: text-to-speech on WindowsXP Message-ID: <4366B707-C475-11D7-91AF-000A95763ABC@macosx.com> I started a thread some time ago about text-to-speech options on Windows. No problem on the Mac (of course). I was just looking through my XP installation and found a Speech Control Panel in which there is a "voice" named "Microsoft Sam". When I selected it, it "speaks" (and highlights, word-by-word) a sentence in that Control Panel. Is there no way to attach to this in Rev? When I try the text-to-speech sample stack included with the Rev 2.0.1 folder (for Windows), it sees no voices available. Any help is appreciated. Thanks, Barry From igor at pixelmedia.com.au Fri Aug 1 19:00:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Aug 1 19:00:01 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: Message-ID: <61C67F58-C47B-11D7-968F-000393AD9396@pixelmedia.com.au> Dear Richard, On Saturday, August 2, 2003, at 09:00 AM, Richard Gaskin wrote: > Could such a tool be made for Rev using Rev itself? > I've been thinking about that lately... But my plate is so full right-now, that the thought just went straight into the *think about it tomorrow* basket... Do you think that there would be a market? This UML thread did not elicit too many responses from the list users... -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From igor at pixelmedia.com.au Fri Aug 1 19:14:02 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Aug 1 19:14:02 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: <23D4D018-C46E-11D7-8EC1-000393529642@ARCplanning.com> Message-ID: <5246C939-C47D-11D7-968F-000393AD9396@pixelmedia.com.au> Dear Alex, Thanks for the tip about the OmniGraffle mailing list! On Saturday, August 2, 2003, at 08:18 AM, Alex Rice wrote: > Have you searched the Omnigraffle mailing list for "UML"? AFAIK > omnigraffle is scriptable and hyper-linkable. Maybe someone has > implemented real UML support already using it's extensibility > features. > I did a search on the mailing list, and without looking too deeply into the postings, it seems to me that even though people have been mentioning the lack of some of the features necessary for FULL UML diagramming since before version 2.0, they have been busy implementing other more frequently requested functionality. The workarounds that I was able to read about in the list only mention the usual (half-) solutions that you and I already know about: grouping objects together, using custom magnets, trying to fiddle with a bit of AppleScript, etc. My personal experience with all of these solutions is that once the UML diagram starts to get to a *reasonable* (not overly large, mind you) size, it already becomes too high-maintenance. I have found that I'm going back to the good'ol' whiteboard for doing most of my diagramming (which annoys me to no end), using OmniGraffle only when I can see that the diagram is more-or-less close to its final state... Altogether, this is not a very professional way of working, and it really isn't making good use of the computer... After all, it *should* be easier for us to do these diagrams using a diagramming tool, than it is to do them using a whiteboard! I have written with suggestions to the OmniGraffle team. They are a very friendly, polite and responsive bunch. Their priorities are, however, dictated by the necessities of their market. Unless people let them know that these features are widely needed, they will not give them priority. So, my suggestion to you, is that if you also find that you could do with some extra UML-specific features, PLEASE drop the feedback team at Omni a little message! Once again, thank you for the suggestion! Sincerely, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From alrice at ARCplanning.com Fri Aug 1 20:15:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 1 20:15:01 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: Message-ID: On Friday, August 1, 2003, at 05:00 PM, Richard Gaskin wrote > > Could such a tool be made for Rev using Rev itself? I think it would be a good fit for Rev. Maybe could be a Rev standalone app, but also come in a plugin version for the Rev IDE for building UML diagrams. Omnigraffle has some Import features that handle, among other formats, Project Builder files and Interface Builder files. It parses them and builds an inheritance graph of the contents. I'm not aware of any good cross-platform diagramming tools- maybe this could be a real good market opportunity? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From bfr at nwlink.com Fri Aug 1 22:12:01 2003 From: bfr at nwlink.com (Bruce Robertson) Date: Fri Aug 1 22:12:01 2003 Subject: Update available for license.rev In-Reply-To: Message-ID: > We have also updated the distribution builder fix, to account for a small > remaining problem on the Windows platform. If you are still affected by a > size issue on Windows you may want to go and download this latest fix, Well, got to the web site and downloaded the distribution builder fix and the revlibrary fix. You provide ZERO documentation on what we're supposed to do with these things. Revlibrary just starts up and begins displaying errors. I assumed you're supposed to launch them and they will auto install code somewhere. From scott at tactilemedia.com Fri Aug 1 22:18:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Aug 1 22:18:00 2003 Subject: Update available for license.rev In-Reply-To: Message-ID: Recently, Bruce Robertson wrote: >> We have also updated the distribution builder fix, to account for a small >> remaining problem on the Windows platform. If you are still affected by a >> size issue on Windows you may want to go and download this latest fix, > > Well, got to the web site and downloaded the distribution builder fix and > the revlibrary fix. > > You provide ZERO documentation on what we're supposed to do with these > things. Revlibrary just starts up and begins displaying errors. I assumed > you're supposed to launch them and they will auto install code somewhere. If you look in the subfolders of your installed Rev, you'll find a Revlibrary stack already there. I believe you're supposed to replace the old with the new one. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From monte at sweattechnologies.com Fri Aug 1 22:26:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Aug 1 22:26:01 2003 Subject: Update available for license.rev In-Reply-To: Message-ID: > > We have also updated the distribution builder fix, to account > for a small > > remaining problem on the Windows platform. If you are still > affected by a > > size issue on Windows you may want to go and download this latest fix, > > Well, got to the web site and downloaded the distribution builder fix and > the revlibrary fix. > > You provide ZERO documentation on what we're supposed to do with these > things. Revlibrary just starts up and begins displaying errors. I assumed > you're supposed to launch them and they will auto install code somewhere. > Replace the file in the revolution folder. Regards Monte From stephenREVOLUTION at barncard.com Fri Aug 1 23:20:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Fri Aug 1 23:20:01 2003 Subject: A call for calm and a tip of the hat to the Rev team..thanks! Message-ID: I'd like to come to Rev's defense here and remind some of our more impatient new users that this is still the 'early days' of the Revolution company. There are only a handful of very overworked folks doing a very wonderful thing- giving us a tool that is not only VERY innovative and useful, but one that is constantly being updated and improved. (I've been waiting for YEARS for something to replace HC). Perhaps the documentation is not as complete as you would like, but just try and envision some megalith such as Microsloth or Adobe building a product like this (they wouldn't even try - and if they did, it would cost a lot more). Those kind of companies may make slick manuals, but they don't offer products that are updated and improved nearly as often as what you see here. And those companies have HUNDREDS of employees. And try to get bug fixes from Adobe. Ha! CAN YOU IMAGINE what it takes to write an app that generates code for all the platforms?? It's never been done satisfactorily before... until now. Perhaps someday one of the team will write the story...when they have time. Also remember that this application allows more access to more things on your computer than the applications those companies allow you to get access to. With that power, there are certainly more things to go wrong. Multiply that by the number of platforms... you get the idea.. Rev is an app that makes it a lot easier to write code, but you still gotta work for it - programming is still something done by folks that are a little more than just users....so some thinking and reasoning is required. So I'd advise patience, my friend. You've got a great support group right here - something we didn't have for Hypercard in 1987. Before you start spewing, ask a couple of questions first.... sqb > > > We have also updated the distribution builder fix, to account > > >> You provide ZERO documentation on what we're supposed to do with these >> things. Revlibrary just starts up and begins displaying errors. I assumed > > you're supposed to launch them and they will auto install code somewhere. >> From dan at shafermedia.com Fri Aug 1 23:22:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Fri Aug 1 23:22:01 2003 Subject: Menu Building Prefs Message-ID: I'm trying to get a sense for how most Rev users create menus. Are you using the Menu Builder or are you coding in scripts or do you do both? Which is more important to cover in depth in my book? Or is either more important? Inquiring minds want to know. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From janschenkel at yahoo.com Sat Aug 2 00:09:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 2 00:09:00 2003 Subject: Menu Building Prefs In-Reply-To: Message-ID: <20030802050159.50710.qmail@web11908.mail.yahoo.com> --- Dan Shafer wrote: > I'm trying to get a sense for how most Rev users > create menus. Are you > using the Menu Builder or are you coding in scripts > or do you do both? > Which is more important to cover in depth in my > book? Or is either more > important? > > Inquiring minds want to know. > Hi Dan, I tend to use the menu builder to create the menu structure ; but once it's there, I'll edit it using the property palette, or the occasional message box. But for my multi-lingual apps, I do have a system which takes care of the translation (and resizing of the menu buttons under non-MacOS systems). Hope this tickled your inquiring minds, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From janschenkel at yahoo.com Sat Aug 2 00:15:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 2 00:15:00 2003 Subject: text-to-speech on WindowsXP In-Reply-To: <4366B707-C475-11D7-91AF-000A95763ABC@macosx.com> Message-ID: <20030802050806.17555.qmail@web11904.mail.yahoo.com> --- Barry Levine wrote: > I started a thread some time ago about > text-to-speech options on > Windows. No problem on the Mac (of course). I was > just looking through > my XP installation and found a Speech Control Panel > in which there is a > "voice" named "Microsoft Sam". When I selected it, > it "speaks" (and > highlights, word-by-word) a sentence in that Control > Panel. > > Is there no way to attach to this in Rev? When I try > the text-to-speech > sample stack included with the Rev 2.0.1 folder (for > Windows), it sees > no voices available. > > Any help is appreciated. > > Thanks, > Barry > Hi Barry, IIRC, it's on the to-do list. The Microsoft drones managed to make the API for the WinXP text-to-speech backward-_in_compatible. So every application that used the earlier APIs, including RevSpeech, has to be updated to support this new API as well. Hope this answered your question, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From curry at pair.com Sat Aug 2 00:16:00 2003 From: curry at pair.com (curry) Date: Sat Aug 2 00:16:00 2003 Subject: text-to-speech on WindowsXP In-Reply-To: <200308020213.WAA03602@www.runrev.com> References: <200308020213.WAA03602@www.runrev.com> Message-ID: >Is there no way to attach to this in Rev? When I try the text-to-speech >sample stack included with the Rev 2.0.1 folder (for Windows), it sees >no voices available. It's supposed to work with SAPI 4.x, not the 5 or Net or whatever. So the end user needs to install the old version. I installed SAPI 4.x with the old TTSPAK download offered with the old externals, and it doesn't work right on XP. I need to remove that and try again with the SAPI download from Microsoft's website. Can you try it and see if it works? It should, and I'll try again too and see if I can get it installed right on my computer. Best wishes, Curry From kray at sonsothunder.com Sat Aug 2 00:33:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 2 00:33:00 2003 Subject: Update available for license.rev In-Reply-To: Message-ID: <02b501c358b6$72bc6fb0$6801a8c0@LightningFlash> > > We have also updated the distribution builder fix, to account for a > > small remaining problem on the Windows platform. If you are still > > affected by a size issue on Windows you may want to go and download > > this latest fix, > > Well, got to the web site and downloaded the distribution > builder fix and the revlibrary fix. > > You provide ZERO documentation on what we're supposed to do > with these things. Revlibrary just starts up and begins > displaying errors. I assumed you're supposed to launch them > and they will auto install code somewhere. Bruce, Instructions were in the email you quoted. And *I* quote: ------------------- We have posted an update to the license stack for Revolution, since a few people are having trouble with the new codes. If you are having problems registering 2.0.2, go to the updates directory http://www.runrev.com/revolution/downloads/distributions/2.0/updates/ and download the appropriate license.rev file. Unzip it, rename it, and replace your existing license.rev file with it, to be found in the Revolution folder, on the top level directory. ------------------- Note the last line: "Unzip it, rename it, and replace your existing license.rev file with it, to be found in the Revolution folder, on the top level directory." Sounds like instructions to me... ;-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From igor at pixelmedia.com.au Sat Aug 2 00:47:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sat Aug 2 00:47:00 2003 Subject: Menu Building Prefs In-Reply-To: Message-ID: Dear Dan, On Saturday, August 2, 2003, at 02:15 PM, Dan Shafer wrote: > I'm trying to get a sense for how most Rev users create menus. Are you > using the Menu Builder or are you coding in scripts or do you do both? > Which is more important to cover in depth in my book? Or is either > more important? > Personally, I would like to see a tutorial on making menus that contain items other than text - ie, menus with icons, menus with colour swatches, a menu with a volume slider - as in MacOS X, etc. I have also refrained from using sub-menus, because the documentation kind of discourages you, by mentioning caveats here and there. Perhaps a tutorial on that would help users like me build more concise menu bars more confidently ! ;-) On Saturday, August 2, 2003, at 03:01 PM, Jan Schenkel wrote: > But for my multi-lingual apps, I do have a system > which takes care of the translation (and resizing of > the menu buttons under non-MacOS systems). WOW! How about a tutorial on THAT? - automatically resizing menus! Cool... Thanks! -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From janschenkel at yahoo.com Sat Aug 2 01:53:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 2 01:53:00 2003 Subject: Ressource unavailable (CGI capabilities) In-Reply-To: <20030801212418.78573.qmail@web20006.mail.yahoo.com> Message-ID: <20030802064622.25950.qmail@web11904.mail.yahoo.com> --- erik hansen wrote: > heather at runrev.com wrote: > > My backlog has reached monumental > proportions, and however hard I try, I simply > cannot answer 1000 emails in one day. > > === > > when should one write to: > support at runrev.com > heather at runrev.com > ? > > hopefully helpful, > > Erik > Hi Erik, support at runrev.com is there for your general problems, andmy guess is that one person goes through these mails as they come in, and forwards them to the appropriate person. That is where installer problems and the 10-incidents package calls go to. heather at runrev.com is there when we need to specifically talk to the listmom, webmistress or customer-relations-lady. So if you know you need her for a specific item, mail Heather directly, otherwise email support. At least that's my conclusion ;-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From janschenkel at yahoo.com Sat Aug 2 02:06:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 2 02:06:01 2003 Subject: Ressource unavailable (CGI capabilities) In-Reply-To: Message-ID: <20030802065914.28856.qmail@web11907.mail.yahoo.com> --- "Jeanne A. E. DeVoto" wrote: > At 6:36 AM -0700 8/1/03, Andre Rombauts wrote: > > >Download and decompress the engine you need > for the platform that > >your ISP or web server uses from: > >>http://www.runrev.com/revolution/engines11 This > link leads to > >>nothing... :-( > > Look at > . > > -- > Jeanne A. E. DeVoto Or, if you want to deploy on a LinuxPPC machine (support dropped after MetaCard 2.4.1) or for some other reason need an older version of the CGI engines, tack an extra slash onto the end of the first URL : http://www.runrev.com/revolution/engines11/ and that should get you to the CGI engines at the time of Revolution 1.1 Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From janschenkel at yahoo.com Sat Aug 2 02:14:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 2 02:14:01 2003 Subject: Menu Building Prefs In-Reply-To: Message-ID: <20030802070736.56003.qmail@web11905.mail.yahoo.com> --- Igor Couto wrote: > On Saturday, August 2, 2003, at 03:01 PM, Jan > Schenkel wrote: > > > But for my multi-lingual apps, I do have a system > > which takes care of the translation (and resizing > of > > the menu buttons under non-MacOS systems). > > WOW! How about a tutorial on THAT? - automatically > resizing menus! > Cool... > > Thanks! > -- > Igor de Oliveira Couto > Hi Igor, Credit for the resizing should go to the genius at RuntimeRevolution HQ who did the MenuBuilder -- I was trying to cope with the resizing problem of the buttons after translating the 'Edit' menu to 'Wijzig', when I found that the MenuBuilder handled that just fine, and it only took me minutes to disect the code and find out how they did it. Admittedly, the access to the Revolution code itself may seem daunting, but you can learn a LOT from their code ; and for some bits you can patch the code while waiting for an official update (only do that if you're absolutely positively definitively sure you know what you're doing and never without a backup). So look around, learn, and try things out :-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jeanne at runrev.com Sat Aug 2 02:23:00 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Aug 2 02:23:00 2003 Subject: Menu Building Prefs In-Reply-To: References: Message-ID: At 10:40PM -0700 8/1/03, Igor Couto wrote: >I have also refrained from using sub-menus, because the documentation >kind of discourages you, by mentioning caveats here and there. Just to clarify, there's no problem including submenus in pulldown menus. They are only problematic in option menus and combo boxes. But put them in the menu bar with confidence. ;-) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From andre.rombauts at win.be Sat Aug 2 02:31:01 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat Aug 2 02:31:01 2003 Subject: First CGI test... :-( Message-ID: <00b801c358c7$25a3bdd0$9e26fea9@piran> I put the Revolution CGI engine on my server, in the 'scripts' dir where my ISP told me to put and where other .cgi files are located. The server is running W2K. I put in the same dir a Rev .cgi file: #!/***/***/scripts/revolution on startUp put "Hello, World!" into tResponse put "Content-Type: text/html" & crlf put "Content-Length:" & (the length of tResponse) & crlf & crlf put tResponse end startup I put in the web root dir a .htm launching the .cgi test file: Test CGI The browser returned the following error. What went wrong? CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: external startup external exit -------------- next part -------------- An HTML attachment was scrubbed... URL: From psahores at easynet.fr Sat Aug 2 02:48:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Aug 2 02:48:01 2003 Subject: A call for calm and a tip of the hat to the Rev team..thanks! In-Reply-To: References: Message-ID: <1059810051.1502.280.camel@www.kmax.net> On Sat, 2003-08-02 at 06:11, Stephen Quinn Barncard wrote: > I'd like to come to Rev's defense here and remind some of our more > impatient new users that this is still the 'early days' of the > Revolution company. There are only a handful of very overworked folks > doing a very wonderful thing- giving us a tool that is not only VERY > innovative and useful, but one that is constantly being updated and > improved. (I've been waiting for YEARS for something to replace HC). > > Perhaps the documentation is not as complete as you would like, but > just try and envision some megalith such as Microsloth or Adobe > building a product like this (they wouldn't even try - and if they > did, it would cost a lot more). > > Those kind of companies may make slick manuals, but they don't offer > products that are updated and improved nearly as often as what you > see here. And those companies have HUNDREDS of employees. And try to > get bug fixes from Adobe. Ha! > > CAN YOU IMAGINE what it takes to write an app that generates code for > all the platforms?? It's never been done satisfactorily before... > until now. Perhaps someday one of the team will write the > story...when they have time. > > Also remember that this application allows more access to more things > on your computer than the applications those companies allow you to > get access to. With that power, there are certainly more things to go > wrong. Multiply that by the number of platforms... you get the idea.. > > Rev is an app that makes it a lot easier to write code, but you still > gotta work for it - programming is still something done by folks that > are a little more than just users....so some thinking and reasoning > is required. > > So I'd advise patience, my friend. You've got a great support group > right here - something we didn't have for Hypercard in 1987. Before > you start spewing, ask a couple of questions first.... > > sqb ...and i want to add that RR is still the finest XTalk available today. We need to help the Revolution Team to know how much we are felling lucky to have them providing us this great development environment. Bests to all and thanks again to all of the ones whose are, day after day, hard working to do Rev more and more suitable to our development needs. -- Bien cordialement, Pierre Sahores Serveurs d'applications & bases ACID SQL Penser et produire l'avantage comp?titif From janschenkel at yahoo.com Sat Aug 2 03:00:02 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 2 03:00:02 2003 Subject: Question on .rev file format In-Reply-To: <3F2702DE.4000609@nexpath.com> Message-ID: <20030802075338.57681.qmail@web11901.mail.yahoo.com> --- Steve Gehlbach wrote: > Thanks to all who replied, your comments are very > useful. > > I guess I am not completely convinced that the > pluses outweigh the > minuses regarding the Revolution binary format, but > I will try to keep > an open mind. > > Some other reasons for text formats: > > - managing groups of engineers: you can look at the > nightly checkins to > CVS and see how many lines of code have changed. > Also can more easily > find when and by whom a bug was injected and how to > fix it. > > - CVS puts a version code in the text based on > triggers like $Id$ etc, > which is very useful when managing various releases > and finding which > version of code you have. This would of course > corrupt a .rev file. I > have managed to get around this for many other tools > (CAD programs, > document programs) since most have an optional text > mode, such as .rtf > in Word. But they also frequently have bugs so the > binary format is > Truth, and the text mode is only close to the same. > .rtf is pretty > good, though. Revolution needs a pure text mode > option, but only if it > really works. > > Since the .rev file is 95% the Transcript code in > pure text form, I am > not convinced of the speed of loading issue. One > eye blink or two? > Were it tokenized, as Basic did once long ago, I > might be more convinced. > > In general, binary source code formats are the bane > of the Linux world. > > -Steve > Hi Steve, Sorry to arrive in the discussion at such a late time but I had other things that needed attention. In the meantime, you've received a whole range of interesting answers. All in all, it is perfectly possible to export a RunRev stack to XML and bring it back afterwards. And I'm sure that Geoff Canyon's MCRipper is an excellent place to start. You can iterate over the substacks and their cards and so forth, and thus export all the information of all the controls. This should work fine if you base64Encode() the binary bits such as imageData. We know what's in the built-in properties, so the only problem I see is in determining whether a custom property is text or binary data. Of course you could base64encode by default, but that won't help much in the editing department. On to version control then ; you can always make setProp handlers for your own custom properties, and thus write changes to these to a log file. Unfortunately you can't trap changes in the built-in properties ; unless of course you use the following trick : make a library stack to start using or place in a backScript with the following handler -- setProp uLOG[pProperty] pNewContent -- see whose property we're changing put the long ID of the target into tTarget -- now update the real property do merge("set the [[pProperty]] of [[tTarget]] to [[pNewContent]]" -- and log the change somewhere WriteLogEntry tTarget,pProperty,pNewContent end uLOG -- Now whenever you want to update a built-in property, and have the change logged, just use set the uLOG["rectangle] of field "Foobar" to \ "100,150,300,300" And whaddayakow, your field gets updated, and you have a log of the change. Of course it would be wonderful if the good people over in Scotland could somehow tie the engine right into CVS ; but in the meantime we're not without means ourselves. Hope my ideas help someone, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From igor at pixelmedia.com.au Sat Aug 2 03:18:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sat Aug 2 03:18:00 2003 Subject: Menu Building Prefs In-Reply-To: Message-ID: Thank you for the pep talk, Jeanne! On Saturday, August 2, 2003, at 05:14 PM, Jeanne A. E. DeVoto wrote: > Just to clarify, there's no problem including submenus in pulldown > menus. > They are only problematic in option menus and combo boxes. But put > them in > the menu bar with confidence. ;-) > I will try! - I will *have* to get over the newbie jitters at some stage... Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From igor at pixelmedia.com.au Sat Aug 2 03:24:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sat Aug 2 03:24:00 2003 Subject: Menu Building Prefs In-Reply-To: <20030802070736.56003.qmail@web11905.mail.yahoo.com> Message-ID: Dear Jan, Your replies, as usual, not just informative, but inspirational: On Saturday, August 2, 2003, at 05:07 PM, Jan Schenkel wrote: > Admittedly, the access to the Revolution code itself > may seem daunting, but you can learn a LOT from their > code I did just that a little while ago. I wanted to learn how to put together a 'resize-pane bar' in the middle of a window. So I followed instructions you had posted previously on how to 'dissect' the Rev interface, and opened the scripts of the Inspector Palette. The 'Custom Properties' section had exactly the control I wanted. It was, indeed, really interesting to see how the "masters" did it! Mind you, I don't think at this stage of my adventures into the Rev world, I would *dare* actually try to CHANGE anything in there!!! I will just try to put up with the (few) bugs as patiently as possible, trusting the Rev team to speedily come up with the solutions, as they have been doing so far!... Kind Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From miscdas at boxfrog.com Sat Aug 2 04:45:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sat Aug 2 04:45:00 2003 Subject: Corrupted stack In-Reply-To: References: Message-ID: <20030802093841.76807.qmail@www.boxfrog.com> doupsy at wanadoo.fr writes: > Hello, > > > I tryed to open a Revolution Stack with BBEdit Lite. Then, when I want to > open this stack with Revolution, I have the message : this is a corrupted > stack file. > > Is there a possibility to repair corrupted stack file ? > > Thank you. > > Edouard > >============== Edouard, You OF COURSE made a copy of the stack file, then tried to open teh copy with BBEdit lite, R-I-G-H-T ? So, just delete the corrupted one and use the original! miscdas From miscdas at boxfrog.com Sat Aug 2 05:22:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sat Aug 2 05:22:00 2003 Subject: A call for calm and a tip of the hat to the Rev team..thanks! In-Reply-To: References: Message-ID: <20030802101559.59505.qmail@www.boxfrog.com> Stephen Quinn Barncard writes: [snip] > I'd like to come to Rev's defense here and remind some of our more > impatient new users that this is still the 'early days' of the Revolution > company. There are only a handful of very overworked folks doing a very > wonderful thing- giving us a tool that is not only VERY innovative and > useful, but one that is constantly being updated and improved. Yes. And like many companies before them, their small size and lack of experience results in easily biting off more than they can chew. > > Perhaps the documentation is not as complete as you would like, but just > try and envision some megalith such as Microsloth or Adobe building a > product like this (they wouldn't even try - and if they did, it would cost > a lot more). I can tell you as an experienced technical writer (specializing in software user guides) that it is very common for companies to view documentation as a necessary evil. An app that took 2-3 years to develop and sells for $1000 a pop is expected to be documented in a few weeks for the cost of one unit (or less!). So, it is really pointless to look over your shoulder an compare to what "everyone else" has done--do what you KNOW is the right thing to do (especially listen to the end users). > > Those kind of companies may make slick manuals, but they don't offer > products that are updated and improved nearly as often as what you see > here. And those companies have HUNDREDS of employees. And try to get bug > fixes from Adobe. Ha! I've worked in companies large and small, as well as a couple that went for small to medium. Believe me, corporate philosophy, ethics, and treatment of both customers and employees undergo startling changes, usually not complimentary changes. > CAN YOU IMAGINE what it takes to write an app that generates code for all > the platforms?? It's never been done satisfactorily before... until now. > Perhaps someday one of the team will write the story...when they have > time. Doesn't Java do a satisfactory job of it? > Also remember that this application allows more access to more things on > your computer than the applications those companies allow you to get > access to. With that power, there are certainly more things to go wrong. > Multiply that by the number of platforms... you get the idea.. Doesn't Java do a satisfactory job of it? Can you cite some examples, please? > Rev is an app that makes it a lot easier to write code, but you still > gotta work for it - programming is still something done by folks that are > a little more than just users....so some thinking and reasoning is > required. > > So I'd advise patience, my friend. You've got a great support group right > here - something we didn't have for Hypercard in 1987. Before you start > spewing, ask a couple of questions first.... Or just lower your expectations--low expectations = few disappointments. > > sqb > >> > > We have also updated the distribution builder fix, to account >> > >>> You provide ZERO documentation on what we're supposed to do with these >>> things. Revlibrary just starts up and begins displaying errors. I >>> assumed >> > you're supposed to launch them and they will auto install code >> somewhere. >>> As often happens in the real world, the "engineer" expects the "user" to be able to do what is needed without instructions, because, "it's obvious". miscdas From st.king42 at ntlworld.com Sat Aug 2 05:37:00 2003 From: st.king42 at ntlworld.com (Stephen King) Date: Sat Aug 2 05:37:00 2003 Subject: Re - text-to-speech on WindowsXP Message-ID: <001101c358e1$06bd48e0$0202a8c0@Athalon> Hi Barry, I had the same problem with Rev 2.0 and Mailed Rev about it and got the following reply from Tuviah. ---> snip >Does anyone know if Text to speech works in windows? I have tried Win XP and >Win 98 (using a button for both) and each time I get the error message 'Can't >initialise speech engine' Works with SAPI 4. We will support SAPI 5 soon ---> So I guess its being looked at. I couldn't find any ref in the bug database though which was a bit puzzling. Anyone know any more? Have not been able to try 2.0.2 yet as I haven't worked out how to get Rev to accept my new license code yet! But have been a bit busy though. Cheers Steve >I started a thread some time ago about text-to-speech options on >Windows. No problem on the Mac (of course). I was just looking through >my XP installation and found a Speech Control Panel in which there is a >"voice" named "Microsoft Sam". When I selected it, it "speaks" (and >highlights, word-by-word) a sentence in that Control Panel. >Is there no way to attach to this in Rev? When I try the text-to-speech >sample stack included with the Rev 2.0.1 folder (for Windows), it sees >no voices available. >Any help is appreciated. From wmb at internettrainer.com Sat Aug 2 08:25:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Aug 2 08:25:01 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: Message-ID: <556F7522-C422-11D7-9740-003065430226@internettrainer.com> On Samstag, Aug 2, 2003, at 01:00 Europe/Vienna, Richard Gaskin wrote: >> Omnigraffle rocks. I don't use UML for RR projects. I've tried to use >> the UML palette for SQL projects. Although it has a UML palette, you >> are right about getting out-of-whack: and it's a real pain to always >> have to add a magnet to each attribute or operation you want to link >> to. > > Could such a tool be made for Rev using Rev itself? I would buy it tomorrow, or better tomorrow and 2 years, because that seems the minimum time for you and some other great scripters, to make such a great tool like OG (At Omni there are about 25 persons if on the most important product (OG) are working only 30% of the staff than it must be at least 6-8 persons... We had this kind of threat once or twice, do you remember Richard?, but not Omnigraffle, it was iShell. Did you try to write iShell..(maybe iShell light) in rev..? I would buy this also tomorrow (if its rock solid like iShell...) NO matter which of them, OG or iShell based on the MC engine, will be the authoring killer-app of the century..;) But until now, I m feeling like a Pavlow dog... - only hearing the bells but no food at all..;) my 2 cents regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rpresender at earthlink.net Sat Aug 2 08:58:01 2003 From: rpresender at earthlink.net (Robert Presender) Date: Sat Aug 2 08:58:01 2003 Subject: What's New.txt (Rev2.1B2) Message-ID: <6099F172-C4F0-11D7-AF6C-000393A19046@earthlink.net> Hi, Just a couple of typos. With regard to --- New Transcript terms ---, closeBox property: hides/shows the close box set the systemWindow of stack to {true | false} ****should be closeBox instead of systemWindow**** my addition 8/2/03.......systemWindow property: hides/shows zoom,collapse and close boxes set the systemWindow of stack to {true | false} Regards ... Bob From wmb at internettrainer.com Sat Aug 2 10:20:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Aug 2 10:20:00 2003 Subject: Fix to distribution builder available In-Reply-To: Message-ID: <732D44EE-C432-11D7-88DD-003065430226@internettrainer.com> On Freitag, Aug 1, 2003, at 06:29 Europe/Vienna, Chipp Walters wrote: > Great Video. Not being a Mac person, something like this really helps > if/when I decide to port to Mac. Someone mentioned a Shell script > which did > all of this? Couldn't someone build a RR stack which allowed you to > fill in > some fields and automatically run the shell script? Seems like a great > plugin. Yes, that s a great idea. Because thats exactly the direction where my t-maps will go in the future. On one hand the integration of such videos (swf files) in a Mindmap struktur to explain and show content more detailled. On the other hand, I m designing that kind of buttons which does exactly that what you have described above. I call that mefm? button. (mefm=german: mach es f?r mich=make it for me). thanks Chipp for you input, I think, if not only me here like this kind of visuial thinking mindmapping and t-mapping, then rev will become once the best tools to develop that Multimedia programs. Hopefully rev will running flash files as soon as possible without QT....;) Only an idea brainstormed at the moment..: Dan?s great forthcoming (I hate this word;) rev books, which is so clear and easy understandable written, could be the outliner for my t-maps. Yes, Dan, its to early now, but I will you contact offline later on, when I am a bit more advanced in my concept doing this... I hope you will like it. But first I m waiting for your whole book... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From jtenny at willamette.edu Sat Aug 2 11:21:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Sat Aug 2 11:21:00 2003 Subject: distribution builder engine file Message-ID: I'm actually getting my first stack to work (thanks, sims) and wanted to try the distribution builder. I downloaded Richmond's Expanded Distribution builder and replaced the one in the Tools folder (glad to be able to see the buttons). I replaced the distribution builder cause I couldn't see the buttons. Went through the steps for OS X, selecting the stack, making it the main stack, no other changes. Last button resulted in..... "Can't open engine file/Applications/Revolution 2.0.2/Revolution.app/Contents/MacOS/Revolution" I'm using the Studio edition on a Mac with latest X system and Rev 2.0.2 John From drjohn at wellminds.org Sat Aug 2 13:33:00 2003 From: drjohn at wellminds.org (John R. Brauer) Date: Sat Aug 2 13:33:00 2003 Subject: Database newbie questions In-Reply-To: <200308011128.HAA06155@www.runrev.com> Message-ID: <88A155FB-C4F5-11D7-B286-00039340C4D6@wellminds.org> Hello all, I am a newbie. I am working on a project which will require that I store data in a database (a separate record for each client, and about six hundred fields per record). Each time it is used, it will need to generate a new record for that client (it is a program that will administer and score an exam of sorts) My questions: a) which database would you suggest (I guess that Oracle, MySQL and Valentina are my options)? b) is there an internal way of doing this instead of one of the above databases? c) will the standalone app then incorporate the database functions, or will the enduser be required to have the database in question installed on their computer as well? Sorry if this duplicates, I inadvertently used a wrong email address the first time, adn do not know if it will get through the moderator that way. Thank you much... Sincerely, John R. Brauer, Psy.D. Clinical Psychologist -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 970 bytes Desc: not available URL: From wmb at internettrainer.com Sat Aug 2 14:35:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Aug 2 14:35:01 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: Message-ID: On Freitag, Aug 1, 2003, at 17:29 Europe/Vienna, Trevor DeVore wrote: On 8/1/03 Igor Couto wrote > Also - what UML tools do you use? Most of the tools seem to be directed > at generating object-oriented code, rather than diagramming. They all > seem to be cluttered with programming features, and have *very* poor > interface and diagramming features. The only *reasonable* diagramming Maybe I can help if you you tell me whats UML? What kind of lines do you need? I v worked more than ten years with Inspiration and now also with Omnigraffle but Im not so familar with it like with Inspiration dooing Diagramms. for me it seems not a problem to connect lines... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From psahores at easynet.fr Sat Aug 2 14:39:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Aug 2 14:39:00 2003 Subject: Database newbie questions In-Reply-To: <88A155FB-C4F5-11D7-B286-00039340C4D6@wellminds.org> References: <88A155FB-C4F5-11D7-B286-00039340C4D6@wellminds.org> Message-ID: <3F2C11D0.8010404@easynet.fr> John R. Brauer wrote: > Hello all, > > I am a newbie. I am working on a project which will require that I store > data in a database (a separate record for each client, and about six > hundred fields per record). Each time it is used, it will need to > generate a new record for that client (it is a program that will > administer and score an exam of sorts) My questions: > > a) which database would you suggest (I guess that Oracle, MySQL and > Valentina are my options)? > > b) is there an internal way of doing this instead of one of the above > databases? > > c) will the standalone app then incorporate the database functions, or > will the enduser be required to have the database in question installed > on their computer as well? > > Sorry if this duplicates, I inadvertently used a wrong email address the > first time, adn do not know if it will get through the moderator that > way. Thank you much... > > > Sincerely, > > > John R. Brauer, Psy.D. > Clinical Psychologist Hi, In about concurrency and write-mode accesses, PostgreSQL 7.xx (ACID compliant) and MySQL 4.xx are two of the best unexpensive db-engines you can use behind RR (use the Rev-DB library to connect them). P.S.: MySQL 5.xx will be a great issue and the first full ACID compliant ever done by MySQL AG, including most of the SAPDB engine features... -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From wmb at internettrainer.com Sat Aug 2 15:02:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Aug 2 15:02:00 2003 Subject: A call for calm and a tip of the hat to the Rev team..thanks! In-Reply-To: <20030802101559.59505.qmail@www.boxfrog.com> Message-ID: On Samstag, Aug 2, 2003, at 12:15 Europe/Vienna, miscdas at boxfrog.com wrote: > As often happens in the real world, the "engineer" expects the "user" > to be able to do what is needed without instructions, because, "it's > obvious". unfortunately a daily experience... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From dan at shafermedia.com Sat Aug 2 15:15:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sat Aug 2 15:15:00 2003 Subject: use-revolution digest, Vol 1 #1708 - 11 msgs In-Reply-To: <200308021601.MAA19387@www.runrev.com> Message-ID: <237F6CA2-C525-11D7-A1F1-0030656FB5D4@shafermedia.com> On Saturday, August 2, 2003, at 09:01 AM, miscdas wrote: > Doesn't Java do a satisfactory job of it? > I have spent as lot of time with Java and I can guarantee you of a couple of things, at least from the perspective of developers like myself: 1. The Java learning curve is steep and long. 2. Java syntax is ugly and difficult to read in many cases 3. Java apps do *not* run cross-platform with anything near the ease of Revolution apps. Java's promise of "write once, run everywnere", long since abandoned by Sun itself, quickly became "Write once, debug everywhere." 4. Java apps are slower than equivalent Revolution apps 5. Java apps are cumbersome compared to Rev apps. (A Rev developer was telling me just yesterday that he has a Java app that creates an alias to a file. For it to run correcty cross-platform, it took 257 lines of Java code. (That's probably 10-25% of the lines it would take in C++.) In Rev? One line and it runs everywhere.) I've started thinking of Revolution -- and writing about it in my book -- as "All the power of Java...and hold the Java." Yeah, I know, there are classes of apps (spreadsheets and word processors, e.g.) you wouldn't want to write in Rev that you can write in Java. And some have. But check out some of those Office-style apps in java and experience the joy of waiting for every single thing to happen. Even displaying typed keystrokes in a field feels sluggish. For my money and time, Revolution is fabulous. Not perfect yet, but fabulous. I've built six applications in the past few weeks, any one of which would have taken many times that long in Java or even in Visual Basic. It is not for nothing or without serious thought that I have cast a good bit of my fate with this product and this team. FWIW. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From dsc at swcp.com Sat Aug 2 15:38:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 2 15:38:00 2003 Subject: Casting fate In-Reply-To: <237F6CA2-C525-11D7-A1F1-0030656FB5D4@shafermedia.com> Message-ID: <5181EA2D-C528-11D7-AF19-000A9567A3E6@swcp.com> On Saturday, August 2, 2003, at 02:08 PM, Dan Shafer wrote: > It is not for nothing or without serious thought that I have cast a > good bit of my fate with this product and this team. I, too. With eyes wide open. As Milton Friedman told his children, sunk costs are sunk costs; I need to be ready to jump ship. But at this point my bets are placed and they have not been placed casually. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From steve at nexpath.com Sat Aug 2 15:42:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Sat Aug 2 15:42:00 2003 Subject: use-revolution digest, Vol 1 #1708 - 11 msgs In-Reply-To: <237F6CA2-C525-11D7-A1F1-0030656FB5D4@shafermedia.com> References: <237F6CA2-C525-11D7-A1F1-0030656FB5D4@shafermedia.com> Message-ID: <3F2C2083.7010800@nexpath.com> Dan Shafer wrote: > 1. The Java learning curve is steep and long. > 2. Java syntax is ugly and difficult to read in many cases > 3. Java apps do *not* run cross-platform with anything near the ease of > Revolution apps. Java's promise of "write once, run everywnere", long > since abandoned by Sun itself, quickly became "Write once, debug > everywhere." > 4. Java apps are slower than equivalent Revolution apps > 5. Java apps are cumbersome compared to Rev apps. (A Rev developer was > telling me just yesterday that he has a Java app that creates an alias > to a file. For it to run correcty cross-platform, it took 257 lines of > Java code. (That's probably 10-25% of the lines it would take in C++.) > In Rev? One line and it runs everywhere.) > Java will become a teaching language, as is what happened to Pascal. Otherwise, it is pig-bloat-ware. Remember the Lisa? Friends don't let friends write Java programs. -Steve From kkaufman at snet.net Sat Aug 2 15:43:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat Aug 2 15:43:01 2003 Subject: revolutionpros.com Message-ID: <0B5E5EF8-C529-11D7-ADB1-0003936D1F12@snet.net> Dan Shafer wrote: ...Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info Dan, when I click on the link above, I get some sort of automated search (different results every time) that has absolutely nothing whatsoever to do with Revolution, programming, or, for that matter, Dan Shafer! Are you perhaps waiting for assignment of the revolutionpros.com domain? -Kurt From janschenkel at yahoo.com Sat Aug 2 15:50:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 2 15:50:01 2003 Subject: Database newbie questions In-Reply-To: <88A155FB-C4F5-11D7-B286-00039340C4D6@wellminds.org> Message-ID: <20030802204256.2808.qmail@web11903.mail.yahoo.com> --- "John R. Brauer" wrote: > Hello all, > > I am a newbie. I am working on a project which will > require that I > store data in a database (a separate record for each > client, and about > six hundred fields per record). Each time it is > used, it will need to > generate a new record for that client (it is a > program that will > administer and score an exam of sorts) My questions: > > a) which database would you suggest (I guess that > Oracle, MySQL and > Valentina are my options)? > > b) is there an internal way of doing this instead of > one of the above > databases? > > c) will the standalone app then incorporate the > database functions, or > will the enduser be required to have the database in > question installed > on their computer as well? > > Sorry if this duplicates, I inadvertently used a > wrong email address > the first time, adn do not know if it will get > through the moderator > that way. Thank you much... > > > Sincerely, > > > John R. Brauer, Psy.D. > Clinical Psychologist Hi John, 600 fields in a single record ? That would have killed off FoxPro as a database engine -- are you sure it wouldn't be better to rearrange the tabledesign a bit ? Be that as it may, you are definitely not without options regarding hooking Revolution up to databases. If your target platforms are Windows and Mac (and _NOT_ Linux or another Unix variant), and you don't need multi-user access, Valentina is an excellent choice, as it doesn't require the setup of a database server. And if you need multi-user capabilities, Valentina will be available in a client-server flavour pretty soon. There is also a native option, in the form of SDB -- Serendipity Database Binary ; written completely in Transcript, it takes care of storing and retrieving the data in an efficient way, cross-platform. Hopefully Rob Cozens' website is up and running again soon so you can have a look at it. As Pierre sugegsted, MySQL and PostgreSQL are great, cheap aternatives ; though some may find setting up and administrating these database servers an intimidating thought. And lest we forget, ODBC opens up quite a bit more data storage options : Access, FileMaker,... Hope this helped you make the right choice, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dan at shafermedia.com Sat Aug 2 16:02:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sat Aug 2 16:02:00 2003 Subject: Scripts in Independent Study Tutorial - A Mini-Course Message-ID: <986FB5B9-C52B-11D7-A1F1-0030656FB5D4@shafermedia.com> I've been using Revolution for a bit more than a year now. I've gone through the Independent Study (employee database) tutorial a couple of times to refresh my memory on how things sort of work. But until today I hadn't sat and read all of the scripts in that application. Geoff Canyon (who wrote this stuff) has produced, in his comments on these scripts, a very good mini-tutorial in how application-level stuff works and ought to be put together in Revolution. The comments are extensive, lucid, and really helpful. Somehow, they need to be more "in your face" for new developers. Perhaps publishing the scripts and comments as a separate piece of documentation to be read? I don't know. But I'll tell you they were really, really valuable. Thanks, Geoff, and the RR team! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From erikhans08 at yahoo.com Sat Aug 2 16:27:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Aug 2 16:27:00 2003 Subject: Subject: please use me In-Reply-To: <6099F172-C4F0-11D7-AF6C-000393A19046@earthlink.net> Message-ID: <20030802212043.66809.qmail@web20003.mail.yahoo.com> Subject: please use me ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From erikhans08 at yahoo.com Sat Aug 2 16:33:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Aug 2 16:33:00 2003 Subject: Ressource unavailable (CGI capabilities) In-Reply-To: <20030802064622.25950.qmail@web11904.mail.yahoo.com> Message-ID: <20030802212615.29464.qmail@web20005.mail.yahoo.com> --- Jan Schenkel wrote: > support at runrev.com is there for your general > problems, > and my guess is that one person goes through > these > mails as they come in, and forwards them to the > appropriate person. > That is where installer problems and the > 10-incidents package calls go to. > > heather at runrev.com is there when we need to > specifically talk to the listmom, webmistress > or > customer-relations-lady. > So if you know you need her for a specific > item, mail > Heather directly, otherwise email support. thanks Jan Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dsc at swcp.com Sat Aug 2 16:34:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 2 16:34:01 2003 Subject: Problems setting large width of group In-Reply-To: Message-ID: <0C550ED2-C530-11D7-AF19-000A9567A3E6@swcp.com> On Tuesday, July 29, 2003, at 03:42 PM, Trevor DeVore wrote: > I have a Timeline that is a group made up of fields and buttons which > is generated from a databse. I just ran into a situation where the > group size is set to 1 when the trying to set the width to a large > number (60,000 pixels in this case). In my code I set the width of > the group to the formattedWidth of the group. The formattedWidth is > returned correctly but the group width is set to 1. I saw your (excellent) bug report. A workaround might be to maintain objects within some range of the current time position (window in a generic sense). As the user scrolls to one direction (somehow), objects are created in that direction and are deleted off the other end. This means you need to keep the database around or an equivalent. This might create a faster initial response if you were creating this at the start each time the stack is opened. This does not need to be on an individual object basis, but at whatever logical level is convenient. Some decorative graphics might be reused. Another might be to make a 2D timeline. Another might be to switch to cards. Switch to a vertical timeline and use very short fields? I hope you find something. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From dsc at swcp.com Sat Aug 2 16:42:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 2 16:42:00 2003 Subject: Subject: please use me In-Reply-To: <20030802212043.66809.qmail@web20003.mail.yahoo.com> Message-ID: <3BBFFA02-C531-11D7-AF19-000A9567A3E6@swcp.com> On Saturday, August 2, 2003, at 03:20 PM, erik hansen wrote: > Subject: please use me I just looked at your web site and it is not clear to me how we on the use-revolution list might exploit you. Or was this sent in error? Dar From erikhans08 at yahoo.com Sat Aug 2 16:45:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Aug 2 16:45:00 2003 Subject: Menu Building Prefs In-Reply-To: Message-ID: <20030802213704.6607.qmail@web20008.mail.yahoo.com> --- Igor Couto wrote: > Dear Jan, > I followed > instructions you had posted previously > and opened the scripts... is there a good search expression for finding this topic in the archives? Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dsc at swcp.com Sat Aug 2 16:45:06 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 2 16:45:06 2003 Subject: Subject: please use me In-Reply-To: <20030802212043.66809.qmail@web20003.mail.yahoo.com> Message-ID: On Saturday, August 2, 2003, at 03:20 PM, erik hansen wrote: > Subject: please use me I'm dense. Ignore my other mail. I can see now that you are encouraging those who respond to the digest or respond to such mail to set the subject appropriately. Sorry to add to the confusion. dar From erikhans08 at yahoo.com Sat Aug 2 16:54:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Aug 2 16:54:01 2003 Subject: Subject: please use me In-Reply-To: <3BBFFA02-C531-11D7-AF19-000A9567A3E6@swcp.com> Message-ID: <20030802214746.33052.qmail@web20004.mail.yahoo.com> --- Dar Scott wrote: > > On Saturday, August 2, 2003, at 03:20 PM, erik > hansen wrote: > > > Subject: please use me > > I just looked at your web site and it is not > clear to me how we on the > use-revolution list might exploit you. Or was > this sent in error? no, i just got too cute. it meant: please use the field in an email. there is a page of links, RunRev Fanzine, that gives the company link and the personal name of the author, the one we know on the list. it is being updated today, but there are some new people i missed, so if you want another link to your site, please email me. there are so many good RunRev link pages that this may seem superfluous, but you never know. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From erikhans08 at yahoo.com Sat Aug 2 16:56:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Aug 2 16:56:01 2003 Subject: Subject: please use me In-Reply-To: Message-ID: <20030802214858.10727.qmail@web20001.mail.yahoo.com> --- Dar Scott wrote: > > Subject: please use me > > I'm dense. Ignore my other mail. I can see > now that you are > encouraging those who respond to the digest or > respond to such mail to > set the subject appropriately. > > Sorry to add to the confusion. are you kidding? you said it better! Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From steve at nexpath.com Sat Aug 2 17:03:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Sat Aug 2 17:03:01 2003 Subject: Question on .rev file format In-Reply-To: <20030802075338.57681.qmail@web11901.mail.yahoo.com> References: <20030802075338.57681.qmail@web11901.mail.yahoo.com> Message-ID: <3F2C3560.3050006@nexpath.com> Thanks for the careful reply. I am not sure about XML, some reports on the net indicate is has bloat tendencies, but I have no personal experience. It it already done, so that is a plus. The comments on version control were over my head, but as I continue to learn RR maybe the fog will clear. -Steve Jan Schenkel wrote: > --- Steve Gehlbach wrote: > >>Thanks to all who replied, your comments are very >>useful. >> >>I guess I am not completely convinced that the >>pluses outweigh the >>minuses regarding the Revolution binary format, but >>I will try to keep >>an open mind. >> >>Some other reasons for text formats: >> >>- managing groups of engineers: you can look at the >>nightly checkins to >>CVS and see how many lines of code have changed. >>Also can more easily >>find when and by whom a bug was injected and how to >>fix it. >> >>- CVS puts a version code in the text based on >>triggers like $Id$ etc, >>which is very useful when managing various releases >>and finding which >>version of code you have. This would of course >>corrupt a .rev file. I >>have managed to get around this for many other tools >>(CAD programs, >>document programs) since most have an optional text >>mode, such as .rtf >>in Word. But they also frequently have bugs so the >>binary format is >>Truth, and the text mode is only close to the same. >>.rtf is pretty >>good, though. Revolution needs a pure text mode >>option, but only if it >>really works. >> >>Since the .rev file is 95% the Transcript code in >>pure text form, I am >>not convinced of the speed of loading issue. One >>eye blink or two? >>Were it tokenized, as Basic did once long ago, I >>might be more convinced. >> >>In general, binary source code formats are the bane >>of the Linux world. >> >>-Steve >> > > > Hi Steve, > > Sorry to arrive in the discussion at such a late time > but I had other things that needed attention. In the > meantime, you've received a whole range of interesting > answers. > > All in all, it is perfectly possible to export a > RunRev stack to XML and bring it back afterwards. And > I'm sure that Geoff Canyon's MCRipper is an excellent > place to start. > You can iterate over the substacks and their cards and > so forth, and thus export all the information of all > the controls. This should work fine if you > base64Encode() the binary bits such as imageData. > We know what's in the built-in properties, so the only > problem I see is in determining whether a custom > property is text or binary data. Of course you could > base64encode by default, but that won't help much in > the editing department. > > On to version control then ; you can always make > setProp handlers for your own custom properties, and > thus write changes to these to a log file. > Unfortunately you can't trap changes in the built-in > properties ; unless of course you use the following > trick : make a library stack to start using or place > in a backScript with the following handler > -- > setProp uLOG[pProperty] pNewContent > -- see whose property we're changing > put the long ID of the target into tTarget > -- now update the real property > do merge("set the [[pProperty]] of [[tTarget]] to > [[pNewContent]]" > -- and log the change somewhere > WriteLogEntry tTarget,pProperty,pNewContent > end uLOG > -- > Now whenever you want to update a built-in property, > and have the change logged, just use > set the uLOG["rectangle] of field "Foobar" to \ > "100,150,300,300" > And whaddayakow, your field gets updated, and you have > a log of the change. > > Of course it would be wonderful if the good people > over in Scotland could somehow tie the engine right > into CVS ; but in the meantime we're not without means > ourselves. > > Hope my ideas help someone, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Sat Aug 2 17:56:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat Aug 2 17:56:00 2003 Subject: Problems setting large width of group In-Reply-To: <0C550ED2-C530-11D7-AF19-000A9567A3E6@swcp.com> Message-ID: On 8/2/03 Dar Scott wrote >On Tuesday, July 29, 2003, at 03:42 PM, Trevor DeVore wrote: > >> I have a Timeline that is a group made up of fields and buttons which >> is generated from a databse. I just ran into a situation where the >> group size is set to 1 when the trying to set the width to a large >> number (60,000 pixels in this case). In my code I set the width of >> the group to the formattedWidth of the group. The formattedWidth is >> returned correctly but the group width is set to 1. > >I saw your (excellent) bug report. > >A workaround might be to maintain objects within some range of the >current time position (window in a generic sense). As the user scrolls >to one direction (somehow), objects are created in that direction and >are deleted off the other end. This means you need to keep the >database around or an equivalent. This might create a faster initial >response if you were creating this at the start each time the stack is >opened. This does not need to be on an individual object basis, but at >whatever logical level is convenient. Some decorative graphics might >be reused. Thanks for the input Dar. The current design allows the user to use a scroll bar to move through the entire timeline. If the program needs to jump to a ceratin point in the timeline it scrolls to that point automatically. I don't know that creating fields dynamically as the user scrolled would be as responsive as I would like. >Another might be to make a 2D timeline. > >Another might be to switch to cards. > >Switch to a vertical timeline and use very short fields? Unfortunately the UI is locked in place for the timeline so I can't make any changes to it at this point. In the program the timeline is going to be generated and cached until the program sees that any timeline events have been added to the database. What I think I am going to do is monitor the width of the group of fields as it is created checking that its width remains <= 32767. Once it reaches this threshold I will start a new group. I will then just change my slider code, etc. to move all groups that were created. Hopefully this will work without a hitch. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From igor at pixelmedia.com.au Sat Aug 2 20:12:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sat Aug 2 20:12:00 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: Message-ID: <936AFAD9-C54E-11D7-B6CD-000393AD9396@pixelmedia.com.au> Dear Wolfgang, Thank you for your contribution to the thread! On Saturday, August 2, 2003, at 05:04 AM, Wolfgang M. Bereuter wrote: > Maybe I can help if you you tell me whats UML? UML stands for "Unified Modelling Language". It is a standard that describes 9 types of diagrams that a variety of professionals can use to specify, model and manage project development. It is made for and particularly suited to development of large-scale software projects using object-oriented languages. The UML diagrams give developers a STANDARDISED way to think through and describe the various stages and tasks involved in software development. For instance, the first type of diagram that we generally use is called a "Use Case" diagram, which can be used to help analysts think through and document the requirements of the project. Once you start on the design stage, it is very likely you will be using "Class Diagrams" - which describe all the classes in your project, their attributes (properties) and their operations(functions and handlers). There are also "Activity Diagrams" - which help you think through the tasks required to complete a certain action; "Sequence Diagrams" - which help you determine the sequence of events that tasks have to be completed in; "Collaboration Diagrams" - which document the messaging and information sharing between your classes, and a few others. The beauty of UML is that it is a formal, STANDARDISED "language". Most kids doing computing at University these days learn it during their first year of course - at least here, in Australia. I started using it just recently, but have found that, indeed, it does help in the management of larger projects, and it does make the documentation easier to write. There are several (too many, actually) resources on the internet about UML. I recommend a book called "UML: A Beginner's Guide", by Jason T. Roff, published by McGraw Hill. It steps you through each diagram, slowly introducing each new piece of notation, and putting it into context. Very easy to follow, and a good reference for later use. > What kind of lines do you need? > I have found the lines in OmniGraffle to be a bit limiting in 2 areas. 1) Even though you can place labels at the end of the lines, the label positions are calculated as "percentages of the total length of the line". While that's fine if you want your label to be centered, or lightly off-center, that is very cumbersome if you want the lines to remain a certain position from the endpoints. Consider, for instance, diagrams that show 'multiplicity' information, such as Entity-Relationship Diagrams. The labels at the end of the lines show how many of one class/object/record are used by 1 of the object at the other end. When diagrams start to get complex, it is very easy to get over 50 of these lines (each one with 2 labels or more). If you move the objects around in your graph, the lines resize, and your labels go out of place - and then you're in for a good 30-45mins of label repositioning... 2) In UML, in Class diagrams, a class is represented by a rectangle, horizontally divided in 3 sections. The top section has the class' name, the middle section shows the class' properties, and the bottom section lists the class' functions and handlers. Because a function in one class might refer to functions and properties in another class, you use lines to indicate these connections. These lines, however, must go from the precise line of text that contains the function, to the precise line of text that contains the function/property in the other classes. In OmniGraffle, while you can specify a line going from one OBJECT to another, you cannot specify a line going from a LINE OF TEXT within that object, to another. It is also possible to specify custom 'magnets' in OmniGraffle, so you can control where the line is starting from/going to in objects. However, these are not associated with the lines of text, either, and therefore don't automatically move or delete if you alter a line of text here and there. And, as you can imagine, if your diagram contains a few dozen classes (quite easy, even for smallish projects), then updating the lines becomes an absolute nightmare. > I v worked more than ten years with Inspiration and now also with > Omnigraffle but Im not so familar with it like with Inspiration dooing > Diagramms. for me it seems not a problem to connect lines... Thank you for the tip! I've just downloaded the Demo version of Inspiration, and will give it a try! Many thanks, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From bfr at nwlink.com Sat Aug 2 20:44:01 2003 From: bfr at nwlink.com (Bruce Robertson) Date: Sat Aug 2 20:44:01 2003 Subject: Update available for license.rev In-Reply-To: <02b501c358b6$72bc6fb0$6801a8c0@LightningFlash> Message-ID: > "Unzip it, rename it, and replace your existing license.rev file with > it, to be found in the Revolution folder, on the top level directory." > > Sounds like instructions to me... ;-) So I should rename the files I was specifically talking about in my question, distribution builder and revlibrary. Hm, what shall I name them? I did figure out that I wasn't supposed to rename ANYTHING and was in fact supposed to put them in different Rev application folders. From igor at pixelmedia.com.au Sat Aug 2 20:51:02 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sat Aug 2 20:51:02 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: <936AFAD9-C54E-11D7-B6CD-000393AD9396@pixelmedia.com.au> Message-ID: <114163FC-C554-11D7-B6CD-000393AD9396@pixelmedia.com.au> Dear Wolfgang, >> I v worked more than ten years with Inspiration and now also with >> Omnigraffle but Im not so familar with it like with Inspiration >> dooing Diagramms. for me it seems not a problem to connect lines... > > Thank you for the tip! > > I've just downloaded the Demo version of Inspiration, and will give it > a try! > After playing with Inspiration for an hour or so, it seems to me that: 1) Connection lines can have only 1 label 2) You cannot specify more than 1 text box per symbol Is that correct? Thanks! -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From igor at pixelmedia.com.au Sat Aug 2 20:54:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sat Aug 2 20:54:01 2003 Subject: Update available for license.rev In-Reply-To: Message-ID: <6768CFD9-C554-11D7-B6CD-000393AD9396@pixelmedia.com.au> Dear Bruce, On Sunday, August 3, 2003, at 11:36 AM, Bruce Robertson wrote: >> "Unzip it, rename it, and replace your existing license.rev file with >> it, to be found in the Revolution folder, on the top level directory." >> >> Sounds like instructions to me... ;-) > > So I should rename the files I was specifically talking about in my > question, distribution builder and revlibrary. Hm, what shall I name > them? > > I did figure out that I wasn't supposed to rename ANYTHING and was in > fact > supposed to put them in different Rev application folders. > My educated guess would be that if you are supposed to be replacing a file, than the replacement should have the same name (and be in the same location) as the file it is replacing... Just an educated guess,,, I hope it helps. Regards, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From yoy at comcast.net Sat Aug 2 23:05:00 2003 From: yoy at comcast.net (yoy) Date: Sat Aug 2 23:05:00 2003 Subject: Repeat for each loop assistance, please. Message-ID: <000b01c35973$43083bb0$b2ea5144@fatal7lcf637rj> I have the following loop statement: repeat for each line gameLine in fld "gamelist" I need to obtain the line number for the current iteration. I'm error checking for the number of items in gameLine and if it isn't equal to 5, I want to raise an answer dialog and stop the script, then hilight that line in fld "gameList". The other problem is that the variable might be 6 with the first 5 items isolated and the 6th item examined under different circumstances, ala checking a lotto game with or without a bonus ball number. It has only been two days of my trial. What can I query to get the iteration number of this loop? Perhaps I'd be better off using a different repeat construct? A mac hypercard stack "Balls!" and perl script "PERLotto" that do this lotto ticket checking are available at http://mywebpages.comcast.net/foxcat Thanks, Andy From igor at pixelmedia.com.au Sat Aug 2 23:33:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sat Aug 2 23:33:01 2003 Subject: Repeat for each loop assistance, please. In-Reply-To: <000b01c35973$43083bb0$b2ea5144@fatal7lcf637rj> Message-ID: Hi there, Andy! On Sunday, August 3, 2003, at 01:56 PM, yoy wrote: > I have the following loop statement: > > repeat for each line gameLine in fld "gamelist" > > I need to obtain the line number for the current iteration. If I understand the docs correctly, the 'repeat for each' form of the repeat structure is best used when you need to use *only* the CONTENTS of the particular container. If you need to count the loops and refer to chunks of the container by number (rather than merely use the chunks), then perhaps the "repeat with x = 1 to ..." form would be better. You can still get the CONTENTS when using the 'repeat with x' form: repeat with x = 1 to the number of lines in field "gameList" put the text of line x of field "gameList" into lLineContent ... end repeat > I'm error > checking for the number of items in gameLine and if it isn't equal to > 5, I > want to raise an answer dialog and stop the script, then hilight that > line > in fld "gameList". repeat with x = 1 to the number of lines in field "gameList" put the text of line x of field "gameList" into lGameLine if (the number of items in lGameLine <> 5) then put true into lBadItemNumberFlag put x into lBadLineNumber exit repeat end if ... end repeat if (lBadItemNumberFlag) then answer lMyUserWarning set the hilitedLine of field "gameList" to lBadLineNumber end if > The other problem is that the variable might be 6 with the first 5 > items > isolated and the 6th item examined under different circumstances, ala > checking a lotto game with or without a bonus ball number. > In this case, the check condition inside the repeat loop might look something like: if (the number of items in lGameLine <> 5) and / (the number of item in lGameLine <> 6) ... end if -- so, by the time the execution gets to this line, you know that your line MUST have -- either 5 or 6 items in it. So: if (the number of items in lGameLine = 6) then ... -- do whatever stuff is necessary to process the 6th item end if -- Next, you process the first 5 items, which are common to both the 5 and 6-item lines: ... -- do the common stuff here I hope this helps! There are probably better and more succinct ways to do what you want, but I am a newbie, too, so my suggestion is based on my limited experience as well!!! Kind Regards, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From yoy at comcast.net Sat Aug 2 23:48:01 2003 From: yoy at comcast.net (yoy) Date: Sat Aug 2 23:48:01 2003 Subject: Repeat for each loop assistance, please. Additional URL. Message-ID: <000a01c35979$40302dc0$b2ea5144@fatal7lcf637rj> The current state of my revolution program is available for inspection at http://mywebpages.comcast.net/foxcat/OmniLotto.rev All help is appreciated. Thanks, again! Andy From yoy at comcast.net Sun Aug 3 00:01:01 2003 From: yoy at comcast.net (yoy) Date: Sun Aug 3 00:01:01 2003 Subject: Repeat for each loop assistance, please. References: Message-ID: <001101c3597b$21fdda80$b2ea5144@fatal7lcf637rj> Igor, Thanks for the quick reply! I will add your code and see how it behaves. I'm a little clueless but appreciate your help!!! All the best, Andy ----- Original Message ----- From: "Igor Couto" To: Sent: Sunday, August 03, 2003 12:26 AM Subject: Re: Repeat for each loop assistance, please. > Hi there, Andy! > > On Sunday, August 3, 2003, at 01:56 PM, yoy wrote: > > > I have the following loop statement: > > > > repeat for each line gameLine in fld "gamelist" > > > > I need to obtain the line number for the current iteration. > > If I understand the docs correctly, the 'repeat for each' form of the > repeat structure is best used when you need to use *only* the CONTENTS > of the particular container. If you need to count the loops and refer > to chunks of the container by number (rather than merely use the > chunks), then perhaps the "repeat with x = 1 to ..." form would be > better. > > You can still get the CONTENTS when using the 'repeat with x' form: > > repeat with x = 1 to the number of lines in field "gameList" > put the text of line x of field "gameList" into lLineContent > ... > end repeat > > > > I'm error > > checking for the number of items in gameLine and if it isn't equal to > > 5, I > > want to raise an answer dialog and stop the script, then hilight that > > line > > in fld "gameList". > > repeat with x = 1 to the number of lines in field "gameList" > put the text of line x of field "gameList" into lGameLine > if (the number of items in lGameLine <> 5) then > put true into lBadItemNumberFlag > put x into lBadLineNumber > exit repeat > end if > ... > end repeat > if (lBadItemNumberFlag) then > answer lMyUserWarning > set the hilitedLine of field "gameList" to lBadLineNumber > end if > > > The other problem is that the variable might be 6 with the first 5 > > items > > isolated and the 6th item examined under different circumstances, ala > > checking a lotto game with or without a bonus ball number. > > > > In this case, the check condition inside the repeat loop might look > something like: > > if (the number of items in lGameLine <> 5) and / > (the number of item in lGameLine <> 6) > ... > end if > -- so, by the time the execution gets to this line, you know that your > line MUST have > -- either 5 or 6 items in it. So: > if (the number of items in lGameLine = 6) then > ... -- do whatever stuff is necessary to process the 6th item > end if > -- Next, you process the first 5 items, which are common to both the 5 > and 6-item lines: > ... -- do the common stuff here > > > I hope this helps! There are probably better and more succinct ways to > do what you want, but I am a newbie, too, so my suggestion is based on > my limited experience as well!!! > > Kind Regards, > -- > Igor de Oliveira Couto > ---------------------------------- > igor at pixelmedia.com.au > ---------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Sun Aug 3 00:03:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Aug 3 00:03:01 2003 Subject: Repeat for each loop assistance, please. In-Reply-To: <000b01c35973$43083bb0$b2ea5144@fatal7lcf637rj> Message-ID: Recently, yoy wrote: > repeat for each line gameLine in fld "gamelist" > > I need to obtain the line number for the current iteration. I'm error > checking for the number of items in gameLine and if it isn't equal to 5, I > want to raise an answer dialog and stop the script, then hilight that line > in fld "gameList". > > The other problem is that the variable might be 6 with the first 5 items > isolated and the 6th item examined under different circumstances, ala > checking a lotto game with or without a bonus ball number. > > It has only been two days of my trial. > > What can I query to get the iteration number of this loop? Sounds like you want to use a counter to get the iteration. put 1 into N repeat for each line L in fld "gameList" put number of items of L into T if T <> 5 then answer "Incorrect number of items." titled "Error" set the hilitedLines of fld gameList to N exit to top end if # do other stuff here add 1 to N end repeat Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From jacque at hyperactivesw.com Sun Aug 3 00:15:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Aug 3 00:15:01 2003 Subject: Copying a group Message-ID: <3F2C98A8.2050809@hyperactivesw.com> Before I bugzilla this, I want to know if others think it really is a bug, or if it should be considered normal behavior. I can't decide. I have a group that consists of several fields. The group has backgroundBehavior set to true. Each card has different text in the fields of the group. The current card of the stack is, say, three. In another stack, I issue the command: copy group "myGroup" of stack "Main" to this cd I expect to see the contents of card three when the group is copied. Instead I see the contents of card one. The work-around is to go to the Main stack, copy the group, go back to the second stack, and paste. Then I do get the contents of card three. The results of the copy command kind of make sense, since I didn't specify what card I wanted, and so I got the first card by default. However, the command: copy group "myGroup" of cd 3 of stack "Main" to this cd doesn't work either, I still get the contents of card one. Is it a bug or is it normal? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From yoy at comcast.net Sun Aug 3 00:17:01 2003 From: yoy at comcast.net (yoy) Date: Sun Aug 3 00:17:01 2003 Subject: Repeat for each loop assistance, please. References: Message-ID: <001e01c3597d$40cb1160$b2ea5144@fatal7lcf637rj> Whoa! Scott, here I thought everybody was in bed but me. Many thanks! Andy ----- Original Message ----- From: "Scott Rossi" To: Sent: Sunday, August 03, 2003 12:55 AM Subject: Re: Repeat for each loop assistance, please. > Recently, yoy wrote: > > > repeat for each line gameLine in fld "gamelist" > > > > I need to obtain the line number for the current iteration. I'm error > > checking for the number of items in gameLine and if it isn't equal to 5, I > > want to raise an answer dialog and stop the script, then hilight that line > > in fld "gameList". > > > > The other problem is that the variable might be 6 with the first 5 items > > isolated and the 6th item examined under different circumstances, ala > > checking a lotto game with or without a bonus ball number. > > > > It has only been two days of my trial. > > > > What can I query to get the iteration number of this loop? > > > Sounds like you want to use a counter to get the iteration. > > put 1 into N > repeat for each line L in fld "gameList" > put number of items of L into T > if T <> 5 then > answer "Incorrect number of items." titled "Error" > set the hilitedLines of fld gameList to N > exit to top > end if > # do other stuff here > add 1 to N > end repeat > > > Regards, > > Scott Rossi > Creative Director > > Tactile Media, Multimedia & Design > Email: scott at tactilemedia.com > Web: www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Sun Aug 3 00:19:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Aug 3 00:19:01 2003 Subject: Repeat for each loop assistance, please. Additional URL. In-Reply-To: <000a01c35979$40302dc0$b2ea5144@fatal7lcf637rj> Message-ID: Recently, yoy wrote: > The current state of my revolution program is available for inspection at > http://mywebpages.comcast.net/foxcat/OmniLotto.rev Before anyone starts complaining that they're just seeing the stack code in their Web browser, the stack can be accessed directly via the Rev message box: go stack url "http://mywebpages.comcast.net/foxcat/OmniLotto.rev" That being said, when you run across a Web link somewhere which you want to download instead of opening in the browser, here's a little trick you can use. Open your favorite text editor and type the following, substituting the link's address for the dummy string: link Save this text file as "link.htm" on your desktop and open it in your favorite browser. You should now be able to download the file as needed by control-clicking or option-clicking the link. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From edgore at shinra.com Sun Aug 3 00:56:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Sun Aug 3 00:56:00 2003 Subject: Repeat for each loop assistance, please. References: <001e01c3597d$40cb1160$b2ea5144@fatal7lcf637rj> Message-ID: <002901c35980$b1212050$6701a8c0@ed> Scott's method (adding a counter) is absolutely the right way to go. Others on the list have benchmarked this, and it's MUCH faster than doing the for x = etc. etc. etc. method. ----- Original Message ----- From: "yoy" To: Sent: Saturday, August 02, 2003 11:08 PM Subject: Re: Repeat for each loop assistance, please. > Whoa! > > Scott, here I thought everybody was in bed but me. > > Many thanks! > > Andy > > ----- Original Message ----- > From: "Scott Rossi" > To: > Sent: Sunday, August 03, 2003 12:55 AM > Subject: Re: Repeat for each loop assistance, please. > > > > Recently, yoy wrote: > > > > > repeat for each line gameLine in fld "gamelist" > > > > > > I need to obtain the line number for the current iteration. I'm error > > > checking for the number of items in gameLine and if it isn't equal to 5, > I > > > want to raise an answer dialog and stop the script, then hilight that > line > > > in fld "gameList". > > > > > > The other problem is that the variable might be 6 with the first 5 items > > > isolated and the 6th item examined under different circumstances, ala > > > checking a lotto game with or without a bonus ball number. > > > > > > It has only been two days of my trial. > > > > > > What can I query to get the iteration number of this loop? > > > > > > Sounds like you want to use a counter to get the iteration. > > > > put 1 into N > > repeat for each line L in fld "gameList" > > put number of items of L into T > > if T <> 5 then > > answer "Incorrect number of items." titled "Error" > > set the hilitedLines of fld gameList to N > > exit to top > > end if > > # do other stuff here > > add 1 to N > > end repeat > > > > > > Regards, > > > > Scott Rossi > > Creative Director > > > > Tactile Media, Multimedia & Design > > Email: scott at tactilemedia.com > > Web: www.tactilemedia.com > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Sun Aug 3 00:57:32 2003 From: rcozens at pon.net (Rob Cozens) Date: Sun Aug 3 00:57:32 2003 Subject: Repeat for each loop assistance, please. In-Reply-To: <000b01c35973$43083bb0$b2ea5144@fatal7lcf637rj> References: <000b01c35973$43083bb0$b2ea5144@fatal7lcf637rj> Message-ID: Hi Andy, >What can I query to get the iteration number of this loop? > There is no syntax to retrieve the iteration number in a repeat for each loop; so one must initialize and increment a counter variable: put 0 into lineCount repeat for each line gameLine in fld "gamelist" add 1 to lineCount if errorFound(gameLine) then answer "Error found!" select line lineCount of field "gameList" exit to top end if end repeat >Perhaps I'd be better off using a different repeat construct? If speed is important, you will not obtain anywhere near the performance with repeat with x = 1 to the number of lines of field "gamelist" put line x of field "gamelist" into gameLine if errorFound(gameLine) then answer "Error found!" select line x of field "gameList" exit to top end if end repeat or even get field "gamelist" repeat with x = 1 to the number of lines of it put line x of it into gameLine if errorFound(gameLine) then answer "Error found!" select line x of field "gameList" exit to top end if end repeat Repeat for each can easily be an order of magnitude faster than repeat with...the larger the field, the greater the relative efficiency. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Sun Aug 3 00:58:58 2003 From: rcozens at pon.net (Rob Cozens) Date: Sun Aug 3 00:58:58 2003 Subject: Database newbie questions In-Reply-To: <88A155FB-C4F5-11D7-B286-00039340C4D6@wellminds.org> References: <88A155FB-C4F5-11D7-B286-00039340C4D6@wellminds.org> Message-ID: Hi Dr. Brauer, >a) which database would you suggest (I guess that Oracle, MySQL and >Valentina are my options)? Developer Release 1 of SDB (Serendipity Database--Binary) is currently being tested by the Revolution IPC group . I expect to release DR-2 shortly after the DR-2 version of the group's IPC library is available. It will be released to the Rev community at large if I feel the IPC library is stable enough. > >b) is there an internal way of doing this instead of one of the >above databases? The traditional HyperCard approach would entail creating a card for each record. > >c) will the standalone app then incorporate the database functions, >or will the enduser be required to have the database in question >installed on their computer as well? I'm not sure what you are asking here. The data itself can be in a stack, a text file, or a database file. Unless the data is being provided via a server app, it must reside in some location the enduser has access to. I believe a Valentina db can be accessed directly by the standalone via an external, and that MySQL requires a separate server application running on the enduser's computer or over a LAN. SDB works in either mode with no differences in syntax. SDB is hierarchical and does not support SQL query syntax. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From alrice at ARCplanning.com Sun Aug 3 01:39:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sun Aug 3 01:39:00 2003 Subject: unzip (not gzip/zlib) Message-ID: <4A843C77-C57C-11D7-8A96-000393529642@ARCplanning.com> I need to unzip files in Rev. These are .zip files not .gz files. Is there a Rev external for this? Are there any public domain C libraries for this? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jeanne at runrev.com Sun Aug 3 03:01:02 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Aug 3 03:01:02 2003 Subject: Repeat for each loop assistance, please. In-Reply-To: <002901c35980$b1212050$6701a8c0@ed> References: <001e01c3597d$40cb1160$b2ea5144@fatal7lcf637rj> Message-ID: At 10:32PM -0700 8/2/03, Edwin Gore wrote: >Scott's method (adding a counter) is absolutely the right way to go. Others >on the list have benchmarked this, and it's MUCH faster than doing the for x >= etc. etc. etc. method. Although it should be pointed out that the speed difference is usually insignificant if you are doing few enough iterations through the loop. (For example, if you're processing 100 lines and checking the number of items in each, even "repeat with x =" takes only a couple of milliseconds. On the other hand, if you're doing 10000 lines, the speed difference becomes much more important.) In the case where the speed difference isn't significant, the "repeat with x" form is a bit more readable since it makes it more obvious that you're tracking the line number, and this may be enough reason to use that form. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From yvescoppe at skynet.be Sun Aug 3 03:59:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun Aug 3 03:59:00 2003 Subject: Icons Message-ID: Hi list, I have a main stack "My Main Stack" I have many substacks "A,B,C,D,E,..." One of this substacks contains only imported as control image file prepared for icons for my btns in other stacks So one of this image has ID 1003 I go into stack B, make a btn, in the inspector palette, popUp Icons and border, I type in the ID Field : 1003... And my btn has merely no icon..... If I do the same with one main stack and 2 substacks, it works fine... What happens ??? Can you help me ?? Thanks. Greetings. Yves COPPE yvescoppe at skynet.be From francois.cuneo at cuk.ch Sun Aug 3 05:14:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Sun Aug 3 05:14:00 2003 Subject: How to create a pop-up menu from a list of files in a folder? In-Reply-To: <20030802213704.6607.qmail@web20008.mail.yahoo.com> Message-ID: Hello everybody! Fine today? I want to create a popup menu with all the users of my application. All the settings for this users are in separate files (.edb) (one for each user) in a folder (Users). Where may I find how to do that? Or maybe one of the nice members of our list?:-) Thank you Friendly Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From thierry.arbellot at wanadoo.fr Sun Aug 3 05:41:01 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sun Aug 3 05:41:01 2003 Subject: Icons In-Reply-To: Message-ID: <1A3C2F5C-C59E-11D7-AB3E-000393D64FA0@wanadoo.fr> Hi Yves, Could I suggest something ? Perhaps, you have an image with ID 1003 in another substack. Then, in stack B, the button gets this image as icon, instead of the image you expect. Hope it can help. Regards. Thierry Arbellot. On Sunday, Aug 3, 2003, at 10:52 Europe/Paris, Yves COPPE wrote: > Hi list, > > > > I have a main stack "My Main Stack" > > > I have many substacks "A,B,C,D,E,..." > > One of this substacks contains only imported as control image file > prepared for icons for my btns in other stacks > > So one of this image has ID 1003 > > I go into stack B, make a btn, in the inspector palette, popUp Icons > and border, I type in the ID Field : 1003... > > And my btn has merely no icon..... > > If I do the same with one main stack and 2 substacks, it works fine... > > What happens ??? > > Can you help me ?? > > Thanks. > > Greetings. > Yves COPPE > > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mail at richard-hillen.de Sun Aug 3 06:18:01 2003 From: mail at richard-hillen.de (mail at richard-hillen.de) Date: Sun Aug 3 06:18:01 2003 Subject: Serial Import, no Nulls? Message-ID: <20030803111042.ED4AE8213@voodoo.strato-webmail.de> Hello list, I try to get data from a measurement-device (Windows 98, RunRev 2.0.2.) using the serial port Com1. If I send "S" over the serial port, the device respond sending 20 byte in the Range 0 .. 255. Using Sarahs helpfull example-stack I tried to get them with "read from file com1 for 20". Looking at "it" there were less than 20 chars, the bytes with value 0 were missing. Any Ideas, how to get _all_ 20 bytes? Thanx in advance Richard Hillen. From klaus at major-k.de Sun Aug 3 06:53:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Aug 3 06:53:00 2003 Subject: How to create a pop-up menu from a list of files in a folder? In-Reply-To: Message-ID: <1A8CB813-C5A8-11D7-82AE-000A27B49A96@major-k.de> Bonjour Fran?ois, ca va bien? :-) > Hello everybody! > Fine today? > I want to create a popup menu with all the users of my application. > All the settings for this users are in separate files (.edb) (one for > each > user) in a folder (Users). > Where may I find how to do that? if i understand you correctly you have the names of your users in theat menu a la: (See the P.S. below ;-) John Doe Jane Doe Jim Bo ... And you need a script that will read in the prefs-file for that user? Then try this in the script of that menu-button: on menupick quoi ### "quoi" will now hold the selected name of your user put url("file:Users/" & quoi & ".edb") into my_userprefs ## will put the appropriate file into the var "my_userprefs" ## after creatin gthe string the engine will see somthing like: ## put url"file:Users/John Doe.edb" and will read in the correct file... ## do your prefs-stuff here end menupick Hope that helps... > Or maybe one of the nice members of our list?:-) > Thank you De rien... :-) > Friendly > Fran?ois Regards Klaus Major klaus at major-k.de www.major-k.de P.S. Sorry, its definitively tooooo hot (33 C? here in germany, mon dieu...) I read the subject and i think my hint was not the correct one for your problem... :-( But here is how to do THAT ;-) on xxx ## maybe openstack, opencard or preopen... put the directory into olddir ## always a good idea to store the current folder and ## RE-store it afterwards... ;-) set the directory to "Users" put the files into foo repeat for each line l in foo if char -4 to -1 of foo = ".edb" then ## valid user prefs-files put char 1 to -5 of foo & CR after foo_too end if end repeat ## will create a list of all the "valid" filenames in the folder without ### the suffix .edb delete char -1 of foo_too ## get rid of last CR put foo_too into btn "name of menubutton here" ## now fill the menu-button (its just text ;-) set the directory to olddir ## restore old directoy end xxx NOW you can use my first script :-) Have a lazy sunday and don't move unecessarily ;-) From malte.brill at t-online.de Sun Aug 3 06:54:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Sun Aug 3 06:54:00 2003 Subject: How to create a pop-up menu from a list of files in a folder? In-Reply-To: <200308021601.MAA19415@www.runrev.com> Message-ID: Hello Fran?ois, Assuming your user folder is in the same folder as your main stack you might try this: on opencard --or whereever you like put the directory into restoreDefault get the effective filename of this stack set the itemdel to "/" put "users" into the last item of it set the directory to it put the files into myvar set the text of btn "yourPopUp" to myvar set the directory to restoredefault end opencard Hope this helps, Malte From malte.brill at t-online.de Sun Aug 3 07:06:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Sun Aug 3 07:06:00 2003 Subject: Icons In-Reply-To: <200308021601.MAA19415@www.runrev.com> Message-ID: Hi Yves, what happens if you type set the icon of btn "yourButton" to the ID of img "yourImageName" // of stack "yourStackname" into the messagebox? Does it work? Regards, Malte From francois.cuneo at cuk.ch Sun Aug 3 07:19:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Sun Aug 3 07:19:00 2003 Subject: How to create a pop-up menu from a list of files in a folder? In-Reply-To: Message-ID: Oui ?a va bien! Thank you Klaus and Malte! Amicalement Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From klaus at major-k.de Sun Aug 3 07:33:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Aug 3 07:33:00 2003 Subject: Icons In-Reply-To: Message-ID: Bonjour mes amis, > Hi Yves, > > what happens if you type > > set the icon of btn "yourButton" to the ID of img "yourImageName" // > of stack "yourStackname" i think the "card description" is also necessary: set the icon of btn "yourButton" to the ID of img "yourImageName" \ of cd 1 of stack "yourStackname" (Only one line, of course...) Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From Tom.Cole at asu.edu Sun Aug 3 08:06:00 2003 From: Tom.Cole at asu.edu (Thomas Cole) Date: Sun Aug 3 08:06:00 2003 Subject: Getting Started and Getting Info Message-ID: <3996AE5EBEF964418D80953BDCABFF56A1CE6A@ex1.asurite.ad.asu.edu> I have just bought the studio version and I am amazed that I have a HyperCard Stack about ten years in the making up and running beautifully after three sittings. (It's an educational arcade game with ten miles of scripting.) I'm not done at all yet with the rev conversion, but I can hardly believe that the old problem of cross platform development for HyperCard programmers seems to be solved. Is this thing for real or am I dreaming. Have I died and gone to heaven? I've got fantastic help from the ihug group but I don't ask questions there very often. With Rev, I would like to have the manuals but they seem out of print. There are a lot of little questions I'd like answered, but it's easier for me to just grab a manual and look up my problem rather than flood the group with a lot of basic questions here. Should I just ask and ask here? Can I find a manual on Ebay? Here are a few examples of the kind of questions I have: (I USE THE MAC OSX VERSION) 1. When your script executes "answer" or "ask," the dialog box (or whatever it's called) comes up with a big, honkin' R for Revolution. How do I get rid of it? Actually my game is a fish game and I would really love to assign the fish image instead of the R. How can I do that? 2. The "window" that appears when Rev executes "answer" or "ask" goes clean across the screen. Can I make it more compact in shape and size like in HyperCard? That'd be nice. 3. How do I get Rev to inspect itself completely for incompatible script? I suspect there is some left there because when I try to build a distribution version, it crashes with some dialog box flashing and I have to FORCE revolution to quit. Am I doing something wrong? 4. By the way, the dialog box for creating the distribution file is cut off at the bottom and I can only see the tip top of three buttons to click. Only one is active and I've been clicking the barely visible sliver of that button, but I don't know its name because it's cut off. What gives? Thanks very much, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From heather at runrev.com Sun Aug 3 08:42:01 2003 From: heather at runrev.com (Heather Williams) Date: Sun Aug 3 08:42:01 2003 Subject: Ressource unavailable (CGI capabilities) In-Reply-To: <200308020633.CAA10475@www.runrev.com> Message-ID: > Hi Erik, > > support at runrev.com is there for your general problems, > andmy guess is that one person goes through these > mails as they come in, and forwards them to the > appropriate person. > That is where installer problems and the 10-incidents > package calls go to. > > heather at runrev.com is there when we need to > specifically talk to the listmom, webmistress or > customer-relations-lady. > So if you know you need her for a specific item, mail > Heather directly, otherwise email support. > > At least that's my conclusion ;-) > Thanks Jan! just to add a little to that, I deal with licensing issues also. If your support query is about licensing, it's going to end up in my inbox sooner or later. Other than that, couldn't have said it better myself. Cheers Heather > Jan Schenkel. -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution: Software at the Speed of Thought From drjohn at flash.net Sun Aug 3 08:46:01 2003 From: drjohn at flash.net (John R. Brauer) Date: Sun Aug 3 08:46:01 2003 Subject: database questions Message-ID: Hello all, I am a newbie. I am working on a project which will require that I store data in a database (a separate record for each client, and about six hundred fields per record). Each time it is used, it will need to generate a new record for that client (it is a program that will administer and score an exam of sorts) My questions: a) which database would you suggest (I guess that Oracle, MySQL and Valentina are my options)? b) is there an internal way of doing this instead of one of the above databases? c) will the standalone app then incorporate the database functions, or will the enduser be required to have the database in question installed on their computer as well? Thank you much... Sincerely, John R. Brauer, Psy.D. Clinical Psychologist -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 822 bytes Desc: not available URL: From foxcat at comcast.net Sun Aug 3 08:46:05 2003 From: foxcat at comcast.net (fatal error) Date: Sun Aug 3 08:46:05 2003 Subject: Repeat for each assistance. Message-ID: <000001c3594c$8ad6def0$b2ea5144@fatal7lcf637rj> I have the following loop statement: repeat for each line gameLine in fld "gamelist" I need to obtain the line number for the current iteration. I'm error checking for the number of items in gameLine and if it isn't equal to 5, I want to raise an answer dialog and stop the script, then hilight that line in fld "gameList". It has only been two days of my trial. What can I query to get the iteration number of this loop? Perhaps I'd be better off using a different repeat construct? Thanks, Andy From psahores at easynet.fr Sun Aug 3 09:27:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Aug 3 09:27:00 2003 Subject: database questions In-Reply-To: References: Message-ID: <3F2D1A23.8060801@easynet.fr> John R. Brauer wrote: > Hello all, > > I am a newbie. I am working on a project which will require that I store > data in a database (a separate record for each client, and about six > hundred fields per record). Each time it is used, it will need to > generate a new record for that client (it is a program that will > administer and score an exam of sorts) My questions: > > a) which database would you suggest (I guess that Oracle, MySQL and > Valentina are my options)? > > b) is there an internal way of doing this instead of one of the above > databases? > > c) will the standalone app then incorporate the database functions, or > will the enduser be required to have the database in question installed > on their computer as well? > > Thank you much... > > > Sincerely, > > > John R. Brauer, Psy.D. > Clinical Psychologist Previously answered, if i right remember... IBTW : No any problem about the six hundred fields per record, if you use PostgreSQL. Don't know about the other db. -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From cszasz at newwave.net Sun Aug 3 09:38:00 2003 From: cszasz at newwave.net (Charles Szasz) Date: Sun Aug 3 09:38:00 2003 Subject: Question about Menu Maker Message-ID: <27ADAE68-C5BF-11D7-BE30-000393CCF5D8@newwave.net> I am a new Revolution user. I am a Mac user with OS 10.2.6. Using Revolution 2.02, I have been going through the tutorials. I completed the Hello World tutorial. I added the menus to it following the Menu Builder tutorial. I have a question about the location of the Quit menu. In the tutorial, the Quit menu is located under the file menu. Is this correct for the Mac? When I ran the Hello World project, I could not access the Quit menu under file. I went the Menu Builder tutorial twice but with the same results. Charles From yvescoppe at skynet.be Sun Aug 3 09:40:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun Aug 3 09:40:01 2003 Subject: Icons In-Reply-To: Message-ID: <67BBAC19-C5BF-11D7-9FCC-003065E14B04@skynet.be> Le dimanche, 3 ao? 2003, ? 14:26 Europe/Brussels, Klaus Major a ?crit : > Bonjour mes amis, > >> Hi Yves, >> >> what happens if you type >> >> set the icon of btn "yourButton" to the ID of img "yourImageName" // >> of stack "yourStackname" > > i think the "card description" is also necessary: > > set the icon of btn "yourButton" to the ID of img "yourImageName" \ > of cd 1 of stack "yourStackname" > > (Only one line, of course...) > > > Hope that helps... > > > OK this helps !! thanks to Malte and Klaus... Greetings. Yves COPPE yvescoppe at skynet.be From yvescoppe at skynet.be Sun Aug 3 09:42:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun Aug 3 09:42:01 2003 Subject: Getting Started and Getting Info In-Reply-To: <3996AE5EBEF964418D80953BDCABFF56A1CE6A@ex1.asurite.ad.asu.edu> Message-ID: Le dimanche, 3 ao? 2003, ? 14:59 Europe/Brussels, Thomas Cole a ?crit : > I have just bought the studio version and I am amazed that I have a > HyperCard Stack about ten years in the making up and running > beautifully after three sittings. (It's an educational arcade game > with ten miles of scripting.) I'm not done at all yet with the rev > conversion, but I can hardly believe that the old problem of cross > platform development for HyperCard programmers seems to be solved. Is > this thing for real or am I dreaming. Have I died and gone to heaven? > > I've got fantastic help from the ihug group but I don't ask questions > there very often. With Rev, I would like to have the manuals but they > seem out of print. There are a lot of little questions I'd like > answered, but it's easier for me to just grab a manual and look up my > problem rather than flood the group with a lot of basic questions > here. Should I just ask and ask here? Can I find a manual on Ebay? > Here are a few examples of the kind of questions I have: > > (I USE THE MAC OSX VERSION) > > 1. When your script executes "answer" or "ask," the dialog box (or > whatever it's called)? comes up with a big, honkin' R for Revolution. > How do I get rid of it? Actually my game is a fish game and I would > really love to assign the fish image instead of the R. How can I do > that? > > Hello Thomas, insert in your script : global grevAppIcon put "210004" into grevAppIcon answer "That's all right now" the n# (here 210004) is the ID of an image in your Image Library or the Image Library of "Revolution" Hope this helps. Greetings. Yves COPPE yvescoppe at skynet.be -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1737 bytes Desc: not available URL: From kray at sonsothunder.com Sun Aug 3 10:18:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Aug 3 10:18:00 2003 Subject: Copying a group In-Reply-To: <3F2C98A8.2050809@hyperactivesw.com> Message-ID: <00d201c359d1$58db4d70$6801a8c0@LightningFlash> Well, my feeling is that if doing something manually produces a different result than doing something programmatically, that (IMHO) it's a bug. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > J. Landman Gay > Sent: Sunday, August 03, 2003 12:08 AM > To: Revolution Mailing List > Subject: Copying a group > > > Before I bugzilla this, I want to know if others think it really is a > bug, or if it should be considered normal behavior. I can't decide. > > I have a group that consists of several fields. The group has > backgroundBehavior set to true. Each card has different text in the > fields of the group. The current card of the stack is, say, three. > > In another stack, I issue the command: > > copy group "myGroup" of stack "Main" to this cd > > I expect to see the contents of card three when the group is copied. > Instead I see the contents of card one. The work-around is to > go to the > Main stack, copy the group, go back to the second stack, and > paste. Then > I do get the contents of card three. > > The results of the copy command kind of make sense, since I didn't > specify what card I wanted, and so I got the first card by default. > However, the command: > > copy group "myGroup" of cd 3 of stack "Main" to this cd > > doesn't work either, I still get the contents of card one. > > Is it a bug or is it normal? > > -- > 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 bvg at mac.com Sun Aug 3 10:22:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun Aug 3 10:22:00 2003 Subject: Question about Menu Maker In-Reply-To: <27ADAE68-C5BF-11D7-BE30-000393CCF5D8@newwave.net> Message-ID: <341FC37C-C5C5-11D7-8B0A-003065AD94A4@mac.com> The 'quit' menu for all application under MacOS X is located under the 'application' menu (where the name of the application stands). Thus revolution relocates the 'quit' menu from the 'file' menu to there automatically. On Sonntag, Aug 3, 2003, at 16:31 Europe/Zurich, Charles Szasz wrote: > I am a new Revolution user. I am a Mac user with OS 10.2.6. Using > Revolution 2.02, I have been going through the tutorials. I completed > the Hello World tutorial. I added the menus to it following the Menu > Builder tutorial. I have a question about the location of the Quit > menu. In the tutorial, the Quit menu is located under the file menu. > Is this correct for the Mac? When I ran the Hello World project, I > could not access the Quit menu under file. I went the Menu Builder > tutorial twice but with the same results. > > > Charles > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvg at mac.com Sun Aug 3 10:29:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun Aug 3 10:29:00 2003 Subject: Repeat for each assistance. In-Reply-To: <000001c3594c$8ad6def0$b2ea5144@fatal7lcf637rj> Message-ID: <19C50389-C5C6-11D7-8B0A-003065AD94A4@mac.com> 'repeat for each line...' is faster then 'repeat with x = ...' thus you should best use something like this: repeat for each line gameLine in fld "gamelist" add one to x if x <> 5 then answer (line x) hilite line x of field "gamelist" exit repeat end if end repeat note the recent discussion "Repeat for each loop assistance, please." issued by yoy where the exact same question got answered several times. On Samstag, Aug 2, 2003, at 21:06 Europe/Zurich, fatal error wrote: > I have the following loop statement: > > repeat for each line gameLine in fld "gamelist" > > I need to obtain the line number for the current iteration. I'm error > checking for the number of items in gameLine and if it isn't equal to > 5, I > want to raise an answer dialog and stop the script, then hilight that > line > in fld "gameList". > > It has only been two days of my trial. > > What can I query to get the iteration number of this loop? > > Perhaps I'd be better off using a different repeat construct? > > Thanks, > > Andy > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From steve at messimercomputing.com Sun Aug 3 10:34:00 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Sun Aug 3 10:34:00 2003 Subject: use-revolution digest, Vol 1 #1711 - 14 msgs In-Reply-To: <200308030944.FAA15485@www.runrev.com> Message-ID: Hi Jacqueline, I may be thinking about this a bit too simply but heres my 2 cents. Copying just places the object in the clipboard for future use. I can't really think of an instance where the copy command ever places the copied selection, be it text or object at some other location like say the clone command. If you can figure out a way to do this to a copied object w/o using the paste command I would be very interested in learning how it is done. In an application I am currently developing I use this method extensively to copy groups ( my groups are not backgrounds tho). I am wondering why you would want to copy a group with its backgrondBehavior true more than once in any case. Wouldn't it be easier to have a group with its bgBahv set to true in the destination stack and just copy the text you need instead? Hope this helps. Off to the Apostle Islands for a few days off. :-) Regards, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Coming this Fall! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 On Sunday, August 3, 2003, at 05:44 AM, use-revolution-request at lists.runrev.com wrote: > I have a group that consists of several fields. The group has > backgroundBehavior set to true. Each card has different text in the > fields of the group. The current card of the stack is, say, three. > > In another stack, I issue the command: > > copy group "myGroup" of stack "Main" to this cd > > I expect to see the contents of card three when the group is copied. > Instead I see the contents of card one. The work-around is to go to the > Main stack, copy the group, go back to the second stack, and paste. > Then > I do get the contents of card three. > > The results of the copy command kind of make sense, since I didn't > specify what card I wanted, and so I got the first card by default. > However, the command: > > copy group "myGroup" of cd 3 of stack "Main" to this cd > > doesn't work either, I still get the contents of card one. > > Is it a bug or is it normal? From psahores at easynet.fr Sun Aug 3 10:42:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Aug 3 10:42:00 2003 Subject: Copying a group In-Reply-To: <00d201c359d1$58db4d70$6801a8c0@LightningFlash> References: <00d201c359d1$58db4d70$6801a8c0@LightningFlash> Message-ID: <3F2D2BBD.7060806@easynet.fr> Ken Ray wrote: > Well, my feeling is that if doing something manually produces a > different result than doing something programmatically, that (IMHO) it's > a bug. > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > >>-----Original Message----- >>From: use-revolution-admin at lists.runrev.com >>[mailto:use-revolution-admin at lists.runrev.com] On Behalf Of >>J. Landman Gay >>Sent: Sunday, August 03, 2003 12:08 AM >>To: Revolution Mailing List >>Subject: Copying a group >> >> >>Before I bugzilla this, I want to know if others think it really is a >>bug, or if it should be considered normal behavior. I can't decide. >> >>I have a group that consists of several fields. The group has >>backgroundBehavior set to true. Each card has different text in the >>fields of the group. The current card of the stack is, say, three. >> >>In another stack, I issue the command: >> >> copy group "myGroup" of stack "Main" to this cd >> >>I expect to see the contents of card three when the group is copied. >>Instead I see the contents of card one. The work-around is to >>go to the >>Main stack, copy the group, go back to the second stack, and >>paste. Then >>I do get the contents of card three. >> >>The results of the copy command kind of make sense, since I didn't >>specify what card I wanted, and so I got the first card by default. >>However, the command: >> >> copy group "myGroup" of cd 3 of stack "Main" to this cd >> >>doesn't work either, I still get the contents of card one. >> >>Is it a bug or is it normal? >> >>-- >>Jacqueline Landman Gay | jacque at hyperactivesw.com >>HyperActive Software | http://www.hyperactivesw.com >> >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-> revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi There, It's probably running in this way : The group "mygroup" (set with backgroundbehavior to true, for all over the stack) don't lies on card 3 but on card 1 and is shared with each cards of the stack --> the MC engine find an kind of object pointer, aka an alias, for group "mygroup" of cd 3 and take and copy the original needed object for where it lies in the stack : on card one... If yes, it's not a bug but a feature and the work-around is to copy, in two times, the group object first and, the contents of what appears in this group object on card 3. Hope this help ;-) -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From yoy at comcast.net Sun Aug 3 10:58:00 2003 From: yoy at comcast.net (yoy) Date: Sun Aug 3 10:58:00 2003 Subject: Repeat for each assistance. References: <19C50389-C5C6-11D7-8B0A-003065AD94A4@mac.com> Message-ID: <000a01c359d6$f3eaa360$b2ea5144@fatal7lcf637rj> Bj?rnke, I don't know how I did that duplicate post!? Sorry about that, but also thanks for your help. I did start a counter to track the line number and it is working correctly. Back to work... Andy ----- Original Message ----- From: "Bj?rnke von Gierke" To: Sent: Sunday, August 03, 2003 11:21 AM Subject: Re: Repeat for each assistance. > 'repeat for each line...' is faster then 'repeat with x = ...' thus you > should best use something like this: > > repeat for each line gameLine in fld "gamelist" > add one to x > if x <> 5 then > answer (line x) > hilite line x of field "gamelist" > exit repeat > end if > end repeat > > note the recent discussion "Repeat for each loop assistance, please." > issued by yoy where the exact same question got answered several times. > > On Samstag, Aug 2, 2003, at 21:06 Europe/Zurich, fatal error wrote: > > > I have the following loop statement: > > > > repeat for each line gameLine in fld "gamelist" > > > > I need to obtain the line number for the current iteration. I'm error > > checking for the number of items in gameLine and if it isn't equal to > > 5, I > > want to raise an answer dialog and stop the script, then hilight that > > line > > in fld "gameList". > > > > It has only been two days of my trial. > > > > What can I query to get the iteration number of this loop? > > > > Perhaps I'd be better off using a different repeat construct? > > > > Thanks, > > > > Andy > > > > > > > > _______________________________________________ > > 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 dan at clearvisiontech.com Sun Aug 3 11:22:00 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun Aug 3 11:22:00 2003 Subject: Repeat for each assistance. In-Reply-To: <200308031343.JAA21835@www.runrev.com> Message-ID: Andy, Just insert your own counter: on checkItemCount put 0 into tCounter repeat for each line gameLine in fld "gamelist" add 1 to tCounter if the number of items in gameLine <> 5 then answer (something) set the hilitedLines of field "gameList" to tCounter exit checkItemCount end if end repeat end checkItemCount Hope that helps. > Message: 10 > From: "fatal error" > To: > Subject: Repeat for each assistance. > Date: Sat, 2 Aug 2003 15:06:26 -0400 > Reply-To: use-revolution at lists.runrev.com > > I have the following loop statement: > > repeat for each line gameLine in fld "gamelist" > > I need to obtain the line number for the current iteration. I'm error > checking for the number of items in gameLine and if it isn't equal to 5, I > want to raise an answer dialog and stop the script, then hilight that line > in fld "gameList". > > It has only been two days of my trial. > > What can I query to get the iteration number of this loop? > > Perhaps I'd be better off using a different repeat construct? > > Thanks, > > Andy From jacque at hyperactivesw.com Sun Aug 3 11:47:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Aug 3 11:47:00 2003 Subject: Copying a group In-Reply-To: References: Message-ID: <3F2D3AEC.10003@hyperactivesw.com> On 8/3/03 10:27 AM, Stephen Messimer wrote: > Hi Jacqueline, > > I may be thinking about this a bit too simply but heres my 2 cents. > > Copying just places the object in the clipboard for future use. I can't > really think of an instance where the copy command ever places the > copied selection, be it text or object at some other location like say > the clone command. If you use the copy command to copy a field, its text comes with it. > If you can figure out a way to do this to a copied object w/o using the > paste command I would be very interested in learning how it is done. The only ways I know of are clone and "copy to" -- the last does not interfere with the clipboard's current content. That is, "copy field 1 to card 4" makes a copy of the field (with its text) without putting the object on the clipboard. That's what I want to do. > In an application I am currently developing I use this method > extensively to copy groups ( my groups are not backgrounds tho). I am > wondering why you would want to copy a group with its backgrondBehavior > true more than once in any case. Wouldn't it be easier to have a group > with its bgBahv set to true in the destination stack and just copy the > text you need instead? Usually. But in this case, the destination stack is a printing stack that copies over the fields to print, and then does a printout. The group in the main stack is my PseudoTable, which is a simulated table object that is comprised of many fields. (You can download it at if you are curious). PseudoTable resizes its cells dynamically to accomodate the text in each cell. It is very fast, so it wouldn't be a big deal to bring the text of each cell over from the main stack and then call the handlers that do the resizing before I create a printout. However, if the "copy" command would do what I want it to, I could bring the entire already-resized group over to the printing stack using only one line of script. Then the table in the printing stack would already have the content of the correct card from the main stack, and all the fields would already be sized properly to display their text. So, to answer the question, I need to copy the group more than once because I need a different field layout for each card I want to print. The printing stack deletes its existing group, re-copies the group from another card of the main stack (with its uniquely-sized cells), and then prints it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From threemanifold at yahoo.com Sun Aug 3 11:52:01 2003 From: threemanifold at yahoo.com (Peterson Trethewey) Date: Sun Aug 3 11:52:01 2003 Subject: rtftext and matchChunk Message-ID: <20030803164503.47107.qmail@web80601.mail.yahoo.com> I'm trying to use matchChunk to find instances of a certain word in only part of a field. I created the field's content by setting rtfText. I swear, matchChunk doesn't match any text that the rtf contributes. It matches if I type the word myself, or if I copy the word from one place in the field and paste it in another place. It's as if rtfText is cursed in some way that makes it invisible to the match. Does this sound familiar to anybody? __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From alrice at ARCplanning.com Sun Aug 3 12:20:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sun Aug 3 12:20:00 2003 Subject: Getting Started and Getting Info In-Reply-To: <3996AE5EBEF964418D80953BDCABFF56A1CE6A@ex1.asurite.ad.asu.edu> Message-ID: On Sunday, August 3, 2003, at 06:59 AM, Thomas Cole wrote: > Is this thing for real or am I dreaming. Have I died and gone to > heaven? Welcome. You are not dreaming :-) > it's easier for me to just grab a manual and look up my problem rather > than flood the group with a lot of basic questions here. Should I just > ask and ask here? Can I find a manual on Ebay? Here are a few examples > of the kind of questions I have: There are some utilities floating around for converting the built-in docs to html or rtf formats. I've found the built-in docs to be really good. You just have to dig because there is no single table of contents. Particularly see the Plugin "Search Revolution Documentation" See also http://www.google.com/advanced_search?q=site:lists.runrev.com http://lists.runrev.com/pipermail/use-revolution/ http://www.revjournal.com/ There is an online book in development http://www.revjournal.com/index.php?id=C0_14_1 > (I USE THE MAC OSX VERSION) > > 1. When your script executes "answer" or "ask," the dialog box (or > whatever it's called)? comes up with a big, honkin' R for Revolution. > How do I get rid of it? Actually my game is a fish game and I would > really love to assign the fish image instead of the R. How can I do > that? I think the grevAppIcon only shows up on Mac OS X dialogs. You would have to create your own answer/ask stacks otherwise. > 2. The "window" that appears when Rev executes "answer" or "ask" goes > clean across the screen. Can I make it more compact in shape and size > like in HyperCard? That'd be nice. In the View menu check "Revolution UI Elements in Lists". See if you can find the ask and answer stacks and resize and save them. Just a guess. > 3. How do I get Rev to inspect itself completely for incompatible > script? I suspect there is some left there because when I try to build > a distribution version, it crashes with some dialog box flashing and I > have to FORCE revolution to quit. Am I doing something wrong? Without seeing the dialog box's contents it's impossible to say. Maybe it will work after you can see the buttons in the distribution builder. If not, I would open, edit and save every script in the stack. That will force each one to get compiled one at a time and hopefully show you the error including the line number. > 4. By the way, the dialog box for creating the distribution file is > cut off at the bottom and I can only see the tip top of three buttons > to click. Only one is active and I've been clicking the barely visible > sliver of that button, but I don't know its name because it's cut off. > What gives? > It's a bug in 2.0.2. There is an update area for hotfixes like this: -- From: Heather Williams Date: Wed Jul 30, 2003 10:26:48 AM America/Denver To: Subject: Update available for license.rev Reply-To: use-revolution at lists.runrev.com Dear good folks, We have posted an update to the license stack for Revolution, since a few people are having trouble with the new codes. If you are having problems registering 2.0.2, go to the updates directory http://www.runrev.com/revolution/downloads/distributions/2.0/updates/ and download the appropriate license.rev file. Unzip it, rename it, and replace your existing license.rev file with it, to be found in the Revolution folder, on the top level directory. We have also updated the distribution builder fix, to account for a small remaining problem on the Windows platform. If you are still affected by a size issue on Windows you may want to go and download this latest fix, My warm regards to you all, Heather -- Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From wmb at internettrainer.com Sun Aug 3 12:22:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 3 12:22:01 2003 Subject: Copying a group In-Reply-To: <3F2C98A8.2050809@hyperactivesw.com> Message-ID: On Sonntag, Aug 3, 2003, at 07:07 Europe/Vienna, J. Landman Gay wrote: > The results of the copy command kind of make sense, since I didn't > specify what card I wanted, and so I got the first card by default. > However, the command: > > copy group "myGroup" of cd 3 of stack "Main" to this cd > > doesn't work either, I still get the contents of card one. > > Is it a bug or is it normal? I had the also problems (yesterday) copy and paste backgrounds-groups. I did it by the clipboard not by command line. After pasting it to another stack all the btns in the group are placed over each other instead in the same order they have bean when selceted. Or nothing have been pasted. > doesn't work either, I still get the contents of card one. We "old" rev user (those from 1.0) are still trained on that old fashioned (copy/paste) kind of feature that we dont realize that its a bug..;)) I had this with rev 2.0.1 a few times yesterday... But, honestly I have given up to report that kind of bugs... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From threemanifold at yahoo.com Sun Aug 3 12:28:00 2003 From: threemanifold at yahoo.com (Peterson Trethewey) Date: Sun Aug 3 12:28:00 2003 Subject: rtftext and matchChunk In-Reply-To: <20030803164503.47107.qmail@web80601.mail.yahoo.com> Message-ID: <20030803172123.53781.qmail@web80605.mail.yahoo.com> Looks like the regular expression "\s" doesn't match whitespace that comes from rtf text. Okay, that problem is specific enough that I can work around it. --- Peterson Trethewey wrote: > I'm trying to use matchChunk to find instances of a > certain word in only part of a field. I created the > field's content by setting rtfText. I swear, > matchChunk doesn't match any text that the rtf > contributes. It matches if I type the word myself, > or > if I copy the word from one place in the field and > paste it in another place. It's as if rtfText is > cursed in some way that makes it invisible to the > match. Does this sound familiar to anybody? > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From jtenny at willamette.edu Sun Aug 3 12:36:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Sun Aug 3 12:36:00 2003 Subject: Renaming - not & FatOS engine In-Reply-To: <200308030335.XAA01792@www.runrev.com> Message-ID: >> So I should rename the files I was specifically talking about in my >> question, distribution builder and revlibrary. Hm, what shall I name >> them? >> >> I did figure out that I wasn't supposed to rename ANYTHING and was in >> fact >> supposed to put them in different Rev application folders. >> > > My educated guess would be that if you are supposed to be replacing a > file, than the replacement should have the same name (and be in the > same location) as the file it is replacing... ----- Found that you can't rename the program and have the distribution builder work. I had "Revolution" named "Revolution 2.0.2" and no go. Question: is the engine FatOS the same engine as needed for distributing for X? John From dan at shafermedia.com Sun Aug 3 12:47:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sun Aug 3 12:47:00 2003 Subject: Oops. Corrections About Tutorial Message-ID: <9E5F0ED8-C5D9-11D7-859C-0030656FB5D4@shafermedia.com> Yesterday I waxed eloquent here (OK, I posted a message) about the Independent Study Tutorial and suggested that it be made a more clearly visible part of the Rev learning experience because the script comments are like a mini-course. Somehow I'd been given the idea that the stack had been developed by Geoff Canyon. Actually, I *know* how I got that impression but I should have double-checked my memory. Anyway, turns out the stack was authored by Richard Gaskin. Comments were added or souped-up by Jeanne A. E. DeVoto. My apologies to Richard and Jeanne, but this gave me another chance to tout how really, really, REALLY useful studying this stack would be to anyone who's just past the beginning stage of scripting and wants to see how to put together an actual application from a scripting perspective. Very good stuff. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" From dan at shafermedia.com Sun Aug 3 12:53:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sun Aug 3 12:53:00 2003 Subject: Getting Started and Getting Info In-Reply-To: <200308031343.JAA21835@www.runrev.com> Message-ID: <777DEA96-C5DA-11D7-859C-0030656FB5D4@shafermedia.com> On Sunday, August 3, 2003, at 06:43 AM, Tom Cole wrote: > Is this thing for real or am I > dreaming. Have I died and gone to heaven? > You have died and gone to Heaven. Welcome aboard. There are a lot of us old HyperCard heads (well, perhaps not so many quite as old as me) hanging about here and helping start the Revolution. > I've got fantastic help from the ihug group but I don't ask questions > there > very often. With Rev, I would like to have the manuals but they seem > out of > print. New manuals are, I think,forthcoming. A new release has just been issued of the product and the docs online are about up to date, I suspect, but it's a massive production job (1200 pages). Also, my original HyperTalk book forms the basis for a new three-volume set of eBooks and perhaps printed books that I'm planning to release withiin a very short time now. (Volume 1 is almost ready for production.) > There are a lot of little questions I'd like answered, but it's > easier for me to just grab a manual and look up my problem rather than > flood > the group with a lot of basic questions here. Should I just ask and ask > here? You should definitely ask here. > 4. By the way, the dialog box for creating the distribution file is > cut off > at the bottom and I can only see the tip top of three buttons to > click. Only > one is active and I've been clicking the barely visible sliver of that > button, but I don't know its name because it's cut off. What gives? > I *believe* this is fixed in the 2.1 beta. If you search the list archive you'll find a way to fix this manually. It's trivial; I just don't have it at hand. Welcome to the Revolution! > Thanks very much, > Tom From wmb at internettrainer.com Sun Aug 3 13:07:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 3 13:07:00 2003 Subject: [OT] UML Tools for developing Revolution projects In-Reply-To: <114163FC-C554-11D7-B6CD-000393AD9396@pixelmedia.com.au> Message-ID: On Sonntag, Aug 3, 2003, at 03:44 Europe/Vienna, Igor Couto wrote: >> I've just downloaded the Demo version of Inspiration, and will give >> it a try! >> > > After playing with Inspiration for an hour or so, it seems to me that: > > 1) Connection lines can have only 1 label right but you can o a lot with textsymbols. You can fix the linking-point (magnets) and use textsymbols to connect (go in) on one side and go out in front of go in point. So you can do better Line description than with the line description boxes > 2) You cannot specify more than 1 text box per symbol right. This kind of note box. But you can do here also do a lot with textsymbols to an object with showing and hiding them > Is that correct? yes and no... Imho OmniGraffle overall is much powerfull than Inspiration but Inspiration does a few things better. One of that is fast linking. But if you like you can send me an image of some of your bigger structures you usually build thst I can better understand how it should look like. And I check that if this is possible with Inspiration and how complicated it is to rearrange the tree-structure ore update many symbol connection... Maybe its also worth to have a look at ConceptDraw... http://www.cs-odessa.com.ua regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From jhurley at infostations.com Sun Aug 3 13:13:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sun Aug 3 13:13:00 2003 Subject: Repeat for each assistance. In-Reply-To: <200308031601.MAA26487@www.runrev.com> References: <200308031601.MAA26487@www.runrev.com> Message-ID: put 0 into i repeat for each time this question is answered add 1 to i end repeat Jim From mwieder at ahsoftware.net Sun Aug 3 13:37:00 2003 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun Aug 3 13:37:00 2003 Subject: database questions In-Reply-To: References: Message-ID: <602376787.20030803113018@ahsoftware.net> John- I would suggest, though, that you rethink your database design so as not to have 600 fields per record. On a guess, not knowing your particular needs, I'd say that you might be better served with at least a couple of tables, one with the client information, and one with one record per exam question and uniquely identified by the combination of clientID and questionID. And *do* look into SDB for a native transcript DB implementation... -Mark Wieder Friday, August 1, 2003, 9:17:29 AM, you wrote: JRB> I am a newbie. I am working on a project which will require that I JRB> store data in a database (a separate record for each client, and about JRB> six hundred fields per record). Each time it is used, it will need to JRB> generate a new record for that client (it is a program that will JRB> administer and score an exam of sorts) My questions: From mwieder at ahsoftware.net Sun Aug 3 13:42:00 2003 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun Aug 3 13:42:00 2003 Subject: database questions In-Reply-To: References: Message-ID: <1832670429.20030803113512@ahsoftware.net> John- What I meant, of course, was *three* tables: a client table, a question table, and a table that contains the answers for each unique combination of client and question. client question answer ------ -------- ------ clientID questionID clientID more info more info questionID response -Mark Wieder From dan at shafermedia.com Sun Aug 3 13:49:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sun Aug 3 13:49:01 2003 Subject: Getting Started and Getting Info In-Reply-To: <200308031343.JAA21835@www.runrev.com> Message-ID: <32397211-C5E2-11D7-859C-0030656FB5D4@shafermedia.com> On Sunday, August 3, 2003, at 06:43 AM, Tom Cole wrote: > 2. The "window" that appears when Rev executes "answer" or "ask" goes > clean > across the screen. Can I make it more compact in shape and size like in > HyperCard? That'd be nice. > My poor-man's solution has been to break the text message placed in the dialog into pieces, glued together with returns: answer "This otherwise too-long message" & return & "becomes more managable" & return & "when broken up by returns." Kind of a kludge. I do wish Rev had a way of setting the size of the dialog box, but it doesn't. Another approach, of course, is to avoid the use of built-in ask/answer dialogs and create separate modal and modeless windows where you can completely control all the appearance stuff. I'm leaning more in that direction for my own designs. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" From alrice at ARCplanning.com Sun Aug 3 15:05:03 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sun Aug 3 15:05:03 2003 Subject: Renaming - not & FatOS engine In-Reply-To: Message-ID: On Sunday, August 3, 2003, at 11:24 AM, John Tenny wrote: > Question: is the engine FatOS the same engine as needed for > distributing for X? I don't think so- the OS X engine is Mach-O, not FAT. I looked in my Revolution folder and have no idea where the OS X engine is though... Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Sun Aug 3 15:08:03 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 3 15:08:03 2003 Subject: rtftext and matchChunk In-Reply-To: <20030803172123.53781.qmail@web80605.mail.yahoo.com> Message-ID: <4B4E98DE-C5ED-11D7-9325-000A9567A3E6@swcp.com> On Sunday, August 3, 2003, at 11:21 AM, Peterson Trethewey wrote: > Looks like the regular expression "\s" doesn't match > whitespace that comes from rtf text. Okay, that > problem is specific enough that I can work around it. Very strange. (And not just your matching a word with white-space in it. ;-) From presumed applicable regex doc: http://www.pcre.org/pcre.txt is this: The \s characters are HT (9), LF (10), FF (12), CR (13), and space (32). Could rtf be creating any character outside that? Are you using any interesting encoding? I know you have a workaround in the works, but this is, uh, intriguing. Are your examples that you type in and work all on one line? Dar Scott From graham.samuel at wanadoo.fr Sun Aug 3 15:24:01 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Sun Aug 3 15:24:01 2003 Subject: Question on .rev file format Message-ID: <5.2.1.1.0.20030803152458.00c49790@pop.wanadoo.fr> On Sat, 02 Aug 2003 15:04:16 -0700, Steve Gehlbach wrote: >I am not sure about XML, some reports on the net indicate is has bloat >tendencies, but I have no personal experience. It it already done, so >that is a plus. > >The comments on version control were over my head, but as I continue to >learn RR maybe the fog will clear. As another list member who has found both the version control and XML discussions to be way over my head, I'm glad there's at least one person who's not that far above my own level of knowledge. Like Steve, I intend to hang on in there and get my education. I've already benefited greatly from Igor de Oliveira Couto's UML tutorial, though I'm curious as to how far you can stretch UML (from say an old-fashioned batch accounting system on the one hand to say shoot-em-up interactive game on the other), but this is all wildly OT, I do realise. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From yoy at comcast.net Sun Aug 3 15:53:00 2003 From: yoy at comcast.net (yoy) Date: Sun Aug 3 15:53:00 2003 Subject: modal dialog/handler placement? Message-ID: <000b01c35a00$0b38fd90$b2ea5144@fatal7lcf637rj> Day 3. My lotto program has a main stack with buttons on it for mouse clicking lotto numbers instead of typing them into the gamelist field. I have a sub-stack "Prefs" which is modal. This stack is where you set up the lotto rules: maxLottoNumbers, maxBonusNumbers, etc. I have a handler "resetboards" which shows or hides buttons on the main stack according to those sub-stack field values. They are declared as global. I can run it successfully from the message board. I'd like to have resetboards run after the "Preferences" sub-stack is closed so upon return to the main stack, the buttons are reconfigured in advance. Where should I call resetboards from??? Thanks for your help. Andy From klaus at major-k.de Sun Aug 3 16:00:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Aug 3 16:00:00 2003 Subject: modal dialog/handler placement? In-Reply-To: <000b01c35a00$0b38fd90$b2ea5144@fatal7lcf637rj> Message-ID: <936EDCA3-C5F4-11D7-82AE-000A27B49A96@major-k.de> Hi Andy, > Day 3. > > My lotto program has a main stack with buttons on it for mouse clicking > lotto numbers instead of typing them into the gamelist field. > > I have a sub-stack "Prefs" which is modal. This stack is where you set > up > the lotto rules: maxLottoNumbers, maxBonusNumbers, etc. > > I have a handler "resetboards" which shows or hides buttons on the main > stack according to those sub-stack field values. They are declared as > global. I can run it successfully from the message board. I'd like to > have > resetboards run > !!! after the "Preferences" sub-stack is closed !!! looks like you gave the answer to yourself ;-) > so upon return to the main stack, the buttons are reconfigured in > advance. > Where should I call resetboards from??? Stack "Prefs": on closestack ... resetboards ## or: send "resetboard" to xxx ## in case the handler does not reside in that stack... end closestack > Thanks for your help. Yo :-) > Andy Regards Klaus Major klaus at major-k.de www.major-k.de From miscdas at boxfrog.com Sun Aug 3 16:15:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sun Aug 3 16:15:01 2003 Subject: Copying a group Message-ID: <20030803175530.20846.qmail@www.boxfrog.com> Jacqueline Landman Gay wrote: >Before I bugzilla this, I want to know if others think it really is a >bug, or if it should be considered normal behavior. I can't decide. >I have a group that consists of several fields. The group has >backgroundBehavior set to true. Each card has different text in the >fields of the group. The current card of the stack is, say, three. >In another stack, I issue the command: > > copy group "myGroup" of stack "Main" to this cd > >I expect to see the contents of card three when the group is copied. >Instead I see the contents of card one. The work-around is to go to the >Main stack, copy the group, go back to the second stack, and paste. Then >I do get the contents of card three. >The results of the copy command kind of make sense, since I didn't >specify what card I wanted, and so I got the first card by default. >However, the command: > copy group "myGroup" of cd 3 of stack "Main" to this cd >doesn't work either, I still get the contents of card one. >Is it a bug or is it normal? >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com ================== By the way, you will also get only the first card copied when you set the group backgroundBehavior to false. Also, you get the same result if you try this from card 3 of stack "myMain" copy group "myGroup" to card 1 of stack "myStack2" and also copy group "myGroup" of card 3 to card 1 of stack "myStack2" And a really fun rsult comes from: first find the ID of the group on card 3 of stack "myMain" (in my example the group ID is 1022) Then try this from stack "myStack2" copy group ID 1022 of stack "myMain" to this card On Win XP Pro, rev2.0.1, I indeed got group "myGroup" copied to the card (at least according to its name), BUT ALL OF THE FIELDS ARE E-M-P-T-Y! So, you can't even do a work-around by using the group ID. I suspect that when trying to refer to a group by name that is on many cards, either the lowest ID of the group or the ID of the first instance of the group is retrieved. So it appears that using copy-and-paste via the clipboard invokes a different routine. miscdas From alrice at ARCplanning.com Sun Aug 3 16:29:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sun Aug 3 16:29:00 2003 Subject: rtftext and matchChunk In-Reply-To: <20030803172123.53781.qmail@web80605.mail.yahoo.com> Message-ID: <8AC4F40F-C5F8-11D7-ACE4-000393529642@ARCplanning.com> On Sunday, August 3, 2003, at 11:21 AM, Peterson Trethewey wrote: > Looks like the regular expression "\s" doesn't match > whitespace that comes from rtf text. Okay, that > problem is specific enough that I can work around it. Looks like matchText does work OK for spaces in the rtftext, but newlines are encoded as a new paragraph and a tab is encoded as the escape sequence "\'09". I am guessing the regex engine has no concept of RTF so you would have to replaceText those things first. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From yoy at comcast.net Sun Aug 3 16:32:01 2003 From: yoy at comcast.net (yoy) Date: Sun Aug 3 16:32:01 2003 Subject: Peer review repository? Message-ID: <000501c35a05$7264f0a0$b2ea5144@fatal7lcf637rj> Day 3. I am working on a program "OmniLotto" using Revolution 2.0.2. The result of my work is always freeware. Is there a url to submit my .rev project for peer review for feedback about bumming code, gui comments, OS porting remarks and so on and so forth. Please advise. Thanks, Andy http://mywebpages.comcast.net/foxcat From yoy at comcast.net Sun Aug 3 16:48:01 2003 From: yoy at comcast.net (yoy) Date: Sun Aug 3 16:48:01 2003 Subject: modal dialog/handler placement? References: <936EDCA3-C5F4-11D7-82AE-000A27B49A96@major-k.de> Message-ID: <000e01c35a07$b9abf0b0$b2ea5144@fatal7lcf637rj> Klaus, WHOA!!! Moved the handler to the "Prefs" sub-stack scriptspace and used "send resetboards to stack "OmniLotto" and it works just like it's supposed to!!! Many thanks! Andy ----- Original Message ----- From: "Klaus Major" To: Sent: Sunday, August 03, 2003 4:53 PM Subject: Re: modal dialog/handler placement? > Hi Andy, > > > Day 3. > > > > My lotto program has a main stack with buttons on it for mouse clicking > > lotto numbers instead of typing them into the gamelist field. > > > > I have a sub-stack "Prefs" which is modal. This stack is where you set > > up > > the lotto rules: maxLottoNumbers, maxBonusNumbers, etc. > > > > I have a handler "resetboards" which shows or hides buttons on the main > > stack according to those sub-stack field values. They are declared as > > global. I can run it successfully from the message board. I'd like to > > have > > resetboards run > > > !!! after the "Preferences" sub-stack is closed !!! > > looks like you gave the answer to yourself ;-) > > > so upon return to the main stack, the buttons are reconfigured in > > advance. > > Where should I call resetboards from??? > > Stack "Prefs": > > on closestack > ... > resetboards > ## or: send "resetboard" to xxx > ## in case the handler does not reside in that stack... > end closestack > > > Thanks for your help. > > Yo :-) > > > Andy > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alrice at ARCplanning.com Sun Aug 3 17:06:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sun Aug 3 17:06:00 2003 Subject: database questions In-Reply-To: Message-ID: On Friday, August 1, 2003, at 10:17 AM, John R. Brauer wrote: > b) is there an internal way of doing this instead of one of the above > databases? John, your requirements sound very similar to my current Rev project. It's a Facility Calculator for the National Park Service. It is a lengthy survey about facility usage and planning. There are several facility types, and each type has it's own substack with dozens of cards. So each "record", we call record a "project title", literally does have several hundred fields. There is no apparent way to break it up into some kind of normalized SQL table structure that would seem more organized. The requirements were that no networked database server was available, so mysql and postgresql were not options (otherwise I would recommend postgresql because it has foreign keys, triggers, and transactions). For a project like this, and maybe yours, a SQL database just doesn't make much sense. The fields in the survey change a *lot* as the app is developed. There are many, many fields for each record. We are developing and updating the app while users continue to use old data from previous projects they have entered. So it has to degrade gracefully as fields are added and removed, whole cards changed, etc. The solution I am using, thanks to this list, is to use Rev custom properties in a "data stack". Custom properties can be attached to a stack or any other Rev object. I create a file called UserData.rev and save it into the user's Application Data folder. The custom properties are accessed as an array using a key/value relationship. Custom Property SETS are used to separate the data of the various facility types I mentioned. Here are a couple of accessors for getting and setting data into the data stack: -- -- dataField(key) -- accessor for the value of the slot in the current session -- function dataField pKey put the customProperties of stack kDataStack into tData put sessionID() , pKey , "value" into tFilter return tData[tFilter]; end dataField -- -- setDataField key, value -- accessor for setting data -- on setDataField pKey, pValue put the customProperties of stack kDataStack into tData put sessionID() , pKey , "value" into tFilter put pValue into tData[tFilter] set the customProperties of stack kDataStack to tData end setDataField I have also written some handlers to automatically load and save UserData.rev to and from fields and buttons as the user navigates through the cards. I used custom properties to do that as well: The routines scan all fields and buttons on the card picking out ones that have the custom property "ud" (stands for user data), which is the "key" in the above handlers. In this method the number of custom property array elements is = (facilities) * (projects) * (answers) -- in other words (sets) * (sessions) * (data keys). At the sets level they are completely separate arrays (custom property sets). But at the sessions * data keys level, it's just a single array. It's extremely fast until you get up into many thousands of array keys. However I haven't needed to do much optimization yet though. I suspect that dataField(key) function above could be written better. So using a "data stack" is fast, portable and doesn't require any additional software. It's much easier programming than say, a delimited text database, and it's not as difficult as a SQL implementation. I also recommend looking at Serendipity DB. I don't think it uses the approach I described above, but it is a native Rev implementation also and would have similar benefits. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From yoy at comcast.net Sun Aug 3 17:17:00 2003 From: yoy at comcast.net (yoy) Date: Sun Aug 3 17:17:00 2003 Subject: Peer review repository? References: <000501c35a05$7264f0a0$b2ea5144@fatal7lcf637rj> Message-ID: <000801c35a0b$c6771960$b2ea5144@fatal7lcf637rj> Here is where the current version of OmniLotto resides... http://mywebpages.comcast.net/foxcat/OmniLotto.rev Lots of work left. Menu handlers, complete error checking, etc. Enjoy! Andy ----- Original Message ----- From: "yoy" To: Sent: Sunday, August 03, 2003 5:22 PM Subject: Peer review repository? > Day 3. > > I am working on a program "OmniLotto" using Revolution 2.0.2. The result of > my work is always freeware. > > Is there a url to submit my .rev project for peer review for feedback about > bumming code, gui comments, OS porting remarks and so on and so forth. > > Please advise. > > Thanks, > > Andy > http://mywebpages.comcast.net/foxcat > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From tkuypers at pandora.be Sun Aug 3 17:26:00 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Sun Aug 3 17:26:00 2003 Subject: Reading MP3 tags Message-ID: Is there anyone who done something to read MP3 tags in RR? I want to create a little application to keep track of my music CD?s and MP3 files, but (lazy as I am) I don?t want to enter all info of these files & CD?s. The MP3 specs seem very straight-foreward, though to much to ?just do it?, so if anyone wants me to give a quick look and receive oooohhhh and aaahhhhhh on the application he/she created... ;-) Regards, Ton Kuypers -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.Cole at asu.edu Sun Aug 3 17:52:01 2003 From: Tom.Cole at asu.edu (Thomas Cole) Date: Sun Aug 3 17:52:01 2003 Subject: Stacks Don't Launch, Hover/Option/Command doesn't work Message-ID: <3996AE5EBEF964418D80953BDCABFF56A1CE6B@ex1.asurite.ad.asu.edu> Thanks for the help. I'm progressing. OSX 1. If I double click on my stack, it comes up as five zillion pages of text. I can only open it from WITHIN Rev. Then it runs fine. It has a darker icon than the stacks I made that still launch properly. 2. Rev needs a forced quit each time I try to make a distribution. It flashes. I mentioned this before but I forgot to mention that finally it says it CAN'T FIND THE STACK. Then I must force quit. I made the tutorial distribution fine. 3. Hovering the arrow over a button and pressing OPTION COMMAND gives no script. (I have to doubleclick the object and then get to the script that way. Big hassle.) OPTION COMMAND C doesn't give card script either; nothing happens. The other stacks I have made which launch correctly and which have a lighter-looking icon don't have this problem. If I can beat some of these first obstacles, I think I will be off and running and productive. Mil gracias, Tom Cole -------------- next part -------------- An HTML attachment was scrubbed... URL: From ambassador at fourthworld.com Sun Aug 3 18:35:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 3 18:35:01 2003 Subject: Reading MP3 tags In-Reply-To: Message-ID: tkuypers at pandora.be wrote: > Is there anyone who done something to read MP3 tags in RR? > I want to create a little application to keep track of my music CD?s and MP3 > files, but (lazy as I am) I don?t want to enter all info of these files & > CD?s. > The MP3 specs seem very straight-foreward, though to much to ?just do it?, so > if anyone wants me to give a quick look and receive oooohhhh and aaahhhhhh on > the application he/she created... ;-) Fortunately the spec makes it pretty easy. I got annoyed with iTunes once too many times the other day so I wrote a replacement for it in a few hours that does just what I need. To build the Library listing I walk through a list of folders and get the size and file names from "the detailed files" -- I pass both to this function to get the MP3 TAG info, which is stored in the last 128 bytes of the file: function MP3Info pFile, pSize open file pFile for read Err the result read from file pFile at (pSize - 127) for 128 put it into tInfo close file pFile if char 1 to 3 of tInfo = "TAG" then put char 4 to 33 of tInfo into tTitle put char 34 to 63 of tInfo into tArtist put char 64 to 93 of tInfo into tAlbum put tTitle &tab& tArtist &tab& tAlbum into tInfo return tInfo else return tab&tab end MP3Info Note that my function only returns the track title, artist, and album -- there's more info as defined at , so you could make it more complete as you need. If you find a way to get the playing duration I would be very grateful. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sun Aug 3 19:21:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 3 19:21:00 2003 Subject: Scripts in Independent Study Tutorial - A Mini-Course In-Reply-To: <986FB5B9-C52B-11D7-A1F1-0030656FB5D4@shafermedia.com> Message-ID: Dan Shafer wrote: > My apologies to Richard and Jeanne, but this gave me another chance to > tout how really, really, REALLY useful studying this stack would be to > anyone who's just past the beginning stage of scripting and wants to > see how to put together an actual application from a scripting > perspective. Very good stuff. Thank you for the kind words, Dan. I'm a big fan of "learning through dissection", having learned most of what I know from code examples of others. So after the main tutorials were out of the way I proposed the Independent Study as a way of showing how all the parts fit together. Jeanne's examples throughout the Transcript Dictionary provide a very valuable context, but seeing how such things come together in a functional application provide a whole different level of context and introduces structure, something that focusing on the language alone can't provide. Thus far I believe you're the first person to have commented on the Independent Study tutorial -- thanks for posting that. > ...in his comments on these scripts, a very good mini-tutorial in > how application-level stuff works and ought to be put together in > Revolution. The comments are extensive, lucid, and really helpful. More extensive than I deliver for most clients, but as with any comments you gotta keep the audience in mind. :) For the most part I followed Steve McConnel's approach of writing my comments first to tell the story of the program flow, then went back to write the code to make it happen. > Somehow, they need to be more "in your face" for new developers. > Perhaps publishing the scripts and comments as a separate piece of > documentation to be read? I don't know. But I'll tell you they were > really, really valuable. I keep thinking there's got to be a way to do that without losing the in-program context which provides additional learning value. In my imagination there's a tool called Scalpel which aids in learning by dissection, but I haven't yet figured out how to design it. Any suggestions? One thing that might be useful is an article on best practices for object structure as a compliment to the Scripting Style Guide at . Having already made many mistakes over the years*, I could hopefully jot down what I've found works well so others could avoid wasting time making the same mistakes I've made. * MetaCard guru Phil Davis once told me: "Good judgement comes from experience. Experience comes from bad judgement." ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From monte at sweattechnologies.com Sun Aug 3 20:14:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Aug 3 20:14:01 2003 Subject: Scripts in Independent Study Tutorial - A Mini-Course In-Reply-To: Message-ID: > > One thing that might be useful is an article on best practices for object > structure as a compliment to the Scripting Style Guide at > . Having > already made many mistakes over the years*, I could hopefully jot > down what > I've found works well so others could avoid wasting time making the same > mistakes I've made. Hi Richard I think that would be a fantastic contribution and I imagine a very interesting read particularly if it's as good as the scripting style guide. Cheers Monte From jacque at hyperactivesw.com Sun Aug 3 22:02:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Aug 3 22:02:01 2003 Subject: Stacks Don't Launch, Hover/Option/Command doesn't work In-Reply-To: <3996AE5EBEF964418D80953BDCABFF56A1CE6B@ex1.asurite.ad.asu.edu> References: <3996AE5EBEF964418D80953BDCABFF56A1CE6B@ex1.asurite.ad.asu.edu> Message-ID: <3F2DCAFC.8050007@hyperactivesw.com> On 8/3/03 5:44 PM, Thomas Cole wrote: > Thanks for the help. I'm progressing. > > OSX > 1. If I double click on my stack, it comes up as five zillion pages of text. > I can only open it from WITHIN Rev. Then it runs fine. It has a darker icon > than the stacks I made that still launch properly. It sounds like the Finder doesn't know what app to open the stack with, and so is trying to open it as text. Control-click on the stack in the Finder to get the contextual menu, and after it is displayed, hold down the Option key to see the "Always open with..." menu item. Choose that, then choose Revolution as the app. From now on, the Finder will know to open that stack with Revolution. (If Revolution isn't in the list of choices, use the "Other" option at the bottom of the menu to choose Rev.) > 2. Rev needs a forced quit each time I try to make a distribution. It > flashes. I mentioned this before but I forgot to mention that finally it > says it CAN'T FIND THE STACK. Then I must force quit. I made the tutorial > distribution fine. Well, you shouldn't have to force-quit and that part sounds like a bug. But the reason it can't find the stack also sounds like it is related to the above problem: the stack doesn't have the right creator and type codes assigned, so Rev doesn't "see" it on disk. If the above doesn't fix it, there are utilities available that will assign those codes. > 3. Hovering the arrow over a button and pressing OPTION COMMAND gives no > script. (I have to doubleclick the object and then get to the script that > way. Big hassle.) A sporadic but known bug. Sometimes just wiggling the cursor around a little bit while holding Cmd-Opt will trigger the script to open. You can get to the script other ways though. Click the object with the arrow tool and then click the Script icon in the toolbar, for example. > OPTION COMMAND C doesn't give card script either; nothing > happens. It's Shift, not option. Shift-Command-C to get to the card script; shift-command-s to get the stack script. This is a struggle for me too, because I've been using Command-Option-C/S for almost 18 years with both HyperCard and MetaCard, and my muscle memory is very hard-wired by now. I wish Rev hadn't changed it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eijkhout at cs.utk.edu Sun Aug 3 22:13:00 2003 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Sun Aug 3 22:13:00 2003 Subject: RR & binary formats (Re: Reading MP3 tags In-Reply-To: References: Message-ID: >Fortunately the spec makes it pretty easy. Mp3 is a binary format. Is that header you are reading 7-bit ascii? Would RR be able to handle 8-bit data? I was wondering the other day if I could use revolution to write an sf2 (soundfont) editor. Just splitting up and combining existing soundfonts. Naively I thought that RR wouldn't be able to handle binary data. Maybe it could. Anyone any thoughts? -- Victor Eijkhout , 329 Claxton, Comp Sci, UT, Knoxville TN 37996. tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ From igor at pixelmedia.com.au Sun Aug 3 22:16:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sun Aug 3 22:16:01 2003 Subject: "Launch Editor" bug - any workarounds? Message-ID: Hi all, I reported a bug I'm having with launching the designated "editor" application from the Inspector (Bug # 70 in RunRev's Bugzilla database), but have not received a reply yet - the RunRev team are really, really busy with higher priority bugs I know! I'm not complaining, I swear! :-) I was just wondering whether anyone else has experienced the same bug, and whether there is a known workaround that we, silly newbies, just fail to see... Many thanks for any suggestions! I'm trying to convert an old Hypercard stack that has *LOTS* of pictures in it, and manually having to copy-paste them into Photoshop is wearing me down... A copy of the bug report follows: "In the 'General Preferences' of Revolution I have Adobe Photoshop 7.0 selected as my 'Image Editor' app. I'm using MacOS X (10.2). In any stack, when I click on a picture (one created with the Revolution painting tools), and click on the 'edit' button in the Inspector (to launch Photoshop and edit the picture), I get the following warning: "You haven't selectec an external image editor application, or I couldn't find the editor selected. Would you like to select one? (Nothe the editor you select must be able to handle PNG format images.)" I have the option of cancelling, or 'selecting now'. I click on "Select Now". A system-standard navigation dialogue box opens, and allows me to select Photoshop 7 once again. In the navigation dialogue box, I click 'Open'. A warning message comes up. It says: "There was a problem launching the editor. no such program" The only button available is 'Cancel'. Damn, that's frustrating!" Regards, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From sarahr at genesearch.com.au Sun Aug 3 22:30:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 3 22:30:00 2003 Subject: Fix to distribution builder available In-Reply-To: <154CA903-C37C-11D7-BFA8-003065430226@internettrainer.com> Message-ID: Hi Wolfgang, I just built a test app for OS X with sub-stacks saved separately and here is what I got: Standalone_MacOSX_Test (a folder) Test (my app - worked perfectly) data (empty folder) I right-clicked (control-clicked) on the Test app and selected "Show Package Contents" Here is what I found (the contents of each folder is shown indented): Contents Info.plist (open this in a text editor to check the settings) MacOS data One.rev_components (My main stack was called One) Two (my sub-stack) Revolution pbdevelopment.plist PkgInfo Resources Revolution.icns Revolution.rsrc RevolutionDoc.icns So Rev is putting the sub-stacks where they need to be, and it knows where they are when the app runs. The only error as far as I can see is creating an unnecessary data folder in the application's main folder. If you don't mind that Get info doesn't give the data you entered in the Dist Builder, then just delete the empty data folder and your app is ready to go. If you want to change icons or fix up any of the copyright or version info, then you will have to use the Finder to get to the info.plist and perhaps the Resources folder. You don;t ned to use any Unix commands and the app will work straight after being built. I hope this helps. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On Friday, August 1, 2003, at 04:55 am, Wolfgang M. Bereuter wrote: > > On Donnerstag, Jul 31, 2003, at 17:50 Europe/Vienna, Alex Rice wrote: > >> Well do you want to get the job done, or nurse old wounds? ;-) It >> requires no Unix expertise. This really falls into the packaging and >> distribution realm, which you are responsible for anyways. >> >> But re: your screenshot above, maybe I don't understand what the >> problem is and you should file a bugzilla report. If that's the case >> then I apologize for jumping to conclusions. >> >> However, I still think that everyone distributing software for OS X >> needs to learn about application bundles on OS X. > > I think thats a missunderstandig now... > rev did the build correct the standalone(engine) and the others stacks > in the data folder: > * correct in OS9 > * correct in WIN > * correct in Linux > * wrong in OSX > (I thin Linux is not so far way from bsd Unix, but its more far away > from OS 9 or WIN and both are build correct; please correct me if I m > wrong...) > > and rev 2.0 did this build correct in OSX too... > that is what you can see on the other screenshot... > > So this has imho nothing to do with packaging and distribution process > in OSX, which will start after that. > Its a bug in the new (updated) distribution builder. An all the other > features of the distribution builder like icons did work in older > releases. Why does all that no work in the "fixed distribution > builder"? From sarahr at genesearch.com.au Sun Aug 3 22:41:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 3 22:41:01 2003 Subject: Serial Import, no Nulls? In-Reply-To: <20030803111042.ED4AE8213@voodoo.strato-webmail.de> Message-ID: <963AECA2-C62C-11D7-B2FE-0003937A97B8@genesearch.com.au> Hi Richard, If you look at the script in the "Open Serial Port" button in my stack, you will see the following line: open file thePort for text update Try changing this to: open file thePort for binary update I haven't tried reading any data with nulls but this would be my best guess on how to fix the problem. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On Sunday, August 3, 2003, at 09:14 pm, mail at richard-hillen.de wrote: > Hello list, > > I try to get data from a measurement-device (Windows 98, RunRev 2.0.2.) > using the serial port Com1. > > If I send "S" over the serial port, the device respond sending 20 byte > in > the Range 0 .. 255. > > Using Sarahs helpfull example-stack I tried to get them with "read from > file com1 for 20". > Looking at "it" there were less than 20 chars, the bytes with value 0 > were > missing. > > Any Ideas, how to get _all_ 20 bytes? > > Thanx in advance > > Richard Hillen. From sarahr at genesearch.com.au Sun Aug 3 22:55:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 3 22:55:01 2003 Subject: 'Spreadsheet' Woes... In-Reply-To: <000201c3577e$f7400690$f500000a@qedscompaq> Message-ID: <795EB508-C62E-11D7-B2FE-0003937A97B8@genesearch.com.au> Gary, I think you will have to trap keys and call your various cell handlers yourself. If you store the last known cell coordinates and then check them after each rawKeyDown, you can then perform actions if they change. This may not be exactly what you want but hopefully there is enough of an idea to get you going. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On Friday, August 1, 2003, at 02:19 am, Gary Rathbone wrote: > I've got my field looking (well nearly) pretty much how I want. > It's a field/table with Cell Formatting and Cell Editing. Looks like a > spreadsheet... > > I'm looking for commands such as > On EnterCell, On CloseCell, On ExitCell to initiate calculations on > other cells > And specific cell commands... > Eg Assign a script to field "tdata" > > On CloseCell tcol,trow > --the cell has been changed > if tcol=7 then > --calculate the sales tax > put trow*0.175 into Cell(7,trow) > end if > end Close Cell > > Also I'd like to format column 7 to rightalign... > > Eg Set the ColumnAlign of Column 7 of fld "tdata" to right > > Am I expecting too much of this new feature? If so how do I trap > changes > in 'Cells' so I can write these procedures myself. > > Any pointers would be gratefully appreciated. > > Regards > > Gary Rathbone From sarahr at genesearch.com.au Sun Aug 3 23:04:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 3 23:04:01 2003 Subject: Proposal - the use-revolution list In-Reply-To: <200307311418.h6VEIah93999@mmm1505.boca15-verio.com> Message-ID: <19B6356C-C62F-11D7-B2FE-0003937A97B8@genesearch.com.au> > It's not strange at all. A mailing list comes to you and demands your > attention. A message board sits there lurking 24/7, but unless you > bother to check it, it generally won't remind you. > This is my problem with a forum/message board/newsgroup. The list comes directly to my inbox and I can easily scan through the new items, discarding the threads that don't interest me and reading those that do. Most of the emails come during the Australian night, so I don't even have to wait for them to download :-) If I had to log in to a web site and click my way painfully through a series of links, I wouldn't read most of them and therefore would be in no position to respond. So please, whatever else is set up in parallel, don't drop the list! Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From sarahr at genesearch.com.au Sun Aug 3 23:10:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 3 23:10:01 2003 Subject: [ANN] New MySQL tests stack In-Reply-To: Message-ID: <86BC972D-C630-11D7-B2FE-0003937A97B8@genesearch.com.au> >> I have fixed my MySQL test stack so that it can correctly handle Rev >> 2.0.2 and it's little database problem. The text of my web page has >> not >> yet changed to reflect the new version, but the download link will get >> you the new one. If you have been using my stack and have got Rev >> 2.0.2, download the new version. It allows you to list cursors with >> more than 22 records. > > Sort of. > > I tried it, it only connects to database "test" and will not connect to > other databases. That's interesting - it works for me with multiple databases. Do you get any useful error message? Are you set up to connect from whatever IP address you are using? Have you upgraded to the new revLibrary.rev? Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From dsc at swcp.com Sun Aug 3 23:12:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 3 23:12:01 2003 Subject: rtftext and matchChunk In-Reply-To: <8AC4F40F-C5F8-11D7-ACE4-000393529642@ARCplanning.com> Message-ID: On Sunday, August 3, 2003, at 03:22 PM, Alex Rice wrote: >> Looks like the regular expression "\s" doesn't match >> whitespace that comes from rtf text. Okay, that >> problem is specific enough that I can work around it. > > Looks like matchText does work OK for spaces in the rtftext, but > newlines are encoded as a new paragraph and a tab is encoded as the > escape sequence "\'09". I am guessing the regex engine has no concept > of RTF so you would have to replaceText those things first. Hmmm. I may be confused on the problem. I thought the rtf of a field was set but the matchChunk had trouble with the resulting text. Dar Scott From dsc at swcp.com Sun Aug 3 23:22:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 3 23:22:01 2003 Subject: RR & binary formats (Re: Reading MP3 tags In-Reply-To: Message-ID: <50220E4A-C632-11D7-AD6F-000A9567A3E6@swcp.com> On Sunday, August 3, 2003, at 09:05 PM, Victor Eijkhout wrote: >> Fortunately the spec makes it pretty easy. > > Mp3 is a binary format. Is that header you are reading 7-bit ascii? > Would RR be able to handle 8-bit data? > > I was wondering the other day if I could use revolution to write an > sf2 (soundfont) editor. Just splitting up and combining existing > soundfonts. Naively I thought that RR wouldn't be able to handle > binary data. Maybe it could. > > Anyone any thoughts? Yes. Revolution can be used to process any arbitrary binary file. (Of course, it is faster at some things than others.) A binary file can be considered a sequence of bytes. Each byte corresponds to a character in Revolution. Use charToNum() to get the numerical value. Use numToChar to go the other way. These are basic and reliable. That is all that is really needed, but Revolution provides more: binaryDecode, binaryEncode, baseConvert, bitAnd, bitOr, bitXor, bitNot. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From pixelbird at interisland.net Sun Aug 3 23:32:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Aug 3 23:32:01 2003 Subject: Icons In-Reply-To: <200308031343.JAA21816@www.runrev.com> Message-ID: on 8/3/03 9:43 AM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Date: Sun, 03 Aug 2003 13:59:42 +0200 > Subject: Icons > From: malte.brill at t-online.de (Malte Brill) > > Hi Yves, > > what happens if you type > > set the icon of btn "yourButton" to the ID of img "yourImageName" ---------- Check the ICON property in the dictionary. The image must be available in the stack, IOW, you must have imported it. You can place it offscreen or hide it, in which case the above will work. But if you take a look you'll see that it doesn't need both descriptors. You could say: set the icon of btn "yourButton" to img "yourImageName" ...or: set the icon of btn "yourButton" to 1015 ...and that's all. If the image has been imported, you don't need to spec the stack. I tried this in button in a substack with no additional params and it worked. ...or did I miss something? Are you trying to use an image from another stack? Another main stack, or a substack? Or, are you wanting to use an external image (New Referenced Control) in a folder somewhere? Ken N. From dsc at swcp.com Mon Aug 4 00:06:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 4 00:06:00 2003 Subject: Serial Import, no Nulls? In-Reply-To: <963AECA2-C62C-11D7-B2FE-0003937A97B8@genesearch.com.au> Message-ID: <7C06FFB4-C638-11D7-AD6F-000A9567A3E6@swcp.com> On Sunday, August 3, 2003, at 09:34 PM, Sarah wrote: > Try changing this to: > open file thePort for binary update > > I haven't tried reading any data with nulls but this would be my best > guess on how to fix the problem. Richard, if you still have trouble after trying Sarah's idea, please mention it. This could affect several of us. Dar Scott From pixelbird at interisland.net Mon Aug 4 00:39:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Aug 4 00:39:01 2003 Subject: Icons In-Reply-To: <200308030943.FAA15401@www.runrev.com> Message-ID: Hi Yves, > Date: Sun, 3 Aug 2003 10:52:31 +0200 > Subject: Icons > From: Yves COPPE > One of this substacks contains only imported as control image file > prepared for icons for my btns in other stacks ---------- Do you mean it has an image which is composed of other smaller icon images? ---------- > So one of this image has ID 1003 ---------- And this particular image is an imported control? Which substack is it in? ---------- > I go into stack B, make a btn, in the inspector palette, popUp Icons > and border, I type in the ID Field : 1003... ---------- If the image isn't imported to substack B, I don't think it will show, because it's not there. Try it from the message box. If you get a "No such object" you'll know. ---------- > And my btn has merely no icon..... > > If I do the same with one main stack and 2 substacks, it works fine... ---------- Do you mean you have imported an image to each of these? ---------- > What happens ??? ---------- I think I'm unclear what you're trying to do. Have you tried using a referenced control from a file? Ken N. From chipp at chipp.com Mon Aug 4 00:42:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Mon Aug 4 00:42:01 2003 Subject: Amazing Splash Screen Effect... Message-ID: For those of you who want to see a cool splash screen (and source code) effect, you can download it at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm (the very bottom of the page) The effect is an irregular *anti-aliased* splash screen window with transparencies and a soft shadow, which dissolves onto the desktop. All done within RR with no DLL's or XCMD's. Only a few lines of source code in the stack script. Hope you enjoy it and use it! The executable .zip file only works on windows...but there's also a .rev file which *should* work on the Mac (though I haven't tested it). -Chipp From alrice at ARCplanning.com Mon Aug 4 01:20:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 4 01:20:00 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: On Sunday, August 3, 2003, at 11:35 PM, Chipp Walters wrote: > http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm > (the very bottom of the page) > > The effect is an irregular *anti-aliased* splash screen window with > transparencies and a soft shadow, which dissolves onto the desktop. > All done > within RR with no DLL's or XCMD's. Only a few lines of source code in > the > stack script. Hope you enjoy it and use it! Nice work! What do you mean anti-aliased? Does Quicktime do some blending with it's dissolve effect? Without Quicktime installed, on Windows 2000, it looks very granular when dissolving in. Also I opening the stack on Mac OS X, and of it does the dissolve with quicktime which looks nicer. Unfortunately MacOS X puts a drop shadow around the rect of the Splash stack. Looks kind of funny. Could probably be remedied using a custom windowshape icon. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From igor at pixelmedia.com.au Mon Aug 4 01:48:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Mon Aug 4 01:48:01 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: On Monday, August 4, 2003, at 04:13 PM, Alex Rice wrote: > Also I opening the stack on Mac OS X, and of it does the dissolve with > quicktime which looks nicer. Unfortunately MacOS X puts a drop shadow > around the rect of the Splash stack. Looks kind of funny. Could > probably be remedied using a custom windowshape icon. > Perhaps, removing the drop shadow from the window altogether would also improve it - this is possible with Rev 2.1b2! Regards, -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From malte.brill at t-online.de Mon Aug 4 05:28:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Mon Aug 4 05:28:01 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: <200308030947.FAA15545@www.runrev.com> Message-ID: Hi list, I am experimenting with revVideograbber. When I build the Standalone there is an .app bundle outside of the "real" application. If I move the videograbber bundle inside the "real" app. bundle it wont work. (same for revspeech) How do I get the bundle inside of the app Bundle of my App? Thanks, Malte From Steve_Anderson at paradise.net.nz Mon Aug 4 06:06:01 2003 From: Steve_Anderson at paradise.net.nz (Steve Anderson) Date: Mon Aug 4 06:06:01 2003 Subject: Parsing XML Message-ID: Hi there In my first go with Revolution I created a card with a button that when pushed would attempt to parse a simple XML file, unfortunately I encountered the following problems. 1. Using the function revCreateXMLTreeFromFile, Revolution was unable to successfully parse my simple file, though it seemed to parse the XML tags fine when I used revCreateXMLTree instead. 2. The handlers I included in the card's script for revStartXMLTree, revStartXMLNode, revStartXMLData, revEndXMLNode and revEndXMLTree messages were never fired, though the handlers for xmlStartDocument and xmlEndDocument messages were. Surprisingly, I can't even find any info about xmlStartDocument and xmlEndDocument in the help. Where am I going wrong?! Any advice would be much appreciated. Regards Steve Mac OS X... http://www.apple.com/switch -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 865 bytes Desc: not available URL: From heather at runrev.com Mon Aug 4 06:06:10 2003 From: heather at runrev.com (Heather Williams) Date: Mon Aug 4 06:06:10 2003 Subject: Proposal - the use-revolution list In-Reply-To: <200308040440.AAA14459@www.runrev.com> Message-ID: > Message: 8 > Date: Mon, 04 Aug 2003 13:52:42 +1000 > From: Sarah > Subject: Re: Proposal - the use-revolution list > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > >> It's not strange at all. A mailing list comes to you and demands your >> attention. A message board sits there lurking 24/7, but unless you >> bother to check it, it generally won't remind you. >> > This is my problem with a forum/message board/newsgroup. The list comes > directly to my inbox and I can easily scan through the new items, > discarding the threads that don't interest me and reading those that > do. Most of the emails come during the Australian night, so I don't > even have to wait for them to download :-) If I had to log in to a web > site and click my way painfully through a series of links, I wouldn't > read most of them and therefore would be in no position to respond. > > So please, whatever else is set up in parallel, don't drop the list! Just a note to say that we have no intention of dropping the list. This model works well for a large number of people. What, if anything, we set up in parallel, is open to debate. It's certainly possible that at some time in the future we will add a web forum. Regards, Heather > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution: Software at the Speed of Thought From thierry.arbellot at wanadoo.fr Mon Aug 4 06:07:01 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Mon Aug 4 06:07:01 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: Message-ID: Hi Malte, Have you try to copy the videograbber bundle at the same level of folder as the app bundle, inside the Standalone_MacOSX_... folder? Hope it can help. Regards Thierry Arbellot. On Monday, Aug 4, 2003, at 12:21 Europe/Paris, Malte Brill wrote: > Hi list, > > I am experimenting with revVideograbber. When I build the Standalone > there > is an .app bundle outside of the "real" application. If I move the > videograbber bundle inside the "real" app. bundle it wont work. > (same for revspeech) > > How do I get the bundle inside of the app Bundle of my App? > > Thanks, > > Malte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From francois.cuneo at cuk.ch Mon Aug 4 06:25:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Mon Aug 4 06:25:01 2003 Subject: Tabbed Buttons: how are they working??? In-Reply-To: <20030418182340.15900.qmail@web11903.mail.yahoo.com> Message-ID: Hello! I have a basic question (it's usual for me:-)) I don't understand the philosophy of a tabbed button. How to put objects in tab? And one more time, this list is the only one solution for me. I'm unable to find how work the tabbed button on the documentation. So thank you! Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From janschenkel at yahoo.com Mon Aug 4 06:44:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 4 06:44:00 2003 Subject: Parsing XML In-Reply-To: Message-ID: <20030804113701.84129.qmail@web11904.mail.yahoo.com> --- Steve Anderson wrote: > Hi there > > In my first go with Revolution I created a card with > a button that when > pushed would attempt to parse a simple XML file, > unfortunately I > encountered the following problems. > > 1. Using the function revCreateXMLTreeFromFile, > Revolution was unable > to successfully parse my simple file, though it > seemed to parse the XML > tags fine when I used revCreateXMLTree instead. > > 2. The handlers I included in the card's script for > revStartXMLTree, > revStartXMLNode, revStartXMLData, revEndXMLNode and > revEndXMLTree > messages were never fired, though the handlers for > xmlStartDocument and > xmlEndDocument messages were. Surprisingly, I can't > even find any info > about xmlStartDocument and xmlEndDocument in the > help. > > Where am I going wrong?! Any advice would be much > appreciated. > > Regards > Steve > Hi Steve, Welcome to the Revolution :-) Question 1. revCreateXMLTreeFromFile Appearently that function requires platform-specific paths (see bugzilla #188); Tuviah from RunRev indicated we should use revCreateXMLTree for now. Question 2. callback messages Sorry, I haven't used those yet. Maybe someone else? Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From janschenkel at yahoo.com Mon Aug 4 06:49:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 4 06:49:01 2003 Subject: Tabbed Buttons: how are they working??? In-Reply-To: Message-ID: <20030804114226.88880.qmail@web11907.mail.yahoo.com> --- Fran?ois Cuneo wrote: > Hello! > I have a basic question (it's usual for me:-)) > I don't understand the philosophy of a tabbed > button. > How to put objects in tab? > And one more time, this list is the only one > solution for me. I'm unable to > find how work the tabbed button on the > documentation. > So thank you! > Fran?ois > Bonjour Fran?ois, Basically, tabbed buttons are like menus : when you chose a different tab, the button gets a 'menuPick' message ; you can then react to the change by hiding and showing certain controls (groups come in very handy at such times), or going to a certain card (place the tabbed button in a background group and off you go) You should definitely have a look at the example stacks by Shao Sean in the User Contributions Library (near the bottom of the page): http://www.runrev.com/Revolution1/developercentral/usercontributions.html Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From francois.cuneo at cuk.ch Mon Aug 4 07:22:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Mon Aug 4 07:22:00 2003 Subject: Tabbed Buttons: how are they working??? In-Reply-To: <20030804114226.88880.qmail@web11907.mail.yahoo.com> Message-ID: > --- Fran?ois Cuneo wrote: >> Hello! >> I have a basic question (it's usual for me:-)) >> I don't understand the philosophy of a tabbed >> button. >> How to put objects in tab? >> And one more time, this list is the only one >> solution for me. I'm unable to >> find how work the tabbed button on the >> documentation. >> So thank you! >> Fran?ois >> > > Bonjour Fran?ois, > > Basically, tabbed buttons are like menus : when you > chose a different tab, the button gets a 'menuPick' > message ; you can then react to the change by hiding > and showing certain controls (groups come in very > handy at such times), or going to a certain card > (place the tabbed button in a background group and off > you go) > > You should definitely have a look at the example > stacks by Shao Sean in the User Contributions Library > (near the bottom of the page): > http://www.runrev.com/Revolution1/developercentral/usercontributions.html > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thank you! Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From ambassador at fourthworld.com Mon Aug 4 07:49:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 4 07:49:01 2003 Subject: RR & binary formats (Re: Reading MP3 tags In-Reply-To: Message-ID: Victor Eijkhout wrote: >> Fortunately the spec makes it pretty easy. > > Mp3 is a binary format. Is that header you are reading 7-bit ascii? > Would RR be able to handle 8-bit data? There may be exceptions, and to be honest I merely took the experimental route: I opened some MP3s in a binary editor and the TAG info displayed fine so I just went for it. Seems to work well enough. > I was wondering the other day if I could use revolution to write an > sf2 (soundfont) editor. Just splitting up and combining existing > soundfonts. Naively I thought that RR wouldn't be able to handle > binary data. Maybe it could. Indeed it can. There are many functions in the language specifically for working with binary. Fortunately ASCII text embedded in binaries like MP3 TAG info is even easier. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From malte.brill at t-online.de Mon Aug 4 07:51:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Mon Aug 4 07:51:01 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: <200308032322.TAA06351@www.runrev.com> Message-ID: Recently Thierry wrote: >Have you try to copy the videograbber bundle at the same level of >folder as the app bundle, inside the Standalone_MacOSX_... folder? Hi Thierry, that works, but it looks a bit untidy. :-( What I would like is to place the library inside of the app package, so the User doesn?t see it (and can?t break anything when moving the app.) It seems like that isn?t possible. I just googled the archives (well, I?d better done that earlier... :-) Silly me.) and found someone was suggesting creating an alias to the app. Maybe I?ll try that. Regards, Malte From francois.cuneo at cuk.ch Mon Aug 4 07:53:02 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Mon Aug 4 07:53:02 2003 Subject: Tabbed Buttons: how to change the name of the tabs by programmation? In-Reply-To: <20030804114226.88880.qmail@web11907.mail.yahoo.com> Message-ID: > --- Fran?ois Cuneo wrote: >> Hello! >> I have a basic question (it's usual for me:-)) >> I don't understand the philosophy of a tabbed >> button. >> How to put objects in tab? >> And one more time, this list is the only one >> solution for me. I'm unable to >> find how work the tabbed button on the >> documentation. >> So thank you! >> Fran?ois >> > > Bonjour Fran?ois, > > Basically, tabbed buttons are like menus : when you > chose a different tab, the button gets a 'menuPick' > message ; you can then react to the change by hiding > and showing certain controls (groups come in very > handy at such times), or going to a certain card > (place the tabbed button in a background group and off > you go) > > You should definitely have a look at the example > stacks by Shao Sean in the User Contributions Library > (near the bottom of the page): > http://www.runrev.com/Revolution1/developercentral/usercontributions.html > > Hope this helped, > > Jan Schenkel. > How! I'm completly unable to open the file on MacOSX with Revolution 2.1! Anyway I think I have understood how are working the tabbed button but... How may I change the name of the tabs by programmation? Is it a Tabbed property? Thank you -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From janschenkel at yahoo.com Mon Aug 4 08:17:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 4 08:17:01 2003 Subject: Tabbed Buttons: how to change the name of the tabs by programmation? In-Reply-To: Message-ID: <20030804131048.35225.qmail@web11905.mail.yahoo.com> --- Fran?ois Cuneo wrote: > [snip] > > How! I'm completly unable to open the file on MacOSX > with Revolution 2.1! > Anyway I think I have understood how are working the > tabbed button but... > How may I change the name of the tabs by > programmation? Is it a Tabbed > property? > Thank you > > -------------- > Fran?ois Cuneo > Bonjour Fran?ois, As tabbed buttons are basically menus, you have to set the 'text' property of the button either via script or via the Inspector palette. Tab 1 Tab 2 Tab 3 Tab 4 Suppose you want to disable the third item ; you can either use the command disable menuitem 3 of btn "Foobar" or you can change the text property to Tab 1 Tab 2 (Tab 3 Tab 4 Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From tuviah at runrev.com Mon Aug 4 08:59:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Mon Aug 4 08:59:00 2003 Subject: use-revolution digest, Vol 1 #1717 - 16 msgs References: <200308041218.IAA24973@www.runrev.com> Message-ID: <001f01c35a8f$b56898e0$0100a8c0@user> > 2. The handlers I included in the card's script for revStartXMLTree, > revStartXMLNode, revStartXMLData, revEndXMLNode and revEndXMLTree > messages were never fired, though the handlers for xmlStartDocument > and xmlEndDocument messages were. Surprisingly, I can't even find any > info about xmlStartDocument and xmlEndDocument in the help. Right this callback machanism, based on the standard SAX api is designed to be used in cases where you are parsing a lot of XML (over 4 MB) and don't want to build a tree in memory. For example let's say your reading a huge book as XML, and only want to output the summary to a field. To recieve messages, specify true for the sendmessages parameter in the revCreateXMLTree function. Would also like to take this time to thank Tereza Snyder, no relation, for designing and working with me on the XML library. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From carstenlist at itinfo.dk Mon Aug 4 09:11:01 2003 From: carstenlist at itinfo.dk (Carsten) Date: Mon Aug 4 09:11:01 2003 Subject: FileFormat 1.1.1 - 2.0.2 - 2.1 In-Reply-To: <200308041220.IAA25038@www.runrev.com> Message-ID: <6411486F-C684-11D7-8F3E-0003939122FA@itinfo.dk> Hi, Will the file format of Revolution 2.1 be the same as the file format of 1.1.1 and 2.0.0, 2.0.1 and 2.0.2? And will we still be able to go back to 1.1.1 if a project has ben opened in 2.1 ... as it is with 2.0.2? Best regards Carsten Levin From bill at igame3d.com Mon Aug 4 09:22:00 2003 From: bill at igame3d.com (WIlliam Griffin) Date: Mon Aug 4 09:22:00 2003 Subject: Make games with Revolution? Message-ID: <5D93094E-C687-11D7-8847-0030657D0A8E@igame3d.com> Hey everyone, The uDevGame 2003 contest has begun. http://www.idevgames.com/content/contest.php?id=10 Revolutuion and Metacard are valid tools for game that can be entered. Wasn't sure if you folks were away of it. Can you put together a game in 3 months. Tobi and I are contemplating using igame3d (www.igame3d.com) our Revolution/OpenGL cross breed application. But a totally revolution based project may also intrigue us, maybe grow some skills we need for a better interface. I would love to see some games out of Rev. The contest requires you allow access to the .rev file or source code should you code an external from scratch for the game. Would be valuable to for future how to material I'm sure. I'd be happy just figuring out how to make some clones in Rev, just for nostalgia and the learning experience. Anyone Game? Please discuss off list in email or over at idevgames.com forums. Insert Quarter, Bill Griffin bill at igame3d.com From jacque at hyperactivesw.com Mon Aug 4 10:23:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 4 10:23:01 2003 Subject: Make games with Revolution? In-Reply-To: <5D93094E-C687-11D7-8847-0030657D0A8E@igame3d.com> References: <5D93094E-C687-11D7-8847-0030657D0A8E@igame3d.com> Message-ID: <3F2E78E3.30209@hyperactivesw.com> On 8/4/03 9:24 AM, WIlliam Griffin wrote: > I would love to see some games out of Rev. I've got: Blocks Klondike Casey's Solitaire available for download, as well as a version of Boggle that I haven't released. Klondike would have won the MacTech contest I entered it in, if it hadn't been for the fact that they took off points because I didn't use RealBasic (that month's contest was supposed to be for RealBasic entries only. I cheated.) Casey's Solitaire is available as a download at my web site. Blocks and Klondike are available via RevNet. All free. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Mon Aug 4 10:33:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Aug 4 10:33:00 2003 Subject: Tabbed Buttons: how to change the name of the tabs by programmation? In-Reply-To: <20030804131048.35225.qmail@web11905.mail.yahoo.com> Message-ID: Hi Fran?ois, >> How! I'm completly unable to open the file on MacOSX >> with Revolution 2.1! Sounds like you are using a mac and looks like you need my famous "Open sesame..." Plug-In, TADA... ;-) Go to: www.major-k.de/revstart.html and scroll a little down the page... Its free and works (will let you open ANY valid file of RR or MetaCard Windows, *nix etc... >> Anyway I think I have understood how are working the >> tabbed button but... >> How may I change the name of the tabs by >> programmation? Is it a Tabbed property? >> Thank you >> >> -------------- >> Fran?ois Cuneo >> > > Bonjour Fran?ois, > > As tabbed buttons are basically menus, you have to set > the 'text' property of the button either via script or > via the Inspector palette. > Tab 1 > Tab 2 > Tab 3 > Tab 4 > > Suppose you want to disable the third item ; you can > either use the command > disable menuitem 3 of btn "Foobar" > or you can change the text property to > Tab 1 > Tab 2 > (Tab 3 > Tab 4 You can even omit the "text" keyword :-) put "no tab 2" into line 2 of btn "your_tab" is enough info for the engine ;-) > Hope this helped, dito ;-) > Jan Schenkel. Au revoir... Klaus Major klaus at major-k.de www.major-k.de From mail at richard-hillen.de Mon Aug 4 10:38:01 2003 From: mail at richard-hillen.de (R. Hillen) Date: Mon Aug 4 10:38:01 2003 Subject: serial Import, no Nulls? In-Reply-To: <200308040440.AAA14475@www.runrev.com> Message-ID: Hi Sarah, thank you very much for the tip; it worked. Fine. (I better would have looked into the documentation!) So it is possible for me to read 8-bit-Data incl. NULs from the serial port using Windows or Mac OS. On Mac OSX I have from my old Mac-OS-days a serial stealth-adapter and found for it a OSX driver. But until now I didnt succeed in using it. Probably someone on the list knows more about it? Richard Hillen > Subject: Re: Serial Import, no Nulls? > From: Sarah > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Hi Richard, > > If you look at the script in the "Open Serial Port" button in my stack, > you will see the following line: > open file thePort for text update > Try changing this to: > open file thePort for binary update > > I haven't tried reading any data with nulls but this would be my best > guess on how to fix the problem. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > > > On Sunday, August 3, 2003, at 09:14 pm, mail at richard-hillen.de wrote: > >> Hello list, >> >> I try to get data from a measurement-device (Windows 98, RunRev >> 2.0.2.) >> using the serial port Com1. >> >> If I send "S" over the serial port, the device respond sending 20 byte >> in >> the Range 0 .. 255. >> >> Using Sarahs helpfull example-stack I tried to get them with "read >> from >> file com1 for 20". >> Looking at "it" there were less than 20 chars, the bytes with value 0 >> were >> missing. >> >> Any Ideas, how to get _all_ 20 bytes? >> >> Thanx in advance >> >> Richard Hillen. From dsc at swcp.com Mon Aug 4 11:10:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 4 11:10:00 2003 Subject: serial Import, no Nulls? In-Reply-To: Message-ID: <2E702935-C695-11D7-A082-000A9567A3E6@swcp.com> On Monday, August 4, 2003, at 09:31 AM, R. Hillen wrote: > So it is possible for me to read 8-bit-Data incl. NULs from the serial > port using Windows or Mac OS. > On Mac OSX On Revolution 2.0.1 you can receive a NUL. However, even in 'for binary update', you must end a line with LF in write. This will probably prevent use with your instrument. However, if 10 is a harmless command or 10 can be harmless data for a multibyte command, then you might come up with some trick to get around this. The write limitation is bug reported. I think work is in progress on OS X serial bugs, but I have not seen anything in 2.1B3. > I have from my old Mac-OS-days a serial stealth-adapter and found for > it a OSX driver. But until now I didnt succeed in using it. Probably > someone on the list knows more about it? This could be useful, depending on the OS X serial fix schedule. Could you provide a URL or some info? Thanks! Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From alrice at ARCplanning.com Mon Aug 4 11:13:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 4 11:13:00 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: Message-ID: <9A9ED428-C695-11D7-B1C9-000393529642@ARCplanning.com> On Monday, August 4, 2003, at 06:42 AM, Malte Brill wrote: > What I would like is to place the library inside of the app package, > so the > User doesn?t see it (and can?t break anything when moving the app.) > It seems like that isn?t possible. I just googled the archives (well, > I?d > better done that earlier... :-) Silly me.) and found someone was > suggesting > creating an alias to the app. Maybe I?ll try that. It possible. And I've posted about this before :-) I'm doing it this way with revxml.bundle and revclips.bundle. 1) Set the externals property of your stack to refer to the new path, relative to your app's executable: --msg box set the externals of this stack to "your.app/Contents/Resources/revxml.bundle" 2) Build standalone and copy the revvideograbber.bundle into your.app/Contents/Resources. It's not necessary to pick the video grabber on the Inclusions tab of the distribution builder. Library bundles should always go inside the app bundle and hopefully Rev will do it that way in the future. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Mon Aug 4 11:21:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 4 11:21:00 2003 Subject: serial Import, no Nulls? In-Reply-To: <2E702935-C695-11D7-A082-000A9567A3E6@swcp.com> Message-ID: On Monday, August 4, 2003, at 10:03 AM, Dar Scott wrote: > I think work is in progress on OS X serial bugs, but I have not seen > anything in 2.1B3. Yikes, I've been slipping in my time/universe orientation again. Only B2 is out in this universe and that is what I meant. B3 might very well have some serial fixes. Dar ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From themacguy at macosx.com Mon Aug 4 11:24:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 4 11:24:01 2003 Subject: Inconsistent results Message-ID: <36B18D00-C697-11D7-AA58-000A95763ABC@macosx.com> I have a handler that deletes the selected line of a list (a field called "users"). However, it only seems to work the second time I run it, not the first. Here's the handler: put the selectedText into userToDelete put the selectedLine into whatToRemove answer "Delete " & userToDelete & " from the student list?" with "No" or "Yes" if it is "No" then exit mouseUp else put word 2 of whatToRemove into theLine -- word 2 is the number of the line delete line theLine of field "users" end if If I run it, nothing happens. If I run it again immediately thereafter, it does work. Any ideas? Thanks, Barry From yvescoppe at skynet.be Mon Aug 4 11:27:02 2003 From: yvescoppe at skynet.be (=?ISO-8859-1?Q?Fran=E7oise_DESREUMAUX?=) Date: Mon Aug 4 11:27:02 2003 Subject: Tabbed Buttons: how to change the name of the tabs by programmation? In-Reply-To: Message-ID: Le lundi, 4 ao? 2003, ? 14:47 Europe/Brussels, Fran?ois Cuneo a ?crit : >> --- Fran?ois Cuneo wrote: >>> Hello! >>> I have a basic question (it's usual for me:-)) >>> I don't understand the philosophy of a tabbed >>> button. >>> How to put objects in tab? >>> And one more time, this list is the only one >>> solution for me. I'm unable to >>> find how work the tabbed button on the >>> documentation. >>> So thank you! >>> Fran?ois >>> >> >> Bonjour Fran?ois, >> >> Basically, tabbed buttons are like menus : when you >> chose a different tab, the button gets a 'menuPick' >> message ; you can then react to the change by hiding >> and showing certain controls (groups come in very >> handy at such times), or going to a certain card >> (place the tabbed button in a background group and off >> you go) >> >> You should definitely have a look at the example >> stacks by Shao Sean in the User Contributions Library >> (near the bottom of the page): >> http://www.runrev.com/Revolution1/developercentral/ >> usercontributions.html >> >> Hope this helped, >> >> Jan Schenkel. >> > How! I'm completly unable to open the file on MacOSX with Revolution > 2.1! Try this... on mouseup answer file "What file ?" if it is empty then exit to top open it end mousep Hope this helps... > Anyway I think I have understood how are working the tabbed button > but... > How may I change the name of the tabs by programmation? Is it a Tabbed > property? > Thank you > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Salutations. Fran?oise yvescoppe at skynet.be From jswitte at bloomington.in.us Mon Aug 4 11:37:00 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Mon Aug 4 11:37:00 2003 Subject: [Suggestion]: 'Lock scrollbars' property Message-ID: <329CFEF1-C699-11D7-B4C6-000393BF0854@bloomington.in.us> Hi, (Disclaimers: I'm only using version 2.0, not 2.0.2, and there may be better ways to do this - I know it's been discussed at length on the list) It seems intuitive that you could set a "Lock scrollbars' property if you select multiple fields. The advantage of this (aside from making UI building easier, see above disclaimer) is that if this were implemented in Metacard (as opposed to the Rev environment writing some automatic scrollbarDrag messages) is that code that locks the two fields together could be done at the C level, not in transcript which (might) be faster. Although I don't know how the various pre-compiling and optimizations work, so there may be no real speed advantage at all (not that I'm looking at this from a CS perspective of the most time-efficient implementation, not the user-level, where it doesn't matter that it takes a few microseconds more ;) Jim From alrice at ARCplanning.com Mon Aug 4 12:11:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 4 12:11:00 2003 Subject: database questions In-Reply-To: Message-ID: On Sunday, August 3, 2003, at 03:59 PM, Alex Rice wrote: > function dataField pKey > put the customProperties of stack kDataStack into tData ... > However I haven't needed to do much optimization yet though. I > suspect that dataField(key) function above could be written better. > (following up own post) It seems that avoiding a copy of the custom property array speeds things up quite a bit for larger data sets. function dataField pKey put the db_state["databaseID"] of stack kDataStack into tDB put sessionID() , pKey , "value" into tFilter put format("the %s[\"%s\"] of stack \"%s\"", tDB, tFilter, kDataStack) into tx return value(tx) end dataField on setDataField pKey, pValue put the db_state["databaseID"] of stack kDataStack into tDB put sessionID() , pKey , "value" into tFilter put format("set the %s[\"%s\"] of stack \"%s\" to pValue", \ tDB, tFilter, kDataStack) into tx do tx end setDataField Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Mon Aug 4 12:15:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 4 12:15:00 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: <9A9ED428-C695-11D7-B1C9-000393529642@ARCplanning.com> Message-ID: <5033128E-C69E-11D7-B1C9-000393529642@ARCplanning.com> On Monday, August 4, 2003, at 10:06 AM, Alex Rice wrote: > 1) Set the externals property of your stack to refer to the new path, > relative to your app's executable: > > --msg box > set the externals of this stack to > "your.app/Contents/Resources/revxml.bundle" should be revvideograbber.bundle -----------------------------^ Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From gizmotron at earthlink.net Mon Aug 4 12:36:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 4 12:36:01 2003 Subject: database questions In-Reply-To: Message-ID: Hi Alex, Is there a stack somewhere that illustrates this kind of database for larger data sets? Mark On Monday, August 4, 2003, at 10:03 AM, Alex Rice wrote: > > On Sunday, August 3, 2003, at 03:59 PM, Alex Rice wrote: >> function dataField pKey >> put the customProperties of stack kDataStack into tData > ... >> However I haven't needed to do much optimization yet though. I >> suspect that dataField(key) function above could be written better. >> > > (following up own post) > > It seems that avoiding a copy of the custom property array speeds > things up quite a bit for larger data sets. > > function dataField pKey > put the db_state["databaseID"] of stack kDataStack into tDB > put sessionID() , pKey , "value" into tFilter > put format("the %s[\"%s\"] of stack \"%s\"", tDB, tFilter, > kDataStack) into tx > return value(tx) > end dataField > > on setDataField pKey, pValue > put the db_state["databaseID"] of stack kDataStack into tDB > put sessionID() , pKey , "value" into tFilter > put format("set the %s[\"%s\"] of stack \"%s\" to pValue", \ > tDB, tFilter, kDataStack) into tx > do tx > end setDataField > > > Alex Rice, From francois.cuneo at cuk.ch Mon Aug 4 13:01:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Mon Aug 4 13:01:00 2003 Subject: Tabbed Buttons: how to change the name of the tabs by programmation? In-Reply-To: Message-ID: > Hi Fran?ois, > >>> How! I'm completly unable to open the file on MacOSX >>> with Revolution 2.1! > > Sounds like you are using a mac and looks like you need my famous > "Open sesame..." Plug-In, TADA... ;-) > > Go to: > > www.major-k.de/revstart.html > > and scroll a little down the page... > > Its free and works (will let you open ANY valid file of RR or MetaCard > Windows, *nix etc... Hello Klaus! Thank you for the plug-in, I'll try it. Friendly F -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From alrice at ARCplanning.com Mon Aug 4 13:04:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 4 13:04:01 2003 Subject: database questions In-Reply-To: Message-ID: <1C306B0C-C6A5-11D7-B1C9-000393529642@ARCplanning.com> On Monday, August 4, 2003, at 11:33 AM, Mark Brownell wrote: > Hi Alex, > > Is there a stack somewhere that illustrates this kind of database for > larger data sets? > > Mark No not that I'm aware of. However, in RevNet (the IDE plugin) | Tips | Stack Construction, there is this article by Richard Gaskin about data stacks which explains the concept very well http://www.sonsothunder.com/devres/metacard/tips/stk001.htm Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From rcozens at pon.net Mon Aug 4 13:11:01 2003 From: rcozens at pon.net (rcozens at pon.net) Date: Mon Aug 4 13:11:01 2003 Subject: Getting Started and Getting Info In-Reply-To: <3996AE5EBEF964418D80953BDCABFF56A1CE6A@ex1.asurite.ad.asu.edu> References: <3996AE5EBEF964418D80953BDCABFF56A1CE6A@ex1.asurite.ad.asu.edu> Message-ID: Hi Tom, >1. When your script executes "answer" or "ask," the dialog box (or >whatever it's called) comes up with a big, honkin' R for >Revolution. How do I get rid of it? Actually my game is a fish game >and I would really love to assign the fish image instead of the R. >How can I do that? Both ask & answer syntax include an optional first argument, iconType From Rev Dictionary: "The iconType parameter is one of the following types: information, question, error, or warning. The icon is displayed on the left side of the dialog box. If you don't specify an icon, none is displayed." So, if you are seeing an icon, I presume the first word after ask/answer is in " information, question, error, warning". Remove that word and the icon should be gone. To make the icon a fish, your would have to determine where & how Revolution resolves the image ids associated with " information", "question", "error", and "warning" icons--I presume they are different for different platforms--and replace them with yours if this is possible. It may turn out Rev uses system resources on each platform, and therefore your changes would affect other applications. > >2. The "window" that appears when Rev executes "answer" or "ask" >goes clean across the screen. Can I make it more compact in shape >and size like in HyperCard? That'd be nice. I believe the window tries to expand to fit the message line width. If so, inserting returns to block your text into several short lines will make the window narrower. If this doesn't work, one can clone the Rev ask/answer stacks and and create custom dialongs to distribute with one's standalone. > >3. How do I get Rev to inspect itself completely for incompatible >script? I suspect there is some left there because when I try to >build a distribution version, it crashes with some dialog box >flashing and I have to FORCE revolution to quit. Am I doing >something wrong? Whenever you press the key while editing a script, syntax is checked and any errors are immediately reported. If the Script Editor closes the window without complaint, your syntax is OK. It sounds to me like your standalone is looking for a stack or file when opening and cannot find it. Note, when running the Rev Dev environment, the folder containing the Revolution app is the defaultFolder until it is changed. When your standalone starts up, the folder it resides in is the defaultFolder. One needs to take this into account, especially in Mac OS X, where the application bundle comes into play. > >4. By the way, the dialog box for creating the distribution file is >cut off at the bottom and I can only see the tip top of three >buttons to click. Only one is active and I've been clicking the >barely visible sliver of that button, but I don't know its name >because it's cut off. What gives? There is a know (but undiagnosed) problem with screen window sizes that appears to have something to do with menus & Mac OS. I can open the Distribution Builder several times with no problem; but sometimes when rebuilding a second or subsequent time the window will shrink. -- 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 1573-1631 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chipp at chipp.com Mon Aug 4 13:18:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Mon Aug 4 13:18:00 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: Alex, > What do you mean anti-aliased? Does Quicktime do some blending with > it's dissolve effect? > Without Quicktime installed, on Windows 2000, it looks very granular > when dissolving in. Exactly, if Quicktime is NOT installed, it uses the default RR dissolve transition - which is more 'granular.' > > Also I opening the stack on Mac OS X, and of it does the dissolve with > quicktime which looks nicer. Unfortunately MacOS X puts a drop shadow > around the rect of the Splash stack. Looks kind of funny. Could > probably be remedied using a custom windowshape icon. OOPS. Sounds like a MacOSX problem. --Chipp From rgmiller at pacbell.net Mon Aug 4 13:23:00 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Mon Aug 4 13:23:00 2003 Subject: Menu Building Prefs References: <200308020633.CAA10461@www.runrev.com> Message-ID: <3F2EA2A6.2000400@pacbell.net> From: Dan Shafer > I'm trying to get a sense for how most Rev users create menus. Are you > using the Menu Builder or are you coding in scripts or do you do both? > Which is more important to cover in depth in my book? Or is either more > important? > > Inquiring minds want to know. > > Copy and paste, for starters. I built a generic menu with the basics in MC. Whenever I start a new project I C&P the "default" menu and add what's needed in the new project. I found the MC Menu Builder a bit stilted and limiting. Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From wmb at internettrainer.com Mon Aug 4 14:33:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Aug 4 14:33:01 2003 Subject: Fix to distribution builder available In-Reply-To: Message-ID: <0E868E2A-C5E8-11D7-8211-003065430226@internettrainer.com> On Montag, Aug 4, 2003, at 05:01 Europe/Vienna, Sarah wrote: > Hi Wolfgang, > > I just built a test app for OS X with sub-stacks saved separately and > here is what I got: > Standalone_MacOSX_Test (a folder) > Test (my app - worked perfectly) > data (empty folder) .... > I hope this helps. Ohh yes, thanks a lot Sarah, that helps me "understand"..;)) You have won an old fashioned austrian dessert (sweet) of your choice, made for you with my rev damaged brain and hands, - if you ever come to Austria;) what I hope... my last 2 cent - Quiz: without this list rev would be dead as ...... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Mon Aug 4 14:35:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Aug 4 14:35:00 2003 Subject: Proposal - the use-revolution list In-Reply-To: <19B6356C-C62F-11D7-B2FE-0003937A97B8@genesearch.com.au> Message-ID: <4E15D39B-C5E8-11D7-8211-003065430226@internettrainer.com> On Montag, Aug 4, 2003, at 05:52 Europe/Vienna, Sarah wrote: > So please, whatever else is set up in parallel, don't drop the list! Agree 100%! regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From yoy at comcast.net Mon Aug 4 15:13:01 2003 From: yoy at comcast.net (yoy) Date: Mon Aug 4 15:13:01 2003 Subject: ANN: OmniLotto.rev available for peer review. Freeware Message-ID: <000901c35ac3$9bd78060$b2ea5144@fatal7lcf637rj> Fellow Revolutionaries, OmniLotto is now ready (I think) for public consumption. It works better than I expected. It's not a system, it doesn't do predictions, it is a simple lotto ticket game checker for your entertainment. This is my first GUI application that runs on "other than mac" boxes.. It's in it's .rev state so you can poke around (and I am still in trial mode). Added saving and loading lotto rules and gamelists to disk. For some lively animation, click on the word "Pick" above the blue buttons for some lively animation. But when you first run it, just press the start button! Please tell me what you think of my four day old product. There are probably things that are out of sorts, but I'm a one man band and never get everything right.all the time. http://mywebpages.comcast.net/foxcat/OmniLotto.rev Enjoy and remember the lottery is for people who don't know math. ;-) All the best, Andy Burns From chipp at chipp.com Mon Aug 4 15:59:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Mon Aug 4 15:59:00 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: Alex, forgot to answer one of your questions...see below. > What do you mean anti-aliased? Does Quicktime do some blending with > it's dissolve effect? Here's how it works. It doesn't use the windowshape property -- just a regular window with decorations set to empty. When launched, it takes a small screen capture of the region behind the window, then displays the window (with no decorations and the screen capture now visible), then shows the PNG graphic (with alpha channel) using a visual effect dissolve. Because PNG's have an 8 bit alpha channel, it's easy to provide a full 'anti-aliased' graphic on top of the desktop image captured...thus transparencies and soft shadows can be made. best, Chipp From alrice at ARCplanning.com Mon Aug 4 16:16:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 4 16:16:01 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: On Monday, August 4, 2003, at 02:52 PM, Chipp Walters wrote: > Because PNG's have an 8 bit alpha channel, it's easy to provide a full > 'anti-aliased' graphic on top of the desktop image captured...thus > transparencies and soft shadows can be made. I get it. It's good to know Rev supports PNG so well. Speaking of antialiasing... how could one antialias graphics objects in Rev, using a plugin or external? Or does Rev not expose that part of the engine to user land? One way would be to make a snapshot of the graphic's rect, and antialias the points of the graphic, hide the graphic object and show the antaliased image. But getting access to the actual drawing of the graphics would be even better though. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From francois.cuneo at cuk.ch Mon Aug 4 16:18:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Mon Aug 4 16:18:01 2003 Subject: Tabbed Buttons: how to change the name of the tabs by programmation? In-Reply-To: <20030804131048.35225.qmail@web11905.mail.yahoo.com> Message-ID: Hello Jan! OK Jan, it's good for me now. Thank you! Fran?ois > --- Fran?ois Cuneo wrote: >> [snip] >> >> How! I'm completly unable to open the file on MacOSX >> with Revolution 2.1! >> Anyway I think I have understood how are working the >> tabbed button but... >> How may I change the name of the tabs by >> programmation? Is it a Tabbed >> property? >> Thank you >> >> -------------- >> Fran?ois Cuneo >> > > Bonjour Fran?ois, > > As tabbed buttons are basically menus, you have to set > the 'text' property of the button either via script or > via the Inspector palette. > Tab 1 > Tab 2 > Tab 3 > Tab 4 > > Suppose you want to disable the third item ; you can > either use the command > disable menuitem 3 of btn "Foobar" > or you can change the text property to > Tab 1 > Tab 2 > (Tab 3 > Tab 4 > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From erikhans08 at yahoo.com Mon Aug 4 16:43:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Aug 4 16:43:01 2003 Subject: Reading MP3 tags In-Reply-To: Message-ID: <20030804213655.23152.qmail@web20001.mail.yahoo.com> --- Richard Gaskin wrote: > there's more info as defined at > , > so you could make it more complete as you need. these guys are working cutting edge in a recent war zone. that is incredibly humbling and inspiring. could RunRev be used for programming things like irrigation, light switches and some of the economic infrastructure nuts and bolts in rebuilding nations? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dan at shafermedia.com Mon Aug 4 17:35:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Mon Aug 4 17:35:00 2003 Subject: Scripts in Independent Study Tutorial - A Mini-Course In-Reply-To: <200308032322.TAA06334@www.runrev.com> Message-ID: On Sunday, August 3, 2003, at 04:22 PM, RIchard Gaskin wrote: > One thing that might be useful is an article on best practices for > object > structure as a compliment to the Scripting Style Guide at > . Having > already made many mistakes over the years*, I could hopefully jot down > what > I've found works well so others could avoid wasting time making the > same > mistakes I've made. > That's a good idea, I think. Your SSG is pretty interesting; I don't always agree with you but I *do* think a system of some sort is important! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From jeanne at runrev.com Mon Aug 4 18:06:18 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Aug 4 18:06:18 2003 Subject: FileFormat 1.1.1 - 2.0.2 - 2.1 In-Reply-To: <6411486F-C684-11D7-8F3E-0003939122FA@itinfo.dk> References: <200308041220.IAA25038@www.runrev.com> Message-ID: At 7:03 AM -0700 8/4/03, Carsten wrote: >Will the file format of Revolution 2.1 be the same as the file format >of 1.1.1 and 2.0.0, 2.0.1 and 2.0.2? > >And will we still be able to go back to 1.1.1 if a project has ben >opened in 2.1 ... as it is with 2.0.2? Yes. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From chipp at chipp.com Mon Aug 4 18:21:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Mon Aug 4 18:21:00 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: Alex, > Speaking of antialiasing... how could one antialias graphics objects in > Rev, using a plugin or external? Or does Rev not expose that part of > the engine to user land? One way would be to make a snapshot of the > graphic's rect, and antialias the points of the graphic, hide the > graphic object and show the antaliased image. But getting access to the > actual drawing of the graphics would be even better though. A good technique for doing anti-aliasing of bitmap images in Photoshop is to: 1) Scale up 200 - 400 (using bilinear or bicubic, the default works fine) 2) Apply a Median filter 3) Scale back down. Works good. You can check out what it looks like at the bottom of this page: http://www.kolumbus.fi/erkki.halkka/PS_Actions/Actions01.html#AA So, one would have to build a scaling and media filter DLL to RR. best, Chipp From alrice at ARCplanning.com Mon Aug 4 18:42:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 4 18:42:00 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: <56A5D78A-C6D4-11D7-B1C9-000393529642@ARCplanning.com> On Monday, August 4, 2003, at 05:13 PM, Chipp Walters wrote: > > 1) Scale up 200 - 400 (using bilinear or bicubic, the default works > fine) > 2) Apply a Median filter > 3) Scale back down. Sounds easy enough! > Works good. You can check out what it looks like at the bottom of this > page: > http://www.kolumbus.fi/erkki.halkka/PS_Actions/Actions01.html#AA > So, one would have to build a scaling and media filter DLL to RR. I can see how that would work for Image objects. What about capturing the data of a Rev Graphic object (not image) after it gets rasterized, before it's displayed on screen, to automatically antialias Graphics objects? Would be real spiffy for charts and games and so forth. Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From Tom.Cole at asu.edu Mon Aug 4 19:07:00 2003 From: Tom.Cole at asu.edu (Thomas Cole) Date: Mon Aug 4 19:07:00 2003 Subject: visual effects/copy to clipboard/print field Message-ID: <3996AE5EBEF964418D80953BDCABFF5606AB1D11@ex1.asurite.ad.asu.edu> I have solved all my serious problems with my stack. It's miraculous. It runs on 98/XP/Mac 9/OSX. I can't believe how well it works. This thing is great. I do need to know why my visual effects have disappeared. I'd like them back, but they're not essential. Wipe right.... etc. Also in converting my HC stack, my button COPY TO CLIPBOARD that used to copy the contents of a field to the clipboard doesn't work and and I still don't have a way to print that same field. Thanks for your help. I'm nearly there after just five sittings! Tom Tom Cole Associate Director American English and Culture Program College of Extended Education Arizona State University tom.cole at asu.edu http://www.asu.edu/xed/aecp 480-965-2371 -------------- next part -------------- An HTML attachment was scrubbed... URL: From monte at sweattechnologies.com Mon Aug 4 19:37:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 4 19:37:00 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: <56A5D78A-C6D4-11D7-B1C9-000393529642@ARCplanning.com> Message-ID: > > > > 1) Scale up 200 - 400 (using bilinear or bicubic, the default works > > fine) > > 2) Apply a Median filter > > 3) Scale back down. > > Sounds easy enough! > > > Works good. You can check out what it looks like at the bottom of this > > page: > > http://www.kolumbus.fi/erkki.halkka/PS_Actions/Actions01.html#AA > > So, one would have to build a scaling and media filter DLL to RR. > > I can see how that would work for Image objects. What about capturing > the data of a Rev Graphic object (not image) after it gets rasterized, > before it's displayed on screen, to automatically antialias Graphics > objects? Would be real spiffy for charts and games and so forth. > Yes, I had a customer that thought I was using 1 pixel wide vertical columns instead of a filled polygon in one chart. I was applying a data smoothing algorithm so they were wondering why the line didn't look smooth. I had to explain that I was smoothing the data and not the line but they weren't too impressed. I think this is quite an important feature. The lack of anti-aliasing means that Rev can't really claim to be a multimedia tool and also is a disadvantage for charting etc in data management and representation apps. Regards Monte From michaell at unimelb.edu.au Mon Aug 4 20:15:01 2003 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Mon Aug 4 20:15:01 2003 Subject: Rev & replace PowerPoint from Rev List Message-ID: Dear All I spent a while fiddling around with making a replacement for PowerPoint and I'm sure it can be done and it would be awesome! However, I ran out of time and have not made much real progress (I could dig out a card that makes a good start at a bullet-point slide master). There was not much interest from the list at the time, although Alejandro certainly was interested, he made some good suggestions and has useful bezier curve and eps import/export stacks that would be great components. I'm not working on the project at the moment (I'm a senior lecturer in pharmacology, not really a programmer). When Apple released Keynote I decided to wait and see if it would be more to my taste as a slide program, and in short it is, well, sort of... Lecture theatres at my university are all equipped similarly with G4 Macs running OS 9.2 and equivalent PCs running an up-to-date version of Windows (I never touch the PCs ;-). Keynote only runs under OS X and so I can't use Keynote to display my lectures unless I scrounge an OS X PowerBook or iBook. Not on really. However, I've worked out a way around the problem, and it even gives me more power than Keynote alone. My new lectures are mostly put together in Keynote with many slides imported (flawlessly now that I've updated to Keynote 1.1) from previous PowerPoint files. I then export the slideshows as Quicktime movies and put them into a player object on a card in a Revolution stack. All of my Revolution lecture embellishments like animations and simulations are on other cards in the stack. This seems to be a good compromise between having the features of keynote and the power of Revolution. The only real limitation is that I can't put any controls on top of a quicktime movie and so I can't do full integration of the slides with other elements. However, that can mostly be got around by using the import snapshot command and hiding the player. My final presentation consists of a Rev standalone with a Quicktime movie in a data folder. The overall file sizes can be biggish (2.5 MB for the Rev standalone and so far up to 4MB for the movie) but I just put them onto a Zip disk or burn a CD in case I can't access my computer across the net. Overall, I am happy with this solution to my dislike of PowerPoint and I don't think I will be re-opening my project to build a replacement myself. Best regards, Michael >Hello Michael, > >While researching for my new Rev shareware app I came across your >post to the List. > >I have been working for a while on an app which deals with Apple's >iPhoto, displaying >photos, saving photo lists, & creating slide shows. One of my apps >places text on or near >images/photos and I am pondering incorporating some of its features >into my new >slide show feature. > > This is a shareware project (that is how I get food on my table) >but with that said, I was >wondering if you had taken your idea any further? > >Any ideas, suggestions, or details of further attempts to "replace PowerPoint" >would be appreciated. > >Kind regards, > >sims > > >>I'm thrilled to hear that someone would like to replace PowerPoint >>with a Revolution-based application! >> >>I have been lecturing using PowerPoint in combination with Revolution >>and Hypercard for many years, with Revolution and Hypercard-based >>animations and simulations to spice up the material and make some >>concepts more accessible. Several of my computer-aided learning >>modules (CALs) that are in use in courses here have been made with >>Revolution and it is helpful to the students to see snippets of those >>modules used in a lecture prior to the students exploring the CALs >>themselves. >> >>After some frustrations resulting from upgrading PowerPoint to the >>most current version, I have very recently decided that it would be >>worthwhile making a Revolution application to replace PowerPoint for >>my own use (my preliminary stack is called 'Get to the point!). If >>Joao, and maybe others, is thinking along the same lines then maybe >>we could make it into a collaborative project. I have so made a >>useable (but not bug-free) automated 'dot-point' field template. and >>have fiddled with making cards grow to fill the screen with text >>being scaled appropriately. No real difficulties in those. >> >>I have mentioned my aspirations to some colleagues at my university >>and their response is generally unencouraging. They feel that >>PowerPoint is a huge application that has been developed my large >>numbers of programmers for many years: true enough, but in that >>context it is interesting to contemplate the quality of their product >>;-> >> >>I believe that a project to make a PowerPoint replacement could be >>surprisingly manageable. First, PowerPoint is mostly bloat and >>flashy, but useless features. Many users regularly choose to use >>outside applications for things that PowerPoint could do (e.g. >>outlining and drawing) so there is no need to replicate those >>'features'. Secondly, many of the features that would be needed are >>already built into Revolution. For example, the geometry manager is >>useful switching from edit mode to full-screen mode and the backdrop >>property can instantly deal with any mis-match between stack and >>screen proportions. Groups are a natural way to deal with the variety >>of slide templates. Slide transitions are built in. Image importing >>needs only a convenient way to get images from the clipboard. >>Animations are readily constructed using the animations manager. >>Basically, the similarity of the card and slide metaphors is such >>that using Revolution to make slideshows is a natural. >> >>Importantly, in order to be useful to those like me who already code >>in Revolution, the project needs only to supply some templates and >>standard slide components and behaviours; the rest can be scripted >>directly in Revolution. Thus such a project can be useful even at a >>minimal stage of development. Extra capabilities can always be added >>by anyone who has Revolution because the project would be naturally >>modular. >> >>In my imagination we will end up with a standalone application that >>makes and displays slideshows just like PowerPoint, and a version >>that runs within Revolution that will make open-ended multimedia >>presentations convenient for Revolutions scriptors. >> >>Anyone keen to help? > >-- >----------------------------------------------------------- > http://EZPZapps.com info at EZPZapps.com > Software - Internet Development - Consulting -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From shaosean at unitz.ca Mon Aug 4 20:27:04 2003 From: shaosean at unitz.ca (Shao Sean) Date: Mon Aug 4 20:27:04 2003 Subject: getting the MP3 duration Message-ID: <200308050120.VAA00376@bright.unitz.ca> someone was looking at how to get the duration of an MP3 file.. here's a method that can be used.. the file used was Jethro Tull's "Songs from the Woods" MP3 (the complete album as one file).. it's a MPEG 1.0 layer 3 file.. if more advanced file info is needed feel free to contact me offlist.. -Sean on mouseUp --- these constants come from my full album mp3 of Jethro Tull's "Songs From The Woods" constant kFileSizeInBytes = "50034954" -- as returned by the 'detailed files' constant kFileBitRate = "160" -- the bitrate (displayed as 160kbit) local tTotalDurationInSeconds, tMM, tSS, tMMSS put ((kFileSizeInBytes * 8) / kFileBitRate / 1000) into tTotalDurationInSeconds put trunc(tTotalDurationInSeconds / 60) into tMM put trunc(tTotalDurationInSeconds MOD 60) into tSS # WinAMP returns the total duration as: 2501 seconds # returns the total time in MM:SS as: 41m 41s end mouseUp From jacque at hyperactivesw.com Mon Aug 4 20:58:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 4 20:58:01 2003 Subject: visual effects/copy to clipboard/print field In-Reply-To: <3996AE5EBEF964418D80953BDCABFF5606AB1D11@ex1.asurite.ad.asu.edu> References: <3996AE5EBEF964418D80953BDCABFF5606AB1D11@ex1.asurite.ad.asu.edu> Message-ID: <3F2F0DB1.5060104@hyperactivesw.com> On 8/4/03 6:54 PM, Thomas Cole wrote: > I have solved all my serious problems with my stack. It's miraculous. It > runs on 98/XP/Mac 9/OSX. I can't believe how well it works. This thing is > great. Even after a few years, that "wow" factor is still with me. It really is a wonder. > I do need to know why my visual effects have disappeared. I'd like them > back, but they're not essential. Wipe right.... etc. A common mistake is to put the visual effect in quotes. HyperCard required it; Revolution forbids it. Take out any quotation marks you may have around visual effects, even if they are more than one word. > Also in converting my HC stack, my button COPY TO CLIPBOARD that used to > copy the contents of a field to the clipboard doesn't work and and I still > don't have a way to print that same field. Use "the clipboardData" or the clipboardData["text"] to put text into the clipboard (text is the default, so you don't need to specify the array element in this one case.) You can put other kinds of things into the clipboard by specifying the element, for example: put img "myPicture" into the clipboardData["image"] See the docs about "clipboardData" for more. See "revPrintField" for printing the contents of a field. > Thanks for your help. I'm nearly there after just five sittings! > Tom > > Tom Cole > Associate Director > American English and Culture Program > College of Extended Education > Arizona State University > tom.cole at asu.edu http://www.asu.edu/xed/aecp > 480-965-2371 > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bfr at nwlink.com Mon Aug 4 21:58:00 2003 From: bfr at nwlink.com (Bruce Robertson) Date: Mon Aug 4 21:58:00 2003 Subject: Update available for license.rev In-Reply-To: <6768CFD9-C554-11D7-B6CD-000393AD9396@pixelmedia.com.au> Message-ID: > My educated guess would be that if you are supposed to be replacing a > file, than the replacement should have the same name (and be in the > same location) as the file it is replacing... > > Just an educated guess,,, So your educated guess, upon receiving explicit instructions in the Rev announcement, to download and rename a file, is that you should download and NOT rename a file? You have a different education, I suppose. It would be a small matter to zip a readme into the download files. Since some of the files require you to do directly opposite things, instructions would be helpful. Having been through this, it is a small matter, and I now understand what to do. From bvlahos at mac.com Mon Aug 4 22:05:01 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Mon Aug 4 22:05:01 2003 Subject: Arrays and custom properties Message-ID: <83AC7ACC-C6F0-11D7-B88B-0003936A2C42@mac.com> I am struggling with the concept of arrays and custom properties and am looking for a cookbook example. Let's say I want to make something like the included Employee Database example that comes with Rev. It makes a new card for each record but I don't want to do that, I want to put the information in an array and store it in a custom property. This will allow me to have complex information in a field such as TABS, RETURNS, and maybe formatting in a field (like a notes field) and encrypt the data by password protecting the stack. My problem is that I don't know how to actually code it. Here is a simple scenario: 1. Stack named "Company Directory" as a standalone 2. Stack named "CDData.rev" where the data will be stored in a custom property 3. Card named "Employees" with 4 fields FirstName LastName Notes Index (to show all of the records in a list field. Click on the item to populate the other fields.) All of the data will be in an array which is read from or written to the custom property. 1. The array is modified when records are added, deleted, or changed. 2. The array is saved to the CDData.rev stack in a custom property when the item is changed. 3. Upon opening the standalone, data is read from the custom property which is then put into the Index field. How would I do this? I think it is likely to be simple but I am unclear on the execution. Thanks in advance. I'll submit the finished stack to RunRev as a user contribution. Bill Vlahos From monte at sweattechnologies.com Mon Aug 4 22:44:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 4 22:44:00 2003 Subject: Arrays and custom properties In-Reply-To: <83AC7ACC-C6F0-11D7-B88B-0003936A2C42@mac.com> Message-ID: > > I am struggling with the concept of arrays and custom properties and am > looking for a cookbook example. > > Let's say I want to make something like the included Employee Database > example that comes with Rev. It makes a new card for each record but I > don't want to do that, I want to put the information in an array and > store it in a custom property. This will allow me to have complex > information in a field such as TABS, RETURNS, and maybe formatting in a > field (like a notes field) and encrypt the data by password protecting > the stack. > > My problem is that I don't know how to actually code it. Here is a > simple scenario: > 1. Stack named "Company Directory" as a standalone > 2. Stack named "CDData.rev" where the data will be stored in a custom > property > 3. Card named "Employees" with 4 fields > FirstName > LastName > Notes > Index (to show all of the records in a list field. Click on > the item > to populate the other fields.) > > All of the data will be in an array which is read from or written to > the custom property. > 1. The array is modified when records are added, deleted, or changed. > 2. The array is saved to the CDData.rev stack in a custom property when > the item is changed. > 3. Upon opening the standalone, data is read from the custom property > which is then put into the Index field. > > How would I do this? I think it is likely to be simple but I am unclear > on the execution. > Hi Bill The way I would go about it is to use a customPropertySet as a two dimensional array. The first dimension is your field names FirstName, LastName, Notes. The second dimension is your record number 1,2,3.... There are a number of item delimiters you could use ,|./ etc but the only one that is supported by the rev IDE is _ so the keys of your customPropertySet will look like FirstName_1,FirstName_2 ... etc Create 1 card to be your interface to the data. Create another to be an index. To show record 1 you would do the following: put the customKeys["uCDData"] of stack "CDData.rev" into tCDDataKeys filter tCDDataKeys with "*_1" set the itemDel to "_" repeat for each line tLine in tCDDataKeys put the uCDData[tLine] of stack "CDData.rev" into fld item 1 of tLine end repeat Then you could set the uCurrentRecord of the stack to 1 Then on closeField you could update the record like this: repeat for each item tItem in "FirstName,LastName,Notes" put tItem&"_"&the uCurrentRecord of this stack into tSet set the uCDData[tSet] of this stack to fld tItem end repeat I'm sure you can work out how to populate the index. Cheers Monte From ambassador at fourthworld.com Mon Aug 4 22:54:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 4 22:54:01 2003 Subject: Scripts in Independent Study Tutorial - A Mini-Course In-Reply-To: Message-ID: Dan Shafer wrote: > On Sunday, August 3, 2003, at 04:22 PM, RIchard Gaskin wrote: > >> One thing that might be useful is an article on best practices for >> object >> structure as a compliment to the Scripting Style Guide at >> . Having >> already made many mistakes over the years*, I could hopefully jot down >> what >> I've found works well so others could avoid wasting time making the >> same >> mistakes I've made. >> > That's a good idea, I think. Your SSG is pretty interesting; I don't > always agree with you but I *do* think a system of some sort is > important! The current version of the SSG represents many changes over the years, with recent additions run through the list for feedback before publication. If there's anything in there which seems ripe for revision let's talk; if the document is to be truly useful it will never be completely finished. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From sarahr at genesearch.com.au Mon Aug 4 23:14:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 4 23:14:01 2003 Subject: Inconsistent results In-Reply-To: <36B18D00-C697-11D7-AA58-000A95763ABC@macosx.com> Message-ID: <45396EE6-C6FA-11D7-B2FE-0003937A97B8@genesearch.com.au> Hi Barry, My guess would be that first time through, the selectedText & selectedLine are not defined. Perhaps clicking the button changed the selection. Here is how I would start: put the hilitedLine of fld "users" into theLine put the selectedText of fld "users" into userToDelete Then ask for confirmation and if confirmed, delete line theLine of fld "users" Cheers, Sarah On Tuesday, August 5, 2003, at 02:21 am, Barry Levine wrote: > I have a handler that deletes the selected line of a list (a field > called "users"). However, it only seems to work the second time I run > it, not the first. Here's the handler: > > put the selectedText into userToDelete > put the selectedLine into whatToRemove > answer "Delete " & userToDelete & " from the student list?" with "No" > or "Yes" > if it is "No" then > exit mouseUp > else > put word 2 of whatToRemove into theLine -- word 2 is the number of > the line > delete line theLine of field "users" > end if > > If I run it, nothing happens. If I run it again immediately > thereafter, it does work. > > Any ideas? > > Thanks, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Mon Aug 4 23:19:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 4 23:19:01 2003 Subject: serial Import, no Nulls? In-Reply-To: Message-ID: On Tuesday, August 5, 2003, at 01:36 am, R. Hillen wrote: > So it is possible for me to read 8-bit-Data incl. NULs from the serial > port using Windows or Mac OS. > On Mac OSX I have from my old Mac-OS-days a serial stealth-adapter and > found for it a OSX driver. But until now I didnt succeed in using it. > Probably someone on the list knows more about it? > Serial comms under OS X are a bit dodgy but I have had some success. They work completely differently under OS X to OS 9 or Windows. Check the docs for driverNames, open drive, close driver, read from driver, write to driver and hopefully you might get somewhere. If your adapter is listed when you query the driverNames, then you will probably be OK, but I'd be very interested to see how you get on. Remember to use the third item of the driverNames line as your driver i.e. the one with cu in the name. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From monte at sweattechnologies.com Mon Aug 4 23:32:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 4 23:32:01 2003 Subject: Scripts in Independent Study Tutorial - A Mini-Course In-Reply-To: Message-ID: > Dan Shafer wrote: > > > On Sunday, August 3, 2003, at 04:22 PM, RIchard Gaskin wrote: > > > >> One thing that might be useful is an article on best practices for > >> object > >> structure as a compliment to the Scripting Style Guide at > >> . Having > >> already made many mistakes over the years*, I could hopefully jot down > >> what > >> I've found works well so others could avoid wasting time making the > >> same > >> mistakes I've made. > >> > > That's a good idea, I think. Your SSG is pretty interesting; I don't > > always agree with you but I *do* think a system of some sort is > > important! > > The current version of the SSG represents many changes over the > years, with > recent additions run through the list for feedback before publication. If > there's anything in there which seems ripe for revision let's talk; if the > document is to be truly useful it will never be completely finished. > Hi Richard I'd like to see a sub-section under naming conventions about script libraries. I currently use the library name as a prefix for my library handler names to avoid clashes and to clarify where the code is. For example in libColor (filename libColor.rev) the main function is called libColor_Convert. I notice that libURL does the same think but without the _. I got the convention from Shao Sean's libSMTP. There are also some handlers that are only called from within the library and I don't want users to rely on them. I prefix them with priv. For example: priv_libColor_ClosestMatchingColorName. It's all a bit long winded but it serves the purpose. Cheers Monte From jtenny at willamette.edu Mon Aug 4 23:52:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Mon Aug 4 23:52:00 2003 Subject: FatOS engine Message-ID: <4B118A52-C6FF-11D7-9015-000393911676@willamette.edu> I have the Studio version to be developed in X (seem to work fine) and distribute to all. I tried to distribute to just X and it used the FAT engine. Anyone else in this boat? John On Sunday, August 3, 2003, at 11:24 AM, John Tenny wrote: > Question: is the engine FatOS the same engine as needed for > distributing for X? I don't think so- the OS X engine is Mach-O, not FAT. I looked in my Revolution folder and have no idea where the OS X engine is though... Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From mail at richard-hillen.de Tue Aug 5 00:22:00 2003 From: mail at richard-hillen.de (R. Hillen) Date: Tue Aug 5 00:22:00 2003 Subject: use-revolution digest, Vol 1 #1718 - 12 msgs In-Reply-To: <200308041601.MAA31772@www.runrev.com> Message-ID: Hello Dar, from Griffin (www.griffin.com) there are serial adapters, with which you can replace your internal modem in G3, G4. So you get under OS9 a port named modem: Short time ago I found on griffin.com for this adapter a serial driver for MacOSX. Richard Hillen. > .... >> I have from my old Mac-OS-days a serial stealth-adapter and found for >> it a OSX driver. But until now I didnt succeed in using it. Probably >> someone on the list knows more about it? > > This could be useful, depending on the OS X serial fix schedule. Could > you provide a URL or some info? Thanks! > > Dar Scott From janschenkel at yahoo.com Tue Aug 5 00:52:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 5 00:52:00 2003 Subject: Membership applications for Revolution_IPC working group Message-ID: <20030805054535.14885.qmail@web11907.mail.yahoo.com> Hi All, A short request for those of you who are planning on joining the Revolution Inter-Program Communication Yahoo!Group [*] : could you send an email to myself or any of the other moderators (Rob Cozens, Richard Gaskin, Dar Scott and Bill Vlahos) around the same time as your application ? As one of the goals of making it a closed group was to keep out email harvesters and the like, we may be tempted to reject applications from such inspiring email-addresses as melanie69 at hotmail.com that we don't recognise from this list. Thanks in advance, Jan Schenkel. [*] For more information, visit the following link : http://groups.yahoo.com/group/revolution_ipc/ ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alrice at ARCplanning.com Tue Aug 5 01:04:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 01:04:00 2003 Subject: FatOS engine In-Reply-To: <4B118A52-C6FF-11D7-9015-000393911676@willamette.edu> Message-ID: On Monday, August 4, 2003, at 10:43 PM, John Tenny wrote: > I have the Studio version to be developed in X (seem to work fine) > and distribute to all. I tried to distribute to just X and it used the > FAT engine. Anyone else in this boat? Why do you think it's using the FAT engine? Maybe you need to restart with a fresh copy of Rev. Sounds like your installation got messed up somehow - although that shouldn't happen just be renaming an app's folder. I am looking at a standalone for OS X built with Rev 2.0.2, and it has generated an OS X executable not a FAT executable. Here is how you can probe it from the command line: # file Standalone_MacOSX_Test/Test.app/Contents/MacOS/Revolution Standalone_MacOSX_Test/Test.app/Contents/MacOS/Revolution: Mach-O executable ppc # otool -L Standalone_MacOSX_Test/Test.app/Contents/MacOS/Revolution Standalone_MacOSX_Test/Test.app/Contents/MacOS/Revolution: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 122.0.0) /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime (compatibility version 1.0.0, current version 172.0.0) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 120.3.0) /usr/lib/libz.1.1.3.dylib (compatibility version 1.0.0, current version 1.1.3) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 63.0.0) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From janschenkel at yahoo.com Tue Aug 5 01:12:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 5 01:12:01 2003 Subject: Arrays and custom properties In-Reply-To: <83AC7ACC-C6F0-11D7-B88B-0003936A2C42@mac.com> Message-ID: <20030805060544.48461.qmail@web11901.mail.yahoo.com> --- Bill Vlahos wrote: > I am struggling with the concept of arrays and > custom properties and am > looking for a cookbook example. > > Let's say I want to make something like the included > Employee Database > example that comes with Rev. It makes a new card for > each record but I > don't want to do that, I want to put the information > in an array and > store it in a custom property. This will allow me to > have complex > information in a field such as TABS, RETURNS, and > maybe formatting in a > field (like a notes field) and encrypt the data by > password protecting > the stack. > > My problem is that I don't know how to actually code > it. Here is a > simple scenario: > 1. Stack named "Company Directory" as a standalone > 2. Stack named "CDData.rev" where the data will be > stored in a custom > property > 3. Card named "Employees" with 4 fields > FirstName > LastName > Notes > Index (to show all of the records in a list field. > Click on the item > to populate the other fields.) > > All of the data will be in an array which is read > from or written to > the custom property. > 1. The array is modified when records are added, > deleted, or changed. > 2. The array is saved to the CDData.rev stack in a > custom property when > the item is changed. > 3. Upon opening the standalone, data is read from > the custom property > which is then put into the Index field. > > How would I do this? I think it is likely to be > simple but I am unclear > on the execution. > > Thanks in advance. I'll submit the finished stack to > RunRev as a user > contribution. > > Bill Vlahos > Hi Bill, When using custom properties to store data in a stack, I usually follow this strategy : - 1 table = 1 custom property set - each record is broken up into its fields - 1 field = 1 custom property within the above set - the key of the custom property is composed of the primary key and the field name When I need to store data, I can easily put fld "customerID" into tCustID set the uCustomerData[tCustID,"name"] of this card \ to fld "customerName" set the uCustomerData[tCustID,"city"] of this card \ to fld "customerCity" So my custom property set ends up looking like : uCustomerData[1,name] = "John Doe" uCustomerData[1,address] = "unknown" uCustomerData[1,city] = "" uCustomerData[1,zipcode] = "" uCustomerData[1,state] = "" uCustomerData[2,name] = "Christopher Robinson" uCustomerData[2,address] = "Fifth Avenue" uCustomerData[2,city] = "New York" uCustomerData[2,zipcode] = "12345" uCustomerData[2,state] = "NY" When I need to retrieve data, I can easily get the uCustomerData[tCustID,"name"] of this card One trick that might come in handy : put the customKeys["uCustomerData"] into tCDataKeys filter tCDataKeys with "*,name" Now item 1 of each line of tCDataKeys is a customer ID, and you can easily fill up a list field for the user to select a customer. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alrice at ARCplanning.com Tue Aug 5 01:45:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 01:45:00 2003 Subject: graphic antialiasing [was Re: Amazing Splash Screen Effect...] In-Reply-To: Message-ID: <5D974B8E-C70F-11D7-9D05-000393529642@ARCplanning.com> On Monday, August 4, 2003, at 06:30 PM, Monte Goulding wrote: > The lack of anti-aliasing means that Rev can't really claim to be a > multimedia tool and > also is a disadvantage for charting etc in data management and > representation apps. Well it's still a multimedia tool either way, in my book :-) However: everyone who requires/desires antialiased (smooth edges, no jaggies) Graphic objects and drawing tools, please use the feature request form. http://www.runrev.com/Revolution1/developercentral/ featurerequestform.html Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From revlists at canelasoftware.com Tue Aug 5 01:49:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Aug 5 01:49:01 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: On Monday, August 4, 2003, at 05:30 PM, Monte Goulding wrote: > >>> >>> 1) Scale up 200 - 400 (using bilinear or bicubic, the default works >>> fine) >>> 2) Apply a Median filter >>> 3) Scale back down. >> >> Sounds easy enough! >> >>> Works good. You can check out what it looks like at the bottom of >>> this >>> page: >>> http://www.kolumbus.fi/erkki.halkka/PS_Actions/Actions01.html#AA >>> So, one would have to build a scaling and media filter DLL to RR. >> >> I can see how that would work for Image objects. What about capturing >> the data of a Rev Graphic object (not image) after it gets rasterized, >> before it's displayed on screen, to automatically antialias Graphics >> objects? Would be real spiffy for charts and games and so forth. >> > Yes, I had a customer that thought I was using 1 pixel wide vertical > columns > instead of a filled polygon in one chart. I was applying a data > smoothing > algorithm so they were wondering why the line didn't look smooth. I > had to > explain that I was smoothing the data and not the line but they > weren't too > impressed. I think this is quite an important feature. The lack of > anti-aliasing means that Rev can't really claim to be a multimedia > tool and > also is a disadvantage for charting etc in data management and > representation apps. > > Hang in there. Antialiasing images is coming to Rev soon! Best regards, Mark Talluto http://www.canelasoftware.com From ambassador at fourthworld.com Tue Aug 5 01:55:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 01:55:00 2003 Subject: graphic antialiasing [was Re: Amazing Splash Screen Effect...] In-Reply-To: <5D974B8E-C70F-11D7-9D05-000393529642@ARCplanning.com> Message-ID: > However: everyone who requires/desires antialiased (smooth edges, no > jaggies) Graphic objects and drawing tools, please use the feature > request form. > > http://www.runrev.com/Revolution1/developercentral/ > featurerequestform.html Two tips: - Putting "<" and ">" around URLs will help some mail clients better represent the link: - Please search the bug request database before posting. Processing duplicate entries takes time away from fixing bugs and adding features. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Tue Aug 5 02:02:02 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 02:02:02 2003 Subject: DMOZ Message-ID: I'm drafting a request to DMOZ to add a new "xTalk" (a collective term for Transcript, OpenScript, HyperTalk, SuperTalk, etc.) category to the Open Directory. The question at hand is: What would be the most appropriate catgory? I was considering: What do you think? -- Richard Gaskin Fourth World Media Corporation Software Design and Development for Mac, Windows, Linux, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc Fax: 323-225-0716 From alrice at ARCplanning.com Tue Aug 5 02:06:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 02:06:00 2003 Subject: graphic antialiasing [was Re: Amazing Splash Screen Effect...] In-Reply-To: Message-ID: <55E96CE6-C712-11D7-9D05-000393529642@ARCplanning.com> On Tuesday, August 5, 2003, at 12:47 AM, Richard Gaskin wrote: > - Please search the bug request database before posting. Processing > duplicate entries takes time away from fixing bugs and adding features. I don't understand... AFAIK (feature request form) <> bugzilla Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From edgore at shinra.com Tue Aug 5 02:11:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 5 02:11:01 2003 Subject: DMOZ References: Message-ID: <000701c35b1f$cd32fb10$6701a8c0@ed> That is probably where it will end up, but I can't help thinking that scripting has the connotations associated with JavaScript, or VBscript - ie, not for "real" applications. And Rev is soooo much more. ----- Original Message ----- From: "Richard Gaskin" To: "Rev Discussion List" Sent: Tuesday, August 05, 2003 12:54 AM Subject: DMOZ > I'm drafting a request to DMOZ to add a new "xTalk" (a collective term for > Transcript, OpenScript, HyperTalk, SuperTalk, etc.) category to the Open > Directory. > > The question at hand is: What would be the most appropriate catgory? I was > considering: > > > > What do you think? > > -- > Richard Gaskin > Fourth World Media Corporation > Software Design and Development for Mac, Windows, Linux, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc Fax: 323-225-0716 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Tue Aug 5 03:47:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 03:47:01 2003 Subject: graphic antialiasing [was Re: Amazing Splash Screen Effect...] In-Reply-To: <55E96CE6-C712-11D7-9D05-000393529642@ARCplanning.com> Message-ID: Alex Rice wrote: > On Tuesday, August 5, 2003, at 12:47 AM, Richard Gaskin wrote: > >> - Please search the bug request database before posting. Processing >> duplicate entries takes time away from fixing bugs and adding features. > > I don't understand... AFAIK (feature request form) <> bugzilla I think you may be right. My well intentioned tip was aiming to help folks just getting started with Bugzilla, but may have been misguided: I was recalling the "Enhancement" report type option and had mistaken that to be an appropriate place for feature requests as well. I use one form for both as do most of my clients, so it was probably just a case of habit coloring perception. :) It seems there is a separate form exclusively for feature requests: -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From joel at alpsgiken.gr.jp Tue Aug 5 04:05:01 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Tue Aug 5 04:05:01 2003 Subject: PICTs on MSWindows? Message-ID: <20030805175956.812D.JOEL@alpsgiken.gr.jp> Can Revolution play use PICT images directly on MSWindows boxes, or will it be necessary to convert the images to a MS-specific or non-Mac standard file format? -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp From gwills at ozemail.com.au Tue Aug 5 04:37:00 2003 From: gwills at ozemail.com.au (Greg Wills) Date: Tue Aug 5 04:37:00 2003 Subject: Graphics printing Message-ID: Hi All I have been having this problem for a year or so and have been waiting to see if Rev 2 would resolve the issue - but no it has not. I have been discussing this with Kevin, but I now suspect that it may be a computer problem, not a Rev problem. Issue. Printing a card that has buttons, fields, graphics and a large graphic on layer 1. On my home Mac, this prints beautifully. On a work "windows" machine, networked to a Lexmark printer, it prints the card OK, except for the large graphic in the background. I have tried many options on the printer and the closest that I got today was setting the output to 300dpi (down from 1200 and then 600), which at least printed some vague indication of a graphic in the background. Does anyone know of a work around, or should I resort to capturing the card as one graphic, then printing this? And if this is the case, is there an easy way of doing this? This issue has really been holding these projects up, so would love any suggestions. Thanks Greg Wills From psahores at easynet.fr Tue Aug 5 04:46:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Aug 5 04:46:01 2003 Subject: DMOZ In-Reply-To: <000701c35b1f$cd32fb10$6701a8c0@ed> References: <000701c35b1f$cd32fb10$6701a8c0@ed> Message-ID: <3F2F7B5C.1010505@easynet.fr> Edwin Gore wrote: > That is probably where it will end up, but I can't help thinking that > scripting has the connotations associated with JavaScript, or VBscript - ie, > not for "real" applications. > > And Rev is soooo much more. > Richard, Edwin, List, Why would we always have to apologies about using Xtalk's frameworks instead of just other scripting languages ? Even if, as an example, in about the syntax, the Xtalk's one is not so different from the Rexx's one, our XTalk's tools are really not only just "an other kind of scripting languages" but lots more, aka an entry point to a world of "GUI and scriptics driven VHLL" development. Bests, Pierre > > ----- Original Message ----- > From: "Richard Gaskin" > To: "Rev Discussion List" > Sent: Tuesday, August 05, 2003 12:54 AM > Subject: DMOZ > > > >>I'm drafting a request to DMOZ to add a new "xTalk" (a collective term > > for > >>Transcript, OpenScript, HyperTalk, SuperTalk, etc.) category to the Open >>Directory. >> >>The question at hand is: What would be the most appropriate catgory? I > > was > >>considering: >> >> >> >>What do you think? >> >>-- >> Richard Gaskin >> Fourth World Media Corporation >> Software Design and Development for Mac, Windows, Linux, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> Tel: 323-225-3717 AIM: FourthWorldInc Fax: 323-225-0716 >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From ludovic.thebault at laposte.net Tue Aug 5 06:36:00 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Tue Aug 5 06:36:00 2003 Subject: Rev. 2.1 andd licence Message-ID: <20030805132815571367.GyazMail.ludovic.thebault@laposte.net> Hello, I want to take an "Express" licence of rev (with the limited time offer). If Rev 2.1 is not released before 31 august, the update in rev 2.1 would be it possible ? Thanks. From kevin at runrev.com Tue Aug 5 07:11:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Tue Aug 5 07:11:01 2003 Subject: Script Limits Message-ID: Hi, As part of the transition process in the MetaCard acquisition, we're working out what to with the scriptLimits property when not developing with a licensed IDE or the 30 day trial. We plan to reduce the first value in the property, the one that lets you set scripts of 10 lines, to 0. So you'll still be able to use "do" but otherwise this loophole will be closed. If anyone has any objections to this, please contact me off list. The main objection I can see that someone might have is that they use this in their existing standalone. If that is the case, we'll work something out with you before making this change. Kind regards, Kevin Kevin Miller Runtime Revolution Limited: Software at the Speed of Thought Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From wmb at internettrainer.com Tue Aug 5 08:04:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Aug 5 08:04:00 2003 Subject: Rev. 2.1 andd licence In-Reply-To: <20030805132815571367.GyazMail.ludovic.thebault@laposte.net> Message-ID: On Dienstag, Aug 5, 2003, at 13:28 Europe/Vienna, Ludovic Th?bault wrote: > I want to take an "Express" licence of rev (with the limited time > offer). If Rev 2.1 is not released before 31 august, the update in rev > 2.1 would be it possible ? Interesting question..! And - what happens if the upgrade price is still secret until 31 August..? About 4 weeks we are waiting for the upgrade price now... Whats so hard to find out 4-5 numbers...? If you cant find it out post your ideas to the list and you will have an answer in 1 or 2 days... promised..;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rcozens at pon.net Tue Aug 5 08:30:01 2003 From: rcozens at pon.net (rcozens at pon.net) Date: Tue Aug 5 08:30:01 2003 Subject: FatOS engine In-Reply-To: References: Message-ID: > >>I have the Studio version to be developed in X (seem to work fine) >>and distribute to all. I tried to distribute to just X and it used >>the FAT engine. Anyone else in this boat? > >Why do you think it's using the FAT engine? John, Alex, et al: I noticed yesterday that the Engines folder downloaded with Rev 2.02 contains only one file: MacOSFat. Went to look at 2.01; but I trashed the last copy yesterday. -- 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 1573-1631 From klaus at major-k.de Tue Aug 5 09:04:00 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 5 09:04:00 2003 Subject: FatOS engine In-Reply-To: Message-ID: Hi John, Alex, et al, > I noticed yesterday that the Engines folder downloaded with Rev 2.02 > contains only one file: MacOSFat. i think this is a correct behaviour and the distribution is just ehmm... a bit economic ;-) Why store an additional OS X engine in the "engines" folder when the OS X engine is already present and really busy with driving the IDE??? ;-) Means, the OS X engine is in: Revolution(.app)/Contents/MacOs/ and its named, TADA: Revolution :-) > Went to look at 2.01; but I trashed the last copy yesterday. Same with this version... Hope that helps. Regards Klaus Major klaus at major-k.de www.major-k.de From jacque at hyperactivesw.com Tue Aug 5 09:09:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 5 09:09:01 2003 Subject: Graphics printing In-Reply-To: References: Message-ID: <3F2FB8F6.3060302@hyperactivesw.com> On 8/5/03 4:24 AM, Greg Wills wrote: > Hi All > > I have been having this problem for a year or so and have been waiting > to see if Rev 2 would resolve the issue - but no it has not. I have been > discussing this with Kevin, but I now suspect that it may be a computer > problem, not a Rev problem. > > Issue. Printing a card that has buttons, fields, graphics and a large > graphic on layer 1. On my home Mac, this prints beautifully. On a work > "windows" machine, networked to a Lexmark printer, it prints the card > OK, except for the large graphic in the background. This kind of thing is almost always a graphics driver issue. See if you can find a newer driver for the Windows machine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From yoy at comcast.net Tue Aug 5 09:22:01 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 09:22:01 2003 Subject: Build standalone errors. Message-ID: <000b01c35b5b$c92b8550$b2ea5144@fatal7lcf637rj> I'm having a problem with building a standalone on my W2k box. In Revolution, all my buttons have a nice gray shadow. After the build, in the standalone, the shadows turned black. Also the "Grey Stack Width Flipper" button on the main stack disappeared. What is happening here? Thanks, Andy From troy at rpsystems.net Tue Aug 5 09:46:00 2003 From: troy at rpsystems.net (Troy Rollins) Date: Tue Aug 5 09:46:00 2003 Subject: Team projects Message-ID: <9487355A-C752-11D7-8EE2-000A95A09CF8@rpsystems.net> Greetings, I've been away from working in Rev a while (off working mostly in Director, as that is what the clients wanted.) My company holds one "active" "pro" license and another "dormant." (One is paid up on renewals, the other not.) We have some projects which Rev is suited for coming up. We have also been doing some work in RealBasic, where we have 2 pro licenses as well. RB lured us with a project management feature, which incidentally, does not work. But then, the "Project Manager" module is in beta - and as we all know, "beta" means "lower your expectations of stability." I'm curious if anyone on this list actively develops software in teams (more than actively coding developer, plus other support people), and what techniques you are employing for maintaining a synchronized modular team project - ideally through a server. This functionality is pretty important if you have more than one developer on a team. Anyone doing anything in this way? (NOTE : The "RBPM" mentioned above works (if it worked) much like WebDav, with the ability to log in to a project, check out specific items for editing, and maintain synchronization of the latest versions. Like CVS but more simple and seamless.) -- Troy RPSystems, Ltd. http://www.rpsystems.net From thierry.arbellot at wanadoo.fr Tue Aug 5 10:02:01 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Tue Aug 5 10:02:01 2003 Subject: Build standalone errors. In-Reply-To: <000b01c35b5b$c92b8550$b2ea5144@fatal7lcf637rj> Message-ID: On Tuesday, Aug 5, 2003, at 16:10 Europe/Paris, yoy wrote: > I'm having a problem with building a standalone on my W2k box. > > In Revolution, all my buttons have a nice gray shadow. After the > build, in > the standalone, the shadows turned black. in the distribution builder, step 3, tab stacks, uncheck "apply default colors". > Also the "Grey Stack Width > Flipper" button on the main stack disappeared. > > What is happening here? > > Thanks, > > Andy > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Regards Thierry From jimlyons at earthlink.net Tue Aug 5 10:09:02 2003 From: jimlyons at earthlink.net (Jim Lyons) Date: Tue Aug 5 10:09:02 2003 Subject: How to examine Rev stacks? Message-ID: <3F2FC7A7.A322AC68@earthlink.net> One or more folks here recommended looking inside the Independent Study stack in the rev docs for an education in how to write scripts correctly. I've been trying for a little while to do that (even checked last month's list archive) but with no luck -- if I open the revtutorialindep.rev file with no other stacks open, that window comes up, but all the inspector menu choices are disabled. What's the trick to peeking at the rev doc stacks? Thanks, Jim Lyons From troy at rpsystems.net Tue Aug 5 10:19:01 2003 From: troy at rpsystems.net (Troy Rollins) Date: Tue Aug 5 10:19:01 2003 Subject: Teams Message-ID: <409AE300-C757-11D7-8EE2-000A95A09CF8@rpsystems.net> (Resend) Greetings, I've been away from working in Rev a while (off working mostly in Director, as that is what the clients wanted.) My company holds one "active" "pro" license and another "dormant." (One is paid up on renewals, the other not.) We have some projects which Rev is suited for coming up. We have also been doing some work in RealBasic, where we have 2 pro licenses as well. So, team development is very important to us. RB lured us with a project management feature, which incidentally, does not work. But then, the "Project Manager" module is in beta - and as we all know, "beta" means "lower your expectations of stability." I'm curious if anyone on this list actively develops software in teams (more than actively coding developer, plus other support people), and what techniques you are employing for maintaining a synchronized modular team project - ideally through a server. This functionality is pretty important if you have more than one developer on a team. Anyone doing anything in this way? (NOTE : The "RBPM" mentioned above works (if it worked) much like WebDav, with the ability to log in to a project, check out specific items for editing, and maintain synchronization of the latest versions. Like CVS but more simple and seamless.) -- Troy RPSystems, Ltd. http://www.rpsystems.net From jhurley at infostations.com Tue Aug 5 10:41:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Tue Aug 5 10:41:00 2003 Subject: Turtle Graphics In-Reply-To: <200308050550.BAA19352@www.runrev.com> References: <200308050550.BAA19352@www.runrev.com> Message-ID: Greetings all, I have been working on a optics tutorial. It involves the manipulation of mirrors, lenses, microscopes, telescopes, focal points, light rays, fish, bugs, eyes, etc. I have found it useful to modify the traditional Turtle Graphics so that the language may be applied to any RR control and not just to the turtle drawing cursor. This will not be useful to the majority on this list, those whose primary objective is text manipulation. But for those interested in educational software or games, you may find TG a useful tool. Actually there are three flavors, each useful in a different circumstance. The first is "Control Graphics." The turtle becomes a metaphor for a control, any control--button, field, image, graphic. The Turtle Graphic vocabulary acts on the custom properties assigned to each control. These properties are: px, py, pangle,p PenDown, pPoints They are in order: The x and y Cartesian coordinates (measured relative to the center of the screen) the heading, the pen state (up or down--drawing or not) and the graphic points which define the line drawn by the control if the pen is down. For example, in the following handler, a hare moves in a circle chased by a fox. (The hare and fox are buttons with the obvious icon.) on mouseUp startTurtle "hare" startTurtle "fox" put 0 into theta put 5 into dTheta repeat until theta > 360 tell "hare" setRA 200,theta -- Set the polar coord. radius and angle add dTheta to theta put xycor() into theHareLocation tell "fox" setheading direction(theHareLocation) forward 8 end repeat end mouseUp The see some example of "Control Graphics" run this in the msg box: go url "http://home.infostations.net/jhurley/ControlGraphics.rev" (Richard: Would this be better: go url ?) ---------------------------------- The second flavor is "Multiple Turtles" which is useful in programing graphic lines with different properties (color, line size, etc.) It only draws; it does not control the controls. The syntax is somewhat different from Control Graphics. As an example, the following handler draws a pinwheel with different colored spokes: on mouseUP put "red,orange,black,green,blue,violet" into colorList repeat with i = 1 to 6 put "Spoke" &i into tName startTurtle tName set the forecolor of grc tName to item i of colorlist set the linesize of grc tName to 8 setheading i*360/6 forward 100 stopturtle tName end repeat end mouseUP To see some examples run this in the msg box: go url "http://home.infostations.net/jhurley/MultipleTurtle.rev" ------------------------------------- And lastly, there is the flavor which is most useful in teaching science students to program in Transcript. It addresses only the turtle graphic (the cursor). It draws an image rather than a graphic. (A graphic slows down dramatically for lengthy draws--the graphic must repeatedly be redrawn with each additional graphic points since this is an *evolving* line.) It is based on the assumption that beginning students are more receptive to graphic output rather than text. This has the potential for quite sophisticated applications. After a short while students learn how to program satellite orbits--the satellite being the turtle (cursor). For some examples, run this in the msg box: go url "http://home.infostations.net/jhurley/TurtleGraphics.rev" All three tools are RR 1.1.1 compatible. Jim From cyberscope at dca.net Tue Aug 5 10:54:01 2003 From: cyberscope at dca.net (Cyberscope) Date: Tue Aug 5 10:54:01 2003 Subject: Displaying Live Video in an RR App In-Reply-To: <3F2F0DB1.5060104@hyperactivesw.com> Message-ID: <9E2ACB1C-C75C-11D7-9205-0003931E1B12@dca.net> I would be immensely grateful to anyone who could supply a few pointers for a project I am attempting to undertake. I would like to create a security-type application using R that can display video from two CCD cameras on the screen of a Mac or Windows machine. Ultimately, I would like to press a button and capture a screen image, with the desired video showing, and save it to disk. 1. Is this possible with RR or with RR in conjunction with other app(s) ? If yes, then: 2. Can I access the video through separate USB/Firewire adapter units (the kind sold for A/V input/capture) ? 3. Can RR Open/Read the USB drivers that come with these adapters ? Thank you, Gene Kennedy From dsc at swcp.com Tue Aug 5 11:00:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 11:00:00 2003 Subject: Script Limits In-Reply-To: Message-ID: On Tuesday, August 5, 2003, at 05:55 AM, Kevin Miller wrote: > As part of the transition process in the MetaCard acquisition, we're > working > out what to with the scriptLimits property when not developing with a > licensed IDE or the 30 day trial. We plan to reduce the first value > in the > property, the one that lets you set scripts of 10 lines, to 0. So > you'll > still be able to use "do" but otherwise this loophole will be closed. > > If anyone has any objections to this, please contact me off list. The > main > objection I can see that someone might have is that they use this in > their > existing standalone. If that is the case, we'll work something out > with you > before making this change. This is harsh. A handler has its own local variables and is encapsulated. A 'do' has to compile and is slower. Dar Scott ***** Dar Scott Dar Scott Consulting dsc at swcp.com http://www.swcp.com/dsc/ Home, Lab & Office: +1 505 299 9497 Cell: +1 505 350 6953 8637 Horacio Place NE Albuquerque, NM 87111 ***** From dsc at swcp.com Tue Aug 5 11:05:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 11:05:00 2003 Subject: graphic antialiasing [was Re: Amazing Splash Screen Effect...] In-Reply-To: <5D974B8E-C70F-11D7-9D05-000393529642@ARCplanning.com> Message-ID: On Tuesday, August 5, 2003, at 12:38 AM, Alex Rice wrote: >> The lack of anti-aliasing means that Rev can't really claim to be a >> multimedia tool and >> also is a disadvantage for charting etc in data management and >> representation apps. > > Well it's still a multimedia tool either way, in my book :-) > > However: everyone who requires/desires antialiased (smooth edges, no > jaggies) Graphic objects and drawing tools, please use the feature > request form. > > http://www.runrev.com/Revolution1/developercentral/ > featurerequestform.html There are ways one can code up antialiasing. My interval-arithmetic method will break in future versions, so a feature will be good. BTW, I thought the feature request form was depreciated. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From dsc at swcp.com Tue Aug 5 11:10:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 11:10:01 2003 Subject: Script Limits In-Reply-To: Message-ID: <6682B295-C75E-11D7-893F-000A9567A3E6@swcp.com> Yikes! I intended to send that to Kevin. Apologies to all. Dar From steve at nexpath.com Tue Aug 5 11:11:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Tue Aug 5 11:11:01 2003 Subject: Arrays and custom properties In-Reply-To: <20030805060544.48461.qmail@web11901.mail.yahoo.com> References: <20030805060544.48461.qmail@web11901.mail.yahoo.com> Message-ID: <3F2FD788.9090400@nexpath.com> Jan Schenkel wrote: > When using custom properties to store data in a stack, > I usually follow this strategy : > - 1 table = 1 custom property set > - each record is broken up into its fields > - 1 field = 1 custom property within the above set > - the key of the custom property is composed of the > primary key and the field name > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > The last sentence may be the most important. At the risk of asking a really dumb question, are you saying that the user data, when entered, is saved to the .rev file? Is this also true for a distribution file? Which means that RR is modifying an executable file? I am struggling a little with this concept; maybe I have completely missed the point. -Steve From ambassador at fourthworld.com Tue Aug 5 11:36:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 11:36:00 2003 Subject: Teams In-Reply-To: <409AE300-C757-11D7-8EE2-000A95A09CF8@rpsystems.net> Message-ID: Troy Rollins wrote: > I'm curious if anyone on this list actively develops software in teams > (more than actively coding developer, plus other support people), and > what techniques you are employing for maintaining a synchronized > modular team project - ideally through a server. > > This functionality is pretty important if you have more than one > developer on a team. > > Anyone doing anything in this way? > > (NOTE : The "RBPM" mentioned above works (if it worked) much like > WebDav, with the ability to log in to a project, check out specific > items for editing, and maintain synchronization of the latest versions. > Like CVS but more simple and seamless.) Amen to that. WebDAV is a mess. Given Rev's capabilities it wouldn't take more than a couple days to have a basic version that provides a check-in/check-out mechanism at the substack level, which should be sufficient for most projects. I've been daydreaming of this as an open source project, but when I snap out of my Walter Mitty moment I realize I don't have the spare non-billable time right now myself. :) In the meantime, I've worked in teams of four or five with Rev stuff and we did it with no special tools at all. We used a modular aproach with multiple stack files, having defined a few rules about how the parts fit together and what's expected from each. Each module had an owner, and the modules were prioritized according to how commonly they are used throughout the system. Only two of us lived in the same city, and with nothing more than an FTP repository, email, and a good long-distance rate it seemed to go well. It may sound primitive and indeed it was, remembering that the root of "primitive" is "prime". The coordination among less than half a dozen people is usually just simple enough to allow this sort of flow to work well. If you have a project with maybe a dozen or more developers it may get out of hand, but even then tools will only do so much: as Steve McConnel points out in "Rapid Development", if a single programmer has a productivity we can quantify as X, the second will add .5X and so on. The generic overhead of communication/coordination between team members is increased disproportionately as team size grows, and every project has a theoretical limit after which you have a case of diminishing returns. I'm a big fan of keeping teams as small as possible given constaints on the timeline, and for small teams you may not need any specialized tools beyond FTP, email, a telephone, and an occassional white board. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Tue Aug 5 11:38:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 11:38:01 2003 Subject: DMOZ In-Reply-To: <3F2F7B5C.1010505@easynet.fr> Message-ID: Pierre Sahores wrote: > Edwin Gore wrote: >> That is probably where it will end up, but I can't help thinking that >> scripting has the connotations associated with JavaScript, or VBscript - ie, >> not for "real" applications. >> >> And Rev is soooo much more. >> > > Richard, Edwin, List, > > Why would we always have to apologies about using Xtalk's frameworks > instead of just other scripting languages ? Even if, as an example, in > about the syntax, the Xtalk's one is not so different from the Rexx's > one, our XTalk's tools are really not only just "an other kind of > scripting languages" but lots more, aka an entry point to a world of > "GUI and scriptics driven VHLL" development. Does this imply that there is a more suitable DMOZ category than ? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Tue Aug 5 11:40:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 11:40:01 2003 Subject: graphic antialiasing [was Re: Amazing Splash Screen Effect...] In-Reply-To: Message-ID: Dar Scott wrote: > I thought the feature request form was depreciated. Hmmm... maybe the "Enhancement" report type option is the way to go. If the request form has been depricated then a redirect for that URL to Bugzilla would take less than a minute in GoLive and remove any ambiguity. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From troy at rpsystems.net Tue Aug 5 12:31:00 2003 From: troy at rpsystems.net (Troy Rollins) Date: Tue Aug 5 12:31:00 2003 Subject: Teams In-Reply-To: Message-ID: On Tuesday, August 5, 2003, at 12:26 PM, Richard Gaskin wrote: > In the meantime, I've worked in teams of four or five with Rev stuff > and we > did it with no special tools at all. We used a modular aproach with > multiple stack files, having defined a few rules about how the parts > fit > together and what's expected from each. Each module had an owner, and > the > modules were prioritized according to how commonly they are used > throughout > the system. Only two of us lived in the same city, and with nothing > more > than an FTP repository, email, and a good long-distance rate it seemed > to go > well. Well, sure. At the stack level that works. I can't figure a good way to do this any deeper in Rev. RB's promise(not yet fulfilled) is to allow such modularity at the control level. e.g. I place the button, you code it, I modify it, yours gets modified. Even in small groups of two to five, this could have a lot of advantages. I find that each developer has a natural inclination to certain types of routines, so with such a system each specialist can focus on their specialty. Since my team is all in-house, the verbal communications are a non-issue - the real-time synchronization is. -- Troy RPSystems, Ltd. http://www.rpsystems.net From alrice at ARCplanning.com Tue Aug 5 12:34:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 12:34:01 2003 Subject: graphic antialiasing [was Re: Amazing Splash Screen Effect...] In-Reply-To: Message-ID: <04548075-C76A-11D7-BB26-000393529642@ARCplanning.com> On Tuesday, August 5, 2003, at 09:58 AM, Dar Scott wrote: > There are ways one can code up antialiasing. My interval-arithmetic > method will break in future versions, so a feature will be good. For image objects, yes, but you cannot do it for Graphics objects and Paint tools unless you can intercept the rasterized bits before they are sent to the screen. I'm really glad to hear a feature is being added & hopefully it's graphics, paint and images, not just images. > BTW, I thought the feature request form was depreciated. Why? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From janschenkel at yahoo.com Tue Aug 5 12:35:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 5 12:35:00 2003 Subject: Build standalone errors. In-Reply-To: <000b01c35b5b$c92b8550$b2ea5144@fatal7lcf637rj> Message-ID: <20030805172847.25365.qmail@web11901.mail.yahoo.com> --- yoy wrote: > I'm having a problem with building a standalone on > my W2k box. > > In Revolution, all my buttons have a nice gray > shadow. After the build, in > the standalone, the shadows turned black. Also the > "Grey Stack Width > Flipper" button on the main stack disappeared. > > What is happening here? > > Thanks, > > Andy > Hi Andy, In the distribution builder, Step 3 - tab "Stacks" : check the box "Apply default colors" - tab "Inclusions" : check the box "Image and Pattern libraries" and select the Standard Icons item. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From yoy at comcast.net Tue Aug 5 12:41:01 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 12:41:01 2003 Subject: Build standalone errors. References: Message-ID: <000401c35b77$a7686b60$b2ea5144@fatal7lcf637rj> Thierry, That box was unchecked! Also my progress scrollbar has turned black with a dark purple thumb. I did get my little "Grey Stack Width Flipper" button back by including the metacard icons and default patterns (don't know which helped that). To make things clearer, I'm developing and standaloning (sp??) for my Win2k box. Maybe there's something about the Windows build that is bugged. I'm stumped. Thanks for your assistance though! Andy http://mywebpages.comcast.net/foxcat ----- Original Message ----- From: "Thierry Arbellot" To: Sent: Tuesday, August 05, 2003 10:56 AM Subject: Re: Build standalone errors. > On Tuesday, Aug 5, 2003, at 16:10 Europe/Paris, yoy wrote: > > > I'm having a problem with building a standalone on my W2k box. > > > > In Revolution, all my buttons have a nice gray shadow. After the > > build, in > > the standalone, the shadows turned black. > > in the distribution builder, step 3, tab stacks, uncheck "apply default > colors". > > > Also the "Grey Stack Width > > Flipper" button on the main stack disappeared. > > > > What is happening here? > > > > Thanks, > > > > Andy > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > Regards > > Thierry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Tue Aug 5 12:46:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 5 12:46:01 2003 Subject: Arrays and custom properties In-Reply-To: <3F2FD788.9090400@nexpath.com> Message-ID: <20030805173926.93387.qmail@web11904.mail.yahoo.com> --- Steve Gehlbach wrote: > Jan Schenkel wrote: > > > When using custom properties to store data in a > stack, > > I usually follow this strategy : > > - 1 table = 1 custom property set > > - each record is broken up into its fields > > - 1 field = 1 custom property within the above set > > - the key of the custom property is composed of > the > > primary key and the field name > > > "As we grow older, we grow both wiser and more > foolish at the same time." (La Rochefoucauld) > > > > The last sentence may be the most important. At the > risk of asking a > really dumb question, are you saying that the user > data, when entered, > is saved to the .rev file? Is this also true for a > distribution file? > Which means that RR is modifying an executable file? > I am struggling a > little with this concept; maybe I have completely > missed the point. > > -Steve > Hi Steve, You can't save data inside a stand-alone. However, you can save the data in a separate stack that you don't include in the stand-alone. Hope this clarified it, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alrice at ARCplanning.com Tue Aug 5 12:50:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 12:50:00 2003 Subject: Build standalone errors. In-Reply-To: <000401c35b77$a7686b60$b2ea5144@fatal7lcf637rj> Message-ID: <526FCDBE-C76C-11D7-BB26-000393529642@ARCplanning.com> On Tuesday, August 5, 2003, at 11:33 AM, yoy wrote: > Thierry, > > That box was unchecked! Also my progress scrollbar has turned black > with a > dark purple thumb. > > I did get my little "Grey Stack Width Flipper" button back by > including the > metacard icons and default patterns (don't know which helped that). > > To make things clearer, I'm developing and standaloning (sp??) for my > Win2k > box. Maybe there's something about the Windows build that is bugged. > > I'm stumped. > > Thanks for your assistance though! Andy, it is mysterious. I think you should investigate the backgroundColor properties of the the stack, card, group and control in question. The backgroundColor is inherited. So if the stack is getting a black background at run-time then it could cause other objects to look funny. There is a Windows Registry lookup you can do to get the current background color for the user's computer- which is a user-friendly thing to do anyways. Search RevNet for the WinXP background color fix. (also works for Win2K) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From janschenkel at yahoo.com Tue Aug 5 12:52:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 5 12:52:01 2003 Subject: Displaying Live Video in an RR App In-Reply-To: <9E2ACB1C-C75C-11D7-9205-0003931E1B12@dca.net> Message-ID: <20030805174547.38554.qmail@web11908.mail.yahoo.com> --- Cyberscope wrote: > > I would be immensely grateful to anyone who could > supply a few pointers > for a project I am attempting to undertake. > I would like to create a security-type application > using R that can > display video from two CCD cameras on the screen of > a Mac or > Windows machine. Ultimately, I would like to press > a button and > capture a screen image, with the desired video > showing, and save it to > disk. > > > 1. Is this possible with RR or with RR in > conjunction with other > app(s) ? > > If yes, then: > > 2. Can I access the video through separate > USB/Firewire adapter units > (the kind sold for A/V input/capture) ? > > 3. Can RR Open/Read the USB drivers that come with > these adapters ? > > > Thank you, > Gene Kennedy > Hi Gene, I assume you've had a look at the 'Video_Input.rev' sample stack ? If not, you definitely should :-) Revolution 2.0 added video recording functionality, and you can grab both individual images and movies. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From ambassador at fourthworld.com Tue Aug 5 13:03:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 13:03:01 2003 Subject: Teams In-Reply-To: Message-ID: Troy Rollins wrote: > On Tuesday, August 5, 2003, at 12:26 PM, Richard Gaskin wrote: > >> In the meantime, I've worked in teams of four or five with Rev stuff >> and we >> did it with no special tools at all. We used a modular aproach with >> multiple stack files, having defined a few rules about how the parts >> fit >> together and what's expected from each. Each module had an owner, and >> the >> modules were prioritized according to how commonly they are used >> throughout >> the system. Only two of us lived in the same city, and with nothing >> more >> than an FTP repository, email, and a good long-distance rate it seemed >> to go >> well. > > Well, sure. At the stack level that works. I can't figure a good way to > do this any deeper in Rev. > > RB's promise(not yet fulfilled) is to allow such modularity at the > control level. e.g. I place the button, you code it, I modify it, yours > gets modified. > > Even in small groups of two to five, this could have a lot of > advantages. I find that each developer has a natural inclination to > certain types of routines, so with such a system each specialist can > focus on their specialty. Since my team is all in-house, the verbal > communications are a non-issue - the real-time synchronization is. In our workgroups those specialties were given expression in libraries, separate stacks incorporated with "start using". Not only does keeping things at the stack level allow greater modularity in development, but it also keeps overall code size down and facilitates maintenance -- to deliver a new feature to a client can be as simple as an automated HTTP download of a relatively small file. I agree that object-level version control is desirable, if only for the theoretical perception of completeness. But from a real-world workflow standpoint, I haven't seen practical benefits from having that many cooks working on the same control layout simultaneously. That last word is key: I have had many cases where a programmer will do an initial layout and build functionality, and then hand it off to a UI specialist for fine-tuning. But if both were wrestling with the same layout before either is done I can only imagine a slower overall workflow. Well-crafted libraries can include objects, such as a table widget I built for a team recently that is used in nearly every stack. The object is a group, and the lib contains its own creation and property editor which is available only in the dev enviroment. Folks working on other stacks simply use the UI I provided to create the table and modify its contents, and any bugs or enhancement requests are sent to me, I incorporate them into the master lib, and everyone's stacks benefit from the update immediately. In all fairness there may benefits to allowing simultaneous object-level development of a given layout that my aging mind simple hasn't considered. If you could describe such a scenario it would be helpful for my understanding of the task of building such a version control tool. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From themacguy at macosx.com Tue Aug 5 13:18:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Aug 5 13:18:01 2003 Subject: Inconsistent Results - resolved but it still may be a bug In-Reply-To: <200308050550.BAA19352@www.runrev.com> Message-ID: <3B4A4AE6-C770-11D7-AE32-000A95763ABC@macosx.com> Sarah, Yes, your solution worked. I think I found the inconsistency, as well. I suspect that failing to specify the field: >> put the selectedText into userToDelete >> put the selectedLine into whatToRemove (at least in the second line of the above code) fails to permit another portion of the code: >> put word 2 of whatToRemove into theLine to properly refer to the following line of code: >> delete line theLine of field "users" However, it fails -part- of the time but not all of the time; usually the first time it fails but immediately repeating the same handler makes it work. I suppose this could be a bug but I'm not sure how to word it in bugzilla. Perhaps I could word it as "Rev behaves in a inconsistent manner when presented with non-specific code", or "Stupid is as stupid does." ;-) It should be noted that there is only one field on the card so, maybe, Rev is doing its best to help me accomplish what I intend but fails the first time (but not the second) because it can't get the reference to the field without my help. Perhaps the second time through it can deal with it. Very strange (but my fault and not Rev's). In any case, I'm using your code (put the hilitedLine of field "users" into whatToDelete) in place of mine and it works properly. Many thanks! Regards, Barry On Monday, Aug 4, 2003, at 23:50 America/Denver, Sarah wrote: > From: Sarah > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Hi Barry, > > My guess would be that first time through, the selectedText & > selectedLine are not defined. Perhaps clicking the button changed the > selection. > Here is how I would start: > > put the hilitedLine of fld "users" into theLine > put the selectedText of fld "users" into userToDelete > > Then ask for confirmation and if confirmed, delete line theLine of fld > "users" > > Cheers, > Sarah > > On Tuesday, August 5, 2003, at 02:21 am, Barry Levine wrote: > >> I have a handler that deletes the selected line of a list (a field >> called "users"). However, it only seems to work the second time I run >> it, not the first. Here's the handler: >> >> put the selectedText into userToDelete >> put the selectedLine into whatToRemove >> answer "Delete " & userToDelete & " from the student list?" with "No" >> or "Yes" >> if it is "No" then >> exit mouseUp >> else >> put word 2 of whatToRemove into theLine -- word 2 is the number of >> the line >> delete line theLine of field "users" >> end if >> >> If I run it, nothing happens. If I run it again immediately >> thereafter, it does work. >> >> Any ideas? >> >> Thanks, >> Barry >> From steve at nexpath.com Tue Aug 5 14:04:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Tue Aug 5 14:04:01 2003 Subject: Arrays and custom properties In-Reply-To: <20030805173926.93387.qmail@web11904.mail.yahoo.com> References: <20030805173926.93387.qmail@web11904.mail.yahoo.com> Message-ID: <3F2FFFF6.6080805@nexpath.com> Jan Schenkel wrote: > You can't save data inside a stand-alone. However, you > can save the data in a separate stack that you don't > include in the stand-alone. > > Hope this clarified it, If the separate stack is a .rev file, and it is loaded with the command start using "c:xxx.rev" or some similar method, then I understand, and this clarifies it. And it makes much more sense to have the data in a separate file. Thanks, Steve From alrice at ARCplanning.com Tue Aug 5 14:04:21 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 14:04:21 2003 Subject: graphic antialiasing [was Re: Amazing Splash Screen Effect...] In-Reply-To: <04548075-C76A-11D7-BB26-000393529642@ARCplanning.com> Message-ID: On Tuesday, August 5, 2003, at 11:26 AM, Alex Rice wrote: > For image objects, yes, but you cannot do it for Graphics objects and > Paint tools unless you can intercept the rasterized bits before they > are sent to the screen. > > I'm really glad to hear a feature is being added & hopefully it's > graphics, paint and images, not just images. Although at least with image antialiasing we could do a snapshot of a Paint/Graphic objects rect, resize that to get the antialiasing effect, then put the image into the toplayer. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jperryl at ecs.fullerton.edu Tue Aug 5 14:24:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Aug 5 14:24:01 2003 Subject: Make games with Revolution? In-Reply-To: <5D93094E-C687-11D7-8847-0030657D0A8E@igame3d.com> Message-ID: Hmmm... 3 months? I'll have to go through my students' work; their semester group project is to make a game. I also have an independent study student who is doing on on the Aztec empire in rev, but don't know if he can get it done well in the next three months. Perhaps this is the encouragement he needs! Judy On Mon, 4 Aug 2003, WIlliam Griffin wrote: > Hey everyone, > The uDevGame 2003 contest has begun. > http://www.idevgames.com/content/contest.php?id=10 > > Revolutuion and Metacard are valid tools for game that can be entered. > Wasn't sure if you folks were away of it. > Can you put together a game in 3 months. > > Tobi and I are contemplating using igame3d (www.igame3d.com) > our Revolution/OpenGL cross breed application. > > But a totally revolution based project may also intrigue us, maybe grow > some skills > we need for a better interface. > > I would love to see some games out of Rev. The contest requires you > allow > access to the .rev file or source code should you code an external from > scratch > for the game. Would be valuable to for future how to material I'm sure. > > I'd be happy just figuring out how to make some clones in Rev, just for > nostalgia and the learning experience. > > Anyone Game? > > Please discuss off list in email or over at idevgames.com forums. > > Insert Quarter, > Bill Griffin > bill at igame3d.com > From troy at rpsystems.net Tue Aug 5 14:34:00 2003 From: troy at rpsystems.net (Troy Rollins) Date: Tue Aug 5 14:34:00 2003 Subject: Teams In-Reply-To: Message-ID: On Tuesday, August 5, 2003, at 01:55 PM, Richard Gaskin wrote: > In all fairness there may benefits to allowing simultaneous > object-level > development of a given layout that my aging mind simple hasn't > considered. > If you could describe such a scenario it would be helpful for my > understanding of the task of building such a version control tool. ;-) Nah. It could be my convoluted view of the programming approach. Here at our shop, it works like this... I or another, as a project manager, build out an initial UI, and "dummy code" the controls (msgbox "You clicked me!") Basic method calls and other expectations of a given control are identified in notes and comments. Then, the team takes over. Graphics people develop graphics and put them in place. Coders start wiring things up, making comments for others to follow. The whole thing can be reviewed and tested as it comes together. Code refinements happen. Suddenly buttons which only threw a message window now perform SQL queries and populate fields with data... etc. The fonts for those fields, and the field positioning gets modified, and so on. A small team, with excellent communication facilities can assemble projects pretty quickly this way - or at least, it works for us! ;-) Using libraries and "start using" and such is both more clumsy and a step removed from the actual development process. Even CVS, with all of its associated bull, comes closer to the team development intent, I think. What I want is "WebDav for applications" - without all the broken stuff. ;-) -- Troy RPSystems, Ltd. http://www.rpsystems.net From jacque at hyperactivesw.com Tue Aug 5 14:43:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 5 14:43:00 2003 Subject: PICTs on MSWindows? In-Reply-To: <20030805175956.812D.JOEL@alpsgiken.gr.jp> References: <20030805175956.812D.JOEL@alpsgiken.gr.jp> Message-ID: <3F30073A.9060508@hyperactivesw.com> On 8/5/03 4:02 AM, Joel Rees wrote: > Can Revolution play use PICT images directly on MSWindows boxes, or will > it be necessary to convert the images to a MS-specific or non-Mac > standard file format? > PICT images can only be displayed on Macs, so you'll have to convert them. Gif and jpg are the most universal and go cross-platform readily. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Tue Aug 5 14:56:00 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 5 14:56:00 2003 Subject: Arrays and custom properties In-Reply-To: <3F2FFFF6.6080805@nexpath.com> Message-ID: Hi Steve, > Jan Schenkel wrote: > >> You can't save data inside a stand-alone. However, you >> can save the data in a separate stack that you don't >> include in the stand-alone. >> Hope this clarified it, > > If the separate stack is a .rev file, and it is loaded with the > command start using "c:xxx.rev" > or some similar method, This even not necessary, unless you have some common handler in that stack, that must be available to other stacks... If you only store data in that stack, you can simply access these (custom props etc...) by passing the filename like: ... set the uCData[tCustID,"name"] of stack "path to your/stack.rev" to fld "customerName" ... > then I understand, and this clarifies it. One thing less to understand :-) > And it makes much more sense to have the data in a separate file. It does ;-) > Thanks, > > Steve Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From yoy at comcast.net Tue Aug 5 15:04:00 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 15:04:00 2003 Subject: Build standalone errors. References: <20030805172847.25365.qmail@web11901.mail.yahoo.com> Message-ID: <000a01c35b8b$98063030$b2ea5144@fatal7lcf637rj> Jan, I followed your instructions and it still fails to build correctly. Maybe the View>Look and feel">Windows item is plagued?? Thanks, Andy ----- Original Message ----- From: "Jan Schenkel" To: Sent: Tuesday, August 05, 2003 1:28 PM Subject: Re: Build standalone errors. > --- yoy wrote: > > I'm having a problem with building a standalone on > > my W2k box. > > > > In Revolution, all my buttons have a nice gray > > shadow. After the build, in > > the standalone, the shadows turned black. Also the > > "Grey Stack Width > > Flipper" button on the main stack disappeared. > > > > What is happening here? > > > > Thanks, > > > > Andy > > > > Hi Andy, > > In the distribution builder, Step 3 > - tab "Stacks" : check the box "Apply default colors" > - tab "Inclusions" : check the box "Image and Pattern > libraries" and select the Standard Icons item. > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From yoy at comcast.net Tue Aug 5 15:08:02 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 15:08:02 2003 Subject: Build standalone errors. References: <526FCDBE-C76C-11D7-BB26-000393529642@ARCplanning.com> Message-ID: <000f01c35b8c$310758e0$b2ea5144@fatal7lcf637rj> Alex, The stack is the default grey that showed up when I created the stack. The standalone gets the same grey, but the button shadows turn black. This is day 5. Maybe I need to dig around in the docs some more. Thanks! Andy ----- Original Message ----- From: "Alex Rice" To: Sent: Tuesday, August 05, 2003 1:43 PM Subject: Re: Build standalone errors. > > On Tuesday, August 5, 2003, at 11:33 AM, yoy wrote: > > > Thierry, > > > > That box was unchecked! Also my progress scrollbar has turned black > > with a > > dark purple thumb. > > > > I did get my little "Grey Stack Width Flipper" button back by > > including the > > metacard icons and default patterns (don't know which helped that). > > > > To make things clearer, I'm developing and standaloning (sp??) for my > > Win2k > > box. Maybe there's something about the Windows build that is bugged. > > > > I'm stumped. > > > > Thanks for your assistance though! > > Andy, it is mysterious. I think you should investigate the > backgroundColor properties of the the stack, card, group and control in > question. The backgroundColor is inherited. So if the stack is getting > a black background at run-time then it could cause other objects to > look funny. > > There is a Windows Registry lookup you can do to get the current > background color for the user's computer- which is a user-friendly > thing to do anyways. Search RevNet for the WinXP background color fix. > (also works for Win2K) > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From steve at nexpath.com Tue Aug 5 15:51:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Tue Aug 5 15:51:01 2003 Subject: Teams In-Reply-To: References: Message-ID: <3F3018FD.5070100@nexpath.com> Troy Rollins wrote: > Using libraries and "start using" and such is both more clumsy and a > step removed from the actual development process. Even CVS, with all of > its associated bull, comes closer to the team development intent, I think. I have found the bull worth it, though at first it is confusing. But for distributed development, which is done more and more these days across not just rooms, but countries (and maybe soon even planets and solar systems :-)), CVS is hard to beat. Sourceforge, which uses CVS exclusively AFAIK, though sometimes slow, has been central to the collaborative methodology of the open source movement. I have personally been involved in a couple of these projects with engineers in the US, UK, and Germany, and it is quite a thing to be part of. But there in another reason for team development, and that is project stability. The loss of one team member, though difficult, does not kill the entire project, as it can when it is all in one person's head. IMHO, if a file format and method cannot be found to use RR in a team approach, I think all RR projects will self-limit to a smaller size and more limited problem set than otherwise would be attainable with a team approach. -Steve From steve at nexpath.com Tue Aug 5 15:54:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Tue Aug 5 15:54:00 2003 Subject: Arrays and custom properties In-Reply-To: References: Message-ID: <3F3019BD.5090906@nexpath.com> Klaus Major wrote: > If you only store data in that stack, you can simply access these > (custom props etc...) by > passing the filename like: > > ... > set the uCData[tCustID,"name"] of stack "path to your/stack.rev" to fld > "customerName" > ... Thanks, I would not have thought of this. Sometimes I get rigid paradigms in my brain and can't think outside of the box as well as I used to. -Steve From dsc at swcp.com Tue Aug 5 15:57:02 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 15:57:02 2003 Subject: unzip (not gzip/zlib) In-Reply-To: <4A843C77-C57C-11D7-8A96-000393529642@ARCplanning.com> Message-ID: <6D55C484-C786-11D7-B19D-000A9567A3E6@swcp.com> On Sunday, August 3, 2003, at 12:32 AM, Alex Rice wrote: > I need to unzip files in Rev. These are .zip files not .gz files. Is > there a Rev external for this? Are there any public domain C libraries > for this? I think there are, but I forgot the name. Clue: I think they are maintained by a site right here in New Mexico at Las Cruces or White Sands or something like that. Dar Scott From troy at rpsystems.net Tue Aug 5 16:01:01 2003 From: troy at rpsystems.net (Troy Rollins) Date: Tue Aug 5 16:01:01 2003 Subject: Teams In-Reply-To: <3F3018FD.5070100@nexpath.com> Message-ID: <0315030C-C787-11D7-8EE2-000A95A09CF8@rpsystems.net> On Tuesday, August 5, 2003, at 04:52 PM, Steve Gehlbach wrote: > IMHO, if a file format and method cannot be found to use RR in a team > approach, I think all RR projects will self-limit to a smaller size > and more limited problem set than otherwise would be attainable with a > team approach. Frankly, this has been the biggest limiter from us adapting to RR more fully. Even medium sized projects benefit from a well-controlled group environment, and the larger ones are extremely more complex to manage without it. -- Troy RPSystems, Ltd. http://www.rpsystems.net From alrice at ARCplanning.com Tue Aug 5 16:12:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 16:12:00 2003 Subject: Teams In-Reply-To: Message-ID: <7B71390D-C788-11D7-BB26-000393529642@ARCplanning.com> On Tuesday, August 5, 2003, at 10:26 AM, Richard Gaskin wrote: >> >> (NOTE : The "RBPM" mentioned above works (if it worked) much like >> WebDav, with the ability to log in to a project, check out specific >> items for editing, and maintain synchronization of the latest >> versions. >> Like CVS but more simple and seamless.) > > Amen to that. WebDAV is a mess Why do you think it's a mess? You mean RBPM is mess? WebDAV is just file sharing+locking via http. Seems like it would be an excellent starting point for a distributed revision control system. I think Subversion (supposed CVS replacement) in fact does use WebDAV as it's preferred mode of deployment. If that's so then... we need... 1) a Subversion DAV client for Rev 2) A Rev plugin to handle mapping between Rev IDE events and Subversion DAV requests. This could work! Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Tue Aug 5 16:19:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 16:19:01 2003 Subject: unzip (not gzip/zlib) In-Reply-To: <6D55C484-C786-11D7-B19D-000A9567A3E6@swcp.com> Message-ID: <90D5464C-C789-11D7-BB26-000393529642@ARCplanning.com> On Tuesday, August 5, 2003, at 02:50 PM, Dar Scott wrote: > I think there are, but I forgot the name. Clue: I think they are > maintained by a site right here in New Mexico at Las Cruces or White > Sands or something like that. > Thanks Dar- you are right it's They have Free unzip executables for every platform, and a C library that is easy to wrap in a Rev external. In fact it's just a single function call to unzip a .zip archive file into a char buffer. However I couldn't get the darn thing (the external) to compile on OS X. Couldn't compile the shared library on OS X either. There is a DLL for Win32. Linux support looks good. I'll probably wind up building external on Win32 and maybe Linux and use shell() the unzip executables on other platforms. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Tue Aug 5 16:25:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 16:25:01 2003 Subject: Arrays and custom properties In-Reply-To: Message-ID: <5E0EF2FB-C78A-11D7-B19D-000A9567A3E6@swcp.com> On Tuesday, August 5, 2003, at 01:49 PM, Klaus Major wrote: > If you only store data in that stack, you can simply access these > (custom props etc...) by > passing the filename like: > > ... > set the uCData[tCustID,"name"] of stack "path to your/stack.rev" to > fld "customerName" > ... I think I have been doing this the hard way. Could you elaborate? Dar Scott From erikhans08 at yahoo.com Tue Aug 5 16:28:02 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Aug 5 16:28:02 2003 Subject: visual effects/copy to clipboard/print field In-Reply-To: <3F2F0DB1.5060104@hyperactivesw.com> Message-ID: <20030805212135.49907.qmail@web20006.mail.yahoo.com> --- "J. Landman Gay" wrote: > A common mistake is to put the visual effect in > quotes. HyperCard > required it; Revolution forbids it. Take out > any quotation marks you may > have around visual effects, even if they are > more than one word. odd. you would think the expression would simply evaluate. do any other examples of this come to mind? thanks, Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From ambassador at fourthworld.com Tue Aug 5 16:33:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 16:33:01 2003 Subject: Teams In-Reply-To: <0315030C-C787-11D7-8EE2-000A95A09CF8@rpsystems.net> Message-ID: Troy Rollins wrote: > On Tuesday, August 5, 2003, at 04:52 PM, Steve Gehlbach wrote: > >> IMHO, if a file format and method cannot be found to use RR in a team >> approach, I think all RR projects will self-limit to a smaller size >> and more limited problem set than otherwise would be attainable with a >> team approach. > > Frankly, this has been the biggest limiter from us adapting to RR more > fully. Even medium sized projects benefit from a well-controlled group > environment, and the larger ones are extremely more complex to manage > without it. How is that necessarily a function of file format? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From troy at rpsystems.net Tue Aug 5 16:51:00 2003 From: troy at rpsystems.net (Troy Rollins) Date: Tue Aug 5 16:51:00 2003 Subject: Teams In-Reply-To: Message-ID: On Tuesday, August 5, 2003, at 05:25 PM, Richard Gaskin wrote: >> Frankly, this has been the biggest limiter from us adapting to RR more >> fully. Even medium sized projects benefit from a well-controlled group >> environment, and the larger ones are extremely more complex to manage >> without it. > > How is that necessarily a function of file format? The file format statement wasn't mine, but I would assume that the inference is that the stack metaphor is not modular enough to support a control-level current versioning system. I don't know whether or not that is true, but it certainly isn't lending itself to it from where I sit. The method comment portion... > >> IMHO, if a file format and method cannot be found to use RR in a team >> approach, I think all RR projects will self-limit to a smaller size >> and more limited problem set than otherwise would be attainable with a >> team approach. I would certainly agree with, as stated previously. -- Troy RPSystems, Ltd. http://www.rpsystems.net From sarahr at genesearch.com.au Tue Aug 5 17:19:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Aug 5 17:19:00 2003 Subject: DMOZ In-Reply-To: Message-ID: <615A2832-C791-11D7-B2FE-0003937A97B8@genesearch.com.au> What about: Sarah On Tuesday, August 5, 2003, at 04:59 pm, Richard Gaskin wrote: > I'm drafting a request to DMOZ to add a new "xTalk" (a collective > term for > Transcript, OpenScript, HyperTalk, SuperTalk, etc.) category to the > Open > Directory. > > The question at hand is: What would be the most appropriate catgory? > I was > considering: > > > > What do you think? > > -- > Richard Gaskin > Fourth World Media Corporation > Software Design and Development for Mac, Windows, Linux, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc Fax: 323-225-0716 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From francois.cuneo at cuk.ch Tue Aug 5 17:34:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Tue Aug 5 17:34:00 2003 Subject: How! What about accentued char on filenames!!!!?? In-Reply-To: Message-ID: Hi everybody! Big problem for me (one more time!) I have a script that save a new player and create a menu with the players. But if I put French names with accents (???...) the file is not good and incredible char replace the ? or ?. The file can't have the link with revolution and I'm unable to open it from the finder. Aaaaahhhhhhh! It's terrible! Is it a solution for me? Here is the script that create the file on a "Users Folder". on mouseup global cheminusers -- le chemin de cette pile varibale on preopenstack set the itemDelimiter to "/" ask "Nom de la pile svp!" if it is empty then exit to top put it &".edb" into nom_fichier put cheminusers&nom_fichier into chemin_sauvegarde set the visible of stack "chablon" to false clone stack "chablon" close stack "chablon" set the name of stack it to nom_fichier set the title of stack nom_fichier to (char 1 to -5 of nom_fichier) -- .edb* est enlev? set the stackFileType to "RevoEDB_" save stack nom_fichier as chemin_sauvegarde close stack nom_fichier end mouseup -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From sarahr at genesearch.com.au Tue Aug 5 17:34:09 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Aug 5 17:34:09 2003 Subject: Build standalone errors. In-Reply-To: <000401c35b77$a7686b60$b2ea5144@fatal7lcf637rj> Message-ID: Andy, Is this problem appearing in the main stack or in a sub stack? I was surprised to find that I needed to select each of the stacks and uncheck the "Apply default colors" button for each stack. I have also found some inconsistency - if unchecking this box doesn't work, try checking it and seeing what happens. Cheers, Sarah > That box was unchecked! Also my progress scrollbar has turned black > with a > dark purple thumb. > > I did get my little "Grey Stack Width Flipper" button back by > including the > metacard icons and default patterns (don't know which helped that). > > To make things clearer, I'm developing and standaloning (sp??) for my > Win2k > box. Maybe there's something about the Windows build that is bugged. > > I'm stumped. > > Thanks for your assistance though! > > Andy > http://mywebpages.comcast.net/foxcat >>> I'm having a problem with building a standalone on my W2k box. >>> >>> In Revolution, all my buttons have a nice gray shadow. After the >>> build, in >>> the standalone, the shadows turned black. >> >> in the distribution builder, step 3, tab stacks, uncheck "apply >> default >> colors". From steve at nexpath.com Tue Aug 5 17:46:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Tue Aug 5 17:46:01 2003 Subject: Teams In-Reply-To: References: Message-ID: <3F303425.60605@nexpath.com> Troy Rollins wrote: > The file format statement wasn't mine, but I would assume that the > inference is that the stack metaphor is not modular enough to support a > control-level current versioning system. I don't know whether or not > that is true, but it certainly isn't lending itself to it from where I sit. > Basically, my point was that the binary file is not the best when used with CVS, since you cannot track changes with any specificity. CVS is uses the "diff" program, which deals with changes on a text line by text line basis, and is quite smart at spotting insertions and deletions. CVS stores the final version in the repository file, along with diffs to each previous version. For binary, you have to tell CVS it is binary, and it will just store each version verbatim. With text files, you can ask CVS to tell you which lines were changed in the last checkin from any previous checkin, which is very useful if you are trying to track down a bug. It is also useful for tracking worker productivity (although a small amount of code that works is a lot better than a lot of code that doesn't, it is unfortunately a necessary management function to track progress in some way or another.) -Steve From edgore at shinra.com Tue Aug 5 17:47:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 5 17:47:00 2003 Subject: DMOZ References: <615A2832-C791-11D7-B2FE-0003937A97B8@genesearch.com.au> Message-ID: <001b01c35ba2$93a109e0$6701a8c0@ed> I think that's a much better catergory - Revolution (and the other Xtalks) are all much more than scripting language. ----- Original Message ----- From: "Sarah" To: Sent: Tuesday, August 05, 2003 4:08 PM Subject: Re: DMOZ > What about: > > > Sarah > > > On Tuesday, August 5, 2003, at 04:59 pm, Richard Gaskin wrote: > > > I'm drafting a request to DMOZ to add a new "xTalk" (a collective > > term for > > Transcript, OpenScript, HyperTalk, SuperTalk, etc.) category to the > > Open > > Directory. > > > > The question at hand is: What would be the most appropriate catgory? > > I was > > considering: > > > > > > > > What do you think? > > > > -- > > Richard Gaskin > > Fourth World Media Corporation > > Software Design and Development for Mac, Windows, Linux, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > Tel: 323-225-3717 AIM: FourthWorldInc Fax: 323-225-0716 > > > > _______________________________________________ > > 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 yoy at comcast.net Tue Aug 5 18:17:00 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 18:17:00 2003 Subject: Build standalone errors. References: Message-ID: <000401c35ba6$839366c0$b2ea5144@fatal7lcf637rj> Sarah, It's on the mainstack alright! I've tried all permutations of build settings and have had no luck. It's got to be some stack setting I'm not familiar with. Either that or it's a Win2k issue. It certainly is driving me crazy. Thanks, Andy ----- Original Message ----- From: "Sarah" To: Sent: Tuesday, August 05, 2003 6:25 PM Subject: Re: Build standalone errors. > Andy, > > Is this problem appearing in the main stack or in a sub stack? I was > surprised to find that I needed to select each of the stacks and > uncheck the "Apply default colors" button for each stack. I have also > found some inconsistency - if unchecking this box doesn't work, try > checking it and seeing what happens. > > Cheers, > Sarah > > > That box was unchecked! Also my progress scrollbar has turned black > > with a > > dark purple thumb. > > > > I did get my little "Grey Stack Width Flipper" button back by > > including the > > metacard icons and default patterns (don't know which helped that). > > > > To make things clearer, I'm developing and standaloning (sp??) for my > > Win2k > > box. Maybe there's something about the Windows build that is bugged. > > > > I'm stumped. > > > > Thanks for your assistance though! > > > > Andy > > http://mywebpages.comcast.net/foxcat > >>> I'm having a problem with building a standalone on my W2k box. > >>> > >>> In Revolution, all my buttons have a nice gray shadow. After the > >>> build, in > >>> the standalone, the shadows turned black. > >> > >> in the distribution builder, step 3, tab stacks, uncheck "apply > >> default > >> colors". > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alrice at ARCplanning.com Tue Aug 5 18:27:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 18:27:01 2003 Subject: Arrays and custom properties In-Reply-To: <5E0EF2FB-C78A-11D7-B19D-000A9567A3E6@swcp.com> Message-ID: <6326AFEB-C79B-11D7-BB26-000393529642@ARCplanning.com> > On Tuesday, August 5, 2003, at 01:49 PM, Klaus Major wrote: > >> If you only store data in that stack, you can simply access these >> (custom props etc...) by >> passing the filename like: >> >> ... >> set the uCData[tCustID,"name"] of stack "path to your/stack.rev" to >> fld "customerName" >> ... > > I think I have been doing this the hard way. Could you elaborate? > > Dar Scott The trick he's using there is referring to the stack by it's filename instead of it's name. Similarly you can do "go stack filename" as well as "go stack name" However, it's roughly 25% slower to use the filename form of set the uCData[...] of stack "filename", instead of having the stack open already, by "go invisible", and then referring to it like set uCData[...] of stack "name" Or do you mean the syntax of "the cPropSetName[arrayKey] of stack" is what' you haven't been doing? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dan at clearvisiontech.com Tue Aug 5 18:29:01 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue Aug 5 18:29:01 2003 Subject: Save as Image Message-ID: Has anyone discovered a way to save a stack (or portion of a stack) as an image while the stack is either offscreen or invisible? If so, I'd sure love to hear how ya did it! Thanks, Dan From monte at sweattechnologies.com Tue Aug 5 18:47:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 5 18:47:00 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: > Hang in there. Antialiasing images is coming to Rev soon! > Why would one want to use rev to anti-alias an image? It's graphics that are required. Regards Monte From danny at mogulhost.com Tue Aug 5 19:04:00 2003 From: danny at mogulhost.com (Danny Grizzle) Date: Tue Aug 5 19:04:00 2003 Subject: Update available for license.rev In-Reply-To: Message-ID: On 8/4/03 9:26 PM, "Bruce Robertson" wrote: >> My educated guess would be that if you are supposed to be replacing a >> file, than the replacement should have the same name (and be in the >> same location) as the file it is replacing... >> >> Just an educated guess,,, > > So your educated guess, upon receiving explicit instructions in the Rev > announcement, to download and rename a file, is that you should download and > NOT rename a file? You have a different education, I suppose. I've done all this, and authorization on 2.02 still fails. A dialog reports: "Invalid code. Please re-enter." This despite the note included with my original purchase: "Your key expires on Nov 5, 2003. What this means is that it will unlock any copy of Revolution made available up until that date. Copies unlocked prior to that date will continue to function after that date, but you will not be able to unlock new versions created after that date without a subscription." Danny Grizzle From revlists at canelasoftware.com Tue Aug 5 19:18:00 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Aug 5 19:18:00 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: <78E61C56-C7A2-11D7-98CA-000393C3F5BC@canelasoftware.com> On Tuesday, August 5, 2003, at 04:40 PM, Monte Goulding wrote: >> Hang in there. Antialiasing images is coming to Rev soon! >> > Why would one want to use rev to anti-alias an image? It's graphics > that are > required. > > I have a particular project I am working on that needs antialiased images. Windows does a pretty good job of munching grey scale images when sized down. It does pixel dropping vs antialiasing. Churns out a pretty ugly image when sized small. Antialiasing graphics (vector graphics I presume) would be a cool feature as well. Maybe we can get more of these graphic features into the engine as well. Best regards, Mark Talluto http://www.canelasoftware.com From edgore at shinra.com Tue Aug 5 19:44:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 5 19:44:01 2003 Subject: Amazing Splash Screen Effect... References: Message-ID: <001b01c35bb2$f139cff0$6701a8c0@ed> It's not so much anti-aliasing, as bilinier or bicubic scaling that's needed. I have an application that grabs images from Amazon Web Services and resizes them, and right now they look terrible in windows and linux, since the system resize on these uses nearest neighbor scaling. ----- Original Message ----- From: "Monte Goulding" To: Sent: Tuesday, August 05, 2003 5:40 PM Subject: RE: Amazing Splash Screen Effect... > > Hang in there. Antialiasing images is coming to Rev soon! > > > Why would one want to use rev to anti-alias an image? It's graphics that are > required. > > Regards > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From pixelbird at interisland.net Tue Aug 5 20:36:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Aug 5 20:36:01 2003 Subject: PICTs on MSWindows? In-Reply-To: <200308052135.RAA17128@www.runrev.com> Message-ID: Hi Joel, Jacque, et al, > Date: Tue, 05 Aug 2003 14:36:26 -0500 > From: "J. Landman Gay" > Organization: HyperActive Software > Subject: Re: PICTs on MSWindows? > > On 8/5/03 4:02 AM, Joel Rees wrote: > >> Can Revolution play use PICT images directly on MSWindows boxes, or will >> it be necessary to convert the images to a MS-specific or non-Mac >> standard file format? >> > > PICT images can only be displayed on Macs, so you'll have to convert > them. Gif and jpg are the most universal and go cross-platform readily. ---------- Well, Rev can't translate and convert a PICT file in Windows, but this can: HTH, Ken N. From yoy at comcast.net Tue Aug 5 20:41:01 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 20:41:01 2003 Subject: Revolution speed sucks? Message-ID: <000901c35bba$a24f0c40$b2ea5144@fatal7lcf637rj> I ran my stack "OmniLotto" and generated 5000 random powerball games. Then it ran. It .took over 30 minutes!!! I saved the 5000 gamelist and ran it through my PERLotto perl script out to "results.txt". It took only 1 second!!!!!!! What gives? Are my script routines way out of order? It certainly seems so! GEEZ......... Day 5 (?) gonzo. Andy From dsc at swcp.com Tue Aug 5 20:56:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 20:56:00 2003 Subject: Teams In-Reply-To: <3F303425.60605@nexpath.com> Message-ID: <4827B751-C7B0-11D7-B19D-000A9567A3E6@swcp.com> On Tuesday, August 5, 2003, at 04:48 PM, Steve Gehlbach wrote: > (although a small amount of code that works is a lot better than a lot > of code that doesn't, it is unfortunately a necessary management > function to track progress in some way or another.) Now is it more progress or less progress if my code is half the size it was the day before? Dar From monte at sweattechnologies.com Tue Aug 5 21:00:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 5 21:00:01 2003 Subject: Revolution speed sucks? In-Reply-To: <000901c35bba$a24f0c40$b2ea5144@fatal7lcf637rj> Message-ID: > > I ran my stack "OmniLotto" and generated 5000 random powerball games. Then > it ran. It .took over 30 minutes!!! > > I saved the 5000 gamelist and ran it through my PERLotto perl > script out to > "results.txt". > > It took only 1 second!!!!!!! > > What gives? Are my script routines way out of order? It certainly > seems so! Probably. That seems very slow. What's the url for your stack again? Scripts that take a very long time generally do stuff like put something after a field in every repeat loop rather than build a variable then display at the end. Regards Monte From edgore at shinra.com Tue Aug 5 21:01:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 5 21:01:01 2003 Subject: Revolution speed sucks? References: <000901c35bba$a24f0c40$b2ea5144@fatal7lcf637rj> Message-ID: <000f01c35bbd$b28e6990$6701a8c0@ed> Hmmm...something seems very wrong with that speed. Can you tell us a little bit more about what you are doing (or do you have the stack posted somewhere)? ----- Original Message ----- From: "yoy" To: Sent: Tuesday, August 05, 2003 7:32 PM Subject: Revolution speed sucks? > I ran my stack "OmniLotto" and generated 5000 random powerball games. Then > it ran. It .took over 30 minutes!!! > > I saved the 5000 gamelist and ran it through my PERLotto perl script out to > "results.txt". > > It took only 1 second!!!!!!! > > What gives? Are my script routines way out of order? It certainly seems so! > > GEEZ......... Day 5 (?) gonzo. > > Andy > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Tue Aug 5 21:16:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 21:16:00 2003 Subject: Arrays and custom properties In-Reply-To: <6326AFEB-C79B-11D7-BB26-000393529642@ARCplanning.com> Message-ID: On Tuesday, August 5, 2003, at 05:20 PM, Alex Rice wrote: > However, it's roughly 25% slower to use the filename form of set the > uCData[...] of stack "filename", instead of having the stack open > already, by "go invisible", and then referring to it like set > uCData[...] of stack "name" Do I still save the stack? Does the first use load it and then it stays loaded? Does it save after every set to a property? > Or do you mean the syntax of "the cPropSetName[arrayKey] of stack" is > what' you haven't been doing? Both! Well, I have figured I'd have to get into custom property sets eventually and I haven't been worried about that. (I am confused by the comma.) Do I have to use custom property sets to access properties from unopened files? No matter how long I use Revolution I think I will always be learning. Dar Scott From dsc at swcp.com Tue Aug 5 21:19:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 21:19:01 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: <7D31F9F8-C7B3-11D7-B19D-000A9567A3E6@swcp.com> On Tuesday, August 5, 2003, at 07:53 PM, Monte Goulding wrote: > Scripts that take a very long time generally do stuff like put > something > after a field in every repeat loop rather than build a variable then > display > at the end. If I was a bettin' man, I'd bet on exactly that. Maybe I'll but something on 'repeat for each line...'. Dar Scott From psahores at easynet.fr Tue Aug 5 21:24:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Aug 5 21:24:01 2003 Subject: Revolution speed sucks? In-Reply-To: <000901c35bba$a24f0c40$b2ea5144@fatal7lcf637rj> References: <000901c35bba$a24f0c40$b2ea5144@fatal7lcf637rj> Message-ID: <3F30651C.2020801@easynet.fr> yoy wrote: > I ran my stack "OmniLotto" and generated 5000 random powerball games. Then > it ran. It .took over 30 minutes!!! > > I saved the 5000 gamelist and ran it through my PERLotto perl script out to > "results.txt". > > It took only 1 second!!!!!!! > > What gives? Are my script routines way out of order? It certainly seems so! > > GEEZ......... Day 5 (?) gonzo. > > Andy > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > About GUI-based apps : I had, some days ago, a real difficulty to figure me out why Rev runs slower than MC in some situations : The only work-around i found went to avoid to put too many objects on a same card. About console-mode apps : Rev and MC are exactly similar about the high speed (lots faster than Java-based apps) they are able to handle in running console-mode deamon apps. About Jaguar, regarding Linux or Win32 : In about GUI-based RR/MC apps under Jaguar : They are running lots more slower than under Linux or Win32. Hope that Panther will be a little more "reactive". -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From steve at nexpath.com Tue Aug 5 21:36:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Tue Aug 5 21:36:00 2003 Subject: Teams In-Reply-To: <4827B751-C7B0-11D7-B19D-000A9567A3E6@swcp.com> References: <4827B751-C7B0-11D7-B19D-000A9567A3E6@swcp.com> Message-ID: <3F306827.2090009@nexpath.com> Dar Scott wrote: > > Now is it more progress or less progress if my code is half the size it > was the day before? > Ha Ha! I knew this could be a touchy subject. IMHO, this is progress. It indicates to me reaching a point where you have organized the problem or solution better, probably reduced much code to subroutines or methods, simplified the solution in a more elegant manner. It could of course mean you completely misunderstood the problem and had to start over, but I will give you the benefit of the doubt. But I think with CVS you look for change. But you do have to be careful, you frequently will get a lot of whatever you measure. So if you merely measures lines, then a clever and cynical person will simply unroll loops and subs, and generate a lot of code. -Steve From jtenny at willamette.edu Tue Aug 5 21:39:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Tue Aug 5 21:39:00 2003 Subject: Re FatOS engine In-Reply-To: <200308051403.KAA30077@www.runrev.com> Message-ID: "Why store an additional OS X engine in the "engines" folder when the OS X engine is already present and really busy with driving the IDE??? ;-) Means, the OS X engine is in: Revolution(.app)/Contents/MacOs/ and its named, TADA: Revolution :-)" =========== However =========== When the distribution is built, it says it's using the FatOS engine, even though I designated the build for X only. Is that appropriate behavior? John From sarahr at genesearch.com.au Tue Aug 5 21:47:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Aug 5 21:47:00 2003 Subject: Revolution speed sucks? In-Reply-To: <000901c35bba$a24f0c40$b2ea5144@fatal7lcf637rj> Message-ID: <16FB6FC0-C7B7-11D7-B2FE-0003937A97B8@genesearch.com.au> Hi Andy, I would guess you have run into a factor that is both a strength & weakness of xTalks like Revolution: there are ALWAYS multiple ways of doing things and some are much slower than others. If it is a one-off routine, it really doesn't matter how you go, but in a frequently repeated routine, there will almost certainly be ways of changing your scripts in order to speed it up. If you check my web page you will find a stack listed near the bottom called "Speed.rev". It shows some of the common ways to speed up scripts and allows you to test the results on your own computer. Richard Gaskin at has a stack called RevBench that allows you to run timing tests on alternate scripts. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On Wednesday, August 6, 2003, at 11:39 am, yoy wrote: > I ran my stack "OmniLotto" and generated 5000 random powerball games. > Then > it ran. It .took over 30 minutes!!! > > I saved the 5000 gamelist and ran it through my PERLotto perl script > out to > "results.txt". > > It took only 1 second!!!!!!! > > What gives? Are my script routines way out of order? It certainly > seems so! > > GEEZ......... Day 5 (?) gonzo. > > Andy From jtenny at willamette.edu Tue Aug 5 21:56:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Tue Aug 5 21:56:01 2003 Subject: Saving changes In-Reply-To: <200308020633.CAA10431@www.runrev.com> Message-ID: <48A340E8-C7B8-11D7-A9C1-000393911676@willamette.edu> The following from a S-Card user re changes in a distributed stack. Is it really a "laborious" task to have cards save the data entered on them in a distributed stack or is there some nice checkbox to click somewhere? -------- "If I create a Rev stack and make a standalone of it, put it on another machine. It doesn't save changes. For example when I test out your Observation Tools stack. I go to maybe the positive/negative statements cards. Play with it a bit. Close the stack. Open it again and all the data on the pos/neg card is lost. They must be saved in a separate document because that's the way Windows does it. That's fine, but the last I checked, Rev didn't automate that process. I had to go in and laboriously script which fields I wanted changes saved from and where those changes were saved. That's something Rev doesn't point out in it ads. This doesn't happen, of course, in SuperCard. Changes are automatically saved. No muss, no fuss." ======= John From dsc at swcp.com Tue Aug 5 21:57:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 21:57:01 2003 Subject: Revolution speed sucks? In-Reply-To: <3F30651C.2020801@easynet.fr> Message-ID: On Tuesday, August 5, 2003, at 08:17 PM, Pierre Sahores wrote: > About console-mode apps : Rev and MC are exactly similar about the > high speed (lots faster than Java-based apps) they are able to handle > in running console-mode deamon apps. I'd like to learn more of these. Dar Scott From davethebrv at mac.com Tue Aug 5 21:59:01 2003 From: davethebrv at mac.com (David Beck) Date: Tue Aug 5 21:59:01 2003 Subject: Endian conversion problems In-Reply-To: <3F30651C.2020801@easynet.fr> Message-ID: Hey, I have been using rev for a couple years now and think its great! But I recently ran into an issue which I am having trouble resolving and was hoping somebody on this list could help out. My problem is as follows: I have a stack that I am building for both Mac and Windows. It needs to be able to create and read binary files. Much of the data I need to read/write consists of 2-byte integers. The docs gave me the impression (although I haven't confirmed this) that the read/write to file commands using the int2 keyword are endian dependant, meaning that on the Mac side network byte order is used, but on the Windows side host byte order is used. Obviously I want the files to be consistent so that the Mac Rev app can create file that can be read with the Win Rev app and visa vera. I have decided to go with network byte order for the files since my user base will be mostly Mac people. The question is: What is the best way to read/write a bunch of 2-byte integers in network byte order on Windows?? I looked in to read/writing raw chars, and then using the binaryEncode/binaryDecode functions to translate the raw binary data to numbers, but those functions require a parameter for every value that gets encoded/decoded. I need to be able to read/write sequences of up to 1120 2-byte integers in a reasonable amount of time, and I can neither supply 1120 arguments to those functions, nor can I read/write the ints one at a time, since doing this is unacceptably slow. Sombody must have run into this problem before. Did anybody figure out a decent solution?? Thanks in advance, Dave ps. As a side note, I noticed that there is no support for 4-byte integers in network byte order from the binaryEncode/binaryDecode functions. This isn't a problem for me, since almost all of the data I need to read/write is 2-byte integers, but I thought it was strange since there is support for 4-byte integers in host byte order from the same functions. Just thought I'd mention that in case it was an oversight and there is Rev staff present. From gcanyon at inspiredlogic.com Tue Aug 5 22:03:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Aug 5 22:03:00 2003 Subject: DMOZ In-Reply-To: Message-ID: <915D6FF8-C7B9-11D7-AC42-003065683ECC@inspiredlogic.com> On Tuesday, August 5, 2003, at 09:28 AM, Richard Gaskin wrote: > Does this imply that there is a more suitable DMOZ category than > ? Perhaps: ? Both would be better -- do they limit us to one? regards, Geoff Canyon gcanyon at inspiredlogic.com From yoy at comcast.net Tue Aug 5 22:11:01 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 22:11:01 2003 Subject: Revolution speed sucks? Combined reply. References: Message-ID: <001c01c35bc7$51635630$b2ea5144@fatal7lcf637rj> Monte and others, My .rev stack is available at http://mywebpages.comcast.net/foxcat/OmniLotto.rev There are bugs in it so for best results go to the Prefs stack first and click the OK button then press the Start button on the mainstack. I'm still scratching my head on that issue. I'm happy to share the magic, just be forwarned! ;-) My PERLotto perl script (for comparison) is also available at my website: http://mywebpages.comcast.net/foxcat at the bottom of the site. Being new to Revolution, it's certain that my learning curve has caused faults in developing the stack. All the best, Andy ----- Original Message ----- From: "Monte Goulding" To: Sent: Tuesday, August 05, 2003 9:53 PM Subject: RE: Revolution speed sucks? > > > > I ran my stack "OmniLotto" and generated 5000 random powerball games. Then > > it ran. It .took over 30 minutes!!! > > > > I saved the 5000 gamelist and ran it through my PERLotto perl > > script out to > > "results.txt". > > > > It took only 1 second!!!!!!! > > > > What gives? Are my script routines way out of order? It certainly > > seems so! > > Probably. That seems very slow. What's the url for your stack again? > > Scripts that take a very long time generally do stuff like put something > after a field in every repeat loop rather than build a variable then display > at the end. > > Regards > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Tue Aug 5 22:25:03 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 22:25:03 2003 Subject: DMOZ In-Reply-To: <001b01c35ba2$93a109e0$6701a8c0@ed> Message-ID: >> I'm drafting a request to DMOZ to add a new "xTalk" (a collective >> term for Transcript, OpenScript, HyperTalk, SuperTalk, etc.) >> category to the Open Directory. >> >> The question at hand is: What would be the most appropriate catgory? >> I was considering: >> >> >> >> What do you think? > > What about: > > > Sarah That would be a good category for Revolution, but my interest at the moment is in an xTalk category. a category is a much larger thing than a single entry in an existing category, which just about anyone can add. As a public resource used by nearly every major search engine, DMOZ may be less inclined to devote a whole category for every proprietary product. But xTalk is a non-proprietary family of languages, and as such might stand a better chance of gaining entry. By furthering the xTalk family of languages we help legitimize it against unfair perceptions that it's specific to any single product. Such legitimization may be useful for helping both bean counters and hardened Java junkies consider things like Transcript with an open mind. Anyone who sees other xTalk implementations as competitors is thinking way too small. If we're successful it's not unreasonable to expect that we could liberate at least 10% of the world's Java developers from the tedium and lost productivity of their current workflow. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From tuviah at runrev.com Tue Aug 5 22:33:02 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Tue Aug 5 22:33:02 2003 Subject: Teams References: <200308060120.VAA24819@www.runrev.com> Message-ID: <054001c35bca$8cca1080$0100a8c0@user> >Now is it more progress or less progress if my code is half the size it >was the day before? Getting OT, but I believe one should penalized from writing smart modular, OO code. In addition developers should be encouraged to work on their design first, so it's requires fewer lines of code in the future to modify or improve the program. I suppose that's why coders just love traditional languages because it's takes 400 or so lines of Java to create a damn alias! The way to get programmers more productive is to get estimates, and set realistic goals. This way works for both managers and developers. Developers are then encouraged to use best of breed tools and research ways to get things done faster and smarter, and are compensated with more free time. Otherwise they can create a ton of spaghetti, and spend the next few weeks finding bugs in it. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From dsc at swcp.com Tue Aug 5 22:34:02 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 22:34:02 2003 Subject: Endian conversion problems In-Reply-To: Message-ID: On Tuesday, August 5, 2003, at 08:51 PM, David Beck wrote: > The question is: What is the best way to read/write a bunch of 2-byte > integers in network byte order on Windows?? Network order is a good way to go. > I looked in to read/writing raw chars, and then using the > binaryEncode/binaryDecode functions to translate the raw binary data to > numbers, but those functions require a parameter for every value that > gets > encoded/decoded. I need to be able to read/write sequences of up to > 1120 > 2-byte integers in a reasonable amount of time, and I can neither > supply > 1120 arguments to those functions, nor can I read/write the ints one > at a > time, since doing this is unacceptably slow. You can always use numToChar() and charToNum(), but I think the direction you are heading is probably better in this case. Read and write your file with URL "binfile:...". For writing, accumulate the file value with 'put ... after...' and then put the file. That is fast. Create your two byte strings one at a time with binaryEncode() in a loop and append them. For reading files, you can use "repeat with i = 1 to the length of myBinFile by 2". The use i to pick off a two char string and binaryDecode() that. (I'm not sure I have that last cycle of that loop right.) I don't think that is as slow as it looks. (Even so, I have suggested an accumulation syntax for the format strings to handle data like this; we'll see if that goes anywhere.) > ps. As a side note, I noticed that there is no support for 4-byte > integers > in network byte order from the binaryEncode/binaryDecode functions. > This > isn't a problem for me, since almost all of the data I need to > read/write is > 2-byte integers, but I thought it was strange since there is support > for > 4-byte integers in host byte order from the same functions. I think this Transcript Dictionary format description is in error: > N: convert next amount 4-byte chunks of data to unsigned integers in > network byte order This is actually signed. (I think it might accept an unsigned number in the high range in binaryEncode(), though.) Dar Scott From monte at sweattechnologies.com Tue Aug 5 22:37:02 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 5 22:37:02 2003 Subject: Saving changes In-Reply-To: <48A340E8-C7B8-11D7-A9C1-000393911676@willamette.edu> Message-ID: > > The following from a S-Card user re changes in a distributed stack. Is > it really a "laborious" task to have cards save the data entered on > them in a distributed stack or is there some nice checkbox to click > somewhere? > -------- > "If I create a Rev stack and make a standalone of it, put it on another > machine. It doesn't save changes. For example when I test out your > Observation Tools stack. I go to maybe the positive/negative statements > cards. Play with it a bit. Close the stack. Open it again and all the > data on the pos/neg card is lost. They must be saved in a separate > document because that's the way Windows does it. That's fine, but the > last I checked, Rev didn't automate that process. I had to go in and > laboriously script which fields I wanted changes saved from and where > those changes were saved. That's something Rev doesn't point out in it > ads. This doesn't happen, of course, in SuperCard. Changes are > automatically saved. No muss, no fuss." I guess there are only two responses to this: 1) How is "save this stack" laborious? 2) What if you don't want the app to automatically save everything? It could be a nightmare for private data. Regards Monte From gcanyon at inspiredlogic.com Tue Aug 5 22:44:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Aug 5 22:44:01 2003 Subject: Revolution speed sucks? In-Reply-To: <000901c35bba$a24f0c40$b2ea5144@fatal7lcf637rj> Message-ID: <507EC772-C7BF-11D7-AC42-003065683ECC@inspiredlogic.com> If the script I'm looking at is the one you're talking about, it's parsing through the contents of the field one bit at a time, and setting the style of text (text color) bit by bit. For speed, you need to get the contents of the field, work on that (paying special attention to repeat for each) and then set the HTMLtext of the field. This will be much faster. On Tuesday, August 5, 2003, at 06:32 PM, yoy wrote: > I ran my stack "OmniLotto" and generated 5000 random powerball games. > Then > it ran. It .took over 30 minutes!!! > > I saved the 5000 gamelist and ran it through my PERLotto perl script > out to > "results.txt". > > It took only 1 second!!!!!!! > > What gives? Are my script routines way out of order? It certainly > seems so! > > GEEZ......... Day 5 (?) gonzo. > > Andy > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > regards, Geoff Canyon gcanyon at inspiredlogic.com From dsc at swcp.com Tue Aug 5 22:47:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 5 22:47:01 2003 Subject: Teams In-Reply-To: <054001c35bca$8cca1080$0100a8c0@user> Message-ID: <84018DD2-C7BF-11D7-B19D-000A9567A3E6@swcp.com> On Tuesday, August 5, 2003, at 09:26 PM, Tuviah Snyder wrote: >> Now is it more progress or less progress if my code is half the size >> it >> was the day before? > Getting OT, but I believe one should penalized from writing smart > modular, > OO code. In addition developers should be encouraged to work on their > design > first, so it's requires fewer lines of code in the future to modify or > improve the program. Right. > The way to get programmers more productive is to get estimates, and set > realistic goals. This way works for both managers and developers. > Developers > are then encouraged to use best of breed tools and research ways to get > things done faster and smarter, and are compensated with more free > time. > Otherwise they can create a ton of spaghetti, and spend the next few > weeks > finding bugs in it. Yes! RunRev should get somebody like Tuviah in their team! Oh. Wait. They did. Cool! ...yeah, getting OT... Dar Scott From ambassador at fourthworld.com Tue Aug 5 22:57:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 22:57:01 2003 Subject: Saving changes In-Reply-To: <48A340E8-C7B8-11D7-A9C1-000393911676@willamette.edu> Message-ID: John Tenny wrote: > The following from a S-Card user re changes in a distributed stack. Is > it really a "laborious" task to have cards save the data entered on > them in a distributed stack or is there some nice checkbox to click > somewhere? > -------- > "If I create a Rev stack and make a standalone of it, put it on another > machine. It doesn't save changes. For example when I test out your > Observation Tools stack. I go to maybe the positive/negative statements > cards. Play with it a bit. Close the stack. Open it again and all the > data on the pos/neg card is lost. They must be saved in a separate > document because that's the way Windows does it. That's fine, but the > last I checked, Rev didn't automate that process. I had to go in and > laboriously script which fields I wanted changes saved from and where > those changes were saved. That's something Rev doesn't point out in it > ads. This doesn't happen, of course, in SuperCard. Changes are > automatically saved. No muss, no fuss." > ======= Did I miss that on this list? It's neither a checkbox nor necessarily laborious. As with porting from HyperCard to SuperCard or between any two xTalks, some changes are likely needed to account for differences in each program. After all, if they were exactly the same there would be only one. ;) Here, what you've encountered characterizes most of the distictions between SuperCard and Rev: SuperCard only runs on Mac OS while Rev runs on all major operating systems. Mac OS allows an application to write to itself but most other operating systems don't. So Mac/SuperCard users have a unique disadvantage when porting to multi-platform Rev as they have been acclimated to a habit that is not possible elsewhere, requiring a little re-thinking of data storage to get past it. It's worth noting that even though Mac OS allows an app to write for itself, Apple recommends storing user data outside of the app in a user folder, so the following discussion would also benefit SC users looking to modernize their apps: In its simplest form, all you have to do is save the substack holding the data (what would be a "window" in SC) to a separate file outside the stack that is to be the standalone. Just have the standalone open that stack when it starts and from that point on you can address it by its short name -- you can even use the SC syntax if you prefer ("window" is often accepted as a synonym for "stack" in Transcript specifically for the benefit of SuperCard users), e.g.: get the rect of window "MyStackName" Better still would be to go the extra mile to install the data stack to the user's Preferences or Documents folder on Mac and the My Documents folder on Windows (the paths to these can be obtained with the built-in specialFolderPath function). One could go a step further, depending on the nature of the app, by completely separating the data from the interface. There is generally some value in separating code, data, and UI, as it helps keep clear dividing lines between each, theoretically inspiring more modular and robust systems. But since so many legacy projects depend on keeping the data stored in the same stack it's displayed in, the expense of reworking it to store the data in user props, text files, or a database is often more trouble than it's worth. Such a migration can indeed be laborious, but is not necessary for most ports; simply moving the data stack outside of the standalone is all that's truly needed. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From monte at sweattechnologies.com Tue Aug 5 23:00:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 5 23:00:01 2003 Subject: Revolution speed sucks? Combined reply. In-Reply-To: <001c01c35bc7$51635630$b2ea5144@fatal7lcf637rj> Message-ID: > Monte and others, > > My .rev stack is available at > http://mywebpages.comcast.net/foxcat/OmniLotto.rev > > There are bugs in it so for best results go to the Prefs stack first and > click the OK button then press the Start button on the mainstack. > I'm still > scratching my head on that issue. > > I'm happy to share the magic, just be forwarned! ;-) > > My PERLotto perl script (for comparison) is also available at my website: > > http://mywebpages.comcast.net/foxcat at the bottom of the site. > > Being new to Revolution, it's certain that my learning curve has caused > faults in developing the stack. > > All the best, > > Andy > Hmmm.. I don't reammy know what the script is doing but I can see heaps of times where you are referencing a line in the field during your repeat loop. A much faster way to do things (and keep the color coding that you have) would be to use the htmlText property and build the contents of the field in one big variable rather than putting each line into the field individualy. A potentially even faster option would be to use a numbered array with each element representing a line. The engine can access the 1000th array element as fast as it can the 1st. Then use the combine command just before setting the htmlText of the field in one hit. Hope that all makes sense ;-) Sarah's speed stack should be a good help. Cheers Monte From ambassador at fourthworld.com Tue Aug 5 23:09:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 5 23:09:01 2003 Subject: Revolution speed sucks? In-Reply-To: <507EC772-C7BF-11D7-AC42-003065683ECC@inspiredlogic.com> Message-ID: Geoff Canyon wrote: > If the script I'm looking at is the one you're talking about, it's > parsing through the contents of the field one bit at a time, and > setting the style of text (text color) bit by bit. > > For speed, you need to get the contents of the field, work on that > (paying special attention to repeat for each) and then set the HTMLtext > of the field. This will be much faster. > > On Tuesday, August 5, 2003, at 06:32 PM, yoy wrote: > >> I ran my stack "OmniLotto" and generated 5000 random powerball games. >> Then >> it ran. It .took over 30 minutes!!! >> >> I saved the 5000 gamelist and ran it through my PERLotto perl script >> out to >> "results.txt". >> >> It took only 1 second!!!!!!! Even as-is, the Start button there executed its script in just a few seconds on my ol' 500MHz G4. What sort of system was it tested on, and what else was running at the time? A Rev program can do a lot of work in 30 minutes, and even with the inefficiencies in the current script it's just not asking much of Rev that it shouldn't be able to do in a small fraction of the time reported. General tips for optimization: - Touch data in fields as little as possible; put the data into a variable and work on it there, tucking it back into the field when done. - Use the "repeat for each" construct over "repeat with" everywhere possible. - For lengthy operations that affect the drawing on any controls, use "lock screen" before the operation and "unlock screen" when it's done. - Unless a lengthy operation also needs to process system messages, use "lock messages" before the operation and "unlock messages" when it's done. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From yoy at comcast.net Tue Aug 5 23:17:01 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 23:17:01 2003 Subject: Revolution speed sucks? References: <507EC772-C7BF-11D7-AC42-003065683ECC@inspiredlogic.com> Message-ID: <000601c35bd0$740f97d0$b2ea5144@fatal7lcf637rj> Monte, The textcolor is applied to each matching number in the gamelist, then to the bonus number if used, then again applied to the "--x" result item depending on the value of the minpaynumber global. There is a lot of textcoloring going on! I'll delete the textcolor properties and see how it behaves, tomorrow! Regards, Andy Burns ----- Original Message ----- From: "Geoff Canyon" To: Sent: Tuesday, August 05, 2003 11:37 PM Subject: Re: Revolution speed sucks? > If the script I'm looking at is the one you're talking about, it's > parsing through the contents of the field one bit at a time, and > setting the style of text (text color) bit by bit. > > For speed, you need to get the contents of the field, work on that > (paying special attention to repeat for each) and then set the HTMLtext > of the field. This will be much faster. > > On Tuesday, August 5, 2003, at 06:32 PM, yoy wrote: > > > I ran my stack "OmniLotto" and generated 5000 random powerball games. > > Then > > it ran. It .took over 30 minutes!!! > > > > I saved the 5000 gamelist and ran it through my PERLotto perl script > > out to > > "results.txt". > > > > It took only 1 second!!!!!!! > > > > What gives? Are my script routines way out of order? It certainly > > seems so! > > > > GEEZ......... Day 5 (?) gonzo. > > > > Andy > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > 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 monte at sweattechnologies.com Tue Aug 5 23:24:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 5 23:24:01 2003 Subject: Saving changes In-Reply-To: Message-ID: > It's worth noting that even though Mac OS allows an app to write > for itself, > Apple recommends storing user data outside of the app in a user folder, so > the following discussion would also benefit SC users looking to modernize > their apps: > If OS X is based on UNIX and UNIX can't save to a running app then how is Apple still supporting this? Monte From briany at qldlearning.com Tue Aug 5 23:31:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Tue Aug 5 23:31:01 2003 Subject: Revolution speed sucks? In-Reply-To: <000901c35bba$a24f0c40$b2ea5144@fatal7lcf637rj> Message-ID: From a first glance, these tips should buy you an initial speedup, and are mostly GUI-related. 1) Don't read line-by-line through a field. Instead of: repeat for each line gameLine in fld "gamelist" do this: put fld "gamelist" into gameList repeat for each line gameLine in gameList You also refer to > line n in fld "gamelist" < when you already have this available as "gameLine" 2) Don't update the scrollbar bar in every loop. Only set the visible property once, and only update the thumb value if it has actually changed by at least 1%. I commented out the scrollbar updating, and the script ran as much as 40% faster. 3) Consolidate your repeat loops For starters, it's look like you loop through the entire list twice: combine these loops. In your second loop, you have three loops inside of each other- and it looks to me like the inner most one doesn't work right. It looks like you are checking if *any* number in your pick matches *any* number in the winning combination. Instead of checking 1 match (i.e. does item 3 match item 3), you are checking 6- that's a 6 fold speedup right there. 4) Check your duplicate number code You have something like this: repeat with i=1 to x repeat with j=2 to x if (item i of z = item j of z) then ## duplicate I think you want: repeat with i=1 to x repeat with j=(i+1) to x if (item i of z = item j of z) then ## duplicate i.e. You don't need to compare every number to every other number- once the 2nd number has been compared to the 5th, the 5th doesn't have to be compared again to the 2nd. I think this is what you intended with the 2, but as it stands you're still doing 15 comparisons on every line that aren't necessary. Implement those concepts and you should be getting closer. Keep in mind that GUI is much more expensive than raw processing, minimizing repeat loops goes a long way, etc, and you should be catching up with Perl sooner than later... Have fun! Brian > I ran my stack "OmniLotto" and generated 5000 random powerball games. > Then > it ran. It .took over 30 minutes!!! > > I saved the 5000 gamelist and ran it through my PERLotto perl script > out to > "results.txt". > > It took only 1 second!!!!!!! > > What gives? Are my script routines way out of order? It certainly > seems so! > > GEEZ......... Day 5 (?) gonzo. > > Andy > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From yoy at comcast.net Tue Aug 5 23:35:01 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 23:35:01 2003 Subject: Revolution speed sucks? References: Message-ID: <000d01c35bd2$fa86bda0$b2ea5144@fatal7lcf637rj> Richard, The stack is created and running on a Dell 800mHz Inspiron 8100 laptop under Win2k. Thanks for sharing your "General tips" magic. I'll study up and revise a copy. Still, PERLotto is way faster, but I have some trial days left to work it out. Thanks, Andy ----- Original Message ----- From: "Richard Gaskin" To: Sent: Wednesday, August 06, 2003 12:01 AM Subject: Re: Revolution speed sucks? > Geoff Canyon wrote: > > Even as-is, the Start button there executed its script in just a few seconds > on my ol' 500MHz G4. What sort of system was it tested on, and what else > was running at the time? > > A Rev program can do a lot of work in 30 minutes, and even with the > inefficiencies in the current script it's just not asking much of Rev that > it shouldn't be able to do in a small fraction of the time reported. > > General tips for optimization: > > - Touch data in fields as little as possible; put the data into a variable > and work on it there, tucking it back into the field when done. > > - Use the "repeat for each" construct over "repeat with" everywhere > possible. > > - For lengthy operations that affect the drawing on any controls, use "lock > screen" before the operation and "unlock screen" when it's done. > > - Unless a lengthy operation also needs to process system messages, use > "lock messages" before the operation and "unlock messages" when it's done. > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From yoy at comcast.net Tue Aug 5 23:39:01 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 5 23:39:01 2003 Subject: Revolution speed sucks? References: Message-ID: <001201c35bd3$9ed93d10$b2ea5144@fatal7lcf637rj> Brian, WOAH!!! I'm going to have a fun day tomorrow! Thanks for helping out! All the best, Andy ----- Original Message ----- From: "Brian Yennie" To: Sent: Wednesday, August 06, 2003 12:24 AM Subject: Re: Revolution speed sucks? > From a first glance, these tips should buy you an initial speedup, and > are mostly GUI-related. > > 1) Don't read line-by-line through a field. Instead of: > > repeat for each line gameLine in fld "gamelist" > > do this: > > put fld "gamelist" into gameList > repeat for each line gameLine in gameList > > You also refer to > line n in fld "gamelist" < when you already have > this available as "gameLine" > > 2) Don't update the scrollbar bar in every loop. Only set the visible > property once, and only update the thumb value if it has actually > changed by at least 1%. I commented out the scrollbar updating, and the > script ran as much as 40% faster. > > 3) Consolidate your repeat loops > > For starters, it's look like you loop through the entire list twice: > combine these loops. > > In your second loop, you have three loops inside of each other- and it > looks to me like the inner most one doesn't work right. > > It looks like you are checking if *any* number in your pick matches > *any* number in the winning combination. Instead of checking 1 match > (i.e. does item 3 match item 3), you are checking 6- that's a 6 fold > speedup right there. > > 4) Check your duplicate number code > > You have something like this: > > repeat with i=1 to x > repeat with j=2 to x > if (item i of z = item j of z) then ## duplicate > > I think you want: > > repeat with i=1 to x > repeat with j=(i+1) to x > if (item i of z = item j of z) then ## duplicate > > i.e. You don't need to compare every number to every other number- once > the 2nd number has been compared to the 5th, the 5th doesn't have to be > compared again to the 2nd. I think this is what you intended with the > 2, but as it stands you're still doing 15 comparisons on every line > that aren't necessary. > > Implement those concepts and you should be getting closer. Keep in mind > that GUI is much more expensive than raw processing, minimizing repeat > loops goes a long way, etc, and you should be catching up with Perl > sooner than later... > > Have fun! > > Brian > > > > I ran my stack "OmniLotto" and generated 5000 random powerball games. > > Then > > it ran. It .took over 30 minutes!!! > > > > I saved the 5000 gamelist and ran it through my PERLotto perl script > > out to > > "results.txt". > > > > It took only 1 second!!!!!!! > > > > What gives? Are my script routines way out of order? It certainly > > seems so! > > > > GEEZ......... Day 5 (?) gonzo. > > > > Andy > > > > _______________________________________________ > > 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 alrice at ARCplanning.com Tue Aug 5 23:57:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 5 23:57:00 2003 Subject: Revolution speed sucks? In-Reply-To: <000d01c35bd2$fa86bda0$b2ea5144@fatal7lcf637rj> Message-ID: <827C0FDB-C7C9-11D7-BB26-000393529642@ARCplanning.com> On Tuesday, August 5, 2003, at 10:26 PM, yoy wrote: > Still, PERLotto is way faster, but I have some trial days left to work > it > out. When all the no-nos are corrected, I would wager, the Rev version will be faster :-) Perl, although fast, does not have as sophisticated compilation as Rev. I think Perl is still interpreted from start to finish. Correct me if I'm wrong anybody.... Especially in a tight loop such as your lotto program, after the first step of the loop, the Rev app is running compiled code. Perl is running interpreted code all to the last step. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From stephenREVOLUTION at barncard.com Tue Aug 5 23:58:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Tue Aug 5 23:58:01 2003 Subject: Saving changes Message-ID: Because Mac OS (v 7 - 9) is not OS X !!! > > It's worth noting that even though Mac OS allows an app to write >> for itself, >> Apple recommends storing user data outside of the app in a user folder, so >> the following discussion would also benefit SC users looking to modernize >> their apps: >> >If OS X is based on UNIX and UNIX can't save to a running app then how is >Apple still supporting this? > >Monte From alrice at ARCplanning.com Wed Aug 6 00:11:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 00:11:01 2003 Subject: Saving changes In-Reply-To: Message-ID: <7B327F50-C7CB-11D7-BB26-000393529642@ARCplanning.com> On Tuesday, August 5, 2003, at 10:50 PM, Stephen Quinn Barncard wrote: > > Because Mac OS (v 7 - 9) is not OS X !!! And so called "Classic" apps actually in the old Mac OS which runs as an emulator of sorts within OS X. As far as the apps are concerned, it's still Mac OS 9. I bet Carbon apps can't modify themselves. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Wed Aug 6 00:20:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 00:20:00 2003 Subject: Arrays and custom properties In-Reply-To: Message-ID: On Tuesday, August 5, 2003, at 08:09 PM, Dar Scott wrote: > Do I still save the stack? Does the first use load it and then it > stays loaded? Does it save after every set to a property? If you open the stack, write all of your custom properties (assuming there is more than 1) to the stack as stack "stackName" then save the stack and close it, it is faster that way instead of doing set the myPropSet[key] of stack "/some/stack/that/is/not/open.rev" to X Because that way presumably opens and closes the stack every time you set a property. If the stack were encrypted, it would be even bigger performance hit because opening/closing is just that more expensive. > Both! Well, I have figured I'd have to get into custom property sets > eventually and I haven't been worried about that. (I am confused by > the comma.) The comma I think was just to create the key name, same as this put tID, tSomething into tKey -- key is "xxx,yyy" get the myPropSet[tKey] of stack "mystack" > Do I have to use custom property sets to access properties from > unopened files? Good question. I would assume any and all properties could be accessed the same way but haven't tried it. > No matter how long I use Revolution I think I will always be learning. Dar you could teach me about sockets, binary encoding, endian-ness and a dozen other things and I'll teach you about custom properties :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From gizmotron at earthlink.net Wed Aug 6 00:41:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Aug 6 00:41:01 2003 Subject: Arrays and custom properties In-Reply-To: Message-ID: <100D2778-C7D0-11D7-9B7D-000A95859272@earthlink.net> On Tuesday, August 5, 2003, at 10:13 PM, Alex Rice wrote: >> No matter how long I use Revolution I think I will always be learning. > > Dar you could teach me about sockets, binary encoding, endian-ness and > a dozen other things and I'll teach you about custom properties :-) > > Alex Rice ... and if both of you got together on this and created a stack example that saves several types of binary types in a stored array using custom properties and demonstrates getting or placing items and saving items in the stored arrays into external files then I think it would serve as a great learning tool. I would like to speed test this kind of data storage. Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 732 bytes Desc: not available URL: From dsc at swcp.com Wed Aug 6 00:42:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 00:42:01 2003 Subject: Teams In-Reply-To: <3F306827.2090009@nexpath.com> Message-ID: On Tuesday, August 5, 2003, at 08:29 PM, Steve Gehlbach wrote: > Ha Ha! I knew this could be a touchy subject. IMHO, this is progress. > It indicates to me reaching a point where you have organized the > problem or solution better, probably reduced much code to subroutines > or methods, simplified the solution in a more elegant manner. It > could of course mean you completely misunderstood the problem and had > to start over, but I will give you the benefit of the doubt. I can imagine either happening and it might be hard to tell the difference. I usually give me the benefit of the doubt, too. I've been pondering creation in Revolution and I think many creators cannot be assessed as some programmers. Some spend a lot of time on molding and remolding the clay. Some end up with very good but hard to quantify GUI designs. Some get there through a circuitous route of trial and error. For some a project is an art project. Even in my programming in Revolution, even when making a script library (a task more like other programming), I tend to create a series of notes and test cards along the way to test functions and handlers. By the end of the stack I have several tiny test apps. To complicate this, these borrow logging fields and other objects from other projects. The medium has affected how I document and how I test. Many years ago I was on a small team of six or seven developing with Forth. Though that worked very well, we would joke that Forth was suitable for teams of up to one person. Though I know very well that Revolution projects can work with many people, some kinds of projects and some kinds of people make for small teams, sometimes teams of up to one person. Project management, including team management, may have to adapt to the medium. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From dsc at swcp.com Wed Aug 6 00:46:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 00:46:01 2003 Subject: Arrays and custom properties In-Reply-To: Message-ID: <52C8F1BF-C7D0-11D7-B19D-000A9567A3E6@swcp.com> On Tuesday, August 5, 2003, at 11:13 PM, Alex Rice wrote: > Because that way presumably opens and closes the stack every time you > set a property. Wow! I had no idea. It may be slower, but it might be the simple dumb thing needed at times. > Dar you could teach me about sockets, binary encoding, endian-ness and > a dozen other things and I'll teach you about custom properties :-) Deal! Dar From troy at rpsystems.net Wed Aug 6 01:20:00 2003 From: troy at rpsystems.net (Troy Rollins) Date: Wed Aug 6 01:20:00 2003 Subject: Teams In-Reply-To: Message-ID: <24998074-C7D5-11D7-B9D8-000A95A09CF8@rpsystems.net> On Wednesday, August 6, 2003, at 01:34 AM, Dar Scott wrote: > Though I know very well that Revolution projects can work with many > people, some kinds of projects and some kinds of people make for small > teams, sometimes teams of up to one person. > > Project management, including team management, may have to adapt to > the medium. Or an alternate medium selected which better achieves the team oriented goals, depending on the level of importance one places on team productivity and other factors. Frankly, I will choose a tool with a longer learning curve which supports team development, over a simpler tool which does not. If nothing else, the team LIKES to work that way. -- Troy RPSystems, Ltd. http://www.rpsystems.net From scott at tactilemedia.com Wed Aug 6 02:08:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Aug 6 02:08:00 2003 Subject: Amazing Splash Screen Effect... In-Reply-To: Message-ID: On 8/5/03 4:40 PM, "Monte Goulding" wrote: >> Hang in there. Antialiasing images is coming to Rev soon! >> > Why would one want to use rev to anti-alias an image? It's graphics that are > required. Agreed. I would argue that currently there are several means to deploy antialiased images within Rev: 24 PNG images, 8 bit GIF and PNG with 1 bit masks against a same colored background, etc. Currently there is *no* means to deploy antialiased draw graphics while maintaining the properties of these objects. IMO this capability deserves high priority. Additionally, antialiased text is not inherent. This is usually built in on Windows XP and Mac OSX but it would be nice to see this as part of the engine. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Wed Aug 6 02:23:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Aug 6 02:23:00 2003 Subject: Teams In-Reply-To: <24998074-C7D5-11D7-B9D8-000A95A09CF8@rpsystems.net> Message-ID: Hi Troy. Welcome back. Here are some thoughts I have about working in Xtalk languages with teams. I've done it on some fairly large products in SuperCard and now in RR. As I'm sure you already know, large scale multimedia/game projects are very team oriented. Generally, there is a producer, art director, writers, artists, and programmers. Games are typically broken apart into segments, which are scripted by writers, art is rendered by artists, then it all combined into an application by programmers. In this way, the project is successfully managed to completion. Generally, there is a basic 'engine' which is used. In large scale software projects, this same approach can be useful. Especially if a singe architecture is decided upon *before* beginning coding. Unlike many typical programmers, Xtalk programming tends to be 'top down' instead of 'bottom up.' This is great for a number of reasons. First and foremost it allows the 'team' to visualize the product before code is written. Once the interface is built, it can quickly be tested as well, without too much coding. This is a good time to verify user and client assumptions regarding look and feel and usability. Only a small number of people need be involved at this stage. Generally a GUI guy/gal and a graphics person, along with the project manager. Once signed off on, a lead programmer can create the necessary documentation regarding the software modules to be designed. RunRev is especially good at 'plugin' adaptation, wherein a plugin could be a stack window or stack code library. In these cases, individual plugins can be specified and assigned to different developers. Maintaining a server with source code versioning can be complex, or as easy as using a archiving tool like altArchive (RR plugin at: ). I've worked for some time on HemingwayPC (CMS client) and currently it has 9 different plugins -- all load automatically from the server and are updated as needed. Very easy to maintain versioning. I hope this is helpful. -Chipp From francois.cuneo at cuk.ch Wed Aug 6 03:19:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Wed Aug 6 03:19:01 2003 Subject: Have I to convert the file name on UTF8? In-Reply-To: <38AB1E7E-AFDF-11D7-82C7-000393533246@skynet.be> Message-ID: Hello everybody I asked my problem before, but I think I was not so clear because I have no answer. So I ask again, because the problem is really important for me. To be simpler: I save a stack with diacritical char. By example: save stack "coucou" as "p?p?.edb" All seams OK, but the file can't be opened after by revolution. And if I Say open stack "p?p?.edb" save stack "p?p?.edb one p?p? name on the foleder is p??p??.edb~ Have I to convert the name in utf8 (I had the same problem with REalBasic and it was the solution). But I don't understand how to do that -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From wmb at internettrainer.com Wed Aug 6 03:23:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Aug 6 03:23:01 2003 Subject: Teams In-Reply-To: <409AE300-C757-11D7-8EE2-000A95A09CF8@rpsystems.net> Message-ID: On Tuesday, Aug 5, 2003, at 17:12 Europe/Vienna, Troy Rollins wrote: > > Greetings, > > I've been away from working in Rev a while (off working mostly in > Director, as that is what the clients wanted.) > Welcome back again Troy! ;)) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From yvescoppe at skynet.be Wed Aug 6 03:27:02 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed Aug 6 03:27:02 2003 Subject: Have I to convert the file name on UTF8? In-Reply-To: Message-ID: Le mercredi, 6 ao? 2003, ? 10:14 Europe/Brussels, Fran?ois Cuneo a ?crit : > Hello everybody > > I asked my problem before, but I think I was not so clear because I > have no > answer. So I ask again, because the problem is really important for me. > > > To be simpler: > > I save a stack with diacritical char. > By example: > > save stack "coucou" as "p?p?.edb" > > All seams OK, but the file can't be opened after by revolution. > And if I Say > > open stack "p?p?.edb" > save stack "p?p?.edb > one p?p? name on the foleder is p??p??.edb~ > > Try save stack "coucou" as "whatever" rename file whatever to "p?p?.edb" hope this helps Greetings. Yves COPPE yvescoppe at skynet.be From psahores at easynet.fr Wed Aug 6 04:39:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Aug 6 04:39:01 2003 Subject: Revolution speed sucks? In-Reply-To: References: Message-ID: <3F30CB14.2070406@easynet.fr> Dar Scott wrote: > > On Tuesday, August 5, 2003, at 08:17 PM, Pierre Sahores wrote: > >> About console-mode apps : Rev and MC are exactly similar about the >> high speed (lots faster than Java-based apps) they are able to handle >> in running console-mode deamon apps. > > > I'd like to learn more of these. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi Dear, Because the answers have to do with the OS the deamon apps are running on, what are the platform's operating systems your are developing for (MacOSX, Win32, Linux,...) ? -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From tkuypers at pandora.be Wed Aug 6 05:01:05 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Wed Aug 6 05:01:05 2003 Subject: Http proxy Message-ID: For some reason leaving the http-proxy empty prevents RR to use the default-settings of explorer on my XP pc. So I looked into the registry and found the entry containing the proxy-settings: put queryRegistry ("HKEY_CURRENT_User\Software\Microsoft\Windows\ CurrentVersion\Internet Settings\ProxyServer") into vProxy set the HTTPProxy to vProxy This works fine when there actually is a proxy set, but on a second PC I set the lan settings of explorer to "automatically detect settings". Now it doesn't work anymore, vProxy is empty and there is no connection anymore. Does anyone know how to get the HTTTPproxy to work when "automatically detect settings" is choosen? Many thanks in advance, Ton Kuypers From klaus at major-k.de Wed Aug 6 06:01:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 6 06:01:01 2003 Subject: Re FatOS engine In-Reply-To: Message-ID: <31EA2FF9-C7FC-11D7-A6BE-000A27B49A96@major-k.de> Hi John, > "Why store an additional OS X engine in the "engines" folder when the > OS > X engine is already present and really busy with driving the IDE??? ;-) > > Means, the OS X engine is in: > Revolution(.app)/Contents/MacOs/ > and its named, TADA: Revolution :-)" > > =========== However =========== > When the distribution is built, it says it's using the FatOS engine, > even though I designated the build for X only. > > Is that appropriate behavior? I don't think this is correct behaviour. My answer above was just to the question WHERE the OS X engine would be hiding :-) > John Regards Klaus Major klaus at major-k.de www.major-k.de From alrice at ARCplanning.com Wed Aug 6 06:21:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 06:21:01 2003 Subject: [ANN] searchable use-revolution list archives Message-ID: <1FF3693F-C7FF-11D7-803E-000393529642@ARCplanning.com> I frequently use google to search this list's archives, but unfortunately the google index usually lags a month or so. Here is a new web search of the use-revolution list archives: It's a fast, full text search, and the index now is up to date, and new messages should appear within a few hours. (I'm not 100% sure about how quickly new messages will appear-- will just have to see how well the indexing script works in practice) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From vikramsingh at mailandnews.com Wed Aug 6 06:59:00 2003 From: vikramsingh at mailandnews.com (Vikram Singh) Date: Wed Aug 6 06:59:00 2003 Subject: [ANN] searchable use-revolution list archives Message-ID: <3F343879@mailandnews.com> The presentation is cool indeed. Especially, the links popping up rather than navigating to the record, allowing you skim more efficiently. Vikram ----- Original Message ----- From: "Alex Rice" To: Sent: Wednesday, August 06, 2003 4:44 PM Subject: [ANN] searchable use-revolution list archives > I frequently use google to search this list's archives, but > unfortunately the google index usually lags a month or so. Here is a > new web search of the use-revolution list archives: > > > > It's a fast, full text search, and the index now is up to date, and new > messages should appear within a few hours. (I'm not 100% sure about how > quickly new messages will appear-- will just have to see how well the > indexing script works in practice) > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From monte at sweattechnologies.com Wed Aug 6 08:07:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 6 08:07:00 2003 Subject: Saving changes In-Reply-To: <7B327F50-C7CB-11D7-BB26-000393529642@ARCplanning.com> Message-ID: > > > > Because Mac OS (v 7 - 9) is not OS X !!! Funny, I don't remember asking about OS 7-9.... > > And so called "Classic" apps actually in the old Mac OS which runs as > an emulator of sorts within OS X. As far as the apps are concerned, > it's still Mac OS 9. > > I bet Carbon apps can't modify themselves. > Thanks Alex At least someone was more interested in answering the question than typing exclamation marks! ;-) Cheers Monte From psahores at easynet.fr Wed Aug 6 08:40:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Aug 6 08:40:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <3F343879@mailandnews.com> References: <3F343879@mailandnews.com> Message-ID: <3F3103B3.1010200@easynet.fr> Vikram Singh wrote: > The presentation is cool indeed. Especially, the links popping up rather > than navigating to the record, allowing you skim more efficiently. > > Vikram > > ----- Original Message ----- > From: "Alex Rice" > To: > Sent: Wednesday, August 06, 2003 4:44 PM > Subject: [ANN] searchable use-revolution list archives > > > >>I frequently use google to search this list's archives, but >>unfortunately the google index usually lags a month or so. Here is a >>new web search of the use-revolution list archives: >> >> >> >>It's a fast, full text search, and the index now is up to date, and new >>messages should appear within a few hours. (I'm not 100% sure about how >>quickly new messages will appear-- will just have to see how well the >>indexing script works in practice) >> >>Alex Rice, Software Developer >>Architectural Research Consultants, Inc. >>http://ARCplanning.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 > > Thanks a lot Alex, How did you install/develop this ? Great and usefull :-) -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From francois.cuneo at cuk.ch Wed Aug 6 08:56:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Wed Aug 6 08:56:00 2003 Subject: Have I to convert the file name on UTF8? In-Reply-To: Message-ID: Yves, Thank you, it works BUT: when I open the stack after the rename file, it's impossible to save it again because the backup file is wrong (with "specials" char. So I open the stack, I make the changes, I delete it, I save it and I rename it. That's not really clean I Think! open file chemin_sauvegarde delete file chemin_sauvegarde answer "j'ai effac?, v?rifie!" save stack nom_fichier as chemin_a_convertir close file chemin_a_convertir rename file chemin_a_convertir to chemin_sauvegarde It's really a problem, this files name when you are not english or german people... That is a workaround, I think that Revolution have to find a SOLUTION! Thank you anyway! Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Yves COPPE > R?pondre ??: use-revolution at lists.runrev.com > Date?: Wed, 6 Aug 2003 10:20:29 +0200 > ??: use-revolution at lists.runrev.com > Objet?: Re: Have I to convert the file name on UTF8? > > > Le mercredi, 6 ao? 2003, ? 10:14 Europe/Brussels, Fran?ois Cuneo a > ?crit : > >> Hello everybody >> >> I asked my problem before, but I think I was not so clear because I >> have no >> answer. So I ask again, because the problem is really important for me. >> >> >> To be simpler: >> >> I save a stack with diacritical char. >> By example: >> >> save stack "coucou" as "p?p?.edb" >> >> All seams OK, but the file can't be opened after by revolution. >> And if I Say >> >> open stack "p?p?.edb" >> save stack "p?p?.edb >> one p?p? name on the foleder is p??p??.edb~ >> >> > > Try > > > save stack "coucou" as "whatever" > rename file whatever to "p?p?.edb" > > > hope this helps > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sims at ezpzapps.com Wed Aug 6 09:05:01 2003 From: sims at ezpzapps.com (sims) Date: Wed Aug 6 09:05:01 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <1FF3693F-C7FF-11D7-803E-000393529642@ARCplanning.com> References: <1FF3693F-C7FF-11D7-803E-000393529642@ARCplanning.com> Message-ID: >I frequently use google to search this list's archives, but >unfortunately the google index usually lags a month or so. Here is a >new web search of the use-revolution list archives: > > >Alex Rice, Software Developer Very nice! Thanks. sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From malte.brill at t-online.de Wed Aug 6 09:06:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Wed Aug 6 09:06:00 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: <200308061022.GAA12561@www.runrev.com> Message-ID: Alex Rice wrote: >It possible. And I've posted about this before :-) I'm doing it this >way with revxml.bundle and revclips.bundle. >1) Set the externals property of your stack to refer to the new path, >relative to your app's executable: >--msg box >set the externals of this stack to >"your.app/Contents/Resources/revxml.bundle" >2) Build standalone and copy the revvideograbber.bundle into >your.app/Contents/Resources. >It's not necessary to pick the video grabber on the Inclusions tab of >the distribution builder. >Library bundles should always go inside the app bundle and hopefully >Rev will do it that way in the future. Hi Alex, Thanks for your assistance. :-) Today I had the time to fiddle around with this. It works great, but renaming the app?s executable breaks it. :-( I tried setting the externals of the stack at runtime in the openstack handler. (looked for the first item of the effective filename that has .app as the last four chars, then took that item, added "/Contents/Resources/revvideograbber.bundle" to it and then set the externals of that stack to the result...) Refuses to work... Any ideas? Regards, Malte From malte.brill at t-online.de Wed Aug 6 09:10:03 2003 From: malte.brill at t-online.de (Malte Brill) Date: Wed Aug 6 09:10:03 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <200308010236.WAA24155@www.runrev.com> Message-ID: That one rocks! Thanks a lot Alex! Malte From gizmotron at earthlink.net Wed Aug 6 09:37:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Aug 6 09:37:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <1FF3693F-C7FF-11D7-803E-000393529642@ARCplanning.com> Message-ID: On Wednesday, August 6, 2003, at 04:14 AM, Alex Rice wrote: > I frequently use google to search this list's archives, but > unfortunately the google index usually lags a month or so. Here is a > new web search of the use-revolution list archives: > > > Alex Rice, Software Developer Wow! This works fast. Thanks Alex From alrice at ARCplanning.com Wed Aug 6 09:52:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 09:52:00 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: Message-ID: On Wednesday, August 6, 2003, at 07:58 AM, Malte Brill wrote: > Hi Alex, > Thanks for your assistance. :-) > Today I had the time to fiddle around with this. > It works great, but renaming the app?s executable breaks it. :-( > > I tried setting the externals of the stack at runtime in the openstack > handler. > (looked for the first item of the effective filename that has .app as > the > last four chars, then took that item, added > "/Contents/Resources/revvideograbber.bundle" to it and then set the > externals of that stack to the result...) > > Refuses to work... I hadn't though of that but now I can see it would cause problems. In this method the "Your.app" part is actually hardcoded into the externals property. I think one cannot set the externals property at run-time in a handler, it's too late by then. No workarounds that I know of. Oh wait... *I think* this will work: set the externals to just "revvideograbber.bundle" (no path). And put the revvideograbber.bundle into the folder Your.app/Contents/MacOS , right alongside the actual executable. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Wed Aug 6 10:13:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 10:13:01 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <3F3103B3.1010200@easynet.fr> Message-ID: <838F9CC1-C81F-11D7-994B-000393529642@ARCplanning.com> On Wednesday, August 6, 2003, at 07:33 AM, Pierre Sahores wrote: > Thanks a lot Alex, > > How did you install/develop this ? > > Great and usefull :-) > I'm glad so many positive responses. BTW so far it has not indexed any new messages, so I'm going to investigate it's page-expiration + reindexing feature. It uses the Mnogosearch software, a link is on the bottom of the search page. The backend database is MySQL 3.23. The OS is Linux 2.4, Apache 2, dual x 3Ghz processors, 2 GB RAM, connected via gigabit ethernet to major Internet backbones at Hurricane Electric in Fremont CA. Although it is a CGI, it's a small C program, so it starts fast. Mnogosearch is using http to periodically spider the content at Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From kray at sonsothunder.com Wed Aug 6 11:13:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 6 11:13:01 2003 Subject: Save as Image In-Reply-To: Message-ID: <036b01c35c34$a173c700$6801a8c0@LightningFlash> Dan, Try this: http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag007 This works for stacks that are partially off-screen, but hopefully will work with a fully offscreen stack... Report back to the list and let us know if this works! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Dan Friedman > Sent: Tuesday, August 05, 2003 6:32 PM > To: RunRev Mail List > Subject: Save as Image > > > Has anyone discovered a way to save a stack (or portion of a > stack) as an image while the stack is either offscreen or > invisible? If so, I'd sure love to hear how ya did it! > > Thanks, > Dan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From psahores at easynet.fr Wed Aug 6 11:31:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Aug 6 11:31:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <838F9CC1-C81F-11D7-994B-000393529642@ARCplanning.com> References: <838F9CC1-C81F-11D7-994B-000393529642@ARCplanning.com> Message-ID: <3F312BB5.8060103@easynet.fr> Alex Rice wrote: > > On Wednesday, August 6, 2003, at 07:33 AM, Pierre Sahores wrote: > >> Thanks a lot Alex, >> >> How did you install/develop this ? >> >> Great and usefull :-) >> > I'm glad so many positive responses. BTW so far it has not indexed any > new messages, so I'm going to investigate it's page-expiration + > reindexing feature. > > It uses the Mnogosearch software, a link is on the bottom of the search > page. I will have an eye on this ;-) > > The backend database is MySQL 3.23. The OS is Linux 2.4, Apache 2, dual > x 3Ghz processors, 2 GB RAM, connected via gigabit ethernet to major > Internet backbones at Hurricane Electric in Fremont CA. Woaaaaw ! What a config and a provider !!! Is that (monthly) really as expensive as i expect (in France, we have to pay around US $ 200 per megabit). > > Although it is a CGI, it's a small C program, so it starts fast. > > Mnogosearch is using http to periodically spider the content at > OK. > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From themacguy at macosx.com Wed Aug 6 11:56:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Aug 6 11:56:01 2003 Subject: Standalone doesn't close when requested Message-ID: This is my first foray into a multiple stack application. During development I have two stacks: one.rev two.rev They are separate stacks ("two" is -not- a substack of "one"). I'm intending that one.rev be my "splash" where the engine is kept. The other stack (two.rev) is called from one.rev in the following manner: go stack "two.rev" close stack "one.rev" In the IDE, this works fine and one.rev closes. However, when one.rev is now the application (splashscreen), it does not close. Do I need to change the second line of code? I'm guessing that I either need to change the code to drop the ".rev" suffix or, because it's now a standalone, I can't "close" it and must hide it in some fashion until the user selects "Quit" from the menu in the "two.rev" file. Suggestions are welcome and appreciated. Thanks, Barry From alrice at ARCplanning.com Wed Aug 6 11:58:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 11:58:01 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <3F312BB5.8060103@easynet.fr> Message-ID: <2E5DE0B9-C82E-11D7-994B-000393529642@ARCplanning.com> On Wednesday, August 6, 2003, at 10:24 AM, Pierre Sahores wrote: > Woaaaaw ! What a config and a provider !!! Is that (monthly) really as > expensive as i expect (in France, we have to pay around US $ 200 per > megabit). Nope, a lot less than that. Hint: it's a shared server, not a dedicated/colocated server. :-) HE.net is great. They recently upgraded all their longtime accounts to new high-end hardware, added bandwidth allocations and disk space, and did not raise their prices. As you can tell I'm a satisfied customer. Their pricing is here: http://he.net/about_prod.html If you sign up, please put alrice at swcp.com as the referrer and I could win a Nintendo or something. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From klaus at major-k.de Wed Aug 6 12:07:04 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 6 12:07:04 2003 Subject: Standalone doesn't close when requested In-Reply-To: Message-ID: <46AF364F-C82F-11D7-A6BE-000A27B49A96@major-k.de> Hi Barry, > ... > go stack "two.rev" > close stack "one.rev" > > In the IDE, this works fine and one.rev closes. However, when one.rev > is now the application > (splashscreen), it does not close. Do I need to change the second > line of code? Hmm, i guess "one.rev" is just the FILENAME but not the actual "name" of the stack...? In that case try: go stack "two.rev" close stack "one" ## if thats the name... (Maybe i'm wrong... ;-) Remember: stacks can and should have different names for the files and stacks... > I'm guessing that I either need to change the code to drop the ".rev" > suffix or, because it's > now a standalone, I can't "close" it and must hide it in some fashion > until the user selects > "Quit" from the menu in the "two.rev" file. > > Suggestions are welcome and appreciated. Hope that helps... > Thanks, > Barry Regards Klaus Major klaus at major-k.de www.major-k.de From kray at sonsothunder.com Wed Aug 6 12:30:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 6 12:30:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <838F9CC1-C81F-11D7-994B-000393529642@ARCplanning.com> Message-ID: <038901c35c3f$4d6e5fc0$6801a8c0@LightningFlash> Alex, Are you running Rev as a CGI there? If so, how did installation go? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Alex Rice > Sent: Wednesday, August 06, 2003 10:06 AM > To: use-revolution at lists.runrev.com > Subject: Re: [ANN] searchable use-revolution list archives > > > > On Wednesday, August 6, 2003, at 07:33 AM, Pierre Sahores wrote: > > > Thanks a lot Alex, > > > > How did you install/develop this ? > > > > Great and usefull :-) > > > I'm glad so many positive responses. BTW so far it has not > indexed any > new messages, so I'm going to investigate it's page-expiration + > reindexing feature. > > It uses the Mnogosearch software, a link is on the bottom of > the search > page. > > The backend database is MySQL 3.23. The OS is Linux 2.4, > Apache 2, dual > x 3Ghz processors, 2 GB RAM, connected via gigabit ethernet to major > Internet backbones at Hurricane Electric in Fremont CA. > > Although it is a CGI, it's a small C program, so it starts fast. > > Mnogosearch is using http to periodically spider the content at > > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From graham.samuel at wanadoo.fr Wed Aug 6 12:31:00 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Wed Aug 6 12:31:00 2003 Subject: How can I inspect imported sounds? Message-ID: <5.2.1.1.0.20030806173708.00c703a8@pop.wanadoo.fr> This is probably obvious, but I don't get it. I imported a folder full of .wav sounds into a stack (I thought I was importing them onto a card, but according to the docs they end up in the stack, not on a particular card. Seems odd, but anyway I've been told about it...). I then tried to use the Stack Inspector to 'see' the sounds - but they don't seem to appear on any list. Thus I can't edit them (e.g. rename, duplicate, delete...) using the IDE. They are there in fact, as one can play them with the 'play audioclip' command. Have I missed this, or is there really no way of seeing what sounds have ended up on one's stack? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Wed Aug 6 12:31:08 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Wed Aug 6 12:31:08 2003 Subject: Warning about importing animated GIFs Message-ID: <5.2.1.1.0.20030806174206.024f1768@pop.wanadoo.fr> I imported a folder full of animated GIFs onto a card. AFAIK they weren't set to animate when I created them in Photoshop Elements, but when they arrived on the card (there were 18 GIFs) my PC was so busy animating them that I couldn't get RunRev to respond to mouse clicks etc and had to force quit. I got around this eventually by importing them into a card that wasn't visible and sending a message to each GIF to stop it. I don't know any other way to avoid this result. I do find it odd that GIFs animate even when the IDE is in 'edit' rather than 'browse' mode. Maybe this is a minor bug in the IDE? Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From dan at clearvisiontech.com Wed Aug 6 12:32:01 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed Aug 6 12:32:01 2003 Subject: Save as Image In-Reply-To: <200308061601.MAA21954@www.runrev.com> Message-ID: Ken, Yes, it worked perfect!! Also, just for fun, I tried setting the target stack to invisible, and it worked too!! Thank you Ken! > Message: 11 > From: "Ken Ray" > To: > Subject: RE: Save as Image > Date: Wed, 6 Aug 2003 11:05:55 -0500 > Organization: Sons of Thunder Software > Reply-To: use-revolution at lists.runrev.com > > Dan, > > Try this: > > http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag007 > > This works for stacks that are partially off-screen, but hopefully will > work with a fully offscreen stack... > > Report back to the list and let us know if this works! > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Wed Aug 6 12:33:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 12:33:01 2003 Subject: Console mode apps (was Revolution speed sucks?) In-Reply-To: <3F30CB14.2070406@easynet.fr> Message-ID: <1770E401-C833-11D7-985F-000A9567A3E6@swcp.com> On Wednesday, August 6, 2003, at 03:32 AM, Pierre Sahores wrote: > Because the answers have to do with the OS the deamon apps are running > on, what are the platform's operating systems your are developing for > (MacOSX, Win32, Linux,...) ? I want it all! Let's start with Win32 (or a subset) or OS X. Dar Scott From alrice at ARCplanning.com Wed Aug 6 12:43:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 12:43:01 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <038901c35c3f$4d6e5fc0$6801a8c0@LightningFlash> Message-ID: <91B0D888-C834-11D7-994B-000393529642@ARCplanning.com> On Wednesday, August 6, 2003, at 11:22 AM, Ken Ray wrote: > Alex, > > Are you running Rev as a CGI there? If so, how did installation go? I've not tried running Rev there no. However I'd be glad to test it out if you would like. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From revlists at canelasoftware.com Wed Aug 6 12:53:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed Aug 6 12:53:01 2003 Subject: How can I inspect imported sounds? In-Reply-To: <5.2.1.1.0.20030806173708.00c703a8@pop.wanadoo.fr> Message-ID: On Wednesday, August 6, 2003, at 08:42 AM, Graham wrote: > This is probably obvious, but I don't get it. > > I imported a folder full of .wav sounds into a stack (I thought I was > importing them onto a card, but according to the docs they end up in > the stack, not on a particular card. Seems odd, but anyway I've been > told about it...). I then tried to use the Stack Inspector to 'see' > the sounds - but they don't seem to appear on any list. Thus I can't > edit them (e.g. rename, duplicate, delete...) using the IDE. They are > there in fact, as one can play them with the 'play audioclip' command. > > Have I missed this, or is there really no way of seeing what sounds > have ended up on one's stack? > Preferences - Application Browser - Show audio clips Best regards, Mark Talluto http://www.canelasoftware.com From jacque at hyperactivesw.com Wed Aug 6 13:09:02 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 6 13:09:02 2003 Subject: visual effects/copy to clipboard/print field In-Reply-To: <20030805212135.49907.qmail@web20006.mail.yahoo.com> References: <20030805212135.49907.qmail@web20006.mail.yahoo.com> Message-ID: <3F3142BA.7000304@hyperactivesw.com> On 8/5/03 4:21 PM, erik hansen wrote: > --- "J. Landman Gay" > wrote: > >>A common mistake is to put the visual effect in >>quotes. HyperCard >>required it; Revolution forbids it. Take out >>any quotation marks you may >>have around visual effects, even if they are >>more than one word. > > > odd. you would think the expression would > simply evaluate. > > do any other examples of this come to mind? There is a list of differences between HyperCard and Revolution in the Rev docs. Look for the section that addresses experienced HyperCard developers: Roadmap-> For new developers-> Experienced HC or SC developer-> About Revolution for HyperCard developers Then look at the "See also" list on that card topic. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Aug 6 13:26:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Aug 6 13:26:01 2003 Subject: SoCal RevDevCon: August 26 Message-ID: The next Southern California RevDevCon will be on Tuesday, August 26, at 7pm here at the Fourth World Embassy in downtown Los Angeles. These RevDevCons are small informal gatherings of Revolution and MetaCard developers in which we talk code, solve problems, and enjoy the rare treat of seeing listees in person. The agenda for the meeting: 7:00 - 7:30: Introductions, gab about code. 7:30 - 8:30: We'll walk 50 yards to the restaurant in this complex, Barabara's (which has an excellent wine list) for dinner and more gabbing. 8:30 - ?: We return to the Embassy where Geoff Canyon will give a presentation about some cool new stuff he's been working on, after which we'll gab some more and eventually call it a night. If you'd like to attend just show up. If you need directions drop me an email and I'll send 'em to you. At the moment I know Ken Ray will be there, as well as Geoff and myself of course. With any luck we'll have at least our half-dozen regulars and hopefully a few newcomers as well. See ya' then.... -- Richard Gaskin Fourth World Media Corporation Software Design and Development for Mac, Windows, Linux, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc Fax: 323-225-0716 From jeanne at runrev.com Wed Aug 6 13:52:05 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Aug 6 13:52:05 2003 Subject: How to examine Rev stacks? In-Reply-To: <3F2FC7A7.A322AC68@earthlink.net> Message-ID: At 8:05 AM -0700 8/5/03, Jim Lyons wrote: >One or more folks here recommended looking inside the Independent Study >stack in the rev docs for an education in how to write scripts >correctly. I've been trying for a little while to do that (even checked >last month's list archive) but with no luck -- if I open the >revtutorialindep.rev file with no other stacks open, that window comes >up, but all the inspector menu choices are disabled. What's the trick to >peeking at the rev doc stacks? What people have been talking about is actually the Employee Database example stack - not the tutorial itself, but the example stack that's used to illustrate it. You can open this stack using the "Open Example" button on page 13 of the Independent Study tutorial. (Or you can open it directly: Look in the Revolution folder, in components/help/tutorials/exercises/Employee Database.rev.) Once you've opened the Employee Database, take a look at its scripts (and look in the Application Browser to see all its substacks). The Employee Database isn't part of the Rev interface, but if you want to look at a stack that is, turn on "Contextual menus work in Revolution windows" in the Preferences dialog. This lets you use the contextual menu shortcut (command-control-option-click, or control-alt-right-click), which you can use to open the property inspector or script of any object in the Revolution interface - including the docs windows - to take a look at them. (Take a look at "How to investigate code in the development environment's windows" in the docs for more info.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From jeanne at runrev.com Wed Aug 6 13:53:00 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Aug 6 13:53:00 2003 Subject: Player Filename too long In-Reply-To: <000001c356dc$5fab6dd0$91221e3e@Jez2> Message-ID: At 1:51PM -0700 7/30/03, Jez wrote: >If a player's filename (including the path) is too long, it simply >doesn't play at all. When will this be fixed ? I was hoping it would be >fixed in 2.0 but no ... Have you bugzilla'd this? >Failing a fix, is there a way to translate a long path ("C:\Program >Files\etc") into a 16-bit short path ("C:\Progra~1\etc"), which may help The shortFilePath function will do this. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From jacque at hyperactivesw.com Wed Aug 6 14:11:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 6 14:11:01 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: References: Message-ID: <3F315154.9000300@hyperactivesw.com> On 8/6/03 8:58 AM, Malte Brill wrote: > I tried setting the externals of the stack at runtime in the openstack > handler. > (looked for the first item of the effective filename that has .app as the > last four chars, then took that item, added > "/Contents/Resources/revvideograbber.bundle" to it and then set the > externals of that stack to the result...) > > Refuses to work... The only handler that works to set the externals property is the "startup" handler. Nothing else will work. But usually you don't have to do that. Set the property once during development and save the stack. The property setting is permanent and will remain. You should use relative paths to the external, so that you don't have to know the name of the standalone. When working in OS X, remember that the path is always relative to the application bundle, not the actual engine that is embedded deep within the Contents folder. A relative path for an OS X standalone external would be: myExternal.bundle provided the external is in the same folder as the app. If the external is located inside the MacOS folder which is inside the Contents folder, the relative path would be: myApp.app/Contents/MacOS/myExternal.bundle The path you mention above would also work, if you want to keep the external inside the Resources folder instead, but you need to add "myApp.app/" in front of it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Wed Aug 6 14:43:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 6 14:43:00 2003 Subject: Save as Image In-Reply-To: Message-ID: <039e01c35c51$f0b5f9b0$6801a8c0@LightningFlash> Wonderful! I'll make a note of that on the tip page... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Dan Friedman > Sent: Wednesday, August 06, 2003 12:35 PM > To: RunRev Mail List > Subject: RE: Save as Image > > > Ken, > > Yes, it worked perfect!! Also, just for fun, I tried setting > the target stack to invisible, and it worked too!! > > Thank you Ken! > > > > Message: 11 > > From: "Ken Ray" > > To: > > Subject: RE: Save as Image > > Date: Wed, 6 Aug 2003 11:05:55 -0500 > > Organization: Sons of Thunder Software > > Reply-To: use-revolution at lists.runrev.com > > > > Dan, > > > > Try this: > > > > > http://www.sonsothunder.com/devres/revolution/> revolution.htm?_imag007 > > > > This works for stacks that are partially off-screen, but hopefully > > will work with a fully offscreen stack... > > > > Report back to the list and let us know if this works! > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Wed Aug 6 14:48:02 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 6 14:48:02 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <91B0D888-C834-11D7-994B-000393529642@ARCplanning.com> Message-ID: <039f01c35c52$a3fb1280$6801a8c0@LightningFlash> Sure! That would be great... having a really fast ISP that supports Rev is a great thing... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Alex Rice > Sent: Wednesday, August 06, 2003 12:37 PM > To: use-revolution at lists.runrev.com > Subject: Re: [ANN] searchable use-revolution list archives > > > > On Wednesday, August 6, 2003, at 11:22 AM, Ken Ray wrote: > > > Alex, > > > > Are you running Rev as a CGI there? If so, how did installation go? > > I've not tried running Rev there no. However I'd be glad to > test it out > if you would like. > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From revlists at canelasoftware.com Wed Aug 6 15:44:00 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed Aug 6 15:44:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <039f01c35c52$a3fb1280$6801a8c0@LightningFlash> Message-ID: On Wednesday, August 6, 2003, at 12:40 PM, Ken Ray wrote: > Sure! That would be great... having a really fast ISP that supports Rev > is a great thing... > > Ken, Don't you use OLM.net? If not, someone here mentioned that they use it and were able to get it up and running with them. Best regards, Mark Talluto http://www.canelasoftware.com From graham.samuel at wanadoo.fr Wed Aug 6 15:53:02 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Wed Aug 6 15:53:02 2003 Subject: How can I inspect imported sounds? Message-ID: <5.2.1.1.0.20030806224418.00c703a8@pop.wanadoo.fr> On Wed, 6 Aug 2003 10:45:43 -0700, Mark Talluto wrote: >Preferences - Application Browser - Show audio clips Oh well... I did say it was probably obvious! Thanks very much Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From revlists at canelasoftware.com Wed Aug 6 16:02:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed Aug 6 16:02:01 2003 Subject: How can I inspect imported sounds? In-Reply-To: <5.2.1.1.0.20030806224418.00c703a8@pop.wanadoo.fr> Message-ID: <36EA602C-C850-11D7-8A3E-000393C3F5BC@canelasoftware.com> On Wednesday, August 6, 2003, at 01:45 PM, Graham wrote: > On Wed, 6 Aug 2003 10:45:43 -0700, Mark Talluto > wrote: > > >> Preferences - Application Browser - Show audio clips > > > Oh well... I did say it was probably obvious! > > Was not that obvious to me when I needed that info recently. I have some truly obvious questions coming soon. Get your popcorn ready. Best regards, Mark Talluto http://www.canelasoftware.com From themacguy at macosx.com Wed Aug 6 16:18:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Aug 6 16:18:01 2003 Subject: Standalone doesn't close when requested - solution, I think Message-ID: <8AB10915-C852-11D7-80A5-000A95763ABC@macosx.com> From the standalone "one" I was using this code: go stack "two.rev" close stack "one.rev" Which did not close the "one.rev" window but left it open behind "two.rev" I switched the lines as follows: hide this stack go stack "two.rev" This works. Can you actually issue a "close" command to the file that contains the standalone code? I understand the difference between the file and the stack(s) it contains. (Thank you for the reminder, Klaus.) How would you go from the standalone (splashscreen) to another stack so that the splashscreen is not seen any more? I should note that there is also a stack file named "three.rev" which is called from the "two.rev" file. In that stack, I use these two lines of code: go stack "three.rev" close stack "two.rev" -- these work fine! While my (new) two lines of code work (from the standalone to "two.rev", I would prefer to do this in the approved manner (which I may be doing seredipitously). Further clarification would be appreciated. Thanks, Barry From alrice at ARCplanning.com Wed Aug 6 16:25:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 16:25:00 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: <3F315154.9000300@hyperactivesw.com> Message-ID: <89654502-C853-11D7-994B-000393529642@ARCplanning.com> On Wednesday, August 6, 2003, at 01:04 PM, J. Landman Gay wrote: > If the external is located inside the MacOS folder which is inside > the Contents folder, the relative path would be: > > myApp.app/Contents/MacOS/myExternal.bundle > > The path you mention above would also work, if you want to keep the > external inside the Resources folder instead, but you need to add > "myApp.app/" in front of it. But this is the goal: We want the external inside the app bundle, AND allow the app to still run OK if the user renames myApp.app to whateverApp.app. That would be the correct packaging and behavior in my opinion. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jacque at hyperactivesw.com Wed Aug 6 16:41:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 6 16:41:00 2003 Subject: How to place revVideograbber bundle inside of the app bundle? In-Reply-To: <89654502-C853-11D7-994B-000393529642@ARCplanning.com> References: <89654502-C853-11D7-994B-000393529642@ARCplanning.com> Message-ID: <3F31746F.10401@hyperactivesw.com> On 8/6/03 4:18 PM, Alex Rice wrote: > > On Wednesday, August 6, 2003, at 01:04 PM, J. Landman Gay wrote: > >> If the external is located inside the MacOS folder which is inside >> the Contents folder, the relative path would be: >> >> myApp.app/Contents/MacOS/myExternal.bundle >> >> The path you mention above would also work, if you want to keep the >> external inside the Resources folder instead, but you need to add >> "myApp.app/" in front of it. > > > But this is the goal: We want the external inside the app bundle, AND > allow the app to still run OK if the user renames myApp.app to > whateverApp.app. Sorry, I wasn't thinking. In that case, use the startup handler to parse the name of the app just as you've been doing it, and then use the parsed application name as the first part of the path. The only thing I'm not sure about, and haven't ever tried, is whether "the filename of this stack" will return anything on startup, since technically there is no stack open yet. Let us know how it goes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davethebrv at mac.com Wed Aug 6 16:45:01 2003 From: davethebrv at mac.com (David Beck) Date: Wed Aug 6 16:45:01 2003 Subject: binaryEncode/binaryDecode (was Re: Endian conversion problems) In-Reply-To: Message-ID: Well, I finally got an acceptable (IMOO) solution to the read/writing large amounts of big endian data on a windows machine. I'll post part of that at the bottom, and if anybody wants the the rest of it I would be happy to provide it to them off list. But in the course of comming up with this solution I discovered something about the binaryEncode/binaryDecode functions. Basically these two functions are a mess. The documentation is flat out wrong and even if it were correct they would still be a mess. for binaryEncode: the 'n' format is documented as encoding a number string into a signed 2-byte integer in network byte order. The 'N' format is documented to do the same thing for a 2-byte unsigned integer in network byte order. This is wrong. The 'n' format will convert signed OR unsigned values into a 2-byte integer in network byte order, and the 'N' format will convert signed or unsinged values into a 4-byte integer in network byte order. This function works consistently regardless of whether you are running on a Mac or Windows machine. for binaryDecode: The 'n' format is documented to convert signed big endian 2-byte binary data into a number string. This works as documented on the Mac side, but if I build a standalone for Windows, the 'n' flag starts converting the same 2-bytes as unsigned 2-byte data. The 'N' format is documented to convert unsigned 2-byte binary data in network byte order, but actually converts 4-byte binary data in network byte order as signed data if it is on the mac side, and unsigned data if it is on the window side. I know the 'I' (uppercase i) flag has similar problems, as I would guess the 's' flag does, but I didn't go there since I didn't have to. Please fix these functions and their documentation!! As for the solution I settled on for reading a large amount of big endian data, here is the a closs platform function for reading a large sequence of signed 2-byte big endian ints. Basically it reads them all in one go, stores the lot of them in a temporary variable, and then pops them out of the temp var one at a time, converting them with binaryDecode (taking into account the function's little 'quirks') as it goes: function ReadUInt16 filePath, count if the platform is "Win32" then read from file filePath for (count * 2) put it into rawData put "" into finalResult put "" into curNum repeat while rawData is not empty put binaryDecode( "n", char 1 to 2 of rawData, curNum ) into dummy -- we need to give the number its sign ourselves, since -- the 'n' flag always reads unsigned data on Windows. if curNum < 0 then put 32768 + ( curNum + 32768 ) into curNum put curNum & comma after finalResult delete char 1 to 2 of rawData end repeat delete the last char of finalResult else read from file filePath for count uint2 put it into finalResult end if return finalResult end ReadUInt16 This way you avoid doing a 1-byte file read for every number, which would slow things down a lot. I also have cross platform functions to read/write big endian unsigned 2-byte ints and unsigned 4-byte ints. If anybody would like them, drop me a note. Hopefully this will save some people the same 'discovery process' I went through. Cheers, Dave on 8/5/03 8:27 PM, Dar Scott at dsc at swcp.com wrote: > > On Tuesday, August 5, 2003, at 08:51 PM, David Beck wrote: > >> The question is: What is the best way to read/write a bunch of 2-byte >> integers in network byte order on Windows?? > > Network order is a good way to go. > >> I looked in to read/writing raw chars, and then using the >> binaryEncode/binaryDecode functions to translate the raw binary data to >> numbers, but those functions require a parameter for every value that >> gets >> encoded/decoded. I need to be able to read/write sequences of up to >> 1120 >> 2-byte integers in a reasonable amount of time, and I can neither >> supply >> 1120 arguments to those functions, nor can I read/write the ints one >> at a >> time, since doing this is unacceptably slow. > > You can always use numToChar() and charToNum(), but I think the > direction you are heading is probably better in this case. > > Read and write your file with URL "binfile:...". > > For writing, accumulate the file value with 'put ... after...' and then > put the file. That is fast. Create your two byte strings one at a > time with binaryEncode() in a loop and append them. > > For reading files, you can use "repeat with i = 1 to the length of > myBinFile by 2". The use i to pick off a two char string and > binaryDecode() that. (I'm not sure I have that last cycle of that loop > right.) > > I don't think that is as slow as it looks. (Even so, I have suggested > an accumulation syntax for the format strings to handle data like this; > we'll see if that goes anywhere.) > > >> ps. As a side note, I noticed that there is no support for 4-byte >> integers >> in network byte order from the binaryEncode/binaryDecode functions. >> This >> isn't a problem for me, since almost all of the data I need to >> read/write is >> 2-byte integers, but I thought it was strange since there is support >> for >> 4-byte integers in host byte order from the same functions. > > I think this Transcript Dictionary format description is in error: > >> N: convert next amount 4-byte chunks of data to unsigned integers in >> network byte order > > This is actually signed. (I think it might accept an unsigned number > in the high range in binaryEncode(), though.) > > Dar Scott > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at easynet.fr Wed Aug 6 16:48:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Aug 6 16:48:00 2003 Subject: Console mode apps (was Revolution speed sucks?) In-Reply-To: <1770E401-C833-11D7-985F-000A9567A3E6@swcp.com> References: <1770E401-C833-11D7-985F-000A9567A3E6@swcp.com> Message-ID: <3F3175E4.9040904@easynet.fr> Dar Scott wrote: > > On Wednesday, August 6, 2003, at 03:32 AM, Pierre Sahores wrote: > >> Because the answers have to do with the OS the deamon apps are running >> on, what are the platform's operating systems your are developing for >> (MacOSX, Win32, Linux,...) ? > > > I want it all! Let's start with Win32 (or a subset) or OS X. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Dar, At the begining of the story (1997), i was, as lots others, searching a way to set-up a little web-driven flat-files database server. At that time, i was mostly interesting in running the stuff under the MacOS/Webstar platform. After testing lots of stuffs and possibles ways to do the trick (FileMaker, Frontier, Lasso, Visual Cafe, 4D, MacPerl, AppleScript, Live-Card, etc...), i went back to my lovely Hypercard 2.35, found a WebStar doc about the way to use to set-up a "Hello world !' CGI in using HC... Because MacOS was not able to handle the way the CGI's are running as scripts under *NIX, the only way to have HC-based CGI up was to have the HC app running along WebStar and to let the two apps communicate trough appleevents. After lots of tunning, this way became rally usefull and i used it to build some MacOS web apps. (re)Because Apple shooted HC, i went to Metacard and because MacOSX did'nt come out, while i was waiting for more than a beta OS (Rhapsody), i went to Linux (1999) and worked hard to set-up Metacard, not as a CGI-engine but (in about speed and security considerations, i had successfully experimented under MacOS8), to have it up as a long-running application process, in compliance with the Init System V guilde-lines. With the help of Scott (Raney), and some times against his advices !!! (the .php-based sockets listener, witch i still recommand) and Andu (Novac), i find out the way to get the expected results (see the metacard archives list). ... As Revolution is yet in front of the stage, i would recommand you to use it instead of MC to go head in building XTalk's based "three parts networked apps". All what i learned in about this mather is only "work in progress" (SQL servers handling trough shell() has to be replaced by the build-in "Rev-DB" facilities) but what i experimented, along those years, is that the RR(MC) engine rocks in serving critical web's and erp's dedicated apps over the internet. As a possible starter point, i recommand you to read the Sadhu's how-to, witch explain how he builded, in some hours, his first MC-based deamon to serve datas over the web to a MC-based client-side front-end. In between other places, you will find it at . Search too about a recent (july) general post i did on the Rev's list. Win32 is able to host such apps too, as long as the apps are launched in graphical mode, even id they are only working just as *NIX deamon apps would do. MacOSX is able to run them in both the *NIX and Win32 ways but i did'nt have time to test the first one, at this point. ... Alike Richard, Kevin, Tuviah and others, i belive that Revolution can take-off in about the great internet apps framework he is (even if just some ones of us are still using it in this way), if we can explain how it let us build critical apps without the inconvience of using too trivial or unsuitables tools, java included. Ask for more technical tasks, if needed. Bests, -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From dsc at swcp.com Wed Aug 6 17:06:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 17:06:00 2003 Subject: Console mode apps In-Reply-To: <3F3175E4.9040904@easynet.fr> Message-ID: <45FB1501-C859-11D7-985F-000A9567A3E6@swcp.com> On Wednesday, August 6, 2003, at 03:40 PM, Pierre Sahores wrote: > Win32 is able to host such apps too, as long as the apps are launched > in graphical mode, even id they are only working just as *NIX deamon > apps would do. I have run standalones as services with the service gui on and off. I have used them as command-line apps, too. Both seem to be discouraged. It would be great to simply run the engine without the full gui. It would be great to have command-line parsing and stdin and stdout working right, too. Is there a special engine for this? Where do I find it? Dar Scott From themacguy at macosx.com Wed Aug 6 17:14:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Aug 6 17:14:01 2003 Subject: How do I stop app's files from being opened by Rev? Message-ID: <72A5A18D-C85A-11D7-80A5-000A95763ABC@macosx.com> I've created a standalone app with two other stacks that "belong" to that app. I'd like to prevent Rev from opening either of those two files. In fact, Furthermore, I want those files to be opened by the standalone procedurally from within the app and -not- by a double-click on either file. I can't make these two stacks sub-stacks as information contained within the stacks must be modfied and saved periodically. I'm guessing that, on the Mac, I'd drop the two apps inside the "package" of the app. I remember seeing a reference how to do this in the list and I'll search for it. On Windows, I haven't a clue. I don't want to change which program opens the file because that seems to change it for all Rev files on the drive. As I said, I want to control what gets opened and when from within the main app. Any ideas? Thanks, Barry From capellan2000 at yahoo.com Wed Aug 6 17:33:02 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed Aug 6 17:33:02 2003 Subject: Vector Graphic to Transparent bitmap Message-ID: <20030806222554.39231.qmail@web40502.mail.yahoo.com> Hi Ken, I try your code in "How to Export a Card Image (Not a Screenshot!)" to convert a black polygon vector graphic (put over a red background) in a bitmap image. The red area of this bitmap image was made transparent using other code from your page. Finally, I set the windowsShape property of the stack to this transparent image... but everytime I got a CRASH. Could anybody try this secuence? I don't have the files with me, but here are the codes, from the Ken Ray's site. Thanks Ken, for this useful resource and posting the stack "Polygon Graphic Transformations" in your site. :)) Alejandro Tejada ------------------------------------------------------ There are many times you might want to export the contents of a card to a JPG or PNG file, and MetaCard/Revolution?s built in export snapshot command takes a literal screenshot, so things like palettes and toolbars can get in the way of getting a clean image of the card. Additionally, you might have a stack window which is larger than the current monitor, and need to export the card image; export snapshot just won?t cut it in these cases. The following script allows you to export a card image to disk: on ExportCard pStackPath,pExportPath,pImageType -- pStackPath is the path to the stack whose card you want to export -- pExportPath is where you want the image to go -- pImageType is one of the three formats supported by the export -- command: paint, png or jpeg put the alwaysBuffer of stack pStackPath into tOldBuffer -- The next two lines force the current card image into the offscreen buffer set the alwaysBuffer of stack pStackPath to false set the alwaysBuffer of stack pStackPath to true create invisible image -- Here's the 'meat' of the handler: set the imagePixMapID of last image to (the pixMapID of stack pStackPath) select last image set the alwaysBuffer of stack pStackPath to tOldBuffer do "export" && pImageType && "to file pExportPath" delete last image choose browse tool end ExportCard Note that this will only export what is visible in the stack window; that is, if you have a scrolling group on the card, you won't get everything inside the group - you would need to resize the stack to accomodate everything before you did an ExportCard. Posted 3/31/03 by Ken Ray, based on original code by Brian Yennie (thanks, Brian!) ------------------------------------------------------- This assumes you have a good understanding of how to manipulate imageData and maskData. If you don?t, take a look at tip imag003 - Understanding ImageData, MaskData and AlphaData before continuing. The following is an example of creating a single-color transparency of an image much like what is used in GIF images. I have chosen to use pure red (RGB: 255,0,0) as the mask color. on mouseUp put the imageData of image 1 into iData put the width of image 1 into tW put the height of image 1 into tH put empty into mData repeat with i = 1 to tH -- iterate each row repeat with j = 1 to tW -- iterate each column -- Get a pointer to the specific end byte of a pixel -- Remember there are 4 bytes per pixel put ((i-1)*tW*4)+(j*4) into tByte -- Go backwards from the end byte to get your R, G and B put charToNum(char (tByte-2) of iData) into tR put charToNum(char (tByte-1) of iData) into tG put charToNum(char (tByte) of iData) into tB if (tR = 255) and (tG = 0) and (tB = 0) then -- pixel is red, mask it put binaryEncode("C",0) after mData else put binaryEncode("C",255) after mData end if end repeat end repeat set the maskData of image 1 to mData set the imageData of image 1 to iData end mouseUp Hope you find this as useful as I did. :-) Posted 7/2/2002 by Ken Ray ------------------------------------------------------- ===== Useful sites: http://www.sonsothunder.com/devres/metacard/tips/ and /revolution/tips/ http://lists.runrev.com/pipermail/metacard/ and /use-revolution/ http://wiki.macitworks.com/revdocs http://www.google.com/advanced_search?q=site:lists.runrev.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dsc at swcp.com Wed Aug 6 17:33:14 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 17:33:14 2003 Subject: binaryEncode/binaryDecode (was Re: Endian conversion problems) In-Reply-To: Message-ID: <04B162E4-C85D-11D7-985F-000A9567A3E6@swcp.com> On Wednesday, August 6, 2003, at 03:37 PM, David Beck wrote: > Basically these two functions are a mess. The documentation is flat out > wrong and even if it were correct they would still be a mess. > > for binaryEncode: > > the 'n' format is documented as encoding a number string into a signed > 2-byte integer in network byte order. The 'N' format is documented to > do the > same thing for a 2-byte unsigned integer in network byte order. > > This is wrong. I think the documentation should say N is signed. This is consistent with Perl formats. This has been reported to bugzilla and brought up on the improve-revolution discussion list. > The 'n' format will convert signed OR unsigned values into a 2-byte > integer > in network byte order, and the 'N' format will convert signed or > unsinged > values into a 4-byte integer in network byte order. Do you think an error should occur if the number is outside the signed range? What should happen? I don't have a strong feeling as to this. I have suggested an unsigned big endian format be added. > This function works consistently regardless of whether you are running > on a > Mac or Windows machine. Oh, good. > for binaryDecode: > > The 'n' format is documented to convert signed big endian 2-byte > binary data > into a number string. This works as documented on the Mac side, but if > I > build a standalone for Windows, the 'n' flag starts converting the same > 2-bytes as unsigned 2-byte data. Yikes! > The 'N' format is documented to convert unsigned 2-byte binary data in > network byte order, but actually converts 4-byte binary data in > network byte > order as signed data if it is on the mac side, and unsigned data if it > is on > the window side. Yikes! I see these as a single Windows bug, given the assumption that that N should be signed. If you don't bugzilla it, I'll play with this and see what happens. (My PC has been ill and only now am I getting back to it.) > I know the 'I' (uppercase i) flag has similar problems, as I would > guess the > 's' flag does, but I didn't go there since I didn't have to. Do you mean signed vs. unsigned problems? That's a bug. If you mean byte-order, well, I is host dependent. > Please fix these functions and their documentation!! Does this summary seem correct? 1. The documentation shows N as unsigned and it should be signed. (reported) 2. binaryEncode() for is too tolerant in range checking and should create errors. 3. Windows has signed/unsigned wrong for at least three formats. You might want to bugzilla a suggestion for #2. You should report a bug for #3 (or if you prefer, help me see it and I'll report the bug). I'm with you. I'm eager to encourage RunRev to keep these formats in good shape. Dar Scott From graham.samuel at wanadoo.fr Wed Aug 6 17:39:01 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Wed Aug 6 17:39:01 2003 Subject: [ANN] searchable use-revolution list archives Message-ID: <5.2.1.1.0.20030806225303.00c61070@pop.wanadoo.fr> On Wednesday, August 06, 2003 4:44 PM, "Alex Rice" wrote: > I frequently use google to search this list's archives, but > unfortunately the google index usually lags a month or so. Here is a > new web search of the use-revolution list archives: > > > > It's a fast, full text search, and the index now is up to date, and new > messages should appear within a few hours. (I'm not 100% sure about how > quickly new messages will appear-- will just have to see how well the > indexing script works in practice) Just wanted to join the praise of this after using it for the first time. I really found the Google thing very difficult in practice, but this is very well presented, and very fast. Thanks --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From dsc at swcp.com Wed Aug 6 17:44:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 17:44:01 2003 Subject: binaryEncode/binaryDecode (was Re: Endian conversion problems) In-Reply-To: Message-ID: <8731B12B-C85E-11D7-985F-000A9567A3E6@swcp.com> On Wednesday, August 6, 2003, at 03:37 PM, David Beck wrote: > function ReadUInt16 filePath, count > if the platform is "Win32" then > read from file filePath for (count * 2) Consider URL binfile: > put it into rawData > put "" into finalResult > put "" into curNum > repeat while rawData is not empty > put binaryDecode( "n", char 1 to 2 of rawData, curNum ) into > dummy > -- we need to give the number its sign ourselves, since > -- the 'n' flag always reads unsigned data on Windows. > if curNum < 0 then put 32768 + ( curNum + 32768 ) into curNum Typo? This can't be right. > put curNum & comma after finalResult This is fast. However, it converts numbers to strings. You might want to consider using an array. > delete char 1 to 2 of rawData This is slow for long strings. There is probably a faster way using 'char i to i+1 ...', but maybe not. > end repeat > delete the last char of finalResult > else > read from file filePath for count uint2 > put it into finalResult Did you edit out the non-Windows script? > end if > > return finalResult > end ReadUInt16 > > This way you avoid doing a 1-byte file read for every number, which > would > slow things down a lot. > I also have cross platform functions to read/write > big endian unsigned 2-byte ints and unsigned 4-byte ints. If anybody > would > like them, drop me a note. Cool. That is the way to do it. Will they still work when Windows is fixed? Anybody willing to check sign/unsigned on linux? Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From dsc at swcp.com Wed Aug 6 17:45:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 17:45:01 2003 Subject: How do I stop app's files from being opened by Rev? In-Reply-To: <72A5A18D-C85A-11D7-80A5-000A95763ABC@macosx.com> Message-ID: On Wednesday, August 6, 2003, at 04:08 PM, Barry Levine wrote: > On Windows, I haven't a clue. I don't want to change which program > opens the file because that seems to change it for all Rev files on > the drive. As I said, I want to control what gets opened and when from > within the main app. Maybe you can create your own "plug-in" or "data" file extension. Dar Scott From cteno4 at earthlink.net Wed Aug 6 17:47:01 2003 From: cteno4 at earthlink.net (cteno4) Date: Wed Aug 6 17:47:01 2003 Subject: GPS systems Message-ID: <200308062146.RAA06578@www.runrev.com> Hi, Has anyone had any experience with getting GPS data from a GPS unit into metacard or rev? I'm working on a data collection system for a research project and am hoping to grab GPS data from a GPS unit. Noticed that many of the GPS systems are now going USB and also have not found any info yet on polling the gps unit to spit out data. I've done a lot of serial communications with equipment in metacard, but not GPSs yet. thanks jeff Jeffrey H. Reynolds, Ph.D. 6620 Michaels Dr. Bethesda, MD 20817 301.469.8562 email: cteno4 at earthlink.net cteno4 at aol.com From kray at sonsothunder.com Wed Aug 6 18:00:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 6 18:00:01 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: Message-ID: <03d101c35c6d$75ea0ed0$6801a8c0@LightningFlash> > Don't you use OLM.net? If not, someone here mentioned that > they use it > and were able to get it up and running with them. That was me! ;-) Although I am on OLM, I was actually thinking that it would be great to have a choice between ISPs that can handle Rev well... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Wed Aug 6 18:03:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 18:03:00 2003 Subject: GPS systems In-Reply-To: <200308062146.RAA06578@www.runrev.com> Message-ID: <2E3F71EA-C861-11D7-985F-000A9567A3E6@swcp.com> On Wednesday, August 6, 2003, at 04:41 PM, cteno4 wrote: > Has anyone had any experience with getting GPS data from a GPS unit > into > metacard or rev? No, but I have done it in the past with LabVIEW and serial. > I'm working on a data collection system for a research > project and am hoping to grab GPS data from a GPS unit. Noticed that > many > of the GPS systems are now going USB and also have not found any info > yet > on polling the gps unit to spit out data. I've done a lot of serial > communications with equipment in metacard, but not GPSs yet. If it is a serial unit, you should be able to do it. I don't remember the protocol. I think I found it online. I might have just looked at the reports using a terminal program. Grab some GPS and see what you get. IIRC, it was simple ASCII text, maybe some comma delimited numbers of some sort. I don't remember if I even sent commands to the GPS, I may have simply passively listened to reports. Because GPS units are migrating from serial to USB, you might find that their drivers create a virtual serial device. You should be able to open that. Let us know how this works out. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From ambassador at fourthworld.com Wed Aug 6 18:11:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Aug 6 18:11:01 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <03d101c35c6d$75ea0ed0$6801a8c0@LightningFlash> Message-ID: Ken Ray wrote: >> Don't you use OLM.net? If not, someone here mentioned that >> they use it >> and were able to get it up and running with them. > > That was me! ;-) > > Although I am on OLM, I was actually thinking that it would be great to > have a choice between ISPs that can handle Rev well... If someone's keeping a list, TierraNet.com has an excellent infrastructure, fast connections, good service, and lets you use compiled apps your cgi-bin such as Rev. RevNet is powered by CGIs running on TierraNet-hosted domains. But really, any ISP that lets you run complied apps should suffice. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Wed Aug 6 18:29:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 18:29:01 2003 Subject: GPS systems In-Reply-To: <2E3F71EA-C861-11D7-985F-000A9567A3E6@swcp.com> Message-ID: On Wednesday, August 6, 2003, at 04:56 PM, Dar Scott wrote: > I don't remember if I even sent commands to the GPS, I may have simply > passively listened to reports. This is coming back. A little. The reports meet NMEA standards. The first field determines the data structure. I think it is GPS for GPS. You might also get data in other formats. I think I was able to convince it to give me raw delay data. Or maybe that was the GPS reports. You might get Loran C reports or others. I'm pretty sure I was able to get Lat, Long, and altitude in some report. I had to do some filtering and averaging and tossing out of data. I think. The commands to change the reports may be non-standard and proprietary. Look at ship standards, I think. (Or maybe I dreamed all this; use a clue only.) Because of the ship-board emphasis on serial, I'm thinking the chance of the GPS UPS drivers creating a serial view is good. Dar Scott From alrice at ARCplanning.com Wed Aug 6 18:33:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 18:33:00 2003 Subject: How do I stop app's files from being opened by Rev? In-Reply-To: <72A5A18D-C85A-11D7-80A5-000A95763ABC@macosx.com> Message-ID: <700D48E5-C865-11D7-994B-000393529642@ARCplanning.com> On Wednesday, August 6, 2003, at 04:08 PM, Barry Levine wrote: > I've created a standalone app with two other stacks that "belong" to > that app. I'd like to prevent Rev from opening either of those two > files. In fact, Furthermore, I want those files to be opened by the > standalone procedurally from within the app and -not- by a > double-click on either file. > > I can't make these two stacks sub-stacks as information contained > within the stacks must be modfied and saved periodically. > > I'm guessing that, on the Mac, I'd drop the two apps inside the > "package" of the app. I remember seeing a reference how to do this in > the list and I'll search for it. I think that by putting the file into the application bundle it's kind of "off-limits" and if the user double-clicks it that's their problem. > On Windows, I haven't a clue. I don't want to change which program > opens the file because that seems to change it for all Rev files on > the drive. As I said, I want to control what gets opened and when from > within the main app. Toss it into System/Win32 isn't that what everyone else does? Kind of joking. There is probably somewhere safe under UserName/Documents and Settings/Application Data/YourSoftwareName/ Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From sarahr at genesearch.com.au Wed Aug 6 18:57:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Aug 6 18:57:00 2003 Subject: How do I stop app's files from being opened by Rev? In-Reply-To: <72A5A18D-C85A-11D7-80A5-000A95763ABC@macosx.com> Message-ID: <7977A6EF-C868-11D7-B2FE-0003937A97B8@genesearch.com.au> > I've created a standalone app with two other stacks that "belong" to > that app. I'd like to prevent Rev from opening either of those two > files. In fact, Furthermore, I want those files to be opened by the > standalone procedurally from within the app and -not- by a > double-click on either file. > > I can't make these two stacks sub-stacks as information contained > within the stacks must be modfied and saved periodically. You can still have them as sub-stacks - just set the Distribution Builder to "Move sub-stacks into individual files". They are then able to be modified & saved. > > I'm guessing that, on the Mac, I'd drop the two apps inside the > "package" of the app. I remember seeing a reference how to do this in > the list and I'll search for it. In OS X and Rev 2.0.2, sub-stacks that have been saved separately are automatically tucked inside the package and so are invisible to the casual user. They can still be found by anyone who is prepared to examine the package contents. In OS X, you could make them invisible by having their names start with a . (period). > On Windows, I haven't a clue. I don't want to change which program > opens the file because that seems to change it for all Rev files on > the drive. As I said, I want to control what gets opened and when from > within the main app. You could use a customized file extension, rather than .rev, and make it so that double-clicking automatically opened your application, rather than Rev itself. For Macs you can do this with the stackFileType property but I think there is a way to set the Windows registry to do the same sort of thing. Check out Ken Ray's tips - I seem to remember reading something like that there. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From chipp at chipp.com Wed Aug 6 19:46:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Aug 6 19:46:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <1FF3693F-C7FF-11D7-803E-000393529642@ARCplanning.com> Message-ID: Alex, Thanks for this exceptionally valuable tool. Now, someone should make a plugin for it (hint). -Chipp From alrice at ARCplanning.com Wed Aug 6 20:13:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 20:13:01 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: Message-ID: <60C6F3E3-C873-11D7-994B-000393529642@ARCplanning.com> On Wednesday, August 6, 2003, at 06:37 PM, Chipp Walters wrote: > Alex, > > Thanks for this exceptionally valuable tool. Now, someone should make a > plugin for it (hint). Hmm... It would be doable with just http GET queries and regex matching of the content answered by the CGI. Most of the work would be paging through large result sets. Myself I'm working on a spell-checking plugin, which is going to take a while :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From psahores at easynet.fr Wed Aug 6 20:17:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Aug 6 20:17:01 2003 Subject: Console mode apps In-Reply-To: <45FB1501-C859-11D7-985F-000A9567A3E6@swcp.com> References: <45FB1501-C859-11D7-985F-000A9567A3E6@swcp.com> Message-ID: <3F31A707.7000902@easynet.fr> Dar Scott wrote: > > On Wednesday, August 6, 2003, at 03:40 PM, Pierre Sahores wrote: > >> Win32 is able to host such apps too, as long as the apps are launched >> in graphical mode, even id they are only working just as *NIX deamon >> apps would do. > > > I have run standalones as services with the service gui on and off. I > have used them as command-line apps, too. Both seem to be discouraged. > It would be great to simply run the engine without the full gui. It > would be great to have command-line parsing and stdin and stdout working > right, too. > > Is there a special engine for this? Where do I find it? > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Did you use the win32 cmc engine before ? It's available for download at -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From monte at sweattechnologies.com Wed Aug 6 20:37:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 6 20:37:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <60C6F3E3-C873-11D7-994B-000393529642@ARCplanning.com> Message-ID: > > Alex, > > > > Thanks for this exceptionally valuable tool. Now, someone should make a > > plugin for it (hint). > > Hmm... It would be doable with just http GET queries and regex matching > of the content answered by the CGI. Most of the work would be paging > through large result sets. > > Myself I'm working on a spell-checking plugin, which is going to take a > while :-) > Is it going to do auto correct. It would save me heaps of time if the script editor just corrected teh with the ;-) Cheers Monte From alrice at ARCplanning.com Wed Aug 6 20:50:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 20:50:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: Message-ID: <8C8FEDB0-C878-11D7-994B-000393529642@ARCplanning.com> On Wednesday, August 6, 2003, at 07:30 PM, Monte Goulding wrote: > Is it going to do auto correct. It would save me heaps of time if the > script > editor just corrected teh with the ;-) Nope it's not going to auto-correct while you type. It'll be more like "spell check this entire field/script/stack/whatever now". It's also going to use the Google API for fetching guesses of spelling corrections. But it sounds like what you need is a macro-shortcut-expansion-thingy plugin! Typing "teh" and it would be replaced with "the". Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Wed Aug 6 21:38:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 21:38:01 2003 Subject: Console mode apps In-Reply-To: <3F31A707.7000902@easynet.fr> Message-ID: <3F7F8A1A-C87F-11D7-8AA1-000A9567A3E6@swcp.com> On Wednesday, August 6, 2003, at 07:10 PM, Pierre Sahores wrote: > Did you use the win32 cmc engine before ? I have used the regular mc engine. I guess I have not used the cmc engine. > It's available for download at Thanks! Dar From jacque at hyperactivesw.com Wed Aug 6 21:45:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 6 21:45:01 2003 Subject: How do I stop app's files from being opened by Rev? In-Reply-To: <72A5A18D-C85A-11D7-80A5-000A95763ABC@macosx.com> References: <72A5A18D-C85A-11D7-80A5-000A95763ABC@macosx.com> Message-ID: <3F31BBC0.70809@hyperactivesw.com> On 8/6/03 5:08 PM, Barry Levine wrote: > I'm guessing that, on the Mac, I'd drop the two apps inside the > "package" of the app. I remember seeing a reference how to do this in > the list and I'll search for it. That's probably a good way to do it. If you are distributing for OS 9 though, there is no package. One way to handle it is to assign a different file type code to the stacks. That way Rev won't allow the user to select them in a standard file dialog, but it can still open them from a script. > On Windows, I haven't a clue. I don't know if this is kosher or not, but I usually just assign a ".dat" extension. Windows thinks the stack is a data file, it gets a generic icon, and it doesn't seem to get in the way of anything. If you want to be really sneaky, password-protect the stacks. Then if someone opens them in a text editor, they look like binary files and no text is visible. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Aug 6 21:57:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 21:57:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: <8C8FEDB0-C878-11D7-994B-000393529642@ARCplanning.com> Message-ID: On Wednesday, August 6, 2003, at 07:43 PM, Alex Rice wrote: > Nope it's not going to auto-correct while you type. It'll be more like > "spell check this entire field/script/stack/whatever now". Cool! Will I be able to use checkboxes to check items I want checked, like tooltips and button labels and names and label fields? (I wish the IDE put some sort of word like "label" in the names of labels automatically. Mine end up only half with those. So, it may not be possible to differentiate label fields from others.) Dar From rogerguay at centurytel.net Wed Aug 6 21:57:11 2003 From: rogerguay at centurytel.net (Roger Guay) Date: Wed Aug 6 21:57:11 2003 Subject: Turtle Graphics In-Reply-To: <200308051601.MAA03566@www.runrev.com> Message-ID: Jim, Thanks for these intriguing examples and the short tutorial on TG. I'll have fun with these for some time. Roger > Message: 3 > Date: Tue, 5 Aug 2003 08:34:20 -0700 > To: use-revolution at lists.runrev.com > From: Jim Hurley > Subject: Turtle Graphics > Reply-To: use-revolution at lists.runrev.com > > Greetings all, > > I have been working on a optics tutorial. It involves the > manipulation of mirrors, lenses, microscopes, telescopes, focal > points, light rays, fish, bugs, eyes, etc. I have found it useful to > modify the traditional Turtle Graphics so that the language may be > applied to any RR control and not just to the turtle drawing cursor. > This will not be useful to the majority on this list, those whose > primary objective is text manipulation. But for those interested in > educational software or games, you may find TG a useful tool. > > Actually there are three flavors, each useful in a different > circumstance. The first is "Control Graphics." The turtle becomes a > metaphor for a control, any control--button, field, image, graphic. > The Turtle Graphic vocabulary acts on the custom properties assigned > to each control. These properties are: > > px, py, pangle,p PenDown, pPoints > > They are in order: The x and y Cartesian coordinates (measured > relative to the center of the screen) the heading, the pen state (up > or down--drawing or not) and the graphic points which define the line > drawn by the control if the pen is down. > > For example, in the following handler, a hare moves in a circle > chased by a fox. (The hare and fox are buttons with the obvious icon.) > > on mouseUp > startTurtle "hare" > startTurtle "fox" > put 0 into theta > put 5 into dTheta > > repeat until theta > 360 > > tell "hare" > setRA 200,theta -- Set the polar coord. radius and angle > add dTheta to theta > put xycor() into theHareLocation > > tell "fox" > setheading direction(theHareLocation) > forward 8 > > end repeat > end mouseUp > > The see some example of "Control Graphics" run this in the msg box: > > go url "http://home.infostations.net/jhurley/ControlGraphics.rev" > > (Richard: Would this be better: go url > ?) > > > ---------------------------------- > > The second flavor is "Multiple Turtles" which is useful in programing > graphic lines with different properties (color, line size, etc.) It > only draws; it does not control the controls. > > The syntax is somewhat different from Control Graphics. As an > example, the following handler draws a pinwheel with different > colored spokes: > > on mouseUP > put "red,orange,black,green,blue,violet" into colorList > > repeat with i = 1 to 6 > put "Spoke" &i into tName > > startTurtle tName > set the forecolor of grc tName to item i of colorlist > set the linesize of grc tName to 8 > setheading i*360/6 > forward 100 > stopturtle tName > > end repeat > > end mouseUP > > To see some examples run this in the msg box: > > go url "http://home.infostations.net/jhurley/MultipleTurtle.rev" > > ------------------------------------- > > And lastly, there is the flavor which is most useful in teaching > science students to program in Transcript. It addresses only the > turtle graphic (the cursor). It draws an image rather than a graphic. > (A graphic slows down dramatically for lengthy draws--the graphic > must repeatedly be redrawn with each additional graphic points since > this is an *evolving* line.) It is based on the assumption that > beginning students are more receptive to graphic output rather than > text. This has the potential for quite sophisticated applications. > After a short while students learn how to program satellite > orbits--the satellite being the turtle (cursor). > > For some examples, run this in the msg box: > > go url "http://home.infostations.net/jhurley/TurtleGraphics.rev" > > All three tools are RR 1.1.1 compatible. > > Jim > From alrice at ARCplanning.com Wed Aug 6 22:17:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 6 22:17:00 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: Message-ID: On Wednesday, August 6, 2003, at 08:50 PM, Dar Scott wrote: > Cool! Will I be able to use checkboxes to check items I want checked, > like tooltips and button labels and names and label fields? (I wish > the IDE put some sort of word like "label" in the names of labels > automatically. Mine end up only half with those. So, it may not be > possible to differentiate label fields from others.) Yes- so far I have the following checkboxes for preferences. I'll add a tooltips option. I don't think the actual name of an object should be spell checked though. Maybe spell check the name if the label property is empty? What do you think? spell check "text" property (fields) spell check "label" property (buttons, groups) spell check custom properties spell check transcript scripts automatically query Google API for word guesses your google API Key ______ This covers the main things I want it to do, but it doesn't address htmltext, rtftext, or unicode at all. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From sarahr at genesearch.com.au Wed Aug 6 22:26:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Aug 6 22:26:01 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: Message-ID: On Thursday, August 7, 2003, at 12:54 pm, Dar Scott wrote: > I wish the IDE put some sort of word like "label" in the names of > labels automatically. Mine end up only half with those. So, it may > not be possible to differentiate label fields from others. Oh yes, that would be SOOO good. I try be be well-behaved and set the names of my label fields but always end up with a heap of "Field 1". As we saw with the Distribution Builder problems in version 2.0, even the Rev people have problems differentiating label fields from data fields :-) Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From dsc at swcp.com Wed Aug 6 23:14:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 6 23:14:01 2003 Subject: [ANN] searchable use-revolution list archives In-Reply-To: Message-ID: On Wednesday, August 6, 2003, at 09:10 PM, Alex Rice wrote: > Maybe spell check the name if the label property is empty? What do you > think? That seems to be the right direction. Maybe if it displays. That will require checking several things though. The name of fields don't display. Menus? Dar From SimPLsol at aol.com Wed Aug 6 23:16:01 2003 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed Aug 6 23:16:01 2003 Subject: Teams Message-ID: <1C243C75.18D8B8F2.00822317@aol.com> I have managed projects with up to 30 people spread over half the globe. It is never easy but some things help: 1. Define the overall project thoroughly at the beginning! This is the most important thing but often overlooked. The last thing you need is for creative people to improvise as they go along. 2. Divide the work into well-defined elements, one per person. 3. Allow only one editor. 4. Set scheduling expectancies. 5. Use the phone (even calls to New Zealand cost less than rework). Paul Looney From soapdog at mac.com Thu Aug 7 00:43:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Thu Aug 7 00:43:01 2003 Subject: How to use Automatic query builder to insert a record! Message-ID: Hi Folks, I just moved from my rev 1.0 to rev 2.0 and well, it's 2:38 in the morning and i can't stop coding. I am exploring the new database features and I have a doubt. I made a simple address book app for me, I am using a MySQL database and using automatic query builder. All my fields are being updated correctly and my navigation buttons working fine, I can explore and modify my database with no trouble, but if I want to add a new record? how am i supposed to go? is there any way to do so without scripting? Can someone help me, this will be fundamental do my decision to buy revolution this week or next month (my salary is short, but if this is as easy as i think it is, then God, i'll just have to buy it asap!!!!) Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From janschenkel at yahoo.com Thu Aug 7 00:53:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 7 00:53:00 2003 Subject: How to use Automatic query builder to insert a record! In-Reply-To: Message-ID: <20030807054635.39954.qmail@web11904.mail.yahoo.com> --- Andre Garzia wrote: > Hi Folks, > > I just moved from my rev 1.0 to rev 2.0 and well, > it's 2:38 in the > morning and i can't stop coding. I am exploring the > new database > features and I have a doubt. I made a simple address > book app for me, I > am using a MySQL database and using automatic query > builder. All my > fields are being updated correctly and my navigation > buttons working > fine, I can explore and modify my database with no > trouble, but if I > want to add a new record? how am i supposed to go? > is there any way to > do so without scripting? Can someone help me, this > will be fundamental > do my decision to buy revolution this week or next > month (my salary is > short, but if this is as easy as i think it is, then > God, i'll just > have to buy it asap!!!!) > > Cheers > Andre Garzia Hi Andre, You'll have to do a tiny bit of scripting, but it's really easy -- suppose the name of your query is "Foobar", then create an Insert button and set its script to : -- on mouseUp revExecuteWithQuery "Foobar", \ "INSERT INTO users VALUES(2003,'Andre Garzia')" end mouseUp -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From themacguy at macosx.com Thu Aug 7 00:55:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Aug 7 00:55:01 2003 Subject: Crashing during "print card" again - a lesson painfully learned Message-ID: After the recent problem I reported about visible QT player objects causing a crash in OSX, Klaus provided me with some code to overcome this. It involved importing a screenshot of the appropriate area, centering it over the player object, hiding the player object, printing the card, deleting the "last image", and showing the player object. I was developing on WindowsXP at that time so I continued there using Klaus' workaround. It did resolve the problem. However, I just brought the stack over from my PC to my Mac (OSX 10.2.6, Rev 2.0.1 - same as on XP). Now it crashes whenever I attempt to print the card (even though my handler hides the player object). (lots of code and discussion deleted and replaced with the following:) Turns out I had another player object containing audio. If had no border so I had forgotten it was still visible (even though you can't see it). To Rev, however, it was the same kiss of death as the original player object; as long as it's visible, it will crash Rev in OSX. I didn't see the crash in WindowsXP because it doesn't crash there; it only prints a white space where the player object is. Of course, it -is- a white space so, in Windows, I didn't know I had a problem waiting for me when I brought it over for final Mac development. *sigh* My buddy, Shawn, calls this an EBKAC problem: Error between keyboard and chair. Regards, Barry From monte at sweattechnologies.com Thu Aug 7 01:25:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 7 01:25:01 2003 Subject: How to use Automatic query builder to insert a record! In-Reply-To: Message-ID: > > Hi Folks, > > I just moved from my rev 1.0 to rev 2.0 and well, it's 2:38 in the > morning and i can't stop coding. I am exploring the new database > features and I have a doubt. I made a simple address book app for me, I > am using a MySQL database and using automatic query builder. All my > fields are being updated correctly and my navigation buttons working > fine, I can explore and modify my database with no trouble, but if I > want to add a new record? how am i supposed to go? is there any way to > do so without scripting? Can someone help me, this will be fundamental > do my decision to buy revolution this week or next month (my salary is > short, but if this is as easy as i think it is, then God, i'll just > have to buy it asap!!!!) > Hi Andre I don't know about doing it without scripting but here's the general idea with scripting: This code will save listed fields into the database. The fields should be the same name on the card as in the table. on mouseUp put 1 into i put "INSERT INTO MYTABLE SET" into tSQL repeat for each item tItem in "FirstName,LastName,Email" put fld tItem into tVariableA[i] " "&tItem&"= :"&i after tSQL end repeat revExecuteSQL gDBref,tSQL,tVariableA end if Cheers Monte From soapdog at mac.com Thu Aug 7 01:29:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Thu Aug 7 01:29:01 2003 Subject: How to use Automatic query builder to insert a record! In-Reply-To: <20030807054635.39954.qmail@web11904.mail.yahoo.com> Message-ID: <4D384050-C8A0-11D7-A2C0-00039387AE90@mac.com> > Hi Andre, > > You'll have to do a tiny bit of scripting, but it's > really easy -- suppose the name of your query is > "Foobar", then create an Insert button and set its > script to : > > -- > on mouseUp > revExecuteWithQuery "Foobar", \ > "INSERT INTO users VALUES(2003,'Andre Garzia')" > end mouseUp > -- > > Hope this helped, > > Jan Schenkel. Hi Jan, first tanx for the quick answer. let me see if i get it... i must change the SQL query in my automatic query from select to insert... right? if thats so, how does it get the values from the fields? I can't find revExecuteWithQuery in the transcript dictionary. Uh... are thoose undocumented featues? Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From sralston at dyton.com Thu Aug 7 01:45:00 2003 From: sralston at dyton.com (Steve Ralston) Date: Thu Aug 7 01:45:00 2003 Subject: what selected text?! Message-ID: <3F317FF3.5856D94A@dyton.com> Hi all, I'm trying the most basic thing with a button and text in a field. My buttons script is "on mouseUp put the selectedText end mouseUp" I select text in the field, push the button, and all that happens is the text de-selects. I'm just trying to get a handle on how to work with text so I can apply styles, etc., eventually, but I'm missing something it appears. Any suggestions are very appreciated. Steve Ralston Dyton -- ?Christianity is a battle, not a dream.? ? Wendell Phillips From jleddy118 at earthlink.net Thu Aug 7 01:45:16 2003 From: jleddy118 at earthlink.net (jleddy) Date: Thu Aug 7 01:45:16 2003 Subject: DLL Absence Message-ID: <3F31AAC9.29A84F3C@earthlink.net> Gee! After spending much time looking for DLL info, I see a message that it is in the folder, "External SDK", which is not anywhere on my computer. Why isn't it there? I got the small business edition, which means I got a key to unlock the download of 2.0.2. I got it on sale. Did I spend too much money? Or, does the extra information only come with the Enterprise edition? If so, why is provision of such a capability free in almost every other GUI development environment? Makes me feel like the small business edition is the no-business edition. I haven't given up hope on Revolution yet. I was thinking about conlodating business and title development around it and spending on the enterpise edition. But, I might have to phase out Supercard-like development and stick with pure C++; and C++ is time consuming no matter how fluent one is with it. Things like QT don't really 'draw' well. Then there's the compile-try-build cycle. But, the price hit is about the same. Really need the format for DLL's, shared libs, etc. Don't have a lot time to waist on this. Thanks From briany at qldlearning.com Thu Aug 7 02:07:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Thu Aug 7 02:07:01 2003 Subject: DLL Absence In-Reply-To: <3F31AAC9.29A84F3C@earthlink.net> Message-ID: I couldn't find the external SDK on the RunRev site just now either, but it appears that it is still available from the Metacard FTP site: ftp://ftp.metacard.com/MetaCard/ It has been part of past release- I don't know the history or pattern behind it, however. HTH Brian > Gee! > > After spending much time looking for DLL info, I see a message that it > is in > the folder, "External SDK", which is not anywhere on my computer. > > Why isn't it there? > I got the small business edition, which means I got a key to unlock the > download > of 2.0.2. I got it on sale. Did I spend too much money? Or, does the > extra > information only come with the Enterprise edition? If so, why is > provision of > such a capability free in almost every other GUI development > environment? > Makes me feel like the small business edition is the no-business > edition. > > I haven't given up hope on Revolution yet. I was thinking about > conlodating business > and title development around it and spending on the enterpise edition. > But, I might have > to phase out Supercard-like development and stick with pure C++; and > C++ > is time > consuming no matter how fluent one is with it. Things like QT don't > really 'draw' well. > Then there's the compile-try-build cycle. But, the price hit is about > the same. > Really need the format for DLL's, shared libs, etc. Don't have a lot > time to waist on this. > Thanks > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From andre.rombauts at win.be Thu Aug 7 02:19:01 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Thu Aug 7 02:19:01 2003 Subject: Database management Message-ID: <008701c35cb3$50065700$9e26fea9@piran> Hello all! I've posted several messages related to database management and CGI scripting with Revolution 2.02 but don't need any answer... :-( Are my questions so stupid? I am an educator, not a professionnal programmer... Presently I have problems to get linked to an online ODBC database. Here is the script... Can anyone give some help? Everything is OK when the same script is used to access the dbase locally (using with a DSN defined with the ODBC database source manager). The database is a MS Access db. It has no user or psw defined. I'm using this on a PC XP Home machine. on mouseUp local myDB,myRecSet put revOpenDatabase("ODBC","myserver.org","/myserver.org/db/revolution.mdb","","") into myDB put the result into field "Errors" put revQueryDatabase(MyDB,"SELECT * FROM Users where id = 4") into myRecSet put revDatabaseColumnNamed(myRecSet,"noun") into field "MyData" revCloseDatabase MyDB end mouseUp The Errors field shows [Microsoft][ODBC driver manager] Unavailable datasource and unspecified driver name This message is shown immediately and it seems access to the Internet is not even launched thus I guess this is a problem locally... Do I need to use a DSN here too? How. ... Andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.cuneo at cuk.ch Thu Aug 7 02:26:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Thu Aug 7 02:26:01 2003 Subject: Is it possible to forbid a Backup File In-Reply-To: Message-ID: Hello! Is it possible to forbid that Revolution create a Backup File when we use the save command? Here is the problem with the Files with French chars. So, if I prevent that, my problem is solved. Thank you Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Brian Yennie > R?pondre ??: use-revolution at lists.runrev.com > Date?: Thu, 7 Aug 2003 03:00:08 -0400 > ??: use-revolution at lists.runrev.com > Objet?: Re: DLL Absence > > I couldn't find the external SDK on the RunRev site just now either, > but it appears that it is still available from the Metacard FTP site: > > ftp://ftp.metacard.com/MetaCard/ > > It has been part of past release- I don't know the history or pattern > behind it, however. > > HTH > > Brian > >> Gee! >> >> After spending much time looking for DLL info, I see a message that it >> is in >> the folder, "External SDK", which is not anywhere on my computer. >> >> Why isn't it there? >> I got the small business edition, which means I got a key to unlock the >> download >> of 2.0.2. I got it on sale. Did I spend too much money? Or, does the >> extra >> information only come with the Enterprise edition? If so, why is >> provision of >> such a capability free in almost every other GUI development >> environment? >> Makes me feel like the small business edition is the no-business >> edition. >> >> I haven't given up hope on Revolution yet. I was thinking about >> conlodating business >> and title development around it and spending on the enterpise edition. >> But, I might have >> to phase out Supercard-like development and stick with pure C++; and >> C++ >> is time >> consuming no matter how fluent one is with it. Things like QT don't >> really 'draw' well. >> Then there's the compile-try-build cycle. But, the price hit is about >> the same. >> Really need the format for DLL's, shared libs, etc. Don't have a lot >> time to waist on this. >> Thanks >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sims at ezpzapps.com Thu Aug 7 02:29:01 2003 From: sims at ezpzapps.com (sims) Date: Thu Aug 7 02:29:01 2003 Subject: what selected text?! In-Reply-To: <3F317FF3.5856D94A@dyton.com> References: <3F317FF3.5856D94A@dyton.com> Message-ID: >Hi all, > >I'm trying the most basic thing with a button and text in a field. My >buttons script is >"on mouseUp >put the selectedText >end mouseUp" > >I select text in the field, push the button, and all that happens is the >text de-selects. I'm just trying to get a handle on how to work with >text so I can apply styles, etc., eventually, but I'm missing something >it appears. Works here. Is there anything else in the proj that might be disrupting things? hth sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From janschenkel at yahoo.com Thu Aug 7 02:30:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 7 02:30:01 2003 Subject: Database management In-Reply-To: <008701c35cb3$50065700$9e26fea9@piran> Message-ID: <20030807072306.48969.qmail@web11904.mail.yahoo.com> --- Andre Rombauts wrote: > Hello all! > > I've posted several messages related to database > management and CGI scripting with Revolution 2.02 > but don't need any answer... :-( > Are my questions so stupid? I am an educator, not a > professionnal programmer... > > Presently I have problems to get linked to an online > ODBC database. Here is the script... Can anyone give > some help? Everything is OK when the same script is > used to access the dbase locally (using revOpenDatabase("ODBC","revo",,,) into myDB> with a > DSN defined with the ODBC database source manager). > The database is a MS Access db. It has no user or > psw defined. I'm using this on a PC XP Home machine. > on mouseUp > > local myDB,myRecSet > put > revOpenDatabase("ODBC","myserver.org","/myserver.org/db/revolution.mdb","","") > into myDB > put the result into field "Errors" > put revQueryDatabase(MyDB,"SELECT * FROM Users where > id = 4") into myRecSet > put revDatabaseColumnNamed(myRecSet,"noun") into > field "MyData" > revCloseDatabase MyDB > > end mouseUp > > The Errors field shows [Microsoft][ODBC driver > manager] Unavailable datasource and unspecified > driver name > > This message is shown immediately and it seems > access to the Internet is not even launched thus I > guess this is a problem locally... Do I need to use > a DSN here too? How. > > ... > > > > Andr? > Hi Andr?, Even though I don't use ODBC that often, I think I see the problem : - the second parameter might be better set to 'localhost' if it's not running on a different computer ; - the third parameter has to be the name of the DSN as you defined in the ODBC COntrol Panel, not the path to the Access database. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From kray at sonsothunder.com Thu Aug 7 02:37:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 7 02:37:00 2003 Subject: what selected text?! In-Reply-To: <3F317FF3.5856D94A@dyton.com> Message-ID: <041a01c35cb5$b72c36f0$6801a8c0@LightningFlash> Steve, Set the 'traversalOn' of the button to false. The problem is that with this property true, it is "stealing" the focus from the field. PS: Like your tagline. :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Steve Ralston > Sent: Wednesday, August 06, 2003 5:24 PM > To: use-revolution at lists.runrev.com > Subject: what selected text?! > > > Hi all, > > I'm trying the most basic thing with a button and text in a > field. My buttons script is "on mouseUp put the selectedText > end mouseUp" > > I select text in the field, push the button, and all that > happens is the text de-selects. I'm just trying to get a > handle on how to work with text so I can apply styles, etc., > eventually, but I'm missing something it appears. > > Any suggestions are very appreciated. > > Steve Ralston > Dyton > > -- > "Christianity is a battle, not a dream." > > - Wendell Phillips > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From janschenkel at yahoo.com Thu Aug 7 02:38:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 7 02:38:01 2003 Subject: How to use Automatic query builder to insert a record! In-Reply-To: <4D384050-C8A0-11D7-A2C0-00039387AE90@mac.com> Message-ID: <20030807073151.61903.qmail@web11903.mail.yahoo.com> --- Andre Garzia wrote: > > > Hi Andre, > > > > You'll have to do a tiny bit of scripting, but > it's > > really easy -- suppose the name of your query is > > "Foobar", then create an Insert button and set its > > script to : > > > > -- > > on mouseUp > > revExecuteWithQuery "Foobar", \ > > "INSERT INTO users VALUES(2003,'Andre > Garzia')" > > end mouseUp > > -- > > > > Hope this helped, > > > > Jan Schenkel. > > > Hi Jan, > > first tanx for the quick answer. > > let me see if i get it... i must change the SQL > query in my automatic > query from select to insert... right? > > if thats so, how does it get the values from the > fields? > > I can't find revExecuteWithQuery in the transcript > dictionary. > > Uh... are thoose undocumented featues? > Andre Alves Hi Andre, The command 'revExecuteWithQuery' is indeed one of the undocumented features of the Database Query library. - its first parameter is the name of an existing query that connects to the database you want to execute the SQL query on ; - its second parameter is the actual query. It does not make any change to your predefined query, it merely borrows the connection info. If you want to learn more about the undocumented Database Query library, do the following : - open the message box - click the button tooltipped 'FrontScripts' - tick the checkbox 'Show Revolution UI frontscripts' - select in the list the item 'revDatabase' - and click the button 'Edit the script' While you're in there, make sure not to modify anything, and should the IDE ask if you want to save changes, click 'Do not save' :-) Of course Monte's solution, using the documented library calls, works just as well ; but the above integrates nicely with the Database Query Manager. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From janschenkel at yahoo.com Thu Aug 7 02:42:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 7 02:42:01 2003 Subject: what selected text?! In-Reply-To: <3F317FF3.5856D94A@dyton.com> Message-ID: <20030807073526.8323.qmail@web11906.mail.yahoo.com> --- Steve Ralston wrote: > Hi all, > > I'm trying the most basic thing with a button and > text in a field. My > buttons script is > "on mouseUp > put the selectedText > end mouseUp" > > I select text in the field, push the button, and all > that happens is the > text de-selects. I'm just trying to get a handle on > how to work with > text so I can apply styles, etc., eventually, but > I'm missing something > it appears. > > Any suggestions are very appreciated. > > Steve Ralston > Hi Steve, The poroblem here is that when you activate a button under Windows (or any other OS that allows you to 'tab' to a button), the focus is automatically taken away from the field. Type the following in the message box : set the traversalOn of btn to false This will prevent the button from stealing the focus. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From andre.rombauts at win.be Thu Aug 7 02:48:00 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Thu Aug 7 02:48:00 2003 Subject: Database management References: <20030807072306.48969.qmail@web11904.mail.yahoo.com> Message-ID: <00fe01c35cb7$577b6120$9e26fea9@piran> Thanks but precisely the problem is the access to the ONLINE server, not locally... :-( I have to use ODBC since the database is on a server running W2K and ASP only Andr? ----- Original Message ----- From: "Jan Schenkel" To: Sent: Thursday, August 07, 2003 9:23 AM Subject: Re: Database management > the problem : > - the second parameter might be better set to > 'localhost' if it's not running on a different > computer ; > - the third parameter has to be the name of the DSN as > you defined in the ODBC COntrol Panel, not the path to > the Access database. From bmmeili at swissonline.ch Thu Aug 7 03:45:00 2003 From: bmmeili at swissonline.ch (Martin Meili) Date: Thu Aug 7 03:45:00 2003 Subject: what selected text?! Message-ID: hi Steve If you don't want the selection in your field to be removed when clicking your button A, you have to deselect the "traversalOn-property" (Focus with keyboard) in the "Basic Properties" of your button A. Martin From janschenkel at yahoo.com Thu Aug 7 03:58:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 7 03:58:01 2003 Subject: Database management In-Reply-To: <00fe01c35cb7$577b6120$9e26fea9@piran> Message-ID: <20030807085113.57079.qmail@web11904.mail.yahoo.com> --- Andre Rombauts wrote: > Thanks but precisely the problem is the access to > the ONLINE server, not > locally... :-( > I have to use ODBC since the database is on a server > running W2K and ASP > only > > Andr? Hi Andr?, What I meant was : where does the data source reside ? If the data source is on the same computer, you have to setup a DSN on their server, or if you lack the privileges, ask the administrator to do it for you. If the administrator won't do it, you'll have to use a flat-file format and read/write yourself (XML can come in handy at such times) or see if the server provides a database server setup you can connect to directly (MySQL, Oracle, PostgreSQL) Actually, since it's running on a Win2K server, you might get away with using Valentina : it doesn't require DSN setup and you simply point the connection to a filepath. A quick search reveals you can get a Windows license : - for USD 199 over at the online RunRev shop or - for EUR 175 at the German distributor PIIT GmbH Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From andre.rombauts at win.be Thu Aug 7 04:24:00 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Thu Aug 7 04:24:00 2003 Subject: Database management References: <20030807085113.57079.qmail@web11904.mail.yahoo.com> Message-ID: <012401c35cc4$bafe28b0$9e26fea9@piran> Thanks again... Online means the db is on an external server. I have all rights on the directory and I put myself the db on the server. I have to use ODBC because the database will also be accessed through ASP pages. I mentionned that even no Internet access has started when I'm running the script. And the Error message doesn't seem to be issued by Revolution (Run Rev guys can give their opinion?). Thus there seem to be a problem between Windows and RunRev when executing put revOpenDatabase("ODBC","myserver.org","/myserver.org/db/revolution.mdb",""," ") into myDB The problem with Valentina is 1) that if there is indeed a driver for remote access there is no Standalone application for building, managing the db on the Win platform - or I am wrong; 2) I'm not sure it will be possible to convert .ASP pages to handle Valentina stuff (?) Andr? ----- Original Message ----- From: "Jan Schenkel" To: Sent: Thursday, August 07, 2003 10:51 AM Subject: Re: Database management > --- Andre Rombauts wrote: > > Thanks but precisely the problem is the access to > > the ONLINE server, not > > locally... :-( > > I have to use ODBC since the database is on a server > > running W2K and ASP > > only > > > > Andr? > > Hi Andr?, > > What I meant was : where does the data source reside ? > If the data source is on the same computer, you have > to setup a DSN on their server, or if you lack the > privileges, ask the administrator to do it for you. > If the administrator won't do it, you'll have to use a > flat-file format and read/write yourself (XML can come > in handy at such times) or see if the server provides > a database server setup you can connect to directly > (MySQL, Oracle, PostgreSQL) > Actually, since it's running on a Win2K server, you > might get away with using Valentina : it doesn't > require DSN setup and you simply point the connection > to a filepath. > A quick search reveals you can get a Windows license : > - for USD 199 over at the online RunRev shop > > or > - for EUR 175 at the German distributor PIIT GmbH > > > Hope this helped, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From monte at sweattechnologies.com Thu Aug 7 05:16:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 7 05:16:00 2003 Subject: DLL Absence In-Reply-To: <3F31AAC9.29A84F3C@earthlink.net> Message-ID: > After spending much time looking for DLL info, I see a message that it > is in > the folder, "External SDK", which is not anywhere on my computer. > No it's not. It was taken out in 2.0 because I think they are working on some proper external docs. What was called the External SDK was about the lease helpful bunch of files you've ever seen. You should still be able to get it out of the MetaCard 2.5 build from the metacard.com ftp server. > Why isn't it there? > I got the small business edition, which means I got a key to unlock the > download > of 2.0.2. I got it on sale. Did I spend too much money? Or, does the > extra > information only come with the Enterprise edition? If so, why is > provision of > such a capability free in almost every other GUI development > environment? > Makes me feel like the small business edition is the no-business > edition. You can use externals no matter what version you are running. > > I haven't given up hope on Revolution yet. I was thinking about > conlodating business > and title development around it and spending on the enterpise edition. > But, I might have > to phase out Supercard-like development and stick with pure C++; and C++ > is time > consuming no matter how fluent one is with it. Things like QT don't > really 'draw' well. > Then there's the compile-try-build cycle. But, the price hit is about > the same. > Really need the format for DLL's, shared libs, etc. Don't have a lot > time to waist on this. I'm still waiting for some decent docs to get into external development but there are others around the list that should be of assistance to you. You will probably find though that most things you do don't require externals. Regards Monte From janschenkel at yahoo.com Thu Aug 7 06:16:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 7 06:16:01 2003 Subject: Database management In-Reply-To: <012401c35cc4$bafe28b0$9e26fea9@piran> Message-ID: <20030807110957.82386.qmail@web11903.mail.yahoo.com> --- Andre Rombauts wrote: > Thanks again... > Online means the db is on an external server. I have > all rights on the > directory and I put myself the db on the server. > I have to use ODBC because the database will also be > accessed through ASP > pages. > I mentionned that even no Internet access has > started when I'm running the > script. And the Error message doesn't seem to be > issued by Revolution (Run > Rev guys can give their opinion?). Thus there seem > to be a problem between > Windows and RunRev when executing > put > revOpenDatabase("ODBC","myserver.org","/myserver.org/db/revolution.mdb",""," > ") into myDB > > The problem with Valentina is > 1) that if there is indeed a driver for remote > access there is no Standalone > application for building, managing the db on the Win > platform - or I am > wrong; > 2) I'm not sure it will be possible to convert .ASP > pages to handle > Valentina stuff (?) > > Andr? > Hi Andr?, On the computer where the CGI-script is running you have to create a DSN first, using the ODBC Setup. The DSN you create will be of type 'MS Access something', and point to the .mdb file by means of a path. It is the name of this DSN that you must pass as the third parameter to revOpenDatabase() -- put revOpenDatabase("ODBC","",myDSNName,"","") into myDB -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jimlyons at earthlink.net Thu Aug 7 06:35:01 2003 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu Aug 7 06:35:01 2003 Subject: Weeks of astonishment continue Message-ID: <3F323879.DE3B3394@earthlink.net> After lurking in the shadows here for almost a year, I finally got a machine that could run Rev well -- a new iMac! The first thing I bought for it was OS X Studio. So I'm in astonishment-heaven a lot of the time now. :^) I also bought Apple's new iSight camera with it although I can't use iChat with my slow connection speed, just for possible other applications. The software that drives it is still beta, and I couldn't seem to connect with the camera from iMovie or Final Cut. I was just starting to investigate the revVideo commands when someone in the list reminded another user about the video sample stack. So I brought it up in Rev, pressed a couple of buttons, and suddenly there I was in the window looking very surprised and pleased! Go Rev! PS: Thanks to Jeanne for answering my recent question, and for the EXCELLENT docs in Rev! Jim Lyons Tallahassee, Florida, USA From revolution at knowledgeworks.plus.com Thu Aug 7 08:14:00 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Thu Aug 7 08:14:00 2003 Subject: Database management Message-ID: <20030807140725.knowledgeworks@Plus.Net> Andre, Here is my understanding of your situation: you have a W2K box which is where your database is located. If you are working locally at the screen of this computer (either physically at the machine, or via something like Terminal Services), then you can access the DB on that machine from your Rev program also running locally on that machine. However, when you go to another PC and try to access the DB remotely from the second machine, you get your "unavailable datasource" error. Assuming I have understood the situation correctly, then the answer is: you need to define a datasource on EVERY machine where your Rev app is running. An ODBC app looks for the locally-defined ODBC datasources to find how to connect to the remote DB. I hope that helps. Bernard From sralston at dyton.com Thu Aug 7 08:55:01 2003 From: sralston at dyton.com (Steve Ralston) Date: Thu Aug 7 08:55:01 2003 Subject: what selected text?! References: <041a01c35cb5$b72c36f0$6801a8c0@LightningFlash> Message-ID: <3F325865.B622D2E4@dyton.com> Outstanding! What a great way to start my day. Now I know I can get a lot done. Thanks! Ken Ray wrote: > Steve, > > Set the 'traversalOn' of the button to false. The problem is that with > this property true, it is "stealing" the focus from the field. > > PS: Like your tagline. :-) > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > > Steve Ralston > > Sent: Wednesday, August 06, 2003 5:24 PM > > To: use-revolution at lists.runrev.com > > Subject: what selected text?! > > > > > > Hi all, > > > > I'm trying the most basic thing with a button and text in a > > field. My buttons script is "on mouseUp put the selectedText > > end mouseUp" > > > > I select text in the field, push the button, and all that > > happens is the text de-selects. I'm just trying to get a > > handle on how to work with text so I can apply styles, etc., > > eventually, but I'm missing something it appears. > > > > Any suggestions are very appreciated. > > > > Steve Ralston > > Dyton > > > > -- > > "Christianity is a battle, not a dream." > > > > - Wendell Phillips > > > > > > _______________________________________________ > > 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 -- ?Christianity is a battle, not a dream.? ? Wendell Phillips From revolution at knowledgeworks.plus.com Thu Aug 7 09:16:01 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Thu Aug 7 09:16:01 2003 Subject: Script Limits and solid IDE evolution! Message-ID: <20030807150909.knowledgeworks@Plus.Net> Without the Starter Kit's features I would never have adopted and advocated Revolution. I had tried Metacard a few years ago, and just didn't 'get it'. It seemed like a toy (I know I was way off the mark). The Rev IDE is what made me look at it again. But to anyone who didn't use a Mac 10 years ago, the whole 'Hypercard - xTalk - Revolution' RAD-with-persistence paradigm is strange and requires some time to appreciate. For Runrev to acquire new users there are two things they have to do: 1) the users need to understand the above paradigm; 2) they need to see that they can easily build real, useful, working applications. Maybe there are a few highly-talented, highly-determined developers who would bypass the 10-line limit using frontscripts etc, but they are obviously in a minority, and Runrev should be aiming to bring on board the legions of people who are not in this minority, rather than reducing the power that is available to their paid-up customers. The license is quite clear that people are in breach of it if they attempt to bypass the script limits. I'm not sure if these 'skinflint-but-talented' programmers aren't mythical. I don't believe it is their existence that was holding back the increased market penetration of Metacard. I believe it was that the users that understood the xCard paradigm (Mac users) had a multiplicity of choices for xCard development. And Metacard's presentation of itself was, well, not as professional as Revolution's. To those who were unfamiliar with xCard, it was hard to 'get' Metacard. Runrev should instead be publicising Revolution. And this means attending other than Mac-only events - unfortunate as it may be to Mac and Linux users, Win32 still massively dominates the desktop. The whole xCard/xTalk paradigm is virtually unknown to Win32 users/developers. This is where they need to market, and it is precisely the people in this market who need the opportunity to understand the xCard paradigm that the Starter Kit provided. If it hadn't been for the Starter Kit philosophy, I would certainly not have bought a full license. Maybe I'm just too stupid or too busy, but it was 3 months of using the Starter Kit before I bought a license. If I had been tied to 30 days (of unlimited script lengths) I don't believe I would have seen or understood enough to buy into Runrev. Another customer would have been lost. As far as I can see, this removal of the script limits is negative marketing. I'm glad I can still use Rev 1.1.1 - and if this change goes through it is a reason to not renew my license when it comes up in a few months. I'd prefer to see Runrev helping existing users by holding to their delivery schedules, removing bugs, improving documentation and tutorials, contributing to this forum, and openly discussing their plans with the people in this forum. They should be conducting positive marketing by enhancing their website, attending non-Mac events, contributing to relevant debates across the internet, producing demo software, etc. Regards Bernard From graham.samuel at wanadoo.fr Thu Aug 7 09:33:00 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Thu Aug 7 09:33:00 2003 Subject: How does a stack file get to be 'Recent'? Message-ID: <5.2.1.1.0.20030807001205.00c626a8@pop.wanadoo.fr> I know this is trivial, but I'm puzzled. I've been working on a stack for a couple of days, amount to several hours' work. I've saved it many times, I've quit RunRev (2.0.1, Window XP Home Edition) and restarted it and messed around all over the place but the stack's file still doesn't appear in the 'Open Recent File' list in the IDE's File menu. Does anyone know what triggers a stack to get into the list - it sure isn't a straightforward 'Save'. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From cm_sheffield at yahoo.com Thu Aug 7 09:41:00 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Aug 7 09:41:00 2003 Subject: Database management In-Reply-To: <008701c35cb3$50065700$9e26fea9@piran> Message-ID: <20030807143451.77005.qmail@web20419.mail.yahoo.com> I could be wrong, but I think I may have a solution. If I remember correctly, you cannot directly connect to a remote database using ODBC. It just doesn't work (limitiations with ODBC itself). So I'm not even sure that using the revOpenDatabase function in this case will work (someone correct me if I'm wrong). I think what you have to do instead is invoke your CGI script/ASP page (which should have code to connect to your database on the server via the DSN) from within Rev. You should be able to use the 'revGoURL' command to send data using the GET method, or the 'post' command to send it with the POST method, appending your data to the end of your URL. Hopefully you're familiar with these methods and how to parse data sent from a web form to a CGI script/ASP page. If you want to access a remote database directly from Rev using its database functions, you're probably going to have to use something other than ODBC, such as a direct connection to a MySQL database. Hope that helps, Chris Sheffield --- Andre Rombauts wrote: > Hello all! > > I've posted several messages related to database > management and CGI scripting with Revolution 2.02 > but don't need any answer... :-( > Are my questions so stupid? I am an educator, not a > professionnal programmer... > > Presently I have problems to get linked to an online > ODBC database. Here is the script... Can anyone give > some help? Everything is OK when the same script is > used to access the dbase locally (using revOpenDatabase("ODBC","revo",,,) into myDB> with a > DSN defined with the ODBC database source manager). > The database is a MS Access db. It has no user or > psw defined. I'm using this on a PC XP Home machine. > on mouseUp > > local myDB,myRecSet > put > revOpenDatabase("ODBC","myserver.org","/myserver.org/db/revolution.mdb","","") > into myDB > put the result into field "Errors" > put revQueryDatabase(MyDB,"SELECT * FROM Users where > id = 4") into myRecSet > put revDatabaseColumnNamed(myRecSet,"noun") into > field "MyData" > revCloseDatabase MyDB > > end mouseUp > > The Errors field shows [Microsoft][ODBC driver > manager] Unavailable datasource and unspecified > driver name > > This message is shown immediately and it seems > access to the Internet is not even launched thus I > guess this is a problem locally... Do I need to use > a DSN here too? How. > > ... > > > > Andr? > ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From psahores at easynet.fr Thu Aug 7 09:45:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Thu Aug 7 09:45:01 2003 Subject: Script Limits and solid IDE evolution! In-Reply-To: <20030807150909.knowledgeworks@Plus.Net> References: <20030807150909.knowledgeworks@Plus.Net> Message-ID: <3F326458.2090204@easynet.fr> revolution at knowledgeworks.plus.com wrote: > Runrev should instead be publicising Revolution. And this means attending other than Mac-only events - unfortunate as it may be to Mac and Linux users, Win32 still massively dominates the desktop. The whole xCard/xTalk paradigm is virtually unknown to Win32 users/developers. This is where they need to market, and it is precisely the people in this market who need the opportunity to understand the xCard paradigm that the Starter Kit provided. > > > Regards > Bernard > And it would be usefull to have the xCard/xTalk paradigm best knowed in the Linux sphere. Emediat Inc. (RadBuilder3) has build a partnership with Suse AG. I belive that it would be good to see RunRev do the same with both RedHat and Suse... -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From alptex2 at orwell.net Thu Aug 7 10:13:01 2003 From: alptex2 at orwell.net (T. R. Ponn) Date: Thu Aug 7 10:13:01 2003 Subject: Deleting an object with a "bank shot' Message-ID: <3F326AD0.9020108@orwell.net> Hello all! I'm attempting to delete an object when I click on it. Of course...no can do a frontal lobotomy on yourself...so, I'm trying to use the send "in time" structure to send a message to the card that the object is on. These are the handlers: in the card: on wackIt thisOne delete thisOne end wackIt in the btn I want to delete: on mouseUp do "send wackIt (""e&"btn id"&&the id of me"e&") to card"&"e&"PGM Builder""e&&"in 1 tick" end mouseUp I've checked the mouseUp handler by substituting "put" for "do", and what I get in the msg box looks ok: send wackIt ("btn id 1297") to card "PGM Builder" in 1 tick But I get an error when attempting to execute the above from the msg box. I know the "wackIt" handler is ok, because I've executed this from the msg box successfully: wackIt ("btn id 1297") It seems to me that the send "in time" doesn't have the ability to pass the parameter. Is this the problem? Should I be using a "function" structure instead of the "on" structure? I know I could accomplish this by using a global var, but this just seems more straight forward. Thanks in advance for any assistance! Best Regards, Tim Ponn From themacguy at macosx.com Thu Aug 7 10:18:02 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Aug 7 10:18:02 2003 Subject: How do I stop app's files from being opened by Rev? In-Reply-To: <200308070546.BAA21077@www.runrev.com> Message-ID: <823BF977-C8E9-11D7-81EC-000A95763ABC@macosx.com> Jacqueline, I'm familiar enough with the Mac to know how to use ResEdit to change type/creator codes so the problem is really on the Windows side of things. The extension change seems to be the best answer (it does work) as long as I call the stack in my code (go stack "myStack") instead of the file containing it (go stack "myStack.rev") or change the extension in my code (go stack "myStack.xxx"). It's funny how Rev permits you to refer to the file as the stack. That's not a complaint. What I love about Rev (and it's what I loved about HyperCard) is its ability to deal with synonyms in its code. It's the closest thing to the "do what I mean" button. Of course, this ability to use sloppy code can (and does) create issues. Regards, Barry On Wednesday, Aug 6, 2003, at 23:46 America/Denver, Jacqueline wrote: > From: "J. Landman Gay" > Organization: HyperActive Software > To: use-revolution at lists.runrev.com > Subject: Re: How do I stop app's files from being opened by Rev? > Reply-To: use-revolution at lists.runrev.com > > On 8/6/03 5:08 PM, Barry Levine wrote: > >> I'm guessing that, on the Mac, I'd drop the two apps inside the >> "package" of the app. I remember seeing a reference how to do this in >> the list and I'll search for it. > > That's probably a good way to do it. If you are distributing for OS 9 > though, there is no package. One way to handle it is to assign a > different file type code to the stacks. That way Rev won't allow the > user to select them in a standard file dialog, but it can still open > them from a script. > >> On Windows, I haven't a clue. > > I don't know if this is kosher or not, but I usually just assign a > ".dat" extension. Windows thinks the stack is a data file, it gets a > generic icon, and it doesn't seem to get in the way of anything. If you > want to be really sneaky, password-protect the stacks. Then if someone > opens them in a text editor, they look like binary files and no text is > visible. > From devin_asay at byu.edu Thu Aug 7 10:55:01 2003 From: devin_asay at byu.edu (Devin Asay) Date: Thu Aug 7 10:55:01 2003 Subject: Using numbers to access elements in arrays Message-ID: <89F83210-C8EE-11D7-9EAA-0030654E23A2@byu.edu> Correct me if I'm wrong... It seems to me that Rev's implementation of arrays is not typical as compared to lower level languages. It seems to be more of a hash table (like in Java). In other words, you store data in arrays by associating each piece of data with a named key, rather than placing the data in enumerated elements. So when you put data into an array based on a number, like this: put "stuff" into myArray[1] ...you are essentially creating a key named "1", not placing the data in the first element of the array. This creates problems under certain conditions. Say I want to put data into an array so that it is in a certain order. If I do it like this (notice I do it out of order): put "stuff" into myArray[1] put "junk" into myArray[2] put "nonsense" into myArray[4] put "fluff" into myArray[5] put "rubbish" into myArray[3] ... then I use a repeat loop to fetch it: repeat with i = 1 to 5 put myArray[i] & space after aVar end repeat This works okay, yielding: stuff junk rubbish nonsense fluff However, there are situations where this leads to problems; specifically in using the rev database calls. I did something like this (notice out of order again--this was necessitated by my script structure): put "stuff" into myArray[1] put "junk" into myArray[2] put "nonsense" into myArray[4] put "fluff" into myArray[5] put "rubbish" into myArray[3] Then I wanted to use this array to update data in a mySQL table. So I used the revExecuteSQL command like this (text wrapping alert): revExecuteSQL connectionID,"update testlog set quescorrect=quescorrect+:1, quesTotal=quesTotal+:2, t1_err=t1_err+:3, t2_err=t2_err+:4, t3_err=t3_err+:5 where studID = 1","myArray" What SEEMS to be happening--I'm still trying to pin it down--is that the revExecuteSQL command is grabbing elements from the array in the order in which they were created--traditional array behavior--regardless of the key names (which happen to be numerals) that I assigned to them earlier. So what ends up in the table is in this order: stuff junk nonsense fluff rubbish Am I right here? Is rev assigning literal values "1", "2", "3", etc. as key names, but the revExecuteSQL command is grabbing data from the variable by counting elements in the order they were created? This is causing me fits in one of my projects. If I can understand how it works I'll know if I can use this approach, or if I need to retreat and try a different approach to updating my database table. Thanks. Devin Asay Humanities Technology and Research Support Center Brigham Young University From kray at sonsothunder.com Thu Aug 7 11:12:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 7 11:12:01 2003 Subject: Deleting an object with a "bank shot' In-Reply-To: <3F326AD0.9020108@orwell.net> Message-ID: <047601c35cfd$9a2e6940$6801a8c0@LightningFlash> Tim, How about simplifying it to: (script of card): on wackIt delete the target end wackIt (script of the btn you want to delete): on mouseUp send "wackit" to me in 10 milliseconds end mouseUp This way, it will get a chance to complete its script and then be deleted when the 'wackit' message passes through the button to the card script. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of T. R. Ponn > Sent: Thursday, August 07, 2003 10:06 AM > To: use-revolution at lists.runrev.com > Subject: Deleting an object with a "bank shot' > > > Hello all! > > I'm attempting to delete an object when I click on it. Of > course...no > can do a frontal lobotomy on yourself...so, I'm trying to use > the send > "in time" structure to send a message to the card that the > object is on. > These are the handlers: > > in the card: > > on wackIt thisOne > delete thisOne > end wackIt > > in the btn I want to delete: > > on mouseUp > do "send wackIt (""e&"btn id"&&the id of me"e&") to > card"&"e&"PGM Builder""e&&"in 1 tick" > end mouseUp > > > I've checked the mouseUp handler by substituting "put" for "do", and > what I get in the msg box looks ok: > > send wackIt ("btn id 1297") to card "PGM Builder" in 1 tick > > But I get an error when attempting to execute the above from > the msg box. > > > I know the "wackIt" handler is ok, because I've executed this > from the > msg box successfully: > > wackIt ("btn id 1297") > > > It seems to me that the send "in time" doesn't have the > ability to pass > the parameter. Is this the problem? Should I be using a "function" > structure instead of the "on" structure? I know I could > accomplish this > by using a global var, but this just seems more straight forward. > > Thanks in advance for any assistance! > > Best Regards, > > Tim Ponn > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From alrice at ARCplanning.com Thu Aug 7 11:37:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 11:37:01 2003 Subject: DLL Absence In-Reply-To: <3F31AAC9.29A84F3C@earthlink.net> Message-ID: <81A839AC-C8F4-11D7-8B5C-000393529642@ARCplanning.com> On Wednesday, August 6, 2003, at 07:26 PM, jleddy wrote: > Makes me feel like the small business edition is the no-business > edition. No, it is not a conspiracy to get you to buy the Enterprise license, if that is what you are asking. The Externals SDK was included with Rev 1.x, but mysteriously disappeared from 2.0.x. It's not a problem; as someone mentioned it's still available from metacard.com (metacard is the run-time engine that rev uses). That SDK works with Rev 1.x and 2.x. I second Monte's guess they yanked it because it was pretty confusing and without any documentation yet. re: your choices. I know C, Objective-C, (some) C++ and Java but my productivity is just off-the-scale when I'm using Revolution as opposed to those other languages! > Really need the format for DLL's, shared libs, etc. Don't have a lot > time to waist on this. > Whether it's a waste of time depends on what you expecting in regards to "format for DLL's, shared libs, etc.". If having instant, seamless access to dlls and shared libraries is your primary requirement then Rev is not your best choice. There are obviously other benefits Rev can bring to the table though. Learning to write externals requires a lot of patience and research, in my experience. But the payoff is well worth it. I have written an external for the CLIPS expert system to be used from Rev. It's about a dozen functions and commands, and works very well. Recently someone wrote an external to control WinAMP or some other player software. It took them about 1 day to research how to write the external and do it. Probably only 1 or 2 functions. That was very fast. It look me a lot longer to write mine. Rev cannot use just any-old DLL or shared library without some work. Say you have xyz.dll. You have to write a small external.dll that is glue between some transcript commands and the objects in xyz.dll. Here is a post I made last week to this list: ---- Hi, I am not an expert at writing externals, but I have been in the same boat as you recently. Information on writing externals is very scarce. Here are some suggestions: 1) The "External SDK": look at external.c mainly. This is your primary reference. It's not commented very well so you gotta guess what's going on. Look at the associated .rev stack. It has two apps in the external: Game of Life, and Image Compositing. Why it's not included with RR 2.0 I would like to know. 2) Post questions to this mailing list. A few people here have been coding externals in C for years. 3) _Hypertalk Script Language Guide_ by Apple Computer, in Appendix A, has the closest thing I can find to a documentation of the externals API. The calling interfaces are changed, but the function names are the same. Unfortunately there are more Pascal examples than C examples. 4) RR said a tutorial on writing externals is in the works. Right RR :-)? 5) So web searches for XFCN and XCMD. XFCN stands for "external function", a transcript function handler that's implemented in native code. XCMD is "external command" or a transcript command handler that's implemented in native code. Hope this helps, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From themacguy at macosx.com Thu Aug 7 11:40:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Aug 7 11:40:00 2003 Subject: Script Limits and solid IDE evolution! In-Reply-To: <200308071457.KAA08715@www.runrev.com> Message-ID: I've been using Rev since March 30, 2002. I know this because I subscribed to this list on that date and have saved every eMail since then (1434 messages including some from the Rev folks "off-list"). I purchased my license May 15, 2002. That's 46 days until I understood enough about Rev to draw the links between it and HyperCard to the extent necessary to make the commitment. That's still beyond the 30 days of the new Evaluation Kit. What happens when the Eval Kit expires? Are you permitted to re-download and re-install? Frankly, I'd rather see the 10-script limit -and- some kind of limitation on apps compiled with the Eval Kit; maybe printing would have a large "Rev" watermark or the compiled app would only run for 120 seconds or an obnoxious modal dialog appears every 30 seconds. Perhaps no compiling at all? Now, RunRev should know enough about its market to determine the best way to expand its presence. Note I said "should" and not "does". I do not mean to imply that RunRev is wrong (although my suggestions are detailed above); rather, that is is incumbent upon the RunRev marketing folks to do their due diligence and do this right. If they do it wrong, we're all in trouble. All the above aside, the bottom line for me is that I await the renewal licensing structure so I can "re-up". I am pleased with the Rev IDE and -know- that I would not be developing apps otherwise. Barry On Thursday, Aug 7, 2003, at 08:57 America/Denver, Bernard wrote: > If it hadn't been for the Starter Kit philosophy, I would certainly > not have bought a full license. Maybe I'm just too stupid or too > busy, but it was 3 months of using the Starter Kit before I bought a > license. If I had been tied to 30 days (of unlimited script lengths) > I don't believe I would have seen or understood enough to buy into > Runrev. Another customer would have been lost. From themacguy at macosx.com Thu Aug 7 11:45:13 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Aug 7 11:45:13 2003 Subject: JPEGs have 40 frames? Message-ID: <96FBCA64-C8F5-11D7-AC8C-000A95763ABC@macosx.com> I'm using QT Player objects to hold (referenced) jpegs or movies. The user makes this choice so the Player is required. I've noticed that when I reference a jpeg, the property inspector says it has 40 frames and I can actually change the currentTime in the property inspector from 0 up to 40. Is this a bug or is there something about jpegs I don't understand? Regards, Barry From alrice at ARCplanning.com Thu Aug 7 11:49:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 11:49:01 2003 Subject: Database management In-Reply-To: <012401c35cc4$bafe28b0$9e26fea9@piran> Message-ID: <254577D2-C8F6-11D7-8B5C-000393529642@ARCplanning.com> On Thursday, August 7, 2003, at 03:17 AM, Andre Rombauts wrote: > Thanks again... > Online means the db is on an external server. I have all rights on the > directory and I put myself the db on the server. > I have to use ODBC because the database will also be accessed through > ASP > pages. > I mentionned that even no Internet access has started when I'm running > the > script. And the Error message doesn't seem to be issued by Revolution > (Run > Rev guys can give their opinion?). Thus there seem to be a problem > between > Windows and RunRev when executing > put > revOpenDatabase("ODBC","myserver.org","/myserver.org/db/ > revolution.mdb",""," > ") into myDB > > The problem with Valentina is > 1) that if there is indeed a driver for remote access there is no > Standalone > application for building, managing the db on the Win platform - or I am > wrong; > 2) I'm not sure it will be possible to convert .ASP pages to handle > Valentina stuff (?) > BTW your original posts probably just got lost in the noise. It's just a busy list. 1) I am no Windows expert- Andr?, isn't ASP pages a server side scripting language for Web Pages, not for database connectivity? Shouldn't you be using http GET and POST operations to the URL of the webserver, not trying to connect directly to the database from Rev? Then the ASP script on the server side would make the database connection, format the data, and send it to the http client? 2) If it's really an ODBC connection that is required, I think Bernard nailed it. You must to define an ODBC DSN on the local machine and on the remote server so it would look something like this. Local Remote Rev <-> ODBC DSN <- Network -> ODBC DSN <-> SQL server But notice ASP web scripting is nowhere in that picture- so something is confusing about what the requirements are. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From gizmotron at earthlink.net Thu Aug 7 11:51:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu Aug 7 11:51:00 2003 Subject: Using numbers to access elements in arrays In-Reply-To: <89F83210-C8EE-11D7-9EAA-0030654E23A2@byu.edu> Message-ID: On Thursday, August 7, 2003, at 08:48 AM, Devin Asay wrote: > What SEEMS to be happening--I'm still trying to pin it down--is that > the revExecuteSQL command is grabbing elements from the array in the > order in which they were created--traditional array > behavior--regardless of the key names (which happen to be numerals) > that I assigned to them earlier. So what ends up in the table is in > this order: > > stuff junk nonsense fluff rubbish You might try pre-populating the array with empty space elements before loading it. This might preset an order that will be retained. repeat with i = 1 to 50 put " " into myArray[i] end repeat -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 684 bytes Desc: not available URL: From ambassador at fourthworld.com Thu Aug 7 11:56:02 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 7 11:56:02 2003 Subject: DLL Absence In-Reply-To: <81A839AC-C8F4-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: Alex Rice wrote: > re: your choices. I know C, Objective-C, (some) C++ and Java but my > productivity is just off-the-scale when I'm using Revolution as opposed > to those other languages! For this reason I envy one feature from ToolBook: the ability to make direct system API calls right in the scripting language. This is dependent on declaring types, but ToolBook did a good job of that allowing scripting calls and API calls in the same script using the conventions of the language wherever possible. Hopefully one day we'll see the same in Rev.... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Thu Aug 7 13:12:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 7 13:12:01 2003 Subject: DLL Absence In-Reply-To: Message-ID: On Thursday, August 7, 2003, at 10:48 AM, Richard Gaskin wrote: > the ability to make > direct system API calls right in the scripting language. One way to do this on Windows might be the ability to make arbitrary DLL calls. The problem here is that the call must be right. > Hopefully one day we'll see the same in Rev.... Perhaps the support for this is a blocker. Dar Scott From wmb at internettrainer.com Thu Aug 7 13:18:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Aug 7 13:18:01 2003 Subject: Script Limits and solid IDE evolution! In-Reply-To: <20030807150909.knowledgeworks@Plus.Net> Message-ID: <161DD366-C839-11D7-A4B6-003065430226@internettrainer.com> Hi Benrhard, On Thursday, Aug 7, 2003, at 16:09 Europe/Vienna, revolution at knowledgeworks.plus.com wrote: > Runrev should instead be publicising Revolution. And this means > attending other than Mac-only events - unfortunate as it may be to Mac > and Linux users, Win32 still massively dominates the desktop. The > whole xCard/xTalk paradigm is virtually unknown to Win32 > users/developers. This is where they need to market, and it is > precisely the people in this market who need the opportunity to > understand the xCard paradigm that the Starter Kit provided. > Its not so often that I have to defend the RR marketing and distribution policy...;)) But you are talking here about a small company not Adobe, MM or M$. Do you have any idea how much money does this cost what you proposing...? A small company like RR, can only go into an exactly defined niche and start crowing... It impossible to go to the whole world market against M$ .net, IBM, Borland and all this companies on the woldmarket. Even Adobe with a big marketing budget was not really able to get a "real" marketshare with Indesign against Xpress in 2 years. Example: in Germany they have checked award wining books, with what tool they have been layouted... It not represantativ for the whole world market but it shows haw difficult it is to go in occupied market. 48 or 49 from 50 books have been made with Xpress. regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From yoy at comcast.net Thu Aug 7 13:37:01 2003 From: yoy at comcast.net (yoy) Date: Thu Aug 7 13:37:01 2003 Subject: Revolution speed sucks? References: <16FB6FC0-C7B7-11D7-B2FE-0003937A97B8@genesearch.com.au> Message-ID: <001201c35d11$d4571590$b2ea5144@fatal7lcf637rj> Sarah, Thanks for your speed.rev tester. It's very good. My .rev stack lets a user config a 5 or 6 ball lotto with optional support for bonus ball. Usually the lotto will be a straight 6 ball lotto or a 5 ball and 1 bonus pick. The problem is whether it's a straight 6 ball lotto or a 5 + 1 bonus, the field will have six numbers per line. Is this is where I should just grab the first line and do the test. I think my loop was doing this test for every line of the field. The variable testing makes much sense. If the lotto were a Powerball lotto, I could grab the first 5 items and place them in one variable and put the sixth item into another variable, test the first variable of 5 numbers using for each, and test the bonus variable with a simple if x = y then colorize them as needed and then put them back into the line in the field with lock screen on. Is this sound logic? Still, Perl is much faster. I generated another 50,000 games (Powerball) and with error checking and print OUT and it took only 5 seconds. The price you pay for a gui?? Maybe I just wrote better perl code than revolution code. ;-) Thanks, Andy From alrice at ARCplanning.com Thu Aug 7 13:50:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 13:50:00 2003 Subject: DLL Absence In-Reply-To: Message-ID: <0C12946B-C907-11D7-8B5C-000393529642@ARCplanning.com> On Thursday, August 7, 2003, at 12:05 PM, Dar Scott wrote: > Richard Gaskin wrote: > >> the ability to make >> direct system API calls right in the scripting language. > > One way to do this on Windows might be the ability to make arbitrary > DLL calls. The problem here is that the call must be right. This thread comes up every few months eh? :-) ToolBook, Python, Director, Perl-maybe, all can do this. Rev needs to! Any C programming guru who want to take a stab at it, might I recommend you could start with looking at Python's "calldll" [*] module which is open-source and does glue-to-and-call-an-arbitrary-dll (Win32 only). What are possibilities of getting a common transcript interface for accessing shared libraries for all of win/mac/unix? * Maybe Tuviah and Scott are secretly implementing this feature and it will be in 2.1! re: support- on the contrary I think it would be easier for RR to support a common interface instead of having people writing C code who wouldn't otherwise want, need, or be capable of learning such a low-level language. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From klaus at major-k.de Thu Aug 7 13:55:00 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Aug 7 13:55:00 2003 Subject: JPEGs have 40 frames? In-Reply-To: <96FBCA64-C8F5-11D7-AC8C-000A95763ABC@macosx.com> Message-ID: Hi Barry, > I'm using QT Player objects to hold (referenced) jpegs or movies. > The user makes this choice so the Player is required. I've noticed > that when I reference a jpeg, the property inspector says it has 40 > frames and I can actually change the currentTime in the property > inspector from 0 up to 40. Is this a bug or is there something about > jpegs I don't understand? I don't know what's going on here exactly (in a technical sense) but from experience i can say this could be another QuickTime feature ;-) Looks like QT sees still-images just as very short movies ;-) Even in QT-Player a JPG has the duration of 2 frames... So this is probably not a bug in RR :-) Don't worry, your knowledge about JPGs is definitively OK ;-) > Regards, > Barry Regards Klaus Major klaus at major-k.de www.major-k.de From alrice at ARCplanning.com Thu Aug 7 13:59:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 13:59:01 2003 Subject: Revolution speed sucks? In-Reply-To: <001201c35d11$d4571590$b2ea5144@fatal7lcf637rj> Message-ID: <55126A54-C908-11D7-8B5C-000393529642@ARCplanning.com> On Thursday, August 7, 2003, at 12:29 PM, yoy wrote: > Still, Perl is much faster. I generated another 50,000 games > (Powerball) and > with error checking and print OUT and it took only 5 seconds. > > The price you pay for a gui?? Maybe I just wrote better perl code than > revolution code. ;-) Andy, look at the subject line of this thread. I think you owe it to the list to post both the Perl code and the URL of the Rev stack, side by side, so we can look at the implementation. Probably you are comparing two different. In my opinion, Perl is NOT faster than Rev. Post your Perl routine! And the URL of your Rev stack again. If you really want to get to the bottom of this :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Thu Aug 7 14:08:15 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 7 14:08:15 2003 Subject: DLL Absence In-Reply-To: <0C12946B-C907-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: <4A4A93EC-C909-11D7-BF83-000A9567A3E6@swcp.com> On Thursday, August 7, 2003, at 12:43 PM, Alex Rice wrote: > re: support- on the contrary I think it would be easier for RR to > support a common interface instead of having people writing C code who > wouldn't otherwise want, need, or be capable of learning such a > low-level language. Maybe. It seems that once somebody is writing an external it is easy to say you are on your own. But when somebody says "I did the DLL-call thing to get a list of watchamacallits from the system and all I got was garbage" then it is hard to tell whether one has set up the call right or whether "pointer to unsigned long" is broken or whether the right system call is being made. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From dan at shafermedia.com Thu Aug 7 14:11:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Thu Aug 7 14:11:01 2003 Subject: Marketing Rev in Other Worlds (was Re: Script Limits and solid IDE evolution!) Message-ID: This discussion of the need for the RunRev folks to market not just the product but the underlying xtalk/xcard paradigm to the world of Windows in particular raises for me another issue that I think prevents the product from achieving the kind of brilliant "Aha!" success it richly deserves. I refer to the out-of-the-box experience. When I showed my wife HyperCard a few months before it was released, her reaction was, "I get it. Get out of the way and let me play." Her response to Revolution when it opened was, "What's this? Another programming thing?" Professional programmers are going to be very slow to switch to Revolution or to any xThing for that matter. It's hard enough to get a programmer to change languages even when confronted with a demonstrably superior alternative (I know; I spent a few years trying to do that with Smalltalk). The real sweet spot market for Revolution, as it was for HyperCard and the other xCard products, is what I have long been referring to as the Inventive User (IU). IUs are people who: 1. Know their computers can do so much more to help them with their work than anyone has yet made them do. 2. Are smart and creative. 3. Can envision the solutions. 4. Are not professionally trained programmers or at least if they were at one point no longer earn their living coding 5. Probably working in a team or workgroup setting where they are the local IT department Those folks -- and there are millions of them -- NEED Revolution. Badly. But they're not going to take the time to tinker and learn the product after opening Revolution and being faced with a blank screen and a bunch of loosely connected floating palettes. Heck, they don't even get a blank stack window let alone a starting point. That was HyperCard's genius. Out of the box, it was engaging, enticing and harmless-looking. It *seduced* you into being a programmer. And when it did, you kissed it. IMNSHO, RunRev should be putting a lot of time, energy and money into creating a dynamite out-of-the-box experience for that category of user. I know how I'd go about that, but it would take a lot of time to develop it and I'm busy writing my books about RunRev at the moment. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From troy at rpsystems.net Thu Aug 7 14:12:02 2003 From: troy at rpsystems.net (Troy Rollins) Date: Thu Aug 7 14:12:02 2003 Subject: Teams In-Reply-To: <1C243C75.18D8B8F2.00822317@aol.com> Message-ID: <2A3774CB-C90A-11D7-9F1A-000A95A09CF8@rpsystems.net> On Thursday, August 7, 2003, at 12:09 AM, SimPLsol at aol.com wrote: > I have managed projects with up to 30 people spread over half the > globe. It is never easy but some things help: > 1. Define the overall project thoroughly at the beginning! This is the > most important thing but often overlooked. The last thing you need is > for creative people to improvise as they go along. > 2. Divide the work into well-defined elements, one per person. > 3. Allow only one editor. > 4. Set scheduling expectancies. > 5. Use the phone (even calls to New Zealand cost less than rework). No doubt. Though there is a huge benefit if the authoring system actively supports team development - especially if project managers do not wish to have project management be 100% of their job. Synchronization of updates is one specific area that suffers without a server based and modular solution. The stack model for development is an obstacle to such modularity, and best suited to developers who work alone or in projects which have a more linear timeline of development, it seems. -- Troy RPSystems, Ltd. http://www.rpsystems.net From dsc at swcp.com Thu Aug 7 14:27:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 7 14:27:00 2003 Subject: Revolution speed sucks? In-Reply-To: <001201c35d11$d4571590$b2ea5144@fatal7lcf637rj> Message-ID: <2AA75790-C90C-11D7-BF83-000A9567A3E6@swcp.com> Andy, grab some coffee and lets chat. On Thursday, August 7, 2003, at 12:29 PM, yoy wrote: > Still, Perl is much faster. I generated another 50,000 games > (Powerball) and > with error checking and print OUT and it took only 5 seconds. > > The price you pay for a gui?? Maybe I just wrote better perl code than > revolution code. ;-) And it may be that one or both are flawed. You have asked for advice and in my opinion you got lots of good advice on how to speed up your scripts. It takes some work to do that and folks have provided lots of help to minimize that work for you. Folks here know I'm willing to point out Revolution faults as needed, yet I find the subject line offensive and some of your comments provocative. I would like to be helpful, yet this causes me to be less so. This is not effective; at least not for me. I'm not going to take offense and go and rewrite your Revolution code for you. For the most part folks here tend to be easy-going and--fortunately for me--very patient. I like the style and try to fit in with that. Where I seem abrasive, it is mostly because I'm socially inept, I think. I confess that your approach makes we wonder whether your perl code was written by some other list. So, Andy, folks really want to help. I think it grand that they have even with an offensive subject line. I recommend you return the good will. My coffee cup is empty, so lets get back to work. Dar Scott From alrice at ARCplanning.com Thu Aug 7 14:57:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 14:57:01 2003 Subject: DLL Absence In-Reply-To: <4A4A93EC-C909-11D7-BF83-000A9567A3E6@swcp.com> Message-ID: <72BD1DAD-C910-11D7-8B5C-000393529642@ARCplanning.com> On Thursday, August 7, 2003, at 12:59 PM, Dar Scott wrote: > But when somebody says "I did the DLL-call thing to get a list of > watchamacallits from the system and all I got was garbage" then it is > hard to tell whether one has set up the call right or whether "pointer > to unsigned long" is broken or whether the right system call is being > made. True. But the success rate would be a lot higher, possibly leading to less support effort overall. Just a guess. Regardless, we should implement Rev externals as a SWIG target! See Another job for our army of expert C programmers, with spare time, who are lurking on this list. :-) "SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is primarily used with common scripting languages such as Perl, Python, Tcl/Tk, and Ruby, however the list of supported languages also includes non-scripting languages such as Java, OCAML, and C#. Also several interpreted and compiled Scheme implementations (Guile, MzScheme, Chicken) are supported. SWIG is most commonly used to create high-level interpreted programming environments, user interfaces, and as a tool for testing and prototyping C/C++ software. SWIG can also export its parse tree in the form of XML and Lisp s-expressions. SWIG may be freely used, distributed, and modified for commercial and noncommercial use." Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From themacguy at macosx.com Thu Aug 7 15:00:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Aug 7 15:00:01 2003 Subject: Missing icon? Message-ID: I use this line of code in the message box: ask question "the message" and I get the same icon as: ask information "the message" In both cases I get the Information+R icon. Have I lost the "?" icon? Rev 2.0.1 & Rev 2.0.2 (both in OSX) exhibit this behavior. Also: In the compiled app, the "R" logo in the box is missing (which should be displayed along with the "i" when you issue the "ask information..." command. The "i" and the box are there but not the "R". (Again, this is in OSX with 2.0.1/2.0.2.) Barry From ASGolub at dkhglaw.com Thu Aug 7 15:21:01 2003 From: ASGolub at dkhglaw.com (Alan Golub) Date: Thu Aug 7 15:21:01 2003 Subject: Marketing Rev in Other Worlds (was Re: Script Limits and solid IDE evolution!) In-Reply-To: Message-ID: On Thursday, August 7, 2003, at 03:04 PM, Dan Shafer wrote: > This discussion of the need for the RunRev folks to market not just > the product but the underlying xtalk/xcard paradigm to the world of > Windows in particular raises for me another issue that I think > prevents the product from achieving the kind of brilliant "Aha!" > success it richly deserves. I refer to the out-of-the-box experience. > > When I showed my wife HyperCard a few months before it was released, > her reaction was, "I get it. Get out of the way and let me play." Her > response to Revolution when it opened was, "What's this? Another > programming thing?" If I had a nickel for every time my wife looked over my shoulder and said the same thing, I'd be a wealthy, wealthy man! ;- ) But your point is a good one. There was something inherently inviting about HC's home stack -- it encouraged the very response your wife experienced. With the exception of internet browsers, and maybe FileMaker for quick, template-derived databases, I can't think of any other tool that induced this kind of response our of the box. > Professional programmers are going to be very slow to switch to > Revolution or to any xThing for that matter. It's hard enough to get a > programmer to change languages even when confronted with a > demonstrably superior alternative (I know; I spent a few years trying > to do that with Smalltalk). Ah ... Smalltalk. What an elegant language design that is. I suspect that many Cocoa developers enjoy what they do in large part because of Objective-C's heavy debt to Smalltalk and it's superior (to Java, C++) implementation of OOP. For those of you who've never explored the benefits of Smalltalk, check out www.whysmalltalk.com for the status of this amazing (and amazingly underutilized) technology. > The real sweet spot market for Revolution, as it was for HyperCard and > the other xCard products, is what I have long been referring to as the > Inventive User (IU). IUs are people who: > > 1. Know their computers can do so much more to help them with their > work than anyone has yet made them do. > 2. Are smart and creative. > 3. Can envision the solutions. > 4. Are not professionally trained programmers or at least if they were > at one point no longer earn their living coding > 5. Probably working in a team or workgroup setting where they are the > local IT department > > Those folks -- and there are millions of them -- NEED Revolution. > Badly. But they're not going to take the time to tinker and learn the > product after opening Revolution and being faced with a blank screen > and a bunch of loosely connected floating palettes. Heck, they don't > even get a blank stack window let alone a starting point. Interesting, and I include myself as a proud member of the category of IUs you describe. But I'm not sure you give us IUs enough credit -- shoot, I took the time to learn Rev on my own because I recognized it as really cool and really useful. If part of the definition of any IU includes "just flat out loves this stuff," why wouldn't they endeavor to explore Rev, even if they have to do so on their own time? > That was HyperCard's genius. Out of the box, it was engaging, enticing > and harmless-looking. It *seduced* you into being a programmer. And > when it did, you kissed it. > > IMNSHO, RunRev should be putting a lot of time, energy and money into > creating a dynamite out-of-the-box experience for that category of > user. I know how I'd go about that, but it would take a lot of time to > develop it and I'm busy writing my books about RunRev at the moment. Excuses, excuses ;- ) Seriously, I know what you mean. When I first started trying to learn Rev, I found myself stuck fairly early on, and I wound up purchasing a copy of HyperCard just to see what it could teach me about Rev. As it turned out, I learned a great deal. My transition went like this: 1. Played around with Rev until I learned all I could on my own. Felt like there was so much more I'd never grasp. 2. Purchased Danny Goodman's HyperCard book. Around the same time, Jeanne DeVoto was kind enough to send me a copy of her HyperTalk 2.2 book. These books, combined, convinced me that it would be worthwhile to purchase HC and use it as a learning tool. 3. Purchased HC and spent 2-3 months learning as I read through the above books and the excellent manuals that came in the box. By this time, the HC interface was positively primitive by OS 9 and X standards, but it still worked on the latest version of OS 9, and with a few memory configuration adjustments, it never crashed on me. 4. Around this time, SuperCard 4 came out. It was more like HC than Rev was or is, and unlike HC, it ran on OS X. I bought it, read the rather slim (90 pages?) but helpful manual, and did the tutorials. I really liked SC, and still use it sometimes because I find it quite intuitive. It also has some features that I wish were available in Rev, such as the SuperScript utility which allows you to create an .rtf or .txt file containing all (or any subset) of your application's scripts. It's an awesome way to see the big picture of your application without having to access every script independently. 5. Finally came back to Rev after, what, a 6-8 month absence? Turns out, however, that it was worth it. The time spent learning HC and SC proved invaluable to my Rev productivity. Things I was unclear on the first time around made instant sense. I revisited the Independent Study tutorial and actually read through all of Richard Gaskin's excellent comments in the code. Even things I hadn't seen before in HC or SC (such as the provisions for cross-platform compilation) were completely understandable. I attribute this jump over the learning curve (it was more of a dance, really, an absolute glide across previously choppy waters) to my months spent picking up HC and SC. Now, I suppose this in a way proves your point. A self-taught IU with limited programming experience is not likely to go to the lengths I went to to learn Rev, purchasing X number of books and X number of development tools, in order to do so. That's just craziness (to which I plead guilty)! As you suggest, the answer may be to focus on building within Rev those aspects of HC that were so appealing, encouraging, and inviting. For me, it started with the Home stack and it's easily accessible sample stacks, from which a great deal could be learned (and learned quickly). A close second was the awesome documentation, consisting of a complete User's Guide, and a complete HyperTalk guide (there was also a supplement, which documented the changes that came with v. 2.4). Armed with the above, HC was a tool that anybody could learn. Rev has the chance to be that tool across three separate platforms. It also has a chance to go the way of Smalltalk. Here's hoping it's a quick and successful journey towards the former. Alan S. Golub Publisher, revJournal From dsc at swcp.com Thu Aug 7 15:29:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 7 15:29:00 2003 Subject: DLL Absence In-Reply-To: <72BD1DAD-C910-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: On Thursday, August 7, 2003, at 01:50 PM, Alex Rice wrote: > On Thursday, August 7, 2003, at 12:59 PM, Dar Scott wrote: >> But when somebody says "I did the DLL-call thing to get a list of >> watchamacallits from the system and all I got was garbage" then it is >> hard to tell whether one has set up the call right or whether >> "pointer to unsigned long" is broken or whether the right system call >> is being made. > > True. But the success rate would be a lot higher, possibly leading to > less support effort overall. Just a guess. But if the success rate is a lot higher then lots and lots more people will be using Revolution and support requirements will be going way up! Wait. That's OK in that case. Dar Scott From alptex2 at orwell.net Thu Aug 7 15:34:00 2003 From: alptex2 at orwell.net (T. R. Ponn) Date: Thu Aug 7 15:34:00 2003 Subject: Deleting an object with a "bank shot' References: <047601c35cfd$9a2e6940$6801a8c0@LightningFlash> Message-ID: <3F32B63F.8030803@orwell.net> Ken...THANK YOU! ...and now...I'm going off to fire me. I've even suggested a "target" technique at the card level to somebody here a few weeks back. Sometimes, I just seem to be able to snatch defeat from the jaws of victory with such ease... ;-) Best Regards, Tim Ponn Ken Ray wrote: >Tim, > >How about simplifying it to: > >(script of card): > >on wackIt > delete the target >end wackIt > >(script of the btn you want to delete): > >on mouseUp > send "wackit" to me in 10 milliseconds >end mouseUp > >This way, it will get a chance to complete its script and then be >deleted when the 'wackit' message passes through the button to the card >script. > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ > > > >>-----Original Message----- >>From: use-revolution-admin at lists.runrev.com >>[mailto:use-revolution-admin at lists.runrev.com] On Behalf Of T. R. Ponn >>Sent: Thursday, August 07, 2003 10:06 AM >>To: use-revolution at lists.runrev.com >>Subject: Deleting an object with a "bank shot' >> >> >>Hello all! >> >>I'm attempting to delete an object when I click on it. Of >>course...no >>can do a frontal lobotomy on yourself...so, I'm trying to use >>the send >>"in time" structure to send a message to the card that the >>object is on. >> These are the handlers: >> >>in the card: >> >>on wackIt thisOne >> delete thisOne >>end wackIt >> >>in the btn I want to delete: >> >>on mouseUp >> do "send wackIt (""e&"btn id"&&the id of me"e&") to >>card"&"e&"PGM Builder""e&&"in 1 tick" >>end mouseUp >> >> >>I've checked the mouseUp handler by substituting "put" for "do", and >>what I get in the msg box looks ok: >> >>send wackIt ("btn id 1297") to card "PGM Builder" in 1 tick >> >>But I get an error when attempting to execute the above from >>the msg box. >> >> >>I know the "wackIt" handler is ok, because I've executed this >>from the >>msg box successfully: >> >>wackIt ("btn id 1297") >> >> >>It seems to me that the send "in time" doesn't have the >>ability to pass >>the parameter. Is this the problem? Should I be using a "function" >>structure instead of the "on" structure? I know I could >>accomplish this >>by using a global var, but this just seems more straight forward. >> >>Thanks in advance for any assistance! >> >>Best Regards, >> >>Tim Ponn >> >>_______________________________________________ >>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 > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From briany at qldlearning.com Thu Aug 7 15:36:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Thu Aug 7 15:36:01 2003 Subject: Revolution speed sucks? In-Reply-To: <2AA75790-C90C-11D7-BF83-000A9567A3E6@swcp.com> Message-ID: <5E1FC7BC-AA44-11D6-8D9B-000393AA08D2@qldlearning.com> Woah guys, let's not bash the new guy quite so quickly. I know we all love Revolution and don't like to hear that something "sucks", but: * He asked for advice, got it, and thanked everyone repeatedly for it * He already posted the URL for his perl script * He readily admits that the difference may be that his perl script was better written! * He and several list members have all acknowledged that tacking a GUI onto the process makes it much slower, regardless of the scripting language underneath it. He hasn't exactly been rude or bashed Rev. If someone really feels threatened, feel free to write a Rev command-line script based on the Perl one and see how it does. Brian > Andy, grab some coffee and lets chat. > > On Thursday, August 7, 2003, at 12:29 PM, yoy wrote: > >> Still, Perl is much faster. I generated another 50,000 games >> (Powerball) and >> with error checking and print OUT and it took only 5 seconds. >> >> The price you pay for a gui?? Maybe I just wrote better perl code than >> revolution code. ;-) > > And it may be that one or both are flawed. > > You have asked for advice and in my opinion you got lots of good > advice on how to speed up your scripts. It takes some work to do that > and folks have provided lots of help to minimize that work for you. > > Folks here know I'm willing to point out Revolution faults as needed, > yet I find the subject line offensive and some of your comments > provocative. I would like to be helpful, yet this causes me to be > less so. This is not effective; at least not for me. I'm not going > to take offense and go and rewrite your Revolution code for you. For > the most part folks here tend to be easy-going and--fortunately for > me--very patient. I like the style and try to fit in with that. > Where I seem abrasive, it is mostly because I'm socially inept, I > think. I confess that your approach makes we wonder whether your perl > code was written by some other list. > > So, Andy, folks really want to help. I think it grand that they have > even with an offensive subject line. I recommend you return the good > will. > > My coffee cup is empty, so lets get back to work. > > Dar Scott > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alrice at ARCplanning.com Thu Aug 7 15:39:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 15:39:00 2003 Subject: Rev CGI on he.net (was Re: [ANN] searchable use-revolution list archives) In-Reply-To: <039f01c35c52$a3fb1280$6801a8c0@LightningFlash> Message-ID: <41BF1110-C916-11D7-8B5C-000393529642@ARCplanning.com> On Wednesday, August 6, 2003, at 01:40 PM, Ken Ray wrote: > Sure! That would be great... having a really fast ISP that supports Rev > is a great thing... I can confirm you can run Rev headless version on a he.net account. Just a hello world test. (connected to server via ssh) # cd bin # curl -O ftp://ftp.metacard.com/MetaCard/linux.tar # tar xvf linux.tar # gunzip mc.gz # emacs ~/cgi-bin/test.rev # cat ~/cgi-bin/test.rev #!/home/alexr/bin/mc # This MetaTalk script loops over all the environment variables # set by the server when it runs a CGI application printing out # its name and value. (by Monte Goulding) on startup # loop over all of the global variables, getting name and value repeat for each item i in the globals put i && "=" && value(i)& return after buffer end repeat # write minimal set of HTTP headers to stdout read from stdin until empty put it after buffer replace cr with "

" in buffer put "Content-Type: text/html" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup # chmod +x ~/cgi-bin/test.rev Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From martin at harbourtown.co.uk Thu Aug 7 15:46:00 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Thu Aug 7 15:46:00 2003 Subject: Using numbers to access elements in arrays Message-ID: >>Devin Asay >> >>Correct me if I'm wrong... >> >>It seems to me that Rev's implementation of arrays is not typical as >>compared to lower level languages. It seems to be more of a hash table >>(like in Java). In other words, you store data in arrays by associating >>each piece of data with a named key, rather than placing the data in >>enumerated elements >> You're correct. They are associative not enumerated. You shouldn't rely on the array keys being in any particular order. Often they may be in ascii alphasort order as in : 1,10,11,12,13,14,15,16,17,18,19,2,20,21 but I don't know if this is necesarily something to rely on. Having said that, I have found that if you create an array using split, from ordered lines of text, and then *do not* modify any element of the array but only use it to look up values. It will retain its creation order. This is a bit of a fragile state of affairs of course because the moment you modify an element, that order is very likely going to be lost. If you have to modify the data and also need to read the data out in numeric order as if the keys were integers in sequence, you can: put the keys of theArray into akeys sort numeric lines of akeys repeat for each line i in akeys put theArray[i] into something end repeat martin baxter From alrice at ARCplanning.com Thu Aug 7 15:52:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 15:52:00 2003 Subject: Revolution speed sucks? In-Reply-To: <5E1FC7BC-AA44-11D6-8D9B-000393AA08D2@qldlearning.com> Message-ID: <079D4CFC-C918-11D7-8B5C-000393529642@ARCplanning.com> On Wednesday, August 7, 2002, at 02:29 PM, Brian Yennie wrote: > * He already posted the URL for his perl script > ... Oops, I apologize. It did not appear to me that he had posted the Perl code for comparison. I re-read the thread and found that he had done so. Sorry Andy! That URL is http://mywebpages.comcast.net/foxcat/PERLotto.zip > He hasn't exactly been rude or bashed Rev. If someone really feels > threatened, feel free to write a Rev command-line script based on the > Perl one and see how it does. The subject line bugs me. People do get protective of their favorite programming tools you know :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From drjohn at wellminds.org Thu Aug 7 16:03:00 2003 From: drjohn at wellminds.org (John R. Brauer) Date: Thu Aug 7 16:03:00 2003 Subject: "Preview screen" button In-Reply-To: <200308061022.GAA12522@www.runrev.com> Message-ID: Hello all, I am trying to set up a button as a preview screen in the corner of a window, so that when the cursor passes over an area of a map in the window, a picture of the item that is represented in that area of the map appears on the "preview screen" button. I have made an invisible button that covers the area of the map that I am trying to show, and have scripted it as follows: on mouseenter set the icon of button "PreviewButton" to image id 1392 set showIcon of button "PreviewButton" to true end mouseenter When I try to do this, it not only does not work, but the entire Rev environment crashes immediately. Can anyone replicate this? And more importantly, can anyone tell me what I am doing wrong? Ideally, I would like this button in the corner of the window to show a different image for whatever area of the map the cursor enters (the program is for keeping track of a garden and its current plants). Thank you. Sincerely, John R. Brauer From klaus at major-k.de Thu Aug 7 16:18:01 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Aug 7 16:18:01 2003 Subject: "Preview screen" button In-Reply-To: Message-ID: Hi John, > Hello all, > > I am trying to set up a button as a preview screen in the corner of a > window, so that when the cursor passes over an area of a map in the > window, a picture of the item that is represented in that area of the > map appears on the "preview screen" button. I have made an invisible > button that covers the area of the map that I am trying to show, and > have scripted it as follows: > > on mouseenter > set the icon of button "PreviewButton" to image id 1392 > set showIcon of button "PreviewButton" to true > end mouseenter Try: on mouseenter set the icon of button "PreviewButton" to 1392 ### You only need the "naked" id number ;-) set showIcon of button "PreviewButton" to true end mouseenter > When I try to do this, it not only does not work, but the entire Rev > environment crashes immediately. > Can anyone replicate this? And more importantly, can anyone tell me > what I am doing wrong? If the above still produces grief, then something else might be going on... > Ideally, I would like this button in the corner of the window to show > a different image for whatever > area of the map the cursor enters (the program is for keeping track of > a garden and its current plants). Maybe i don't understand you right, but could you do this with "invisible" buttons? I don't mean that literally ;-) The trick is to use standard buttons, script them the way you want with "mouseneter", "mouseleave" etc.. and then set the INK of these buttons to "noop"!!! This will make them invisible to the user but the engine (and thus the mouse) will act as if they were visible... Cooooool and handy feature :-) > Thank you. Hope that helps. > Sincerely, > > John R. Brauer Regards Klaus Major klaus at major-k.de www.major-k.de From sanke at hrz.uni-kassel.de Thu Aug 7 16:37:00 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu Aug 7 16:37:00 2003 Subject: User Contributions reopened Message-ID: <3F32C6EA.939F69F0@hrz.uni-kassel.de> After holidays of a month or a transition period because of the latest developments User Contributions has been reopened yesterday. There are already some new stacks available, among them an educational game "Magic Triangle" from my workshop, which, however, is by no means as sophisticated as Shari's "Blackjack Gold" example - as it has other objectives. Magic Triangle is a computerized card-board game - an example of materials used in so-called "progressive education" for individualized instruction - originally used for faster third graders (as it were, college-bound third graders), but which can be also exacting for adults with actice brain cells who wish to postpone Alzheimer. The "historical context" part of the introduction points out the affinities of the program to the principles of "progressive education", provides some information about what "progressive education" meant and means today, and supplies some web addresses of modern educational software in the U.S.A. and the U.K. "Ten minutes a day keeps Alzheimer away!" As it uses the windowshape property, at least Rev 2.01 or Metacard 2.5 are required. There is another stack for testing your memory span, your "short term memory", which - as tests have shown - can even be addictive. This stack still needs some finishing touches before I go public with it. Regards, Wilhelm Sanke From dsc at swcp.com Thu Aug 7 16:40:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 7 16:40:00 2003 Subject: Revolution speed sucks? In-Reply-To: <5E1FC7BC-AA44-11D6-8D9B-000393AA08D2@qldlearning.com> Message-ID: On Wednesday, August 7, 2002, at 02:29 PM, Brian Yennie wrote: > * He asked for advice, got it, and thanked everyone repeatedly for it > > * He already posted the URL for his perl script > > * He readily admits that the difference may be that his perl script > was better written! > > * He and several list members have all acknowledged that tacking a GUI > onto the process makes it much slower, regardless of the scripting > language underneath it. > I neglected to acknowledge these. It was not my intent to bash anyone. Dar Scott From alrice at ARCplanning.com Thu Aug 7 16:44:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 16:44:01 2003 Subject: Revolution speed sucks? In-Reply-To: <001201c35d11$d4571590$b2ea5144@fatal7lcf637rj> Message-ID: <4C6556BA-C91F-11D7-8B5C-000393529642@ARCplanning.com> On Thursday, August 7, 2003, at 12:29 PM, yoy wrote: > The variable testing makes much sense. If the lotto were a Powerball > lotto, > I could grab the first 5 items and place them in one variable and put > the > sixth item into another variable, test the first variable of 5 numbers > using > for each, and test the bonus variable with a simple if x = y then > colorize > them as needed and then put them back into the line in the field with > lock > screen on. > > Is this sound logic? Andy, sorry "lock screen" helps a little, but it seems you are missing the big point. I grabbed the stack from The mouseup handler of btn "start" has multiple embedded loops that access fields. A field is part of the GUI, it is not a proper data structure. The fact that a field can be used as a source of value (put fld "number" * pi into fld "result") is a convenience, but is not meant to be used as you are. The Perl equivalent of what you are doing would be saving some data to disk or over a network instead of just using a $variable. That's exaggerated, but you get the idea. This has to be fixed before you will have a clear picture of the speed possible with Rev. Do this instead: -- not in a loop here put fld "winners" into theWinners -- start a loop repeat for each line in theWinners --note: NOT "each line in fld winners" -- do not access any buttons or fields in here ... end repeat -- not in a loop here either put "whatever" into fld "results" Now look again at your code is the whole thing within another loop that is accessing a field, like: "repeat for each line z in fld "gamelist" ? Here is an experiment: make a stack with 3 buttons and 1 field. Put the following 3 scripts into the buttons. Button 2 is fastest (5 ms). Button 1 is the slowest (700 ms). Button 3 is faster (50 ms), but still off by a factor of 10x. on mouseup -- of btn 1 put the milliseconds into tStart repeat with x = 1 to 1000 put x * 2 into fld 1 -- bad end repeat put "elapsed: " & (the milliseconds) - tStart into fld 1 end mouseup on mouseup -- of btn 2 put the milliseconds into tStart repeat with x = 1 to 1000 put x * 2 into tmp -- not a field end repeat put "elapsed: " & (the milliseconds) - tStart into fld 1 end mouseup on mouseup -- of btn 3 lock screen -- helps a little put the milliseconds into tStart repeat with x = 1 to 1000 put x * 2 into fld 1 -- bad end repeat put "elapsed: " & (the milliseconds) - tStart into fld 1 end mouseup Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Thu Aug 7 16:47:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 16:47:01 2003 Subject: User Contributions reopened In-Reply-To: <3F32C6EA.939F69F0@hrz.uni-kassel.de> Message-ID: On Thursday, August 7, 2003, at 03:38 PM, Wilhelm Sanke wrote: > > Magic Triangle is a computerized card-board game - an example of > materials used in so-called "progressive education" for individualized > instruction - originally used for faster third graders (as it were, > college-bound third graders), but which can be also exacting for adults > with actice brain cells who wish to postpone Alzheimer. That is so cool! I am at risk for Alzheimer's. Puzzle Games for adults could be a boom market unless they fine a gene therapy for Alzheimer's soon! Oh wait puzzle games for adults is book market :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jrosat at mac.com Thu Aug 7 16:58:02 2003 From: jrosat at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Thu Aug 7 16:58:02 2003 Subject: How to to recover the automatic number after insertion in a MS Access database Message-ID: <52D2AE58-C921-11D7-B134-00039344A87E@mac.com> How to recover the value of an "automatic number" field of a table after inserting a new record in a MS Access database. Best regards, Jerome From dsc at swcp.com Thu Aug 7 17:07:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 7 17:07:01 2003 Subject: Revolution speed sucks? In-Reply-To: <4C6556BA-C91F-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: <86735286-C922-11D7-BF83-000A9567A3E6@swcp.com> On Thursday, August 7, 2003, at 03:37 PM, Alex Rice wrote: > Here is an experiment: make a stack with 3 buttons and 1 field. Put > the following 3 scripts into the buttons. Great illustration, Alex! That's collectable. It looks like Monte called this one. (No doubt he cheated and relied on his vast experience and knowledge.) Dar Scott From yoy at comcast.net Thu Aug 7 17:11:01 2003 From: yoy at comcast.net (yoy) Date: Thu Aug 7 17:11:01 2003 Subject: Revolution speed sucks? References: <079D4CFC-C918-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: <002901c35d2f$b024be70$b2ea5144@fatal7lcf637rj> Alex, Apoligy accepted. I was hypercard since 1987. The Perl script is reading in from a games text file, doing all the error-checking and writing out to a results text file in such amazing time. Next, I think I should try the same method in Revolution instead of just working from a field. That might prove a magnitude of speed improvement. This is day 7 (I took a day off). I' ve been looking for revolution since Apple canned HyperCard. Too bad they didn't release it into the public domain. The result of which is I haven't had a real gui application since then (and cross-platform building), excepting RealBasic which is object oriented, which I'm not familiar with. Revolution is feature rich and I'm not yet familiar with the wealth of features, just the speed issue is something I haven't come to terms with. You folks have been at it since MetaCard. I'm just getting back into the game. I like Revolution's rapid development but have probably less time to learn than the trial allows. All the best, Andy Burns ----- Original Message ----- From: "Alex Rice" To: Sent: Thursday, August 07, 2003 4:45 PM Subject: Re: Revolution speed sucks? > > On Wednesday, August 7, 2002, at 02:29 PM, Brian Yennie wrote: > > > * He already posted the URL for his perl script > > ... > > Oops, I apologize. It did not appear to me that he had posted the Perl > code for comparison. I re-read the thread and found that he had done > so. Sorry Andy! That URL is > http://mywebpages.comcast.net/foxcat/PERLotto.zip > > > He hasn't exactly been rude or bashed Rev. If someone really feels > > threatened, feel free to write a Rev command-line script based on the > > Perl one and see how it does. > > The subject line bugs me. People do get protective of their favorite > programming tools you know :-) > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Thu Aug 7 17:13:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu Aug 7 17:13:01 2003 Subject: Using numbers to access elements in arrays In-Reply-To: Message-ID: On 8/7/03 Martin Baxter wrote > >If you have to modify the data and also need to read the data out in >numeric order as if the keys were integers in sequence, you can: > >put the keys of theArray into akeys >sort numeric lines of akeys >repeat for each line i in akeys > put theArray[i] into something >end repeat This works great for one dimensional arrays. I'm wondering if there is a clean way of doing something similar for multi-dimensional arrays. Lets say my array looks like this: myArray[1,"RecID"] myArray[1,"Name"] myArray[6,"RecID"] myArray[6,"Name"] myArray[3,"RecID"] myArray[3,"Name"] myArray[2,"RecID"] myArray[2,"Name"] I can use your technique above to sort the keys with something like: set itemDelimiter to "," put keys of myArray into tKeys sort lines of tKeys ascending numeric by item 1 of each But when I do my loop: repeat for each line tRec in tKeys blah, blah, blah end repeat I am looping over each line rather than each key. With each iteration I want to go from key to key rather than line to line. Is there a way to make the repeat structure loop over each key rather than each line? I do a lot of array manipulation in PHP and this is one of the few things I find I miss in Rev. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alrice at ARCplanning.com Thu Aug 7 17:17:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 17:17:00 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: On Tuesday, August 5, 2003, at 10:01 PM, Richard Gaskin wrote: > - Unless a lengthy operation also needs to process system messages, use > "lock messages" before the operation and "unlock messages" when it's > done. Richard, the Rev docs mentions "lock messages" but not in the context of optimization. I understand that by cutting out getprop/setprop calls, things could go faster. Anything else it does? Can you give an example of when it wouldn't be safe to use lock messages? Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From themacguy at macosx.com Thu Aug 7 17:20:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Aug 7 17:20:01 2003 Subject: Missing Icon - half cleared up Message-ID: <65E70566-C924-11D7-AD3B-000A95763ABC@macosx.com> Well, I RTFM and found the reference to the "gRevAppSmallIcon" and "gRevAppIcon". That resolves the mystery of the disappearing app icons in my standalone. However, the missing "question" icon (as in 'ask question "my message" ') is still not found. Would someone try this and let me know if it's just my system? Thanks, Barry From katir at hindu.org Thu Aug 7 17:24:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu Aug 7 17:24:01 2003 Subject: Long File Name Woes in OS X Message-ID: Here we work entirely in a Mac OS X environment... Despite my best efforts at the source end of a particular work flow, for a sound archiving project, we are still getting long file names from PC users on our team...where Windows allows, e.g. GD_dharmapuram_speech-02-04-83.aif Since these have been burned onto a CD, that data is not as "moldable" as we would like and ideally it could remain the same for future cataloging purposes. I could truncate the file names in a cataloging process, but then any library system starts to break down as catalog entries are no longer a precise match for the original file names on CD. As you can see I was able to save this file from a CD to a hard drive on Mac OS X, the underlying OS File system accepts the overlong name. I can view the long file name in the Finder and even copy it and paste into this messsage. but: my button "Select and Audio File" global theTape on mouseUp answer file "Locate the sound file you want to transcribe."&\ "(Must be playable by QuickTime)" with "OK" if it is empty then exit mouseUp put it into theTape put theTape into fld "soundfile" set the filename of player "theTape" to theTape send postTime to this stack in 2 seconds end mouseUp Returns this in the field in my Rev sound processor, auto truncating the file name to the "old" mac standard of 31 characters... using some hashed algorithm. /Varuna/Sound_Projects/India/GD_dharmapuram_speec#11150F.aif So, as we work to constrain original filename input into process work flow to 31 characters... invariably some files may squeak through and be too long... is there any way I can force Revolution to ignore the mac constraint? I would seem that the underlying Unix system of OS X really is not really enforcing the file length constraint anyway. I also face this in other mac apps... particularly mail.app which breaks Apples's own convention and allows me to save incoming email letters to the editor with the subject line, which are frequently over length... e.g. Regarding Mr. Agrawals Comments on the Caste System.txt then when I try to process these in Rev... i'll get a hashed down version. "Regarding Mr. Agrawa#123245.txt" help! Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From alrice at ARCplanning.com Thu Aug 7 17:28:02 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 7 17:28:02 2003 Subject: Revolution speed sucks? In-Reply-To: <002901c35d2f$b024be70$b2ea5144@fatal7lcf637rj> Message-ID: <7F04F116-C925-11D7-8B5C-000393529642@ARCplanning.com> On Thursday, August 7, 2003, at 04:03 PM, yoy wrote: > Alex, > > Apoligy accepted. > > I was hypercard since 1987 Well you actually have ~15 years more experience with xTalk than I do :-) I found Rev last year and haven't looked back. Experience comes in lots of paths and ways. Glad to have you with us. Perl is the fastest scripting language that's out there, that I know of. But Rev/Metacard goes beyond just an script interpreter (kinda like Java and Smalltalk and some others). Also Perl is "write-only". Try reading your lotto script in 18 months after finishing it! Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Thu Aug 7 17:30:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 7 17:30:01 2003 Subject: Missing Icon - half cleared up In-Reply-To: <65E70566-C924-11D7-AD3B-000A95763ABC@macosx.com> Message-ID: On Thursday, August 7, 2003, at 04:13 PM, Barry Levine wrote: > However, the missing "question" icon (as in 'ask question "my message" > ') is still not found. > > Would someone try this and let me know if it's just my system? Revolution 2.0.1 and 2.1B2 on OS X 10.2.6: I get the I icon. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From yoy at comcast.net Thu Aug 7 17:50:00 2003 From: yoy at comcast.net (yoy) Date: Thu Aug 7 17:50:00 2003 Subject: Revolution speed sucks? References: <7F04F116-C925-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: <003e01c35d35$236b99d0$b2ea5144@fatal7lcf637rj> Agreed. But that applies to any source code. I have had trouble reasoning with my own source code after time passes. Try reasoning with: http://mywebpages.comcast.net/foxcat/GAUGE_88.ps Use distiller to get the .pdf (font's may fault the reulsting file). Today, I looked at that code and thought, that's crazy. ;-) All the best, ----- Original Message ----- > Also Perl is "write-only". Try reading your lotto script in 18 months > after finishing it! From francois.cuneo at cuk.ch Thu Aug 7 17:52:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Thu Aug 7 17:52:01 2003 Subject: how to remow a stack completely from memory In-Reply-To: Message-ID: Hello! Please, hot to remove completely a stack from memory? I set the destroystack to true, I close the stack, but the stack stay in memory. Thank you for your help Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From ambassador at fourthworld.com Thu Aug 7 17:56:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 7 17:56:01 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: Alex Rice wrote: > On Tuesday, August 5, 2003, at 10:01 PM, Richard Gaskin wrote: >> - Unless a lengthy operation also needs to process system messages, use >> "lock messages" before the operation and "unlock messages" when it's >> done. > > Richard, the Rev docs mentions "lock messages" but not in the context > of optimization. I understand that by cutting out getprop/setprop > calls, things could go faster. Anything else it does? Can you give an > example of when it wouldn't be safe to use lock messages? Just those cases where your scripts depend on them, such as going to a card where the card expects to initialize itself with a preOpenCard handler. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From themacguy at macosx.com Thu Aug 7 18:02:02 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Aug 7 18:02:02 2003 Subject: Quitting without asking Message-ID: <39C55ACC-C92A-11D7-92F1-000A95763ABC@macosx.com> I've got my app set to ask for confirmation before I permit the user to quit using the usual dialog. In the IDE on both platforms, it performs as expected. In the standalone on Windows, it also works as expected. In OSX, it simply quits without my intervening dialog. Is this due to some difference in the way Rev moves the Quit command to the app menu (rather than the File menu as it is on Windows)? Any help is appreciated. By the way, if you're seeing lots of posts from me, it's because I've started doing much more with Rev. Regards, Barry From steve at nexpath.com Thu Aug 7 18:18:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Thu Aug 7 18:18:00 2003 Subject: Revolution speed sucks? In-Reply-To: <7F04F116-C925-11D7-8B5C-000393529642@ARCplanning.com> References: <7F04F116-C925-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: <3F32DE7D.5090906@nexpath.com> Alex Rice wrote: > Also Perl is "write-only". Try reading your lotto script in 18 months > after finishing it! This is just an ingenious way of bringing retribution on programmers that do not write copious explanatory comments, and have a penchant for deviously clever implementations. But I suspect RR could be the same if you hide enough snippets of code under enough objects scattered here and there. And regexps are brilliant but hardly for human consumption in either language, yet I defy anyone to come up with a better way. I think the rule in perl is "just because you can do it that way doesn't mean it should be done that way. Eschew obfuscation!" -Steve From HyperChris at aol.com Thu Aug 7 19:09:01 2003 From: HyperChris at aol.com (HyperChris at aol.com) Date: Thu Aug 7 19:09:01 2003 Subject: Marketing Rev in Other Worlds Message-ID: <94.3b7bcb02.2c644267@aol.com> Very good point Dan Shafer. Rev almost needs a separate marketing, packaging, support and documentation approach for the mass market (and getting Apple to feature it or, dare I say, bundle it ... wouldn't hurt). I would not try and remove any of its basic features but rather put a different face on it for them. The existing program is wonderful but it is oriented towards US and not THEM and THEY have a lot more money ! Dan Shafer writes: <> From briany at qldlearning.com Thu Aug 7 19:43:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Thu Aug 7 19:43:01 2003 Subject: Revolution speed sucks? In-Reply-To: <079D4CFC-C918-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: I also didn't mean to bash anyone back, if that's how it came across. In any case, I just didn't want Andy to feel singled out or shot back at. Now that we've all kissed and made up, back to it! Andy, I downloaded your Perl script and it's actually quite readable for Perl (which is in fact a great language despite the relative unreadability). Do you mind if I try doing a direct port into a Rev command-line script? I'm curious to see how the speed compares with almost identical scripts in the two different languages. This seems like me like a good opportunity to do two things: a) Test the raw engine speed by porting the Perl script as-is (it looks like it can be translated line-by-line pretty well) b) See if there are any Rev tricks to make it even faster Andy, do you mind if I use your Perl script as a basis for some of this comparing? I'd of course share all of the results. Brian >> * He already posted the URL for his perl script >> ... > > Oops, I apologize. It did not appear to me that he had posted the Perl > code for comparison. I re-read the thread and found that he had done > so. Sorry Andy! That URL is > http://mywebpages.comcast.net/foxcat/PERLotto.zip > >> He hasn't exactly been rude or bashed Rev. If someone really feels >> threatened, feel free to write a Rev command-line script based on the >> Perl one and see how it does. > > The subject line bugs me. People do get protective of their favorite > programming tools you know :-) From bvg at mac.com Thu Aug 7 21:23:04 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu Aug 7 21:23:04 2003 Subject: Revolution speed sucks? In-Reply-To: <4C6556BA-C91F-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: <43FCC2E3-C946-11D7-BB9A-003065AD94A4@mac.com> On Donnerstag, Aug 7, 2003, at 23:37 Europe/Zurich, Alex Rice wrote: > repeat for each line theLine in theWinners --note: NOT "each line > theLine in fld winners" This is wrong. Actually when you do a "repeat for each" loop, then you generate automatically a variable at the beginning of the loop and then use that. Hence it is impossible to change a container directly with that loop (putting something into "theLine" does not change the appropiate line of "theWinners"). When you generate another variable before the loop then that will only use more memory. (I tested that once and speed is equal for both cases) > -- do not access any buttons or fields in here However I heartily agree with that. > end repeat From drjohn at wellminds.org Thu Aug 7 21:33:00 2003 From: drjohn at wellminds.org (John R. Brauer) Date: Thu Aug 7 21:33:00 2003 Subject: "Preview screen" button In-Reply-To: <200308072045.QAA28575@www.runrev.com> Message-ID: Klaus, > Try: > > on mouseenter > set the icon of button "PreviewButton" to 1392 > ### You only need the "naked" id number ;-) > set showIcon of button "PreviewButton" to true > end mouseenter Thank you. It works beautifully. >> Ideally, I would like this button in the corner of the window to show >> a different image for whatever >> area of the map the cursor enters (the program is for keeping track of >> a garden and its current plants). > > Maybe i don't understand you right, but could you do this with > "invisible" buttons? > I don't mean that literally ;-) > > The trick is to use standard buttons, script them the way you want with > "mouseneter", "mouseleave" etc.. > and then set the INK of these buttons to "noop"!!! Does this mean change the ink used in the image to be invisible? It is working to change showIcon to true on mouseenter and false on mouseleave. The icon changes with each new area entered. Would the "noop" approach have an advantage that I am not seeing? > This will make them > invisible to the user but the engine > (and thus the mouse) will act as if they were visible... > > Cooooool and handy feature :-) > Klaus Major > Sincerely, John R. Brauer From sarahr at genesearch.com.au Thu Aug 7 22:39:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 7 22:39:00 2003 Subject: how to remow a stack completely from memory In-Reply-To: Message-ID: Are you sure the stack really is still in memory? Sometimes the Application Browser needs to be closed & re-opened before it makes the stack disappear from it's list. Try checking "the openStacks" to confirm. Sarah On Friday, August 8, 2003, at 09:01 am, Fran?ois Cuneo wrote: > Hello! > Please, hot to remove completely a stack from memory? > I set the destroystack to true, I close the stack, but the stack stay > in > memory. > Thank you for your help > Fran?ois > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Thu Aug 7 22:49:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 7 22:49:01 2003 Subject: Missing Icon - half cleared up In-Reply-To: <65E70566-C924-11D7-AD3B-000A95763ABC@macosx.com> Message-ID: <32014B36-C952-11D7-B2FE-0003937A97B8@genesearch.com.au> Looking in the Standard Images library, I find the two AppIcons (a large R and a small R) plus three notification icons: red hexagon !, yellow triangle ! and blue circle i. There does not seem to be a question mark icon. In the answer dialogs scripts, in the OS X specific section I found this line: put "210093 210092 210094 210093" into tIcons which decides the icon used as returned by the position of the chosen setting in this line: "information error warning question" From this, you can see that the Rev folk have explicitly scripted to use the same icon for both question and information in Mac OS X. I don't know if this fits with the latest Apple HIG, but I would prefer to see a question mark icon again. Sarah On Friday, August 8, 2003, at 08:17 am, Barry Levine wrote: > Well, I RTFM and found the reference to the "gRevAppSmallIcon" and > "gRevAppIcon". That resolves the mystery of the disappearing app icons > in my standalone. > > However, the missing "question" icon (as in 'ask question "my message" > ') is still not found. > > Would someone try this and let me know if it's just my system? > > Thanks, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Thu Aug 7 22:51:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 7 22:51:01 2003 Subject: Quitting without asking In-Reply-To: <39C55ACC-C92A-11D7-92F1-000A95763ABC@macosx.com> Message-ID: How are you handling the quit? If it is in the menu script, it may be that OS X is bypassing that. I suggest you use a shutdownRequest handler instead. If you pass it, the app will continue to shut down, but if the user decides not to quit, just exit the shutdownRequest handler without passing and the shutdown will be cancelled. This should work for all OSes, I think. Cheers, Sarah On Friday, August 8, 2003, at 09:01 am, Barry Levine wrote: > I've got my app set to ask for confirmation before I permit the user > to quit using the usual dialog. In the IDE on both platforms, it > performs as expected. In the standalone on Windows, it also works as > expected. In OSX, it simply quits without my intervening dialog. Is > this due to some difference in the way Rev moves the Quit command to > the app menu (rather than the File menu as it is on Windows)? > > Any help is appreciated. > > By the way, if you're seeing lots of posts from me, it's because I've > started doing much more with Rev. > > Regards, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From sarahr at genesearch.com.au Thu Aug 7 22:54:02 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 7 22:54:02 2003 Subject: How does a stack file get to be 'Recent'? In-Reply-To: <5.2.1.1.0.20030807001205.00c626a8@pop.wanadoo.fr> Message-ID: I have had this happen sometimes, and I don't think a Save triggers it, I think you need to use the File menu to Open the stack, then (so long as you don't crash, but quit Rev properly), it should appear in the menu next time. Cheers, Sarah On Friday, August 8, 2003, at 12:36 am, Graham wrote: > I know this is trivial, but I'm puzzled. I've been working on a stack > for a couple of days, amount to several hours' work. I've saved it > many times, I've quit RunRev (2.0.1, Window XP Home Edition) and > restarted it and messed around all over the place but the stack's file > still doesn't appear in the 'Open Recent File' list in the IDE's File > menu. Does anyone know what triggers a stack to get into the list - it > sure isn't a straightforward 'Save'. > > Graham > > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From gizmotron at earthlink.net Fri Aug 8 00:08:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Aug 8 00:08:00 2003 Subject: Arrays and custom properties In-Reply-To: <100D2778-C7D0-11D7-9B7D-000A95859272@earthlink.net> Message-ID: On Tuesday, August 5, 2003, at 10:37 PM, Mark Brownell wrote: > > On Tuesday, August 5, 2003, at 10:13 PM, Alex Rice wrote: > >>> No matter how long I use Revolution I think I will always be >>> learning. >> >> Dar you could teach me about sockets, binary encoding, endian-ness >> and a dozen other things and I'll teach you about custom properties >> :-) >> >> Alex Rice ... and if both of you got together on this... I decided to do some testing myself. put: go url "http://www.gizmotron.org/frogbreath.rev" into the message window with a active internet connection. Wow! Wow! Wow! This Rev stuff is so cool, fast, and amazing. I've found the needed speed optimization I was looking for. -------------------------------- I'll bet Dar Scott would know this one. In the last part of the final process for Blowfish: put (xL bitAnd 4278190080 ) / 16777216 into zap put numToChar( (zap bitAnd 255) ) after cipherText put numToChar( ((xL bitAnd 16711680) / 65536 ) ) after cipherText put numToChar( (( xL bitAnd 65280 ) / 256 ) ) after cipherText put numToChar( ( xL bitAnd 255 ) ) after cipherText put (xR bitAnd 4278190080 ) / 16777216 into zap put numToChar( (zap bitAnd 255) ) after cipherText put numToChar( ((xR bitAnd 16711680) / 65536 ) ) after cipherText put numToChar( (( xR bitAnd 65280 ) / 256 ) ) after cipherText put numToChar( ( xR bitAnd 255 ) ) after cipherText xL and xR are 32 bit numbers that could be stored in an array as a custom properties set. Blowfish takes a major speed hit when putting text into the "put ... after cipherText" variable. Is there a better way to store these 32 bit numbers than putting them in a stored array? From dsc at swcp.com Fri Aug 8 00:39:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 8 00:39:00 2003 Subject: Arrays and custom properties In-Reply-To: Message-ID: On Thursday, August 7, 2003, at 11:03 PM, Mark Brownell wrote: > In the last part of the final process for Blowfish: > > put (xL bitAnd 4278190080 ) / 16777216 into zap > put numToChar( (zap bitAnd 255) ) after cipherText > put numToChar( ((xL bitAnd 16711680) / 65536 ) ) after cipherText > put numToChar( (( xL bitAnd 65280 ) / 256 ) ) after cipherText > put numToChar( ( xL bitAnd 255 ) ) after cipherText > put (xR bitAnd 4278190080 ) / 16777216 into zap > put numToChar( (zap bitAnd 255) ) after cipherText > put numToChar( ((xR bitAnd 16711680) / 65536 ) ) after cipherText > put numToChar( (( xR bitAnd 65280 ) / 256 ) ) after cipherText > put numToChar( ( xR bitAnd 255 ) ) after cipherText > > xL and xR are 32 bit numbers that could be stored in an array as a > custom properties set. Blowfish takes a major speed hit when putting > text into the "put ... after cipherText" variable. I gotta make this quick, so you might have to fix any errors in this. I need to take a weekend break. How about replacing all of the above with this: put binaryEncode("NN",xL,xH) after cipherText > Is there a better way to store these 32 bit numbers than putting them > in a stored array? Arrays might work well, but I'd encrypt as soon as I create them in Blowfish. Dar From gizmotron at earthlink.net Fri Aug 8 00:56:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Aug 8 00:56:01 2003 Subject: Arrays and custom properties In-Reply-To: Message-ID: <898BC309-C964-11D7-939F-000A95859272@earthlink.net> On Thursday, August 7, 2003, at 10:32 PM, Dar Scott wrote: > I gotta make this quick, so you might have to fix any errors in this. > I need to take a weekend break. > > [snip] > > Arrays might work well, but I'd encrypt as soon as I create them in > Blowfish. > > Dar They are already encrypted. They would just lack the final speed hit. It comes down to how much might be saved by doing it later in a different loop at a different time. This goes to storage as binary verses read from binary. I will need to test different approaches; completing the final process in Blowfish before storage or completing the final process after retrieving from storage. Have a great weekend break, thanks. Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 771 bytes Desc: not available URL: From janschenkel at yahoo.com Fri Aug 8 00:59:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Aug 8 00:59:00 2003 Subject: How to to recover the automatic number after insertion in a MS Access database In-Reply-To: <52D2AE58-C921-11D7-B134-00039344A87E@mac.com> Message-ID: <20030808055249.99374.qmail@web11904.mail.yahoo.com> --- J?r?me_Rosat wrote: > How to recover the value of an "automatic number" > field of a > table after inserting a new record in a MS Access > database. > > Best regards, > > Jerome > Bonjour J?r?me, One way might be to simply fetch the maximum value of this field back from the database, as in : -- put "SELECT MAX(myautonumber) FROM mytable" \ into tSQLQuery put revDataFromQuery(tConnectionID, tSQLQuery) \ into tHighestNumber -- Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alrice at ARCplanning.com Fri Aug 8 01:10:02 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 8 01:10:02 2003 Subject: Revolution speed sucks? In-Reply-To: <43FCC2E3-C946-11D7-BB9A-003065AD94A4@mac.com> Message-ID: <1207148B-C966-11D7-8B5C-000393529642@ARCplanning.com> On Thursday, August 7, 2003, at 08:16 PM, Bj?rnke von Gierke wrote: > >> repeat for each line theLine in theWinners --note: NOT "each line >> theLine in fld winners" > > This is wrong. Actually when you do a "repeat for each" loop, then you > generate automatically a variable at the beginning of the loop and > then use that. Hence it is impossible to change a container directly > with that loop (putting something into "theLine" does not change the > appropiate line of "theWinners"). When you generate another variable > before the loop then that will only use more memory. (I tested that > once and speed is equal for both cases) > Bj?rnke, I don't understand what's wrong about it. Don't understand what you mean about using more memory. "repeat for each line" is supposed to be faster than any other loop form in transcript. Maybe you can write a counter example to show what I'm doing badly? If one needed to modify theWinners while inside the loop, and maybe it wouldn't be necessary, but supposing one needed to, wouldn't one just maintain the line count in parallel, like this? I think I've seen this idiom used before: put fld "winners" into theWinners put 0 into tLineNo repeat for each line theLine in theWinners add 1 to tLineNo if "target" is among the items of theLine then put "found target here" into line tLineNo of tWinner end if end repeat I would be glad to be corrected- I'm still pretty new to this optimizing transcript stuff. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Fri Aug 8 01:16:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 8 01:16:01 2003 Subject: Arrays and custom properties In-Reply-To: <898BC309-C964-11D7-939F-000A95859272@earthlink.net> Message-ID: On Thursday, August 7, 2003, at 11:52 PM, Mark Brownell wrote: > They are already encrypted. They would just lack the final speed hit. > It comes down to how much might be saved by doing it later in a > different loop at a different time. This goes to storage as binary > verses read from binary. I will need to test different approaches; > completing the final process in Blowfish before storage or completing > the final process after retrieving from storage. I have another moment. I was thinking of combining the loops so you take 8 bytes, convert to xL and xH, encrypt/decrypt, convert to 8 bytes and accumulate all in one cycle. There is no array. (This ignores the end of the string; I left that for you.) That assumes ECB mode, but you can easily adapt it to other modes. > Have a great weekend break, thanks. Thank you. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From dsc at swcp.com Fri Aug 8 01:23:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 8 01:23:01 2003 Subject: Revolution speed sucks? In-Reply-To: <1207148B-C966-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: On Friday, August 8, 2003, at 12:03 AM, Alex Rice wrote: > put fld "winners" into theWinners > repeat for each line theLine in theWinners I think what he is saying is that that is equivalent to this repeat for each line theLine in fld "winners" and that the compiler essentially does what you have. Dar Scott From alrice at ARCplanning.com Fri Aug 8 01:43:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 8 01:43:01 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: <93D7B1E0-C96A-11D7-8B5C-000393529642@ARCplanning.com> On Friday, August 8, 2003, at 12:16 AM, Dar Scott wrote: > >> put fld "winners" into theWinners > >> repeat for each line theLine in theWinners > > I think what he is saying is that that is equivalent to this > > repeat for each line theLine in fld "winners" > > and that the compiler essentially does what you have. Ah. Smart compiler. For some reason I was assuming that in this form repeat for each line theLine in fld "winners" that the field would be accessed at each loop iteration. Which would be a terrible hit. But yes, since the speed is the same with both forms, it must be doing what Bj?rnke says- making a temporary var with the contents of the field. Thanks Dar and Bj?rnke. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Fri Aug 8 01:55:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 8 01:55:01 2003 Subject: Revolution speed sucks? In-Reply-To: <93D7B1E0-C96A-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: <5F099580-C96C-11D7-BF83-000A9567A3E6@swcp.com> On Friday, August 8, 2003, at 12:36 AM, Alex Rice wrote: > But yes, since the speed is the same with both forms, it must be doing > what Bj?rnke says- making a temporary var with the contents of the > field. If that's the case then this opens up the opportunity to fiddle with things in the limit expression--such as the field in this case--inside the loop. Dar Scott From yvescoppe at skynet.be Fri Aug 8 02:00:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri Aug 8 02:00:00 2003 Subject: Missing icon? In-Reply-To: Message-ID: <0622B111-C96D-11D7-ADDA-000393533246@skynet.be> Le jeudi, 7 ao? 2003, ? 21:53 Europe/Brussels, Barry Levine a ?crit : > I use this line of code in the message box: ask question "the > message" > > and I get the same icon as: ask information "the message" > > In both cases I get the Information+R icon. Have I lost the "?" icon? > > Rev 2.0.1 & Rev 2.0.2 (both in OSX) exhibit this behavior. > > Also: In the compiled app, the "R" logo in the box is missing (which > should be displayed along with the "i" when you issue the "ask > information..." command. The "i" and the box are there but not the > "R". (Again, this is in OSX with 2.0.1/2.0.2.) > > Barry > Hi Chek the global revAppIcon. Greetings. Yves COPPE yvescoppe at skynet.be From alrice at ARCplanning.com Fri Aug 8 02:01:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 8 02:01:00 2003 Subject: Arrays and custom properties In-Reply-To: Message-ID: <2A728F0E-C96D-11D7-825B-000393529642@ARCplanning.com> On Thursday, August 7, 2003, at 11:03 PM, Mark Brownell wrote: > ... and if both of you got together on this... > > I decided to do some testing myself. > > put: go url "http://www.gizmotron.org/frogbreath.rev" into the message > window with a active internet connection. Yep it looks like you've got the Zen of Custom Properties. But I am a bit taken aback: How did you know I have frog breath? > Wow! Wow! Wow! This Rev stuff is so cool, fast, and amazing. I've > found the needed speed optimization I was looking for. The array notation of custom properties is a lifesaver! Totally unrelated: Anyone tired of reading my 10+ posts per day will get a reprieve as I'm going camping this weekend ;-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From doupsy at wanadoo.fr Fri Aug 8 02:16:00 2003 From: doupsy at wanadoo.fr (doupsy at wanadoo.fr) Date: Fri Aug 8 02:16:00 2003 Subject: Full justified text Message-ID: Hello, How is it possible to have a full justified text ? TextEdit (which contains capacity of full justified text) is scriptable, but it is not possible to use the propertie of full justified with applescript. Is it possible to use Applescript (in RR of course) with OpenOffice (openoffice works under X11) ? If yes, how ? Is there some free softwares to use for have full justified text and which are scriptables ? Thanks Edouard From gizmotron at earthlink.net Fri Aug 8 02:18:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Aug 8 02:18:00 2003 Subject: Arrays and custom properties In-Reply-To: <2A728F0E-C96D-11D7-825B-000393529642@ARCplanning.com> Message-ID: On Thursday, August 7, 2003, at 11:54 PM, Alex Rice wrote: > Yep it looks like you've got the Zen of Custom Properties. But I am a > bit taken aback: How did you know I have frog breath? I used to live in Santa Fe. It's those different boritos they sell there in the city different. Last time I heard desert road-kill was a treat. Don't do that... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 386 bytes Desc: not available URL: From francois.cuneo at cuk.ch Fri Aug 8 02:29:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Fri Aug 8 02:29:01 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: <5F099580-C96C-11D7-BF83-000A9567A3E6@swcp.com> Message-ID: Hello everybody, I'm sorry, but I have asked a lot of questions this last days and I have no answer (just one from Yves) about something that maybe prohibs me to use Revolution. Why? Because I think that's it is impossible to use what all people who speaks French does: use our char in File's names! If you save a file like Save this stack as "R?volution.rev" I obtain the first time that seems to be e good file. But When I open and I save again the file I obtain R??volution.rev~ that prohibs Revolution to save correctly the stack. So I have asked how to correct that. The answser from Yves (save as Whatever.rev and rename it to R?volution.rev works only if I don't open the stack another time in the same session (the files stays im memory, so it's impossible to open it again) I have asked about UTF8 conversion of the files names (I'm sure that here is the problem, I had exactly the same with RealBasic, and it was corrected with a conversion) but I had no answer. I have asked about how to purge a stack, no answer. So I think that I don't have a solution, and for me (and for all people that use diacritical char), that is a basic necessity. And I'm sorry but I think that Revolution is not for me. The problem, that I have writed a review about Revolution (some thousands have read it) and I say that Revolution is THE solution for all people that have used languages like Hypertalk and maybe for all that whant to begin to write applications. The review is here (http://www.cuk.ch/articles/tests) I think that I have to change something in my review. So maybe it is one of my last messages on this list. For me, it's terrible but it's like that. Friendly Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From rodneytamblyn at paradise.net.nz Fri Aug 8 02:55:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Fri Aug 8 02:55:00 2003 Subject: Blobs and PostgreSQL In-Reply-To: Message-ID: <1A6EEA1C-C975-11D7-B10E-003065F97100@paradise.net.nz> Quick question (probably already covered somewhere on this list...) Can someone post a simple example illustrating adding a blob to a PostgreSQL database from RR? I have worked my way through the simple examples, but before launching into Revolution database scripting I thought it would be more efficient to see if this info is already available. If there are any good example stacks worth viewing pointers would also be appreciated.... Thanks! Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From martin at harbourtown.co.uk Fri Aug 8 03:03:01 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Fri Aug 8 03:03:01 2003 Subject: Using numbers to access elements in arrays Message-ID: >Trevor DeVore wrote >On 8/7/03 Martin Baxter wrote >> >>If you have to modify the data and also need to read the data out in >>numeric order as if the keys were integers in sequence, you can: >> >>put the keys of theArray into akeys >>sort numeric lines of akeys >>repeat for each line i in akeys >> put theArray[i] into something >>end repeat >This works great for one dimensional arrays. I'm wondering if there is a >clean way of doing something similar for multi-dimensional arrays. Lets >say my array looks like this: > >myArray[1,"RecID"] >myArray[1,"Name"] >myArray[6,"RecID"] >myArray[6,"Name"] >myArray[3,"RecID"] >myArray[3,"Name"] >myArray[2,"RecID"] >myArray[2,"Name"] > >I can use your technique above to sort the keys with something like: > >set itemDelimiter to "," >put keys of myArray into tKeys >sort lines of tKeys ascending numeric by item 1 of each > >But when I do my loop: > >repeat for each line tRec in tKeys > blah, blah, blah >end repeat > >I am looping over each line rather than each key. With each iteration I >want to go from key to key rather than line to line. Is there a way to >make the repeat structure loop over each key rather than each line? I do >a lot of array manipulation in PHP and this is one of the few things I >find I miss in Rev. > I heartily agree that more array flexibility would be welcome in Revolution, and PHP does "spoil us rotten" in that respect. In the case you cite, just sorting the keys by item 1 might not necessarily end up with the result you assume above. To get that reliably I think you would need to have 2 levels of sorting, the first numeric and the second alphanumeric.. Alternatively you might address the problem inside the loop. Assuming the array keys are known to be "dimensionally consistent" throughout, my first instinct would be to try something like the following (untested) : ## do your keysort by item 1 put empty into bunchHolder put 1 into bunchCounter repeat for each line tRec in tKeys if bunchCounter = 1 then put myArray[tRec] into bunchHolder put 2 into bunchCounter else if bunchCounter = 2 then put myArray[tRec] into line 2 of bunchHolder sort lines of bunchHolder # do what you need to do put 1 into bunchCounter end if end repeat martin From andre.rombauts at win.be Fri Aug 8 03:06:01 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Fri Aug 8 03:06:01 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. References: Message-ID: <00ed01c35d82$fed74bc0$9e26fea9@piran> I'm also a French speaking user. I never used accent in files names and don't find this is a major problem at all. Of course if this can be corrected easily I don't see why it shouldn't: there numerous languages with special "non-english" characters... Andr? ----- Original Message ----- From: "Fran?ois Cuneo" To: Sent: Friday, August 08, 2003 9:24 AM Subject: I speak French, so I think that I can't use Revolution, aaaaargh. > Hello everybody, > > I'm sorry, but I have asked a lot of questions this last days and I have no > answer (just one from Yves) about something that maybe prohibs me to use > Revolution. > > Why? > > Because I think that's it is impossible to use what all people who speaks > French does: use our char in File's names! > > If you save a file like > > Save this stack as "R?volution.rev" > > I obtain the first time that seems to be e good file. > > But When I open and I save again the file I obtain R^?volution.rev~ that > prohibs Revolution to save correctly the stack. > > So I have asked how to correct that. > > The answser from Yves (save as Whatever.rev and rename it to R?volution.rev > works only if I don't open the stack another time in the same session (the > files stays im memory, so it's impossible to open it again) > > I have asked about UTF8 conversion of the files names (I'm sure that here is > the problem, I had exactly the same with RealBasic, and it was corrected > with a conversion) but I had no answer. > > I have asked about how to purge a stack, no answer. > > So I think that I don't have a solution, and for me (and for all people that > use diacritical char), that is a basic necessity. > > And I'm sorry but I think that Revolution is not for me. > > The problem, that I have writed a review about Revolution (some thousands > have read it) and I say that Revolution is THE solution for all people that > have used languages like Hypertalk and maybe for all that whant to begin to > write applications. > > The review is here (http://www.cuk.ch/articles/tests) > > I think that I have to change something in my review. > > So maybe it is one of my last messages on this list. > > For me, it's terrible but it's like that. > > Friendly > > Fran?ois > > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From monte at sweattechnologies.com Fri Aug 8 04:20:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Aug 8 04:20:00 2003 Subject: OZ-RUG moving Message-ID: Hi All Due to spam concerns with Yahoo! I'm moving OZ RUG to use Majordomo on my website. To subscribe just send an email to: majordomo at sweattechnologies.com Put 'subscribe ozrug' in the message body. Then send email to ozrug at sweattechnologies.com. Only subscribed people can post messages. There's no way that anyone (other than me) can find out a scriber address and there won't be an archive. I'll set up a web page when we need one. Cheers to all Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From ttasovac at princeton.edu Fri Aug 8 04:24:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Fri Aug 8 04:24:01 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: Message-ID: <2622E896-C981-11D7-A15D-000393D60E0C@princeton.edu> I'm sorry to hear you're having problems with Rev. Before you give up completely, why don't you report your problem to the bug database? That's really the only way of getting the development team alerted. And just because something doesn't work now, doesn't mean that it won't get fixed in the next release. Cordialement, T. Am Freitag, 08.08.03 um 09:24 Uhr schrieb Fran?ois Cuneo: > Hello everybody, > > I'm sorry, but I have asked a lot of questions this last days and I > have no > answer (just one from Yves) about something that maybe prohibs me to > use > Revolution. > > Why? > > Because I think that's it is impossible to use what all people who > speaks > French does: use our char in File's names! From psahores at easynet.fr Fri Aug 8 05:03:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 8 05:03:01 2003 Subject: Blobs and PostgreSQL In-Reply-To: <1A6EEA1C-C975-11D7-B10E-003065F97100@paradise.net.nz> References: <1A6EEA1C-C975-11D7-B10E-003065F97100@paradise.net.nz> Message-ID: <3F3373D6.5000606@easynet.fr> Rodney Tamblyn wrote: > Quick question (probably already covered somewhere on this list...) > > Can someone post a simple example illustrating adding a blob to a > PostgreSQL database from RR? > > I have worked my way through the simple examples, but before launching > into Revolution database scripting I thought it would be more efficient > to see if this info is already available. If there are any good example > stacks worth viewing pointers would also be appreciated.... > > Thanks! > > Rodney > -- > Rodney Tamblyn > 44 Melville Street > Dunedin > New Zealand > +64 3 4778606 > http://rodney.weblogs.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi Rodney, Sorry ! I have'nt build any RR+PostgreSQL solutions for yet, nor used Blobs columns in my MC+PostgreSQL apps. -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From rjb at rz.uni-potsdam.de Fri Aug 8 06:14:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Aug 8 06:14:01 2003 Subject: Marketing Rev in Other Worlds (was Re: Script Limits and solid IDE evolution!) In-Reply-To: References: Message-ID: >This discussion of the need for the RunRev folks to market not just >the product but the underlying xtalk/xcard paradigm to the world of >Windows in particular raises for me another issue that I think >prevents the product from achieving the kind of brilliant "Aha!" >success it richly deserves. I refer to the out-of-the-box experience. > >When I showed my wife HyperCard a few months before it was released, >her reaction was, "I get it. Get out of the way and let me play." >Her response to Revolution when it opened was, "What's this? Another >programming thing?" > >Professional programmers are going to be very slow to switch to >Revolution or to any xThing for that matter. It's hard enough to get >a programmer to change languages even when confronted with a >demonstrably superior alternative (I know; I spent a few years >trying to do that with Smalltalk). The real sweet spot market for >Revolution, as it was for HyperCard and the other xCard products, is >what I have long been referring to as the Inventive User (IU). IUs >are people who: > Good points. My reading on the recent changes and glimpes of planned changes is that Rev is indeed moving in that direction. However, so far, the strength of MetaCard were the professional developers (in a loose definition of those) and some of the changes along the way (for example, the forthcoming removal of dynamic script setting in standalones -- the original topic of this thread) may alienate at least some of them. What I am afraid of is that on the long term Rev will become just another Hypercard. For sure more powerful and with more features but not a tool competing seriously for commercial and semi-commercial development. Of course, it does not have to be that way and we can only hope the that Rev team ways their options carefully and do not focus solely on making a quick buck on short term. Robert Brenstein From logram at wanadoo.fr Fri Aug 8 06:39:00 2003 From: logram at wanadoo.fr (Roger Amar) Date: Fri Aug 8 06:39:00 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: Message-ID: Hello Fran?ois, If you need help in french, don't hesitate, just mail your question (in french of course !) to : roger at logram.com Revolution is great, don't give it up ! Je serais ravi de pouvoir vous aider... si je peux. (translation : I'll be happy to help you... if I can !) Have a nice day, Roger; 8/08/03 9:24, Fran?ois Cuneo at francois.cuneo at cuk.ch wrote recently?: > Hello everybody, > > I'm sorry, but I have asked a lot of questions this last days and I have no > answer (just one from Yves) about something that maybe prohibs me to use > Revolution. > > Why? > > Because I think that's it is impossible to use what all people who speaks > French does: use our char in File's names! > > If you save a file like > > Save this stack as "R?volution.rev" > > I obtain the first time that seems to be e good file. > > But When I open and I save again the file I obtain R??volution.rev~ that > prohibs Revolution to save correctly the stack. > > So I have asked how to correct that. > > The answser from Yves (save as Whatever.rev and rename it to R?volution.rev > works only if I don't open the stack another time in the same session (the > files stays im memory, so it's impossible to open it again) > > I have asked about UTF8 conversion of the files names (I'm sure that here is > the problem, I had exactly the same with RealBasic, and it was corrected > with a conversion) but I had no answer. > > I have asked about how to purge a stack, no answer. > > So I think that I don't have a solution, and for me (and for all people that > use diacritical char), that is a basic necessity. > > And I'm sorry but I think that Revolution is not for me. > > The problem, that I have writed a review about Revolution (some thousands > have read it) and I say that Revolution is THE solution for all people that > have used languages like Hypertalk and maybe for all that whant to begin to > write applications. > > The review is here (http://www.cuk.ch/articles/tests) > > I think that I have to change something in my review. > > So maybe it is one of my last messages on this list. > > For me, it's terrible but it's like that. > > Friendly > > Fran?ois > > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Fri Aug 8 06:53:02 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Aug 8 06:53:02 2003 Subject: I speak German, so I think that I can't use Revolution, merde :-) In-Reply-To: Message-ID: Bonjour Fran?ois, > ... > The review is here (http://www.cuk.ch/articles/tests) > > I think that I have to change something in my review. > > So maybe it is one of my last messages on this list. > > For me, it's terrible but it's like that. > > Friendly > > Fran?ois > > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch I just did some tests her in my german OS X and it doesn't work with german Umlauts, too... Funny thing: I create a new stack, save it as "????????.rev" and it will be written to a file with this name WITOUT PROBLEM: a?A?u?U?o?O????.rev BUT any attempt to save this file again will end in an error and an empty file called: ???N????u????n??u??u??u?.rev~ and thus unusable... Same with MetaCard so this is definitively a HEAVY BUG in the engine. Big fun... Please bug-report this to "bugzilla"... Until this will get fixed, the only workaround will be to not use accents and umlauts and special chars... :-( Klaus Major klaus at major-k.de www.major-k.de P.S. I would really love to hear a little bit more form edinburgh on this list... Some sort of affirmation or stuff, just to make their customers feel "safe" or "secure"... (This is hard to express as a non-native english speaker... You get the picture...:-) Especially with posts like the one of Francois, which definitively points to some severe bug... Yes, yes, yes, OK, OK, OK, don't beat me, they are covered with work, but so are many of us, too, and want just get our work done! In my opinion there is too much action going on in the moment and too few comments from the company... From wouter.abraham at pi.be Fri Aug 8 07:02:01 2003 From: wouter.abraham at pi.be (wouter) Date: Fri Aug 8 07:02:01 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. Message-ID: Hello Fran?ois, > Message: 7 > Date: Fri, 08 Aug 2003 09:24:51 +0200 > Subject: I speak French, so I think that I can't use Revolution, > aaaaargh. > From: Fran=?ISO-8859-1?B?5w==?=ois Cuneo > To: > Reply-To: use-revolution at lists.runrev.com > > Hello everybody, > > I'm sorry, but I have asked a lot of questions this last days and I > have no > answer (just one from Yves) about something that maybe prohibs me to > use > Revolution. > > Why? > > Because I think that's it is impossible to use what all people who > speaks > French does: use our char in File's names! > > If you save a file like > > Save this stack as "R?volution.rev" > > I obtain the first time that seems to be e good file. > > But When I open and I save again the file I obtain R??volution.rev~ > that > prohibs Revolution to save correctly the stack. > > So I have asked how to correct that. > > The answser from Yves (save as Whatever.rev and rename it to > R?volution.rev > works only if I don't open the stack another time in the same session > (the > files stays im memory, so it's impossible to open it again) Just did some simple comparative tests (on Mac OSX 10.2.6) and it seems to be a Revolution related "bug" because the same thing done with the Metacard IDE ( even put the latest rev engine [2.1b2] inside the Metacard.app) worked like a charm. > > I have asked about UTF8 conversion of the files names (I'm sure that > here is > the problem, I had exactly the same with RealBasic, and it was > corrected > with a conversion) but I had no answer. > > I have asked about how to purge a stack, no answer. > > So I think that I don't have a solution, and for me (and for all > people that > use diacritical char), that is a basic necessity. > > And I'm sorry but I think that Revolution is not for me. Ahhh please don't give up. But also have a look (and test things) at the lean mean side (Metacard :^) > > The problem, that I have writed a review about Revolution (some > thousands > have read it) and I say that Revolution is THE solution for all > people that > have used languages like Hypertalk and maybe for all that whant to > begin to > write applications. > > The review is here (http://www.cuk.ch/articles/tests) > > I think that I have to change something in my review. > > So maybe it is one of my last messages on this list. > > For me, it's terrible but it's like that. > > Friendly > > Fran?ois Hoping this was fast enough, enjoy a nice day WA From psahores at easynet.fr Fri Aug 8 07:06:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 8 07:06:00 2003 Subject: Marketing Rev in Other Worlds In-Reply-To: <94.3b7bcb02.2c644267@aol.com> References: <94.3b7bcb02.2c644267@aol.com> Message-ID: <3F339091.30301@easynet.fr> HyperChris at aol.com wrote: > Very good point Dan Shafer. > > Rev almost needs a separate marketing, packaging, support and documentation > approach for the mass market (and getting Apple to feature it or, dare I say, > bundle it ... wouldn't hurt). I would not try and remove any of its basic > features but rather put a different face on it for them. > > The existing program is wonderful but it is oriented towards US and not THEM > and THEY have a lot more money ! > > > Dan Shafer writes: > > < > for HyperCard and the other xCard products, is what I have long been > > referring to as the Inventive User (IU). IUs are people who: > > > 1. Know their computers can do so much more to help them with their > > work than anyone has yet made them do. > > 2. Are smart and creative. > > 3. Can envision the solutions. > > 4. Are not professionally trained programmers or at least if they were > > at one point no longer earn their living coding > > 5. Probably working in a team or workgroup setting where they are the > > local IT department > > > > Those folks -- and there are millions of them -- NEED Revolution. > > Badly. But they're not going to take the time to tinker and learn the > > product after opening Revolution and being faced with a blank screen > > and a bunch of loosely connected floating palettes. Heck, they don't > > even get a blank stack window let alone a starting point. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi There, At this point, i'm asking in myself if it would'nt be interesting to do a test in about trying to put "for sale" some packaged "Studio's" issues of RR (CD + papers user's and reference manuals) in some special computer's dedicated stores and see what could happen. There is, in Paris, a special technical Books Publisher/Store, many developers visit lot of times per year : la librairie "Eyrolles" and i'm no far from sure they would be OK, at Eyrolles, to do a test about this. What do you think about the idea, Fr?d?ric R. ? The interest of such a test would be to see if there are, here in France, people who would'nt never purchase an "unknowed product" over the web but could be interested in testing RR because they can touch it and read about it along they are holding the packaged box in hand. The second question is directly adressed to you, Frederic R. : When i did my first steeps in discovering Hypercard, i got a special usefull help from a little book (less than 100 pages), you sure know about : the Dunod/PSI "HyperTalk" by Jean-Jacques GREIF (1992). Don't you think that it could be a good time to rewrite such an usefull syntax reference "memento", focused on "Transcript", this time. If interested, You, Kevin..., let me know, off-list. I would be OK to write it. -- Bests, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From francois.cuneo at cuk.ch Fri Aug 8 07:10:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Fri Aug 8 07:10:01 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: Message-ID: Thank you for all your answers. I'm really not sure that it's a bug as Klaus says. One more time, I had exactly the same problem with RealBasic and the file's names. I had a conversion with a variable to do with UTF8 and all was in order. So maybe I'll put the problem in the bug database but... If somebody finds something with the UTF8 (I'm sure that here is the solution)... Friendly Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Fran?ois Cuneo > R?pondre ??: use-revolution at lists.runrev.com > Date?: Fri, 08 Aug 2003 09:24:51 +0200 > ??: > Objet?: I speak French, so I think that I can't use Revolution, aaaaargh. > > Hello everybody, > > I'm sorry, but I have asked a lot of questions this last days and I have no > answer (just one from Yves) about something that maybe prohibs me to use > Revolution. > > Why? > > Because I think that's it is impossible to use what all people who speaks > French does: use our char in File's names! > > If you save a file like > > Save this stack as "R?volution.rev" > > I obtain the first time that seems to be e good file. > > But When I open and I save again the file I obtain R??volution.rev~ that > prohibs Revolution to save correctly the stack. > > So I have asked how to correct that. > > The answser from Yves (save as Whatever.rev and rename it to R?volution.rev > works only if I don't open the stack another time in the same session (the > files stays im memory, so it's impossible to open it again) > > I have asked about UTF8 conversion of the files names (I'm sure that here is > the problem, I had exactly the same with RealBasic, and it was corrected > with a conversion) but I had no answer. > > I have asked about how to purge a stack, no answer. > > So I think that I don't have a solution, and for me (and for all people that > use diacritical char), that is a basic necessity. > > And I'm sorry but I think that Revolution is not for me. > > The problem, that I have writed a review about Revolution (some thousands > have read it) and I say that Revolution is THE solution for all people that > have used languages like Hypertalk and maybe for all that whant to begin to > write applications. > > The review is here (http://www.cuk.ch/articles/tests) > > I think that I have to change something in my review. > > So maybe it is one of my last messages on this list. > > For me, it's terrible but it's like that. > > Friendly > > Fran?ois > > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From rjb at rz.uni-potsdam.de Fri Aug 8 07:30:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Aug 8 07:30:01 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: References: Message-ID: >Thank you for all your answers. > >I'm really not sure that it's a bug as Klaus says. > >One more time, I had exactly the same problem with RealBasic and the file's >names. I had a conversion with a variable to do with UTF8 and all was in >order. > >So maybe I'll put the problem in the bug database but... > >If somebody finds something with the UTF8 (I'm sure that here is the >solution)... > >Friendly > >Fran?ois > Actually, it sounds like a bug since it is Rev that should make this conversion for you (and makes it correctly during the initial save). Robert From psahores at easynet.fr Fri Aug 8 07:32:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 8 07:32:01 2003 Subject: Marketing Rev in Other Worlds (was Re: Script Limits and solid IDE evolution!) In-Reply-To: References: Message-ID: <3F3396AF.4050308@easynet.fr> Robert Brenstein wrote: >> This discussion of the need for the RunRev folks to market not just >> the product but the underlying xtalk/xcard paradigm to the world of >> Windows in particular raises for me another issue that I think >> prevents the product from achieving the kind of brilliant "Aha!" >> success it richly deserves. I refer to the out-of-the-box experience. >> >> When I showed my wife HyperCard a few months before it was released, >> her reaction was, "I get it. Get out of the way and let me play." Her >> response to Revolution when it opened was, "What's this? Another >> programming thing?" >> >> Professional programmers are going to be very slow to switch to >> Revolution or to any xThing for that matter. It's hard enough to get a >> programmer to change languages even when confronted with a >> demonstrably superior alternative (I know; I spent a few years trying >> to do that with Smalltalk). The real sweet spot market for Revolution, >> as it was for HyperCard and the other xCard products, is what I have >> long been referring to as the Inventive User (IU). IUs are people who: >> > > Good points. My reading on the recent changes and glimpes of planned > changes is that Rev is indeed moving in that direction. However, so far, > the strength of MetaCard were the professional developers (in a loose > definition of those) and some of the changes along the way (for example, > the forthcoming removal of dynamic script setting in standalones -- the > original topic of this thread) may alienate at least some of them. What > I am afraid of is that on the long term Rev will become just another > Hypercard. For sure more powerful and with more features but not a tool > competing seriously for commercial and semi-commercial development. Of > course, it does not have to be that way and we can only hope the that > Rev team ways their options carefully and do not focus solely on making > a quick buck on short term. > > Robert Brenstein > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > To the end, if i have to add an "Entreprise License" fees to the price the end-user client will have to pay to get a fine deployement of the product he purchased me (aka: without any restrictions about the dynamic programming options), this will never be so expensive that it could compromise the business.... On the other hand, if this can help RunTime to get usefull incomes from his professional-grade developers, i think it will be good for all... Flaming reactions ? -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From k.r.hauge at east.uio.no Fri Aug 8 08:14:03 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Fri Aug 8 08:14:03 2003 Subject: Full justified text In-Reply-To: References: Message-ID: >Is there some free softwares to use for have full justified text and >which are scriptables ? Text-Edit Plus and Style. Have a look at versiontracker.com. -- --- Kjetil R? Hauge, U. of Oslo, PO Box 1030 Blindern, N-0315 Oslo, Norway Tel. +47/22856710, fax +47/22854140 From jswitte at bloomington.in.us Fri Aug 8 08:30:00 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri Aug 8 08:30:00 2003 Subject: Resizing groups AND their contents Message-ID: <14BDF7A2-C90A-11D7-822D-000393BF0854@bloomington.in.us> Hi, I've got 3 fields which I've grouped together (using the group button on the toolbar). If I drag one of the resize handles of the resulting object, it appears that the group resizes, but the fields inside do not, resulting in some of the 'field space' being hidden as the 'group view' clips it. Does Rev/Metacard currently have a way to prevent this, and to scale a group and the positions of the objects within it at the same time, like the 'springs' in IB do? Jim From janschenkel at yahoo.com Fri Aug 8 08:46:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Aug 8 08:46:00 2003 Subject: Resizing groups AND their contents In-Reply-To: <14BDF7A2-C90A-11D7-822D-000393BF0854@bloomington.in.us> Message-ID: <20030808133917.44013.qmail@web11904.mail.yahoo.com> --- Jim Witte wrote: > Hi, > > I've got 3 fields which I've grouped together > (using the group button > on the toolbar). If I drag one of the resize > handles of the resulting > object, it appears that the group resizes, but the > fields inside do > not, resulting in some of the 'field space' being > hidden as the 'group > view' clips it. Does Rev/Metacard currently have a > way to prevent > this, and to scale a group and the positions of the > objects within it > at the same time, like the 'springs' in IB do? > > Jim > Hi Jim, This sounds like a job for the Geometry Manager -- so take your Inspector Palette for a ride and go to the "Geometry" panel :-) You can scale the three fields relative to another object (in this case, the group they reside in). So if you have three fields, one above the other, and want to resize these horizontally, link their right edges to the enclosing group. (Make sure you have a full red bar, not a sinus wave, or otherwise it will resize in terms of percentages, not absolute distances from the edge) Unfortunately, you can't scale and reposition at the same time. So if you were planning on putting the three fields next to one another and thinking you could widen them automatically such that the fields grow, equally distributing the available space, you're out of luck. At any rate, do the Geometery Managger tutorial and you should have an idea of how this puppy operates. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From graham.samuel at wanadoo.fr Fri Aug 8 08:51:01 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Fri Aug 8 08:51:01 2003 Subject: RTE bug? [was Re: "Preview screen" button] Message-ID: <5.2.1.1.0.20030808151310.026c9d20@pop.wanadoo.fr> On Thu, 7 Aug 2003 13:41:09 -0500, "John R. Brauer" wrote: >Message: 7 >Date: >Subject: >[...] >on mouseenter > set the icon of button "PreviewButton" to image id 1392 > set showIcon of button "PreviewButton" to true >end mouseenter > >When I try to do this, it not only does not work, but the entire Rev >environment crashes immediately. Can anyone replicate this? And more >importantly, can anyone tell me what I am doing wrong? Klaus Major has already answered your actual query - >set the icon of button "PreviewButton" to 1392 > > ### You only need the "naked" id number ;-) My comment is that this just happened to me yesterday, in a very slightly different form. I had the name of an image in a variable, and this statement crashed RunRev: set the icon of btn "theGIF" of cd "Demo" to image ATgCurrentGIF of cd "GIFWell" As with John's problem, it was the token 'image' that caused the crash. I found it totally repeatable - I think it's a bug in the engine. IMO, **no** syntactically incorrect statement should crash RunRev, but this is certainly what happens on my configuration (PC with Windows XP Home Edition, French). This is all the more disturbing since logically the use of the token 'image' appears to be correct - it appears to be an eccentricity of the language that one **doesn't** have to put 'image' at this point. If people agree it's a bug, I guess I will bugzilla it, although I have not used bugzilla up to now because of the negative PR it's had on the list (will it work on my totally standard copy of MSIE on this PC?) Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From RGould8 at aol.com Fri Aug 8 09:10:01 2003 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri Aug 8 09:10:01 2003 Subject: Best way to repeat on a timer? Message-ID: <16.33b679e1.2c6507b7@aol.com> I've got an app that needs to poll the user's network settings every 3 seconds. I'm presently doing this by calling a unix command via the shell command in Revolution on Mac OS X. The problem I'm having is that, while this seems to work, it makes dragging the application window very jittery when the app is running. I suspect this is because I might be creating a memory-hogging timer loop. Here's what I'm doing: on opencard send "checkstatus" to this stack end opencard on checkstatus put shell(unixcallgoeshere) into field "status result" send "checkstatus" to this stack in 3 seconds end checkstatus The unix call I'm using spits back it's result instantaneously, so there shouldn't be a backlog via the unix side of things. Is it bad to have a handler call itself via a timer - - - does that create some sort of "nesting" problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at mangomultimedia.com Fri Aug 8 09:33:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Aug 8 09:33:00 2003 Subject: Using numbers to access elements in arrays In-Reply-To: Message-ID: On 8/8/03 Martin Baxter wrote >I heartily agree that more array flexibility would be welcome in >Revolution, and PHP does "spoil us rotten" in that respect. > >In the case you cite, just sorting the keys by item 1 might not necessarily >end up with the result you assume above. >To get that reliably I think you would need to have 2 levels of sorting, >the first numeric and the second alphanumeric.. >Alternatively you might address the problem inside the loop. > >Assuming the array keys are known to be "dimensionally consistent" >throughout, my first instinct would be to try something like the following >(untested) : > >## do your keysort by item 1 >put empty into bunchHolder >put 1 into bunchCounter >repeat for each line tRec in tKeys > if bunchCounter = 1 then > put myArray[tRec] into bunchHolder > put 2 into bunchCounter > else if bunchCounter = 2 then > put myArray[tRec] into line 2 of bunchHolder > sort lines of bunchHolder > # do what you need to do > put 1 into bunchCounter > end if >end repeat Thanks Martin. I actually ended using something similar to what you mentioned above. I didn't do the sort on the second key as I was looking at the value of it within the looop rather than sorting twice and using a var such as bunchCounter. For this method (which is probably much slower with lots of data) sorting on this first key seems to work out. Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alrice at ARCplanning.com Fri Aug 8 10:50:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 8 10:50:00 2003 Subject: RTE bug? [was Re: "Preview screen" button] In-Reply-To: <5.2.1.1.0.20030808151310.026c9d20@pop.wanadoo.fr> Message-ID: <0A0FA9B8-C9B7-11D7-825B-000393529642@ARCplanning.com> On Friday, August 8, 2003, at 07:31 AM, Graham wrote: > On Thu, 7 Aug 2003 13:41:09 -0500, "John R. Brauer" > wrote: > If people agree it's a bug, I guess I will bugzilla it, although I > have not used bugzilla up to now because of the negative PR it's had > on the list (will it work on my totally standard copy of MSIE on this > PC?) As someone who did some of the complaining about bugzilla at first, please don't let that prevent you from using it?! I was talking about Mac browsers, and besides the benefits far outweigh the initial time finding a browser that will work with it, and taking a few minutes to learn the user interface. File those bug reports! Bugzilla is your friend. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Fri Aug 8 10:55:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 8 10:55:00 2003 Subject: Best way to repeat on a timer? In-Reply-To: <16.33b679e1.2c6507b7@aol.com> Message-ID: On Friday, August 8, 2003, at 08:03 AM, RGould8 at aol.com wrote: > on checkstatus > ???? put shell(unixcallgoeshere) into field "status result" > ???? send "checkstatus" to this stack in 3 seconds > end checkstatus > > > The unix call I'm using spits back it's result instantaneously, so > there shouldn't be a backlog via the unix side of things.? Is it bad > to have a handler call itself via a timer - - - does that create some > sort of "nesting" problem? I don't think so - I'm pretty sure I've seen animations scripted this way- a button sends moveSelf to itself in a few ticks. re: the lag time- it's to be expected I think because shell(), no matter what the command being issued is, forks a subprocess, which is a relatively heavyweight thing to do every 3 seconds. Maybe you can do something like on checkstatus if not inWindowDrag and not inWindowResize then ... do shell stuff end if send "checkstatus" to this stack in 3 seconds end checkstatus Also, maybe there is an equivalent applescript to inspect the user's system settings? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Fri Aug 8 10:58:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 8 10:58:00 2003 Subject: Best way to repeat on a timer? In-Reply-To: <16.33b679e1.2c6507b7@aol.com> Message-ID: <36454B2C-C9B8-11D7-8F6E-000A9567A3E6@swcp.com> On Friday, August 8, 2003, at 08:03 AM, RGould8 at aol.com wrote: > The problem I'm having is that, while this seems to work, it makes > dragging the application window very jittery when the app is running.? > I suspect this is because I might be creating a memory-hogging timer > loop.? Here's what I'm doing: > > on opencard > ???? send "checkstatus" to this stack > end opencard > > > on checkstatus > ???? put shell(unixcallgoeshere) into field "status result" > ???? send "checkstatus" to this stack in 3 seconds > end checkstatus > Is this a stack script? Each time you open a card, you start a new cycle. After a while you will have lots. Select the message watcher on the message box to illustrate. Have open card check to see if this has been started. You might want a way to turn this off, too. This will also apply if this is on a card script, if you have other cards. Other than that, it looks fine. Dar Scott From dsc at swcp.com Fri Aug 8 11:00:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 8 11:00:00 2003 Subject: Arrays and custom properties In-Reply-To: <2A728F0E-C96D-11D7-825B-000393529642@ARCplanning.com> Message-ID: <83F965CB-C9B8-11D7-8F6E-000A9567A3E6@swcp.com> On Friday, August 8, 2003, at 12:54 AM, Alex Rice wrote: > Totally unrelated: Anyone tired of reading my 10+ posts per day will > get a reprieve as I'm going camping this weekend ;-) I'm away from the list, too. Leaving now. People will get lots of work done now! Dar Scott From k.r.hauge at east.uio.no Fri Aug 8 11:06:01 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Fri Aug 8 11:06:01 2003 Subject: Full justified text In-Reply-To: References: Message-ID: >>Is there some free softwares to use for have full justified text >>and which are scriptables ? > >Text-Edit Plus and Style. Have a look at versiontracker.com. Sorry for the typo - that's Tex-Edit Plus (no "t" in "Tex"). -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From themacguy at macosx.com Fri Aug 8 11:28:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Aug 8 11:28:01 2003 Subject: use-revolution digest, Vol 1 #1741 - 14 msgs In-Reply-To: <200308080524.BAA13174@www.runrev.com> Message-ID: <607ED30B-C9BC-11D7-AF40-000A95763ABC@macosx.com> Sarah, Thanks. Last night I was in class and, when things got boring, I read the "What's New" text doc that accompanied the v2.0.1 release (for the first time, I'm ashamed to admit). There was mention of dropping the last two lines of the File menu (the separator line and 'Quit') in order to put the Quit command on the Application menu. I figured that probably resulted in OSX ignoring my confirmation dialog which was I had written into the menu handler I access through the Menu Builder. Searching further, I found the shudownRequest in the documentation. That did the trick; I put a handler in the stack script ("on shutdownRequest..."). General philosophical complaint (shouted to the heavens): If Rev is going to take it upon itself to move menu items based upon the platform, should it not -still- use the code I crafted for the menu selections? At the very least, it should place comments in the File script about this when you tell it to auto-generate the menu handler. (Yes, I know I eventually figured it out - and if I had not, you were there to lead me out of the swamp - but this is the kind of thing that would drive beginners crazy. If we're going to spread the word about Rev, Rev needs to help us make the IDE a kinder, gentler environment. In this case, it would only take a few lines of comments added to the automatically-generated script.) Bottom line: It works now and I'm pumped! Regards, Barry On Thursday, Aug 7, 2003, at 23:24 America/Denver, Sarah wrote: > How are you handling the quit? If it is in the menu script, it may be > that OS X is bypassing that. I suggest you use a shutdownRequest > handler instead. If you pass it, the app will continue to shut down, > but if the user decides not to quit, just exit the shutdownRequest > handler without passing and the shutdown will be cancelled. > > This should work for all OSes, I think. > > Cheers, > Sarah > > On Friday, August 8, 2003, at 09:01 am, Barry Levine wrote: > >> I've got my app set to ask for confirmation before I permit the user >> to quit using the usual dialog. In the IDE on both platforms, it >> performs as expected. In the standalone on Windows, it also works as >> expected. In OSX, it simply quits without my intervening dialog. Is >> this due to some difference in the way Rev moves the Quit command to >> the app menu (rather than the File menu as it is on Windows)? -------------------------------------------------------- Barry Jay Levine "The Mac Guy" Macintosh Troubleshooting, System Engineering, Training, AppleShare/OSX Server Setup, System Upgrades and Enhancements, Custom Programming for Mac/Windows/Linux/Solaris On-Site service for K20, Business, Consumer Phone/VoiceMail: 915-581-1105 Fax: 915-581-8167 eMail: themacguy at macosx.com -------------------------------------------------------- From aj445 at traverse.lib.mi.us Fri Aug 8 12:11:00 2003 From: aj445 at traverse.lib.mi.us (aj445) Date: Fri Aug 8 12:11:00 2003 Subject: use-revolution digest, Vol 1 #1743 - 15 msgs In-Reply-To: <200308081252.IAA28340@www.runrev.com> Message-ID: >> Dan Shafer writes: >> >> <> for HyperCard and the other xCard products, is what I have long been >> referring to as the Inventive User (IU). IUs are people who: >> 1. Know their computers can do so much more to help them with their >> work than anyone has yet made them do. >> 2. Are smart and creative. >> 3. Can envision the solutions. >> 4. Are not professionally trained programmers or at least if they were >> at one point no longer earn their living coding >> 5. Probably working in a team or workgroup setting where they are the >> local IT department >> >> Those folks -- and there are millions of them -- NEED Revolution. >> Badly. But they're not going to take the time to tinker and learn the >> product after opening Revolution and being faced with a blank screen >> and a bunch of loosely connected floating palettes. Heck, they don't >> even get a blank stack window let alone a starting point. >> One way to begin this might be through the education market. Provide a small amount of scaffolding within Rev, include a large number of immediately useful examples which can be studied and modified, and a short intro booklet. And include pictures of working programs on the package, so people see immediately what's possible. Sandy From bornstein at designeq.com Fri Aug 8 12:37:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Aug 8 12:37:00 2003 Subject: Losing track of time Message-ID: <200308081730.h78HU6s4012707@ms-smtp-03.nyroc.rr.com> I've got a simple reminder program that takes a number (representing minutes) and plays a chime when that many minutes is up. The reminder script is: on reminder global SendID put fld "TheTime" into timer send reminder to me in timer*60 seconds put the result into sendID play "chime2.wav" end reminder The problem is that, for example, if I set the timer to chime every hour, I am losing about 5 seconds each time I cycle through. Originally, this was because I had the play "chime2.wav" command before the send reminder command. So it would play the chime, which takes several seconds, before resetting the time. But now I've switched the order to the above handler and I'm *still* getting this lost time per cycle. Is it possible that the play command somehow stops the internal timer of the send command? This seems highly unlikely but I can't think what else would be causing this delay, which pushes me further past the hour as the cycles continue. Any ideas? Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From francois.cuneo at cuk.ch Fri Aug 8 13:04:04 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Fri Aug 8 13:04:04 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: Message-ID: Ok, so it's a bug. I hope it will be corrected in the next release! Friendly Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Robert Brenstein > R?pondre ??: use-revolution at lists.runrev.com > Date?: Fri, 8 Aug 2003 14:10:08 +0200 > ??: use-revolution at lists.runrev.com > Objet?: Re: I speak French, so I think that I can't use Revolution, aaaaargh. > >> Thank you for all your answers. >> >> I'm really not sure that it's a bug as Klaus says. >> >> One more time, I had exactly the same problem with RealBasic and the file's >> names. I had a conversion with a variable to do with UTF8 and all was in >> order. >> >> So maybe I'll put the problem in the bug database but... >> >> If somebody finds something with the UTF8 (I'm sure that here is the >> solution)... >> >> Friendly >> >> Fran?ois >> > > Actually, it sounds like a bug since it is Rev that should make this > conversion for you (and makes it correctly during the initial save). > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jrosat at mac.com Fri Aug 8 14:10:11 2003 From: jrosat at mac.com (=?ISO-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Fri Aug 8 14:10:11 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: <200308081015.GAA22099@www.runrev.com> Message-ID: <099F6831-C9D3-11D7-B917-00039344A87E@mac.com> Bonjour Fran?ois, Apr?s avoir lu ton article sur Revolution je suis ? deux doigts de l'acheter. Malheureusement je vois plusieurs points n?gatifs: - absence de documentation en fran?ais - absence d'une version fran?aise du programme (je ne parle pas de Transcript) - mes recherches sur le net m'indiquent que la communaut? "Revolution" n'est pas tr?s importante ou alors pas tr?s active - cette liste n'est pas tr?s pratique. Un vrai forum serait bien plus agr?able - je constate que les concepteurs de Revolution n'ont pas int?r?t ? ce que la communaut? soit active car les licences n'?tant pas tr?s cher, il faut bien vendre du support. Un id?e: tu devrais ouvrir une rubrique dans le forum de cuk.ch pour la communaut? "Revolution" Je vais donc encore attendre avant d'acqu?rir Revolution. Meilleurs messages. J?r?me Le Vendredi, 8 ao? 2003, ? 12:15 Europe/Zurich, use-revolution-request at lists.runrev.com a ?crit : > > > Message: 7 > Date: Fri, 08 Aug 2003 09:24:51 +0200 > Subject: I speak French, so I think that I can't use Revolution, > aaaaargh. > From: Fran=?ISO-8859-1?B?5w==?=ois Cuneo > To: > Reply-To: use-revolution at lists.runrev.com > > Hello everybody, > > I'm sorry, but I have asked a lot of questions this last days and I > have no > answer (just one from Yves) about something that maybe prohibs me to > use > Revolution. > > Why? > > Because I think that's it is impossible to use what all people who > speaks > French does: use our char in File's names! > > If you save a file like > > Save this stack as "R?volution.rev" > > I obtain the first time that seems to be e good file. > > But When I open and I save again the file I obtain R??volution.rev~ > that > prohibs Revolution to save correctly the stack. > > So I have asked how to correct that. > > The answser from Yves (save as Whatever.rev and rename it to > R?volution.rev > works only if I don't open the stack another time in the same session > (the > files stays im memory, so it's impossible to open it again) > > I have asked about UTF8 conversion of the files names (I'm sure that > here is > the problem, I had exactly the same with RealBasic, and it was > corrected > with a conversion) but I had no answer. > > I have asked about how to purge a stack, no answer. > > So I think that I don't have a solution, and for me (and for all > people that > use diacritical char), that is a basic necessity. > > And I'm sorry but I think that Revolution is not for me. > > The problem, that I have writed a review about Revolution (some > thousands > have read it) and I say that Revolution is THE solution for all > people that > have used languages like Hypertalk and maybe for all that whant to > begin to > write applications. > > The review is here (http://www.cuk.ch/articles/tests) > > I think that I have to change something in my review. > > So maybe it is one of my last messages on this list. > > For me, it's terrible but it's like that. > > Friendly > > Fran?ois > > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch From andre.rombauts at win.be Fri Aug 8 14:21:01 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Fri Aug 8 14:21:01 2003 Subject: Is a forum necessary? (was Re: I speak French, so I think that I can't use Revolution, aaaaargh.) References: <099F6831-C9D3-11D7-B917-00039344A87E@mac.com> Message-ID: <007201c35de1$414bfe70$9e26fea9@piran> A list is much more easier to manage on the user side than a forum!!! The only point is that each participant has to write cleary the subject and the subject has to be changed each time the discussion inside it is running out the intial subject... (but this is also true for forums...) ----- Original Message ----- From: "J?r?me Rosat" To: Sent: Friday, August 08, 2003 9:03 PM Subject: Re: I speak French, so I think that I can't use Revolution, aaaaargh. > - cette liste n'est pas tr?s pratique. Un vrai forum serait bien plus > agr?able From soapdog at mac.com Fri Aug 8 14:37:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Fri Aug 8 14:37:01 2003 Subject: revOpenDatabase question. Message-ID: <6BE9ED05-C9D7-11D7-A2C0-00039387AE90@mac.com> Hi Folks, i am using de 30-day-trial edition and revOpenDatabase is returning: "revdberr, restricted under current license" what does that mean? I can try to use this command? cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From themacguy at macosx.com Fri Aug 8 14:41:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Aug 8 14:41:00 2003 Subject: gRevAppIcon, gRevSmallAppIcon Message-ID: <6715DB9E-C9D7-11D7-9D4A-000A95763ABC@macosx.com> Yves, Thanks for the pointer regarding the gRevAppIcon (and gRevSmallAppIcon was useful, as well). In the Distribution Builder, there's a button which permits me to specify the icon my app displays in the Finder. Is there anything special about the file format that the distrBuilder expects the "icon" to be? I ask because years ago (on the Mac anyway) an "icon" was a specific format and not a jpeg or PICT, etc. Regards, Barry From jeanne at runrev.com Fri Aug 8 14:57:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Aug 8 14:57:01 2003 Subject: I speak German, so I think that I can't use Revolution, merde :-) In-Reply-To: References: Message-ID: At 4:46 AM -0700 8/8/03, Klaus Major wrote: >P.S. >I would really love to hear a little bit more form edinburgh on this >list... Some sort of affirmation or stuff, just to make their customers >feel "safe" or "secure"... (This is hard to express as a non-native >english speaker... You get the picture...:-) I can say only that several people in the company read the list faithfully, but it's often a few days after the postings. (Because of time contraints, I myself generally don't reply if others have already responded with info and workarounds - which is why I didn't write a response to Francois's post.) So people here are reading the list and seeing the views and requests here, even if there isn't always a lot of visible participation. (That being said, may I again promote use of bugzilla for bug reporting. If you mention a bug on the list but do not file a bugzilla report, it may well slip through the cracks and not be addressed. If you have a reproducible bug, it's by far best to file it in bugzilla even if you also post to the list about it.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From jeanne at runrev.com Fri Aug 8 14:57:16 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Aug 8 14:57:16 2003 Subject: gRevAppIcon, gRevSmallAppIcon In-Reply-To: <6715DB9E-C9D7-11D7-9D4A-000A95763ABC@macosx.com> Message-ID: At 12:35PM -0700 8/8/03, Barry Levine wrote: >Is there anything special about the file format that the distrBuilder >expects the "icon" to be? I ask because years ago (on the Mac anyway) >an "icon" was a specific format and not a jpeg or PICT, etc. Yes: it must be an "icns" file. This file format can be created by Icon Composer (which is part of the Apple Development Tools for OS X). -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From psahores at easynet.fr Fri Aug 8 15:01:02 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 8 15:01:02 2003 Subject: Losing track of time In-Reply-To: <200308081730.h78HU6s4012707@ms-smtp-03.nyroc.rr.com> References: <200308081730.h78HU6s4012707@ms-smtp-03.nyroc.rr.com> Message-ID: <3F33FFE7.9030607@easynet.fr> Howard Bornstein wrote: > I've got a simple reminder program that takes a number (representing > minutes) and plays a chime when that many minutes is up. > > The reminder script is: > > on reminder > global SendID > > put fld "TheTime" into timer > send reminder to me in timer*60 seconds > put the result into sendID > play "chime2.wav" > > end reminder > > > The problem is that, for example, if I set the timer to chime every hour, > I am losing about 5 seconds each time I cycle through. Originally, this > was because I had the play "chime2.wav" command before the send reminder > command. So it would play the chime, which takes several seconds, before > resetting the time. > > But now I've switched the order to the above handler and I'm *still* > getting this lost time per cycle. > > Is it possible that the play command somehow stops the internal timer of > the send command? This seems highly unlikely but I can't think what else > would be causing this delay, which pushes me further past the hour as the > cycles continue. > > Any ideas? > > Regards, > > Howard Bornstein > ____________________ > D E S I G N E Q > www.designeq.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Try this : > on idle > global Lasttime > if the seconds = (lasttime+3600) then > add 3600 to Lasttime > play "chime2.wav" > end if > end idle Set up the Lasttime starting value in using a button or so -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From tuviah at runrev.com Fri Aug 8 15:23:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Fri Aug 8 15:23:01 2003 Subject: I speak German, so I think that I can't use Revolution, merde :-) References: <200308081252.IAA28378@www.runrev.com> Message-ID: <04ff01c35dea$05c2aa80$0100a8c0@user> > I create a new stack, save it as "???"?o???-???Y?Y.rev" and it will be written > to a file with > this name WITOUT PROBLEM: > > a?^A?^u?^U?^o?^O?^?Y?Y?Y.rev > > BUT any attempt to save this file again will end in an error and an > empty file > called: > > ?^s???^sN?f?^s???^su???^s?^,?^sn?f?^su?^?^su?^?^su?^.rev~ > > and thus unusable... > > Same with MetaCard so this is definitively a HEAVY BUG in the engine. > Big fun... > > Please bug-report this to "bugzilla"... > > Until this will get fixed, the only workaround will be to not use > accents and > umlauts and special chars... :-( Is reported already and is being fixed. The problem was that when we went to Mach-O architecture, we had to use UTF-8 for file names. Therefore internally we have to convert from Mac/ISO to UTF-8 when specifying file names and vice versa when getting filenames. So please be patient, developing a dynamic rad tool which supports all platforms and all languages in the world is not an easy task for any development team. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From bornstein at designeq.com Fri Aug 8 15:43:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Aug 8 15:43:01 2003 Subject: Losing track of time Message-ID: <200308082036.h78KaQs4000769@ms-smtp-03.nyroc.rr.com> >Try this : > > > on idle > > global Lasttime > > if the seconds = (lasttime+3600) then > > add 3600 to Lasttime > > play "chime2.wav" > > end if > > end idle Thanks Pierre, I don't really want to tie up my app in a tight "on idle" loop. Send works fine. I'm just losing some seconds along the way. I'd like to figure out why. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From malte.brill at t-online.de Fri Aug 8 15:59:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Fri Aug 8 15:59:00 2003 Subject: Losing track of time In-Reply-To: <200307311706.NAA32187@www.runrev.com> Message-ID: Hi Howard, have you tried using a player object instead of an audioclip? Regards, Malte From erikhans08 at yahoo.com Fri Aug 8 16:20:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Aug 8 16:20:01 2003 Subject: use-revolution digest # please use Subject field, thanks In-Reply-To: Message-ID: <20030808211359.50725.qmail@web20006.mail.yahoo.com> Re: use-revolution digest # please use Subject field, thanks ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From psahores at easynet.fr Fri Aug 8 16:22:02 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 8 16:22:02 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: <099F6831-C9D3-11D7-B917-00039344A87E@mac.com> References: <099F6831-C9D3-11D7-B917-00039344A87E@mac.com> Message-ID: <3F3412FE.10809@easynet.fr> Bonjour Fran?ois, J'ai, moi-aussi, lu et appr?ci? l'article de premi?re classe que tu as consacr? ? Revolution 2.0.1. Ne te d?courage pas pour ces quelques retards ? tes demandes d'explications. Les listes Revolution et Metacard sont en pleine ?bulition, ces derniers temps et beaucoup de ceux qui, comme moi, auraient, habituellement, trouv? le temps de te r?pondre rapidement ne l'ont, simplement, pas fait parce que l'attention des "listiers" se focalise actuellement sur les cons?quences, heureusement, de plus en plus pr?visibles et rassurantes, du rachat de Metacard par Revolution. Pour les questions pr?cises sur l'usage des caract?res accentu?s dans les noms de fichiers, je ne sais pas r?pondre et je le regrette mais interroge, de ma part, Scott Raney. Je sais qu'il saura prendre le temps de t'expliquer quoi faire et, aussi, pourquoi le faire, et qu'en d'autres termes, il saura te rassurer sur le s?rieux du Team RR/MC en mati?re de support aux utilisateurs. Je n'ai jamais eu, pour ma part, ? attendre plus de six heures, une demande d'information directement adress?e au support utilisateur de Metacard. Revolution traverse actuellement une "petite crise de croissance" mais je peux t'assurer, connaissant les travaux, l'exp?rience et la notori?t? "xtalkienne" de la plupart des ?quipiers du team RunTime Revolution, Kevin, Scott, Tuviah, Jeanne,...et de leurs proches partenaires, tels, parmi d'autres, Richard Gaskin, Chipp Walters ou Jacqueline Landman Gay, que le nombre de neurones au centim?tre-carr? tend ? croitre consid?rablement d?s que l'on s'approche de pr?s de la communaut? des d?veloppeurs RR/MC. Prends le temps de t'habituer aux codes, ? l'?tiquette, qui pr?side aux ?changes sur la liste RR/MC. "In fine", une seule loi gouverne, entre nous, toutes les autres : plus tu aides les autres par des r?ponses utiles et cibl?es et plus les autres se montreront prompts ? r?pondre ? tes propres demandes..., tout cel? n'?tant rien de moins que la marque de l'?l?gances et du respect mutuel qui pr?side aux relations qui se tissent, au fil du temps, entre les colistiers, toujours heureux de pouvoir proposer et ?changer les solutions qui nous permettent de coder mieux et plus vite les solutions les plus ad?quates. Consid?re toi comme l'un de ces joueurs d'?checs tout fraichement d?barqu? dans un club o? tout le monde serait class? au-del? de 2000 ELO, toi, y compris, mais o? personne ne te connaitrait encore. Prends le temps, y compris, d'acqu?rir une licence de base de Revolution pour le tester s?rieusement (je me souviens n'avoir rien su faire d'interessant avec le starter-kit, avant de prendre ma premi?re licence) et je prends le pari que tu me remercieras, avant longtemps :-) Bien chaleureusement, Pierre > Le Vendredi, 8 ao? 2003, ? 12:15 Europe/Zurich, > use-revolution-request at lists.runrev.com a ?crit : > >> >> >> Message: 7 >> Date: Fri, 08 Aug 2003 09:24:51 +0200 >> Subject: I speak French, so I think that I can't use Revolution, >> aaaaargh. >> From: Fran=?ISO-8859-1?B?5w==?=ois Cuneo >> To: >> Reply-To: use-revolution at lists.runrev.com >> >> Hello everybody, >> >> I'm sorry, but I have asked a lot of questions this last days and I >> have no >> answer (just one from Yves) about something that maybe prohibs me to use >> Revolution. >> >> Why? >> >> Because I think that's it is impossible to use what all people who speaks >> French does: use our char in File's names! >> >> If you save a file like >> >> Save this stack as "R?volution.rev" >> >> I obtain the first time that seems to be e good file. >> >> But When I open and I save again the file I obtain R??volution.rev~ that >> prohibs Revolution to save correctly the stack. >> >> So I have asked how to correct that. >> >> The answser from Yves (save as Whatever.rev and rename it to >> R?volution.rev >> works only if I don't open the stack another time in the same session >> (the >> files stays im memory, so it's impossible to open it again) >> >> I have asked about UTF8 conversion of the files names (I'm sure that >> here is >> the problem, I had exactly the same with RealBasic, and it was corrected >> with a conversion) but I had no answer. >> >> I have asked about how to purge a stack, no answer. >> >> So I think that I don't have a solution, and for me (and for all >> people that >> use diacritical char), that is a basic necessity. >> >> And I'm sorry but I think that Revolution is not for me. >> >> The problem, that I have writed a review about Revolution (some thousands >> have read it) and I say that Revolution is THE solution for all >> people that >> have used languages like Hypertalk and maybe for all that whant to >> begin to >> write applications. >> >> The review is here (http://www.cuk.ch/articles/tests) >> >> I think that I have to change something in my review. >> >> So maybe it is one of my last messages on this list. >> >> For me, it's terrible but it's like that. >> >> Friendly >> >> Fran?ois >> >> >> -------------- >> Fran?ois Cuneo >> Site Web d?di? au Macintosh http://www.cuk.ch >> E-mail: francois.cuneo at cuk.ch -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From erikhans08 at yahoo.com Fri Aug 8 16:35:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Aug 8 16:35:00 2003 Subject: I speak French, aaaaargh. In-Reply-To: <099F6831-C9D3-11D7-B917-00039344A87E@mac.com> Message-ID: <20030808212837.27680.qmail@web20008.mail.yahoo.com> stick around, J. --- J?r?me_Rosat wrote: > Bonjour Fran?ois, > > Apr?s avoir lu ton article sur Revolution je > suis ? deux doigts de > l'acheter. > > Malheureusement je vois plusieurs points > n?gatifs: > > - absence de documentation en fran?ais > - absence d'une version fran?aise du programme > (je ne parle pas de > Transcript) > - mes recherches sur le net m'indiquent que la > communaut? "Revolution" > n'est pas tr?s importante ou alors pas tr?s > active > - cette liste n'est pas tr?s pratique. Un vrai > forum serait bien plus > agr?able > - je constate que les concepteurs de Revolution > n'ont pas int?r?t ? ce > que la communaut? soit active car les licences > n'?tant pas tr?s cher, > il faut bien vendre du support. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From lestond at lpsoftware.com Fri Aug 8 16:43:00 2003 From: lestond at lpsoftware.com (Leston Drake) Date: Fri Aug 8 16:43:00 2003 Subject: control browser & groups Message-ID: <5.1.1.6.0.20030808153411.02233a18@mail.xmission.com> Hi all, I'm new to Rev, been with MC for a while. While there are a lot of things about the Rev GUI that I like, I am missing the functionality MetaCard had via its Control Browser to list the objects in a group. I can't see this functionality in the Application Browser. Can anyone enlighted me as to where I might find such a list? --Leston From bornstein at designeq.com Fri Aug 8 16:45:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Aug 8 16:45:01 2003 Subject: Losing track of time Message-ID: <200308082138.h78LcOs4011482@ms-smtp-03.nyroc.rr.com> >have you tried using a player object instead of an audioclip? I prefer the audio clip because I can embed it within the App. The Player object requires an external file (correct me if I'm wrong). Do you think the audioclip could be causing the timer to pause while it's played? Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From francois.cuneo at cuk.ch Fri Aug 8 16:53:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Fri Aug 8 16:53:01 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: <3F3412FE.10809@easynet.fr> Message-ID: Bonjour Pierre, Le probl?me, c'est que lorsqu'on d?bute, on ne peut pas donner beaucoup! J'ai une licence compl?te, ne t'inqui?te pas:-) Je crois avoir vu que le bug est corrig? et tout sera rentr? dans l'ordre dans une prochaine version! Il s'agit bien d'un probl?me de conversion UTF8, h?h?, j'avais raison! Amicalement Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Pierre Sahores > Soci?t??: Pierre Sahores > R?pondre ??: use-revolution at lists.runrev.com > Date?: Fri, 08 Aug 2003 23:15:42 +0200 > ??: use-revolution at lists.runrev.com > Objet?: Re: I speak French, so I think that I can't use Revolution, aaaaargh. > > Bonjour Fran?ois, > > J'ai, moi-aussi, lu et appr?ci? l'article de premi?re classe que tu as > consacr? ? Revolution 2.0.1. Ne te d?courage pas pour ces quelques > retards ? tes demandes d'explications. Les listes Revolution et Metacard > sont en pleine ?bulition, ces derniers temps et beaucoup de ceux qui, > comme moi, auraient, habituellement, trouv? le temps de te r?pondre > rapidement ne l'ont, simplement, pas fait parce que l'attention des > "listiers" se focalise actuellement sur les cons?quences, heureusement, > de plus en plus pr?visibles et rassurantes, du rachat de Metacard par > Revolution. > > Pour les questions pr?cises sur l'usage des caract?res accentu?s dans > les noms de fichiers, je ne sais pas r?pondre et je le regrette mais > interroge, de ma part, Scott Raney. Je sais qu'il saura prendre le temps > de t'expliquer quoi faire et, aussi, pourquoi le faire, et qu'en > d'autres termes, il saura te rassurer sur le s?rieux du Team RR/MC en > mati?re de support aux utilisateurs. Je n'ai jamais eu, pour ma part, ? > attendre plus de six heures, une demande d'information directement > adress?e au support utilisateur de Metacard. Revolution traverse > actuellement une "petite crise de croissance" mais je peux t'assurer, > connaissant les travaux, l'exp?rience et la notori?t? "xtalkienne" de la > plupart des ?quipiers du team RunTime Revolution, Kevin, Scott, Tuviah, > Jeanne,...et de leurs proches partenaires, tels, parmi d'autres, Richard > Gaskin, Chipp Walters ou Jacqueline Landman Gay, que le nombre de > neurones au centim?tre-carr? tend ? croitre consid?rablement d?s que > l'on s'approche de pr?s de la communaut? des d?veloppeurs RR/MC. > > Prends le temps de t'habituer aux codes, ? l'?tiquette, qui pr?side aux > ?changes sur la liste RR/MC. "In fine", une seule loi gouverne, entre > nous, toutes les autres : plus tu aides les autres par des r?ponses > utiles et cibl?es et plus les autres se montreront prompts ? r?pondre ? > tes propres demandes..., tout cel? n'?tant rien de moins que la marque > de l'?l?gances et du respect mutuel qui pr?side aux relations qui se > tissent, au fil du temps, entre les colistiers, toujours heureux de > pouvoir proposer et ?changer les solutions qui nous permettent de coder > mieux et plus vite les solutions les plus ad?quates. > > Consid?re toi comme l'un de ces joueurs d'?checs tout fraichement > d?barqu? dans un club o? tout le monde serait class? au-del? de 2000 > ELO, toi, y compris, mais o? personne ne te connaitrait encore. > > Prends le temps, y compris, d'acqu?rir une licence de base de Revolution > pour le tester s?rieusement (je me souviens n'avoir rien su faire > d'interessant avec le starter-kit, avant de prendre ma premi?re licence) > et je prends le pari que tu me remercieras, avant longtemps :-) > > Bien chaleureusement, Pierre > >> Le Vendredi, 8 ao? 2003, ? 12:15 Europe/Zurich, >> use-revolution-request at lists.runrev.com a ?crit : >> >>> >>> >>> Message: 7 >>> Date: Fri, 08 Aug 2003 09:24:51 +0200 >>> Subject: I speak French, so I think that I can't use Revolution, >>> aaaaargh. >>> From: Fran=?ISO-8859-1?B?5w==?=ois Cuneo >>> To: >>> Reply-To: use-revolution at lists.runrev.com >>> >>> Hello everybody, >>> >>> I'm sorry, but I have asked a lot of questions this last days and I >>> have no >>> answer (just one from Yves) about something that maybe prohibs me to use >>> Revolution. >>> >>> Why? >>> >>> Because I think that's it is impossible to use what all people who speaks >>> French does: use our char in File's names! >>> >>> If you save a file like >>> >>> Save this stack as "R?volution.rev" >>> >>> I obtain the first time that seems to be e good file. >>> >>> But When I open and I save again the file I obtain R??volution.rev~ that >>> prohibs Revolution to save correctly the stack. >>> >>> So I have asked how to correct that. >>> >>> The answser from Yves (save as Whatever.rev and rename it to >>> R?volution.rev >>> works only if I don't open the stack another time in the same session >>> (the >>> files stays im memory, so it's impossible to open it again) >>> >>> I have asked about UTF8 conversion of the files names (I'm sure that >>> here is >>> the problem, I had exactly the same with RealBasic, and it was corrected >>> with a conversion) but I had no answer. >>> >>> I have asked about how to purge a stack, no answer. >>> >>> So I think that I don't have a solution, and for me (and for all >>> people that >>> use diacritical char), that is a basic necessity. >>> >>> And I'm sorry but I think that Revolution is not for me. >>> >>> The problem, that I have writed a review about Revolution (some thousands >>> have read it) and I say that Revolution is THE solution for all >>> people that >>> have used languages like Hypertalk and maybe for all that whant to >>> begin to >>> write applications. >>> >>> The review is here (http://www.cuk.ch/articles/tests) >>> >>> I think that I have to change something in my review. >>> >>> So maybe it is one of my last messages on this list. >>> >>> For me, it's terrible but it's like that. >>> >>> Friendly >>> >>> Fran?ois >>> >>> >>> -------------- >>> Fran?ois Cuneo >>> Site Web d?di? au Macintosh http://www.cuk.ch >>> E-mail: francois.cuneo at cuk.ch > > > -- > Bien cordialement, Pierre Sahores > > Inspection acad?mique de Seine-Saint-Denis > Serveurs d'applications et SGBDR (Web/PGI) > Penser et produire l'avantage comp?titif > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From francois.cuneo at cuk.ch Fri Aug 8 17:00:02 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Fri Aug 8 17:00:02 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: <099F6831-C9D3-11D7-B917-00039344A87E@mac.com> Message-ID: Je vais voir si je peux mettre un th?me "Revolution" sur notre forum. J'avertirai ici si ?a se fait. -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: J?r?me Rosat > R?pondre ??: use-revolution at lists.runrev.com > Date?: Fri, 8 Aug 2003 21:03:46 +0200 > ??: use-revolution at lists.runrev.com > Objet?: Re: I speak French, so I think that I can't use Revolution, aaaaargh. > > Bonjour Fran?ois, > > Apr?s avoir lu ton article sur Revolution je suis ? deux doigts de > l'acheter. > > Malheureusement je vois plusieurs points n?gatifs: > > - absence de documentation en fran?ais > - absence d'une version fran?aise du programme (je ne parle pas de > Transcript) > - mes recherches sur le net m'indiquent que la communaut? "Revolution" > n'est pas tr?s importante ou alors pas tr?s active > - cette liste n'est pas tr?s pratique. Un vrai forum serait bien plus > agr?able > - je constate que les concepteurs de Revolution n'ont pas int?r?t ? ce > que la communaut? soit active car les licences n'?tant pas tr?s cher, > il faut bien vendre du support. > > Un id?e: tu devrais ouvrir une rubrique dans le forum de cuk.ch pour la > communaut? "Revolution" > > Je vais donc encore attendre avant d'acqu?rir Revolution. > > Meilleurs messages. > > J?r?me > > Le Vendredi, 8 ao? 2003, ? 12:15 Europe/Zurich, > use-revolution-request at lists.runrev.com a ?crit : >> >> >> Message: 7 >> Date: Fri, 08 Aug 2003 09:24:51 +0200 >> Subject: I speak French, so I think that I can't use Revolution, >> aaaaargh. >> From: Fran=?ISO-8859-1?B?5w==?=ois Cuneo >> To: >> Reply-To: use-revolution at lists.runrev.com >> >> Hello everybody, >> >> I'm sorry, but I have asked a lot of questions this last days and I >> have no >> answer (just one from Yves) about something that maybe prohibs me to >> use >> Revolution. >> >> Why? >> >> Because I think that's it is impossible to use what all people who >> speaks >> French does: use our char in File's names! >> >> If you save a file like >> >> Save this stack as "R?volution.rev" >> >> I obtain the first time that seems to be e good file. >> >> But When I open and I save again the file I obtain R??volution.rev~ >> that >> prohibs Revolution to save correctly the stack. >> >> So I have asked how to correct that. >> >> The answser from Yves (save as Whatever.rev and rename it to >> R?volution.rev >> works only if I don't open the stack another time in the same session >> (the >> files stays im memory, so it's impossible to open it again) >> >> I have asked about UTF8 conversion of the files names (I'm sure that >> here is >> the problem, I had exactly the same with RealBasic, and it was >> corrected >> with a conversion) but I had no answer. >> >> I have asked about how to purge a stack, no answer. >> >> So I think that I don't have a solution, and for me (and for all >> people that >> use diacritical char), that is a basic necessity. >> >> And I'm sorry but I think that Revolution is not for me. >> >> The problem, that I have writed a review about Revolution (some >> thousands >> have read it) and I say that Revolution is THE solution for all >> people that >> have used languages like Hypertalk and maybe for all that whant to >> begin to >> write applications. >> >> The review is here (http://www.cuk.ch/articles/tests) >> >> I think that I have to change something in my review. >> >> So maybe it is one of my last messages on this list. >> >> For me, it's terrible but it's like that. >> >> Friendly >> >> Fran?ois >> >> >> -------------- >> Fran?ois Cuneo >> Site Web d?di? au Macintosh http://www.cuk.ch >> E-mail: francois.cuneo at cuk.ch > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alrice at ARCplanning.com Fri Aug 8 17:02:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 8 17:02:01 2003 Subject: control browser & groups In-Reply-To: <5.1.1.6.0.20030808153411.02233a18@mail.xmission.com> Message-ID: <09994FD7-C9EB-11D7-9D0E-000393529642@ARCplanning.com> On Friday, August 8, 2003, at 03:36 PM, Leston Drake wrote: > Hi all, > > I'm new to Rev, been with MC for a while. While there are a lot of > things about the Rev GUI that I like, I am missing the functionality > MetaCard had via its Control Browser to list the objects in a group. > > I can't see this functionality in the Application Browser. Can anyone > enlighted me as to where I might find such a list? > > --Leston > Hi, if you click on a card in the Application Browser, you will see it's objects listed to the panel. You will see that groups have a red outline icon and their sub-objects are listed below and the sub object's _name_ (not icon) is slightly indented. It's kind of subtle. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From psahores at easynet.fr Fri Aug 8 17:27:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 8 17:27:00 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: References: Message-ID: <3F34222C.7030100@easynet.fr> Fran?ois Cuneo wrote: > Je vais voir si je peux mettre un th?me "Revolution" sur notre forum. > J'avertirai ici si ?a se fait. > > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch > The most we speak about RR/MC,... and it would be cool to speak about it, in french, for the froggies we allready are ;-) -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From tkuypers at pandora.be Fri Aug 8 17:28:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Fri Aug 8 17:28:01 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: Message-ID: Sorry to intrude, but I DON'T speak French... And as far as I know, our Scottish friends from RR and a lot of other people on this list don't either, so do you mind posting in English? Maybe we can be of any assistance when we know what you are talking about... And for the lack of French documentation: So what? There is no German, Spanish, Dutch documentation either... Not being able to use special characters: ok, baaaaddddddd Revolution, nice to have Bugzilla... Come on guys, give them and all of us a break... Ton Kuypers > From: Fran?ois Cuneo > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 08 Aug 2003 23:56:07 +0200 > To: > Subject: Re: I speak French, so I think that I can't use Revolution, aaaaargh. > > Je vais voir si je peux mettre un th?me "Revolution" sur notre forum. > J'avertirai ici si ?a se fait. > > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch > >> De?: J?r?me Rosat >> R?pondre ??: use-revolution at lists.runrev.com >> Date?: Fri, 8 Aug 2003 21:03:46 +0200 >> ??: use-revolution at lists.runrev.com >> Objet?: Re: I speak French, so I think that I can't use Revolution, aaaaargh. >> >> Bonjour Fran?ois, >> >> Apr?s avoir lu ton article sur Revolution je suis ? deux doigts de >> l'acheter. >> >> Malheureusement je vois plusieurs points n?gatifs: >> >> - absence de documentation en fran?ais >> - absence d'une version fran?aise du programme (je ne parle pas de >> Transcript) >> - mes recherches sur le net m'indiquent que la communaut? "Revolution" >> n'est pas tr?s importante ou alors pas tr?s active >> - cette liste n'est pas tr?s pratique. Un vrai forum serait bien plus >> agr?able >> - je constate que les concepteurs de Revolution n'ont pas int?r?t ? ce >> que la communaut? soit active car les licences n'?tant pas tr?s cher, >> il faut bien vendre du support. >> >> Un id?e: tu devrais ouvrir une rubrique dans le forum de cuk.ch pour la >> communaut? "Revolution" >> >> Je vais donc encore attendre avant d'acqu?rir Revolution. >> >> Meilleurs messages. >> >> J?r?me >> >> Le Vendredi, 8 ao? 2003, ? 12:15 Europe/Zurich, >> use-revolution-request at lists.runrev.com a ?crit : >>> >>> >>> Message: 7 >>> Date: Fri, 08 Aug 2003 09:24:51 +0200 >>> Subject: I speak French, so I think that I can't use Revolution, >>> aaaaargh. >>> From: Fran=?ISO-8859-1?B?5w==?=ois Cuneo >>> To: >>> Reply-To: use-revolution at lists.runrev.com >>> >>> Hello everybody, >>> >>> I'm sorry, but I have asked a lot of questions this last days and I >>> have no >>> answer (just one from Yves) about something that maybe prohibs me to >>> use >>> Revolution. >>> >>> Why? >>> >>> Because I think that's it is impossible to use what all people who >>> speaks >>> French does: use our char in File's names! >>> >>> If you save a file like >>> >>> Save this stack as "R?volution.rev" >>> >>> I obtain the first time that seems to be e good file. >>> >>> But When I open and I save again the file I obtain R??volution.rev~ >>> that >>> prohibs Revolution to save correctly the stack. >>> >>> So I have asked how to correct that. >>> >>> The answser from Yves (save as Whatever.rev and rename it to >>> R?volution.rev >>> works only if I don't open the stack another time in the same session >>> (the >>> files stays im memory, so it's impossible to open it again) >>> >>> I have asked about UTF8 conversion of the files names (I'm sure that >>> here is >>> the problem, I had exactly the same with RealBasic, and it was >>> corrected >>> with a conversion) but I had no answer. >>> >>> I have asked about how to purge a stack, no answer. >>> >>> So I think that I don't have a solution, and for me (and for all >>> people that >>> use diacritical char), that is a basic necessity. >>> >>> And I'm sorry but I think that Revolution is not for me. >>> >>> The problem, that I have writed a review about Revolution (some >>> thousands >>> have read it) and I say that Revolution is THE solution for all >>> people that >>> have used languages like Hypertalk and maybe for all that whant to >>> begin to >>> write applications. >>> >>> The review is here (http://www.cuk.ch/articles/tests) >>> >>> I think that I have to change something in my review. >>> >>> So maybe it is one of my last messages on this list. >>> >>> For me, it's terrible but it's like that. >>> >>> Friendly >>> >>> Fran?ois >>> >>> >>> -------------- >>> Fran?ois Cuneo >>> Site Web d?di? au Macintosh http://www.cuk.ch >>> E-mail: francois.cuneo at cuk.ch >> >> _______________________________________________ >> 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 edgore at shinra.com Fri Aug 8 17:46:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Fri Aug 8 17:46:00 2003 Subject: control browser & groups Message-ID: <200308082239.h78MdG187092@mmm1505.boca15-verio.com> A very important addendum to this. In order for the view to work this way you must have the application browser sort by LAYER. Otherwise it doesn't do this. >Hi, if you click on a card in the Application >Browser, you will see >it's objects listed to the panel. You will see that >groups have a red >outline icon and their sub-objects are listed below >and the sub >object's _name_ (not icon) is slightly indented. >It's kind of subtle. > >Alex Rice, Software Developer >Architectural Research Consultants, Inc. >http://ARCplanning.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From kray at sonsothunder.com Fri Aug 8 17:53:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 8 17:53:00 2003 Subject: I speak French, so I think that I can't use Revolution,aaaaargh. In-Reply-To: Message-ID: <001101c35dfe$e734f630$6801a8c0@LightningFlash> > Sorry to intrude, but I DON'T speak French... I don't either, but Babelfish works wonders in translation... http://babelfish.altavista.com Whenever I see a non-English post, I just go there and I can understand what's being said (although I'd had to reply in Babelfish-created French! ;-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From psahores at easynet.fr Fri Aug 8 18:05:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 8 18:05:00 2003 Subject: I speak French, so I think that I can't use Revolution,aaaaargh. In-Reply-To: <001101c35dfe$e734f630$6801a8c0@LightningFlash> References: <001101c35dfe$e734f630$6801a8c0@LightningFlash> Message-ID: <3F342AF2.8080807@easynet.fr> Ken Ray wrote: >>Sorry to intrude, but I DON'T speak French... > > > I don't either, but Babelfish works wonders in translation... > > http://babelfish.altavista.com > > Whenever I see a non-English post, I just go there and I can understand > what's being said (although I'd had to reply in Babelfish-created > French! ;-) > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > OK, OK, I promise i will no more use to much French, nor German, nor Latin to speak "in between us" with our Swedish or Dutch Friends ;-) -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From rbarber at yhb.att.ne.jp Fri Aug 8 18:53:00 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Fri Aug 8 18:53:00 2003 Subject: I speak German, so I think that I can't use Revolution, merde :-) In-Reply-To: <04ff01c35dea$05c2aa80$0100a8c0@user> Message-ID: Hi all >> Same with MetaCard so this is definitively a HEAVY BUG in the engine. >> Big fun... >> >> Please bug-report this to "bugzilla"... >> >> Until this will get fixed, the only workaround will be to not use >> accents and >> umlauts and special chars... :-( > Is reported already and is being fixed. The problem was that when we went to > Mach-O architecture, we had to use UTF-8 for file names. Therefore > internally we have to convert from Mac/ISO to UTF-8 when specifying file > names and vice versa when getting filenames. > > So please be patient, developing a dynamic rad tool which supports all > platforms and > all languages in the world is not an easy task for any development team. > > Tuviah Snyder > Runtime Revolution Limited - Software at the Speed of Thought Just to speak in Tuviah's defense, and to encourage the use of bugzilla - I have pushed as hard as anyone to solve these kind of problems with RR/MC concerning the CJK (chinese/japanese/korean) language groups. I have started using bugzilla and it is very encouraging to see each reported bug in turn get squashed, or at least officially acknowleged. The team is doing a good job in moving in this direction and while it is frustrating not to be able to do certain things now, I feel confident we will be able to in the future. Until then, report the bugs, provide good information and wait. my 2 yen Ron From kray at sonsothunder.com Fri Aug 8 18:55:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 8 18:55:00 2003 Subject: I speak French, so I think that I can't use Revolution,aaaaargh. In-Reply-To: <3F342AF2.8080807@easynet.fr> Message-ID: <001f01c35e07$76c1f2f0$6801a8c0@LightningFlash> Merci, Pierre! ;-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Pierre Sahores > Sent: Friday, August 08, 2003 5:58 PM > To: use-revolution at lists.runrev.com > Subject: Re: I speak French, so I think that I can't use > Revolution,aaaaargh. > > > Ken Ray wrote: > >>Sorry to intrude, but I DON'T speak French... > > > > > > I don't either, but Babelfish works wonders in translation... > > > > http://babelfish.altavista.com > > > > Whenever I see a non-English post, I just go there and I can > > understand what's being said (although I'd had to reply in > > Babelfish-created French! ;-) > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > OK, OK, I promise i will no more use to much French, nor German, nor > Latin to speak "in between us" with our Swedish or Dutch Friends ;-) > > -- > Bien cordialement, Pierre Sahores > > Inspection acad?mique de Seine-Saint-Denis > Serveurs d'applications et SGBDR (Web/PGI) > Penser et produire l'avantage comp?titif > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From malte.brill at t-online.de Fri Aug 8 18:58:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Fri Aug 8 18:58:01 2003 Subject: Losing track of time In-Reply-To: <200308081601.MAA02247@www.runrev.com> Message-ID: Hi Howard. There was no real reason I suggested a player object. just thought audioclips might be blocking. (seems as if they were not. I hardly use them). Fiddled around with it a bit: Created a stack, one button one field button script: global myTime on mouseUp put the seconds into myTime put fld "TheTime" into timer send reminder to me in timer*6 seconds end mouseUp on reminder play "bass1.aif" put the seconds-myTime end reminder always returns 6 on my system, same for wav files... G4 400 Os9... Hope this helps, Malte From malte.brill at t-online.de Fri Aug 8 19:11:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Fri Aug 8 19:11:00 2003 Subject: Losing track of time In-Reply-To: <200308081601.MAA02247@www.runrev.com> Message-ID: Hi Howard. Silly me you want to be repeatetly reminded I guess. global myTime,flag,timer,counter on mouseUp put flag*-1 into flag if flag=0 then put 1 into flag put the seconds into myTime put 0 into counter put fld "TheTime" into timer if flag=1 then send reminder to me in timer seconds end mouseUp on reminder add 1 to counter play "flute3.wav" put the seconds-myTime-counter*timer if flag=1 then send reminder to me in timer seconds end reminder This script should allways return 0 and it does here... Hope this helps, Malte From malte.brill at t-online.de Fri Aug 8 19:31:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Fri Aug 8 19:31:00 2003 Subject: Externals [was: How to place revVideograbber bundle inside of the app bundle? ] In-Reply-To: <200308061022.GAA12561@www.runrev.com> Message-ID: Hi Alex,Jacqueline and all, took some time to experiment this for a while and want to post a small report: [snip] >In that case, use the startup handler to parse >the name of the app just as you've been doing it, and then use the >parsed application name as the first part of the path. [/snip] Doesn?t work. Seems to ignore the startUp Handler also... [snip] >Oh wait... *I think* this will work: set the externals to just >"revvideograbber.bundle" (no path). And put the revvideograbber.bundle >into the folder Your.app/Contents/MacOS , right alongside the actual >executable. [/snip] A pitty it doesn?t work. It thinks the defaultfolder is outside the App bundle. :-( So I decided to look at the parsed app name and if it is not the name of my app I pop up an answer dialog on preOpenStack, telling users to rename the file back to its original name and then quit (Doesn?t satisfy me). 2nD Issue:Os 9. Created a stack 1 substack wich executes the external stuff. Build as distribution with substack embedded, checked include "all other", works. When the second stack is not an embedded substack but loaded on openstack the external functions break... Couldn?t check for Windows and Linux/Unix... Regards, Malte From kkaufman at snet.net Fri Aug 8 19:37:00 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri Aug 8 19:37:00 2003 Subject: Rev bugzilla URL Message-ID: >> Please bug-report this to "bugzilla"... which, in case some have forgotten (like myself), is here: http://www.runrev.com/Revolution1/bugzilla/index.html From briany at qldlearning.com Fri Aug 8 19:40:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Fri Aug 8 19:40:01 2003 Subject: Losing track of time In-Reply-To: <3F33FFE7.9030607@easynet.fr> Message-ID: <294EA8A2-CA01-11D7-8D9B-000393AA08D2@qldlearning.com> Is it possible that scripts are running at the time when the message is meant to be delivered? Messages won't be delivered in the middle of running handlers unless you use an asynchronous call such as "wait with messages". For example, try this: global sTime on mouseUp put the seconds into sTime send "test" to me in 5 seconds repeat with i=1 to 50000 put i end repeat end mouseUp on test answer (the seconds - sTime) end test You'll get something much larger than 5 as your result (unless this runs much faster on your machine than mine), because the message couldn't be delivered until the handler terminated. OTOH, if you use "wait with messages" inside the repeat loop, the message DOES get delivered on-time. If you need precise timing and scripts may be running, it may be necessary to both: * Use "wait with messages" in any handlers that could potentially run for long enough to disturb your timing * Re-calculate wait times based on the original "send": this will keep the timing from drifting further and further each time. If it's off by 2 seconds each time, at least it won't become 4 seconds, 6 seconds, etc. OR... (and this is icky)... if it's really urgent that the timing be exact, you might want to send a "pre" message a few seconds before the real one which locks out anything that could potentially stop the important message from being delivered. HTH Brian > Howard Bornstein wrote: >> I've got a simple reminder program that takes a number (representing >> minutes) and plays a chime when that many minutes is up. >> The reminder script is: >> on reminder >> global SendID >> put fld "TheTime" into timer >> send reminder to me in timer*60 seconds put the result into >> sendID >> play "chime2.wav" >> end reminder >> The problem is that, for example, if I set the timer to chime every >> hour, I am losing about 5 seconds each time I cycle through. >> Originally, this was because I had the play "chime2.wav" command >> before the send reminder command. So it would play the chime, which >> takes several seconds, before resetting the time. >> But now I've switched the order to the above handler and I'm *still* >> getting this lost time per cycle. >> Is it possible that the play command somehow stops the internal timer >> of the send command? This seems highly unlikely but I can't think >> what else would be causing this delay, which pushes me further past >> the hour as the cycles continue. >> Any ideas? >> Regards, >> Howard Bornstein >> ____________________ >> D E S I G N E Q >> www.designeq.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > Try this : > > > on idle > > global Lasttime > > if the seconds = (lasttime+3600) then > > add 3600 to Lasttime > > play "chime2.wav" > > end if > > end idle > > Set up the Lasttime starting value in using a button or so > > -- > Bien cordialement, Pierre Sahores > > Inspection acad?mique de Seine-Saint-Denis > Serveurs d'applications et SGBDR (Web/PGI) > Penser et produire l'avantage comp?titif > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From briany at qldlearning.com Fri Aug 8 19:49:00 2003 From: briany at qldlearning.com (Brian Yennie) Date: Fri Aug 8 19:49:00 2003 Subject: Externals [was: How to place revVideograbber bundle inside of the app bundle? ] In-Reply-To: Message-ID: <4E23366C-CA02-11D7-8D9B-000393AA08D2@qldlearning.com> > [snip] >> Oh wait... *I think* this will work: set the externals to just >> "revvideograbber.bundle" (no path). And put the revvideograbber.bundle >> into the folder Your.app/Contents/MacOS , right alongside the actual >> executable. > [/snip] If this doesn't work, you might try setting to "./Contents/MacOS/revvideograbber.bundle Relative paths can be handy here. Of course on Windows and Linux you'll have to store this somewhere else, as there is no bundle. I don't think there's any way you'll be able to distribute a single file on these platforms: the videograbber would have to be added to the core engine for that. You can always create a "Support Files" folder, or something like that alongside the app- no need to leave the external naked, and you can throw other resources such as upgradable stacks, images, audio, etc in there also. HTH Brian From malte.brill at t-online.de Fri Aug 8 20:06:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Fri Aug 8 20:06:00 2003 Subject: Externals [was: How to place revVideograbber bundle inside of the app bundle? ] In-Reply-To: <200307311459.KAA22488@www.runrev.com> Message-ID: Hi, >If this doesn't work, you might try setting to >"./Contents/MacOS/revvideograbber.bundle >Relative paths can be handy here. Won?t work. When trying to load the externals the defaultfolder is outside of the app bundle (is it called package in english? It is Paket in german) So this would expect the external in a nasty little folder called contents/MacOS/ which lives next door to myapp.app This folder doesn?t exist so revvideograbber.bundle can?t be found. :-) (I created one, nasty monster... Guess I need some sleep) >Of course on Windows and Linux you'll have to store this somewhere >else, as there is no bundle. I don't think there's any way you'll be >able to distribute a single file on these platforms: the videograbber >would have to be added to the core engine for that. Sounds good. Same *should* work for 9. It does when the external is not called from a referenced substack. If it?s a referenced stack it breaks... That?s only the experience I have made with my teststacks and maybe it was me doing something terrebly wrong. >You can always create a "Support Files" folder, or something like that >alongside the app- no need to leave the external naked, and you can >throw other resources such as upgradable stacks, images, audio, etc in >there also. Thats what I?m trying to do No Problem for extra stacks images movies and all kind of stuff I need but when it comes to externals it?s not as easy as I?m used to enjoy. :-) Regards, Malte From briany at qldlearning.com Fri Aug 8 22:40:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Fri Aug 8 22:40:01 2003 Subject: Externals [was: How to place revVideograbber bundle inside of the app bundle? ] In-Reply-To: Message-ID: <3657AFB6-CA1A-11D7-8D9B-000393AA08D2@qldlearning.com> > Won?t work. When trying to load the externals the defaultfolder is > outside > of the app bundle (is it called package in english? It is Paket in > german) > So this would expect the external in a nasty little folder called > contents/MacOS/ which lives next door to myapp.app This folder doesn?t > exist > so revvideograbber.bundle can?t be found. :-) > (I created one, nasty monster... Guess I need some sleep) Sorry, it's actually: "./MyApp.app/Contents/MacOS/revvideograbber.bundle" Bundles *are* folders- your application actually appears to be a folder to the file system. Control-click on your app and choose "Show Package Contents" and you'll see what lies beneath. In any case, it won't work on other platforms. Brian From janschenkel at yahoo.com Fri Aug 8 23:26:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Aug 8 23:26:01 2003 Subject: revOpenDatabase question. In-Reply-To: <6BE9ED05-C9D7-11D7-A2C0-00039387AE90@mac.com> Message-ID: <20030809041908.39597.qmail@web11904.mail.yahoo.com> --- Andre Garzia wrote: > Hi Folks, > > i am using de 30-day-trial edition and > revOpenDatabase is returning: > "revdberr, restricted under current license" what > does that mean? I can > try to use this command? > > cheers > Andre Garzia ??? 2003 > imac2 ibook p100 e uma torradeira.... > Hi Andre, If you're using Revolution 2.0.2, have you tried downloading the latest updates ? http://www.runrev.com/revolution/downloads/distributions/2.0/updates/ There are (or were, I'm not sure) some restrictions on database connections, among which the ability to make connections to multiple databases of the same type (eg: connecting via MySQL to databases "test1" and "test2" at the same time, without closing the previous connection) Hope this gets you closer to a solution, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From vikramsingh at mailandnews.com Sat Aug 9 00:02:01 2003 From: vikramsingh at mailandnews.com (Vikram Singh) Date: Sat Aug 9 00:02:01 2003 Subject: Ext Collection: Opensourcing Message-ID: <3F3D7A43@mailandnews.com> Now that Rev is on the roll and many of the External Collections's features are inbuilt, is it possible to open-source that external, so novices like me can get an idea how to write externals. I mean learning things like launching Color-Picker. It might also be just the kind of freeware that will attract C developers onto the platform. Regards Vikram From briany at qldlearning.com Sat Aug 9 02:00:00 2003 From: briany at qldlearning.com (Brian Yennie) Date: Sat Aug 9 02:00:00 2003 Subject: Ext Collection: Opensourcing In-Reply-To: <3F3D7A43@mailandnews.com> Message-ID: <28154186-CA36-11D7-8D9B-000393AA08D2@qldlearning.com> If anyone is willing to host this stuff, I can contribute at least one external with it's source... Any volunteers? > Now that Rev is on the roll and many of the External Collections's > features > are inbuilt, is it possible to open-source that external, so novices > like me > can get an idea how to write externals. I mean learning things like > launching > Color-Picker. > > It might also be just the kind of freeware that will attract C > developers onto > the platform. > > Regards > Vikram > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From francois.cuneo at cuk.ch Sat Aug 9 02:27:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Sat Aug 9 02:27:01 2003 Subject: I speak German, so I think that I can't use Revolution, merde :-) In-Reply-To: Message-ID: Hello Ron, You are right. I have used Bugzilla now. But if I didn't do it before, it's because in my experience, all this databases are never efficient. You submit a bug, and you have never answer. The bug is open, in the database and maybe two years later, you have a chance to find the bug resolved. So for me, Bugzilla was the same, and I think that I was wrong. The bug in question seems to be resolved. I'll see that, I hope, in the next release. Friendly Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Ron > R?pondre ??: use-revolution at lists.runrev.com > Date?: Sat, 09 Aug 2003 08:47:25 +0900 > ??: > Objet?: Re: I speak German, so I think that I can't use Revolution, merde :-) > > Hi all > >>> Same with MetaCard so this is definitively a HEAVY BUG in the engine. >>> Big fun... >>> >>> Please bug-report this to "bugzilla"... >>> >>> Until this will get fixed, the only workaround will be to not use >>> accents and >>> umlauts and special chars... :-( > >> Is reported already and is being fixed. The problem was that when we went to >> Mach-O architecture, we had to use UTF-8 for file names. Therefore >> internally we have to convert from Mac/ISO to UTF-8 when specifying file >> names and vice versa when getting filenames. >> >> So please be patient, developing a dynamic rad tool which supports all >> platforms and >> all languages in the world is not an easy task for any development team. >> >> Tuviah Snyder >> Runtime Revolution Limited - Software at the Speed of Thought > > Just to speak in Tuviah's defense, and to encourage the use of bugzilla - I > have pushed as hard as anyone to solve these kind of problems with RR/MC > concerning the CJK (chinese/japanese/korean) language groups. I have started > using bugzilla and it is very encouraging to see each reported bug in turn > get squashed, or at least officially acknowleged. The team is doing a good > job in moving in this direction and while it is frustrating not to be able > to do certain things now, I feel confident we will be able to in the future. > Until then, report the bugs, provide good information and wait. > > my 2 yen > > Ron > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jameslewes at comcast.net Sat Aug 9 02:42:00 2003 From: jameslewes at comcast.net (James Lewes) Date: Sat Aug 9 02:42:00 2003 Subject: Ext Collection: Opensourcing In-Reply-To: <28154186-CA36-11D7-8D9B-000393AA08D2@qldlearning.com> Message-ID: I would be happy to host. just let me knows what you want me to do James On Saturday, August 9, 2003, at 02:53 AM, Brian Yennie wrote: > If anyone is willing to host this stuff, I can contribute at least one > external with it's source... > > Any volunteers? > >> Now that Rev is on the roll and many of the External Collections's >> features >> are inbuilt, is it possible to open-source that external, so novices >> like me >> can get an idea how to write externals. I mean learning things like >> launching >> Color-Picker. >> >> It might also be just the kind of freeware that will attract C >> developers onto >> the platform. >> >> Regards >> Vikram >> >> _______________________________________________ >> 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 bill at igame3d.com Sat Aug 9 02:49:01 2003 From: bill at igame3d.com (WIlliam Griffin) Date: Sat Aug 9 02:49:01 2003 Subject: Open Sourced Externals In-Reply-To: <200308090629.CAA25145@www.runrev.com> Message-ID: <4DB796BE-CA3E-11D7-8847-0030657D0A8E@igame3d.com> In reference to open sourcing the externals. if this is going to happen, I would be happy to host them. I could probably cover about 100 megs of these. Maybe 200 megs tops. How many are there? I don't actually know how to make an externa myself but seeing on the games that will be followed by mostly opened source code for uDevGame 2003, at www.idevgames.com Makes me really interested in learning. Is there a tutorial somewhere on making externals? Please contact me off list so we can organize this interesting venture. Bill Griffin bill at igame3d.com From vikramsingh at mailandnews.com Sat Aug 9 04:10:01 2003 From: vikramsingh at mailandnews.com (Vikram Singh) Date: Sat Aug 9 04:10:01 2003 Subject: Ext Collection: Opensourcing Message-ID: <3F3E877A@mailandnews.com> Brian That's a very kind gesture. Hope to see it soon. Vikram ----- Original Message ----- From: "Brian Yennie" To: Sent: Saturday, August 09, 2003 12:23 PM Subject: Re: Ext Collection: Opensourcing > If anyone is willing to host this stuff, I can contribute at least one > external with it's source... > > Any volunteers? > > > Now that Rev is on the roll and many of the External Collections's > > features > > are inbuilt, is it possible to open-source that external, so novices > > like me > > can get an idea how to write externals. I mean learning things like > > launching > > Color-Picker. > > > > It might also be just the kind of freeware that will attract C > > developers onto > > the platform. > > > > Regards > > Vikram > > From rodneytamblyn at paradise.net.nz Sat Aug 9 04:19:02 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sat Aug 9 04:19:02 2003 Subject: Blobs and PostgreSQL In-Reply-To: <1A6EEA1C-C975-11D7-B10E-003065F97100@paradise.net.nz> Message-ID: Quick followup to my last message.... I have still been unable to get BLOBs working with PostgreSQL, including by using the built in Query Manager and following the simple instructions Jan Schenkel posted. So - if anyone out there has successfully added BLOBs to a PostgreSQL database using RR - please let me know! Thanks ~ Rodney On Friday, August 8, 2003, at 07:51 PM, Rodney Tamblyn wrote: > Quick question (probably already covered somewhere on this list...) > > Can someone post a simple example illustrating adding a blob to a > PostgreSQL database from RR? > > I have worked my way through the simple examples, but before launching > into Revolution database scripting I thought it would be more > efficient to see if this info is already available. If there are any > good example stacks worth viewing pointers would also be > appreciated.... > > Thanks! > > Rodney > -- > Rodney Tamblyn > 44 Melville Street > Dunedin > New Zealand > +64 3 4778606 > http://rodney.weblogs.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From k.r.hauge at east.uio.no Sat Aug 9 05:55:00 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Sat Aug 9 05:55:00 2003 Subject: isUpperCase(), anyone? Message-ID: Is there any way to do a simple Unicode-compliant check of whether a character is uppercase? I figured that this would do it: function isUpper x set the useUnicode to true --must be uppercase if the lowercased x is not equal to the original x: return charToNum(x) <>charToNum(toLower(x)) end isUpper - but the problem seems to be in the toLower (and toUpper) functions. The documentation says: toLower("NO, MA?ANA!") -- returns "no, ma?ana!" but both in 2.02 and 2.1b2 (Mac OS X), it returns "no, ma?ana!" . Even Microsoft Word with its poor Unicode support can do ChangeCase with Cyrillic and CE, so it should be possible. CharToNum() works fine with Unicode, so I suppose I could check if it returns a number corresponding to an uppercase glyph (I don't need conversion, only detection), but as these partly come in ranges, partly in pairs with lowercase, it is not an appealing option. -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From klaus at major-k.de Sat Aug 9 06:11:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Aug 9 06:11:00 2003 Subject: I speak German, so I think that I can use Revolution :-) In-Reply-To: <04ff01c35dea$05c2aa80$0100a8c0@user> Message-ID: <468E02EA-CA59-11D7-B1D3-000A27B49A96@major-k.de> Hi Tuviah, >> ... >> ?^s???^sN?f?^s???^su???^s?^,?^sn?f?^su?^?^su?^?^su?^.rev~ >> and thus unusable... >> Same with MetaCard so this is definitively a HEAVY BUG in the engine. >> Big fun... Please bug-report this to "bugzilla"... >> >> Until this will get fixed, the only workaround will be to not use >> accents and umlauts and special chars... :-( > Is reported already and is being fixed. The problem was that when we > went to > Mach-O architecture, we had to use UTF-8 for file names. Therefore > internally we have to convert from Mac/ISO to UTF-8 when specifying > file > names and vice versa when getting filenames. Good news, thanks for the info :-) > So please be patient, We are patient, Tuviah, we definitively are ;-) > developing a dynamic rad tool which supports all > platforms and all languages in the world is not an easy task > for any development team. No kidding ? ;-) > Tuviah Snyder Regards Klaus Major klaus at major-k.de www.major-k.de From miscdas at boxfrog.com Sat Aug 9 08:56:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sat Aug 9 08:56:00 2003 Subject: Losing track of time In-Reply-To: <200308082138.h78LcOs4011482@ms-smtp-03.nyroc.rr.com> References: <200308082138.h78LcOs4011482@ms-smtp-03.nyroc.rr.com> Message-ID: <20030809135008.86024.qmail@www.boxfrog.com> Howard Bornstein writes: >>have you tried using a player object instead of an audioclip? > > I prefer the audio clip because I can embed it within the App. The Player > object requires an external file (correct me if I'm wrong). > > Do you think the audioclip could be causing the timer to pause while it's > played? So, try commenting-out the audioclip and run your routine. If the timer is OK, it is probably the audioclip interfering. If the timer is not OK, look elswhere for the "time bandit". miscdas > Regards, > > Howard Bornstein From rcozens at pon.net Sat Aug 9 09:52:01 2003 From: rcozens at pon.net (rcozens at pon.net) Date: Sat Aug 9 09:52:01 2003 Subject: Losing track of time In-Reply-To: <200308081730.h78HU6s4012707@ms-smtp-03.nyroc.rr.com> References: <200308081730.h78HU6s4012707@ms-smtp-03.nyroc.rr.com> Message-ID: >if I set the timer to chime every hour, >I am losing about 5 seconds each time I cycle through. Hi Howard, I'm not an expert in this area; but in my humble opinion you're doing as well as you ever will running in a multi-user operating system (5/3600 = a 0.14 % error). Lacking a single-user, real-time OS, there are too many things beyond the control of your app or stack to expect timing to the millisecond. And suppose a handler is running at the exact moment the message is sent....the message's handler cannot run until the current handler and any handlers the current handler calls have completed, and any handlers they call have been completed, and so on. I have run tests in HyperCard (& Run Rev?) timing the execution of repeat loops. What I found generally was that repeat loops would log essentially equal execution times through many iterations and the the next loop would take at least an order of magnitude longer, then many average-time loops followed by another "performance hit", and so on. I concluded that the performance hits were the result of O/S "housekeeping" activities that had nothing to do with my app or Rev. I've said it before, & I'll say it again: IMFO, precise timing is impossible on any multi-user O/S. -- 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 1573-1631 From bornstein at designeq.com Sat Aug 9 11:08:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Sat Aug 9 11:08:01 2003 Subject: Losing track of time Message-ID: <200308091601.h79G1LiZ006478@ms-smtp-02.nyroc.rr.com> >So, try commenting-out the audioclip and run your routine. If the timer is >OK, it is probably the audioclip interfering. If the timer is not OK, look >elswhere for the "time bandit". Thanks. Why didn't I think of this simple test??? Probably beause my mind is too highly trained. :-) Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From ambassador at fourthworld.com Sat Aug 9 11:11:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 9 11:11:01 2003 Subject: Ext Collection: Opensourcing In-Reply-To: <28154186-CA36-11D7-8D9B-000393AA08D2@qldlearning.com> Message-ID: Brian Yennie wrote: > If anyone is willing to host this stuff, I can contribute at least one > external with it's source... I have space. Lemme know.... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kray at sonsothunder.com Sat Aug 9 11:25:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 9 11:25:00 2003 Subject: isUpperCase(), anyone? In-Reply-To: Message-ID: <008101c35e91$d2daf660$6801a8c0@LightningFlash> This sounds like a bug; you should log it in Bugzilla so the RunRev team can fix it. http://www.runrev.com/revolution/developers/bugdatabase/ Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Kjetil R? Hauge > Sent: Saturday, August 09, 2003 5:48 AM > To: use-revolution at lists.runrev.com > Subject: isUpperCase(), anyone? > > > Is there any way to do a simple Unicode-compliant check of whether a > character is uppercase? I figured that this would do it: > > function isUpper x > set the useUnicode to true > --must be uppercase if the lowercased x is not equal > to the original x: > return charToNum(x) <>charToNum(toLower(x)) > end isUpper > > - but the problem seems to be in the toLower (and toUpper) functions. > The documentation says: > > toLower("NO, MA?ANA!") -- returns "no, ma?ana!" > > but both in 2.02 and 2.1b2 (Mac OS X), it returns "no, ma?ana!" . > Even Microsoft Word with its poor Unicode support can do ChangeCase > with Cyrillic and CE, so it should be possible. > > CharToNum() works fine with Unicode, so I suppose I could check if it > returns a number corresponding to an uppercase glyph (I don't need > conversion, only detection), but as these partly come in ranges, > partly in pairs with lowercase, it is not an appealing option. > -- > --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 > --- (this msg sent from home, +47/67148424, fax > +1/5084372444) _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From bornstein at designeq.com Sat Aug 9 11:28:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Sat Aug 9 11:28:01 2003 Subject: Losing track of time Message-ID: <200308091621.h79GLbs5005118@ms-smtp-03.nyroc.rr.com> >Is it possible that scripts are running at the time when the message is >meant to be delivered? Nope, at least not in my tests. Two simple scripts: on mouseup global sendID cancel sendID put fld "TheTime" into timer if timer is not empty then send reminder to this stack in timer*60 seconds put the result into sendID end if end mouseup on reminder global SendID put fld "TheTime" into timer send reminder to me in timer*60 seconds put the result into sendID play "chime2.wav" end reminder After it executes the mouseup, it just waits for the send to come back. That's it! Now in the real world, I've got a mousemove handler that controls the cursor and I'll have to look at this later. But for my test, I didn't touch the PC for several hours, so it should have never been evoked. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From bornstein at designeq.com Sat Aug 9 11:29:33 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Sat Aug 9 11:29:33 2003 Subject: Losing track of time Message-ID: <200308091621.h79GLbs4005118@ms-smtp-03.nyroc.rr.com> >I'm not an expert in this area; but in my humble opinion you're doing >as well as you ever will running in a multi-user operating system >(5/3600 = a 0.14 % error). I've got other timer-based programs that actually show a countdown in seconds, but I don't think I've tested it against a separate clock. I'll do that to see if I get the same response. >nd suppose a handler is running at the exact moment the message is >sent....the message's handler cannot run until the current handler >and any handlers the current handler calls have completed, and any >handlers they call have been completed, and so on. This is not the case here. It's the simplest of programs. It takes a number (minutes) you enter into a field. It multiplies it by 60. It uses that number in a send routine to execute the reminder in min*60 seconds. That's it. Then it stops and waits for the send to appear. There are no other handlers running (actually, there's a mousemove handler that controls the cursor appearance, but for my tests, the program just ran on my PC, which I never touched for several hours, so the mousemove handler should not have ever been evoked). >I concluded that the performance hits were the result of O/S >"housekeeping" activities that had nothing to do with my app or Rev. Again, in these tests, nothing else was being performed on the PC. It was just sitting there, not being used. I know there are still background processes running, but they should have been minimal. miscdas had the best suggestion to see if playing the .wav file was causing the delay (it shouldn't, but who knows). If that doesn't show anything, I'm back to scratching my head (and thinking you're probably right). Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From rcozens at pon.net Sat Aug 9 11:55:00 2003 From: rcozens at pon.net (rcozens at pon.net) Date: Sat Aug 9 11:55:00 2003 Subject: Losing track of time In-Reply-To: <200308091621.h79GLbs4005118@ms-smtp-03.nyroc.rr.com> References: <200308091621.h79GLbs4005118@ms-smtp-03.nyroc.rr.com> Message-ID: >I know there are still background >processes running, but they should have been minimal. Howard, et al: I consider a 0.14% error (5 seconds/hour) to be minimal; but I'm not calculating longitude for a sailing ship at sea. :{`) What are you using to calculate the exact timing? Have you tried storing the seconds (or ticks) when the send is queued, capturing it when the message is sent, and calculating elapsed time? -- 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 1573-1631 From kray at sonsothunder.com Sat Aug 9 13:59:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 9 13:59:00 2003 Subject: Passing cookies in URL? Message-ID: <002a01c35ea7$4108c8f0$6801a8c0@LightningFlash> I'm trying to retrieve the HTML contents of a page that is only accessible if a cookie is stored on the user's machine. If I go in through a browser, it comes right up; if I do a "get url" from Rev, I just get the "login" page. Anyone know of a way of passing cookies in a URL (or equivalent)? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sat Aug 9 14:13:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 9 14:13:01 2003 Subject: Passing cookies in URL? In-Reply-To: <002a01c35ea7$4108c8f0$6801a8c0@LightningFlash> Message-ID: <002b01c35ea9$379f5a20$6801a8c0@LightningFlash> Never mind; I need to "set the httpheaders". Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Ken Ray > Sent: Saturday, August 09, 2003 1:51 PM > To: 'Use Revolution List' > Subject: Passing cookies in URL? > > > I'm trying to retrieve the HTML contents of a page that is > only accessible if a cookie is stored on the user's machine. > If I go in through a browser, it comes right up; if I do a > "get url" from Rev, I just get the "login" page. > > Anyone know of a way of passing cookies in a URL (or equivalent)? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Sat Aug 9 15:14:08 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 9 15:14:08 2003 Subject: Reading cookies? Message-ID: <000001c35eb1$d655dec0$6801a8c0@LightningFlash> I know how to get cookies from a server-side app, but if I have a client standalone that needs to read a cookie from the local machine in order to send it via "get url()" and "set the httpheaders", how doe I get the values to pass? On OS X I know I can read the /Library/Cookies/Cookies.plist file, but whatabout on Windows? or OS 9? Any ideas? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pixelbird at interisland.net Sat Aug 9 15:15:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Aug 9 15:15:01 2003 Subject: For true beginners In-Reply-To: <200308091601.MAA04282@www.runrev.com> Message-ID: Hello list, Over on the HC list (yes, it's still quite alive, but the activity has dwindled to a handful of members) there has been some discussion about yet another HC clone. The thread starter is a programmer who was talking about building yet another HC-type tool for MS' .NET framework, which I confess I know nothing about, something 'simple and elegent' (his words). Of course, I directed him to Rev, but he said he thought it was geared to the professional programming market and therefore too complex and daunting for many people to bother with, doesn't fit the criteria of 'simple and elegent'. I know exactly what he means. I miss HC's straightforward GUI, and even the 'canned' stacks and scripts to modify. These are precisely the reasons that father HC gained its popularity among early Mac users and spawned what we now see here. If I was looking at learning to write simple programs for my own use, or if I was young student wanting to experiment with programming solutions and school projects, or if I was a grade school teacher needing to relieve some pressures, or a retiree looking for an interesting hobby, or aspirations for a small business where I needed options for its peculiarities, or...well, you get it, yes? Would Rev be a viable option? Maybe not, the way it appears right now. So, in order to get new beginners truly interested in this venue, I was thinking there should be a set of well written, simple, ready-to-use, useful, and modifiable stacks, and also puposefully geared to breaking them down to analyze step-by-step, and modifying them, all done within the Free Edition. Things like a phone dialer, an MP3 playlist, a graph maker, a set of stack templates, etc. I'd be really interested in list feedback on this subject. Yours truly, Ken N. From graham.samuel at wanadoo.fr Sat Aug 9 15:17:01 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Sat Aug 9 15:17:01 2003 Subject: How can I copy a substack? Message-ID: <5.2.1.1.0.20030809220451.00c4a8b0@pop.wanadoo.fr> Folks, I've somehow deleted a whole substack from an app I'm working on (RunRev also crashed, but I can't repeat the error). I do have a backup (phew!) but it's a tad out of date in respect of other parts of the file. Therefore I want to copy the whole lost substack from my backup to my defective working version, but I don't see how to do it. There is no 'copy stack' feature either in the IDE or in the Transcript command set. I feel this has got to be possible but I need help. TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From bornstein at designeq.com Sat Aug 9 15:39:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Sat Aug 9 15:39:01 2003 Subject: Losing track of time Message-ID: <200308092032.h79KWns4006758@ms-smtp-03.nyroc.rr.com> >What are you using to calculate the exact timing? Have you tried >storing the seconds (or ticks) when the send is queued, capturing it >when the message is sent, and calculating elapsed time? Nah, I'm doing it very low-tech. I start the timer exactly on the hour and when it chimes I look at my system clock! I can see it's off by a few seconds. I guess I'm used to today's digital watches that are accurate to a minute a month. That's accurate to 2 seconds a day, not an hour. I don't mean to make a big deal out of this. I'm just surprised I'm losing time. If it turns out that the play command is blocking, it will explain everything. Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From briany at qldlearning.com Sat Aug 9 15:52:00 2003 From: briany at qldlearning.com (Brian Yennie) Date: Sat Aug 9 15:52:00 2003 Subject: How can I copy a substack? In-Reply-To: <5.2.1.1.0.20030809220451.00c4a8b0@pop.wanadoo.fr> Message-ID: <6D493DE6-CAAA-11D7-8D9B-000393AA08D2@qldlearning.com> Check out: set the mainStack of mySubstack to myMainstack HTH Brian > Folks, I've somehow deleted a whole substack from an app I'm working > on (RunRev also crashed, but I can't repeat the error). I do have a > backup (phew!) but it's a tad out of date in respect of other parts of > the file. Therefore I want to copy the whole lost substack from my > backup to my defective working version, but I don't see how to do it. > There is no 'copy stack' feature either in the IDE or in the > Transcript command set. I feel this has got to be possible but I need > help. > > TIA > > Graham > > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From pixelbird at interisland.net Sat Aug 9 16:05:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Aug 9 16:05:00 2003 Subject: Marketing Rev in Other Worlds In-Reply-To: <200308081015.GAA22089@www.runrev.com> Message-ID: Hi Robert, > Date: Fri, 8 Aug 2003 12:50:57 +0200 > From: Robert Brenstein > Subject: Re: Marketing Rev in Other Worlds (was Re: Script Limits and > solid IDE evolution!) > Good points. My reading on the recent changes and glimpes of planned > changes is that Rev is indeed moving in that direction. However, so > far, the strength of MetaCard were the professional developers (in a > loose definition of those) and some of the changes along the way (for > example, the forthcoming removal of dynamic script setting in > standalones -- the original topic of this thread) may alienate at > least some of them. What I am afraid of is that on the long term Rev > will become just another Hypercard. For sure more powerful and with > more features but not a tool competing seriously for commercial and > semi-commercial development. Of course, it does not have to be that > way and we can only hope the that Rev team ways their options > carefully and do not focus solely on making a quick buck on short > term. ---------- One thing against this sort of attitude, however is: What about beginners? HC's strength, as well as it's downfall to some degree, is that it is easy to learn. Rev's UI may be 'modern' but it is also daunting to beginners, and not much fun. What happened to the humor with which most early Mac programs made their mark? HyperCard is not only easy to start out on, but it is fun and it does a wonderful job of keeping it functional to where you don't need to look under the hood unless you're really interested in getting deeper. At the same time, it spawned a few runts that thought they were instant geniuses and which resulted in too much crapware foisted into the marketplace. That undoubtedly contributed to the dark side of its reputation. Actually, even some of those people saw their errors and learned to amend their ways and move ahead. The question, then, is this: How does Rev market its product in such a way as to appeal to beginners (where else should a beginner go?), while advancing its ability to produce topnotch professional apps? An IDE with which anyone can learn and grow at their own pace, and for their own purposes, without being intimidated. I think the answer lies in producing sets of simple, well-written, ready-to-use, easily disassembled stacks and stack templates, together with explanations of what is happening in the scripts. Something less than the DB. Best regards, Ken N. From gizmotron at earthlink.net Sat Aug 9 16:19:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 9 16:19:00 2003 Subject: For true beginners In-Reply-To: Message-ID: <96F16E6C-CAAE-11D7-8201-000A95859272@earthlink.net> On Saturday, August 9, 2003, at 10:13 AM, Ken Norris wrote: > So, in order to get new beginners truly interested in this venue, I was > thinking there should be a set of well written, simple, ready-to-use, > useful, and modifiable stacks, and also puposefully geared to breaking > them > down to analyze step-by-step, and modifying them, all done within the > Free > Edition. Things like a phone dialer, an MP3 playlist, a graph maker, a > set > of stack templates, etc. > > I'd be really interested in list feedback on this subject. > > Yours truly, > Ken N. Ken, Several months ago I downloaded the free limited version of RR and proved to myself that I could perfect a fast enough PNLP algorithm that I was using in Director. With the help of people on this list I was able to obtain enough advice to do speed testing in Rev for my algorithm. Several months later I was then able to write my first app, rev_blowfish.rev, the Blowfish encryption algorithm. Even though I'm not a beginner, I'm still very new to Revolution. I have the experience of learning Director. I remember being in the dark with that. It was a book called "Director Demystified" that got me over the hump of learning about variables, properties, object oriented programing and just about everything I know about programing. Before that book I almost gave up. Even though the programing examples in "Director Demystified" were written in a book they were so instructive in there step by step instruction as to help me, a beginner, get started. So to those out there writing books it might be a good idea to add a CD with stack examples to the back cover. Personally, I could use a stack example of file manipulation from a menu, with that example using a splash screen that saves the opened stack, say for instance a simple commercial grade text editor application. No, at this time I could not put one together real fast. I'm still struggling with RR and I'm not even a beginner. Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1989 bytes Desc: not available URL: From kray at sonsothunder.com Sat Aug 9 16:53:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 9 16:53:01 2003 Subject: For true beginners In-Reply-To: Message-ID: <001001c35ebf$a4da99e0$6801a8c0@LightningFlash> Ken, I think your suggestions are wonderful, and would fill a gap that is in real need. In fact the whole issue of "getting started in Rev" needs some work, IMHO. Sample stacks are good and will help new users get going. I remember developing a couple of stacks for SuperCard that helped people understand how to build menus and work with different kinds of buttons that could be done again (this no longer ships with SC, much to my dismay). Additionally, I think there needs to be more guidance when the program runs for the first time; a wizard that asks the user what programming they've done and carefully guides them to the information they need to adapt to Rev. I know a lot of this info is already in the online docs; it's just not "right there" and "hand-holding"-enough, IMHO. So I think your idea has tremendous merit. Oh, and BTW, if someone things they can build an HC-type tool in the .NET framework that is "simple and elegant", I'd be very surprised. ;-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Ken Norris > Sent: Saturday, August 09, 2003 12:14 PM > To: use-revolution at lists.runrev.com > Subject: For true beginners > > > Hello list, > > Over on the HC list (yes, it's still quite alive, but the > activity has dwindled to a handful of members) there has been > some discussion about yet another HC clone. The thread > starter is a programmer who was talking about building yet > another HC-type tool for MS' .NET framework, which I confess > I know nothing about, something 'simple and elegent' (his words). > > Of course, I directed him to Rev, but he said he thought it > was geared to the professional programming market and > therefore too complex and daunting for many people to bother > with, doesn't fit the criteria of 'simple and elegent'. > > I know exactly what he means. I miss HC's straightforward > GUI, and even the 'canned' stacks and scripts to modify. > These are precisely the reasons that father HC gained its > popularity among early Mac users and spawned what we now see > here. If I was looking at learning to write simple programs > for my own use, or if I was young student wanting to > experiment with programming solutions and school projects, or > if I was a grade school teacher needing to relieve some > pressures, or a retiree looking for an interesting hobby, or > aspirations for a small business where I needed options for > its peculiarities, or...well, you get it, yes? Would Rev be a > viable option? Maybe not, the way it appears right now. > > So, in order to get new beginners truly interested in this > venue, I was thinking there should be a set of well written, > simple, ready-to-use, useful, and modifiable stacks, and also > puposefully geared to breaking them down to analyze > step-by-step, and modifying them, all done within the Free > Edition. Things like a phone dialer, an MP3 playlist, a graph > maker, a set of stack templates, etc. > > I'd be really interested in list feedback on this subject. > > Yours truly, > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From erikhans08 at yahoo.com Sat Aug 9 17:09:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Aug 9 17:09:00 2003 Subject: For true beginners In-Reply-To: <001001c35ebf$a4da99e0$6801a8c0@LightningFlash> Message-ID: <20030809220235.37827.qmail@web20002.mail.yahoo.com> this sounds naive and simplistic, but couldn't a HC-ish RunRev shell be created with a simplified instruction set, just as RunRev is a shell for MC? charge something extra and keep everybody happy? of course Ken's learning stacks approach is better. make your own simplified instruction set. there is a lot of helpful info at various websites. check out the RunRev fanzine for some links. the authors personal names are given along with the URL. some were missed but in the fullness of time... Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From bvg at mac.com Sat Aug 9 17:18:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Aug 9 17:18:00 2003 Subject: For true beginners In-Reply-To: Message-ID: <527A5806-CAB6-11D7-BB9A-003065AD94A4@mac.com> On Samstag, Aug 9, 2003, at 19:13 Europe/Zurich, Ken Norris wrote: > ... > > So, in order to get new beginners truly interested in this venue, I was > thinking there should be a set of well written, simple, ready-to-use, > useful, and modifiable stacks, and also puposefully geared to breaking > them > down to analyze step-by-step, and modifying them, all done within the > Free > Edition. Things like a phone dialer, an MP3 playlist, a graph maker, a > set > of stack templates, etc. > > I'd be really interested in list feedback on this subject. How would it be if we made a kind of homestack with examples and guides, then we present it to the people at RunRev, so they can include it into their product? I would contribute to that maybe a "HomeStack" yahoo-group could be formed? From kray at sonsothunder.com Sat Aug 9 17:19:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 9 17:19:01 2003 Subject: Shifted field text- what to do? Message-ID: <001201c35ec3$3fd9ae10$6801a8c0@LightningFlash> I have this problem that the field is smaller than the text that is in it. When I tab into the field, the text is highlighted, but pushed off to the left. For example, a field that says "United States" in it, but unselected shows "United S" would end up showing "d States" when it was highlighted. When you tab out of the field, it *leaves* it that way. So I'm trying to do one or both of the following: 1) Keep the text from shifting to the left when it gets highlighted as the cursor enters the field 2) Keep the text from remaining shifted when I tab out of the field (or alternately, be able to restore the text to its original state when it tabs out Any ideas? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kkaufman at snet.net Sat Aug 9 18:43:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat Aug 9 18:43:01 2003 Subject: For true beginners Message-ID: <47EDBF38-CAC2-11D7-AA60-0003936D1F12@snet.net> Ken Ray wrote: "...I remember developing a couple of stacks for SuperCard that helped people understand how to build menus and work with different kinds of buttons..." Those were great, Ken; they certainly helped me when I was starting out with SuperCard (I'd played around with HC only briefly before discovering SC and COLOR!). -KK From kkaufman at snet.net Sat Aug 9 18:54:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat Aug 9 18:54:01 2003 Subject: QT players and audio (OS X dist.) Message-ID: On May 29th, 2003 I wrote: "Has anyone else noticed the following problem? Rev. 2.0 Mac OS 10.2.6 (or 10.2.x ?) OS X distributions, not within Rev development environment. QT players for audio or MIDI. The controller does not update properly and/or behaves erratically." I checked the Rev bugzilla, but find only a reference to problems with "callbacks". Not knowing much about this sort of thing, I wonder if this is a reference to the problem I mentioned above, or something else? BTW, the problem still exists with OS X distributions built with the Rev. 2.1 beta. Any info. appreciated. -Kurt From psahores at easynet.fr Sat Aug 9 19:07:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Aug 9 19:07:01 2003 Subject: Shifted field text- what to do? In-Reply-To: <001201c35ec3$3fd9ae10$6801a8c0@LightningFlash> References: <001201c35ec3$3fd9ae10$6801a8c0@LightningFlash> Message-ID: <3F358B09.7050408@easynet.fr> Ken Ray wrote: > I have this problem that the field is smaller than the text that is in > it. When I tab into the field, the text is highlighted, but pushed off > to the left. For example, a field that says "United States" in it, but > unselected shows "United S" would end up showing "d States" when it was > highlighted. When you tab out of the field, it *leaves* it that way. > > So I'm trying to do one or both of the following: > > 1) Keep the text from shifting to the left when it gets highlighted as > the cursor enters the field > > 2) Keep the text from remaining shifted when I tab out of the field (or > alternately, be able to restore the text to its original state when it > tabs out > > Any ideas? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi Ken try : > set the rightmargin of the target to 0 -- Bests, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From jeanne at runrev.com Sat Aug 9 19:15:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Aug 9 19:15:01 2003 Subject: Shifted field text- what to do? In-Reply-To: <001201c35ec3$3fd9ae10$6801a8c0@LightningFlash> Message-ID: At 3:11PM -0700 8/9/03, Ken Ray wrote: >I have this problem that the field is smaller than the text that is in >it. When I tab into the field, the text is highlighted, but pushed off >to the left. For example, a field that says "United States" in it, but >unselected shows "United S" would end up showing "d States" when it was >highlighted. When you tab out of the field, it *leaves* it that way. > >So I'm trying to do one or both of the following: > >1) Keep the text from shifting to the left when it gets highlighted as >the cursor enters the field > >2) Keep the text from remaining shifted when I tab out of the field (or >alternately, be able to restore the text to its original state when it >tabs out (I'm assuming the field has its dontWrap set to true.) Try this: on closeField set the hScroll of the target to zero end closeField on exitField closeField end exitField -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From capellan2000 at yahoo.com Sat Aug 9 19:18:08 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat Aug 9 19:18:08 2003 Subject: [ANN] New website with Revolution files Message-ID: <20030810001118.62049.qmail@web40504.mail.yahoo.com> Stacks and Pieces of Code for Runtime Revolution by Alejandro Tejada Capellan Download these experiments with the Polygon graphics of Revolution from this website: http://www.geocities.com/capellan2000/ BezierLine1_1.zip CurvedDrawingPen_v01.zip ScreenArtv1.zip SVGfiles.zip export_regular_polygons.zip graphics_transformations_01.zip mcEpsImportV03p.zip mcEPSJOIN.zip ===== Useful sites: http://www.sonsothunder.com/devres/metacard/tips/ and /revolution/tips/ http://lists.runrev.com/pipermail/metacard/ and /use-revolution/ http://wiki.macitworks.com/revdocs http://www.google.com/advanced_search?q=site:lists.runrev.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From kray at sonsothunder.com Sat Aug 9 19:42:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 9 19:42:00 2003 Subject: Shifted field text- what to do? In-Reply-To: Message-ID: <002801c35ed7$2d730c80$6801a8c0@LightningFlash> > (I'm assuming the field has its dontWrap set to true.) > > Try this: > > on closeField > set the hScroll of the target to zero > end closeField > > on exitField > closeField > end exitField Beautiful, Jeanne! This even works on openField, so both my problems are solved... Thanks! (This one's going on the tips list...) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From raney at metacard.com Sat Aug 9 19:52:01 2003 From: raney at metacard.com (Scott Raney) Date: Sat Aug 9 19:52:01 2003 Subject: RTE bug? [was Re: "Preview screen" button] References: <200308081252.IAA28378@www.runrev.com> Message-ID: <081e01c35ed8$b3efcd10$12d39cc0@xplaptop> On Fri, 08 Aug 2003 Graham wrote: > My comment is that this just happened to me yesterday, in a very slightly > different form. I had the name of an image in a variable, and this > statement crashed RunRev: > set the icon of btn "theGIF" of cd "Demo" to image ATgCurrentGIF of cd > "GIFWell" > As with John's problem, it was the token 'image' that caused the crash. I can't reproduce this. Does it depend on the image? Sure you're not just running out of memory or something? (your script does take all of the data in that image and start flinging it around, which of course is not what you wanted to do). > I found it totally repeatable - I think it's a bug in the engine. IMO, > **no** syntactically incorrect statement should crash RunRev, but this is > certainly what happens on my configuration (PC with Windows XP Home > Edition, French). This is all the more disturbing since logically the use > of the token 'image' appears to be correct - it appears to be an > eccentricity of the language that one **doesn't** have to put 'image' at > this point. Not at all: it's a *feature* that you can access the raw data in an image this way, by using it as a container. But the icon property take a number (an id), not the raw data (else, it'd be horribly inefficient because you'd have duplicate copies of all the image data around in each button that uses the icon). > If people agree it's a bug, I guess I will bugzilla it, although I have not > used bugzilla up to now because of the negative PR it's had on the list > (will it work on my totally standard copy of MSIE on this PC?) If it crashes, it's a bug and should be reported. But be sure to include a stack example where clicking on a button causes the crash: I suspect that there's something else going on here than what your original diagnosis would indicate. Regards, Scott > Graham > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France From scott at tactilemedia.com Sat Aug 9 20:15:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Aug 9 20:15:00 2003 Subject: Revolution speed sucks? In-Reply-To: <079D4CFC-C918-11D7-8B5C-000393529642@ARCplanning.com> Message-ID: > The subject line bugs me. People do get protective of their favorite > programming tools you know :-) A small request: let's not start a "no bashing the tool" movement. Members of this list have demonstrated their ability to act like adults and can draw their own conclusions. God help us if this forum degenerates into a policed SuperCard-like list where discussion of alternate programming options is prohibited. Bash, rant and argue away... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Sat Aug 9 20:16:41 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Aug 9 20:16:41 2003 Subject: Losing track of time In-Reply-To: <200308081730.h78HU6s4012707@ms-smtp-03.nyroc.rr.com> Message-ID: On 8/8/03 10:30 AM, "Howard Bornstein" wrote: > I've got a simple reminder program that takes a number (representing > minutes) and plays a chime when that many minutes is up. > > The reminder script is: > > on reminder > global SendID > > put fld "TheTime" into timer > send reminder to me in timer*60 seconds > put the result into sendID > play "chime2.wav" > > end reminder > > > The problem is that, for example, if I set the timer to chime every hour, > I am losing about 5 seconds each time I cycle through. Originally, this > was because I had the play "chime2.wav" command before the send reminder > command. So it would play the chime, which takes several seconds, before > resetting the time. > > But now I've switched the order to the above handler and I'm *still* > getting this lost time per cycle. > > Is it possible that the play command somehow stops the internal timer of > the send command? This seems highly unlikely but I can't think what else > would be causing this delay, which pushes me further past the hour as the > cycles continue. > > Any ideas? Possibly. Running your own timer might eventually get "out of sync" due to delays caused by mouse events in the stack, low level events that are processed by Rev, the system, etc. You might consider forgoing your custom timer and instead poll the current time infrequently. For example: on reminder # GCHIMETIME IS THE NEXT DESIGNATED CHIME HOUR (ie 11:00) global gChimeTime if word 1 of the time = gChimeTime then play "chime2.wav" convert gChimeTime to seconds add (60*60) to gChimeTime convert gChimeTime to time send "reminder" to me in 60 seconds #ALLOW TIME TO ADVANCE PAST THE HOUR else send "reminder" to me in 5 seconds end reminder Alternatively, you could send the time poll event repeatedly *around* the designated hour (say 30 seconds before to allow for delays, slowdowns, etc), and then send the next time poll event only when the current time is equal to the designated chime time. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rodneytamblyn at paradise.net.nz Sat Aug 9 20:22:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sat Aug 9 20:22:01 2003 Subject: [ANN] New website with Revolution files In-Reply-To: <20030810001118.62049.qmail@web40504.mail.yahoo.com> Message-ID: <71343219-CAD0-11D7-880F-003065F97100@paradise.net.nz> The links are broken... report "Sorry, the page you requested was not found".... R. On Sunday, August 10, 2003, at 12:11 PM, Alejandro Tejada wrote: > Stacks and Pieces of Code for > Runtime Revolution > by Alejandro Tejada Capellan > > Download these experiments with the > Polygon graphics of Revolution from this website: > http://www.geocities.com/capellan2000/ > > BezierLine1_1.zip > CurvedDrawingPen_v01.zip > ScreenArtv1.zip > SVGfiles.zip > export_regular_polygons.zip > graphics_transformations_01.zip > mcEpsImportV03p.zip > mcEPSJOIN.zip > > ===== > Useful sites: > http://www.sonsothunder.com/devres/metacard/tips/ and /revolution/tips/ > http://lists.runrev.com/pipermail/metacard/ and /use-revolution/ > http://wiki.macitworks.com/revdocs > http://www.google.com/advanced_search?q=site:lists.runrev.com > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From capellan2000 at yahoo.com Sat Aug 9 21:01:01 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat Aug 9 21:01:01 2003 Subject: [ANN] New website with Revolution files Message-ID: <20030810015426.43040.qmail@web40510.mail.yahoo.com> on Sat Aug 9 20:22:01 2003 Rodney Tamblyn use-revolution at lists.runrev.com wrote: >The links are broken... report "Sorry, the page you >requested was not found".... Actually, these are links to download files, not to visit pages. Later, I'll add information. In Mac, using Netscape, you had to keep the mousedown on the link to get a contextual menu. From themacguy at macosx.com Sat Aug 9 22:24:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Sat Aug 9 22:24:00 2003 Subject: Marketing Rev in Other Worlds In-Reply-To: <200308092121.RAA12870@www.runrev.com> Message-ID: <3C2A414A-CAE1-11D7-BB31-000A95763ABC@macosx.com> Ken, There is a Chinese proverb that goes something like this: "The journey difficulty lies not in the distant mountains but in the grains of sand in your shoe." It is the same with Rev. I'm sure we've all run into the small impediments that, in total, dissuade many who try Rev from adopting it. I can list 50 "gotchas" that, had there been enough accompanying stacks - stacks that were FULLY documented, have bitten me in the last 15 months I've been using Rev. It has been this list (and by that I mean the caring individuals working both for and in support of Rev) that has provided the assistance I've needed to "keep at it". I know that many of the questions I've asked have been covered. Once you know the answer it somehow re-defines the question and, of course, it shows up in a search of the list archives (or in the 1400 eMails I've saved since last year). The stacks/stack templates idea is wonderful. Top-notch documentation in every script in those stacks is even more critical. I'd also like to see a checklist for each distribution platform covering all of the "dumb" things you have to do (like having to create an extra handler for quitting an OSX app because the Distribution Builder steals the last two lines of your File menu). That checklist serves an additional purpose: It reminds RunRev that there are deficiencies in the IDE that need to be addressed. Regards, Barry On Saturday, Aug 9, 2003, at 15:21 America/Denver, Ken Norris wrote: > I think the answer lies in producing sets of simple, well-written, > ready-to-use, easily disassembled stacks and stack templates, together > with > explanations of what is happening in the scripts. Something less than > the > DB. > From HyperChris at aol.com Sat Aug 9 22:31:00 2003 From: HyperChris at aol.com (HyperChris at aol.com) Date: Sat Aug 9 22:31:00 2003 Subject: For true beginners Message-ID: <1c9.da91568.2c6714e5@aol.com> You know what is needed ? The silly little home stack that came with HC. It would simply link the user to the various example projects and other resources. That alone would get so many people started. It could be emphasized in the entry level version along with docs that gave people tips on how to navigate it and then how to get started on expanding the capabilities. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodneys at io.com Sat Aug 9 22:54:01 2003 From: rodneys at io.com (Rodney Somerstein) Date: Sat Aug 9 22:54:01 2003 Subject: Script Limits In-Reply-To: References: Message-ID: At 12:55 PM +0100 8/5/03, Kevin Miller wrote: >Hi, > >As part of the transition process in the MetaCard acquisition, we're working >out what to with the scriptLimits property when not developing with a >licensed IDE or the 30 day trial. We plan to reduce the first value in the >property, the one that lets you set scripts of 10 lines, to 0. So you'll >still be able to use "do" but otherwise this loophole will be closed. > >If anyone has any objections to this, please contact me off list. The main >objection I can see that someone might have is that they use this in their >existing standalone. If that is the case, we'll work something out with you >before making this change. > >Kind regards, > >Kevin Kevin, As someone who already doesn't like the 10 line limit for my pet project, I implore you not to limit this even more. I'm trying to develop an engine that lets users create board games to play online. This requires my loading in modules that players have designed and setting the scripts of game component objects. While I understand that you won't let unlicensed users enter scripts of any length, limiting this prevents me from easily setting the actions of playing pieces, spaces on the board, card capabilities, etc. This is a freeware project, so asking users to license Rev is not even a remote possibility. As others have mentioned, environments such as Director allow for this kind of adaptive programming. Please don't tighten this restriction even more than it already is. Thanks, Rodney Somerstein From ambassador at fourthworld.com Sat Aug 9 23:02:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 9 23:02:01 2003 Subject: Marketing Rev in Other Worlds In-Reply-To: <3C2A414A-CAE1-11D7-BB31-000A95763ABC@macosx.com> Message-ID: Barry Levine wrote: > It is the same with Rev. I'm sure we've all run into the small > impediments that, in total, dissuade many who try Rev from adopting > it. I can list 50 "gotchas" that, had there been enough accompanying > stacks - stacks that were FULLY documented, have bitten me in the last > 15 months I've been using Rev. Please do. Perhaps the toughest part of writing tutorials is "unlearning", attempting to step into the mind of the new user to anticipate potential spikes in the learning curve. And for anyone interesting in writing tutorials, remember that RevNet has a category for those and thus far it has the fewest entries..... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kray at sonsothunder.com Sat Aug 9 23:04:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 9 23:04:01 2003 Subject: Script Limits In-Reply-To: Message-ID: <003a01c35ef3$65eeab70$6801a8c0@LightningFlash> Rodney, It looks like you missed Kevin's follow up post entitled: "Re: Script limit - clarify please" yesterday; he clarified all of this and everything's OK... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Rodney Somerstein > Sent: Saturday, August 09, 2003 10:47 PM > To: use-revolution at lists.runrev.com; metacard at lists.runrev.com > Cc: Kevin Miller > Subject: Re: Script Limits > > > At 12:55 PM +0100 8/5/03, Kevin Miller wrote: > >Hi, > > > >As part of the transition process in the MetaCard acquisition, we're > >working out what to with the scriptLimits property when not > developing > >with a licensed IDE or the 30 day trial. We plan to reduce > the first > >value in the property, the one that lets you set scripts of > 10 lines, > >to 0. So you'll still be able to use "do" but otherwise > this loophole > >will be closed. > > > >If anyone has any objections to this, please contact me off > list. The > >main objection I can see that someone might have is that > they use this > >in their existing standalone. If that is the case, we'll work > >something out with you before making this change. > > > >Kind regards, > > > >Kevin > > > Kevin, > > As someone who already doesn't like the 10 line limit for my pet > project, I implore you not to limit this even more. I'm trying to > develop an engine that lets users create board games to play online. > This requires my loading in modules that players have designed and > setting the scripts of game component objects. While I understand > that you won't let unlicensed users enter scripts of any length, > limiting this prevents me from easily setting the actions of playing > pieces, spaces on the board, card capabilities, etc. This is a > freeware project, so asking users to license Rev is not even a remote > possibility. > > As others have mentioned, environments such as Director allow for > this kind of adaptive programming. Please don't tighten this > restriction even more than it already is. > > Thanks, > > Rodney Somerstein _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Sat Aug 9 23:08:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 9 23:08:00 2003 Subject: Script Limits In-Reply-To: Message-ID: <003c01c35ef3$f3ee7220$6801a8c0@LightningFlash> This was a thread that was on the MetaCard list that generated a ton of posts, and before anyone who is reading this for the first time thinks that Rev is going to tweak the scriptlimits and start a new avalanche of posts on THIS list, let me assure you that Kevin sent a follow-up email yesterday that said (in part): ------------ I clearly misjudged just how controversial this proposal was going to be. There was *never* any question of existing customers being unable to access an engine that allowed this if they were already used to it. I thought that sentiment was clear from my original post. That said, Richard is reading me like a book - we clearly won't be enacting it any time soon. And...if we do enact it in the future, we'll work out *special arrangements for existing customers* with standalones that are going to break. Note that, as indicated from in my original email, we were, and will continue, to find ways to ensure that existing customers don't lose out. You are the people that have supported us from the start, and as we change the model here and there to take on new markets, you can expect: more features faster, more support options, and a lot of effort in making our policies backward compatible ------------ So basically: Everything's cool. There's nothing to see here... move along... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Rodney Somerstein > Sent: Saturday, August 09, 2003 10:47 PM > To: use-revolution at lists.runrev.com; metacard at lists.runrev.com > Cc: Kevin Miller > Subject: Re: Script Limits > > > At 12:55 PM +0100 8/5/03, Kevin Miller wrote: > >Hi, > > > >As part of the transition process in the MetaCard acquisition, we're > >working out what to with the scriptLimits property when not > developing > >with a licensed IDE or the 30 day trial. We plan to reduce > the first > >value in the property, the one that lets you set scripts of > 10 lines, > >to 0. So you'll still be able to use "do" but otherwise > this loophole > >will be closed. > > > >If anyone has any objections to this, please contact me off > list. The > >main objection I can see that someone might have is that > they use this > >in their existing standalone. If that is the case, we'll work > >something out with you before making this change. > > > >Kind regards, > > > >Kevin > > > Kevin, > > As someone who already doesn't like the 10 line limit for my pet > project, I implore you not to limit this even more. I'm trying to > develop an engine that lets users create board games to play online. > This requires my loading in modules that players have designed and > setting the scripts of game component objects. While I understand > that you won't let unlicensed users enter scripts of any length, > limiting this prevents me from easily setting the actions of playing > pieces, spaces on the board, card capabilities, etc. This is a > freeware project, so asking users to license Rev is not even a remote > possibility. > > As others have mentioned, environments such as Director allow for > this kind of adaptive programming. Please don't tighten this > restriction even more than it already is. > > Thanks, > > Rodney Somerstein _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From ambassador at fourthworld.com Sat Aug 9 23:18:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 9 23:18:01 2003 Subject: RevNet enhancements: PAD and more... Message-ID: With the current interest in downloadable example files, remember that RevNet has a large and growing index of such things, including tutorials, tools, games, and more. To help make it even easier to add files to RevNet's Stacks index I'm considering adding support for a common XML format already popular for such things: PAD ("Portable Application Description", ). But before I add support for PAD submissions in RevNet, it makes sense to see how many of you are already using PAD and how many more might if there was a simple tool for creating and updating PAD files. While there are many such tools around, they're simple enough to make that doing so in Rev makes a lot of sense. I addition to other niceties it could read properties from your stacks put there by the Distribution Builder to automate some of the steps. If well commented such a plugin could also serve as a tutorial itself, and it could also be made into a standalone as an omni-platform "business card" for its contributors and Rev itself (in addition to being a useful tool of course). If anyone is interested in _contributing_ (I'm assuming everyone making commercial wares will want to _use_ it ) to the development, maintenance, and/or support of a Rev-based PAD generator please send me an email off-list and if there's sufficient interest I'll put together a RevPAD discussion group on Yahoo. In the meantime, the current file submission form to add stack files to RevNet is pretty easy as it is, and with the latest update it now remembers your user info so making multiple submissions is a breeze. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jeanne at runrev.com Sun Aug 10 00:52:00 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Aug 10 00:52:00 2003 Subject: QT players and audio (OS X dist.) In-Reply-To: Message-ID: At 4:48PM -0700 8/9/03, Kurt Kaufman wrote: >QT players for audio or MIDI. The controller does not update properly >and/or behaves erratically." > >I checked the Rev bugzilla, but find only a reference to problems with >"callbacks". Not knowing much about this sort of thing, I wonder if >this is a reference to the problem I mentioned above, or something >else? BTW, the problem still exists with OS X distributions built with >the Rev. 2.1 beta. Is this what you're seeing? (from the release notes): Issue: When using QuickTime 5, the controller thumb in a player does not always update properly while a movie is playing. This issue is being actively investigated with Apple. Workaround: Do something that will force the controller to be redrawn: for example, set the player's showController property to false in a preOpenCard handler and back to true in an openCard handler, or the reverse with the alwaysBuffer property. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From themacguy at macosx.com Sun Aug 10 00:54:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Aug 10 00:54:01 2003 Subject: New Users In-Reply-To: <200308100256.WAA20415@www.runrev.com> Message-ID: <10D7195A-CAF6-11D7-92AD-000A95763ABC@macosx.com> I just wanted to amplify a bit on what I wrote earlier this evening. Rev's "deficiencies" stand out only because the rest of the IDE (99%) is insanely great stuff. So when I make comments that may seem somewhat less than congratulatory (?) about Rev, it's only because these "grains of sand" are so noticeable in comparison to the rest of its beauty. Regards, Barry On Saturday, Aug 9, 2003, at 20:56 America/Denver, Barry wrote: > The stacks/stack templates idea is wonderful. Top-notch documentation > in every script in those stacks is even more critical. I'd also like to > see a checklist for each distribution platform covering all of the > "dumb" things you have to do (like having to create an extra handler > for quitting an OSX app because the Distribution Builder steals the > last two lines of your File menu). That checklist serves an additional > purpose: It reminds RunRev that there are deficiencies in the IDE that > need to be addressed. From sylvain at bouju.net Sun Aug 10 01:03:00 2003 From: sylvain at bouju.net (Sylvain Bouju) Date: Sun Aug 10 01:03:00 2003 Subject: For true beginners In-Reply-To: Message-ID: <1fzgt6r.un1yi11bm8t7eM%sylvain@bouju.net> Ken Norris wrote: > Things like a phone dialer, an MP3 playlist, a graph maker, a set > of stack templates, etc. I think that a very basic but multi-plateform adress book, with some import/export capabilities with the most used actual PIM would be a good learning tool, IMHO From miscdas at boxfrog.com Sun Aug 10 01:20:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sun Aug 10 01:20:01 2003 Subject: New website with Revolution files In-Reply-To: <20030810015426.43040.qmail@web40510.mail.yahoo.com> References: <20030810015426.43040.qmail@web40510.mail.yahoo.com> Message-ID: <20030810061315.18622.qmail@www.boxfrog.com> Alejandro Tejada writes: > on Sat Aug 9 20:22:01 2003 > Rodney Tamblyn use-revolution at lists.runrev.com > wrote: > >>The links are broken... report "Sorry, the page you >>requested was not found".... > > Actually, these are links to download files, > not to visit pages. Later, I'll add information. > > In Mac, using Netscape, you had to keep the mousedown > on the link to get a contextual menu. > From the choices, select "save link as". > In Windows, you select "save target as". > > I'll write about this in the page. > > Thanks for reporting. > > Alejandro =============== Alejandro, Rodney is correct; something is amiss with the links (or else Yahoo has a MAJOR problem!). On Win XP Pro, IE6.0, no matter what method is tried, an error is reported. e.g. "...The requestd site is either unavailable or cannot be found..." miscdas From wmb at internettrainer.com Sun Aug 10 04:36:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 10 04:36:00 2003 Subject: I speak French, so I think that I can't use Revolution, aaaaargh. In-Reply-To: Message-ID: On Saturday, Aug 9, 2003, at 00:21 Europe/Vienna, tkuypers at pandora.be wrote: > Sorry to intrude, but I DON'T speak French... > And as far as I know, our Scottish friends from RR and a lot of other > people > on this list don't either, so do you mind posting in English? Maybe we > can > be of any assistance when we know what you are talking about... > me too, but please let them speak french if they prefer it... If they think that other should understand it too, then they will change to english, -- Imho > And for the lack of French documentation: So what? There is no German, > Spanish, Dutch documentation either... > > Not being able to use special characters: ok, baaaaddddddd Revolution, > nice > to have Bugzilla... maybe I have missed something, but what the real tool for us now Revolution or Bugzilla...=;0) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Sun Aug 10 04:43:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 10 04:43:01 2003 Subject: I speak German, so I think that I can't use Revolution, merde :-) In-Reply-To: <04ff01c35dea$05c2aa80$0100a8c0@user> Message-ID: On Friday, Aug 8, 2003, at 22:16 Europe/Vienna, Tuviah Snyder wrote: > Is reported already and is being fixed. The problem was that when we > went to > Mach-O architecture, we had to use UTF-8 for file names. Therefore > internally we have to convert from Mac/ISO to UTF-8 when specifying > file > names and vice versa when getting filenames. > > So please be patient, developing a dynamic rad tool which supports all > platforms and > all languages in the world is not an easy task for any development > team. Ohhh, I cant believe it - an explication of a problem... Very well done, Tuviah! You should do PR not developing of RR...;) Thanks..! regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Sun Aug 10 06:44:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 10 06:44:00 2003 Subject: For true beginners In-Reply-To: <1fzgt6r.un1yi11bm8t7eM%sylvain@bouju.net> Message-ID: Sylvain, On Sunday, Aug 10, 2003, at 07:56 Europe/Vienna, Sylvain Bouju wrote: > Ken Norris wrote: > >> Things like a phone dialer, an MP3 playlist, a graph maker, a set >> of stack templates, etc. > > I think that a very basic but multi-plateform adress book, > with some import/export capabilities with the most used > actual PIM would be a good learning tool, IMHO Is that what a beginner really needs...? As mentioned Mark in the first post. But a true beginner imho is not a person with some years experience of Basic, xtalk, Direktor, Javascript or even html... A true beginner is a real true beginner in scripting... Imho an example how to program a PIM is not the right thing. Why..? Some reasons: 1) We still have a great example of scripting the first tool and you cant do it better: http://www.hyperactivesw.com/mctutorial/index.html The only small cosmetic it needs for a real beginner(home) stack is get out the comparison to HC. 2) At the same time thats a perfect start for old HC scripter... But, is that included in the rev packet...? The problem is: All this instruction I have seen are starting with the *second* or maybe the third step called: Hello world A true beginner, needs another thing than scripting hello world. He needs... *An overview about the whole tool * A good explication about the stack/card metapher, *before* he goes in tho the details and start to write the first line of script: Hello world. *A real introduction which shoes him what rev could do in the future for him, if he is willing to learn/(struggle)... *A kind of "try and error"-stack with out the standard scripting error warnings... A module library with prefabricated scripts to solve problem *at the beginning* he will learn to solve later Ant that should not be integrated in the tool itself. That helps nothing. If a beginner opens the tool he wants to do anything, not to search in the Index, cookbook etc. which are tooooo big for beginners. That comes later on.. Let me say that with the words of Antoine de Saint Exuperys little prince: Wenn du Leute suchst um ein Boot zu bauen, dann sprich nicht ?ber die Arbeit, sondern erz?hle ihnen von der Weite und der Freiheit des Meeres... (Maybe Klaus or Malte can translate it better). If you nee people to build a ship, then dont talk about the kind of work wich must be done, tell them about the freedom and wideness of the see... To build this packet, is a job, which cant be done by experienced *programmers* neither a technical persons. I think I have seen here only a few persons which could do that: Dan Shafer or Jacqueline and some friends of mine from the german revboard, because they are persons which are able to think with the head of a beginner... That idea of the "true beginner" is nearly as old as the list itself, based allways on hello world. Nearly everybody can reproduce "hello world" with the cook book. But reproducing with a cookbook and producing another ting without i, are 2 very different things. Hence a real beginner could be very fast lost in scripting/error-space and will have his first big frustration. If he cant or is not willing to pass that frustration, he is lost for rev... And believe me, I know what kind of frustrations rev can build in a "non-scripters brain"... Such a kind of packet is revs missing link to start for true beginners, and thats what the good old b/w HC is still ahead. my 2 cent regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From kkaufman at snet.net Sun Aug 10 07:30:00 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Aug 10 07:30:00 2003 Subject: QT players and audio (OS X dist.) Message-ID: <7D87712A-CB2D-11D7-9237-0003936D1F12@snet.net> Jeanne A. E. DeVoto wrote: "Is this what you're seeing? (from the release notes): Issue: When using QuickTime 5, the controller thumb in a player does not always update properly while a movie is playing. This issue is being actively investigated with Apple. Workaround: Do something that will force the controller to be redrawn: for example, set the player's showController property to false in a preOpenCard handler and back to true in an openCard handler, or the reverse with the alwaysBuffer property" Thanks for your reply, Jeanne. I did notice the problem mentioned in the release notes, but I am using QuickTime 6. The proposed workaround is not effective in this case. I would doubt this is an Apple/QuickTime issue, since ***the controller updates normally when the stack is run in the Revolution editing environment ***; this is only a problem with distributions built for OS X. -Something about the way the distribution communicates with QT vs. Revolution itself. Thanks again, Kurt From graham.samuel at wanadoo.fr Sun Aug 10 09:14:00 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Sun Aug 10 09:14:00 2003 Subject: RTE bug? [was Re: "Preview screen" button] Message-ID: <5.2.1.1.0.20030810154500.00c4aaf8@pop.wanadoo.fr> On Sat, 9 Aug 2003 18:45:29 -0600, "Scott Raney" wrote: >On Fri, 08 Aug 2003 Graham wrote: > > My comment is that this just happened to me yesterday, in a very slightly > > different form. I had the name of an image in a variable, and this > > statement crashed RunRev: > > > set the icon of btn "theGIF" of cd "Demo" to image ATgCurrentGIF of cd > > "GIFWell" > > > As with John's problem, it was the token 'image' that caused the crash. > >I can't reproduce this. Does it depend on the image? Sure you're not just >running out of memory or something? (your script does take all of the data >in that image and start flinging it around, which of course is not what you >wanted to do). Don't think so - but I will do more tests to boil the thing down before declaring it as a bug. > > I found it totally repeatable - I think it's a bug in the engine. IMO, > > **no** syntactically incorrect statement should crash RunRev, but this is > > certainly what happens on my configuration (PC with Windows XP Home > > Edition, French). This is all the more disturbing since logically the use > > of the token 'image' appears to be correct - it appears to be an > > eccentricity of the language that one **doesn't** have to put 'image' at > > this point. > >Not at all: it's a *feature* that you can access the raw data in an image >this way, by using it as a container. But the icon property take a number >(an id), not the raw data (else, it'd be horribly inefficient because you'd >have duplicate copies of all the image data around in each button that >uses the icon). Well, I see what you mean internally, but for me the issue is that as a scripter, I would expect to refer to any object by its object type and its name, like image "myImage" graphic "myGrc" etc. Clearly the engine just wants the ID, but it's willing to get it from the name of the object. I never included the ID directly in my icon-setting: a bit of code which works is set the icon of button "myChangingButton" of cd "Display" to ATgCurrentGIF where ATgCurrentGIF just contains the short name of a GIF (i.e. not an ID). So from the point of view of 'syntactic sugar', the scripter expects to have to qualify the object's name with its type. The scripter is not apparently dealing with IDs at all. Since writing my first message on this topic, I have found that since ID's are not unique across stacks, a statement like set the icon of button "myChangingButton" to "myAnimatedGIF" doesn't always work. If the engine can find "myAnimatedGIF", it extracts its ID and uses this to set the icon, but in fact some kind of scope rules are operating. If "myAnimatedGIF" resides for example in a card in another stack, and if there is a more local object with the same ID (not the same name), it's this one's picture that will end up in the button and not the picture from "myAnimatedGIF". I now have to work out how to avoid this. It will be worth it because this combination of buttons and icons (suggested on the list) does provide me with what I need - a series of different pictures which share the same set of custom properties and the same script. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From kkaufman at snet.net Sun Aug 10 09:39:00 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Aug 10 09:39:00 2003 Subject: [ANN] New website with Revolution files Message-ID: <804ECEE3-CB3F-11D7-AF32-0003936D1F12@snet.net> http://www.geocities.com/capellan2000/BezierLine1_1.zip http://www.geocities.com/capellan2000/CurvedDrawingPen_v01.zip http://www.geocities.com/capellan2000/ScreenArtv1.zip http://www.geocities.com/capellan2000/SVGfiles.zip http://www.geocities.com/capellan2000/export_regular_polygons.zip http://www.geocities.com/capellan2000/graphics_transformations_01.zip http://www.geocities.com/capellan2000/mcEpsImportV03p.zip http://www.geocities.com/capellan2000/mcEPSJOIN.zip From kkaufman at snet.net Sun Aug 10 09:50:00 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Aug 10 09:50:00 2003 Subject: [ANN] New website with Revolution files Message-ID: Oops! Forgot to write: All of these links seem to work only if I copy them, paste them into the address text box of I.E. 5.23 (OS X) and hit "return". Why this is so? -No idea! http://www.geocities.com/capellan2000/BezierLine1_1.zip http://www.geocities.com/capellan2000/CurvedDrawingPen_v01.zip http://www.geocities.com/capellan2000/ScreenArtv1.zip http://www.geocities.com/capellan2000/SVGfiles.zip http://www.geocities.com/capellan2000/export_regular_polygons.zip http://www.geocities.com/capellan2000/graphics_transformations_01.zip http://www.geocities.com/capellan2000/mcEpsImportV03p.zip http://www.geocities.com/capellan2000/mcEPSJOIN.zip -Kurt From klaus at major-k.de Sun Aug 10 10:09:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Aug 10 10:09:00 2003 Subject: [ANN] New website with Revolution files In-Reply-To: Message-ID: Hi Kurt, > Oops! Forgot to write: > All of these links seem to work only if I copy them, paste them into > the address > text box of I.E. 5.23 (OS X) and hit "return". Why this is so? -No > idea! "Smart" browsers like "Camino" work as exspected... My higher education forbids further comments*... :-D (*On your browser, of course... ;-) > http://www.geocities.com/capellan2000/BezierLine1_1.zip > ... > http://www.geocities.com/capellan2000/mcEPSJOIN.zip > > -Kurt Regards Klaus Major klaus at major-k.de www.major-k.de From capellan2000 at yahoo.com Sun Aug 10 10:17:10 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun Aug 10 10:17:10 2003 Subject: [ANN] New website with Revolution files Message-ID: <20030810150937.14099.qmail@web40511.mail.yahoo.com> I present my excuses to everyone. There was an error in the link to the root directory. It's solved now. Thanks again for the feedback. Alejandro ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From gizmotron at earthlink.net Sun Aug 10 10:39:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 10 10:39:00 2003 Subject: New Users In-Reply-To: <10D7195A-CAF6-11D7-92AD-000A95763ABC@macosx.com> Message-ID: <46952F09-CB48-11D7-8FB9-000A95859272@earthlink.net> On Saturday, August 9, 2003, at 10:47 PM, Barry Levine wrote: >> things you have to do (like having to create an extra handler >> for quitting an OSX app because the Distribution Builder steals the >> last two lines of your File menu). All, So that's what happened to that last item in the menu. I sure could use a fast start checklist like that. It's easier to program if you know the secrets. Unfortunately when I learned Director there was no fast list for that either. It took years of reading the Director-L list and reading several of the available books to find these little jewels of wisdom. Has anyone assembled even the beginnings of a "checklist for each distribution platform" for Revolution? Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 771 bytes Desc: not available URL: From jhurley at infostations.com Sun Aug 10 11:10:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sun Aug 10 11:10:00 2003 Subject: Convert frequency to RGB In-Reply-To: <200308101131.HAA01927@www.runrev.com> References: <200308101131.HAA01927@www.runrev.com> Message-ID: I am trying to create the effect of gradually running through all colors of the visible spectrum. Unfortunately there is very little correlation between frequency (or wavelength) and the RGB numbers used to represent color on the screen. I know that algorithms exist but I have had no experience with this. I have come up with a real cludge (below). It is not smooth. Anyone out there had any experience with this sort of thing? (I don't mean the handler itself. That can be streamlined. I mean the basic algorithm. Something that moves more smoothly through the electromagnetic spectrum.) on mouseUP put 255 into r put 0 into g put 0 into b put 1 into dr put 1 into dg put 1 into db put 5 into theWait --red to yellow (255,0,0)to (255,255,0) repeat 255 set the backgroundcolor of graphic 1 to r,g,b add dg to g wait theWait millisec end repeat -- yellow to green (255,255,0) to (0,255,0) repeat 255 set the backgroundColor of graphic 1 to r,g,b subtract dr from r wait theWait millisec end repeat --green to blue (0,255,0) to (0,0,255) repeat 255 set the backgroundColor of graphic 1 to r,g,b subtract dg from g add db to b wait theWait millisec end repeat --blue to violet (0,0,255) to (127,0,127) repeat 127 set the backgroundColor of graphic 1 to r,g,b add dr to r subtract db from b wait theWait millisec end repeat end mouseUP Jim From mikkimi at mindspring.com Sun Aug 10 11:48:00 2003 From: mikkimi at mindspring.com (Michael Robinson) Date: Sun Aug 10 11:48:00 2003 Subject: Scrolling a field - using the mouse wheel to scroll a field Message-ID: <928D9A37-CB51-11D7-B235-0003938404E8@mindspring.com> Would someone point me in the right direction for using the mouse wheel to scroll a field? From swartart at iafrica.com Sun Aug 10 12:49:00 2003 From: swartart at iafrica.com (Ryno Swart) Date: Sun Aug 10 12:49:00 2003 Subject: For true beginners In-Reply-To: <200308092121.RAA12870@www.runrev.com> Message-ID: True beginners are in a tiny spot of trouble now, I would say. Ever since Apple Media Tool, I have been looking for a simple and elegant multimedia application, and, apart from Dan Gelder's Serf, Rev has been the first one to excite me. My thanks and admiration for that. Rev is VERY difficult to learn, and I have been playing (wrestling) with it for a long time now. It has only been with the help of kind people like Klaus that I now feel I may be getting on top of it. But I have had the Starter Kit from day one of Rev (the name somehow makes it less intimidating), and only now am I getting those little wow!s that should be there from the moment of installing. Now what is a true beginner going to do with 30 days? There HAS to be an application for beginners, and it has to have some free component. I would bet that every single person in this group got started in this way. Because this vacuum exists, it will be filled. Much better it be filled by the Revolution team. Ryno. http://artistvision.org ...a work in progress... From MFItz53 at comcast.net Sun Aug 10 13:23:01 2003 From: MFItz53 at comcast.net (MFItz53 at comcast.net) Date: Sun Aug 10 13:23:01 2003 Subject: playStopped message Message-ID: <200308101722.NAA09385@www.runrev.com> I am going back to one of my first efforts with Revolution(a jukebox player) to attempt to clean out lots of useless script and hidden fields. However, I am running into one of the original problems I encountered when I first made the stack. When I try to handle the playStopped message in any manner at all, I get 2 playStopped messages. on playStopped do anything end playStopped This will repeat whatever handler call I insert in there. If I remember correctly, this is mainly the reason I had put all of the workarounds into the stack. Sorry to bring you all down to where the atmosphere is a little thicker, but if anyone here can point out an answer it sure would be a help. Thanks mike From mikkimi at mindspring.com Sun Aug 10 14:50:00 2003 From: mikkimi at mindspring.com (Michael Robinson) Date: Sun Aug 10 14:50:00 2003 Subject: For true beginners In-Reply-To: Message-ID: <36823C08-CB69-11D7-915F-0003938404E8@mindspring.com> Ken & all on this thread. There is my 2 cents worth. I am not a beginner or a pro, I am somewhere in-between depending on what I am try to do (as my posting today about the scroll-wheel on my mouse will tell you). I also started with hypercard 1.x, but you could not build a standalone application with it and that ended-up killing it for me. But Revolution, what a program for people with little or no programing skills! What is lacking is some documentation about how to (I am thinking hypercard here) open stacks, look at how things work, print the scripts and study them. I did this with a sample application that come with Revolution "Employe DataBase" written by Richard Gaskin . Richard Gaskin's work on this, with his extensive comments on the why's, where's and how to write scripts to execute no matter what platform you do a build for is just brilliant. As I read through some of the postings here I can sometimes tell when when other people are using "Employe DataBase" as a starting point and if you have to start somewhere it does not get any better than "Employe DataBase". My hat's off to you Richard! Just one more note to all the people at Revolution , I am very happy to be involved with this program and company behind it. What I see a development program in constant development (which was so unlike hypercard) and has responded to all of my questions. Viva La Revolution! Mike Robinson -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1518 bytes Desc: not available URL: From jswitte at bloomington.in.us Sun Aug 10 15:00:01 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Sun Aug 10 15:00:01 2003 Subject: "Drag rearranging" in scrolling fields Message-ID: <68C519A0-CB5D-11D7-B3F1-000393BF0854@bloomington.in.us> Hi, Has anyone written a stack to implement "drag rearrangement" behavior in a field? I want to be able to put text into a field, then drag lines around to rearrange them, and then get a list of lines that have been moved. Thanks, Jim From shaosean at unitz.ca Sun Aug 10 16:04:00 2003 From: shaosean at unitz.ca (Shao Sean) Date: Sun Aug 10 16:04:00 2003 Subject: Ext Collection: Opensourcing Message-ID: <200308102057.QAA24288@bright.unitz.ca> i can slap it on my site if you want.. ----- Original Message Follows ----- > If anyone is willing to host this stuff, I can contribute > at least one external with it's source... From kray at sonsothunder.com Sun Aug 10 16:40:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Aug 10 16:40:00 2003 Subject: Scrolling a field - using the mouse wheel to scroll a field In-Reply-To: <928D9A37-CB51-11D7-B235-0003938404E8@mindspring.com> Message-ID: <00a401c35f86$fa943860$6801a8c0@LightningFlash> Michael, It should just happen automatically (does for me in Win XP and Mac OS X in MC 2.5). If not, you can trap the rawKeyDown for the field and get the numeric value for the scrollwheel. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Michael Robinson > Sent: Sunday, August 10, 2003 11:42 AM > To: Revolution Revolution > Subject: Scrolling a field - using the mouse wheel to scroll a field > > > Would someone point me in the right direction for using the > mouse wheel > to scroll a field? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From malte.brill at t-online.de Sun Aug 10 16:58:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Sun Aug 10 16:58:01 2003 Subject: "Drag rearranging" in scrolling fields In-Reply-To: <200308101603.MAA07347@www.runrev.com> Message-ID: Hi Jim, >Has anyone written a stack to implement "drag rearrangement" behavior >in a field? I want to be able to put text into a field, then drag >lines around to rearrange them, and then get a list of lines that have >been moved. I have. But my script is a bit hard to read. I post it anyway. If you want I can send the stack offlist. create a stack 2 fields: (the second one is for changing contens) one is called dragfield, one newName: dragfield must be a list field, no multiple hilites in dragFields script I have: global whichLine,dertext,counter2,lasthilite2 on mousedown add 1 to counter2 if the clickline is empty then put 0 into counter2 end if if counter2=2 then put 0 into counter2 if lasthilite2=the hilitedline of me and me is not empty then put the selectedText into fld "neuername2" set the loc of fld "neuername2" to item 1 of the loc of fld // "neuername2",the top of me+the hilitedline of me*12-the vscroll of me --mind wraping show fld "neuername2" focus on fld "neuername2" select the text of fld "neuername2" else hide fld "neuername2" end if else hide fld "neuername2" end if put the hilitedline of me into lasthilite2 set the dragPos of me to true set the hilitecolor of me to 160,220,255 if me is empty then mouseUp put the hilitedline of me into whichLine put the selectedtext of me into dertext if the clickline is empty then set the hilitedlines of me to empty end mousedown on mouseStillDown if the dragpos of me is false then exit mousestilldown if the hilitecolor of me<>170,255,0 then set the hilitecolor of me // to 170,255,0 --mind wrapping end mouseStillDown on mouseUp set the dragPos of me to false set the hilitecolor of me to 160,220,255 end mouseUp on mouserelease mouseUp end mouserelease on selectionChanged put the hilitedlines of me into compare if not the dragpos of me then exit selectionchanged if compare<>whichline then delete line whichLine of me put dertext & CR before line compare of me if char 1 of me is CR then delete char 1 of me if char -1 of me is CR then delete char -1 of me set the hilitedlines of me to compare end if end selectionchanged The second field called neuername2 is just for changing the contens of the (slowly) twice clicked line global lasthilite2,counter2 on enterinField if me is empty then put "untitled" into me end if put me into line lastHilite2 of fld "dragField" put 0 into counter2 hide me end enterinField on returninfield enterinfield end returninfield on scrollbarDrag enterinfield end scrollbarDrag It does not exactly what you need, asit doesn?t report which lines have been moved, but that would be easy to implement and it has some nice extra stuff I guess. Hope this is not too confusing. Regards, Malte From jeanne at runrev.com Sun Aug 10 17:02:08 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Aug 10 17:02:08 2003 Subject: QT players and audio (OS X dist.) In-Reply-To: <7D87712A-CB2D-11D7-9237-0003936D1F12@snet.net> Message-ID: At 5:23 AM -0700 8/10/03, Kurt Kaufman wrote: >Thanks for your reply, Jeanne. I did notice the problem mentioned in >the release notes, but I am using QuickTime 6. The proposed workaround >is not effective in this case. I would doubt this is an Apple/QuickTime >issue, since ***the controller updates normally when the stack is run >in the Revolution editing environment ***; this is only a problem with >distributions built for OS X. -Something about the way the >distribution communicates with QT vs. Revolution itself. OK. I have not seen this problem, but if you have a reproducible case it should definitely be filed in Bugzilla. You asked about existing callback-related reports earlier - this doesn't seem to be related. (A callback in a QT movie is a message that's sent automatically when the movie reaches a certain point - see the callbacks property in the Transcript dictionary - and isn't related to the way the controller's displayed.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From jeanne at runrev.com Sun Aug 10 17:02:20 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Aug 10 17:02:20 2003 Subject: Scrolling a field - using the mouse wheel to scroll a field In-Reply-To: <928D9A37-CB51-11D7-B235-0003938404E8@mindspring.com> Message-ID: At 9:42 AM -0700 8/10/03, Michael Robinson wrote: >Would someone point me in the right direction for using the mouse wheel >to scroll a field? On OS X, Unix, and Windows systems, scrolling the mouse wheel sends a rawKeyDown message you can intercept - see "How to respond to scroll wheel actions" in the docs for more. (Mouse wheel actions aren't supported on Mac OS pre-10.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From monte at sweattechnologies.com Sun Aug 10 18:16:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Aug 10 18:16:01 2003 Subject: OZRUG moving Message-ID: Hi I'm not sure if I was clear the other day that to subscribe to the Australian Revolution Users Group you need to send an email to majordomo at sweattechnologies.com with a bessage body of 'subscribe ozrug'. Thanks Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From briany at qldlearning.com Sun Aug 10 18:48:00 2003 From: briany at qldlearning.com (Brian Yennie) Date: Sun Aug 10 18:48:00 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: <2B0EAD04-CB8C-11D7-9A6D-000393AA08D2@qldlearning.com> Amen! BTW, I did indeed out of curiosity port the Perl code behind this thread almost line-by-line into MetaTalk. The result? No matter how hard I tried the Perl code ran at least 10% faster. Not a big difference, but the MetaTalk was NOT a clear winner by any means. That doesn't mean Perl is faster. But on this particular script, it seems it's AT LEAST comparable. Other tasks would get different results, different approaches could be taken with each tool, BOTH scripts could be optimized, etc, etc. But the point is, just because we love the speed of Rev, don't think that other languages always have to stink. Personally, I'd still pick MetaTalk over Perl for a lot of tasks. But not all of them. And I wouldn't always make the right choice. 'Nuff said. Brian > > A small request: let's not start a "no bashing the tool" movement. > Members > of this list have demonstrated their ability to act like adults and > can draw > their own conclusions. God help us if this forum degenerates into a > policed > SuperCard-like list where discussion of alternate programming options > is > prohibited. > > Bash, rant and argue away... From sarahr at genesearch.com.au Sun Aug 10 22:10:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 10 22:10:00 2003 Subject: Best way to repeat on a timer? In-Reply-To: <16.33b679e1.2c6507b7@aol.com> Message-ID: <1E3E0EEA-CBA8-11D7-9F79-0003937A97B8@genesearch.com.au> I would say that your messages are multiplying until there are dozens of them all firing off shell commands. In your checkStatus handler, before you send the next message, cancel and pending ones, with a script like this: put the pendingMessages into tMess repeat for each line p in tMess if item 3 of p contains "checkStatus" then cancel item 1 of p end repeat This will cancel any checkStatus messages that are found and leave you with a clean slate for the next round. Cheers, Sarah On Saturday, August 9, 2003, at 12:08 am, RGould8 at aol.com wrote: > I've got an app that needs to poll the user's network settings every 3 > seconds.? I'm presently doing this by calling a unix command via the > shell command in Revolution on Mac OS X. > > The problem I'm having is that, while this seems to work, it makes > dragging the application window very jittery when the app is running.? > I suspect this is because I might be creating a memory-hogging timer > loop.? Here's what I'm doing: > > on opencard > ???? send "checkstatus" to this stack > end opencard > > > on checkstatus > ???? put shell(unixcallgoeshere) into field "status result" > ???? send "checkstatus" to this stack in 3 seconds > end checkstatus > > > The unix call I'm using spits back it's result instantaneously, so > there shouldn't be a backlog via the unix side of things.? Is it bad > to have a handler call itself via a timer - - - does that create some > sort of "nesting" problem? > ??? > From pixelbird at interisland.net Sun Aug 10 22:22:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Aug 10 22:22:00 2003 Subject: For true beginners In-Reply-To: <200308092120.RAA12828@www.runrev.com> Message-ID: on 8/9/03 5:20 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Date: Sat, 9 Aug 2003 15:02:35 -0700 (PDT) > From: erik hansen > Subject: RE: For true beginners > > > this sounds naive and simplistic, but couldn't > a HC-ish RunRev shell be created with a > simplified instruction set, > just as RunRev is a shell for MC? ---------- Actually, such a thing already exists in the form of "FreeGUI", a HC-like GUI for MC: ...but I don't know what effect the recent acquisition of MC by Rev has on it. It can only be used with the Free Edition without paying for Rev's license anyway, so, I assume. nothing. Regards, Ken N. From sarahr at genesearch.com.au Sun Aug 10 22:24:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 10 22:24:00 2003 Subject: Tools palette Message-ID: <3E7D2196-CBAA-11D7-9F79-0003937A97B8@genesearch.com.au> Has anyone else had the problem of the Tools palette disappearing and not coming back? Sometimes, it just disappears. It is still ticked in the Tools menu and de-selecting/selecting it there does no good. Command-T doesn't help either - the only solution is to shut down Revolution and start it again. I can't work out what causes it to disappear, no pattern has emerged yet, so I can't really bugzilla it, but I would be interested to know if anyone else has encountered such a problem. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From michaell at unimelb.edu.au Sun Aug 10 23:09:01 2003 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Sun Aug 10 23:09:01 2003 Subject: pageIncrement in scrollbars Message-ID: I am having trouble with scrollbars. It seems as if clicking in the grey area of a scrollbar object changes the thumbPosition by the pageIncrement minus the lineIncrement. Thus if I make them equal there is no effect from clicking in the grey area. If the pageInc is less than the lineInc then the thumb moves backwards! Am I confused? ...well, I AM confused, but is that what is really happening? -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From steve at nexpath.com Sun Aug 10 23:18:04 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Sun Aug 10 23:18:04 2003 Subject: Tools palette In-Reply-To: <3E7D2196-CBAA-11D7-9F79-0003937A97B8@genesearch.com.au> References: <3E7D2196-CBAA-11D7-9F79-0003937A97B8@genesearch.com.au> Message-ID: <3F3716E9.6030500@nexpath.com> Sarah wrote: > Has anyone else had the problem of the Tools palette disappearing and > not coming back? Sometimes, it just disappears. It is still ticked in > the Tools menu and de-selecting/selecting it there does no good. > Command-T doesn't help either - the only solution is to shut down > Revolution and start it again. > > I can't work out what causes it to disappear, no pattern has emerged > yet, so I can't really bugzilla it, but I would be interested to know if > anyone else has encountered such a problem. > I've seen it plenty. Seems more prevalent on Linux than Windows. I've learned to use the pull down menus. Also have trouble with the property inspector disappearing, but it comes back when you close the script editor, maybe that is by design. -Steve From pixelbird at interisland.net Sun Aug 10 23:19:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Aug 10 23:19:01 2003 Subject: For true beginners In-Reply-To: <200308092120.RAA12828@www.runrev.com> Message-ID: Hello Bjornke and others, > Date: Sun, 10 Aug 2003 00:10:44 +0200 > Subject: Re: For true beginners > From: =?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?= > How would it be if we made a kind of homestack with examples and > guides, then we present it to the people at RunRev, so they can include > it into their product? > I would contribute to that maybe a "HomeStack" yahoo-group could be > formed? ---------- I see your idea and raise you a couple more. First, I wasn't thinking of actually make an HC Home Stack look-alike (and I don't think you were either), but if you mean a stack full of *ready-to-use* samples, buttons, fields, graphics, windows, UIs, menus, stack templates, with free access to well commented scripts, then yes, absolutely, I like it. Plus, you could also include a basic instruction set...the kind that assume the user hasn't done any real programming before. This isn't intended to knock Jeanne's wonderful efforts with the docs, but rather to introduce an earnest first-timer into the world of programming computers, and help them through the birth pangs. And also, a toggleing player window which acts like a bot that explains the basics as it opens itself up to a student, and allows for breaking it down into parts. A sort of building block version of, say, an address stack. Something simple they can actually *use* immediately, and modify, i.e., make more complex, as they go. You could choose from a list of options that shows the student how to add and alter it to taste, too. Just a few more cents worth. Ken N. From sarahr at genesearch.com.au Sun Aug 10 23:27:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 10 23:27:01 2003 Subject: For true beginners In-Reply-To: Message-ID: If I remember back to my early HyperCard days, there were a couple of stacks called "Readymade Buttons" and "Readymade Fields" which showed how to do a variety of neat things. They were also designed to be easily copied & pasted into any other stack. A well commented set of useful examples like this would be a good starting point and allow beginners to get going with just some copy & paste work rather than actual scripting. Sarah On Monday, August 11, 2003, at 02:15 pm, Ken Norris wrote: > Hello Bjornke and others, > >> Date: Sun, 10 Aug 2003 00:10:44 +0200 >> Subject: Re: For true beginners >> From: =?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?= > >> How would it be if we made a kind of homestack with examples and >> guides, then we present it to the people at RunRev, so they can >> include >> it into their product? >> I would contribute to that maybe a "HomeStack" yahoo-group could be >> formed? > ---------- > I see your idea and raise you a couple more. First, I wasn't thinking > of > actually make an HC Home Stack look-alike (and I don't think you were > either), but if you mean a stack full of *ready-to-use* samples, > buttons, > fields, graphics, windows, UIs, menus, stack templates, with free > access to > well commented scripts, then yes, absolutely, I like it. > > Plus, you could also include a basic instruction set...the kind that > assume > the user hasn't done any real programming before. > > This isn't intended to knock Jeanne's wonderful efforts with the docs, > but > rather to introduce an earnest first-timer into the world of > programming > computers, and help them through the birth pangs. > > And also, a toggleing player window which acts like a bot that > explains the > basics as it opens itself up to a student, and allows for breaking it > down > into parts. A sort of building block version of, say, an address stack. > Something simple they can actually *use* immediately, and modify, > i.e., make > more complex, as they go. > > You could choose from a list of options that shows the student how to > add > and alter it to taste, too. > > Just a few more cents worth. > > Ken N. > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From pixelbird at interisland.net Mon Aug 11 01:22:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Aug 11 01:22:01 2003 Subject: For true beginners In-Reply-To: <200308110312.XAA18476@www.runrev.com> Message-ID: Hi Mike, > Date: Sun, 10 Aug 2003 12:31:17 -0700 > Subject: Re: For true beginners > From: Michael Robinson > > Richard Gaskin's work on this, with his > extensive comments on the why's, where's and how to write scripts to > execute no matter what platform you do a build for is just brilliant. > As I read through some of the postings here I can sometimes tell when > when other people are using "Employe DataBase" as a starting point and > if you have to start somewhere it does not get any better than "Employe > DataBase". ---------- Yes, I agree, it's probably the best thing going, (many thanks to Richard), and while I find it is presents a reasonable scripting model I still found it a little over the head of a beginner. And it's generic enough to modify for other things, but it doesn't cover what I'm talking about. Most HC users didn't start right out dealing with scripts at all, but simply by using stack templates for any number of different solutions, any one of which could be modified from a selection of 'canned' buttons and fields, i.e., prewritten elements. With Rev, a dynamic difference could be had by doing similar things with palette windows, which are severely limited (without delving deeply into HC's PLTE resource) in HC. For example, if Rev could supply the potential beginner with a really useful set of 'canned' palettes, it would go a long way to opening the possibilities of using Rev without ever typing a word of script. Then, as they get used to the ease of making their own apps, they can begin to look at deeper customizing by opening up the hood (or 'bonnet' if you're a Brit ;-)), and adding/altering scripts, and, eventually writing their own scripts from scratch. If we start with the unknown, i.e., 'How Does Rev Work?', and work backwards to a known point, i.e., 'Clicking This Button Makes X Happen', then anyone will automatically know where they are when they start out. When I taught navigation to Civil Air Patrol cadets, I would start with objects moving in space and work down to lines drawn on the earth's surface. As I got closer to familiar frames of reference, I could literally watch the lights come on in their heads. Then we'd get out the charts and plot a course to another airport, go get into the aircraft, and fly to it. It worked every time...they understood it, and acquired a skill they could use the rest of their lives. Ken N. From ambassador at fourthworld.com Mon Aug 11 03:25:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 11 03:25:00 2003 Subject: For true beginners In-Reply-To: Message-ID: Ken Norris wrote: >> Richard Gaskin's work on this, with his >> extensive comments on the why's, where's and how to write scripts to >> execute no matter what platform you do a build for is just brilliant. >> As I read through some of the postings here I can sometimes tell when >> when other people are using "Employe DataBase" as a starting point and >> if you have to start somewhere it does not get any better than "Employe >> DataBase". > ---------- > Yes, I agree, it's probably the best thing going, (many thanks to Richard) And to Jeanne. A lot of the detailed comments there were added by her diligence. ... > If we start with the unknown, i.e., 'How Does Rev Work?', and work backwards > to a known point, i.e., 'Clicking This Button Makes X Happen', then anyone > will automatically know where they are when they start out. That's one of the cool things about the User Contributions listing at . Just about everythng there can be put to use as soon as its downloaded, but you can also dig into them and poke around freely -- and if you break something no worries, just download a fresh copy. :) ... > When I taught navigation to Civil Air Patrol cadets, I would start with > objects moving in space and work down to lines drawn on the earth's surface. > As I got closer to familiar frames of reference, I could literally watch the > lights come on in their heads. That's one of the reasons I love the work of Charles and Ray Eames: they had an unusual knack for communicating scale in understandable terms. Their most famous work along these lines was "Powers of Ten" , which illustrates scales from galactic to subatomic by starting with a person napping on a lawn and stepping out 10x successively and then stepping in 10x successively. With their formal training having been in architecture and 2D design, they're another great example of how innovations in instructional design can come from outside the formal instructional design community. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Mon Aug 11 03:29:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 11 03:29:01 2003 Subject: Revolution speed sucks? In-Reply-To: <2B0EAD04-CB8C-11D7-9A6D-000393AA08D2@qldlearning.com> Message-ID: Brian Yennie wrote: > BTW, I did indeed out of curiosity port the Perl code behind this > thread almost line-by-line into MetaTalk. The result? No matter how > hard I tried the Perl code ran at least 10% faster. Not a big > difference, but the MetaTalk was NOT a clear winner by any means. > > That doesn't mean Perl is faster. But on this particular script, it > seems it's AT LEAST comparable. > > Other tasks would get different results, different approaches could be > taken with each tool, BOTH scripts could be optimized, etc, etc. But > the point is, just because we love the speed of Rev, don't think that > other languages always have to stink. > > Personally, I'd still pick MetaTalk over Perl for a lot of tasks. But > not all of them. And I wouldn't always make the right choice. Does the timing include the time taken to display the results? With the rich text records created by Rev I wonder how it would compare with Perl if the display portion of the code were omitted.... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From taillade.m at wanadoo.fr Mon Aug 11 05:10:01 2003 From: taillade.m at wanadoo.fr (taillade) Date: Mon Aug 11 05:10:01 2003 Subject: Unable to switch to version 2. Message-ID: <222FF890-CBE3-11D7-B5C0-000A959C7026@wanadoo.fr> My application comprises something like 50 identical stacks organized around a ?start using? stack including all the scripts. It is for me a very useful tool (first developed with Hypercard) used every day and working perfectly on version 1.1.1. When the version 2.00 and now version 2.02. came, I did several tries and never succeeded to have the program working correctly although it works perfectly on version 1.1.1. Worse, crashes seems to corrupt the Revolution application itself which freezes and refuses to restart when after closing I want to reopen it? -------------- Structure of the application At level zero there are Stack0, StackBibliotheque with all the scripts and folders FolderA, FolderB, FolderC ? Inside FolderA there are StackA1, StackA2, StackA3? all at the same level and identical. Inside FolderB there are StackB1, StackB2, ? all at the same level and identical to the preceding one. Within each stack properties I don?t forget (when opening one after the other) to specify the stackfile paths of the stacks with which they have to communicate. In fact, all stacks scripts are identical except Stack1 and StackBibliotheque. ------- How it works The application start by clicking and opening directly Stack0. Th directory is specified when preopening Stack0 using some lines like: On preopenstack global vgDirectorySommaire put the filename of this stack into vabsolutepath set itemDel to "/" put item 1 to -2 of the fileName of this stack into vgDirectorySommaire set the directory to vgDirectorySommaire ?. On stack0, there are buttons BtnA1, BtnB1, Btn C1. leading respectively to StackA1, StackB1, StackC1? For example when I click on BtnA1 I open StackA1 using : do "go stack"&&vgintitulestackactif where vgintitulestackactif is a variable containing the name of the stack like StackA1 (and not ?StackA1?). When preopening StackA1, the new directory is specified using the same way than above and for all other stacks): On preopenstack global vgDirectorySommaire put the filename of this stack into vabsolutepath set itemDel to "/" put item 1 to -2 of the fileName of this stack into vgDirectorySommaire set the directory to vgDirectorySommaire ?. Until there it works correctly and I am able to open StackA1 and return to Stack0, open StackB1 and return to Stack0, open StackC1 and return to Stack0. Now the problems begin ? I have StackA1 open (with the directory defined on preopenstack) and want to go to StackA2 (inside FolderA and at the same level than StackA1 ). By clicking on the sensible word StackA2 on StackA1 I should be able to go to StackA2? (and it works perfectly with version 1.1.1); in fact with version 2, I enter an endless loop which I must stop and then only I am able to go to StackA2 (the path of StackA2 seems to have been put in memory because I am able to go to StackA1, StackA2, StackA1,Stack0?). I have the same endless loop when from Stack0 (by clicking on BtnB1) I try to go to StackB1 for the first time? Obviously I have a problem with the path of the directory; I read several time the "File paths on OS X systems:" section of the "About filename specifications and file paths" in the documentation but I was unable to understand what is the way. I have the feeling the solution is very simple but I can?t move (and test because I have Revolution application freezing) and I am obliged to stay with version 1.1.1. It is frustrating ? An help would be welcome. Michel Taillade -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 3641 bytes Desc: not available URL: From P.Jimmieson at csc.liv.ac.uk Mon Aug 11 05:28:00 2003 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Mon Aug 11 05:28:00 2003 Subject: Tools palette In-Reply-To: <3E7D2196-CBAA-11D7-9F79-0003937A97B8@genesearch.com.au> References: <3E7D2196-CBAA-11D7-9F79-0003937A97B8@genesearch.com.au> Message-ID: Sarah wrote: >Has anyone else had the problem of the Tools palette disappearing >and not coming back? Sometimes, it just disappears. It is still >ticked in the Tools menu and de-selecting/selecting it there does no >good. Command-T doesn't help either - the only solution is to shut >down Revolution and start it again. Hi Sarah, I've seen it too, with 2.01 on OSX 10.2.6. -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Chadwick Building, Peach Street Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From yvescoppe at skynet.be Mon Aug 11 05:37:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon Aug 11 05:37:00 2003 Subject: Tools palette In-Reply-To: Message-ID: Le lundi, 11 ao? 2003, ? 12:21 Europe/Brussels, Phil Jimmieson a ?crit : > Sarah wrote: >> Has anyone else had the problem of the Tools palette disappearing and >> not coming back? Sometimes, it just disappears. It is still ticked in >> the Tools menu and de-selecting/selecting it there does no good. >> Command-T doesn't help either - the only solution is to shut down >> Revolution and start it again. > > Hi Sarah, > I've seen it too, with 2.01 on OSX 10.2.6. > > I too on Mac OS X 10.2.6 with Rv 2.0.2 > > Greetings. Yves COPPE yvescoppe at skynet.be From psahores at easynet.fr Mon Aug 11 05:46:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Mon Aug 11 05:46:00 2003 Subject: Tools palette In-Reply-To: <3F3716E9.6030500@nexpath.com> References: <3E7D2196-CBAA-11D7-9F79-0003937A97B8@genesearch.com.au> <3F3716E9.6030500@nexpath.com> Message-ID: <3F377263.90303@easynet.fr> Steve Gehlbach wrote: > Sarah wrote: > >> Has anyone else had the problem of the Tools palette disappearing and >> not coming back? Sometimes, it just disappears. It is still ticked in >> the Tools menu and de-selecting/selecting it there does no good. >> Command-T doesn't help either - the only solution is to shut down >> Revolution and start it again. >> >> I can't work out what causes it to disappear, no pattern has emerged >> yet, so I can't really bugzilla it, but I would be interested to know >> if anyone else has encountered such a problem. >> > > I've seen it plenty. Seems more prevalent on Linux than Windows. I've > learned to use the pull down menus. Also have trouble with the property > inspector disappearing, but it comes back when you close the script > editor, maybe that is by design. > > -Steve > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > I believe that, in using Rev 2.xx, under Linux, at least (no win32 box, there), it's by feature that the property inspector desappears each time the script editor is opened and reappears the script editor is closed. -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From rleddy at svn.net Mon Aug 11 06:20:00 2003 From: rleddy at svn.net (Richard Leddy) Date: Mon Aug 11 06:20:00 2003 Subject: DLL Absence and SWIG comment Message-ID: <3F334E99.90205@svn.net> Thanks to all for directing me to MetaCard FTP. Yes, the interface to the rest of the world obviously did not get much attention in the external implementation, but it is a place to start. To see this stuff takes me back about ten years. While getting frustrated about Revolution last night, I spent some time looking at openOffice.org. Very interesting. Do they support CORBA? Do they compile? Do they have a small memory footprint? Do they use a language model other than Basic? I tried to download the source. 36Mb. My cheesy TCP/IP card broke down 75% of the way through after 50min. OpenOffice is on all platforms. But, what is the revolution advantage? I have scripted SuperCard and VisualBasic and Director. Used Java. I think it is best to tie the script to the object. VB puts it into one script. It appends names to handlers. A script per object leaves you with the universal event lingua - events as axioms rather than afterthoughts. Also, VB attempts object typing in a cumbersome way. LISP like indiscretion seems better when dealing with molar objects like buttons, or polygons, etc. The discourse about such objects does not seem to need machine level characteristics for types. So, with Revolution and precursers, you get property management of objects as way of managing types; that's the way to go. However, strong typing is useful in predicting the efficiency of an algorithm. So, external libraries are needed. STL and templating in C++ has lead to excellent portability. Also, progamming is quite productive in this realm, but not for graphic displays. STL does not address visualization, for example. So, the two programming approaches can be quite symbiotic and complementary; the two being semantic scripting and hard computation. There needs to be externals. SWIG is quite impressive. I think I will experiment with it. Of course it does not address what CORBA addresses, which is a transparency of the the tier formation behind seemlessly integrated API's. That is, SWIG puts the function in the build, but does not assume the function may be executed on another machine in another town. Both SWIG and CORBA would make a big difference to Revolution. CORBA is already accepted in enterprise development. (Perhaps I missed something about CORBA in Revolution?) Thoughts.... It's getting late. Thanks again. From p.scheurer at revoca.ch Mon Aug 11 06:20:25 2003 From: p.scheurer at revoca.ch (Revoca Support) Date: Mon Aug 11 06:20:25 2003 Subject: QuickTime with Win2000 Client Message-ID: <00058F5C-CB28-11D7-BE05-003065B0D48C@revoca.ch> Is this bug a compiling problem? In my application are images, movies and sounds played. This media-files can be read from CD's or from lokal HD's or from a LAN-server. With Windows2000 clients are files show as images, but not with the QuicktimePlayer, when the files should be readed from a server. Movies or sounds, witch are played with the QuickTime - player, are played from CD's and from lokal HD's but not from any server. The problem does not exist on WinXP clients and it doesn't matter what type of server is used. If the files are first copied from the server to the clients HD, movies are shown. Peter From rodney_tamblyn at yahoo.com Mon Aug 11 06:20:37 2003 From: rodney_tamblyn at yahoo.com (Rodney Tamblyn) Date: Mon Aug 11 06:20:37 2003 Subject: selecting groups Message-ID: A very basic question which has probably been asked before.... When I select a group, the resize handles appear around the edge, however when I attempt to click on the object and drag (to resize it), the group deselects. How can I select and resize a group using the mouse? ~ Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From giles.wheatley at openspark.com Mon Aug 11 06:45:00 2003 From: giles.wheatley at openspark.com (Giles Wheatley) Date: Mon Aug 11 06:45:00 2003 Subject: New user In-Reply-To: <20030809041908.39597.qmail@web11904.mail.yahoo.com> Message-ID: <000001c35ffd$11fc5520$0201010a@armadam700> Hi, I have recently downloaded the trial version and am having some difficulty in getting started. I have completed the tutorials which has sparked my interest but cannot find any documentation that will get me up and running fast. I am an experienced programmer but need to quickly get an understanding of how things should hang together. Any pointers to documentation or examples would be appreciated. Regards Giles Wheatley OpenSpark Interactive Ltd From giles.wheatley at openspark.com Mon Aug 11 07:00:00 2003 From: giles.wheatley at openspark.com (Giles Wheatley) Date: Mon Aug 11 07:00:00 2003 Subject: For true beginners In-Reply-To: Message-ID: <000101c35fff$3d464360$0201010a@armadam700> Where can I get a copy of the Employee Database example? Giles > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Ken Norris > Sent: 11 August 2003 04:20 > To: use-revolution at lists.runrev.com > Subject: Re: For true beginners > > > Hi Mike, > > > Date: Sun, 10 Aug 2003 12:31:17 -0700 > > Subject: Re: For true beginners > > From: Michael Robinson > > > > Richard Gaskin's work on this, with his > > extensive comments on the why's, where's and how to write > scripts to > > execute no matter what platform you do a build for is just > brilliant. > > As I read through some of the postings here I can sometimes > tell when > > when other people are using "Employe DataBase" as a > starting point and > > if you have to start somewhere it does not get any better than > > "Employe DataBase". > ---------- > Yes, I agree, it's probably the best thing going, (many > thanks to Richard), and while I find it is presents a > reasonable scripting model I still found it a little over the > head of a beginner. And it's generic enough to modify for > other things, but it doesn't cover what I'm talking about. > > Most HC users didn't start right out dealing with scripts at > all, but simply by using stack templates for any number of > different solutions, any one of which could be modified from > a selection of 'canned' buttons and fields, i.e., prewritten elements. > > With Rev, a dynamic difference could be had by doing similar > things with palette windows, which are severely limited > (without delving deeply into HC's PLTE resource) in HC. For > example, if Rev could supply the potential beginner with a > really useful set of 'canned' palettes, it would go a long > way to opening the possibilities of using Rev without ever > typing a word of script. > > Then, as they get used to the ease of making their own apps, > they can begin to look at deeper customizing by opening up > the hood (or 'bonnet' if you're a Brit ;-)), and > adding/altering scripts, and, eventually writing their own > scripts from scratch. > > If we start with the unknown, i.e., 'How Does Rev Work?', and > work backwards to a known point, i.e., 'Clicking This Button > Makes X Happen', then anyone will automatically know where > they are when they start out. > > When I taught navigation to Civil Air Patrol cadets, I would > start with objects moving in space and work down to lines > drawn on the earth's surface. As I got closer to familiar > frames of reference, I could literally watch the lights come > on in their heads. Then we'd get out the charts and plot a > course to another airport, go get into the aircraft, and fly > to it. It worked every time...they understood it, and > acquired a skill they could use the rest of their lives. > > Ken N. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > > From vikramsingh at mailandnews.com Mon Aug 11 07:19:00 2003 From: vikramsingh at mailandnews.com (Vikram Singh) Date: Mon Aug 11 07:19:00 2003 Subject: New user Message-ID: <3F39A35C@mailandnews.com> The folder: Components > help > tutorials > excercises And information is provided in Independent Study tutorial. Also, be sure to search the archives of this list at: Vikram ----- Original Message ----- From: "Giles Wheatley" To: Sent: Monday, August 11, 2003 5:07 PM Subject: New user > Hi, > > I have recently downloaded the trial version and am having some > difficulty in getting started. I have completed the tutorials which has > sparked my interest but cannot find any documentation that will get me > up and running fast. I am an experienced programmer but need to quickly > get an understanding of how things should hang together. > > Any pointers to documentation or examples would be appreciated. > > Regards > Giles Wheatley > OpenSpark Interactive Ltd From rodneytamblyn at paradise.net.nz Mon Aug 11 08:17:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Mon Aug 11 08:17:00 2003 Subject: hide group - what gives? Message-ID: <8137B3BB-CBFD-11D7-A801-003065F97100@paradise.net.nz> In Metacard hiding a group makes the group and all it's members invisible... but in revolution it just hides the group element itself. Can someone enlighten me why this is and how I can go about getting back the desired behavour? Thanks. ~ Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From revolution at knowledgeworks.plus.com Mon Aug 11 08:26:00 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Mon Aug 11 08:26:00 2003 Subject: New user Message-ID: <20030811141916.knowledgeworks@Plus.Net> >> Any pointers to documentation or examples would be appreciated. << There is also an overview (from the Runrev people before they were Runrev) of the metacard engine: http://www.xworlds.com/metacard/ I would also recommend buying a copy of Dan Winkler et al "Hypertalk 2.2 - the Book". Until some of the forthcoming Revolution books appear, it is a good source of information on the language. I have seen copies on Amazon.com Bernard From alrice at ARCplanning.com Mon Aug 11 09:38:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 11 09:38:00 2003 Subject: Externals [was: How to place revVideograbber bundle inside of the app bundle? ] In-Reply-To: Message-ID: <8BDCEB6C-CC08-11D7-B045-000393529642@ARCplanning.com> OK Malte and Brian: You think you have it all figured out? ;-) Explain this one to me. I'm still scratching my head. But it works and it's how I'm doing it in my app. 1) Create a stack with a substack 2) Set the externals property of the substack to "revxml.bundle" -- no path, just the bundle name 3) Put this script in the preOpenStack handler put the fileName of this stack into tFileName set the itemDelimiter to "/" get item 1 to -2 of tFileName set the defaultFolder to it -- this changes it from .../My.app to .../My.app/Contents/MacOS 4) On the substack's card, make some kind of hello world revxml test & verify it works. 5) Build the distribution as standalone, but do not select XML 6) Copy revxml.bundle into the Contents/MacOS subfolder of the app (same folder as the executable itself) 7) Run and Test. In my test, revxml works! Anyone know why? For some reason this combination of a substack using the external, and changing the defaultFolder, enables one to use the a bundle within the application bundle without having to hardcode it's path into the externals property. A good side effect is that you can rename My.app to Whatever.app and it'll still work. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From janschenkel at yahoo.com Mon Aug 11 09:41:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 11 09:41:00 2003 Subject: "Drag rearranging" in scrolling fields In-Reply-To: <68C519A0-CB5D-11D7-B3F1-000393BF0854@bloomington.in.us> Message-ID: <20030811143420.13342.qmail@web11906.mail.yahoo.com> --- Jim Witte wrote: > Hi, > > Has anyone written a stack to implement "drag > rearrangement" behavior > in a field? I want to be able to put text into a > field, then drag > lines around to rearrange them, and then get a list > of lines that have > been moved. > > Thanks, > Jim > Hi Jim, A while ago I wrote a stack that can do this ; direct link : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jhurley at infostations.com Mon Aug 11 09:46:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Aug 11 09:46:01 2003 Subject: Tools palette In-Reply-To: <200308110312.XAA18556@www.runrev.com> References: <200308110312.XAA18556@www.runrev.com> Message-ID: > >Message: 14 >Date: Mon, 11 Aug 2003 13:16:48 +1000 >From: Sarah >Subject: Tools palette >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > >Has anyone else had the problem of the Tools palette disappearing and >not coming back? Sometimes, it just disappears. It is still ticked in >the Tools menu and de-selecting/selecting it there does no good. >Command-T doesn't help either - the only solution is to shut down >Revolution and start it again. > >I can't work out what causes it to disappear, no pattern has emerged >yet, so I can't really bugzilla it, but I would be interested to know >if anyone else has encountered such a problem. > >Cheers, >Sarah >sarahr at genesearch.com.au >http://www.troz.net/Rev/ > Sarah, I've not had this particular problem. But I often lose the ability to bring up the properties palette. (This is in 1.1.1--I can't use use 2.0--still waiting for the debugger fix.) Double clicking doesn't work, nor does control clicking and selecting "properties", nor selecting "Object properties" in the RR menu. Has anyone found a way past this--besides restarting RR? A thought just occurred to me. How about "go to stack revTools" in the message box? Of course that may be just the message sent by the command/control "T" or the RR menu item. I think I'll try go to stack revpropertyPalette1 to bring up the properties palette--the next time I lose access to the properties palette. (revpropertyPalette2 is potentially dangerous.) Jim From janschenkel at yahoo.com Mon Aug 11 09:48:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 11 09:48:00 2003 Subject: Unable to switch to version 2. In-Reply-To: <222FF890-CBE3-11D7-B5C0-000A959C7026@wanadoo.fr> Message-ID: <20030811144118.1669.qmail@web11908.mail.yahoo.com> --- taillade wrote: > My application comprises something like 50 identical > stacks organized > around a ?start using? stack including all the > scripts. > It is for me a very useful tool (first developed > with Hypercard) used > every day and working perfectly on version 1.1.1. > > [snipping the indepth description] > > I have the feeling the solution is very simple but I > can?t move (and > test because I have Revolution application freezing) > and I am obliged > to stay with version 1.1.1. It is frustrating ? > > An help would be welcome. > > Michel Taillade > Bonjour Michel, Have you tried stepping through the scripts in order to see where it goes wrong ? It's possible that you set a custom property somewhere and it gets stuck in an endless loop that way (setProp behaviour was altered in version 2.0). Hope this helps, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alrice at ARCplanning.com Mon Aug 11 09:48:22 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 11 09:48:22 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: On Saturday, August 9, 2003, at 07:06 PM, Scott Rossi wrote: >> The subject line bugs me. People do get protective of their favorite >> programming tools you know :-) > > A small request: let's not start a "no bashing the tool" movement. Fine by me, however if someone posts "this tool sucks and is slow", and doesn't post any algorithm or benchmarks or any other objective means to discuss it, then in my book it's just flame-bait. I don't want to be policed either. Me, who uses PHP and Perl often instead of Rev. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From lestond at lpsoftware.com Mon Aug 11 09:49:00 2003 From: lestond at lpsoftware.com (Leston Drake) Date: Mon Aug 11 09:49:00 2003 Subject: Tools palette In-Reply-To: <3F377263.90303@easynet.fr> References: <3F3716E9.6030500@nexpath.com> <3E7D2196-CBAA-11D7-9F79-0003937A97B8@genesearch.com.au> <3F3716E9.6030500@nexpath.com> Message-ID: <5.1.1.6.0.20030811084212.00b8ea18@mail.xmission.com> Yes, I've seen this quite a bit on Win32 (XP). Also the Message box - sometimes it disappears and WILL NOT come back...? --Leston At 04:39 AM 8/11/2003, you wrote: >Steve Gehlbach wrote: >>Sarah wrote: >> >>>Has anyone else had the problem of the Tools palette disappearing and >>>not coming back? Sometimes, it just disappears. It is still ticked in >>>the Tools menu and de-selecting/selecting it there does no good. >>>Command-T doesn't help either - the only solution is to shut down >>>Revolution and start it again. >>> >>>I can't work out what causes it to disappear, no pattern has emerged >>>yet, so I can't really bugzilla it, but I would be interested to know if >>>anyone else has encountered such a problem. >>I've seen it plenty. Seems more prevalent on Linux than Windows. I've >>learned to use the pull down menus. Also have trouble with the property >>inspector disappearing, but it comes back when you close the script >>editor, maybe that is by design. >>-Steve >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution >I believe that, in using Rev 2.xx, under Linux, at least (no win32 box, >there), it's by feature that the property inspector desappears each time >the script editor is opened and reappears the script editor is closed. > >-- >Bien cordialement, Pierre Sahores > >Inspection acad?mique de Seine-Saint-Denis >Serveurs d'applications et SGBDR (Web/PGI) >Penser et produire l'avantage comp?titif > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Aug 11 10:09:02 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 11 10:09:02 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: Alex Rice wrote: > On Saturday, August 9, 2003, at 07:06 PM, Scott Rossi wrote: > >>> The subject line bugs me. People do get protective of their favorite >>> programming tools you know :-) >> >> A small request: let's not start a "no bashing the tool" movement. > > Fine by me, however if someone posts "this tool sucks and is slow", and > doesn't post any algorithm or benchmarks or any other objective means > to discuss it, then in my book it's just flame-bait. > > I don't want to be policed either. Agreed. Self-restraint through simple professionalism should be sufficient. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From briany at qldlearning.com Mon Aug 11 10:40:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Mon Aug 11 10:40:01 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: <18145634-CC11-11D7-9A6D-000393AA08D2@qldlearning.com> Richard, I wrote it as a MetaTalk script: that is, no GUI. It writes the results to a file. The main benefit that this ignores is the ability to pre-compile the script (which stacks do every time you save a script). When I pasted the same script into a button in the GUI (still no display, just running the script inside of the GUI) it ran about 10-20% faster. Neither test was quite as fast as the Perl script, although it was pretty close. My guess is that for the basic operations it was performing (string manipulations, reading/writing to files) both languages are pretty fast. Brian > Brian Yennie wrote: > > Does the timing include the time taken to display the results? With > the > rich text records created by Rev I wonder how it would compare with > Perl if > the display portion of the code were omitted.... > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From edgore at shinra.com Mon Aug 11 11:48:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Mon Aug 11 11:48:00 2003 Subject: Revolution speed sucks? Message-ID: <200308111641.h7BGfH467252@mmm1505.boca15-verio.com> For my money, 10% lower speed is a small price to pay for the benefits of being able to develop in an Xtalk (like, for example, I don't need to learn Perl). The thing that I really like about Revolution is that I can learn 1 language and apply it to nearly any kind of problem. It may not always be the optimum solution, but it's usually just about as good, and I save lots and lots of time through not learning new languages, and being able to refine my use of this one language. >----- ------- Original Message ------- ----- >Neither test was quite as fast as the Perl script, >although it was >pretty close. My guess is that for the basic >operations it was >performing (string manipulations, reading/writing >to files) both >languages are pretty fast. > >Brian From jacque at hyperactivesw.com Mon Aug 11 11:49:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 11 11:49:00 2003 Subject: Tools palette In-Reply-To: <3F377263.90303@easynet.fr> References: <3E7D2196-CBAA-11D7-9F79-0003937A97B8@genesearch.com.au> <3F3716E9.6030500@nexpath.com> <3F377263.90303@easynet.fr> Message-ID: <3F37C77F.2050609@hyperactivesw.com> Steve Gehlbach wrote: > > Also have trouble with the > property inspector disappearing, but it comes back when you close the > script editor, maybe that is by design. This is a preference setting which you can change. Look under the "Script editor" prefs and uncheck "hide palettes" when editing scripts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From steve at messimercomputing.com Mon Aug 11 11:51:01 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Mon Aug 11 11:51:01 2003 Subject: selecting grps In-Reply-To: <200308111410.KAA01862@www.runrev.com> Message-ID: <0BEEAF70-CC1B-11D7-83DB-000A27D75508@messimercomputing.com> On Monday, August 11, 2003, at 10:10 AM, use-revolution-request at lists.runrev.com wrote: > A very basic question which has probably been asked before.... > > When I select a group, the resize handles appear around the edge, > however when I attempt to click on the object and drag (to resize it), > the group deselects. How can I select and resize a group using the > mouse? Hi Rodney. It sounds like the "Select Grouped" button of the Rev tool bar is selected. Click on this button and you should be able to move your group around w/o any problems. :-) Regards, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Coming this Fall! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 From dsc at swcp.com Mon Aug 11 11:54:02 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 11:54:02 2003 Subject: Losing track of time In-Reply-To: <200308081730.h78HU6s4012707@ms-smtp-03.nyroc.rr.com> Message-ID: <94DC4986-CC1B-11D7-9C13-000A9567A3E6@swcp.com> On Friday, August 8, 2003, at 11:30 AM, Howard Bornstein wrote: > The problem is that, for example, if I set the timer to chime every > hour, > I am losing about 5 seconds each time I cycle through. Originally, this > was because I had the play "chime2.wav" command before the send > reminder > command. So it would play the chime, which takes several seconds, > before > resetting the time. The send is based on the date and time. Though you specify it as a delta, you are really creating a message that is readied for execution at a time. Because of that you want your chime to be based on the time. I think someone has suggested a method in which you poll the clock ever second. Another is to calculate the delay in the send based on the time. Calculate the seconds of the date/time you want the chime, chimeSeconds. Then do something like this: send "reminder" to me in long seconds - chimeSeconds seconds. Keep that short and quick. Dar ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From jhurley at infostations.com Mon Aug 11 11:57:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Aug 11 11:57:00 2003 Subject: Revolution speed sucks? In-Reply-To: <200308111410.KAA01862@www.runrev.com> References: <200308111410.KAA01862@www.runrev.com> Message-ID: Alex Rice wrote: > >I don't want to be policed either. (snip) > >Agreed. Self-restraint through simple professionalism should be sufficient. > >-- > Richard Gaskin Speed is great. Self-restraint sucks. :-) Jim From jacque at hyperactivesw.com Mon Aug 11 12:05:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 11 12:05:00 2003 Subject: selecting groups In-Reply-To: References: Message-ID: <3F37CB08.4090409@hyperactivesw.com> On 8/11/03 12:49 AM, Rodney Tamblyn wrote: > A very basic question which has probably been asked before.... > > When I select a group, the resize handles appear around the edge, > however when I attempt to click on the object and drag (to resize it), > the group deselects. How can I select and resize a group using the mouse? This happens if the lockLoc of the group is set to true. Setting it to false should allow you to drag the handles. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Aug 11 12:09:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 11 12:09:00 2003 Subject: New user In-Reply-To: <000001c35ffd$11fc5520$0201010a@armadam700> References: <000001c35ffd$11fc5520$0201010a@armadam700> Message-ID: <3F37CC43.2090201@hyperactivesw.com> On 8/11/03 6:37 AM, Giles Wheatley wrote: > Hi, > > I have recently downloaded the trial version and am having some > difficulty in getting started. I have completed the tutorials which has > sparked my interest but cannot find any documentation that will get me > up and running fast. I am an experienced programmer but need to quickly > get an understanding of how things should hang together. > > Any pointers to documentation or examples would be appreciated. Try the documentation: Roadmap -> Welcome to Revolution -> Novice developer or new to programming -> About Revolution for new developers Even though you are an experienced programmer, this section contains a lot of information about how Rev "hangs together" and explains the stack metaphor and the general paradigm. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Aug 11 12:13:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 11 12:13:01 2003 Subject: hide group - what gives? In-Reply-To: <8137B3BB-CBFD-11D7-A801-003065F97100@paradise.net.nz> References: <8137B3BB-CBFD-11D7-A801-003065F97100@paradise.net.nz> Message-ID: <3F37CD0B.8030607@hyperactivesw.com> On 8/11/03 8:12 AM, Rodney Tamblyn wrote: > In Metacard hiding a group makes the group and all it's members > invisible... but in revolution it just hides the group element itself. > Can someone enlighten me why this is and how I can go about getting back > the desired behavour? When you say, "all its members" do you mean all the objects that comprise the group? If so, the behavior works for me okay. If that isn't what you mean, could you clarify more? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Aug 11 12:25:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 11 12:25:00 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: Jim Hurley wrote: >> Agreed. Self-restraint through simple professionalism should be sufficient. >> -- >> Richard Gaskin > > Speed is great. > Self-restraint sucks. :-) But professionalism is universally respected. ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From steve at nexpath.com Mon Aug 11 12:31:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Mon Aug 11 12:31:01 2003 Subject: Tools palette In-Reply-To: <3F37C77F.2050609@hyperactivesw.com> References: <3E7D2196-CBAA-11D7-9F79-0003937A97B8@genesearch.com.au> <3F3716E9.6030500@nexpath.com> <3F377263.90303@easynet.fr> <3F37C77F.2050609@hyperactivesw.com> Message-ID: <3F37D344.4030307@nexpath.com> J. Landman Gay wrote: > Steve Gehlbach wrote: > >> >> Also have trouble with the property inspector disappearing, but it >> comes back when you close the script editor, maybe that is by design. > > > This is a preference setting which you can change. Look under the > "Script editor" prefs and uncheck "hide palettes" when editing scripts. > > Thanks, that works. -Steve From bornstein at designeq.com Mon Aug 11 12:39:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Aug 11 12:39:01 2003 Subject: selecting grps Message-ID: <200308111732.h7BHWniY000506@ms-smtp-02.nyroc.rr.com> >It sounds like the "Select Grouped" button of the Rev tool bar is >selected. Click on this button and you should be able to move your >group around w/o any problems. :-) Alternatively, check the group inspector under Size and Position and see if the Lock Size and Position checkbox is checked. If so, uncheck it. If it's locked, you can select, but not move a group. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From pixelbird at interisland.net Mon Aug 11 12:43:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Aug 11 12:43:00 2003 Subject: New user In-Reply-To: <200308111410.KAA01826@www.runrev.com> Message-ID: Hello Giles, and welcome to the UseRev list, > From: "Giles Wheatley" > Subject: New user > Date: Mon, 11 Aug 2003 12:37:51 +0100 > SNIP > I am an experienced programmer but need to quickly > get an understanding of how things should hang together. > > Any pointers to documentation or examples would be appreciated. ---------- I apologize if you've already done some of what I suggest, but read on. Under the 'Help' menu is 'Revolution Documentation' (cmd/?). When that opens, under 'Using Revolution' you'll find 'Development Guide' and 'Transcript Dictionary'. These are the two main sources of documentation for Rev. However, as has been suggested in another thread, I recommend you go through the sample stack 'Employee Database'. Under the Rev Documentation, click on Tutorials as you did before. On the next screen, click on 'Independent Study'. ***Read through it.** When you get to page 13, you'll see a new button appear on the bottom called 'Open Example' which will open the 'Employee Database' stack. The tutorial will take you through it. You'll learn most of the basics of Rev there. HTH, Ken N. From themacguy at macosx.com Mon Aug 11 12:44:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 11 12:44:01 2003 Subject: Menu items of a popup menu Message-ID: <8B7C164F-CC22-11D7-932D-000A95763ABC@macosx.com> In the Properties of a popup, I can type in a list of what I want the popup to display when it is "mouse-down'd", so to speak. If I wish to fill that popup dynamically, how do I accomplish this? Doesn't look like "menu items" has anything to do with it and there is no tool tip that pops up when I hover my mouse over that area in the Properties. As always, any assistance is appreciated. Regards, Barry From yoy at comcast.net Mon Aug 11 12:45:01 2003 From: yoy at comcast.net (yoy) Date: Mon Aug 11 12:45:01 2003 Subject: Revolution speed sucks? References: <2B0EAD04-CB8C-11D7-9A6D-000393AA08D2@qldlearning.com> Message-ID: <001001c3602f$334d4fe0$b2ea5144@fatal7lcf637rj> Brian, Since I'm the guy who opened this thread I wanted to ask about your speed comparisons. Did your revolution script read in and write out to text files as the PERLotto script does? If so that may explain the 10% Perl speed advantage. Did you read in and write out to a field? Did you read the field into a variable and then write the results back to the field? Did you leave out the textcolor commands out, etc.? I modified OmniLotto to read the field into a variable "games" and did all the calculations there and then spit the variable games into the field "gamelist" on a line by line basis (with lock screen until done). To process 100,000 games in Perl took 14 seconds while Revolution took over10 minutes to process only 10,000 lines. The more lines in the field, no matter whether the data is manipulated in the field directly or in an array increases the time to process by some order of magnitude. At least that's my perception, in this type of data manipulation. Perl does not. Would you care to share (and I'm humbled that you took the time to translate my perl code in the first place) your .rev script with me for inspection? I would be most curious and "sharing the magic" is never a bad thing, right? ;-) Regards, Andy ----- Original Message ----- From: "Brian Yennie" To: Sent: Sunday, August 10, 2003 7:41 PM Subject: Re: Revolution speed sucks? > BTW, I did indeed out of curiosity port the Perl code behind this > thread almost line-by-line into MetaTalk. The result? No matter how > hard I tried the Perl code ran at least 10% faster. Not a big > difference, but the MetaTalk was NOT a clear winner by any means. > > That doesn't mean Perl is faster. But on this particular script, it > seems it's AT LEAST comparable. > > Brian From pixelbird at interisland.net Mon Aug 11 12:48:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Aug 11 12:48:01 2003 Subject: For true beginners In-Reply-To: <200308111410.KAA01826@www.runrev.com> Message-ID: on 8/11/03 10:10 AM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > From: "Giles Wheatley" > To: > Subject: RE: For true beginners > Date: Mon, 11 Aug 2003 12:53:23 +0100 > Reply-To: use-revolution at lists.runrev.com > > Where can I get a copy of the Employee Database example? ---------- It comes with Rev. Help menu -> Revolution Documentation -> Tutorials -> Independent Study -> pg 13 -> 'Open Example' button at bottom. Ken N. From miscdas at boxfrog.com Mon Aug 11 12:49:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Mon Aug 11 12:49:00 2003 Subject: Revolution speed sucks? In-Reply-To: References: Message-ID: <20030811174236.6308.qmail@www.boxfrog.com> Richard Gaskin writes: > Alex Rice wrote: > >> On Saturday, August 9, 2003, at 07:06 PM, Scott Rossi wrote: >> >>>> The subject line bugs me. People do get protective of their favorite >>>> programming tools you know :-) >>> >>> A small request: let's not start a "no bashing the tool" movement. >> >> Fine by me, however if someone posts "this tool sucks and is slow", and >> doesn't post any algorithm or benchmarks or any other objective means >> to discuss it, then in my book it's just flame-bait. >> >> I don't want to be policed either. > > Agreed. Self-restraint through simple professionalism should be sufficient. Ah, yes "S H O U L D"... One of the great words in the language that so rarely reflects reality. So please, let's get real. ===================== > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > 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 Aug 11 13:11:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Aug 11 13:11:00 2003 Subject: Menu items of a popup menu In-Reply-To: <8B7C164F-CC22-11D7-932D-000A95763ABC@macosx.com> Message-ID: <4BC25283-CC26-11D7-89FA-000A27B49A96@major-k.de> Hi Barry, > In the Properties of a popup, I can type in a list of what I want the > popup to display > when it is "mouse-down'd", so to speak. If I wish to fill that popup > dynamically, how do I accomplish this? Add a mouseenter handler to the menu-button script: on mouseenter put "item 1" & CR & "item 2" & CR & " -" & CR & "item 3" into btn "my popup" ## or: put fld "my carefully prepared popup fld" into btn "my popup" end mouseenter You get the picture :-) Remember: RR is FAST! ;-) > > Doesn't look like "menu items" has anything to do with it and there is > no tool tip that > pops up when I hover my mouse over that area in the Properties. > > As always, any assistance is appreciated. Hope that helps... > Regards, > Barry Regards Klaus Major klaus at major-k.de www.major-k.de From scott at tactilemedia.com Mon Aug 11 13:21:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Aug 11 13:21:00 2003 Subject: Drawers In-Reply-To: <20030811.132815.3816.4.diskot123@juno.com> Message-ID: > the question is like asking can you use your own > routines to similuate the Aqua feel for all platforms, yes, by using > custom graphics and other methods you can. On a related note, you might like to take a look at the search feature in the current version of our mcnews stack, which includes a custom "answer sheet" routine. Since it is built using native Rev objects and uses our own ease-in script, it is more flexible (can display any control including fields, images, etc.) and it is cross platform. (Warning: grabbing more than 1 month's worth of content could take several minutes, might bog down your system, and may be hazardous to your health.) In your message box: go stack url "http://www.tactilemedia.com/download/mcnews.rev" Kind of amusing to see Apple-like stuff on Windows. :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Mon Aug 11 13:26:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 13:26:01 2003 Subject: Convert frequency to RGB In-Reply-To: Message-ID: <6D5538CA-CC28-11D7-9C13-000A9567A3E6@swcp.com> On Sunday, August 10, 2003, at 10:03 AM, Jim Hurley wrote: > I am trying to create the effect of gradually running through all > colors of the visible spectrum. Maybe you can scan in a picture you like and then use the imageData as your table. There are several factors: Sun color, eye response tristimulus values or chramaticity coordinates (see CIE), phosphor colors and the effect of faking colors outside what the phosphors can do. I don't know much about phosphors, but I can provide some info on the sun and on CIE data. For your effect, you might want to see if a simplification works. You should be fine with straight-line approximations between RGB colors. Do this by making a straight-line interpolation of each component. Create a table from wavelength (or lightspeed number or whatever) to color. Maybe three arrays will work. If you need help in getting even rough data for your table, let me know. Dar ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From pixelbird at interisland.net Mon Aug 11 13:27:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Aug 11 13:27:01 2003 Subject: For true beginners In-Reply-To: <200308110947.FAA25442@www.runrev.com> Message-ID: Hi Sarah, > Date: Mon, 11 Aug 2003 14:19:29 +1000 > From: Sarah > Subject: Re: For true beginners > > If I remember back to my early HyperCard days, there were a couple of > stacks called "Readymade Buttons" and "Readymade Fields" which showed > how to do a variety of neat things. They were also designed to be > easily copied & pasted into any other stack. A well commented set of > useful examples like this would be a good starting point and allow > beginners to get going with just some copy & paste work rather than > actual scripting. ---------- Yep! That's exactly what I was thinking! If it hadn't been for the ease of doing that kind of unintimidating, unassuming introduction to using HC, I bet half this group here wouldn't exist. The only caveat would be to make sure people advancing to deeper levels would need to invest in Rev further, so that they can be properly tutored into using professional scripting methods and produce quality work if intended for the marketplace. Ken N. From gizmotron at earthlink.net Mon Aug 11 14:03:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 11 14:03:01 2003 Subject: New user In-Reply-To: Message-ID: On Monday, August 11, 2003, at 07:42 AM, Ken Norris wrote: > However, as has been suggested in another thread, I recommend you go > through > the sample stack 'Employee Database'. This is great. Just what I've been looking for. When I said I could use a simple text editor example I never expected to find this right under my nose. It's exactly what the accomplished programer (dumb-sh*t me) needed. I even remember others on this list several months ago suggesting a look at it in other threads. I guess I should have. ...and it's far better than a text editor. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 601 bytes Desc: not available URL: From bornstein at designeq.com Mon Aug 11 14:23:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Aug 11 14:23:00 2003 Subject: Losing track of time Message-ID: <200308111916.h7BJGas4018570@ms-smtp-03.nyroc.rr.com> >The send is based on the date and time. Though you specify it as a >delta, you are really creating a message that is readied for execution >at a time. Now you've got me confused. I thought the send parameter was a value in seconds, not a date & time. Obviously seconds can be converted, but it's the lowest common denominator (other than ticks). So doesn't it just set up an internal timer and "ring back" after so many seconds have elapsed? >Another is to calculate the delay in the send based on the time. >Calculate the seconds of the date/time you want the chime, >chimeSeconds. Isn't that exactly what I'm doing (minus the calculation) when I say "send 'reminder' to me in 3600 seconds"? Ok, let's start all over. Tell me where I'm wrong in my thinking. You use send with a parameter of seconds. It goes off into Metacard engine-land and probably sets up an OS timer. It then sits there fat, dumb, and ugly (assuming you're doing nothing else, as in my case) until the time elapses. Then it comes back to your app and says "It's Soup!". It just counts seconds, right? Baring other system delays and blocking operations, it should come back to you in the number of seconds you asked for. All I'm trying to do is to see if the obvserved delay is due to other system resources being used or if a blocking command (possibly "play" for example) is happening or something else I haven't thought of. Fortunately, I'm not trying to use this to navigate a space ship, so little delays aren't really a problem. I'm just curious. Regards, Howard From dsc at swcp.com Mon Aug 11 15:09:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 15:09:00 2003 Subject: Losing track of time In-Reply-To: <200308111916.h7BJGas4018570@ms-smtp-03.nyroc.rr.com> Message-ID: On Monday, August 11, 2003, at 01:16 PM, Howard Bornstein wrote: >> The send is based on the date and time. Though you specify it as a >> delta, you are really creating a message that is readied for execution >> at a time. > > Now you've got me confused. I thought the send parameter was a value in > seconds, not a date & time. Obviously seconds can be converted, but > it's > the lowest common denominator (other than ticks). The form of the date/time is seconds. > So doesn't it just set > up an internal timer and "ring back" after so many seconds have > elapsed? No. (Virtually not and my guess would be really not.) Even then, it doesn't matter. > >> Another is to calculate the delay in the send based on the time. >> Calculate the seconds of the date/time you want the chime, >> chimeSeconds. > > Isn't that exactly what I'm doing (minus the calculation) when I say > "send 'reminder' to me in 3600 seconds"? That is 3600 seconds from when the send executes (by the clock). If there are any delays between the needed time and the actual execution of the send, then this delay is in all subsequent sends and can accumulate with this method. If chime every hour for a week, these delays can add up. You can minimize this if you send before touching any GUI or media. Do it at the very top if you can. > > Ok, let's start all over. Tell me where I'm wrong in my thinking. > > You use send with a parameter of seconds. It goes off into Metacard > engine-land and probably sets up an OS timer. It then sits there fat, > dumb, and ugly (assuming you're doing nothing else, as in my case) > until > the time elapses. Then it comes back to your app and says "It's Soup!". > It just counts seconds, right? Baring other system delays and blocking > operations, it should come back to you in the number of seconds you > asked > for. I don't think it does that. Even if it did, you still have problems. All events and ready queued messages are executed in order, of queued time, so other messages can cause delays. The system can cause delays in the execution of a message. The system clock (time and date) can be adjusted. There can also be delays in the handler before the actual send. > All I'm trying to do is to see if the obvserved delay is due to other > system resources being used or if a blocking command (possibly "play" > for > example) is happening or something else I haven't thought of. > Fortunately, I'm not trying to use this to navigate a space ship, so > little delays aren't really a problem. I'm just curious. You can time candidate blocking commands. The action of a visual effect seems a candidate, if you are using that. I misunderstood; I thought you were trying to avoid the accumulated error. There are a few other possibilities of causes of problems (especially on Mac OS), but I can't think of anything that would cause a 5 second delay each cycle. You might want to see if the Mac clock is keeping up. Dar Scott From tkuypers at pandora.be Mon Aug 11 15:31:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Mon Aug 11 15:31:01 2003 Subject: Tools palette In-Reply-To: <5.1.1.6.0.20030811084212.00b8ea18@mail.xmission.com> Message-ID: To get it back: open the message box, you will see that revMenubar is active, enter "set the loc of stack "revMenubar" to 400,400" and there is is again... Had this problem a lot in the past, recently no problems anymore... Ton Kuypers > From: Leston Drake > Reply-To: use-revolution at lists.runrev.com > Date: Mon, 11 Aug 2003 08:42:49 -0600 > To: use-revolution at lists.runrev.com > Subject: Re: Tools palette > > Yes, I've seen this quite a bit on Win32 (XP). Also the Message box - > sometimes it disappears and WILL NOT come back...? > > --Leston > > At 04:39 AM 8/11/2003, you wrote: >> Steve Gehlbach wrote: >>> Sarah wrote: >>> >>>> Has anyone else had the problem of the Tools palette disappearing and >>>> not coming back? Sometimes, it just disappears. It is still ticked in >>>> the Tools menu and de-selecting/selecting it there does no good. >>>> Command-T doesn't help either - the only solution is to shut down >>>> Revolution and start it again. >>>> >>>> I can't work out what causes it to disappear, no pattern has emerged >>>> yet, so I can't really bugzilla it, but I would be interested to know if >>>> anyone else has encountered such a problem. >>> I've seen it plenty. Seems more prevalent on Linux than Windows. I've >>> learned to use the pull down menus. Also have trouble with the property >>> inspector disappearing, but it comes back when you close the script >>> editor, maybe that is by design. >>> -Steve >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> I believe that, in using Rev 2.xx, under Linux, at least (no win32 box, >> there), it's by feature that the property inspector desappears each time >> the script editor is opened and reappears the script editor is closed. >> >> -- >> Bien cordialement, Pierre Sahores >> >> Inspection acad?mique de Seine-Saint-Denis >> Serveurs d'applications et SGBDR (Web/PGI) >> Penser et produire l'avantage comp?titif >> >> _______________________________________________ >> 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 jhurley at infostations.com Mon Aug 11 15:40:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Aug 11 15:40:00 2003 Subject: Siphons suck as well In-Reply-To: <200308111804.OAA12889@www.runrev.com> References: <200308111804.OAA12889@www.runrev.com> Message-ID: > >Message: 4 >Date: Mon, 11 Aug 2003 10:17:27 -0700 >Subject: Re: Revolution speed sucks? >From: Richard Gaskin >To: >Reply-To: use-revolution at lists.runrev.com > >Jim Hurley wrote: > >>> Agreed. Self-restraint through simple professionalism should be >>>sufficient. >>> -- >>> Richard Gaskin >> >> Speed is great. >> Self-restraint sucks. :-) > > >But professionalism is universally respected. ;) > >-- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > Richard, I wonder how many appreciated the subtlety of your response? Jim Universally Professed From jacque at hyperactivesw.com Mon Aug 11 15:56:02 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 11 15:56:02 2003 Subject: Losing track of time In-Reply-To: <200308111916.h7BJGas4018570@ms-smtp-03.nyroc.rr.com> References: <200308111916.h7BJGas4018570@ms-smtp-03.nyroc.rr.com> Message-ID: <3F38017C.4030407@hyperactivesw.com> On 8/11/03 2:16 PM, Howard Bornstein wrote: > Now you've got me confused. I thought the send parameter was a value in > seconds, not a date & time. You specify the "send" time in a script as a time duration, but the engine converts that to a specific date/time and stores it in the pendingMessages as a specific point in time. > You use send with a parameter of seconds. It goes off into Metacard > engine-land and probably sets up an OS timer. It then sits there fat, > dumb, and ugly (assuming you're doing nothing else, as in my case) until > the time elapses. Then it comes back to your app and says "It's Soup!". > It just counts seconds, right? Baring other system delays and blocking > operations, it should come back to you in the number of seconds you asked > for. It doesn't really count seconds, it stores the trigger-time as a specific date/time. When that time becomes current, the message fires. If I say "send myHandler to me in 60 seconds" and the time is currently 4:01 PM, the engine adds 60 seconds and stores the trigger time as "4:02 PM" (not in that format, but you get the idea.) The engine checks its pendingMessages list every so often, and when it is 4:02 PM it fires off all the messages that are due, including "myHandler". > All I'm trying to do is to see if the obvserved delay is due to other > system resources being used or if a blocking command (possibly "play" for > example) is happening or something else I haven't thought of. "Play" is not supposed to be blocking and subsequent lines of script will execute immediately after the sound has started to play. However, there may be a pause as the sound loads, especially for long sounds or sounds that have to be translated by QuickTime for example. One other thing to look at is the "send" command itself. As I understand it, the command "send x to me" -- without a time value -- will send the message immediately, before the rest of the handler executes. If a time value is included -- "send x to me in 1 tick" -- the entire handler finishes executing before any message is sent to the queue. Even "send x to me in 0 ticks" will force the rest of the handler to execute before the message gets queued. Since the only thing you are doing is playing a non-blocking sound, it doesn't seem likely that this distinction will make much difference, but it might. I'd also tend to think that background system tasks, mouse movements, virtual memory disk swapping, whatever, may also cause brief delays. The lag could be caused by something totally outside Revolution's control. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at rz.uni-potsdam.de Mon Aug 11 16:21:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Aug 11 16:21:01 2003 Subject: Losing track of time In-Reply-To: <200308111916.h7BJGas4018570@ms-smtp-03.nyroc.rr.com> References: <200308111916.h7BJGas4018570@ms-smtp-03.nyroc.rr.com> Message-ID: > >The send is based on the date and time. Though you specify it as a >>delta, you are really creating a message that is readied for execution >>at a time. > >Now you've got me confused. I thought the send parameter was a value in >seconds, not a date & time. Obviously seconds can be converted, but it's >the lowest common denominator (other than ticks). So doesn't it just set >up an internal timer and "ring back" after so many seconds have elapsed? > >>Another is to calculate the delay in the send based on the time. >>Calculate the seconds of the date/time you want the chime, >>chimeSeconds. > >Isn't that exactly what I'm doing (minus the calculation) when I say >"send 'reminder' to me in 3600 seconds"? > >Ok, let's start all over. Tell me where I'm wrong in my thinking. > >You use send with a parameter of seconds. It goes off into Metacard >engine-land and probably sets up an OS timer. It then sits there fat, >dumb, and ugly (assuming you're doing nothing else, as in my case) until >the time elapses. Then it comes back to your app and says "It's Soup!". >It just counts seconds, right? Baring other system delays and blocking >operations, it should come back to you in the number of seconds you asked >for. > >All I'm trying to do is to see if the obvserved delay is due to other >system resources being used or if a blocking command (possibly "play" for >example) is happening or something else I haven't thought of. >Fortunately, I'm not trying to use this to navigate a space ship, so >little delays aren't really a problem. I'm just curious. > >Regards, > >Howard I doubt that engine counts seconds. It probably sets the wakeup time (as seconds()?) when it receives the request and then keeps checking whether it passed. Dar is right. At least this is how I would have done it. The point is that you should not send to run again in exactly 3660 seconds but you calculate what the actual time difference is. This allows you to avoid accumulation of error. To illustrate what I mean: with your script, if each execution lasts 5 seconds, then you send at 18:00:00 the script executes and plays sound and resends the request at 19:00:05 the script executes and plays sound and resends the request at 19:00:10 the script executes and plays sound and resends the request at 19:00:15 ... You see the execution time shifting. So instead of asking to send in 3600 seconds, you should calculate the actual wait time for each send. For example, to chime on each full hour, you could on fullhourchime play sound # first play get seconds() convert it to dateitems add 1 to item 5 of it # up hour to next if item 5 of it is 24 then # account for crossing midnight put zero into item 5 of it add 1 to item 4 of it ## similar checks for month and year overflow here end if put zero into item 6 of it # zero out minutes convert it to seconds send fullhourchime to me in (it-seconds()) end fullhourchime Using dateitems allows very explicit calculations, although handling the overflows complicate the coding. And such a code also autocorrects for delays with activation due to other scripts or programs. Robert From themacguy at macosx.com Mon Aug 11 16:38:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 11 16:38:00 2003 Subject: Menu Items of a Popup menu In-Reply-To: <200308111804.OAA12889@www.runrev.com> Message-ID: <30F96BD0-CC43-11D7-848F-000A95763ABC@macosx.com> Klaus, Thanks. It was so straightforward that I missed it. Here's how I actually used it: on openStack put revSpeechVoices() into button "myVoices" -- now the user may choose from any available voice end openStack Regards, Barry On Monday, Aug 11, 2003, at 12:04 America/Denver, Klaus resolved my problem thusly: > put fld "my carefully prepared popup fld" into btn "my popup" From themacguy at macosx.com Mon Aug 11 16:46:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 11 16:46:00 2003 Subject: revSpeech & revVideo - the "All Other" Inclusions Message-ID: <4D097EEC-CC44-11D7-848F-000A95763ABC@macosx.com> I just built a Distribution that included the "All Other" choice; I needed the Speech library. After building the app, I also ended up with two bundles: revspeech.bundle and revvideograbber.bundle. I would imagine that I can simply toss the video bundle as my app does nothing with this. However, I'd like not to have this "extra" item floating around that the user will, eventually, toss (thinking that it is not needed). So the question is: Can I place the contents of this bundle into the main app's package and, if so, how? I know how to open the pkg contents; what I'm asking is which files go where? I tried putting the files from the bundles into the same places (Contents, MacOS, Resources) but the app then had no speech capability. Any advice is appreciated. Thanks, Barry From rjb at rz.uni-potsdam.de Mon Aug 11 16:48:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Aug 11 16:48:00 2003 Subject: Losing track of time In-Reply-To: References: <200308111916.h7BJGas4018570@ms-smtp-03.nyroc.rr.com> Message-ID: > >To illustrate what I mean: with your script, if each execution lasts >5 seconds, then > >you send at 18:00:00 >the script executes and plays sound and resends the request at 19:00:05 >the script executes and plays sound and resends the request at 19:00:10 >the script executes and plays sound and resends the request at 19:00:15 >... > I meant, of course, you send at 18:00:00 the script executes and plays sound and resends the request at 19:00:05 the script executes and plays sound and resends the request at 20:00:10 the script executes and plays sound and resends the request at 21:00:15 If you see the time always 5 second late, that is you send at 18:00:00 the script executes and plays sound and resends the request at 19:00:05 the script executes and plays sound and resends the request at 20:00:05 the script executes and plays sound and resends the request at 21:00:05 then the first execution may trigger some delay which just stays on. Robert From alrice at ARCplanning.com Mon Aug 11 17:01:04 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 11 17:01:04 2003 Subject: revSpeech & revVideo - the "All Other" Inclusions In-Reply-To: <4D097EEC-CC44-11D7-848F-000A95763ABC@macosx.com> Message-ID: <6CDE435C-CC46-11D7-BF20-000393529642@ARCplanning.com> On Monday, August 11, 2003, at 03:39 PM, Barry Levine wrote: > I just built a Distribution that included the "All Other" choice; I > needed the Speech library. After building the app, I also ended up > with two bundles: revspeech.bundle and revvideograbber.bundle. I would > imagine that I can simply toss the video bundle as my app does nothing > with this. However, I'd like not to have this "extra" item floating > around that the user will, eventually, toss (thinking that it is not > needed). > > So the question is: Can I place the contents of this bundle into the > main app's package and, if so, how? I know how to open the pkg > contents; what I'm asking is which files go where? I tried putting the > files from the bundles into the same places (Contents, MacOS, > Resources) but the app then had no speech capability. > > Any advice is appreciated. Barry, there are a couple of ways you can do this by setting the externals property, to point to the location of the revspeech.bundle. See the recent thread: Re: Externals [was: How to place revVideograbber bundle inside of the app bundle? ] Or search the archive for app bundle. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Mon Aug 11 17:07:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 17:07:00 2003 Subject: Losing track of time In-Reply-To: Message-ID: <31381208-CC47-11D7-9C13-000A9567A3E6@swcp.com> On Monday, August 11, 2003, at 02:04 PM, Robert Brenstein wrote: > convert it to dateitems > add 1 to item 5 of it # up hour to next > if item 5 of it is 24 then # account for crossing midnight > put zero into item 5 of it > add 1 to item 4 of it > ## similar checks for month and year overflow here > end if > put zero into item 6 of it # zero out minutes > convert it to seconds get (round(it/3600) + 1)*3600 Would this work? Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From rodneytamblyn at paradise.net.nz Mon Aug 11 17:18:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Mon Aug 11 17:18:01 2003 Subject: hide group - what gives? In-Reply-To: <3F37CD0B.8030607@hyperactivesw.com> Message-ID: <0BB4DCFC-CC49-11D7-8F55-003065F97100@paradise.net.nz> Hi Jacqueline, Yes that's right. If you've got a group in MC, when you hide it the group and all its members disappears. In Revolution the group's visibility is set to false, but the members of the group are still visible. I'm guessing there is a system wide property to control this behavour? R. On Tuesday, August 12, 2003, at 05:06 AM, J. Landman Gay wrote: > On 8/11/03 8:12 AM, Rodney Tamblyn wrote: > >> In Metacard hiding a group makes the group and all it's members >> invisible... but in revolution it just hides the group element >> itself. Can someone enlighten me why this is and how I can go about >> getting back the desired behavour? > > When you say, "all its members" do you mean all the objects that > comprise the group? If so, the behavior works for me okay. If that > isn't what you mean, could you clarify more? > > -- > 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 > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From edgore at shinra.com Mon Aug 11 17:41:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Mon Aug 11 17:41:00 2003 Subject: hide group - what gives? Message-ID: <200308112234.h7BMYBV82298@mmm1505.boca15-verio.com> For me it works in Rev as you describe for Metacard. Take ten visible items, group them, hide the group, and all ten items dissappear. Is it possible that the items you are trying to hide are noit actually in the group? I make mistakes like that all the time...(esp. when Select Grouped is turn on) >----- ------- Original Message ------- ----- >From: Rodney Tamblyn > >To: use-revolution at lists.runrev.com >Sent: Tue, 12 Aug 2003 10:13:33 > >Hi Jacqueline, > >Yes that's right. If you've got a group in MC, >when you hide it the >group and all its members disappears. In >Revolution the group's >visibility is set to false, but the members of the >group are still >visible. I'm guessing there is a system wide >property to control this >behavour? > >R. >On Tuesday, August 12, 2003, at 05:06 AM, J. >Landman Gay wrote: > >> On 8/11/03 8:12 AM, Rodney Tamblyn wrote: >> >>> In Metacard hiding a group makes the group and >all it's members >>> invisible... but in revolution it just hides the >group element >>> itself. Can someone enlighten me why this is >and how I can go about >>> getting back the desired behavour? >> >> When you say, "all its members" do you mean all >the objects that >> comprise the group? If so, the behavior works for >me okay. If that >> isn't what you mean, could you clarify more? >> >> -- >> Jacqueline Landman Gay | >jacque at hyperactivesw.com >> HyperActive Software | >http://www.hyperactivesw.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> >> >> >-- >Rodney Tamblyn >44 Melville Street >Dunedin >New Zealand >+64 3 4778606 >http://rodney.weblogs.com/ > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From scott at tactilemedia.com Mon Aug 11 17:41:33 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Aug 11 17:41:33 2003 Subject: Losing track of time In-Reply-To: <31381208-CC47-11D7-9C13-000A9567A3E6@swcp.com> Message-ID: Recently, "Dar Scott" wrote: >> convert it to dateitems >> add 1 to item 5 of it # up hour to next >> if item 5 of it is 24 then # account for crossing midnight >> put zero into item 5 of it >> add 1 to item 4 of it >> ## similar checks for month and year overflow here >> end if >> put zero into item 6 of it # zero out minutes >> convert it to seconds > > get (round(it/3600) + 1)*3600 I still think you will all find that maintaining a built-in timer with tight accuracy is too much work. Just poll the current time and base your calculations on that. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rcozens at pon.net Mon Aug 11 17:47:01 2003 From: rcozens at pon.net (rcozens at pon.net) Date: Mon Aug 11 17:47:01 2003 Subject: Losing track of time In-Reply-To: <3F38017C.4030407@hyperactivesw.com> References: <200308111916.h7BJGas4018570@ms-smtp-03.nyroc.rr.com> <3F38017C.4030407@hyperactivesw.com> Message-ID: > As I understand it, the command "send x to me" -- without a time >value -- will send the message immediately, before the rest of the >handler executes. If a time value is included -- "send x to me in 1 >tick" -- the entire handler finishes executing before any message is >sent to the queue. Even "send x to me in 0 ticks" will force the >rest of the handler to execute before the message gets queued. Interesting nuance, Jacque. And certainly worth noting. -- 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 1573-1631 From jhurley at infostations.com Mon Aug 11 17:50:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Aug 11 17:50:01 2003 Subject: Convert frequency to RGB In-Reply-To: <200308111804.OAA12889@www.runrev.com> References: <200308111804.OAA12889@www.runrev.com> Message-ID: > >Message: 14 >Date: Mon, 11 Aug 2003 12:20:03 -0600 >Subject: Re: Convert frequency to RGB >From: Dar Scott >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > > >On Sunday, August 10, 2003, at 10:03 AM, Jim Hurley wrote: > >> I am trying to create the effect of gradually running through all >> colors of the visible spectrum. > >Maybe you can scan in a picture you like and then use the imageData as >your table. > >There are several factors: Sun color, eye response tristimulus values >or chramaticity coordinates (see CIE), phosphor colors and the effect >of faking colors outside what the phosphors can do. I don't know much >about phosphors, but I can provide some info on the sun and on CIE data. > >For your effect, you might want to see if a simplification works. > >You should be fine with straight-line approximations between RGB >colors. Do this by making a straight-line interpolation of each >component. Create a table from wavelength (or lightspeed number or >whatever) to color. Maybe three arrays will work. > >If you need help in getting even rough data for your table, let me know. > >Dar Dar, I think I have found what I need. I had hoped I could find an algebraic formula for the translation from wavelength to rgb values. I did a Google search and found the following program; I will see if I can translate it into Transcript. Jim PROCEDURE WavelengthToRGB(CONST Wavelength: Nanometers; VAR R,G,B: BYTE); CONST Gamma = 0.80; IntensityMax = 255; VAR Blue : DOUBLE; factor : DOUBLE; Green : DOUBLE; Red : DOUBLE; FUNCTION Adjust(CONST Color, Factor: DOUBLE): INTEGER; BEGIN IF Color = 0.0 THEN RESULT := 0 // Don't want 0^x = 1 for x <> 0 ELSE RESULT := ROUND(IntensityMax * Power(Color * Factor, Gamma)) END {Adjust}; BEGIN CASE TRUNC(Wavelength) OF 380..439: BEGIN Red := -(Wavelength - 440) / (440 - 380); Green := 0.0; Blue := 1.0 END; 440..489: BEGIN Red := 0.0; Green := (Wavelength - 440) / (490 - 440); Blue := 1.0 END; 490..509: BEGIN Red := 0.0; Green := 1.0; Blue := -(Wavelength - 510) / (510 - 490) END; 510..579: BEGIN Red := (Wavelength - 510) / (580 - 510); Green := 1.0; Blue := 0.0 END; 580..644: BEGIN Red := 1.0; Green := -(Wavelength - 645) / (645 - 580); Blue := 0.0 END; 645..780: BEGIN Red := 1.0; Green := 0.0; Blue := 0.0 END; ELSE Red := 0.0; Green := 0.0; Blue := 0.0 END; // Let the intensity fall off near the vision limits CASE TRUNC(Wavelength) OF 380..419: factor := 0.3 + 0.7*(Wavelength - 380) / (420 - 380); 420..700: factor := 1.0; 701..780: factor := 0.3 + 0.7*(780 - Wavelength) / (780 - 700) ELSE factor := 0.0 END; R := Adjust(Red, Factor); G := Adjust(Green, Factor); B := Adjust(Blue, Factor) END {WavelengthToRGB}; -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Mon Aug 11 18:05:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 18:05:01 2003 Subject: Losing track of time In-Reply-To: Message-ID: <4A81586E-CC4F-11D7-9C13-000A9567A3E6@swcp.com> On Monday, August 11, 2003, at 04:35 PM, Scott Rossi wrote: > I still think you will all find that maintaining a built-in timer with > tight > accuracy is too much work. Just poll the current time and base your > calculations on that. For several reasons, I think you are right in this case. However, there are cases when accurate timing is needed. Too much work? Well, unless one has a memory like mine, the work should apply to the next case accurate timing is needed. Dar Scott From rjb at rz.uni-potsdam.de Mon Aug 11 18:11:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Aug 11 18:11:00 2003 Subject: Losing track of time In-Reply-To: <31381208-CC47-11D7-9C13-000A9567A3E6@swcp.com> References: <31381208-CC47-11D7-9C13-000A9567A3E6@swcp.com> Message-ID: >On Monday, August 11, 2003, at 02:04 PM, Robert Brenstein wrote: > >>convert it to dateitems >>add 1 to item 5 of it # up hour to next >>if item 5 of it is 24 then # account for crossing midnight >> put zero into item 5 of it >> add 1 to item 4 of it >> ## similar checks for month and year overflow here >>end if >>put zero into item 6 of it # zero out minutes >>convert it to seconds > >get (round(it/3600) + 1)*3600 > >Would this work? > >Dar Scott > Nop. 'It' contains dateitems (yyyy,mm,dd,hh,mm,ss,w) not seconds at this point. But oops, my item refs are wrong. Here is the corrected code. on fullhourchime play sound # first play get seconds() convert it to dateitems add 1 to item 4 of it # up hour to next if item 4 of it is 24 then # account for crossing midnight put zero into item 4 of it add 1 to item 3 of it if item 3 of it is ... ## check for month and then year overflow here end if end if put zero into item 5 of it # zero out minutes put zero into item 6 of it # zero out seconds convert it to seconds send fullhourchime to me in (it-seconds()) end fullhourchime What this code does (for those less familiar with date/time conversions) is: it first gets the current seconds and converts them to dateitems. Then, it is a matter of increasing hour by 1 and setting minutes and seconds to 0. We have now next full hour, which we convert back to seconds and then ask to 'send' in whatever is the difference between the calculated seconds for next full hour and current seconds. The only complication is that one needs to account for midnight (end of the day), end of the month, and end of the year. May be there is a way to avoid this somehow. Robert From monte at sweattechnologies.com Mon Aug 11 18:17:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 11 18:17:01 2003 Subject: Convert frequency to RGB In-Reply-To: Message-ID: Hi Jim If you are interested to offer a transcript translation of this code to be included in libColor then please email me off list: monte at sweattechnologies.com Ideally if it were to be in libColor I'd like a WavelengthToRGB function and an RGBToWavelength function. Incase you don't know libColor is a public color format conversion library with a number of contributors. It has one main function: libColor_Convert and can convert colors from a any of a wide range of formats to any of a wide range of formats. You can download if from http://www.sweattechnologies.com/rev Cheers Monte PROCEDURE WavelengthToRGB(CONST Wavelength: Nanometers; VAR R,G,B: BYTE); CONST Gamma = 0.80; IntensityMax = 255; VAR Blue : DOUBLE; factor : DOUBLE; Green : DOUBLE; Red : DOUBLE; FUNCTION Adjust(CONST Color, Factor: DOUBLE): INTEGER; BEGIN IF Color = 0.0 THEN RESULT := 0 // Don't want 0^x = 1 for x <> 0 ELSE RESULT := ROUND(IntensityMax * Power(Color * Factor, Gamma)) END {Adjust}; BEGIN CASE TRUNC(Wavelength) OF 380..439: BEGIN Red := -(Wavelength - 440) / (440 - 380); Green := 0.0; Blue := 1.0 END; 440..489: BEGIN Red := 0.0; Green := (Wavelength - 440) / (490 - 440); Blue := 1.0 END; 490..509: BEGIN Red := 0.0; Green := 1.0; Blue := -(Wavelength - 510) / (510 - 490) END; 510..579: BEGIN Red := (Wavelength - 510) / (580 - 510); Green := 1.0; Blue := 0.0 END; 580..644: BEGIN Red := 1.0; Green := -(Wavelength - 645) / (645 - 580); Blue := 0.0 END; 645..780: BEGIN Red := 1.0; Green := 0.0; Blue := 0.0 END; ELSE Red := 0.0; Green := 0.0; Blue := 0.0 END; // Let the intensity fall off near the vision limits CASE TRUNC(Wavelength) OF 380..419: factor := 0.3 + 0.7*(Wavelength - 380) / (420 - 380); 420..700: factor := 1.0; 701..780: factor := 0.3 + 0.7*(780 - Wavelength) / (780 - 700) ELSE factor := 0.0 END; R := Adjust(Red, Factor); G := Adjust(Green, Factor); B := Adjust(Blue, Factor) END {WavelengthToRGB}; From dsc at swcp.com Mon Aug 11 18:21:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 18:21:01 2003 Subject: Losing track of time In-Reply-To: Message-ID: On Monday, August 11, 2003, at 04:45 PM, Robert Brenstein wrote: >> On Monday, August 11, 2003, at 02:04 PM, Robert Brenstein wrote: >> >>> convert it to dateitems >>> add 1 to item 5 of it # up hour to next >>> if item 5 of it is 24 then # account for crossing midnight >>> put zero into item 5 of it >>> add 1 to item 4 of it >>> ## similar checks for month and year overflow here >>> end if >>> put zero into item 6 of it # zero out minutes >>> convert it to seconds >> >> get (round(it/3600) + 1)*3600 >> >> Would this work? >> >> Dar Scott >> > > Nop. 'It' contains dateitems (yyyy,mm,dd,hh,mm,ss,w) not seconds at > this point. I was obtuse. I meant replace all of above lines (an it in seconds to it in seconds transformation) to the single line. Dar Scott From dan at shafermedia.com Mon Aug 11 18:24:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Mon Aug 11 18:24:01 2003 Subject: For the True Beginner In-Reply-To: <200308111804.OAA12889@www.runrev.com> Message-ID: <047DE28F-CC52-11D7-B089-0030656FB5D4@shafermedia.com> On Monday, August 11, 2003, at 11:04 AM, Ken Norris wrote: > Yep! That's exactly what I was thinking! If it hadn't been for the > ease of > doing that kind of unintimidating, unassuming introduction to using > HC, I > bet half this group here wouldn't exist. > Have you looked at the cookbook stuff in the new release? These things are incredible, folks! And I can't understand why they haven't gotten more fanfare and visibility. Just for example. Open documentation. Click on "Documentation by Category." Then click on "Centering a stack window on a screen." Notice in the upper right corner the icon of a button and a hand pointer. Now read the script discussion. Then click on the icon. Voila, a stack with a button demonstrating the behavior. Voila! A readymade button. The only thing they haven't done is automate the copy-paste process. There are *dozens* of these things in the online docs. This has to be the best online documentation I've ever seen in an IDE. Period. And I've reviewed probably 40 or 50 such tools. I think RunRev is only a few basic steps away from being able to create a smashing out-of-the-box experience for the beginner that would equal or surpass what HyperCard has/had. > The only caveat would be to make sure people advancing to deeper levels > would need to invest in Rev further, so that they can be properly > tutored > into using professional scripting methods and produce quality work if > intended for the marketplace. > This progressive revelation is the core to the power, IMNSHO. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From dsc at swcp.com Mon Aug 11 18:27:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 18:27:01 2003 Subject: Convert frequency to RGB In-Reply-To: Message-ID: <6D04D81E-CC52-11D7-9C13-000A9567A3E6@swcp.com> On Monday, August 11, 2003, at 04:43 PM, Jim Hurley wrote: > I think I have found what I need. I had hoped I could find an > algebraic formula for the translation from wavelength to rgb values. I > did a Google search and found the following program; I will see if I > can translate it into Transcript. > That should translate OK. As with yours, it changes only red, green or blue at a time, and thus will vary in intensity in ways not intended. The blue-purple looks like it goes too purple to me. The function does attempt to put an envelope over the whole thing that is probably related to sun intensity and eye response. See how it looks. Dar Scott From jeanne at runrev.com Mon Aug 11 18:30:00 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Aug 11 18:30:00 2003 Subject: QuickTime with Win2000 Client In-Reply-To: <00058F5C-CB28-11D7-BE05-003065B0D48C@revoca.ch> Message-ID: At 4:44 AM -0700 8/10/03, Revoca Support wrote: >With Windows2000 clients are files show as images, but not with the >QuicktimePlayer, when the files should be readed from a server. >Movies or sounds, witch are played with the QuickTime - player, are >played from CD's and from lokal HD's but not from any server. The >problem does not exist on WinXP clients and it doesn't matter what type >of server is used. If the files are first copied from the server to the >clients HD, movies are shown. Can any other QuickTime application play movies from a server on these systems? Does this happen when you use a stack file in the development environment (before you use the Distribution Builder) on these systems? Or is it just in the finished standalone application? -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - Software at the Speed of Thought http://www.runrev.com/ From dan at shafermedia.com Mon Aug 11 18:32:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Mon Aug 11 18:32:00 2003 Subject: Menu items of a popup menu In-Reply-To: <200308111804.OAA12889@www.runrev.com> Message-ID: <1AACE5DE-CC53-11D7-B089-0030656FB5D4@shafermedia.com> On Monday, August 11, 2003, at 11:04 AM, Barry Levine wrote: > In the Properties of a popup, I can type in a list of what I want the > popup to display when it is "mouse-down'd", so to speak. If I wish to > fill that popup dynamically, how do I accomplish this? > > Doesn't look like "menu items" has anything to do with it and there is > no tool tip that pops up when I hover my mouse over that area in the > Properties. The docs to the rescue! Development | Plug-Ins | Search Revolution Documentation Type in menu items as your search term ( as suggested by the path you were going down). Scroll through. You'll fine recipes and how-tos for what you want to do. While I'm at it, IMNSHO, the Search Revolution Documentation belongs in a much more prominent place. it's absolutely invaluable. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From scott at tactilemedia.com Mon Aug 11 18:54:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Aug 11 18:54:00 2003 Subject: Losing track of time In-Reply-To: <4A81586E-CC4F-11D7-9C13-000A9567A3E6@swcp.com> Message-ID: Recently, "Dar Scott" wrote: >> I still think you will all find that maintaining a built-in timer with >> tight >> accuracy is too much work. Just poll the current time and base your >> calculations on that. > > For several reasons, I think you are right in this case. However, > there are cases when accurate timing is needed. Right, but the original post referenced an hourly chime. If you need accurate timing across a span of a few seconds, or maybe even minutes, I would expect a custom timer will work fine. Change that span to hours or days and you'll be better off pointing an infrequent time comparison script at the current time. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Mon Aug 11 18:57:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 18:57:01 2003 Subject: Convert frequency to RGB In-Reply-To: Message-ID: On Monday, August 11, 2003, at 05:10 PM, Monte Goulding wrote: > Ideally if it were to be in libColor I'd like a WavelengthToRGB > function and > an RGBToWavelength function. In general, you can't do an RGBToWavelength. Wavelength is 1D and color without brightness is 2D. RGB is 3D. We see a rich range of colors by a mix of more than one wavelength of various intensities. A large part of that space we see can be replicated by the right mix of red, green and blue phosphors (each of which is really a mix of several wavelengths, muddying colors a tiny bit, but looking great anyway). As for WavelengthToRGB, the CEI tables convert to non-real RGB-like values that are related to physiological and psychological response. This could be handy. However, these are not the same as the typical phosphors including those defined for monitors, such as VGA. Those colors are inside the space of observable colors and form a triangle of possible RGB colors. The wavelengths run along the periphery of observable colors--outside of that triangle. That means all wavelengthToRGB calculations must be compromises. The colors are _always_ wrong. One model for compromising is to select the best color along the edge of the RGB color triangle. Then you have the problem of what best means. I like the idea of where a line from white to the desired color crosses the boundary of the RGB color triangle. However, I suspect there is probably a better way to do this by whitening all colors, that is by shrinking the CEI color horseshoe into the RGB triangle. The psychologists can say better than I. All this to say that a WavelengthToRGB function can be handy and valuable, but must either be spec'd carefully or described as approximate. The one that Jim is tinkering with is definitely the later, but might be useful to him and to others. Dar Scott From rjb at rz.uni-potsdam.de Mon Aug 11 19:14:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Aug 11 19:14:00 2003 Subject: Losing track of time In-Reply-To: References: Message-ID: >On Monday, August 11, 2003, at 04:45 PM, Robert Brenstein wrote: > >>>On Monday, August 11, 2003, at 02:04 PM, Robert Brenstein wrote: >>> >>>>convert it to dateitems >>>>add 1 to item 5 of it # up hour to next >>>>if item 5 of it is 24 then # account for crossing midnight >>>> put zero into item 5 of it >>>> add 1 to item 4 of it >>>> ## similar checks for month and year overflow here >>>>end if >>>>put zero into item 6 of it # zero out minutes >>>>convert it to seconds >>> >>>get (round(it/3600) + 1)*3600 >>> >>>Would this work? >>> >>>Dar Scott >>> >> >>Nop. 'It' contains dateitems (yyyy,mm,dd,hh,mm,ss,w) not seconds at >>this point. > >I was obtuse. I meant replace all of above lines (an it in seconds >to it in seconds transformation) to the single line. > >Dar Scott > Hmm, you mean to have only on fullhourchime play sound # first play get seconds() get (round(it/3600) + 1)*3600 send fullhourchime to me in (it-seconds()) end fullhourchime This would work if your replacement line produced the next full hour in seconds. But I do not see how it does it -- it simply adds 1 hr to the current seconds (and it is simpler to just add 3600 as the original poster had it). The problem for repeated send's is that if any process causes a delay as we keep calling ourselves, we will keep drifting away more and more from proper time. Of course, for chiming on the hour, it is an exercise in futility since it may be simpler to use the system clock :) Robert From Mark.Powell at veritas.com Mon Aug 11 19:31:00 2003 From: Mark.Powell at veritas.com (Mark Powell) Date: Mon Aug 11 19:31:00 2003 Subject: Ignore punctuation when addressing word n of a string Message-ID: I have a string such as "now, that is a string!" But when I address word n of the string, I get "now," (when n = 1) and "string!" for (when n = 5). How can I point to a string and get only the nth word, without any contiguous punctuation getting in the way? Thanks in advance, Mark Powell Production Manager VERITAS Education From monte at sweattechnologies.com Mon Aug 11 19:33:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 11 19:33:01 2003 Subject: Convert frequency to RGB In-Reply-To: Message-ID: > > Ideally if it were to be in libColor I'd like a WavelengthToRGB > > function and > > an RGBToWavelength function. > > In general, you can't do an RGBToWavelength. Hmmm... You're probably right. I'd read Jim's problem as a need for a general translation algorithm from a one dimensional value to three dimensional RIB. An increase in the one dimensional value resulting in a change in color towards a psychologically more intense color. An example use of this could be a heat map. Even if a lookup table or some type of search algorithm was required for the reverse translation it could be useful. Cheers Monte From jhurley at infostations.com Mon Aug 11 19:41:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Aug 11 19:41:01 2003 Subject: Convert frequency to RGB In-Reply-To: <200308112228.SAA24994@www.runrev.com> References: <200308112228.SAA24994@www.runrev.com> Message-ID: > >Message: 10 >Date: Mon, 11 Aug 2003 17:20:41 -0600 >Subject: Re: Convert frequency to RGB >From: Dar Scott >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > > >On Monday, August 11, 2003, at 04:43 PM, Jim Hurley wrote: > >> I think I have found what I need. I had hoped I could find an > > algebraic formula for the translation from wavelength to rgb values. I >> did a Google search and found the following program; I will see if I >> can translate it into Transcript. >> >That should translate OK. As with yours, it changes only red, green or >blue at a time, and thus will vary in intensity in ways not intended. >The blue-purple looks like it goes too purple to me. The function does >attempt to put an envelope over the whole thing that is probably >related to sun intensity and eye response. > >See how it looks. > >Dar Scott > Dar, Not very well. Still a bit jerky--in the literal sense. I may have to work on this for a while. I've seen some very nice graphics, I think it was in a web page construction application which had a rainbow-line as a demarker between sections. I wonder if an image like this could be imported into RR and deciphered the RGB values from the image by running the wand (from the 1.1.1 color palette) over it and somehow extract this data. I think I got the Pascal program translated correctly. It looks like this: on mouseUP repeat with wavelength = 779 down to 381 set the backgroundcolor of grc 1 to convertWavelength(wavelength) wait 1 tick end repeat end mouseUP function convertWavelength w switch case w>380 and w <= 419 put .3 + .7*(w-380)/(420-380) into tFactor put -tFactor*(w-440)/(440-380),0,tFactor into results break CASE w >419 and w <=440 put -(w-440)/(440-380),0,1 into results break case w > 440 and w <=490 put 0,(w-440)/(490-440),1 into results break case w> 490 and w <=510 put 0,1,-(w-510)/(510-490)into results break case w> 510 and w<=580 put (w-510)/(580-510),1,0 into results break case w>580 and w<= 645 put 1,-(w-645)/(645-580),0 into results break case w >645 and w<=701 put 1,0,0 into results break case w>701 and w< 780 put 0.3 + 0.7*(780 - w)/(780 - 700) into tFactor put tFactor,0,0 into results break end switch repeat with i = 1 to 3 put round(255*(item i of results)) into item i of tResults end repeat return tResults end convertWavelength From gizmotron at earthlink.net Mon Aug 11 19:51:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 11 19:51:00 2003 Subject: Ignore punctuation when addressing word n of a string In-Reply-To: Message-ID: <86B8DFB8-CC5E-11D7-BED2-000A95859272@earthlink.net> On Monday, August 11, 2003, at 05:24 PM, Mark Powell wrote: > I have a string such as "now, that is a string!" But when I address > word n > of the string, I get "now," (when n = 1) and "string!" for (when n = > 5). > How can I point to a string and get only the nth word, without any > contiguous punctuation getting in the way? > > Thanks in advance, > > Mark Powell You can't. ( word 1), ( word 2), ( word 3)... are created by empty space between groups of chars. I would use replace to strip unwanted punctuation from your results. replace "," with empty in myChunk replace ";" with empty in myChunk replace quote with empty in myChunk replace ":" with empty in myChunk replace "!" with empty in myChunk There's probably a slick way to do this with a Perl regEx though. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 821 bytes Desc: not available URL: From jhurley at infostations.com Mon Aug 11 19:53:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Aug 11 19:53:00 2003 Subject: Convert frequency to RGB Message-ID: >> >>Message: 10 >>Date: Mon, 11 Aug 2003 17:20:41 -0600 >>Subject: Re: Convert frequency to RGB >>From: Dar Scott >>To: use-revolution at lists.runrev.com >>Reply-To: use-revolution at lists.runrev.com >> >> >>On Monday, August 11, 2003, at 04:43 PM, Jim Hurley wrote: >> >> > I think I have found what I need. I had hoped I could find an >> > algebraic formula for the translation from wavelength to rgb values. I >> > did a Google search and found the following program; I will see if I >> > can translate it into Transcript. >> > >>That should translate OK. As with yours, it changes only red, green or >>blue at a time, and thus will vary in intensity in ways not intended. >>The blue-purple looks like it goes too purple to me. The function does >>attempt to put an envelope over the whole thing that is probably >>related to sun intensity and eye response. >> >>See how it looks. >> >>Dar Scott >> > >Dar, > >Not very well. Still a bit jerky--in the literal sense. I may have >to work on this for a while. I've seen some very nice graphics, I >think it was in a web page construction application which had a >rainbow-line as a demarker between sections. > >I wonder if an image like this could be imported into RR and >deciphered the RGB values from the image by running the wand (from >the 1.1.1 color palette) over it and somehow extract this data. > Or better still. Get a good smooth rainbow image and run the following handler: on mouseUP put "" into field 1 get the imageData of image "myImage" put the number of chars in it into tNum repeat with i = 0 to tNum/4 repeat with j = 2 to 4 put chartonum(char(4*i + j)of the imageData of image "myImage") into item j-1 of tLine end repeat put tLine into line i of results --This gives the three RGB numbers for each pixel. end repeat put results into field 1 end mouseUP Jim From monte at sweattechnologies.com Mon Aug 11 19:55:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 11 19:55:01 2003 Subject: Ignore punctuation when addressing word n of a string In-Reply-To: Message-ID: > I have a string such as "now, that is a string!" But when I > address word n > of the string, I get "now," (when n = 1) and "string!" for (when n = 5). > How can I point to a string and get only the nth word, without any > contiguous punctuation getting in the way? You could try token 1 of word n but that's not really reliable. My suggestion is to have a stripPunctuation function. function stripPunctuation pString repeat for each char tChar in ",.:;?()!" replace char tChar with "" in pString end repeat return pString end stripPunctuation Cheers Monte > > Thanks in advance, > > Mark Powell > Production Manager > VERITAS Education > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Mon Aug 11 20:08:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 20:08:00 2003 Subject: Convert frequency to RGB In-Reply-To: Message-ID: <8288027A-CC60-11D7-9C13-000A9567A3E6@swcp.com> On Monday, August 11, 2003, at 06:34 PM, Jim Hurley wrote: > on mouseUP > repeat with wavelength = 779 down to 381 > set the backgroundcolor of grc 1 to convertWavelength(wavelength) unlock screen > wait 1 tick > end repeat > end mouseUP Does this help? Dar From Mark.Powell at veritas.com Mon Aug 11 20:32:00 2003 From: Mark.Powell at veritas.com (Mark Powell) Date: Mon Aug 11 20:32:00 2003 Subject: Ignore punctuation when addressing word n of a string [more info] Message-ID: Okay, so "word" automatically assumes white space as delimiter. I can't skim out the punctuation, so can someone suggest how I do the following. (This example is closer my real life problem). Within a bunch of text, I want to replace any string of pattern 00-000 (where 0 is any integer and the dash is a literal dash) with a string of 00-000 In other words, I am looking to bracket the pattern string with an HTML index tag that uses the same literal string as a named target. Short of doing a char-by-char crawl, how can I accomplish this search and replace? ManyTIA Mark Powell Production Manager VERITAS Education ---original post---- I have a string such as "now, that is a string!" But when I address word n of the string, I get "now," (when n = 1) and "string!" for (when n = 5). How can I point to a string and get only the nth word, without any contiguous punctuation getting in the way? --------------------- From themacguy at macosx.com Mon Aug 11 20:48:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 11 20:48:01 2003 Subject: Centering an object in a window Message-ID: <352FA8EE-CC66-11D7-9361-000A95763ABC@macosx.com> I'm not sure if this is the proper method but it worked so I thought I'd post it. on centerTheObject global theObject set the loc of theObject to (item 1 of the localloc of the loc of this stack) ,\ (item 2 of the localloc of the loc of this stack) end centerTheObject In the script that calls the above, I use: put myObject into theObject -- "myObject" for example being "field m144" (using quotes) Hope this helps someone. Regards, Barry From kray at sonsothunder.com Mon Aug 11 20:51:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 11 20:51:00 2003 Subject: Ignore punctuation when addressing word n of a string [more info] In-Reply-To: Message-ID: <017901c36073$23ba66f0$6801a8c0@LightningFlash> > Okay, so "word" automatically assumes white space as > delimiter. I can't skim out the punctuation, so can someone > suggest how I do the following. (This example is closer my > real life problem). Mark, here's a way to strip out punctuation - the regEx way: on mouseUp put "now, that is a string!" into tString put GetWords(tString) into fld 1 end mouseUp function GetWords pWhat local tWordNoPuncs put "" into tWordList repeat for each word tWord in pWhat get matchText(tWord,"([A-Za-z]*)",tWordNoPuncs) put tWordNoPuncs&cr after tWordList end repeat delete last char of tWordList return tWordList end GetWords > Within a bunch of text, I want to replace any string of pattern > > 00-000 > > (where 0 is any integer and the dash is a literal dash) with > a string of > > 00-000 > > In other words, I am looking to bracket the pattern string > with an HTML index tag that uses the same literal string as a > named target. Short of doing a char-by-char crawl, how can I > accomplish this search and replace? And for this one, try this: on mouseUp put "Yada 55-432 Yada" into tString put HREFIt(tString) into fld 1 end mouseUp function HREFIt pWhat local tText get matchText(pWhat,"([0-9][0-9][-][0-9][0-9][0-9])",tText) put "" & \ tText & "" into tReplaceVal replace tText with tReplaceVal in pWhat return pWhat end HREFIt Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Mon Aug 11 21:09:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 11 21:09:01 2003 Subject: Centering an object in a window In-Reply-To: <352FA8EE-CC66-11D7-9361-000A95763ABC@macosx.com> Message-ID: <017a01c36075$c095f8c0$6801a8c0@LightningFlash> Even easier: set the loc of theObject to the loc of this card Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Barry Levine > Sent: Monday, August 11, 2003 8:42 PM > To: use-revolution at lists.runrev.com > Subject: Centering an object in a window > > > I'm not sure if this is the proper method but it worked so I thought > I'd post it. > > on centerTheObject > global theObject > set the loc of theObject to (item 1 of the localloc of the loc of > this stack) ,\ > (item 2 of the localloc of the loc of this stack) > end centerTheObject > > In the script that calls the above, I use: > > put myObject into theObject > -- "myObject" for example being "field m144" (using quotes) > > Hope this helps someone. > > Regards, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From monte at sweattechnologies.com Mon Aug 11 21:19:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 11 21:19:01 2003 Subject: Centering an object in a window In-Reply-To: <352FA8EE-CC66-11D7-9361-000A95763ABC@macosx.com> Message-ID: > > I'm not sure if this is the proper method but it worked so I thought > I'd post it. > > on centerTheObject > global theObject > set the loc of theObject to (item 1 of the localloc of the loc of > this stack) ,\ > (item 2 of the localloc of the loc of this stack) > end centerTheObject > > In the script that calls the above, I use: > > put myObject into theObject > -- "myObject" for example being "field m144" (using quotes) > > Hope this helps someone. > Hey Barry That seems to work but you can also use the loc of the card to get the same result. Over on the improve list there is a discussion on using setProp handlers to improve the syntax of things like this. To do that you could have a setProp handler such as: /** this wouldn't do quite the same (it would also center grouped objects relative to the group rather than card) */ setProp centered pBoolean if pBoolean then set the loc of the target to the loc of the owner of the target end if end centered Then you can do the following: set the centred of me to true or set the centred of btn 1 to true Cheers Monte From joel at alpsgiken.gr.jp Mon Aug 11 21:32:00 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Mon Aug 11 21:32:00 2003 Subject: Convert frequency to RGB In-Reply-To: References: Message-ID: <20030812103751.E347.JOEL@alpsgiken.gr.jp> Dar Scott writes: > > On Monday, August 11, 2003, at 05:10 PM, Monte Goulding wrote: > > > Ideally if it were to be in libColor I'd like a WavelengthToRGB > > function and > > an RGBToWavelength function. > > In general, you can't do an RGBToWavelength. This thread reminds me of when I was in high school and we built an RC oscillator with a pot, and I did the natural thing and tried to extrapolate the concept to the visible spectrum. I kind of bleeped over the transponder problem, because I figured, hey, light is electromagnetic radiation. One loose wire makes a good antenna, right? > Wavelength is 1D and color without brightness is 2D. RGB is 3D. We > see a rich range of colors by a mix of more than one wavelength of > various intensities. And when we adjust any single RGB output value, we end up adjusting the output in each of the 3 dimensions. That's part of the reason we have RGB, CMYK, and several other color spaces, and it's also why values in each color space don't correspond exactly, isn't it? > A large part of that space we see can be > replicated by the right mix of red, green and blue phosphors (each of > which is really a mix of several wavelengths, muddying colors a tiny > bit, but looking great anyway). Darn those non-ideal transponders! > As for WavelengthToRGB, the CEI tables convert to non-real RGB-like > values that are related to physiological and psychological response. > This could be handy. However, these are not the same as the typical > phosphors including those defined for monitors, such as VGA. And I guess it goes without saying that no two tubes are exactly alike. > Those > colors are inside the space of observable colors and form a triangle of > possible RGB colors. And IIRC, that triangle varies, even from tube to tube of the same model CRT from the same manufacturer, manufactured in the same batch. > The wavelengths run along the periphery of > observable colors--outside of that triangle. And I'm thinking to myself, that's never really hit me before. > That means all > wavelengthToRGB calculations must be compromises. The colors are > _always_ wrong. One model for compromising is to select the best color > along the edge of the RGB color triangle. Then you have the problem of > what best means. I like the idea of where a line from white to the > desired color crosses the boundary of the RGB color triangle. However, > I suspect there is probably a better way to do this by whitening all > colors, that is by shrinking the CEI color horseshoe into the RGB > triangle. The psychologists can say better than I. All this to say > that a WavelengthToRGB function can be handy and valuable, but must > either be spec'd carefully or described as approximate. Shouldn't we say, "described as approximate, no matter how carefully we spec it?" ;-( > The one that > Jim is tinkering with is definitely the later, but might be useful to > him and to others. > > Dar Scott I once knew enough math and physics that I might have had a hope of setting up a set of differential equations to describe the effective wavelength and intensity, combining three inputs of constant wavelength at varying intensities. If you had that, you could just hold the effective intensity constant and solve the inputs for the effective frequency, then vary the effective frequency continuously through the visible spectrum. Now that I understand what it means, I don't remember the math or the physics. Anyway, it sounds like a good masters thesis project in physics. It has probably been done, maybe more than once, considering the number of assumptions and approximations that have to be chosen along the way. If you could find such a thesis, implement the numerical approximations in C or ForTran, and store the resultant list of RGB values into an array, you might or might not have a pretty good simulation table. (Calculating the series at run time in Revolution would be an interesting puzzle, too.) I think, I might be rather inclined to just take the suggestion of going and getting a large image of a natural rainbow, taking a cross-section sample of the colors, and storing the RGB values from that cross section into an array of constants that you just scan through. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp From jacque at hyperactivesw.com Mon Aug 11 21:37:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 11 21:37:01 2003 Subject: hide group - what gives? In-Reply-To: <0BB4DCFC-CC49-11D7-8F55-003065F97100@paradise.net.nz> References: <0BB4DCFC-CC49-11D7-8F55-003065F97100@paradise.net.nz> Message-ID: <3F385140.1040308@hyperactivesw.com> On 8/11/03 5:13 PM, Rodney Tamblyn wrote: > Hi Jacqueline, > > Yes that's right. If you've got a group in MC, when you hide it the > group and all its members disappears. In Revolution the group's > visibility is set to false, but the members of the group are still > visible. I'm guessing there is a system wide property to control this > behavour? It works here, the whole group and its objects disappear. Must be something else going on. You could try a new stack with a new group just to verify, which is what I did. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Aug 11 21:50:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 11 21:50:01 2003 Subject: Losing track of time In-Reply-To: References: <31381208-CC47-11D7-9C13-000A9567A3E6@swcp.com> Message-ID: <3F38546A.7080708@hyperactivesw.com> On 8/11/03 5:45 PM, Robert Brenstein wrote: > What this code does (for those less familiar with date/time conversions) > is: it first gets the current seconds and converts them to dateitems. > Then, it is a matter of increasing hour by 1 and setting minutes and > seconds to 0. We have now next full hour, which we convert back to > seconds and then ask to 'send' in whatever is the difference between the > calculated seconds for next full hour and current seconds. > > The only complication is that one needs to account for midnight (end of > the day), end of the month, and end of the year. May be there is a way > to avoid this somehow. Actually, that's the beauty of dateitems -- you don't have to account for any of that stuff. When you add a number to any item of the dateItems and then convert that string back to any other date/time format, the conversion handles all the spanning calculations for you. For example, starting at 8 PM on January 1: get "1/1/03 8:00 PM" convert it to dateitems add 6 to item 4 of it -- add six hours to the "hours" item convert it to long date and time put it In this case, adding 6 hours to the dateItems string causes it to span midnight. The second conversion yields: Thursday, January 2, 2003 2:00 AM It is one of the handiest things about the whole date/time "convert" process. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pixelbird at interisland.net Mon Aug 11 22:06:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Aug 11 22:06:01 2003 Subject: For the True Beginner In-Reply-To: <200308112228.SAA24975@www.runrev.com> Message-ID: Good evening Dan, > Date: Mon, 11 Aug 2003 16:17:46 -0700 > Subject: RE: For the True Beginner > From: Dan Shafer > I think RunRev is only a few basic steps away from being able to create > a smashing out-of-the-box experience for the beginner that would equal > or surpass what HyperCard has/had. ---------- Although I must admit, I don't go to the Cookbook often enough to see if something I need is already there, I'd have to agree with you. But, it's those few basic steps that could make all the difference. Useful stack templates that show off what Rev can do would be a good, basic step, IMNSHO. Ken N. From sarahr at genesearch.com.au Mon Aug 11 22:16:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 11 22:16:00 2003 Subject: hide group - what gives? In-Reply-To: <8137B3BB-CBFD-11D7-A801-003065F97100@paradise.net.nz> Message-ID: <16035386-CC72-11D7-9809-0003937A97B8@genesearch.com.au> Hi Rodney, It looks a bit as if you have multiple groups. Check the Application Browser and make sure that the group you are hiding is actually the group that contains the items you want to hide. This could explain your selection problems too. Hiding a group works fine for me i.e. it makes all the components of that group disappear. There is one trap that caught me yesterday: even though the members of the group cannot be seen, their "visible" property is still set to true. It is the group's visible property that is false. So don't base any other scripts on the visible of part of a group :-) Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On Monday, August 11, 2003, at 11:18 pm, Rodney Tamblyn wrote: > In Metacard hiding a group makes the group and all it's members > invisible... but in revolution it just hides the group element itself. > Can someone enlighten me why this is and how I can go about getting > back the desired behavour? > > Thanks. > > ~ Rodney > > -- > Rodney Tamblyn > 44 Melville Street > Dunedin > New Zealand > +64 3 4778606 > http://rodney.weblogs.com/ From sarahr at genesearch.com.au Mon Aug 11 22:31:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 11 22:31:00 2003 Subject: pageIncrement in scrollbars In-Reply-To: Message-ID: <1D730088-CC74-11D7-9809-0003937A97B8@genesearch.com.au> I get this too, and I also have trouble working out how to handle the thumb size. If I have a scrollbar from 1 to 100 with a thumbsize of 10, I can only ever get to 90. Also, in Rev 2.1B2, setting a thumbsize > 1 seems to give rather strange results: arrow clicks don't always increment the thumbPos and page clicks sometimes add 9 (pageInc - lineInc) and sometimes 10 (pageInc). Cheers, Sarah On Monday, August 11, 2003, at 02:06 pm, Michael J. Lew wrote: > I am having trouble with scrollbars. It seems as if clicking in the > grey area of a scrollbar object changes the thumbPosition by the > pageIncrement minus the lineIncrement. Thus if I make them equal there > is no effect from clicking in the grey area. If the pageInc is less > than the lineInc then the thumb moves backwards! Am I confused? > ..well, I AM confused, but is that what is really happening? > -- > Michael J. Lew > > Senior Lecturer > Department of Pharmacology > The University of Melbourne > Parkville 3010 > Victoria > Australia > > Phone +613 8344 8304 > > ** > New email address: michaell at unimelb.edu.au > ** > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From jhurley at infostations.com Mon Aug 11 22:31:31 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Aug 11 22:31:31 2003 Subject: Convert frequency to RGB In-Reply-To: <200308120049.UAA31195@www.runrev.com> References: <200308120049.UAA31195@www.runrev.com> Message-ID: Dear Dar and Monte, I should have specified more clearly what I need the conversion formula for. I am doing an optics/education stack. One of the substacks is on the physics of the rainbow. Actually that part is a little complicated. It involves a caustic formed by the light after it emerges from the drop after one internal reflection (for the primary bow)--a different caustic for each frequency. The light entering the drop is white--lots of frequencies. But since each frequency is refracted differently. It follows that the emergent light is composed of rays of pure frequency at each angle--if a ray at a given angle were composite, each component would refract at a different angle. A prism does the same thing. So I need a formula that gives Frequency to RGB and not RGB to frequency. As you have pointed out quite correctly, RGB colors will be a mix of frequencies. Although the *geometry* of the rays drawn by RunRev will be accurately represented on the screen since they are calculated using Snell's law given the index of refraction as a function of frequency. But the question is how give a reasonable *approximation* to the color of each ray and that is where the RGB values come in. I have done this in the stack that is posted on the RR education site for the seven conventional *discrete* colors (Roy G. Biv). (Aristotle said there were only three colors, but he has a thing about the number three.) But I have had a thought about how to simulate a continuous variation in frequency of emerging light rays. So I would like a formula which allows for a continuous variation in color of the graphic lines. Actually I think the scheme I mentioned earlier might work. That is get an image with a smooth transition, left to right, from red to violet, use the imageData function to extract the RGB values and hope that something like a Switch--case wavelength > x and wavelength < y will yield a reasonably smooth, effective formula. But I'll bet that someone has worked out a reasonable least squares fit (or whatever) of the tables you spoke of to reduce them to a nice simple algebraic formula. Jim From sarahr at genesearch.com.au Mon Aug 11 22:35:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 11 22:35:01 2003 Subject: Tools palette Message-ID: Thanks to everyone who responded to this: at least I'm not alone :-) I am getting closer to a diagnosis, I think although it is still inconsistent. It only seems to happen after opening a script editor window, and closing with the close button instead of using Enter, Enter as I usually do. I have Preferences set to hide palettes during script editing and there may be something going wrong when they are supposed to be shown again, possibly if there is a problem with the script. Sarah On Monday, August 11, 2003, at 01:16 pm, Sarah wrote: > Has anyone else had the problem of the Tools palette disappearing and > not coming back? Sometimes, it just disappears. It is still ticked in > the Tools menu and de-selecting/selecting it there does no good. > Command-T doesn't help either - the only solution is to shut down > Revolution and start it again. > > I can't work out what causes it to disappear, no pattern has emerged > yet, so I can't really bugzilla it, but I would be interested to know > if anyone else has encountered such a problem. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > From themacguy at macosx.com Mon Aug 11 22:59:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 11 22:59:00 2003 Subject: Documentation to the rescue In-Reply-To: <200308120049.UAA31195@www.runrev.com> Message-ID: <7DB68F71-CC78-11D7-9440-000A95763ABC@macosx.com> Dan, "Development | Plug-Ins | Search Revolution Documentation" I haven't a clue to what you are referring. Please elucidate. Thanks, Barry On Monday, Aug 11, 2003, at 18:49 America/Denver, Dan wrote: > The docs to the rescue! > > Development | Plug-Ins | Search Revolution Documentation > (snip) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolutionary > From monte at sweattechnologies.com Mon Aug 11 23:08:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 11 23:08:01 2003 Subject: Documentation to the rescue In-Reply-To: <7DB68F71-CC78-11D7-9440-000A95763ABC@macosx.com> Message-ID: > Dan, > > "Development | Plug-Ins | Search Revolution Documentation" > He's referring to the Search Revolution Documentation plugin. You access it by choosing Plugins > Search Revolution from the Development menu. Perhaps the confusion came about because | usually means or???? Regards Monte > I haven't a clue to what you are referring. > > Please elucidate. > > Thanks, > Barry > > On Monday, Aug 11, 2003, at 18:49 America/Denver, Dan wrote: > > > The docs to the rescue! > > > > Development | Plug-Ins | Search Revolution Documentation > > (snip) > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Dan Shafer, Revolutionary > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Mon Aug 11 23:14:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 11 23:14:00 2003 Subject: Documentation to the rescue In-Reply-To: <7DB68F71-CC78-11D7-9440-000A95763ABC@macosx.com> Message-ID: <018c01c36087$33f1c540$6801a8c0@LightningFlash> "Development" menu, "Plugins" menu item, "Search Revolution Documentation" sub menu item. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Barry Levine > Sent: Monday, August 11, 2003 10:53 PM > To: use-revolution at lists.runrev.com > Subject: Re: Documentation to the rescue > > > Dan, > > "Development | Plug-Ins | Search Revolution Documentation" > > I haven't a clue to what you are referring. > > Please elucidate. > > Thanks, > Barry > > On Monday, Aug 11, 2003, at 18:49 America/Denver, Dan wrote: > > > The docs to the rescue! > > > > Development | Plug-Ins | Search Revolution Documentation > > (snip) > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Dan Shafer, Revolutionary > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From dan at shafermedia.com Mon Aug 11 23:22:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Mon Aug 11 23:22:00 2003 Subject: Centering an object in a window Message-ID: Barry Levine offered a method for centering an object on the screen. Taking a page from one of the recipes in the Transcript Cookbook: set the loc of me to the screenLoc should do the job. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From dsc at swcp.com Mon Aug 11 23:34:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 11 23:34:00 2003 Subject: Convert frequency to RGB In-Reply-To: Message-ID: <5A3ADC66-CC7D-11D7-9C13-000A9567A3E6@swcp.com> On Monday, August 11, 2003, at 09:24 PM, Jim Hurley wrote: > But I have had a thought about how to simulate a continuous variation > in frequency of emerging light rays. So I would like a formula which > allows for a continuous variation in color of the graphic lines. > But I'll bet that someone has worked out a reasonable least squares > fit (or whatever) of the tables you spoke of to reduce them to a nice > simple algebraic formula. Even though it is not right, what you have should look OK. I'd use 127,127,0 for mid between red and green, not 255,255,0. I'd put only a small purple tail. I'm not sure why that looks bad. It will also be off because the wavelengths should be compressed near the ends, but that is easily fixed. It should also be darker near the ends. If you can read C, look at this: http://www.fourmilab.ch/documents/specrend/specrend.c It has black body sources, wavelength to xyz (CIE), xyz constrained to rgb and maybe others. The xyz to rgb uses a method I mentioned and is described here: http://www.fourmilab.ch/documents/specrend/ Also, for anybody interested, the pictures explain what I was not able to, because, well, partly because this kind of thing needs pictures. Sorry about the gobblygook. An interpolation table and a function to work with it is not so bad. I'm sure folks here would be glad to help. There are ways to make the table inline. (This means I know of no formula.) I think you can make sunlight from a blackbody of the right temperature. If the C code example does no good at all, I'll provide some short tables. I'm still baffled by why the colors look bad. How are you setting the colors? Dar Scott From gizmotron at earthlink.net Mon Aug 11 23:53:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 11 23:53:01 2003 Subject: Convert frequency to RGB In-Reply-To: <5A3ADC66-CC7D-11D7-9C13-000A9567A3E6@swcp.com> Message-ID: <4F5D16C9-CC80-11D7-8B34-000A95859272@earthlink.net> On Monday, August 11, 2003, at 09:27 PM, Dar Scott wrote: > Sorry about the gobblygook. I liked the gobbledygook. It reminded me of a discussion I once had regarding audio-cupeling in regards to ambient reflection in a post-production sound-studio mixing-room. I designed a sweet spot that was three person wide inside the reflection-free-zone. I remember the discussions on psycho-acoustics and human instinct of our ancient ancestors ability to determine direction, a kind of hunter's instinct. It had a lot to do with how different sound frequencies would bounce off of objects in different ways; how the human ear hears it differently than the capabilities of a microphone in a closed room. gobbledygook... From dsc at swcp.com Tue Aug 12 00:13:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 12 00:13:00 2003 Subject: Convert frequency to RGB In-Reply-To: <4F5D16C9-CC80-11D7-8B34-000A95859272@earthlink.net> Message-ID: On Monday, August 11, 2003, at 10:49 PM, Mark Brownell wrote: > On Monday, August 11, 2003, at 09:27 PM, Dar Scott wrote: > >> Sorry about the gobblygook. > > I liked the gobbledygook. Here are more pictures including some work on a similar problem: http://mintaka.sdsu.edu/GF/explain/optics/rendering.html Dar From themacguy at macosx.com Tue Aug 12 00:18:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Aug 12 00:18:00 2003 Subject: Documentation to the rescue In-Reply-To: <200308120309.XAA04660@www.runrev.com> Message-ID: <7A9E22CA-CC83-11D7-9440-000A95763ABC@macosx.com> Monte, A-ha! I thought Dan was referring to a path, so I was scrounging around in the Rev folder looking for the "Development" folder! Then I thought it might be a set of URL links at the RunRev site! I see it now...and, yes, I was able to find -lots- more stuff that seemed to be hiding behind corners now! Thanks, Barry PS - Also thanks to both you and Ken for the simplified centering script snippet. I had been under the (erroneous) impression that the loc of the card was the same as the loc of the stack. In this case, I simply mis-read the docs that I -had- found. Barry On Monday, Aug 11, 2003, at 21:09 America/Denver, use-revolution-request at lists.runrev.com wrote: >> "Development | Plug-Ins | Search Revolution Documentation" >> > He's referring to the Search Revolution Documentation plugin. You > access it > by choosing Plugins > Search Revolution from the Development menu. From jhurley at infostations.com Tue Aug 12 00:22:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Tue Aug 12 00:22:01 2003 Subject: Getting image data is corrupting? In-Reply-To: <200308120309.XAA04660@www.runrev.com> References: <200308120309.XAA04660@www.runrev.com> Message-ID: This is a new one to me. Take any image. Resize it all you want with the pointer tool. All is fine and dandy. Put this in the msg box: "get the imageData of image "myImage" (or whatever the name is) Don't do anything with the data; just get it. Now resize the image with the pointer tool. The image gets real messy in a hurry. Is this a known problem? RR 1.1.1, Mac OS 9.2 Jim From jswitte at bloomington.in.us Tue Aug 12 01:28:01 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Tue Aug 12 01:28:01 2003 Subject: Reading from a UNIX volume.. Message-ID: Hi, I know, Rev probably isn't the best environment to do this particular thing in, but I'm just experimenting for the time being.. I want to write a script that will read an entire ATA volume (via USB adapter) into a field.. The current volume I'm working with is only 8MB, so this should be feasible. The script I currently have is; open file "/dev/rdisk3" for binary read put the result into item 1 of ret * read from file "/dev/rdisk3" for 4096 -- until EOF put the result into item 2 of ret put it into fld "rtext" close file "/dev/rdisk3" put the result into item 3 of ret The script as written works, but if I change the starred line to 'until EOF' it doesn't - it gives a result code of 'eof' for the read command. Does EOF do strange things if the thing you're reading from is a volume, and not a "real" file (whatever real means). Is there a better way to read directly from a volume other doing a file read from /dev/* ? Thanks, Jim From chipp at chipp.com Tue Aug 12 01:55:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Aug 12 01:55:01 2003 Subject: Centering an object in a window In-Reply-To: <352FA8EE-CC66-11D7-9361-000A95763ABC@macosx.com> Message-ID: Barry, try.. on centerTheObject pObject --pObject is the name of the object to be centered set the loc of pObject to the loc of this cd end centerTheObject this has the advantage of not using a global variable. Of course, even easier (as Ken suggests) is to just say: set the loc of fld "fred" to the loc of this cd done in only one statement...in this case I probably would not create a handler for it, just put it inline with the code calling this. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Barry Levine > Sent: Monday, August 11, 2003 8:42 PM > To: use-revolution at lists.runrev.com > Subject: Centering an object in a window > > > I'm not sure if this is the proper method but it worked so I thought > I'd post it. > > on centerTheObject > global theObject > set the loc of theObject to (item 1 of the localloc of the loc of > this stack) ,\ > (item 2 of the localloc of the loc of this stack) > end centerTheObject > > In the script that calls the above, I use: > > put myObject into theObject > -- "myObject" for example being "field m144" (using quotes) > > Hope this helps someone. > > Regards, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Aug 12 02:42:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 12 02:42:00 2003 Subject: Learning Revolution Message-ID: With all the discussion going on here about learning Rev, remember that revJournal offers tutorials in the revSchool section: Alan Golub's been doing a ghreat job putting those togther, with more on the way. Definitely worth checking out. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dcragg at lacscentre.co.uk Tue Aug 12 03:33:00 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue Aug 12 03:33:00 2003 Subject: Http proxy In-Reply-To: References: Message-ID: At 11:54 am +0200 6/8/03, tkuypers at pandora.be wrote: >For some reason leaving the http-proxy empty prevents RR to use the >default-settings of explorer on my XP pc. > >So I looked into the registry and found the entry containing the >proxy-settings: > > put queryRegistry > ("HKEY_CURRENT_User\Software\Microsoft\Windows\ > CurrentVersion\Internet Settings\ProxyServer") into vProxy > > set the HTTPProxy to vProxy > >This works fine when there actually is a proxy set, but on a second PC I set >the lan settings of explorer to "automatically detect settings". >Now it doesn't work anymore, vProxy is empty and there is no connection >anymore. > >Does anyone know how to get the HTTTPproxy to work when "automatically >detect settings" is choosen? > >Many thanks in advance, > >Ton Kuypers You didn't get any replies on this. A pity, as I was also hoping someone might have an answer. I found some information here about how the "Automatically detect settings" works, and the difference from the "Use automatic configuration script." setting. If my interpretation is correct, at the very least, it looks like you would have to parse the javascript "FindProxyForURL" function. But before that, you'd have to find where the script is located. Unfortunately, I don't have a setup that allows me to explore this more. Just out of interest, when you set "Automatically detect settings", is IE able to connect. If so, from Rev, do you get anything returned from the following script: on mouseUp put hostNameToAddress("WDAP") end mouseUp Cheers Dave From taillade.m at wanadoo.fr Tue Aug 12 04:14:01 2003 From: taillade.m at wanadoo.fr (taillade) Date: Tue Aug 12 04:14:01 2003 Subject: Unable to switch to version 2. In-Reply-To: <200308111413.KAA01984@www.runrev.com> Message-ID: <6F3DD5CD-CCA4-11D7-B5C0-000A959C7026@wanadoo.fr> Thank you Jan for your prompt answer I tried stepping many time through the scripts and it goes wrong at the following step put vgstack into vgStackactif -- where vgstack is the name of the stack to go do "go stack"&&vgstackactif When arriving to the line do "go stack ... either it enter into an endless loop or it skips the line. > it's possible that you > set a custom property somewhere and it gets stuck in > an endless loop that way (setProp behaviour was > altered in version 2.0). I must say that I understand nothing to this problem of setProp behaviour. What should I do to test your hypothesis? Michel Taillade ----------- Le lundi, 11 ao? 2003, ? 16:13 Europe/Paris, use-revolution-request at lists.runrev.com a ?crit : > Bonjour Michel, > > Have you tried stepping through the scripts in order > to see where it goes wrong ? It's possible that you > set a custom property somewhere and it gets stuck in > an endless loop that way (setProp behaviour was > altered in version 2.0). > > Hope this helps, > > Jan Schenkel. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1124 bytes Desc: not available URL: From joel at alpsgiken.gr.jp Tue Aug 12 04:36:00 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Tue Aug 12 04:36:00 2003 Subject: Convert frequency to RGB In-Reply-To: <5A3ADC66-CC7D-11D7-9C13-000A9567A3E6@swcp.com> References: <5A3ADC66-CC7D-11D7-9C13-000A9567A3E6@swcp.com> Message-ID: <20030812182721.D482.JOEL@alpsgiken.gr.jp> > If you can read C, look at this: > > http://www.fourmilab.ch/documents/specrend/specrend.c > > It has black body sources, wavelength to xyz (CIE), xyz constrained to > rgb and maybe others. The xyz to rgb uses a method I mentioned and is > described here: > > http://www.fourmilab.ch/documents/specrend/ Wow. Neat stuff. I thought someone would have done this. I'm going to stash this somewhere and hope I don't lose it. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp From rjb at rz.uni-potsdam.de Tue Aug 12 04:50:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Aug 12 04:50:01 2003 Subject: Losing track of time In-Reply-To: <3F38546A.7080708@hyperactivesw.com> References: <31381208-CC47-11D7-9C13-000A9567A3E6@swcp.com> <3F38546A.7080708@hyperactivesw.com> Message-ID: >>The only complication is that one needs to account for midnight >>(end of the day), end of the month, and end of the year. May be >>there is a way to avoid this somehow. > >Actually, that's the beauty of dateitems -- you don't have to >account for any of that stuff. When you add a number to any item of >the dateItems and then convert that string back to any other >date/time format, the conversion handles all the spanning >calculations for you. > >For example, starting at 8 PM on January 1: > > get "1/1/03 8:00 PM" > convert it to dateitems > add 6 to item 4 of it -- add six hours to the "hours" item > convert it to long date and time > put it > >In this case, adding 6 hours to the dateItems string causes it to >span midnight. The second conversion yields: > > Thursday, January 2, 2003 2:00 AM > >It is one of the handiest things about the whole date/time "convert" process. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com > Wow, you never cease to amaze us, Jacqueline! Is this documented anywhere? Robert From janschenkel at yahoo.com Tue Aug 12 04:57:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 12 04:57:00 2003 Subject: Unable to switch to version 2. In-Reply-To: <6F3DD5CD-CCA4-11D7-B5C0-000A959C7026@wanadoo.fr> Message-ID: <20030812095053.33881.qmail@web11905.mail.yahoo.com> --- taillade wrote: > Thank you Jan for your prompt answer > > I tried stepping many time through the scripts and > it goes wrong at the > following step > > put vgstack into vgStackactif -- where vgstack > is the name of the > stack to go > do "go stack"&&vgstackactif > > When arriving to the line do "go stack ... either it > enter into an > endless loop or it skips the line. > > > it's possible that you > > set a custom property somewhere and it gets stuck > in > > an endless loop that way (setProp behaviour was > > altered in version 2.0). > > I must say that I understand nothing to this problem > of setProp > behaviour. > What should I do to test your hypothesis? > > Michel Taillade > Bonjour Michel, Don't worry if you don't know what setProp is ; that means you're not using it and thus in all likelyhood it won't be the culprit :-) When you open the same stack from the "Open stack..." menu, do you get the same problem ? If so, try getting in by using : lock messages go stack "Foobar" unlock messages If you can get in without errors, use that opportunity to delve into its stack script, and see what happens on preOpenStack, openStack, preOpenCard and openCard (insert breakpoints there for debugging) If nothing is wrong with the stack script, do the same for the script of the first card of the stack. Hope this gets you closer to the error, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From psahores at easynet.fr Tue Aug 12 05:45:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Aug 12 05:45:01 2003 Subject: Unable to switch to version 2. In-Reply-To: <20030812095053.33881.qmail@web11905.mail.yahoo.com> References: <20030812095053.33881.qmail@web11905.mail.yahoo.com> Message-ID: <3F38C39C.2090602@easynet.fr> Jan Schenkel wrote: > --- taillade wrote: > >>Thank you Jan for your prompt answer >> >>I tried stepping many time through the scripts and >>it goes wrong at the >>following step >> >> put vgstack into vgStackactif -- where vgstack >>is the name of the >>stack to go >> do "go stack"&&vgstackactif >> >>When arriving to the line do "go stack ... either it >>enter into an >>endless loop or it skips the line. >> >> >>>it's possible that you >>>set a custom property somewhere and it gets stuck >> >>in >> >>>an endless loop that way (setProp behaviour was >>>altered in version 2.0). >> >>I must say that I understand nothing to this problem >>of setProp >>behaviour. >>What should I do to test your hypothesis? >> >>Michel Taillade >> > > > Bonjour Michel, > > Don't worry if you don't know what setProp is ; that > means you're not using it and thus in all likelyhood > it won't be the culprit :-) > > When you open the same stack from the "Open stack..." > menu, do you get the same problem ? > > If so, try getting in by using : > lock messages > go stack "Foobar" > unlock messages > > If you can get in without errors, use that opportunity > to delve into its stack script, and see what happens > on preOpenStack, openStack, preOpenCard and openCard > (insert breakpoints there for debugging) > If nothing is wrong with the stack script, do the same > for the script of the first card of the stack. > > Hope this gets you closer to the error, > > Jan Schenkel. > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi Michel, Are you able to open the "vgstack.rev" as a main stack in Rev 2.xx ? If not, your are probably using MacOS X. Try, as a workaround, 1.- to save "vgstack.rev" as a mainstack if it is not, from within Rev 1.1.1. 2.- to launch Rev and to open "vgstack.rev" by dropping it over the Rev's application icon. This will open the stack and you will than be able to save it with "save as" menu. If this works and you need to set "vgstack.rev" as a substack again, just do it, yet under Rev 2.xx Hope this help. -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From alrice at ARCplanning.com Tue Aug 12 08:07:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 12 08:07:00 2003 Subject: Reading from a UNIX volume.. In-Reply-To: Message-ID: On Monday, August 11, 2003, at 11:21 PM, Jim Witte wrote: > open file "/dev/rdisk3" for binary read > put the result into item 1 of ret > * read from file "/dev/rdisk3" for 4096 -- until EOF > put the result into item 2 of ret > put it into fld "rtext" > close file "/dev/rdisk3" > put the result into item 3 of ret > > The script as written works, but if I change the starred line to > 'until EOF' it doesn't - it gives a result code of 'eof' for the read > command. Does EOF do strange things if the thing you're reading from > is a volume, and not a "real" file (whatever real means). Is there a > better way to read directly from a volume other doing a file read from > /dev/* ? Maybe the volume is larger than you can read in one operation, maybe some internal buffer size that Rev has? Try something like this repeat ... read from file "/dev/rdisk3" at (512 * n) for 512 Or try "read from driver" instead. The docs have examples of "read from driver" reading from /dev files. Maybe it handles EOF differently? OTO maybe read that's wrong and read from file is for block devices and read from driver is for stream devices? Alternatively you should shell() to use dd or cp to get the data from the device. Interesting question! Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From rodneytamblyn at paradise.net.nz Tue Aug 12 11:38:07 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Tue Aug 12 11:38:07 2003 Subject: A task for Binary decode? In-Reply-To: Message-ID: Hi everyone, I need to convert some data received from a postgreSQL database back into recognizable binary data. The data was written there by a JDBC/Java application, and it appears that it stores the binary data in octets - but this is new territory for me so I am hoping someone more knowledgible here can help. I'm retrieving this data using Revolution's database library. I wonder whether binaryDecode or (possibly even) the convertOctals property could be useful in converting this data back into recognizable binary data. Any ideas? I am still trying to get the PostgreSQL database to allow me to upload blobs from Revolution, but so far without success... Thanks very much. ~Rodney (going to bed as is 4.30am, and although I enjoy programming in Revolution a lot... well, there are limits!) -- sample of data \377\330\377\341\025\342Exif\000\000MM\000*\000\000\000\010\000\014\001\ 017\000\002\000\000\000\006\000\000\000\236\001\020\000\002\000\000\000\ 023\000\000\000\244\001\022\000\003\000\000\000\001\000\001\000\000\001\ 022\000\003\000\000\000\001\000\001\000\000\001\032\000\005\000\000\000\ 001\000\000\000\270\001\033\000\005\000\000\000\001\000\000\000\300\001( \000\003\000\000\000\001\000\002\000\000\0011\000\002\000\000\000\016\00 0\000\000\310\0012\000\002\000\000\000\024\000\000\000\326\001<\000\002\ 000\000\000\020\000\000\000\352\002\023\000\003\000\000\000\001\000\001\ 000\000\207i\000\004\000\000\000\001\000\000\000\372\000\000\003\240Cano n\000Canon PowerShot G3\000\000\000\264\000\000\000\001\000\000\000\264\000\000\000\001\000\0 00QuickTime 6.1\0002003:08:03 17:56:50\000Mac OS X -- sample of jdbc code used to write the object: (I think this code is right, but - well - possibly not the latest version, let me know if you are interested and I will check) Postgres supports inserting blobs through JDBC like Oracle: CREATE TABLE images (imgname text, img bytea); To insert an image, you would use: File file = new File("myimage.gif"); FileInputStream fis = new FileInputStream(file); PreparedStatement ps = conn.prepareStatement("INSERT INTO images VALUES (?, ?)"); ps.setString(1, file.getName()); ps.setBinaryStream(2, fis, file.length()); ps.executeUpdate(); ps.close(); fis.close(); To retrieve it you: PreparedStatement ps = con.prepareStatement("SELECT img FROM images WHERE imgname=?"); ps.setString(1, "myimage.gif"); ResultSet rs = ps.executeQuery(); if (rs != null) { while(rs.next()) { byte[] imgBytes = rs.getBytes(1); // use the stream in some way here } rs.close(); } ps.close(); From jacque at hyperactivesw.com Tue Aug 12 11:45:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 12 11:45:00 2003 Subject: Losing track of time In-Reply-To: References: <31381208-CC47-11D7-9C13-000A9567A3E6@swcp.com> <3F38546A.7080708@hyperactivesw.com> Message-ID: <3F391824.6090607@hyperactivesw.com> On 8/12/03 4:36 AM, Robert Brenstein wrote: >> Actually, that's the beauty of dateitems -- you don't have to account >> for any of that stuff. When you add a number to any item of the >> dateItems and then convert that string back to any other date/time >> format, the conversion handles all the spanning calculations for you. ... > Wow, you never cease to amaze us, Jacqueline! Is this documented anywhere? Thanks, but it's just an old HyperCard convention so I'm not all that amazing after all. I can't seem to find the explanation in the docs though, at least, not under the "convert" command. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From heather at runrev.com Tue Aug 12 12:18:00 2003 From: heather at runrev.com (Heather Williams) Date: Tue Aug 12 12:18:00 2003 Subject: Using other languages on the Revolution lists Message-ID: Dear listees, I know I'm a little late in commenting on this, but it seemed to me it would be useful to make a moderator comment on this subject. The philosophy of this list is to help all Revolution users, wherever and whoever they may be and at whatever skill level, as best we can, and - insofar as is possible in the real world - with professionalism and courtesy. So it seems to me the issue of those users who do not speak English fluently is something worth addressing. I suggest, that in the main, everyone tries to post in English. This is simply because the greatest majority on the list will understand that language. However, if you have real difficulties expressing yourself in English, there are certainly large numbers of French, German, Dutch and other language speakers on this list who may be able to help you. I think it would be acceptable to post in say, French, and add a short summary of the topic in English if you can, or if that is beyond you, a Babelfish translation. If nothing else, such occasional translations would certainly liven up the list and provide some innocent entertainment. For your comfort and convenience, the link I use for Babelfish is: http://world.altavista.com/ Although I'm sure there are others. I think I should emphasise however, that such postings should be kept to a minimum. My warm regards to you all Heather Thankfully removing listmom hat which in this hot weather is way too much to be wearing, and reaching for a fan. -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From dsc at swcp.com Tue Aug 12 13:06:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 12 13:06:00 2003 Subject: A task for Binary decode? In-Reply-To: Message-ID: On Tuesday, August 12, 2003, at 10:34 AM, Rodney Tamblyn wrote: > \377\330\377\341\025\342Exif\000\000MM\000*\000\000\000\010\000\014\001 > \017\000\002\000\000\000\006\000\000\000\236\001\020\000\002\000\000\00 > 0\023\000\000\000\244\001\022\000\003\000\000\000\001\000\001\000\000\0 > 01\022\000\003\000\000\000\001\000\001\000\000\001\032\000\005\000\000\ > 000\001\000\000\000\270\001\033\000\005\000\000\000\001\000\000\000\300 > \001(\000\003\000\000\000\001\000\002\000\000\0011\000\002\000\000\000\ > 016\000\000\000\310\0012\000\002\000\000\000\024\000\000\000\326\001<\0 > 00\002\000\000\000\020\000\000\000\352\002\023\000\003\000\000\000\001\ > 000\001\000\000\207i\000\004\000\000\000\001\000\000\000\372\000\000\00 > 3\240Canon\000Canon PowerShot > G3\000\000\000\264\000\000\000\001\000\000\000\264\000\000\000\001\000\ > 000QuickTime 6.1\0002003:08:03 17:56:50\000Mac OS X This looks suspiciously like something you can give to format() directly. If so, your solution is one line. Look at format and maybe try it and see what happens. Dar Scott ************************************************************************ **** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services ************************************************************************ **** From dsc at swcp.com Tue Aug 12 13:56:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 12 13:56:00 2003 Subject: Losing track of time In-Reply-To: Message-ID: On Monday, August 11, 2003, at 02:50 PM, J. Landman Gay wrote: > You specify the "send" time in a script as a time duration, but the > engine converts that to a specific date/time and stores it in the > pendingMessages as a specific point in time. ... > It doesn't really count seconds, it stores the trigger-time as a > specific date/time. There are many cases in which I would wish for a send that used a true delta in time regardless of changes in clock settings. (This is related to my wish for a timer function, similar to the long seconds, that is not connected to a clock and especially is not even-second resynced at times as in Windows and some Mac OS) On Monday, August 11, 2003, at 04:35 PM, Scott Rossi wrote: > I still think you will all find that maintaining a built-in timer with > tight > accuracy is too much work. Just poll the current time and base your > calculations on that. If my wish for a true delta-time send came true and the clock based one was lost, then this approach will still work. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From scott at tactilemedia.com Tue Aug 12 13:58:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Aug 12 13:58:01 2003 Subject: Admin Detection In-Reply-To: <200308112142.RAA18211@valiant.cnchost.com> Message-ID: Has anyone come up with a way to determine the user privileges of the current user without writing a file to the drive? I'm trying to detect whether or not the current Windows user has Admin rights. If the only way to determine this is to attempt to create a file, what is the best path to use? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Tue Aug 12 15:04:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Aug 12 15:04:00 2003 Subject: revGoURL and Windows IE... Message-ID: I've noticed that: revGoURL "http://www.ibm.com" opens up correctly in a browser. But if I issue it again without closing the browser, nothing happens. Sometimes the browser window gets lost behind other windows (or minimized), and so revGoURL doesn't appear to do anything. 1) Is there a way to fix this? 2) If not, is there a way to 'trap' it? Any help is appreciated... -Chipp From chipp at chipp.com Tue Aug 12 15:45:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Aug 12 15:45:00 2003 Subject: set the decorations of this stack to utility Message-ID: I'm using vers 2.1 on XP I try: set the decorations of this stack to utility from the msg and it appears to execute: set the decorations of this stack to empty The utility setting should create a palette which floats above all other windows. I've created a standalone with it and it still doesn't work. Can anyone get this to work? best, Chipp From kray at sonsothunder.com Tue Aug 12 15:47:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 12 15:47:01 2003 Subject: revGoURL and Windows IE... In-Reply-To: Message-ID: <021801c36111$bbbd4eb0$6801a8c0@LightningFlash> Chipp, I assume this is on Windows, right? ('Cause I tested it on Mac and it works fine and brings the process to the front). I have a VBScript that will do it: (put this into a text file with a .vbs extension and run it with shell() from within Rev): set WshShell = WScript.CreateObject("WScript.Shell") WshShell.AppActivate "IBM United States" Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Chipp Walters > Sent: Tuesday, August 12, 2003 2:57 PM > To: Use-Revolution > Subject: revGoURL and Windows IE... > > > I've noticed that: > > revGoURL "http://www.ibm.com" opens up correctly in a > browser. But if I issue it again without closing the browser, > nothing happens. Sometimes the browser window gets lost > behind other windows (or minimized), and so revGoURL doesn't > appear to do anything. > > 1) Is there a way to fix this? > 2) If not, is there a way to 'trap' it? > > Any help is appreciated... > > -Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From briany at qldlearning.com Tue Aug 12 16:45:00 2003 From: briany at qldlearning.com (Brian Yennie) Date: Tue Aug 12 16:45:00 2003 Subject: Revolution speed sucks? In-Reply-To: <001001c3602f$334d4fe0$b2ea5144@fatal7lcf637rj> Message-ID: <532AD9BD-CD0D-11D7-9A6D-000393AA08D2@qldlearning.com> > Did your revolution script read in and write out to text files as the > PERLotto script does? Yes. It uses your config file and writes out to "results.txt". > If so that may explain the 10% Perl speed advantage. Did you read in > and > write out to a field? Did you read the field into a variable and then > write > the results back to the field? Did you leave out the textcolor > commands out, > etc.? I ran the script from the command line. You may not be aware of this (and many aren't), but Rev also has command-line engines (i.e. no GUI, just runs a script like Perl). I ran with the Mac 'Darwin' version: there is also a windows console engine available. The behavior is as close as possible to the Perl script, since I wanted a fair comparison of the engine alone: it reads from a file and writes to one in the same manner as the Perl script. It could be sped up by using variables and writing the file once, but then it wouldn't be a 1-to-1 comparison anymore. > I modified OmniLotto to read the field into a variable "games" and did > all > the calculations there and then spit the variable games into the field > "gamelist" on a line by line basis (with lock screen until done). > > To process 100,000 games in Perl took 14 seconds while Revolution took > over10 minutes to process only 10,000 lines. > > The more lines in the field, no matter whether the data is manipulated > in > the field directly or in an array increases the time to process by some > order of magnitude. At least that's my perception, in this type of data > manipulation. Perl does not. > > Would you care to share (and I'm humbled that you took the time to > translate > my perl code in the first place) your .rev script with me for > inspection? I > would be most curious and "sharing the magic" is never a bad thing, > right? > ;-) I'll send you a copy off-list. You're welcome to use it for anything you like, share it, modify it, etc. I think this has been a good exercise for all of us! ------------------------------------- Brian Yennie Chief Technology Officer QLD Learning, LLC (904)-997-0212 briany at qldlearning.com -------------------------------------- From gizmotron at earthlink.net Tue Aug 12 17:02:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue Aug 12 17:02:01 2003 Subject: revGoURL and Windows IE... In-Reply-To: Message-ID: <2A97CBD4-CD10-11D7-BF0D-000A95859272@earthlink.net> On Tuesday, August 12, 2003, at 12:56 PM, Chipp Walters wrote: > I've noticed that: > > revGoURL "http://www.ibm.com" opens up correctly in a browser. But if I > issue it again without closing the browser, nothing happens. Sometimes > the > browser window gets lost behind other windows (or minimized), and so > revGoURL doesn't appear to do anything. > > 1) Is there a way to fix this? > 2) If not, is there a way to 'trap' it? > > Any help is appreciated... > > -Chipp You said any help. It might be bad help but test this if you know how: Click IBM for new window That is if you can figure out how to pass all this in a go URL handler. I've been all over the cookbook and docs looking for a way to pick up the link inside the thisLink and pass it from a mouse click in a text field. From ambassador at fourthworld.com Tue Aug 12 17:04:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 12 17:04:01 2003 Subject: Revolution speed sucks? In-Reply-To: <532AD9BD-CD0D-11D7-9A6D-000393AA08D2@qldlearning.com> Message-ID: Brian Yennie wrote: > The behavior is as close as possible to the Perl script, since I wanted > a fair comparison of the engine alone: it reads from a file and writes > to one in the same manner as the Perl script. It could be sped up by > using variables and writing the file once, but then it wouldn't be a > 1-to-1 comparison anymore. While the interest in fairnes is appreciated, if you're using fields instead of variables it tilts away from Rev unfairly, as Perl has no rich-text field objects to contend with. But even if algorithmically identical, one of the factors in choosing a tool is to exploit its unique strengths. For example, for many tasks simple chunk expressions are far faster than the more generalized RegEx, but chunk expressions are only found in xTalks (definitely an "unfair" advantage of Rev over even some 3GLs ). -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From briany at qldlearning.com Tue Aug 12 17:27:00 2003 From: briany at qldlearning.com (Brian Yennie) Date: Tue Aug 12 17:27:00 2003 Subject: Revolution speed sucks? In-Reply-To: Message-ID: <32D00EB0-CD13-11D7-9A6D-000393AA08D2@qldlearning.com> > While the interest in fairnes is appreciated, if you're using fields > instead > of variables it tilts away from Rev unfairly, as Perl has no rich-text > field > objects to contend with. I'm not using fields at all: I'm writing directly to text files. I also ran both in the script engine (no GUI at all) and in the GUI application with no GUI interaction (script gets compiled and gains a speedup). The scripts don't have any major differences like this that I can see: they read and write the same files, use the same loops, etc. > But even if algorithmically identical, one of the factors in choosing > a tool > is to exploit its unique strengths. For example, for many tasks simple > chunk expressions are far faster than the more generalized RegEx, but > chunk > expressions are only found in xTalks (definitely an "unfair" advantage > of > Rev over even some 3GLs ). Completely agreed. There are absolutely tasks for which each tool shines. If this script was full of "last char of item 4 of line -3 of myVariable", the Perl would be virtually unreadable. I wouldn't even attempt a Perl-based GUI app, and I doubt I'd write a complex pattern-matching server-side script in MetaTalk either. Of course, both tasks are possible. In the end, none of this should be considered to be anything approaching an exhaustive comparison of the two engines: just a direct comparison of a particular task with a particular algorithm. I'd love to see more, and I invite others to investigate the scripts in question and/or do the same thing with others. ------------------------------------- Brian Yennie Chief Technology Officer QLD Learning, LLC (904)-997-0212 briany at qldlearning.com -------------------------------------- From scott at tactilemedia.com Tue Aug 12 17:50:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Aug 12 17:50:01 2003 Subject: Pass A URL w/Javascript [was Re: revGoURL and Windows IE...] In-Reply-To: <2A97CBD4-CD10-11D7-BF0D-000A95859272@earthlink.net> Message-ID: Recently, "Mark Brownell" wrote: > test this if you know how: > > onclick="window.open('http:// > www.ibm.com','Windowname','menubar,status,scrollbars,resizable,toolbar,l > ocation,width=600,height=800');"> Click IBM for new window > > That is if you can figure out how to pass all this in a go URL handler. > I've been all over the cookbook and docs looking for a way to pick up > the link inside the thisLink and pass > it from a mouse click in a text field. One way to accomplish the above is to write an HTML file to the drive and launch the file. This is a technique I use as a backup for launching a URL in a non-common browser (such as Earthlink's modified version of IE) and is roughly equivalent to double-clicking an HTML document on the desktop. It's not elegant, but it works. The following is a combination of scripts I use on Mac and Win platforms. You could add any HTML/Javascript code to the createHTML function to accomplish whatever result is desired. [ in a button script ] on mouseUp put "http://www.runrev.com" into tURL put the tempName into tLaunchPath set itemDel to "/" put "temp_launch.html" into last item of tLaunchPath set itemDel to "," put createHTML(tURL) into tCode # if "Mac" is in platform() then set the fileType to "????TEXT" put tCode into url ("file:" & tLaunchPath) delete char 1 of tLaunchPath replace "/" with ":" in tLaunchPath put "tell application" && quote & "Finder" & quote & cr &\ "open file" && quote & tLaunchPath & quote & cr &\ "end tell" into s do s as AppleScript end if # if "Win" is in platform() then put tCode into url ("file:" & tLaunchPath) set the hideConsoleWindows to true put empty into tTitle if "NT" is in systemVersion() then set the shellCommand to "cmd.exe" put quote & quote into tTitle end if get shell("start" && tTitle && quote & tURL & quote) end if end mouseUp function createHTML tURL put \ "" & return &\ "" & return &\ "" & return &\ "Launcher" & return &\ "" & return &\ "" & return &\ "

" & return &\ "


" & return &\ "Loading URL. One moment please..." & return &\ "
" & return &\ "" & return &\ "" into tCode return tCode end createHTML Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From yoy at comcast.net Tue Aug 12 17:53:02 2003 From: yoy at comcast.net (yoy) Date: Tue Aug 12 17:53:02 2003 Subject: Revolution speed sucks? References: <532AD9BD-CD0D-11D7-9A6D-000393AA08D2@qldlearning.com> Message-ID: <001d01c36123$62f8d490$b2ea5144@fatal7lcf637rj> Brian, Thanks for sending me your script and everything. I'll study your work and hopefully learn from it, once I figure out how to use the Revolution command line interface. No doubt it's in the docs. That was surprising to learn. Debating perl vs. Revolution speed in OmniLotto's case was good for me. In reality, anyone who uses OmniLotto wouldn't likely play 100,000 games. For $10 worth of lotto tickets, the speed of OmniLotto is certainly an "in-blink-of-an-eye" performer! It's also nice to get back a mature xtalk since hypercard was canned. BTW, today I purchased the Studio edition of Revolution. It's a very feature rich environment that builds for many OSs and I really want to get gui apps out there for those who want my offerings. There's so much to learn, again! ;-) All the best, Andy Burns ----- Original Message ----- From: "Brian Yennie" To: Sent: Tuesday, August 12, 2003 5:38 PM Subject: Re: Revolution speed sucks? > > Did your revolution script read in and write out to text files as the > > PERLotto script does? > > Yes. It uses your config file and writes out to "results.txt". > > > > If so that may explain the 10% Perl speed advantage. Did you read in > > and > > write out to a field? Did you read the field into a variable and then > > write > > the results back to the field? Did you leave out the textcolor > > commands out, > > etc.? > > I ran the script from the command line. You may not be aware of this > (and many aren't), but Rev also has command-line engines (i.e. no GUI, > just runs a script like Perl). I ran with the Mac 'Darwin' version: > there is also a windows console engine available. > > The behavior is as close as possible to the Perl script, since I wanted > a fair comparison of the engine alone: it reads from a file and writes > to one in the same manner as the Perl script. It could be sped up by > using variables and writing the file once, but then it wouldn't be a > 1-to-1 comparison anymore. > > > > I modified OmniLotto to read the field into a variable "games" and did > > all > > the calculations there and then spit the variable games into the field > > "gamelist" on a line by line basis (with lock screen until done). > > > > To process 100,000 games in Perl took 14 seconds while Revolution took > > over10 minutes to process only 10,000 lines. > > > > The more lines in the field, no matter whether the data is manipulated > > in > > the field directly or in an array increases the time to process by some > > order of magnitude. At least that's my perception, in this type of data > > manipulation. Perl does not. > > > > Would you care to share (and I'm humbled that you took the time to > > translate > > my perl code in the first place) your .rev script with me for > > inspection? I > > would be most curious and "sharing the magic" is never a bad thing, > > right? > > ;-) > > I'll send you a copy off-list. You're welcome to use it for anything > you like, share it, modify it, etc. > > I think this has been a good exercise for all of us! > > > > ------------------------------------- > Brian Yennie > Chief Technology Officer > QLD Learning, LLC > (904)-997-0212 > briany at qldlearning.com > -------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From bvg at mac.com Tue Aug 12 18:13:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue Aug 12 18:13:01 2003 Subject: Revolution speed sucks? In-Reply-To: <001d01c36123$62f8d490$b2ea5144@fatal7lcf637rj> Message-ID: <8606911A-CD19-11D7-A37B-003065AD94A4@mac.com> Is it possible to get that file so I can try it out myself? Maybe others can give even better tips about how to speed it up! On Mittwoch, Aug 13, 2003, at 00:41 Europe/Zurich, yoy wrote: > Brian, > > Thanks for sending me your script and everything. I'll study your work > and > hopefully learn from it, once I figure out how to use the Revolution > command > line interface. No doubt it's in the docs. That was surprising to > learn. > > Debating perl vs. Revolution speed in OmniLotto's case was good for > me. In > reality, anyone who uses OmniLotto wouldn't likely play 100,000 games. > For > $10 worth of lotto tickets, the speed of OmniLotto is certainly an > "in-blink-of-an-eye" performer! > > It's also nice to get back a mature xtalk since hypercard was canned. > > BTW, today I purchased the Studio edition of Revolution. It's a very > feature > rich environment that builds for many OSs and I really want to get gui > apps > out there for those who want my offerings. > > There's so much to learn, again! ;-) > > All the best, > > Andy Burns > > > ----- Original Message ----- > From: "Brian Yennie" > To: > Sent: Tuesday, August 12, 2003 5:38 PM > Subject: Re: Revolution speed sucks? > > >>> Did your revolution script read in and write out to text files as the >>> PERLotto script does? >> >> Yes. It uses your config file and writes out to "results.txt". >> >> >>> If so that may explain the 10% Perl speed advantage. Did you read in >>> and >>> write out to a field? Did you read the field into a variable and then >>> write >>> the results back to the field? Did you leave out the textcolor >>> commands out, >>> etc.? >> >> I ran the script from the command line. You may not be aware of this >> (and many aren't), but Rev also has command-line engines (i.e. no GUI, >> just runs a script like Perl). I ran with the Mac 'Darwin' version: >> there is also a windows console engine available. >> >> The behavior is as close as possible to the Perl script, since I >> wanted >> a fair comparison of the engine alone: it reads from a file and writes >> to one in the same manner as the Perl script. It could be sped up by >> using variables and writing the file once, but then it wouldn't be a >> 1-to-1 comparison anymore. >> >> >>> I modified OmniLotto to read the field into a variable "games" and >>> did >>> all >>> the calculations there and then spit the variable games into the >>> field >>> "gamelist" on a line by line basis (with lock screen until done). >>> >>> To process 100,000 games in Perl took 14 seconds while Revolution >>> took >>> over10 minutes to process only 10,000 lines. >>> >>> The more lines in the field, no matter whether the data is >>> manipulated >>> in >>> the field directly or in an array increases the time to process by >>> some >>> order of magnitude. At least that's my perception, in this type of >>> data >>> manipulation. Perl does not. >>> >>> Would you care to share (and I'm humbled that you took the time to >>> translate >>> my perl code in the first place) your .rev script with me for >>> inspection? I >>> would be most curious and "sharing the magic" is never a bad thing, >>> right? >>> ;-) >> >> I'll send you a copy off-list. You're welcome to use it for anything >> you like, share it, modify it, etc. >> >> I think this has been a good exercise for all of us! >> >> >> >> ------------------------------------- >> Brian Yennie >> Chief Technology Officer >> QLD Learning, LLC >> (904)-997-0212 >> briany at qldlearning.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 gizmotron at earthlink.net Tue Aug 12 18:28:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue Aug 12 18:28:00 2003 Subject: Pass A URL w/Javascript In-Reply-To: Message-ID: <33110C63-CD1C-11D7-BF0D-000A95859272@earthlink.net> On Tuesday, August 12, 2003, at 03:43 PM, Scott Rossi wrote: > Recently, "Mark Brownell" wrote: > >> test this if you know how: >> >> > onclick="window.open('http:// >> www.ibm.com','Windowname','menubar,status,scrollbars,resizable,toolbar >> ,l >> ocation,width=600,height=800');"> Click IBM for new window >> >> That is if you can figure out how to pass all this in a go URL >> handler. >> I've been all over the cookbook and docs looking for a way to pick up >> the link inside the thisLink and pass >> it from a mouse click in a text field. > > One way to accomplish the above is to write an HTML file to the drive > and > launch the file. This is a technique I use as a backup for launching > a URL > in a non-common browser (such as Earthlink's modified version of IE) > and is > roughly equivalent to double-clicking an HTML document on the desktop. > It's > not elegant, but it works. > > The following is a combination of scripts I use on Mac and Win > platforms. > You could add any HTML/Javascript code to the createHTML function to > accomplish whatever result is desired. > > [ in a button script ] HERE > Regards, > > Scott Rossi Scott, Aren't you clever. I wouldn't have thought of that one. In Director I wrote my own HTML parser that handled links by creating arrays of numerical char locations for all hyperlinks in a rendered text field. I parsed out all the "http://..." codes and stored them in arrays to be used if a hyperlink was clicked. I'm still hoping I won't have to do this in Rev. some text makes "some text" render as a hyperlink. I'm still learning how to pick that link="http://www.someplace.com" up and use any stored information that relates to each "some text" link clicked. I may be wrong at this point but it looks like you need to make the hyperlink the full URL, "http...," literally. Mark From gizmotron at earthlink.net Tue Aug 12 19:44:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue Aug 12 19:44:00 2003 Subject: Pass A URL w/Javascript In-Reply-To: <33110C63-CD1C-11D7-BF0D-000A95859272@earthlink.net> Message-ID: On Tuesday, August 12, 2003, at 04:25 PM, Mark Brownell wrote: > I'm still learning how to pick that link="http://www.someplace.com" up > and use any stored information that relates to each "some text" link > clicked. I may be wrong at this point but it looks like you need to > make the hyperlink the full URL, "http...," literally. It works great. It even traps the proper URL when you use the exact same text for the link (like "click Here") multiple times. In Director there was a limit on how many links could be used in a text field. That was one of the reasons I wrote my own. more Wow! Wow! Wows! for Rev... I'll bet I can pass all kinds of stuff inside the URL and parse it up for my own custom needs. I'll test for white space or empty space in the URL first just to see if it will break it. Otherwise I can use a delimiter to pass unbroken strings of chars. This is a cool feature. me From scott at tactilemedia.com Tue Aug 12 20:01:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Aug 12 20:01:00 2003 Subject: Pass A URL w/Javascript In-Reply-To: Message-ID: Recently, Mark Brownell wrote: > I'll bet I can pass all kinds of stuff inside the URL and parse it up > for my own custom needs. I'll test for white space or empty space in > the URL first just to see if it will break it. Otherwise I can use a > delimiter to pass unbroken strings of chars. This is a cool feature. Keep in mind, if you ever have a problem with spaces or other "special" characters in a URL, you can use the urlEncode/Decode functions to make the problem characters more serer-friendly. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From gizmotron at earthlink.net Tue Aug 12 20:31:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue Aug 12 20:31:01 2003 Subject: Pass A URL w/Javascript In-Reply-To: Message-ID: <46E14F0A-CD2D-11D7-BF0D-000A95859272@earthlink.net> On Tuesday, August 12, 2003, at 05:55 PM, Scott Rossi wrote: > Recently, Mark Brownell wrote: > >> I'll bet I can pass all kinds of stuff inside the URL and parse it up >> for my own custom needs. I'll test for white space or empty space in >> the URL first just to see if it will break it. Otherwise I can use a >> delimiter to pass unbroken strings of chars. This is a cool feature. > > Keep in mind, if you ever have a problem with spaces or other "special" > characters in a URL, you can use the urlEncode/Decode functions to > make the > problem characters more serer-friendly. > > Regards, > > Scott Rossi Scott, Rev just passed this with flying colors:

Cat & Dog

mtmlsound link

mtmlimage link

mtmlvideo link

This is definitely not SQML compliant but having your own markup language "means never having to say you're sorry." This just saved me from having to write the algorithm from hell. I might just go out and take a day off for this. Yippee! Mark From monte at sweattechnologies.com Tue Aug 12 20:53:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 12 20:53:01 2003 Subject: Pass A URL w/Javascript In-Reply-To: <46E14F0A-CD2D-11D7-BF0D-000A95859272@earthlink.net> Message-ID: >

Cat & Dog

>

mtmlsound link

>

mtmlimage link

>

mtmlvideo link

> > This is definitely not SQML compliant but having your own markup > language "means never having to say you're sorry." > > This just saved me from having to write the algorithm from hell. I > might just go out and take a day off for this. Yippee! > Hey mark You don't need the http bit at the start of the linkText. I'd also suggest using = to separate name, value pairs and & to separate items as with a CGI url. Then you can just: put urlDecode(pLink) into tLink split tLink by "&" and "=" if tLink[type] = "video" then set the fileName of player x to tLink[linkauto] end if Cheers Monte From FlexibleLearning at aol.com Wed Aug 13 04:23:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed Aug 13 04:23:00 2003 Subject: Pass A URL to cover all Win bases Message-ID: Scott suggests: [snip] > if "Win" is in platform() then > put tCode into url ("file:" &tLaunchPath) > set the hideConsoleWindows to true > put empty into tTitle > if "NT" is in systemVersion() then ## > set the shellCommand to "cmd.exe" > put quote "e into tTitle > end if > get shell("start" &&tTitle &"e &tURL "e) > end if [endSnip] In order to catch all of Win95/98/2K/XP/NT/ME, I would only modify the shellCommand test to read... if ("NT" is in the systemVersion) or ("Windows 4.90" is in the systemVersion) ## Also, if you get the default browser to launch direct without using a temp file, Scott's excellent original post back in May 2002 to the mc list and for which I shall hate him forever ;)... on launchBrowser theURL set the hideConsoleWindows to true put empty into theTitle if ("NT" is in the systemVersion) or ("Windows 4.90" is in the systemVersion) then set the shellCommand to "cmd.exe" put quote & quote into theTitle end if get shell("start" && theTitle && theURL) end launchBrowser it may be useful to add a simple error trap in case the URL is already displayed with if the result is not empty then answer "Please click the REFRESH buton in your browser." end if /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus at major-k.de Wed Aug 13 04:56:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 13 04:56:01 2003 Subject: set the decorations of this stack to utility In-Reply-To: Message-ID: <6D158C9B-CD73-11D7-AA3C-000A27B49A96@major-k.de> Hi Chipp, > I'm using vers 2.1 on XP > I try: > > set the decorations of this stack to utility the official syntax is: ... set the decorations of this stack to ("utility") ... But it only worked on OSX for me. On my win2000 i got: "can't set this property!" ...waiting for the beta 3 ;-) > from the msg > > and it appears to execute: > > set the decorations of this stack to empty > > The utility setting should create a palette which floats above all > other > windows. I've created a standalone with it and it still doesn't work. > Can > anyone get this to work? > > best, > > Chipp Regards Klaus Major klaus at major-k.de www.major-k.de From FlexibleLearning at aol.com Wed Aug 13 05:20:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed Aug 13 05:20:01 2003 Subject: centering script Message-ID: <1e9.eb9e74c.2c6a8ee4@aol.com> Barry writes: > PS - Also thanks to both you and Ken for the simplified centering > script snippet. I had been under the (erroneous) impression that the > loc of the card was the same as the loc of the stack. In this case, I > simply mis-read the docs that I -had- found. And you can easily get the card or stack equivalent using localLoc and globalLoc functions, but you have probably discovered this by now! /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at tactilemedia.com Wed Aug 13 05:37:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Aug 13 05:37:00 2003 Subject: Pass A URL to cover all Win bases In-Reply-To: Message-ID: > Scott suggests: > > [snip] >> if "Win" is in platform() then >> put tCode into url ("file:" &tLaunchPath) >> set the hideConsoleWindows to true >> put empty into tTitle >> if "NT" is in systemVersion() then ## >> set the shellCommand to "cmd.exe" >> put quote "e into tTitle >> end if >> get shell("start" &&tTitle &"e &tURL "e) >> end if > [endSnip] > > In order to catch all of Win95/98/2K/XP/NT/ME, I would only modify the > shellCommand test to read... > > if ("NT" is in the systemVersion) or ("Windows 4.90" is in the systemVersion) > ## Just curious why you see a need for this? In MC the docs say to set the shellCommand to "cmd.exe" on NT systems, and WindowsME is seen by MC/Rev as a Windows (not NT) system. Does cmd.exe work better on ME? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Wed Aug 13 06:19:05 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Aug 13 06:19:05 2003 Subject: Windows Version Numbers In-Reply-To: <20030810001118.62049.qmail@web40504.mail.yahoo.com> Message-ID: I thought the following might prove helpful for folks doing version detection on Windows... Determining the current Windows version in Rev/MC may require a slight change on the scripting side. I've been doing a project with a client that used a script similar to the following to detect the current system version: switch the systemVersion case "Windows 4.0" put "Windows 95" into tVersion break case "Windows 4.10" put "Windows 98" into tVersion break case "Windows 4.90" put "Windows ME" into tVersion break case "NT 4.0" put "Windows NT" into tVersion break case "NT 5.0" put "Windows 2000" into tVersion break case "NT 5.1" put "Windows XP" into tVersion end switch After some testing, the client found that my project failed on some variations of Windows 98 and Windows ME (the client has a fairly extensive QA department). Apparently these Windows variations return systemVersions other than 4.10 and 4.90. The way I seemed to have solved the problem was to compare number *ranges* in the systemVersion, instead of exact values: put word 2 of the systemVersion into V if word 1 of the systemVersion = "Windows" then switch case V>=4 and V<4.1 put "Windows 95" into tVersion break case V>=4.1 and V<4.9 put "Windows 98" into tVersion break case V>=4.9 put "Windows ME" into tVersion end switch else switch case V>=4 and V<5 put "Windows NT" into tVersion break case V>=5 and V<5.1 put "Windows 2000" into tVersion break case V>=5.1 put "Windows XP" into tVersion end switch end if Hope this saves folks some debugging time. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From yvescoppe at skynet.be Wed Aug 13 06:28:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed Aug 13 06:28:01 2003 Subject: Modal stack Message-ID: <688E72E0-CC26-11D7-B3F4-003065E14B04@skynet.be> Hi list, I have a script a stack (A) opens another stack (B) as sheet this B stack has a btn this contains the script ... ... go to cd "xxx" of stack "C" as modal ... ... But the script DOESN'T pause !!! and there is a "MODAL" command in the script !!!! Why ???? thanks. Greetings. Yves COPPE yvescoppe at skynet.be From Cubist at aol.com Wed Aug 13 07:42:01 2003 From: Cubist at aol.com (Cubist at aol.com) Date: Wed Aug 13 07:42:01 2003 Subject: Windows Version Numbers Message-ID: <188.1d958b1a.2c6b8a67@aol.com> sez scott at tactilemedia.com >I thought the following might prove helpful for folks doing version >detection on Windows... [much stuff deleted to conserve bandwidth] >put word 2 of the systemVersion into V >if word 1 of the systemVersion = "Windows" then > switch > case V>=4 and V<4.1 > put "Windows 95" into tVersion > break > case V>=4.1 and V<4.9 > put "Windows 98" into tVersion > break [etc] It looks to me like you shouldn't ought to need that "and" in there, Scott. If I understand the CASE control structure properly, this should work just fine: put word 2 of the systemVersion into V if word 1 of the systemVersion = "Windows" then switch case V<4 put "Windows 3.x" into tVersion break case V<4.1 put "Windows 95" into tVersion break case V<4.9 put "Windows 98" into tVersion break default put "Windows ME" into tVersion end switch else switch case V<4 put "Windows 98 or so" into tVersion break case V<5 put "Windows NT" into tVersion break case V<5.1 put "Windows 2000" into tVersion break default put "Windows XP" into tVersion end switch end if Hope this helps... From rodneytamblyn at paradise.net.nz Wed Aug 13 08:04:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Wed Aug 13 08:04:00 2003 Subject: Blobs in PostgreSQL - solution Message-ID: <0C35C55E-CD8E-11D7-8504-003065F97100@paradise.net.nz> Hello everyone, This is just a followup to let you know the bug which I found in Revolution at present that prevents binary data operations with PostgreSQL database has been confirmed. It will be fixed in the final release of 2.1 apparently. In the meantime the workaround which I've discovered, and which works quite well, is to base64encode data then put it into a PostgreSQL text field (which seem, AFAIK, to be able to hold unlimited data). On retrieving the data I do a base64decode to turn it back into binary data. Using this approach I've been able to successfully store image data in PostgreSQL text fields. So the mystery is solved... ~ Rodney From FlexibleLearning at aol.com Wed Aug 13 08:53:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed Aug 13 08:53:01 2003 Subject: Pass A URL to cover all Win bases Message-ID: <1c0.dab0616.2c6b9b5b@aol.com> In a message dated 13/08/2003 12:34:27 PM GMT Daylight Time, Scott Rossi writes: > Just curious why you see a need for this? In MC the docs say to set the > shellCommand to "cmd.exe" on NT systems, and WindowsME is seen by MC/Rev as > a Windows (not NT) system. Does cmd.exe work better on ME? Hi Scott: Just quoting what you posted to the MC-List on Wed, 29 May 2002, Subject: Browser Launch Revisited. I don't have ME myself, so cannot test. And thanks for the Windows Version Numbers. Could come in very handy as a more error-resistant list! /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Wed Aug 13 08:57:04 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Aug 13 08:57:04 2003 Subject: A tip when using externals and cloning stacks Message-ID: <20030813135107.28260.qmail@web11905.mail.yahoo.com> Hi All, Just thought I'd save someone else days of searching and experimenting by handing out this tip -- even if not many may find themselves in this sort of situation. Here's the deal : - my app edits xml documents, in a multiple document interface ; to this end, it clones a certain substack of my mainstack ; these clones are the editor stacks in what follows - because there are certain other stacks that need to be called as sheets from these editor stacks, I clone these as well, and make the clones substacks of the editor stack - after the nhecessary stacks are cloned and the mainstacks set, I send the editor stack a message that triggers it to read the xml file, build a tree and prepare for edit. - so far so good ; the thing is that I didn't have any problem inside the Revolution IDE, but once compiled it didn't build the tree and I didn't get a warning even though I had included error reporting in the distribuilder After a lot of searching and experimenting, I found that because the editor stacks were no substacks of my app's mainstack, they had no access to the revXML library, even though it had loaded correctly, as other parts worked just fine. Some more experimenting led me to setting the editor stack's externals at preOpenStack (the earliest message it could get) to 'revxml.dll', but that meant that the externalFunctions were still unavailable. In the end I just moved all the XML logic to another spot, within my app's mainStack. Now it all runs fine. Still strange to see that the editor stacks didn't have access to the externals that were loaded in memory. [*] Hope this helps someone... Jan Schenkel. [*] May I add a supporting vote to the enhancement request with Bugzilla ID 331 ? Thanks in advance :-) ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From BradAllen at mac.com Wed Aug 13 09:21:00 2003 From: BradAllen at mac.com (Brad Allen) Date: Wed Aug 13 09:21:00 2003 Subject: LDAP request In-Reply-To: References: Message-ID: At 2:16 PM -0800 1/2/03, Bill Vlahos wrote: >I would like to write an application which queries a LDAP server. If >anyone has already done this I would appreciate any pointers. Bill, you posted this about seven months ago. Did you find out anything on this front? I'm trying to get the use of Rev justified at my day job for an upcoming project involving LDAP. The ability to connect to LDAP services using Rev would make this an easier sell... Thanks. From mazzapaolo at libero.it Wed Aug 13 10:09:00 2003 From: mazzapaolo at libero.it (mazzapaolo) Date: Wed Aug 13 10:09:00 2003 Subject: Image selection In-Reply-To: Message-ID: <4C06BF54-CD9F-11D7-ACF4-000393680A94@libero.it> Please consider these steps, Using Rev 2.0.2 on Mac OSX if... I select a portion of an image (with a transparent background) using the select tool (from the paint tool palette) I move the selected area around the image I click the mouse to deselect .... that portion of image is pasted and it maintains a transparent background . THAT IS OK. On the contrary, if ... I select a portion of an image (with a transparent background) using the select tool I choose "Copy image selection" from the "Edit" menu I choose "Paste" from the "Edit" menu .... that portion of image is pasted but it gets a white background . That portion of image is not transparent anymore... WHY? THAT IS NOT OK. How can I copy an image selection and paste it maintaining a transparent background? Please, I badly need this. Can you help me on this? Best regards, Paolo Mazza From heather at runrev.com Wed Aug 13 10:13:02 2003 From: heather at runrev.com (Heather Williams) Date: Wed Aug 13 10:13:02 2003 Subject: Revolution 2.1 Beta 3 now available Message-ID: Dear Listees, We're happy to inform you that Revolution 2.1 Beta 3 is now in testing - thanks for all the feedback! Download from http://www.runrev.com/Revolution1/developercentral/downloads.html And as always, back up your files and report all bugs via Bugzilla http://www.runrev.com/Revolution1/bugzilla/index.html Warm Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From gizmotron at earthlink.net Wed Aug 13 10:35:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Aug 13 10:35:00 2003 Subject: Pass A URL w/Javascript In-Reply-To: Message-ID: <402BE80B-CDA3-11D7-A210-000A95859272@earthlink.net> On Tuesday, August 12, 2003, at 06:46 PM, Monte Goulding wrote: > Hey mark > > You don't need the http bit at the start of the linkText. > > I'd also suggest using = to separate name, value pairs and & to > separate > items as with a CGI url. Then you can just: > > put urlDecode(pLink) into tLink > split tLink by "&" and "=" > if tLink[type] = "video" then > set the fileName of player x to tLink[linkauto] > end if > > Cheers > > Monte Monte, This works great. I had a meeting with the World Wide Consortium (W2) on MTML and it was decided that "&" should replace all empty-spaced breaks-points between attributes, in MTML anchor tags. This now makes it possible to break the SQML rules even further by adding the human readable component within an attribute's description or content. I'm amazed at all the different ways one can use to manipulate text in Transcript. It's getting almost cumbersome just to select the optimal direction. Thanks, Mark From lbrehmer at rof.net Wed Aug 13 10:36:00 2003 From: lbrehmer at rof.net (lbrehmer at rof.net) Date: Wed Aug 13 10:36:00 2003 Subject: A newbie aks how this was done Message-ID: <63340-220038313152917329@M2W068.mail2web.com> Hi there! In the absence of a manual (still unavailable) and the upcoming book by Dan Shafer (still unreleased) I have been teaching myself, as suggested, by first dissecting the tutorials and now the example stacks that came with the app. I have found something that would be absolutely perfect for a current project, but as an absolute non code- writer, this thing, which is most like very easy to do, is a complete mystery to me, no matter how hard I look at the inspectors and the scripts. I am not even sure these books will help when they are available, because many of the terms in the scripts can be found neither in the built in glossary nor in the transcript dictionary, so I suspect it was written in a different language (and I am not familiar with any language at all). I am talking about the "How to" object on the right side of the "Making simple soap calls" card of the SOAP_toolbox.rev stack in the examples folder of version 2.0.2. Since it is not a substack, I can only describe it as a widow on a card containing a number of navigable pages. This is just what I need, but I can't make heads or tails it, especially the script of the "rpcHowTo" object. What language was this thing written in or did it come from Meta- or Super- or HyperCard? Is this something someone could explain to a non-code person in a few minutes? If not, where should I look to find out how to do this? (Books, websites, other RunRev materials I don't have, et.) Thanks and apologies for my ignorance! Lars -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From RGould8 at aol.com Wed Aug 13 10:36:26 2003 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed Aug 13 10:36:26 2003 Subject: Possible to make a Fetch-like app in Rev? Message-ID: <18a.1e06e04b.2c6bb360@aol.com> Can anyone tell me if it's technically possible to make an app that works like "Fetch" on the Mac? I basically need to write an app that: 1) Permits the user to drag-and-drop a graphic, powerpoint or QT file onto the Revolution stack and automatically upload it to an FTP server. 2) Detects whether it's just 1 file, or a collection of files that's being dragged onto the app. 3) The app needs to run on Mac and Windows. -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Wed Aug 13 11:03:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Aug 13 11:03:01 2003 Subject: A newbie aks how this was done In-Reply-To: <63340-220038313152917329@M2W068.mail2web.com> Message-ID: <20030813155618.38085.qmail@web11908.mail.yahoo.com> --- "lbrehmer at rof.net" wrote: > Hi there! > > In the absence of a manual (still unavailable) and > the upcoming book by Dan > Shafer > (still unreleased) I have been teaching myself, as > suggested, by first > dissecting the > tutorials and now the example stacks that came with > the app. I have found > something > that would be absolutely perfect for a current > project, but as an absolute > non code- > writer, this thing, which is most like very easy to > do, is a complete > mystery to me, no > matter how hard I look at the inspectors and the > scripts. I am not even > sure these > books will help when they are available, because > many of the terms in the > scripts can > be found neither in the built in glossary nor in the > transcript dictionary, > so I suspect it > was written in a different language (and I am not > familiar with any > language at all). I > am talking about the "How to" object on the right > side of the "Making > simple soap > calls" card of the SOAP_toolbox.rev stack in the > examples folder of version > 2.0.2. > Since it is not a substack, I can only describe it > as a widow on a card > containing a > number of navigable pages. This is just what I > need, but I can't make > heads or tails it, > especially the script of the "rpcHowTo" object. > > What language was this thing written in or did it > come from Meta- or Super- > or > HyperCard? Is this something someone could explain > to a non-code person in > a few > minutes? If not, where should I look to find out > how to do this? (Books, > websites, > other RunRev materials I don't have, et.) > > Thanks and apologies for my ignorance! > > > Lars > Hi Lars, Here's what it boils down to : - the different 'pages' in the how-to are actually groups of controls, named "rpcHowTo i" where i = 1 through 5 - when you click on the right button, it checks which 'page' is being displayed (this is stored in a custom property of the 'rpcHowTo' group), determines the next page to show, and issues a 'goPage' command with the new page as parameter - the left and right buttons are members of the 'rpcHowTo' group, so the engine looks at the script of this enclosing group first, finds the 'goPage' handler there and executes it - this 'goPage' handler proceeds to hide all the groups but the one we're going to, makes sure to show the one group (=page) we wanted to see - it also stores the currently shown page as a custom property for later use by the left and right buttons Hope this clarified a few things for you, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dsc at swcp.com Wed Aug 13 11:09:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 13 11:09:01 2003 Subject: Possible to make a Fetch-like app in Rev? In-Reply-To: <18a.1e06e04b.2c6bb360@aol.com> Message-ID: <7FB5292A-CDA7-11D7-A3DB-000A9567A3E6@swcp.com> On Wednesday, August 13, 2003, at 09:29 AM, RGould8 at aol.com wrote: > Can anyone tell me if it's technically possible to make an app that > works like "Fetch" on the Mac? > > I basically need to write an app that: > > 1)? Permits the user to drag-and-drop a graphic, powerpoint or QT file > onto the Revolution stack and automatically upload it to an FTP > server. > 2)? Detects whether it's just 1 file, or a collection of files that's > being dragged onto the app. > 3)? The app needs to run on Mac and Windows. The TCP part is doable. (I'll let others address drag.) Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From janschenkel at yahoo.com Wed Aug 13 11:13:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Aug 13 11:13:00 2003 Subject: Possible to make a Fetch-like app in Rev? In-Reply-To: <18a.1e06e04b.2c6bb360@aol.com> Message-ID: <20030813160659.80497.qmail@web11903.mail.yahoo.com> --- RGould8 at aol.com wrote: > Can anyone tell me if it's technically possible to > make an app that works > like "Fetch" on the Mac? > > I basically need to write an app that: > > 1) Permits the user to drag-and-drop a graphic, > powerpoint or QT file onto > the Revolution stack and automatically upload it to > an FTP server. > 2) Detects whether it's just 1 file, or a > collection of files that's being > dragged onto the app. > 3) The app needs to run on Mac and Windows. > Hi there, Of course it's technically feasible :-) 1) make a field with the following script on dragEnter -- we only accept if a file is being dragged -- more checking could be done by examining the files that are being dropped if the dragData["files"] is not empty then set the acceptDrop to true end dragEnter on dragDrop put the dragData["files"] into tFilePaths repeat for each line tFilePath in tFilePaths -- first get the filename set the itemDelimiter to "/" put item -1 of tFilePath in tFileName -- now upload the file to the server libURLFTPUploadFile tFilePath, \ gServerPath & tFileName end repeat end dragDrop 2) In the above scenario, check the number of lines of the dragData["files"] and act accordingly 3) That shouldn't be any problem at all... Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jacque at hyperactivesw.com Wed Aug 13 12:11:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 13 12:11:00 2003 Subject: A tip when using externals and cloning stacks In-Reply-To: <20030813135107.28260.qmail@web11905.mail.yahoo.com> References: <20030813135107.28260.qmail@web11905.mail.yahoo.com> Message-ID: <3F3A6FBE.8050401@hyperactivesw.com> On 8/13/03 8:51 AM, Jan Schenkel wrote: > Just thought I'd save someone else days of searching > and experimenting by handing out this tip Loading externals has been iffy for more than one of my projects, and remains a perpetual problem. I've found that externals will load fine on my machine, but not on a client's machine with an identical setup. And using externals from a substack or a separate stack, as you found, doesn't always work either. My results with externals have been frustrating. I've entered an enhancement request into Bugzilla asking that Rev add a command that will dynamically load externals via script. This would circumvent all the various problems many of us are having, because we could choose to load the platform-specific external as needed instead of relying on the current setup which depends on many factors, such as the defaultFolder and some kind of magic when a stack opens. Tuviah has agreed to add this capability in a future version -- which is great news for me, and which should fix the problem for most of us once and for all. I hope it gets added soon. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From taillade.m at wanadoo.fr Wed Aug 13 12:13:00 2003 From: taillade.m at wanadoo.fr (taillade) Date: Wed Aug 13 12:13:00 2003 Subject: Unable to switch to version 2. In-Reply-To: <200308121602.MAA21600@www.runrev.com> Message-ID: <6B02ED45-CDB0-11D7-BBBF-000A959C7026@wanadoo.fr> Bonjour Jan, When I am able to open the stack, I may see what happens on preopenstack, openstack and so on .. and everything is correct. The problem happens when arriving (for the first time after opening the application) to the line do "go stack ... put vgstack into vgstackactif (where vgstack is the short name) go stack vgstackactif it enter into an endless loop without going farther, I need to apply cd period, and then the stack is open. Later and until I don't close the application, I am able to open and close the stack (but its not comfortable I need do navigate within 50 different stacks). I had 3 hypothesis (and keep in mind version 1.1.1 is working perfectly): a) I was doing a mistake when using the command do "go stack"&&vgstackactif. Now I am writing go stack vgstackactif and the problem is the same. b) I had the problem with the debugObjects custom property in cRevGeneral discussed within this list in may 2003 I cleaned all the stacks by using answer file "Open which stack?" put it into myStack lock messages open stack myStack get the customKeys["cRevGeneral"] of stack myStack set the wholeMatches to true delete line lineOffset("debugObjects",it) of it set the customKeys["cRevGeneral"] of stack myStack to it No change.. c) I am doing a mistake in fixing the directory of the stack from which I am starting to open the next one when I specify the directory by using: On preopenstack global vgDirectorySommaire put the filename of this stack into vabsolutepath set itemDel to "/" put item 1 to -2 of the fileName of this stack into vgDirectorySommaire set the directory to vgDirectorySommaire ?. I read there was a change in the file path between version 1.1.1 and Version 2. but I don't see the relation with the directory. The answer is coming from the differences between version 1.1.1 and version 2.0. Why it is working on version 1 and not on 2..... and what was different around "go stack ...", directory, file path ??? I must say I am discouraged, I am stuck in this problem since May.. thank you for your help Michel Taillade Le mardi, 12 ao? 2003, ? 18:02 Europe/Paris, use-revolution-request at lists.runrev.com a ?crit : >> Bonjour Michel, >> >> Don't worry if you don't know what setProp is ; that >> means you're not using it and thus in all likelyhood >> it won't be the culprit :-) >> >> When you open the same stack from the "Open stack..." >> menu, do you get the same problem ? >> >> If so, try getting in by using : >> lock messages >> go stack "Foobar" >> unlock messages >> >> If you can get in without errors, use that opportunity >> to delve into its stack script, and see what happens >> on preOpenStack, openStack, preOpenCard and openCard >> (insert breakpoints there for debugging) >> If nothing is wrong with the stack script, do the same >> for the script of the first card of the stack. >> >> Hope this gets you closer to the error, >> >> Jan Schenkel. From psahores at easynet.fr Wed Aug 13 12:19:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Aug 13 12:19:00 2003 Subject: RevDB, Linux and PostgreSQL In-Reply-To: <0C35C55E-CD8E-11D7-8504-003065F97100@paradise.net.nz> References: <0C35C55E-CD8E-11D7-8504-003065F97100@paradise.net.nz> Message-ID: <3F3A7178.4020609@easynet.fr> Rodney Tamblyn wrote: > Hello everyone, > > This is just a followup to let you know the bug which I found in > Revolution at present that prevents binary data operations with > PostgreSQL database has been confirmed. It will be fixed in the final > release of 2.1 apparently. > > In the meantime the workaround which I've discovered, and which works > quite well, is to base64encode data then put it into a PostgreSQL text > field (which seem, AFAIK, to be able to hold unlimited data). On > retrieving the data I do a base64decode to turn it back into binary > data. Using this approach I've been able to successfully store image > data in PostgreSQL text fields. > > So the mystery is solved... > > ~ Rodney > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi Rodney, Cool tip to know ! Could you, please, let me know, the platform witch host your Revolution's PostgeSQL client app, the platform witch host the PostgreSQL server ? Are both the client and the server running on the same box, on two diffrent boxes ? Even in using an example app, friendly provided to me by Sadhu, i have n't, at the moment, found the way to run a Rev's PostgreSQL client app hosted on the Linux platform (no tested on Win32 nor OSX, for yet) :-! Thanks for any help, IBTW : My Postgres 7.xx server is fine running and serving in production mode MC apps trough shell() bindings to the psql Postgres command line client. My problem is to get the right way to replace the shell() way by the RevDB lib's one? -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From taillade.m at wanadoo.fr Wed Aug 13 12:21:01 2003 From: taillade.m at wanadoo.fr (taillade) Date: Wed Aug 13 12:21:01 2003 Subject: Unable to switch to version 2. In-Reply-To: <200308121602.MAA21600@www.runrev.com> Message-ID: Le mardi, 12 ao? 2003, ? 18:02 Europe/Paris, use-revolution-request at lists.runrev.com a ?crit : > Hi Michel, > > Are you able to open the "vgstack.rev" as a main stack in Rev 2.xx ? If > not, your are probably using MacOS X. Try, as a workaround, > > 1.- to save "vgstack.rev" as a mainstack if it is not, from within Rev > 1.1.1. > > 2.- to launch Rev and to open "vgstack.rev" by dropping it over the > Rev's application icon. This will open the stack and you will than be > able to save it with "save as" menu. > > If this works and you need to set "vgstack.rev" as a substack again, > just do it, yet under Rev 2.xx > > Hope this help. > > -- > Bien cordialement, Pierre Sahores > Bonjour Pierre, It seems a message was lost because I did not the original message from Jan... I am using OSX 2,6. I must say I don't follow what you mean when saying: Are you able to open the "vgstack.rev" as a main stack in Rev 2.xx ? with the last sentence If this works and you need to set "vgstack.rev" as a substack again, just do it, yet under Rev 2.xx Read what I wrote to Jan, about opening stacks Thank you to help Michel Taillade From soapdog at mac.com Wed Aug 13 13:13:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Aug 13 13:13:00 2003 Subject: A Newbie Question on best practices with revolution 2. Message-ID: <9EF36202-CDB9-11D7-BE53-00039387AE90@mac.com> Hi Folks, Altought I am not a programmer newbie, I am a revolution newbie. I fiddle with revolution since the early days when it went public for I was fond of hypercard, I am now in the process of buying a license to complete my first commercial product. The problem is that I think I am not using revolution's main power, I am using it like just another RAD tool, I could do the same with REALBasic. I Want To Know the Revolution way if you folks understand me. I am using MacOS X but the software will be deployed on windows plataform. It's a collection of databases (more exactly tables) with multiple users accessing it. There are four databases (Students, Professors, Contacts and Projects). They should be able to alter data (insert, modify, delete) and search. I choose to settle for a MySQL DB running on a server, and make Rev hook into it. Pretty simple for now isn't it? What I want to know is for example what is better, to create substacks for each part of the system (like a substack to fiddle with the Students, another to fiddle with Professors) or if I just go creating cards under mainstack. I'd like to know theory, like when to create substacks, how to use Revolution true power, things i could not do with another tool. It's just that I think I am doing things the hard way (not that is hard to do, but it might there be a easier way). Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From rcozens at pon.net Wed Aug 13 13:16:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Wed Aug 13 13:16:00 2003 Subject: Menubar Anomalies Message-ID: Hi All, I am testing an SDB search engine in Rev 2.02 on Mac OS 10.2. The search is initiated by menuPick logic, including: modal stack "sdbDatabase Search" The main search logic in the dialog stack is: lock messages push card go invisible to card firstPage of stack sdbFileName repeat if searchKeys then find targetText in field "Record Key" else find targetText in field "Record" [snip] end repeat pop card unlock messages If the search criteria requests the first hit, the modal stack closes and the calling stack loads the record; if multiple hits are requested, the modal stack displays them in a list field, which includes a mouseUp handler to close the stack and return the selected record. The anomalies are: * In the Development environment, modal stack "sdbDatabase Search" changes the menubar to the Rev Dev menubar. When the modal stack closes after the search, the menubar for the database stack (which was visited invisibly) is displayed. * If Development Tools are suspended, modal stack "sdbDatabase Search" changes the menubar to the Rev Restore Development Tools menubar. When the modal stack closes after the search, the correct menubar is displayed. * In the standalone, modal stack "sdbDatabase Search" changes the menubar to the splash screen menubar. When the modal stack closes after the search, the correct menubar is displayed. I guess the next step would be to see if the behavior changes if the modal stack is opened in modeless form, or if a menubar is added to it. Right now I have other fish to fry; so if anyone can offer any insights or work-arounds, your input would be appreciated. -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From dsc at swcp.com Wed Aug 13 13:31:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 13 13:31:00 2003 Subject: A tip when using externals and cloning stacks In-Reply-To: <3F3A6FBE.8050401@hyperactivesw.com> Message-ID: <75389951-CDBB-11D7-A3DB-000A9567A3E6@swcp.com> On Wednesday, August 13, 2003, at 11:05 AM, J. Landman Gay wrote: > I've entered an enhancement request into Bugzilla asking that Rev add > a command that will dynamically load externals via script. This would > circumvent all the various problems many of us are having, because we > could choose to load the platform-specific external as needed instead > of relying on the current setup which depends on many factors, such as > the defaultFolder and some kind of magic when a stack opens. This might allow an application to birth an appropriate external instead of relying on an installer. Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From jswitte at bloomington.in.us Wed Aug 13 14:38:00 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Wed Aug 13 14:38:00 2003 Subject: Regular expressions - detecting whitespace Message-ID: <0E977761-CDC5-11D7-9FC0-000393BF0854@bloomington.in.us> Hi, Probably been answered before, I don't have time to download a 63MB archive over a phone line.. What kind of regular expression can I use to detect if a string is entirely whitespace (space, tab, or return)? I tried "^([\s|\t|\n]*)" but that didn't work. BTW, if I execute 'put matchText( "this text" , "(g*)")', it returns true. Certainly this is not a string of 'g's.. What am I doing wrong here Jim From dsc at swcp.com Wed Aug 13 14:49:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 13 14:49:01 2003 Subject: Regular expressions - detecting whitespace In-Reply-To: <0E977761-CDC5-11D7-9FC0-000393BF0854@bloomington.in.us> Message-ID: <569BD166-CDC6-11D7-A3DB-000A9567A3E6@swcp.com> On Wednesday, August 13, 2003, at 01:33 PM, Jim Witte wrote: > What kind of regular expression can I use to detect if a string is > entirely whitespace (space, tab, or return)? I tried "^([\s|\t|\n]*)" > but that didn't work. Will this work? "\A\s*\z" That forces the start and end as part of the pattern. Dar Scott From got at mindspring.com Wed Aug 13 15:02:00 2003 From: got at mindspring.com (Gordon Tillman) Date: Wed Aug 13 15:02:00 2003 Subject: Regular expressions - detecting whitespace In-Reply-To: <0E977761-CDC5-11D7-9FC0-000393BF0854@bloomington.in.us> References: <0E977761-CDC5-11D7-9FC0-000393BF0854@bloomington.in.us> Message-ID: <14A85A7C-CDC8-11D7-A35A-000A95A0633E@mindspring.com> Hi Jim, > What kind of regular expression can I use to detect if a string is > entirely whitespace (space, tab, or return)? I tried "^([\s|\t|\n]*)" > but that didn't work. Try this: answer matchtext( your_field_reference, "^[\s\t\n]+$" ) --gordy From jacque at hyperactivesw.com Wed Aug 13 15:09:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 13 15:09:01 2003 Subject: Regular expressions - detecting whitespace In-Reply-To: <0E977761-CDC5-11D7-9FC0-000393BF0854@bloomington.in.us> References: <0E977761-CDC5-11D7-9FC0-000393BF0854@bloomington.in.us> Message-ID: <3F3A9979.6090801@hyperactivesw.com> On 8/13/03 2:33 PM, Jim Witte wrote: > What kind of regular expression can I use to detect if a string is > entirely whitespace (space, tab, or return)? I tried "^([\s|\t|\n]*)" > but that didn't work. If you aren't set on using regex, there's a fast native way that I always use: if the number of words in myString = 0 then... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at easynet.fr Wed Aug 13 15:18:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Aug 13 15:18:01 2003 Subject: Unable to switch to version 2. In-Reply-To: References: Message-ID: <3F3A9B76.7000501@easynet.fr> taillade wrote: > > Le mardi, 12 ao? 2003, ? 18:02 Europe/Paris, > use-revolution-request at lists.runrev.com a ?crit : > >> Hi Michel, >> >> Are you able to open the "vgstack.rev" as a main stack in Rev 2.xx ? If >> not, your are probably using MacOS X. Try, as a workaround, >> >> 1.- to save "vgstack.rev" as a mainstack if it is not, from within Rev >> 1.1.1. >> >> 2.- to launch Rev and to open "vgstack.rev" by dropping it over the >> Rev's application icon. This will open the stack and you will than be >> able to save it with "save as" menu. >> >> If this works and you need to set "vgstack.rev" as a substack again, >> just do it, yet under Rev 2.xx >> >> Hope this help. >> >> -- >> Bien cordialement, Pierre Sahores >> > Bonjour Pierre, > > It seems a message was lost because I did not the original message from > Jan... > I am using OSX 2,6. > > I must say I don't follow what you mean when saying: > Are you able to open the "vgstack.rev" as a main stack in Rev 2.xx ? > > with the last sentence > If this works and you need to set "vgstack.rev" as a substack again, > just do it, yet under Rev 2.xx > > Read what I wrote to Jan, about opening stacks > Thank you to help > > Michel Taillade > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi Michel, What i expect is that this problem could be relative to the way the Rev/MC 2.5 engine works under MacOSX to reopen 1.1.1 stacks issues, not in about your stack it-self. If needed, i can test your stack under Linux, where there are never problems in reopening such kind of stacks. If your problem don't happen, here, you will then have to fill a request to bugzella. Else i will have an eye to your code. If you want, send me the stack in a ".zip" or ".gz" and i will let you know how it goes. -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From chipp at chipp.com Wed Aug 13 15:41:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Aug 13 15:41:00 2003 Subject: OT Windows Version Numbers In-Reply-To: Message-ID: Scott, Usually I refrain from burdening the list with standard "Thanks" messages. But, after the PASS URL w/Javascript thread and now this one... you are definitely 'the man' :-) -Chipp BTW, mind if I put these tips up on my RunRev site? From soapdog at mac.com Wed Aug 13 15:55:02 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Aug 13 15:55:02 2003 Subject: How to update?! Message-ID: <24107CC2-CDD0-11D7-BE53-00039387AE90@mac.com> Hi Folks, i downloaded a couple updates from rev page... revLibrary.rev revDistributionBuilder... but i don't know how to install thoose things... Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 276 bytes Desc: not available URL: From scott at tactilemedia.com Wed Aug 13 15:55:51 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Aug 13 15:55:51 2003 Subject: OT Windows Version Numbers In-Reply-To: Message-ID: Recently, "Chipp Walters" wrote: > Usually I refrain from burdening the list with standard "Thanks" messages. > But, after the PASS URL w/Javascript thread and now this one... > > you are definitely 'the man' :-) Glad to hear you find my goofy workarounds useful. (To be honest, I am also somewhat adverse to the one-liner "thanks" posts as well, but since you asked the following...) > BTW, mind if I put these tips up on my RunRev site? I don't mind but Ken Ray might. :-) Just kidding -- feel free. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Wed Aug 13 16:49:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 13 16:49:00 2003 Subject: Windows Version Numbers In-Reply-To: Message-ID: <030301c361e3$cd59f100$6801a8c0@LightningFlash> Scott, Just curious... what version numbers did they return, and for what OSes? Ken > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Scott Rossi > Sent: Wednesday, August 13, 2003 6:13 AM > To: Revolution List; Metacard List > Subject: Windows Version Numbers > > > I thought the following might prove helpful for folks doing > version detection on Windows... > > Determining the current Windows version in Rev/MC may require > a slight change on the scripting side. I've been doing a > project with a client that used a script similar to the > following to detect the current system version: > > switch the systemVersion > case "Windows 4.0" > put "Windows 95" into tVersion > break > case "Windows 4.10" > put "Windows 98" into tVersion > break > case "Windows 4.90" > put "Windows ME" into tVersion > break > case "NT 4.0" > put "Windows NT" into tVersion > break > case "NT 5.0" > put "Windows 2000" into tVersion > break > case "NT 5.1" > put "Windows XP" into tVersion > end switch > > After some testing, the client found that my project failed > on some variations of Windows 98 and Windows ME (the client > has a fairly extensive QA department). Apparently these > Windows variations return systemVersions other than 4.10 and > 4.90. The way I seemed to have solved the problem was to > compare number *ranges* in the systemVersion, instead of exact values: > > put word 2 of the systemVersion into V > if word 1 of the systemVersion = "Windows" then > switch > case V>=4 and V<4.1 > put "Windows 95" into tVersion > break > case V>=4.1 and V<4.9 > put "Windows 98" into tVersion > break > case V>=4.9 > put "Windows ME" into tVersion > end switch > else > switch > case V>=4 and V<5 > put "Windows NT" into tVersion > break > case V>=5 and V<5.1 > put "Windows 2000" into tVersion > break > case V>=5.1 > put "Windows XP" into tVersion > end switch > end if > > Hope this saves folks some debugging time. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From steve at nexpath.com Wed Aug 13 16:55:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Wed Aug 13 16:55:01 2003 Subject: Regular expressions - detecting whitespace In-Reply-To: <0E977761-CDC5-11D7-9FC0-000393BF0854@bloomington.in.us> References: <0E977761-CDC5-11D7-9FC0-000393BF0854@bloomington.in.us> Message-ID: <3F3AB415.7070904@nexpath.com> Jim Witte wrote: > > BTW, if I execute 'put matchText( "this text" , "(g*)")', it returns > true. Certainly this is not a string of 'g's.. What am I doing wrong here In RegExp, "*" matches _zero_ or more of the previous chars. What you want here is "(g+)" for one or more g's. Kind of counter intuitive since for ls or dir, the "*" has a slightly different meaning, ie, "ls g*" will get all files starting with "g". Not so in regexp. Reg exp takes some getting used to. I learned from Larry Wall's Perl book, that seems to be the best reference with examples, and more complete than the Rev Docs. -Steve From scott at tactilemedia.com Wed Aug 13 17:00:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Aug 13 17:00:01 2003 Subject: Windows Version Numbers In-Reply-To: <030301c361e3$cd59f100$6801a8c0@LightningFlash> Message-ID: Recently, "Ken Ray" wrote: > Just curious... what version numbers did they return, and for what OSes? Sorry, I didn't have to time to go over to the test facility and determine if there were in any alternate version numbers. But I can tell you that one of the "problem" systems included Win98G, whatever that is. I can also tell you that once the code used to validate the system version was changed to include version ranges, our system detection worked correctly. FWIW... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From themacguy at macosx.com Wed Aug 13 17:00:51 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Aug 13 17:00:51 2003 Subject: Bug (and I'll report it if it hasn't been already) Message-ID: From the message box, type "revSetSpeechSpeed" (without a number) and hit Enter. *boom* - Rev quits. (OSX 10.2.6, Rev 2.0.1) Barry From dsc at swcp.com Wed Aug 13 17:09:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 13 17:09:01 2003 Subject: Regular expressions - detecting whitespace In-Reply-To: <3F3AB415.7070904@nexpath.com> Message-ID: On Wednesday, August 13, 2003, at 03:56 PM, Steve Gehlbach wrote: > Jim Witte wrote: >> >> BTW, if I execute 'put matchText( "this text" , "(g*)")', it >> returns true. Certainly this is not a string of 'g's.. What am I >> doing wrong here > > In RegExp, "*" matches _zero_ or more of the previous chars. What you > want here is "(g+)" for one or more g's. Kind of counter intuitive > since for ls or dir, the "*" has a slightly different meaning, ie, "ls > g*" will get all files starting with "g". Not so in regexp. In addition, the regex matches if the pattern is within, not just if it spans the string. For the pattern to match the entire string, \A at the start and \z at the end (or the equivalent) are needed. For example, "\Ag*\z" will match a string of zero or more g's. It will match the empty string in the case of zero. Dar Scott From bvg at mac.com Wed Aug 13 17:13:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed Aug 13 17:13:01 2003 Subject: custom property woes Message-ID: <49023623-CDDA-11D7-A37B-003065AD94A4@mac.com> I do not understand this. WHen I refer to a custom property it generates an error! for example typing this in the message box: put the players of this stack returns: Script compile error: Error description: Expression: bad factor even if the property did not exist it should return just empty but never generate an error?? also a similar line in the code of my stack which looks like this: send "startTurn" to stack (Line 2 of the Players of me) returns this error when I click apply: compiling at 12:02:57 AM Type Expression: bad factor Object Untitled 1 Line send "startTurn" to stack (Line 2 of the Players of me) Hint what the hell is going on? Mac OS X 10.2.6 rev version 2.0rc2 From RGould8 at aol.com Wed Aug 13 17:36:01 2003 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed Aug 13 17:36:01 2003 Subject: Can I do this with Drawers? Message-ID: <13.20ce19a2.2c6c15b6@aol.com> I'm just about to get into the new beta and play around with drawers - - - - can anyone tell me if I can mimic what is done with drawers in Apple's "Preview app"? That is, can I have Revolution populate the drawer with a series of thumbnails and have the drawer automatically put a vertical scrollbar in place and scroll vertically between the images? -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at tactilemedia.com Wed Aug 13 17:39:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Aug 13 17:39:01 2003 Subject: custom property woes In-Reply-To: <49023623-CDDA-11D7-A37B-003065AD94A4@mac.com> Message-ID: Recently, "Bj?rnke von Gierke" wrote: > I do not understand this. WHen I refer to a custom property it > generates an error! for example typing this in the message box: > > put the players of this stack > > returns: > > Script compile error: > Error description: Expression: bad factor > > even if the property did not exist it should return just empty but > never generate an error?? > also a similar line in the code of my stack which looks like this: > > send "startTurn" to stack (Line 2 of the Players of me) > > returns this error when I click apply: > > compiling at 12:02:57 AM > Type Expression: bad factor > Object Untitled 1 > Line send "startTurn" to stack (Line 2 of the Players of me) > Hint > > what the hell is going on? > Mac OS X 10.2.6 rev version 2.0rc2 "players" is probably a reserved word, as in "put the number of players of this stack" so you cannot reference it as a property name. Use a less common word, or (referencing FourthWorld's variable naming conventions) something like uPlayers. answer the uPlayers of this stack Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jtenny at willamette.edu Wed Aug 13 17:41:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Wed Aug 13 17:41:00 2003 Subject: HyperGASP In-Reply-To: <200308082206.SAA16408@www.runrev.com> Message-ID: Anyone familiar with HyperGASP. If so, is there anything like it for Rev? (It was a programmers support tool for Hypercard). John From jhurley at infostations.com Wed Aug 13 17:42:21 2003 From: jhurley at infostations.com (Jim Hurley) Date: Wed Aug 13 17:42:21 2003 Subject: I suffer dementia so I can't use Revolution In-Reply-To: <200308131957.PAA27558@www.runrev.com> References: <200308131957.PAA27558@www.runrev.com> Message-ID: I was about to post a question on the formatting of text so that the decimal points in my numbers would line up. I planned to do this by setting the numberformat to 0.00, and right justifying the text. I was searching for a way to pad the line of text with leading spaces to force the line against the right margin. Alas, in searching through the docs for formatted width etc. I came upon an old friend, text align, which of course included right align. Problem solved. I had used this many times before to center align but never right align. Never mind the issue of "I speak xxx, so I can't use Revolution." How about a list for those of us with dementia? Jim From bvg at mac.com Wed Aug 13 17:46:02 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed Aug 13 17:46:02 2003 Subject: custom property woes In-Reply-To: Message-ID: On Donnerstag, Aug 14, 2003, at 00:32 Europe/Zurich, Scott Rossi wrote: > "players" is probably a reserved word, as in "put the number of > players of > this stack" so you cannot reference it as a property name. I'm stupid thank you :) From tkuypers at pandora.be Wed Aug 13 17:55:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Wed Aug 13 17:55:01 2003 Subject: Http proxy In-Reply-To: Message-ID: Hi Dave, Indeed, no replies... :-(( Not even from Kevin, but I think he is still on leave (and he deserved it) The URL you mentioned is very interesting, but you are right... To make it work, you need the location of the pacfile so that?s no solution unfortunately. put hostNameToAddress("WDAP") returns empty though my settings are set to Automatic detect... Nope, I guess we have to wait for a respons from our RR friends, unless anybody else has figuered this one out... Regards, Ton Kuypers > From: Dave Cragg > Reply-To: use-revolution at lists.runrev.com > Date: Tue, 12 Aug 2003 09:26:56 +0100 > To: > Subject: Re: Http proxy > > At 11:54 am +0200 6/8/03, tkuypers at pandora.be wrote: >> For some reason leaving the http-proxy empty prevents RR to use the >> default-settings of explorer on my XP pc. >> >> So I looked into the registry and found the entry containing the >> proxy-settings: >> >> put queryRegistry >> ("HKEY_CURRENT_User\Software\Microsoft\Windows\ >> CurrentVersion\Internet Settings\ProxyServer") into vProxy >> >> set the HTTPProxy to vProxy >> >> This works fine when there actually is a proxy set, but on a second PC I set >> the lan settings of explorer to "automatically detect settings". >> Now it doesn't work anymore, vProxy is empty and there is no connection >> anymore. >> >> Does anyone know how to get the HTTTPproxy to work when "automatically >> detect settings" is choosen? >> >> Many thanks in advance, >> >> Ton Kuypers > > > You didn't get any replies on this. A pity, as I was also hoping > someone might have an answer. > > I found some information here about how the "Automatically detect > settings" works, and the difference from the "Use automatic > configuration script." setting. > > > > If my interpretation is correct, at the very least, it looks like you > would have to parse the javascript "FindProxyForURL" function. > > But before that, you'd have to find where the script is located. > Unfortunately, I don't have a setup that allows me to explore this > more. > > Just out of interest, when you set "Automatically detect settings", > is IE able to connect. If so, from Rev, do you get anything returned > from the following script: > > on mouseUp > put hostNameToAddress("WDAP") > end mouseUp > > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dsc at swcp.com Wed Aug 13 18:05:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 13 18:05:00 2003 Subject: A Newbie Question on best practices with revolution 2. In-Reply-To: <9EF36202-CDB9-11D7-BE53-00039387AE90@mac.com> Message-ID: On Wednesday, August 13, 2003, at 12:11 PM, Andre Garzia wrote: > I Want To Know the Revolution way if you folks understand me. Revolution is so rich, there might be lots of effective styles. I like to keep all handlers fast when I can and I try to make them short. Others might emphasize other things. I have used stack libraries, but now copy script libraries to my main stack script. I hardly use menus, but I know some build them first and make them the center of the application. I hardly use the debugger, geometry manager or animation manager and probably suffer because of it. > It's just that I think I am doing things the hard way (not that is > hard to do, but it might there be a easier way). That is my problem, too. When working in a group, especially one in which experienced people are moving in and out, someone will look over your shoulder and say, "Why are you doing that the hard way?" In my case, I'm the only Revolutionary around. Partly because of that, I hangout at this list. I try to be frank and clear about the silly things I do. Often, someone will show me a better way. I try to advise where I think I can and often someone will respond with a better way. There could be some assumption I'm making that others don't see and they may make an assumption that, of course, everybody knows this, so I am probably still doing things the hard way. It is my hope that when it does become obvious that I'm doing something silly, some folks will point it out. Revolution is so rich, I will always be learning. Dar Scott From dsc at swcp.com Wed Aug 13 18:08:02 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 13 18:08:02 2003 Subject: I suffer dementia so I can't use Revolution In-Reply-To: Message-ID: <17F81140-CDE2-11D7-A3DB-000A9567A3E6@swcp.com> On Wednesday, August 13, 2003, at 04:33 PM, Jim Hurley wrote: > Alas, in searching through the docs for formatted width etc. I came > upon an old friend, text align, which of course included right align. > Problem solved. I had used this many times before to center align but > never right align. As with the padding method (but less obviously so), this is best with a fixed-width font. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From kray at sonsothunder.com Wed Aug 13 18:28:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 13 18:28:01 2003 Subject: OT Windows Version Numbers In-Reply-To: Message-ID: <031701c361f1$81396220$6801a8c0@LightningFlash> > > BTW, mind if I put these tips up on my RunRev site? > > I don't mind but Ken Ray might. :-) Just kidding -- feel free. Go for it, Chipp... but I get the next one! ;-) *** *** Those with smiley impairments should read: "Just kidding" :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From monte at sweattechnologies.com Wed Aug 13 18:31:03 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 13 18:31:03 2003 Subject: HyperGASP In-Reply-To: Message-ID: > > Anyone familiar with HyperGASP. If so, is there anything like it for > Rev? (It was a programmers support tool for Hypercard). Hi John I don't think there's anything existing at the moment. Just what exactly did you use HyperGASP for. I'm sure it wouldn't be all that tricky to create a plugin to accomplish what you need. Regards Monte From monte at sweattechnologies.com Wed Aug 13 18:31:40 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 13 18:31:40 2003 Subject: Can I do this with Drawers? In-Reply-To: <13.20ce19a2.2c6c15b6@aol.com> Message-ID: *********** I'm just about to get into the new beta and play around with drawers - - - - can anyone tell me if I can mimic what is done with drawers in Apple's "Preview app"? That is, can I have Revolution populate the drawer with a series of thumbnails and have the drawer automatically put a vertical scrollbar in place and scroll vertically between the images? *********** I don't see why not. Why don't you modify Chipp's image viewer object? It should just be a matter of resizing it to fit the stack. Regards Monte From sarahr at genesearch.com.au Wed Aug 13 18:33:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Aug 13 18:33:00 2003 Subject: A Newbie Question on best practices with revolution 2. In-Reply-To: <9EF36202-CDB9-11D7-BE53-00039387AE90@mac.com> Message-ID: <30AD91C5-CDE5-11D7-9809-0003937A97B8@genesearch.com.au> On Thursday, August 14, 2003, at 04:17 am, Andre Garzia wrote: > What I want to know is for example what is better, to create substacks > for each part of the system (like a substack to fiddle with the > Students, another to fiddle with Professors) or if I just go creating > cards under mainstack. I'd like to know theory, like when to create > substacks, how to use Revolution true power, things i could not do > with another tool. It's just that I think I am doing things the hard > way (not that is hard to do, but it might there be a easier way). > Basically, I decide this matter based on two questions: 1. Do I want the different displays to be different sizes or shown in different windows (with more than one window open at a time)? 2. Do I want to save the data in the stacks? If the answer to either of these questions is Yes, then you will need sub-stacks. Otherwise, you can go with whatever is most comfortable for you. Some points to consider: upgrading the software - sub-stacks can be upgraded independently with small downloads. cross-platform distribution - if you have a mainStack that holds the platform specific engine, the sub-stacks (if saved separately) are platform-independent. workflow - do you want to steer your users so they can't do things out of sequence, or does it matter if they are editing three different records at the same time? There is no "right" way - you just have to go with what you feel is right for you and your users. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From sarahr at genesearch.com.au Wed Aug 13 18:46:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Aug 13 18:46:01 2003 Subject: How to update?! In-Reply-To: <24107CC2-CDD0-11D7-BE53-00039387AE90@mac.com> Message-ID: Open up your Revolution application folder. revLibrary.rev goes in components/global environment revDistributionBuilder.rev goes in components/tools In both cases, you will be replacing an existing file. If not, you're in the wrong place :-) Cheers, Sarah On Thursday, August 14, 2003, at 06:53 am, Andre Garzia wrote: > Hi Folks, > > i downloaded a couple updates from rev page... > > revLibrary.rev > revDistributionBuilder... > > but i don't know how to install thoose things... > > Andre Alves Garzia ? 2003 ? BRAZIL > http://www.soapdog.org From sarahr at genesearch.com.au Wed Aug 13 18:50:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Aug 13 18:50:01 2003 Subject: Menubar Anomalies In-Reply-To: Message-ID: Hi Rob, I have seen the same sort of results: your modal stack has no menubar of it's own, so in the IDE, it just uses the default Rev menu for whatever state it is in. When you run the standalone, it looks up the hierarchy to find a menubar to display and the one it gets to is the mainStack's i.e. the splash screen. If you set the defaultMenubar, it tells the application which menu to display for stacks that have no menu of their own. I think you will still get Rev menus in the IDE, but the menus will work fine in your application (& possibly when suspending the Development tools). Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On Thursday, August 14, 2003, at 04:13 am, Rob Cozens wrote: > Hi All, > > I am testing an SDB search engine in Rev 2.02 on Mac OS 10.2. > > The search is initiated by menuPick logic, including: > > modal stack "sdbDatabase Search" > > The main search logic in the dialog stack is: > > lock messages > push card > go invisible to card firstPage of stack sdbFileName > repeat > if searchKeys then find targetText in field "Record Key" > else find targetText in field "Record" > [snip] > end repeat > pop card > unlock messages > > If the search criteria requests the first hit, the modal stack closes > and the calling stack loads the record; if multiple hits are > requested, the modal stack displays them in a list field, which > includes a mouseUp handler to close the stack and return the selected > record. > > The anomalies are: > > * In the Development environment, modal stack "sdbDatabase Search" > changes the menubar to the Rev Dev menubar. When the modal stack > closes after the search, the menubar for the database stack (which was > visited invisibly) is displayed. > > * If Development Tools are suspended, modal stack "sdbDatabase > Search" changes the menubar to the Rev Restore Development Tools > menubar. When the modal stack closes after the search, the correct > menubar is displayed. > > * In the standalone, modal stack "sdbDatabase Search" changes the > menubar to the splash screen menubar. When the modal stack closes > after the search, the correct menubar is displayed. > > I guess the next step would be to see if the behavior changes if the > modal stack is opened in modeless form, or if a menubar is added to > it. > > Right now I have other fish to fry; so if anyone can offer any > insights or work-arounds, your input would be appreciated. > -- > Rob Cozens, CCW > Serendipity Software Company > http://www.oenolog.net/who.htm > > "And I, which was two fooles do so grow three. > Who are a little wise, the best fooles bee." > > From "The Triple Foole" > by John Donne 1573-1631 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From jswitte at bloomington.in.us Wed Aug 13 19:14:01 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Wed Aug 13 19:14:01 2003 Subject: Selecting text in fields - scroll behavior Message-ID: <9DC3C560-CDEB-11D7-9878-000393BF0854@bloomington.in.us> Hi, I want to select some text in a field. I've using select char startChar to endChar of fld "fCode" where fCode has the List Behavior property set. It works, but if I tell it to select a range that isn't in the current scroll range, it scrolls so that the *bottom* of the selection is visible, and I'd like the *top* (and the whole thing) is visible. Is there a way to do this. Or is there a better way to do text hiliting like this. I only need to select whole lines, so I first tried "select line x to x". This works (but only if list behavior is turned on), but I need a way to get the line numbers out of matchChunk, which only returns character offsets.. So I'm back to selecting characters. Jim From scott at tactilemedia.com Wed Aug 13 19:34:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Aug 13 19:34:01 2003 Subject: Selecting text in fields - scroll behavior In-Reply-To: <9DC3C560-CDEB-11D7-9878-000393BF0854@bloomington.in.us> Message-ID: Recently, "Jim Witte" wrote: > I want to select some text in a field. I've using > > select char startChar to endChar of fld "fCode" > > where fCode has the List Behavior property set. It works, but if I > tell it to select a range that isn't in the current scroll range, it > scrolls so that the *bottom* of the selection is visible, and I'd like > the *top* (and the whole thing) is visible. Is there a way to do this. > > Or is there a better way to do text hiliting like this. I only need > to select whole lines, so I first tried "select line x to x". This > works (but only if list behavior is turned on), but I need a way to get > the line numbers out of matchChunk, which only returns character > offsets.. So I'm back to selecting characters. Did you try setting the hilitedLines of the field? Can you use the lineOffset function? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sarahr at genesearch.com.au Wed Aug 13 19:57:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Aug 13 19:57:00 2003 Subject: Selecting text in fields - scroll behavior In-Reply-To: <9DC3C560-CDEB-11D7-9878-000393BF0854@bloomington.in.us> Message-ID: > I want to select some text in a field. I've using > > select char startChar to endChar of fld "fCode" > > where fCode has the List Behavior property set. It works, but if I > tell it to select a range that isn't in the current scroll range, it > scrolls so that the *bottom* of the selection is visible, and I'd like > the *top* (and the whole thing) is visible. Is there a way to do > this. This may be inherent in the engine i.e selecting a non-visible range may always scroll to the bottom of the range rather than the top. You could set the vScroll manually after selecting, or (totally untested) what happens if you select backwards i.e. select char endChar to startChar of fld "fCode" > > Or is there a better way to do text hiliting like this. I only need > to select whole lines, so I first tried "select line x to x". This > works (but only if list behavior is turned on), but I need a way to > get the line numbers out of matchChunk, which only returns character > offsets.. So I'm back to selecting characters. To get from character positions to line positions, use something like this: put the number of lines in char 1 to charNum of fld "fCode" into lineNum Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From kray at sonsothunder.com Wed Aug 13 20:49:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 13 20:49:01 2003 Subject: Bug (and I'll report it if it hasn't been already) In-Reply-To: Message-ID: <032a01c36205$57e01e50$6801a8c0@LightningFlash> Go ahead and report it... I just tried this from the message box in 2.1B3 and it caused the same thing. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Barry Levine > Sent: Wednesday, August 13, 2003 4:54 PM > To: use-revolution at lists.runrev.com > Subject: Bug (and I'll report it if it hasn't been already) > > > From the message box, type "revSetSpeechSpeed" (without a > number) and > hit Enter. > > *boom* - Rev quits. > > (OSX 10.2.6, Rev 2.0.1) > > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From alrice at ARCplanning.com Wed Aug 13 21:30:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 13 21:30:00 2003 Subject: Regular expressions - detecting whitespace In-Reply-To: <0E977761-CDC5-11D7-9FC0-000393BF0854@bloomington.in.us> Message-ID: <5B3587AC-CDFE-11D7-A96A-000393529642@ARCplanning.com> On Wednesday, August 13, 2003, at 01:33 PM, Jim Witte wrote: > Probably been answered before, I don't have time to download a 63MB > archive over a phone line.. Are you referring to the list archive? There are two ways to search the list archive without downloading it: Hope this helps, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From RGould8 at aol.com Wed Aug 13 21:44:00 2003 From: RGould8 at aol.com (RGould8 at aol.com) Date: Wed Aug 13 21:44:00 2003 Subject: Best way to create thumbnails? Message-ID: <1cd.f27691c.2c6c4fed@aol.com> I've got an app which I've written (quite rapidly thanks to Revolution), which allows the user to drag-and-drop JPEG images from their hard-drive, and it automatically uploads them to a central repository known only to the app. This is working great, but I'd like to do one more thing - - - I'd like to see if it's possible for Revolution to create a thumbnail image of each JPEG image that's getting uploaded, and place the thumbnails within another directory on the server. I'm looking for advice as to the best way to accomplish this - - - since I'm just FTPing the images right from the hard-drive to the server, I'm not actually opening and reading the image files. Should I assume that I need to alter this strategy and have Rev open each image file before it gets uploaded, and take a snapshot of each image and shrink it and save it out as a thumbnail JPEG - - - then FTP both the full-size image as well as the thumbnail image? There's no "create thumbnail from JPEG" command that I've missed in Rev is there? -------------- next part -------------- An HTML attachment was scrubbed... URL: From edgore at shinra.com Wed Aug 13 22:02:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 13 22:02:01 2003 Subject: Best way to create thumbnails? References: <1cd.f27691c.2c6c4fed@aol.com> Message-ID: <001201c3620f$9a0b9e30$6701a8c0@ed> Basically, what you need to do is create a script that pops them into a locked image (to force a resize) then exports them into a file in whatever format you want. If you want to get superfancy you can also set it up so that you keep the aspect ratio of the original graphic in the thumbnail. I have done something like this, so if you want specific scripting help on how to do it, I would be happy to share the scripting I have done. ----- Original Message ----- From: RGould8 at aol.com To: use-revolution at lists.runrev.com Sent: Wednesday, August 13, 2003 8:37 PM Subject: Best way to create thumbnails? I've got an app which I've written (quite rapidly thanks to Revolution), which allows the user to drag-and-drop JPEG images from their hard-drive, and it automatically uploads them to a central repository known only to the app. This is working great, but I'd like to do one more thing - - - I'd like to see if it's possible for Revolution to create a thumbnail image of each JPEG image that's getting uploaded, and place the thumbnails within another directory on the server. I'm looking for advice as to the best way to accomplish this - - - since I'm just FTPing the images right from the hard-drive to the server, I'm not actually opening and reading the image files. Should I assume that I need to alter this strategy and have Rev open each image file before it gets uploaded, and take a snapshot of each image and shrink it and save it out as a thumbnail JPEG - - - then FTP both the full-size image as well as the thumbnail image? There's no "create thumbnail from JPEG" command that I've missed in Rev is there? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jswitte at bloomington.in.us Wed Aug 13 23:43:00 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Wed Aug 13 23:43:00 2003 Subject: Easier way to do text-movement algorithm? Message-ID: <1B36BE82-CE11-11D7-871C-000393BF0854@bloomington.in.us> I'm making an source code rearrangement application where I need to rearrange different sections of a long piece of text. I've basically got a structure that looks like 1: A 2: -- 3: -- 4: -- 5: B 6: -- 7: -- 8: C 9: -- 10: D and I'd want to for instance move the 'A' section (lines 1-4 inclusive) to where the 'C' section is now (after the current line 7, pushing everything else out of the way. I also want to keep track of the beginning and ending characters of the sections, so I can select any of them at will. Moving the sections around isn't much of a problem - I just copy a character range A and put it at point C, then delete the original range (so I don't have to keep track of what C becomes after I delete range A). But then I'd have to recalculate all the values of the start and end points of the sections. What would be really nice is if Rev had a feature where I could either mark ranges of text, and then say "put section 1 of myText into section 3 of myText" and then "select section 1 of myText". But it doesn't (that I know of).. I suppose I could also just store the sections of text in an array, and then use matchChunk on each element of that array (after the first function that changed) to get the start and end points. But this is O(n) and invokes matchChunk every time (I do this to originally process the file and it takes about 3 seconds to do it) Another possibility would be to use matchChunk to find the start and end positions on the fly whenever I want to select a function. Any better ideas than these? Jim From themacguy at macosx.com Wed Aug 13 23:52:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Aug 13 23:52:00 2003 Subject: Text-to-Speech question Message-ID: <3A59EFC4-CE12-11D7-A3B2-000A95763ABC@macosx.com> Are there any properties or functions that I can use to query Rev for the following speech details: What is the currently chosen voice? (revSetSpeechVoice -sets- it) ...speed? (revSetSpeechSpeed -sets- it) ...pitch? (revSetSpeechPitch -sets- it) revSpeechVoices seems to be the only function but, of course, that returns -every- available voice. I guess this is part of the wishlist for the next version. BTW - the ability to have speech synthesis bundled into Rev rather than having to rely upon those bozos at Microsoft (for the Windows side of things) would also be greatly appeciated. I know about how Microsoft seems to break everything in their efforts to totally obfuscate any development tools other than their own, so it seems to me that an "end-around" might be in order. Of course, it's easy for me to say to C++ folks, "Go do it." while I haven't a clue about how difficult it might be. I guess I'm spoiled having worked with Macs and -always- having Macintalk available to me. Barry From dsc at swcp.com Thu Aug 14 00:06:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 14 00:06:00 2003 Subject: Easier way to do text-movement algorithm? In-Reply-To: <1B36BE82-CE11-11D7-871C-000393BF0854@bloomington.in.us> Message-ID: <2DC8DFD4-CE14-11D7-A3DB-000A9567A3E6@swcp.com> On Wednesday, August 13, 2003, at 10:38 PM, Jim Witte wrote: > Moving the sections around isn't much of a problem - I just copy a > character range A and put it at point C, then delete the original > range (so I don't have to keep track of what C becomes after I delete > range A). But then I'd have to recalculate all the values of the > start and end points of the sections. To simplify recalculation of sections, consider the removal of a section and its insertion as two operations. One causes all value pairs above an index to be decreased by a constant amount. The other causes all value pairs above an index to be increased by a constant amount. Yet, those can be generalized into one kind of operation that is performed twice. This means lots of math for lots of sections, but that may not be two bad. (see add) If there are many sections, then it may not be so bad to come up with a more efficient method for recalculating start and end points of sections. > Any better ideas than these? Another approach would be to keep the actual sections (not ranges) in arrays. You need an operation that breaks up the text into sections and puts each section into an array element. The array is indexed by section name or some convenient number or other designator. The order of the elements as eventually used is determined by a list. Moving sections means moves lines in that list. You need a fast method to generate the final text from the list and array. A variation on that, since you are already working with start and end points, is to keep start and end points of the original text in the list. The publishing/preview function takes the original text and the reordering list and creates the new text. Dar Scott From Mark.Powell at veritas.com Thu Aug 14 00:11:01 2003 From: Mark.Powell at veritas.com (Mark Powell) Date: Thu Aug 14 00:11:01 2003 Subject: Easier way to do text-movement algorithm? Message-ID: Jim: Have you considered inserting token characters that can be used as itemdelimiters? In a stitching application I am working on now, I am using a ` character to delimit streams of text into sections to do just the block manipulation you describe. I further delimit sections into subsections with a tab delimiter, and subs into subsubs with comma delimiters. I prefilter the stream and substitute legitimate tick marks (and tabs and commas) with alias strings, which I filter back out on output. It is kludgey, but it works well for me. Mark -----Original Message----- From: Jim Witte [mailto:jswitte at bloomington.in.us] Sent: Wednesday, August 13, 2003 9:38 PM To: use-revolution at lists.runrev.com Subject: Easier way to do text-movement algorithm? > I'm making an source code rearrangement application... From monte at sweattechnologies.com Thu Aug 14 00:12:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 14 00:12:01 2003 Subject: Easier way to do text-movement algorithm? In-Reply-To: <1B36BE82-CE11-11D7-871C-000393BF0854@bloomington.in.us> Message-ID: > Any better ideas than these? > Assuming that your starting point is a list of start and end chars for each section you could simply subtract the number of chars of section A from each section prior to C then add the number of chars of A - the number of chars of C to each section after C. Hope that makes sense. It should be alot faster than a whole heap of matchchunk calls. Cheers Monte From dsc at swcp.com Thu Aug 14 00:31:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 14 00:31:00 2003 Subject: Easier way to do text-movement algorithm? In-Reply-To: Message-ID: On Wednesday, August 13, 2003, at 11:05 PM, Monte Goulding wrote: > Assuming that your starting point is a list of start and end chars for > each > section you could simply subtract the number of chars of section A > from each > section prior to C then add the number of chars of A - the number of > chars > of C to each section after C. Why "- the number of chars of C"? Maybe another way is to combine the steps and decrease the ranges of all sections found to be between A and C by the size of A. If A is moved back, then it is an increase. Well, I'm sleepy and its my bed time so I'll pass this on to you since you are probably awake. Dar Scott From chipp at chipp.com Thu Aug 14 00:33:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Aug 14 00:33:00 2003 Subject: Pass A URL w/Javascript In-Reply-To: Message-ID: Hey Scott, do you know how to launch a NEW instance of the browser...instead of using the same one? -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Scott Rossi > Sent: Tuesday, August 12, 2003 7:55 PM > To: use-revolution at lists.runrev.com > Subject: Re: Pass A URL w/Javascript > > > Recently, Mark Brownell wrote: > > > I'll bet I can pass all kinds of stuff inside the URL and parse it up > > for my own custom needs. I'll test for white space or empty space in > > the URL first just to see if it will break it. Otherwise I can use a > > delimiter to pass unbroken strings of chars. This is a cool feature. > > Keep in mind, if you ever have a problem with spaces or other "special" > characters in a URL, you can use the urlEncode/Decode functions > to make the > problem characters more serer-friendly. > > Regards, > > Scott Rossi > Creative Director > > Tactile Media, Multimedia & Design > Email: scott at tactilemedia.com > Web: www.tactilemedia.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 Aug 14 00:38:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Aug 14 00:38:01 2003 Subject: OT Windows Version Numbers In-Reply-To: <031701c361f1$81396220$6801a8c0@LightningFlash> Message-ID: Ken, we both should post it (Scott willing) :-) > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > Sent: Wednesday, August 13, 2003 6:20 PM > To: use-revolution at lists.runrev.com > Subject: RE: OT Windows Version Numbers > > > > > BTW, mind if I put these tips up on my RunRev site? > > > > I don't mind but Ken Ray might. :-) Just kidding -- feel free. > > Go for it, Chipp... but I get the next one! ;-) *** > > > *** Those with smiley impairments should read: "Just kidding" :-) > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Thu Aug 14 00:52:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 14 00:52:01 2003 Subject: Easier way to do text-movement algorithm? In-Reply-To: Message-ID: > > Assuming that your starting point is a list of start and end chars for > > each > > section you could simply subtract the number of chars of section A > > from each > > section prior to C then add the number of chars of A - the number of > > chars > > of C to each section after C. > > Why "- the number of chars of C"? Because he is replacing section C with section A. The char references of section A become the first char of section C + the number of chars of A. I actually like your "store each section in an array element" idea better. I guess if it's a big file it wouldn't be all that quick but it sure would be easy. If the sections could be numbered then you could just do a combine to get your text out. Cheers Monte From dsc at swcp.com Thu Aug 14 01:07:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 14 01:07:01 2003 Subject: Easier way to do text-movement algorithm? In-Reply-To: Message-ID: On Wednesday, August 13, 2003, at 11:45 PM, Monte Goulding wrote: >> Why "- the number of chars of C"? > > Because he is replacing section C with section A. The char references > of > section A become the first char of section C + the number of chars of > A. I get it. I thought he was putting it before section C. Or maybe after; it is getting fuzzy. Dar From dan at shafermedia.com Thu Aug 14 01:48:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Thu Aug 14 01:48:00 2003 Subject: HyperGASP Message-ID: <5D4D5C38-CE22-11D7-BEB2-0030656FB5D4@shafermedia.com> Found this description of this $75 product on the product site at http://www.calibanmw.com/hg30.html. It appears to be currently maintained. Not clear whether it could be made to work with RunRev or not. "Everything you need to develop rich, sophisticated multimedia presentations and Web pages is now available in the complete HyperGASP package. HyperGASP 3.0 runs optionally as a stand-alone application, providing users with a more integrated and consistent custom interface. This option enables teachers to provide the program to students in a lab environment much more easily and at as economical a price as possible, making HyperGASP 3.0 by far the most affordable strongly-featured multimedia authoring tool for educators. Serious developers who want the complete programming capabilities of HyperCard can continue to run HyperGASP as a seamless HyperCard extension." From curry at pair.com Thu Aug 14 01:51:01 2003 From: curry at pair.com (curry) Date: Thu Aug 14 01:51:01 2003 Subject: Cmd-2,3 In-Reply-To: <200308140203.WAA08606@www.runrev.com> References: <200308140203.WAA08606@www.runrev.com> Message-ID: This week my Cmd-2 and 3 (go prev and go next) stopped working. I've reset prefs, then installed the latest version of Rev, but it still doesn't work. Cmd-1 and 4 (go first and go last) do work. In system prefs (Mac 10.1) it seems that all the universal access features are turned off. What's the secret to get it back to its old self? Thanks, Curry From scott at tactilemedia.com Thu Aug 14 02:25:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Aug 14 02:25:00 2003 Subject: Pass A URL w/Javascript In-Reply-To: Message-ID: On 8/13/03 10:26 PM, "Chipp Walters" wrote: > Hey Scott, do you know how to launch a NEW instance of the browser...instead > of using the same one? The irony of this question is, a few years ago we used to ask, how do we *prevent* URLs from opening in multiple browser windows? I'll look into this, but someone else might know (remember)... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From heather at runrev.com Thu Aug 14 06:10:00 2003 From: heather at runrev.com (Heather Williams) Date: Thu Aug 14 06:10:00 2003 Subject: Plain text only please! In-Reply-To: <200308132229.SAA02462@www.runrev.com> Message-ID: Just a reminder, and information for new list members. Please, if possible, only post in plain text, turn off your html formatting before posting to the list. It comes through as garbage for digest listees, wastes bandwith, and annoys the multitudes. And we don?t want that do we? If you need help to do this, search the archives for lots of good information. Note that I did say "if possible". There are a few circumstances where members simply can't post in plain text, and we don?t want to lose your valuable contributions. But if you can turn off html, please do. Regards, Heather Beating the email backlog with your kind assistance in not sending me duplicate messages asking where the previous one went... I'm getting there folks, be right with you... -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From rodney_tamblyn at yahoo.com Thu Aug 14 06:14:02 2003 From: rodney_tamblyn at yahoo.com (Rodney Tamblyn) Date: Thu Aug 14 06:14:02 2003 Subject: RevDB, Linux and PostgreSQL In-Reply-To: <3F3A7178.4020609@easynet.fr> Message-ID: Hi Pierre, I've developed the client application on MacOSX and have tested it successfully under Windows. Haven't tested yet under Linux so can't help there. The database is running on a separate machine, AFAIK running PG 7.3 - I believe this is running Linux but can confirm this if it's of interest ( db was set up by our technical support group). I agree with you that it would be *fantastic* to be able to use Rev's built in database functions from command line applications, especially under Linux. I believe this is on the list of planned features (can someone from RR comment on this?). Monte Goulding and I looked into this a little when we were collaborating on the development of libCGI (a freebie CGI library and getting started guide for development of Rev/MC CGI solutions which we will be releasing shortly). Using psql via shell() works fine, but it's not very elegant and can't handle binary data (or if it can I don't know how to do this, perhaps you could pipe binary data in from a file?). How is RR's Linux DB support implemented at the moment? Is it via externals as is the case for Windows & Mac? Perhaps Tuviah can comment more here. I may open source the project I've developed, as it's a student exercise rather than a commercial project. May be useful to have a real world example stack showing how these things are done. Regards, Rodney On Thursday, August 14, 2003, at 05:12 AM, Pierre Sahores wrote: > Rodney Tamblyn wrote: >> Hello everyone, >> This is just a followup to let you know the bug which I found in >> Revolution at present that prevents binary data operations with >> PostgreSQL database has been confirmed. It will be fixed in the >> final release of 2.1 apparently. >> In the meantime the workaround which I've discovered, and which works >> quite well, is to base64encode data then put it into a PostgreSQL >> text field (which seem, AFAIK, to be able to hold unlimited data). >> On retrieving the data I do a base64decode to turn it back into >> binary data. Using this approach I've been able to successfully >> store image data in PostgreSQL text fields. >> So the mystery is solved... >> ~ Rodney >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > Hi Rodney, > > Cool tip to know ! > > Could you, please, let me know, the platform witch host your > Revolution's PostgeSQL client app, the platform witch host the > PostgreSQL server ? Are both the client and the server running on the > same box, on two diffrent boxes ? > > Even in using an example app, friendly provided to me by Sadhu, i have > n't, at the moment, found the way to run a Rev's PostgreSQL client app > hosted on the Linux platform (no tested on Win32 nor OSX, for yet) :-! > > Thanks for any help, > > IBTW : My Postgres 7.xx server is fine running and serving in > production mode MC apps trough shell() bindings to the psql Postgres > command line client. My problem is to get the right way to replace the > shell() way by the RevDB lib's one? > > -- > Bien cordialement, Pierre Sahores > > Inspection acad?mique de Seine-Saint-Denis > Serveurs d'applications et SGBDR (Web/PGI) > Penser et produire l'avantage comp?titif > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From rjb at rz.uni-potsdam.de Thu Aug 14 06:55:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Aug 14 06:55:01 2003 Subject: Plain text only please! In-Reply-To: References: Message-ID: >Just a reminder, and information for new list members. Please, if possible, >only post in plain text, turn off your html formatting before posting to the >list. It comes through as garbage for digest listees, wastes bandwith, and >annoys the multitudes. And we don't want that do we? If you need help to do >this, search the archives for lots of good information. > >Note that I did say "if possible". There are a few circumstances where >members simply can't post in plain text, and we don't want to lose your >valuable contributions. But if you can turn off html, please do. > >Regards, > >Heather Some listservers have now NOHTML option on the server side which strips all html code from messages. May be Rev can do the same on their server? Robert From gizmotron at earthlink.net Thu Aug 14 08:04:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu Aug 14 08:04:00 2003 Subject: point math [was: Re: Pass A URL w/Javascript] In-Reply-To: <46E14F0A-CD2D-11D7-BF0D-000A95859272@earthlink.net> Message-ID: <505D8B2A-CE57-11D7-B801-000A95859272@earthlink.net> On Tuesday, August 12, 2003, at 06:27 PM, Mark Brownell wrote: > This is definitely not SQML compliant but having your own markup > language "means never having to say you're sorry." gees! I must be getting old, it's SGML, Standard Generalized Markup Language. Several of my resent posts refer to it as SQML. Anyway I'm just embarking on a search of the archives for location of stack point math or point addition and subtraction. If I do this in the message window "put 10 + 20,30 + 10" I get 30,40. If I "put the loc of stack me into var" and try the same math, 10 + var + 10, I get error. I'm trying to dock a newly opened stack to an already open stack. Any suggestions? I would like to move sub-stacks around with the main stack when each sub-stack opens. me From rjb at rz.uni-potsdam.de Thu Aug 14 08:21:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Aug 14 08:21:00 2003 Subject: point math [was: Re: Pass A URL w/Javascript] In-Reply-To: <505D8B2A-CE57-11D7-B801-000A95859272@earthlink.net> References: <505D8B2A-CE57-11D7-B801-000A95859272@earthlink.net> Message-ID: >On Tuesday, August 12, 2003, at 06:27 PM, Mark Brownell wrote: > >>This is definitely not SQML compliant but having your own markup >>language "means never having to say you're sorry." > >gees! I must be getting old, it's SGML, Standard Generalized Markup >Language. Several of my resent posts refer to it as SQML. Anyway I'm >just embarking on a search of the archives for location of stack >point math or point addition and subtraction. If I do this in the >message window "put 10 + 20,30 + 10" I get 30,40. If I "put the loc >of stack me into var" and try the same math, 10 + var + 10, I get >error. I'm trying to dock a newly opened stack to an already open >stack. Any suggestions? I would like to move sub-stacks around with >the main stack when each sub-stack opens. > >me > I think that once you put a point into a variable, you need to do math on it as items since parsing order changes. add 10 to item 1 of var add 10 to item 2 of var Robert From rcozens at pon.net Thu Aug 14 08:27:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Thu Aug 14 08:27:00 2003 Subject: Menubar Anomalies In-Reply-To: References: Message-ID: >If you set the defaultMenubar, it tells the application which menu >to display for stacks that have no menu of their own. Thanks Sarah, I'll try that today. -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From klaus at major-k.de Thu Aug 14 08:29:00 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Aug 14 08:29:00 2003 Subject: point math In-Reply-To: <505D8B2A-CE57-11D7-B801-000A95859272@earthlink.net> Message-ID: <2FF4F8B2-CE5A-11D7-B721-000A27B49A96@major-k.de> Hi Mark, > On Tuesday, August 12, 2003, at 06:27 PM, Mark Brownell wrote: > >> This is definitely not SQML compliant but having your own markup >> language "means never having to say you're sorry." > > gees! I must be getting old, it's SGML, Standard Generalized Markup > Language. > Several of my resent posts refer to it as SQML. Anyway I'm just > embarking on a > search of the archives for location of stack point math or point > addition and subtraction. > If I do this in the message window "put 10 + 20,30 + 10" I get 30,40. > If I "put the loc of stack me into var" and try the same math, 10 + > var + 10, I get error. > I'm trying to dock a newly opened stack to an already open stack. Any > suggestions? > I would like to move sub-stacks around with the main stack when each > sub-stack opens. You will have to refer to the 2 items in that var, when doing point math... put the loc of this stack into var ## i am not sure if "...of stack me" is valid syntax!!! add 20 to item 1 of var ## x location add 30 to item 2 of var ## y location set the loc of this stack to var You get the picture... > me you :-) Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From gizmotron at earthlink.net Thu Aug 14 08:51:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu Aug 14 08:51:01 2003 Subject: point math [was: Re: Pass A URL w/Javascript] In-Reply-To: Message-ID: On Thursday, August 14, 2003, at 06:14 AM, Robert Brenstein wrote: > I think that once you put a point into a variable, you need to do math > on it as items since parsing order changes. > > add 10 to item 1 of var > add 10 to item 2 of var > > Robert Yep, found this under thread "location math": > get the loc of stack
> subtract 150 from item 1 of it > subtract 120 from item 2 of it > set the loc of palette to it and > Other people have pointed out how to script the position of your > palette using "the loc" i.e. the center of the stack. The other > property which you might find useful is "the topLeft". On Thursday, August 14, 2003, at 06:21 AM, Klaus Major wrote: > put the loc of this stack into var > ## i am not sure if "...of stack me" is valid syntax!!! > > add 20 to item 1 of var ## x location > add 30 to item 2 of var ## y location > set the loc of this stack to var > > Regards > > Klaus Major "put the location of stack me" I got it in the docs somewhere but I can't re-find its location. It works in the message window. > You get the picture... > >> me > > you :-) Yep! >> me > > you > you > >> me >>> me >> >> you > >> you >> >>> me Now we're dancing :-) Mark From gizmotron at earthlink.net Thu Aug 14 08:57:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu Aug 14 08:57:00 2003 Subject: point math [was: Re: Pass A URL w/Javascript] In-Reply-To: Message-ID: On Thursday, August 14, 2003, at 06:47 AM, Mark Brownell wrote: >> The other >> property which you might find useful is "the topLeft". This does what I need: set the topLeft of this stack to 10, 92 me (-: From klaus at major-k.de Thu Aug 14 09:26:01 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Aug 14 09:26:01 2003 Subject: point math and moving to the music In-Reply-To: Message-ID: <420ABF9C-CE62-11D7-B721-000A27B49A96@major-k.de> Hi Mark, >>> me >> >> you :-) > > Yep! > >>> me >> >> you > >> you >> >>> me > >>>> me >>> >>> you >> >>> you >>> >>>> me > > Now we're dancing :-) Ok, but who's supposed to lead? Or are we doing some sort of "free-form-tango"? :-D > Mark Not sure this helps ;-) Regards Klaus Major klaus at major-k.de www.major-k.de From alrice at ARCplanning.com Thu Aug 14 09:36:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 14 09:36:01 2003 Subject: point math [was: Re: Pass A URL w/Javascript] In-Reply-To: <505D8B2A-CE57-11D7-B801-000A95859272@earthlink.net> Message-ID: On Thursday, August 14, 2003, at 07:00 AM, Mark Brownell wrote: > gees! I must be getting old, it's SGML, Standard Generalized Markup > Language. Several of my resent posts refer to it as SQML. I thought you were inventing a new markup language "SQML" :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Thu Aug 14 09:38:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 14 09:38:00 2003 Subject: Pass A URL w/Javascript In-Reply-To: Message-ID: On Thursday, August 14, 2003, at 01:18 AM, Scott Rossi wrote: > On 8/13/03 10:26 PM, "Chipp Walters" wrote: > >> Hey Scott, do you know how to launch a NEW instance of the >> browser...instead >> of using the same one? > > I'll look into this, but someone else might know (remember)... In an you can do it by adding the attribute target="_new" or target="_blank". I don't know if that's going to help for this particular situation though. Maybe you can specify the target in javascript, or in the META refresh tag. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From FlexibleLearning at aol.com Thu Aug 14 09:40:02 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu Aug 14 09:40:02 2003 Subject: Plain text only please! Message-ID: Agreed... BUT How to do this when using AOL v8? I have been trying to find a solution to sending as plain text for ages! The best we seem to be able to do is to avoid text styles, but the message is still sent encoded and/or mis-interpreted upon arrival your end. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From gizmotron at earthlink.net Thu Aug 14 09:42:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu Aug 14 09:42:00 2003 Subject: and moving to the music dancing with the bear In-Reply-To: <420ABF9C-CE62-11D7-B721-000A27B49A96@major-k.de> Message-ID: On Thursday, August 14, 2003, at 07:19 AM, Klaus Major wrote: >> Now we're dancing :-) > Ok, but who's supposed to lead? > Or are we doing some sort of "free-form-tango"? > :-D >> Mark > Not sure this helps ;-) > > Regards > Klaus Major K:P User is a little kid with a propeller beanie http://www.scopie.com/asciiart/smileyfaces.asp I'm sure this helps: %-) User has been staring at a green screen for 15 hours straight From gizmotron at earthlink.net Thu Aug 14 09:57:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu Aug 14 09:57:00 2003 Subject: point math ... In-Reply-To: Message-ID: <26F77CF5-CE67-11D7-91C7-000A95859272@earthlink.net> On Thursday, August 14, 2003, at 07:29 AM, Alex Rice wrote: > I thought you were inventing a new markup language "SQML" :-) Nope, just a new extensible acronym language From pixelbird at interisland.net Thu Aug 14 10:25:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu Aug 14 10:25:00 2003 Subject: Text-to-Speech question In-Reply-To: <200308141016.GAA18526@www.runrev.com> Message-ID: on 8/14/03 6:16 AM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Date: Wed, 13 Aug 2003 22:46:11 -0600 > Subject: Text-to-Speech question > From: Barry Levine > > Are there any properties or functions that I can use to query Rev for > the following speech details: > > What is the currently chosen voice? (revSetSpeechVoice -sets- it) > > ...speed? (revSetSpeechSpeed -sets- it) > > ...pitch? (revSetSpeechPitch -sets- it) > > revSpeechVoices seems to be the only function but, of course, that > returns -every- available voice. > > I guess this is part of the wishlist for the next version. ---------- Well, finding it cold would mean an AS query on Macs, but speech values are usually set via a variable so you can change them. I deliberately set values at startup taken from an offscreen field. All I have to do is query the values of the variables. ---------- > BTW - the ability to have speech synthesis bundled into Rev rather than > having to rely upon those bozos at Microsoft (for the Windows side of > things) would also be greatly appeciated. I know about how Microsoft > seems to break everything in their efforts to totally obfuscate any > development tools other than their own, so it seems to me that an > "end-around" might be in order. Of course, it's easy for me to say to > C++ folks, "Go do it." while I haven't a clue about how difficult it > might be. I guess I'm spoiled having worked with Macs and -always- > having Macintalk available to me. ---------- I agree. TTS on Windows is a nightmare, way too many compatibility issues with speech gneration because of the plethora of sound card and software options, i.e., no standardization. I haven't been able to use Rev with TTS on my Compaq because of sound card/software problems. It just won't work. If anyone has a cure for TTS/Rev compatibility on Windows (without spending a fortune on a bunch of sound cards and software), please let us know. Of course, like you, I'm spoiled by Macs...my Macs have been talking to me for a long time. As to Rev building their own cross-platform TTS services...it's not impossible, of course, but it IS asking an awful lot, I think. The same problems on PC's will come into play again (different software required for different sound systems). Ken N. From kray at sonsothunder.com Thu Aug 14 11:01:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 14 11:01:00 2003 Subject: Plain text only please! In-Reply-To: Message-ID: <03a301c3627c$5aedda70$6801a8c0@LightningFlash> I did a web search and it doesn't look like you can from the AOL 8 client. If, hoewver, you respond from the web via aol.com, it will come through as plain text (or so I have read). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of FlexibleLearning at aol.com Sent: Thursday, August 14, 2003 9:33 AM To: use-revolution at lists.runrev.com Subject: Re: Plain text only please! Agreed... BUT How to do this when using AOL v8? I have been trying to find a solution to sending as plain text for ages! The best we seem to be able to do is to avoid text styles, but the message is still sent encoded and/or mis-interpreted upon arrival your end. /H From klaus at major-k.de Thu Aug 14 11:15:00 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Aug 14 11:15:00 2003 Subject: and moving to the music dancing with the cows? In-Reply-To: Message-ID: <9366F3F9-CE71-11D7-B721-000A27B49A96@major-k.de> Hi Mark, > ... >>> Now we're dancing :-) >> Ok, but who's supposed to lead? >> Or are we doing some sort of "free-form-tango"? >> :-D >>> Mark >> Not sure this helps ;-) >> >> Regards >> Klaus Major > > K:P User is a little kid with a propeller beanie > > http://www.scopie.com/asciiart/smileyfaces.asp Cool, thanks for the link. > I'm sure this helps: > > %-) User has been staring at a green screen for 15 hours straight LOL :-) Have nice day... Regards Klaus Major klaus at major-k.de www.major-k.de From alrice at ARCplanning.com Thu Aug 14 11:57:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 14 11:57:01 2003 Subject: 2.1 release schedule & licensing Message-ID: <66076822-CE77-11D7-999E-000393529642@ARCplanning.com> Supposing I buy a Studio license on Aug 30th, but Rev 2.1 is released on Sept 1. That would be pretty disappointing to have my "1 feature release included" be all used up within a few days of purchasing a license. So how is the schedule looking? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From RGould8 at aol.com Thu Aug 14 12:17:01 2003 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu Aug 14 12:17:01 2003 Subject: FTP times out, and then all others blocked Message-ID: <1db.f4e6744.2c6d1c77@aol.com> The FTP documentation in Rev is great, but in my situation I'm still in need of more advice. I'm trying to create a folder on an FTP server by creating a dummy file and then deleting it. This works, but in some cases the server times out. If I make a subsequent attempt, I get the ?Error Previous request not completed?. message. The problem is that the previous request was cancelled out due to timing out, so the pipeline is never re-opened to accept new commands. Is there a way around this problem? The example code listed in the FTP keyword helps if the first call just needs time to finish, but in my case, the first call never finishes. -------------- next part -------------- An HTML attachment was scrubbed... URL: From giles.wheatley at openspark.com Thu Aug 14 12:29:01 2003 From: giles.wheatley at openspark.com (Giles Wheatley) Date: Thu Aug 14 12:29:01 2003 Subject: New user In-Reply-To: Message-ID: <000001c3627e$dcf59830$0201010a@armadam700> Many thanks to all - I now have plenty to be getting on with!!!! Giles > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Ken Norris > Sent: 11 August 2003 15:42 > To: use-revolution at lists.runrev.com > Subject: Re: New user > > > Hello Giles, and welcome to the UseRev list, > > > From: "Giles Wheatley" > > Subject: New user > > Date: Mon, 11 Aug 2003 12:37:51 +0100 > > > SNIP > > I am an experienced programmer but need to quickly > > get an understanding of how things should hang together. > > > > Any pointers to documentation or examples would be appreciated. > ---------- > I apologize if you've already done some of what I suggest, > but read on. > > Under the 'Help' menu is 'Revolution Documentation' (cmd/?). > When that opens, under 'Using Revolution' you'll find > 'Development Guide' and 'Transcript Dictionary'. These are > the two main sources of documentation for Rev. > > However, as has been suggested in another thread, I recommend > you go through the sample stack 'Employee Database'. > > Under the Rev Documentation, click on Tutorials as you did > before. On the next screen, click on 'Independent Study'. > ***Read through it.** When you get to page 13, you'll see a > new button appear on the bottom called 'Open Example' which > will open the 'Employee Database' stack. > > The tutorial will take you through it. You'll learn most of > the basics of Rev there. > > HTH, > Ken N. > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > > From edgore at shinra.com Thu Aug 14 12:38:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Thu Aug 14 12:38:01 2003 Subject: 2.1 release schedule & licensing Message-ID: <200308141731.h7EHVmj90607@mmm1505.boca15-verio.com> Are they going to count 2.1 as a feature release? I hope not, since all the features that I can *think of* are mac-specific. Are Windows and *nix users even getting anything? >----- ------- Original Message ------- ----- >From: Alex Rice >To: use-revolution at lists.runrev.com >Sent: Thu, 14 Aug 2003 10:50:23 > >Supposing I buy a Studio license on Aug 30th, but >Rev 2.1 is released >on Sept 1. That would be pretty disappointing to >have my "1 feature >release included" be all used up within a few days >of purchasing a >license. So how is the schedule looking? > >Alex Rice, Software Developer >Architectural Research Consultants, Inc. >http://ARCplanning.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From jimlyons at earthlink.net Thu Aug 14 12:52:01 2003 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu Aug 14 12:52:01 2003 Subject: Want radio behavior in pushbuttons Message-ID: <3F3BCB8F.B6354403@earthlink.net> It was a little bit of a shock when I saw that we can't set the family property of any kind of buttons to make them work like radio buttons together like we could in HC. But undaunted, I unset the auto-hilite properties of the two pushbuttons I was working on and put mouseDown scripts in them. In button "Run": on mouseDown hilite me unhilite btn "stop" end mouseDown and the converse in button "stop". On OS X using Rev 2.0.2 the buttons don't work as expected; they both unhilite upon exiting the mouseDown handlers. I put a wait 1 sec just before exiting the handlers and could see the hilite for just that long. I tried square style buttons with the same result. Shouldn't the buttons stay hilited? And if so, does this mean I have to learn how to use Bugzilla now? Jim Lyons From dan at shafermedia.com Thu Aug 14 12:54:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Thu Aug 14 12:54:01 2003 Subject: Excessive Quoting Message-ID: <78872734-CE7F-11D7-BEB2-0030656FB5D4@shafermedia.com> I hate to sound cantankerous (a long-held character trait I've been trying to give up recently) but Heather's note about text-only posts gave me the freedom to ask something I've been meaning to ask for a long time. Could we all try to be far more judicious about what we quote from posts to which we are replying? A few moments time taken before responding to a post to be sure that everything that our reply carries with it is really germane and helpful would save lots of bandwidth and tons of reading/scanning time, particularly for those of us who get the digest form of the list. Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From ambassador at fourthworld.com Thu Aug 14 13:18:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 14 13:18:01 2003 Subject: Want radio behavior in pushbuttons In-Reply-To: <3F3BCB8F.B6354403@earthlink.net> Message-ID: Jim Lyons wrote: > It was a little bit of a shock when I saw that we can't set the family > property of any kind of buttons to make them work like radio buttons > together like we could in HC. Put them in a group. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Thu Aug 14 13:27:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 14 13:27:01 2003 Subject: Excessive Quoting In-Reply-To: <78872734-CE7F-11D7-BEB2-0030656FB5D4@shafermedia.com> Message-ID: Dan Shafer wrote: > Could we all try to be far more judicious about what we quote from > posts to which we are replying? Extra bonus points if could we also quote in standard top-to-bottom reading order. With a mix of readable (new at bottom) vs. comprehensive (new at top) styles we get posts like: Post 4 >> Post 2 >>> Post 1 > Post 3 ...when we coud have: >>> Post 1 >> Post 2 > Post 3 Post 4 Not only do such posts tell their story better, they also encourage trimming all but the most essential quoted portions before we get to your stuff. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kray at sonsothunder.com Thu Aug 14 14:04:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 14 14:04:00 2003 Subject: Want radio behavior in pushbuttons In-Reply-To: Message-ID: <002601c36295$d871ed60$6801a8c0@LightningFlash> Actually for non-radio buttons you need to a step further after putting them in a group: set the script of the group to: set the hilitedButton of me to (the number of the target) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Thursday, August 14, 2003 1:11 PM > To: use-revolution at lists.runrev.com > Subject: Re: Want radio behavior in pushbuttons > > > Jim Lyons wrote: > > > It was a little bit of a shock when I saw that we can't set > the family > > property of any kind of buttons to make them work like > radio buttons > > together like we could in HC. > > Put them in a group. > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From scott at tactilemedia.com Thu Aug 14 14:26:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Aug 14 14:26:00 2003 Subject: Pass a URL w/JavaScript Message-ID: > Hey Scott, do you know how to launch a NEW instance of the browser...instead > of using the same one? This seems to work: If you use the "start" method to launch a URL in a browser then include the browser's program name as the "title" in the string used by the shell command: put "http://www.runrev.com" into tURL put word 1 to -2 of queryRegistry("hkey_local_machine\software\classes\ http\shell\open\command\") into tBrowser replace quote with "" in tBrowser set itemDel to "\" put last item of tBrowser into tBrowser set the hideConsoleWindows to true if "NT" is in systemVersion() then set the shellCommand to "cmd.exe" get shell("start" && tBrowser && quote & tURL & quote) This launches multiple instances of IE for me on Win2K and probably can be applied to other document/application combinations. This method could use more experimentation which I just don't have time for right now so someone else please jump on it. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From RGould8 at aol.com Thu Aug 14 15:30:01 2003 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu Aug 14 15:30:01 2003 Subject: drag/drop to re-order text items in a list? Message-ID: <124.24d43c1e.2c6d49be@aol.com> I'm using AOL 8.0 on a Mac and I'm wondering if my emails might be one of the ones that is causing problems on this listserve - - - is this email message coming through as text or does it contain other things? I can't tell from me end. On to my question: Has anyone ever used Revolution to do dragging-and-dropping of lines of text within a text field? That is, permitting the user to drag line #15 within a text field between line 4 and 5 and having Revolution re-shuffle the list. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yoy at comcast.net Thu Aug 14 16:02:01 2003 From: yoy at comcast.net (yoy) Date: Thu Aug 14 16:02:01 2003 Subject: 3D Field Bevel color wierdness. Message-ID: <000001c362a6$3d8e3950$b2ea5144@fatal7lcf637rj> I have a 3d field with 2 pixel border. When I go to the Color & Pattens inspector and assign the bottom bevel color to orange, it sets the top and left bevel to orange!?? But... my field has a vertical scrollbar and the top and bottom arrows and thumb are bevel colored correctly. I think it's a simple backwards bug. The Top Bevel button colorizes the bottom and right bevel and the Bottom Bevel button colorizes the top and left bevel. But they colorize the scrollbars correctly. Has this been discussed already? Somebody clue me in please? Has this been fixed in the 2.1 betas? Andy From mwieder at ahsoftware.net Thu Aug 14 16:40:01 2003 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu Aug 14 16:40:01 2003 Subject: Plain text only please! In-Reply-To: <03a301c3627c$5aedda70$6801a8c0@LightningFlash> References: <03a301c3627c$5aedda70$6801a8c0@LightningFlash> Message-ID: <4518995063.20030814143318@ahsoftware.net> Hmmm... It can be done in aol 4.0... Take a look at My AOL | Preferences and see if there's something in there. Sorry - that's the limit of my AOL knowledge on this. -- -Mark Wieder From sanke at hrz.uni-kassel.de Thu Aug 14 16:51:00 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu Aug 14 16:51:00 2003 Subject: drag/drop to reorder text items in a list? Message-ID: <3F3C04AA.274B0749@hrz.uni-kassel.de> > Has anyone ever used Revolution to do dragging-and-dropping of lines of text > within a text field? That is, permitting the user to drag line #15 within a > text field between line 4 and 5 and having Revolution re-shuffle the list. > Try this: on mouseDown put word 2 of the clickLine into cl set the textstyle of line cl of me to bold put item 2 of the mouseLoc into starty put the effective textHeight of me into th repeat while the mouse is down if item 2 of the mouseLoc - starty > (th/2) then lock screen put cr & line cl of me after line cl + 1 of me delete line cl of me add 1 to cl set the textstyle of line cl of me to bold add th to starty unlock screen else if starty - item 2 of the mouseLoc > (th/2) then lock screen put line cl of me & cr before line cl - 1 of me delete line cl + 1 of me subtract 1 from cl set the textstyle of line cl of me to bold subtract th from starty unlock screen end if end repeat set the textstyle of line cl of me to plain end if end mouseDown Maybe there are simpler solutions. Regards, Wilhelm Sanke From devin_asay at byu.edu Thu Aug 14 16:54:00 2003 From: devin_asay at byu.edu (Devin Asay) Date: Thu Aug 14 16:54:00 2003 Subject: Best way to set up an idle timer Message-ID: I want to write a routine in my stack that will automatically log the user out after X minutes of inactivity, in the same way the screen saver will kick in after X minutes. Any mouse or keyboard event would reset the timer. I've been playing with the idle handler like this: global startSeconds on idle if startSeconds is empty then put the seconds into startSeconds end if if the seconds - startSeconds > 5 * 60 then timeOut -- for a 5 min. timeout end idle on timeOut answer "time's up!" put empty into startSeconds end timeOut The problem with this approach of course is there is no way to reset the startSeconds unless the timeOut handler runs. I don't want to have to trap every single mouse and keyboard event to reset startSeconds. I know there has to be an easy way to do this. My brain is just not grasping it today. Devin Asay Humanities Technology and Research Support Center Brigham Young University From kray at sonsothunder.com Thu Aug 14 16:58:02 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 14 16:58:02 2003 Subject: Plain text only please! In-Reply-To: <4518995063.20030814143318@ahsoftware.net> Message-ID: <004801c362ae$29fb6a40$6801a8c0@LightningFlash> Yeah, they change things for each version. 7.0 could, 8.0 can't... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Mark Wieder > Sent: Thursday, August 14, 2003 4:33 PM > To: Ken Ray > Subject: Re: Plain text only please! > > > Hmmm... It can be done in aol 4.0... Take a look at My AOL | > Preferences and see if there's something in there. Sorry - > that's the limit of my AOL knowledge on this. > > -- > -Mark Wieder > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From dsc at swcp.com Thu Aug 14 17:11:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 14 17:11:00 2003 Subject: Best way to set up an idle timer In-Reply-To: Message-ID: <42BD28A9-CEA3-11D7-A8BB-000A9567A3E6@swcp.com> On Thursday, August 14, 2003, at 03:46 PM, Devin Asay wrote: > The problem with this approach of course is there is no way to reset > the startSeconds unless the timeOut handler runs. I don't want to have > to trap every single mouse and keyboard event to reset startSeconds. Perhaps you can put a few keyboard and mouse handlers in a single front script. Each of these would call an activity handler and then pass. The activity handler would then reset the timer and do what else is needed. (BTW, since inactivity is not a precise thing, you might create a send cycle that executes every couple seconds to check the timer instead of using idle. I also have another method as an example in my _Message Machinery Primer_, which I'm going to go work on right now.) Dar Scott From edgore at shinra.com Thu Aug 14 17:21:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Thu Aug 14 17:21:01 2003 Subject: Best way to set up an idle timer Message-ID: <200308142214.h7EMEqa83545@mmm1505.boca15-verio.com> Understand that I have not given this even the slightest bit of thought before posting, but I think you are going to be better off using "send" to do this. What you are going to want to do is something like this... global gGoToSleep on startup send timeout in 5X60 seconds --for a 5 minute time out put true into gGoToSleep end startup on rawkeydown put false into gGoTo Sleep pass rawkeydown end rawkeydown on mousemove put false into gGoTo Sleep pass mousemove end mousemove on timeout if gGoToSleep is true then -- do go to sleep type stuff else put true into gGoToSleep end if end timout I think that should be enough to do it...it's hard to do anything with the mouse without moving, so I think that's all you need to capture. Of course, I just made this up to avoid really working, so I didn't bother to check syntax or test this. But it should give you some ideas. You are better off using send, since idle eats up processor time constantly checking. If you wanted to have it go to sleep EXACTLY five minutes after activity stopped, you would need to do some other complicated and boring things with checking the seconds and stuff. >----- ------- Original Message ------- ----- I want to write a routine in my stack that will >automatically log the >user out after X minutes of inactivity, in the same >way the screen >saver will kick in after X minutes. Any mouse or >keyboard event would >reset the timer. From jeanne at runrev.com Thu Aug 14 17:24:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Aug 14 17:24:01 2003 Subject: 3D Field Bevel color wierdness. In-Reply-To: <000001c362a6$3d8e3950$b2ea5144@fatal7lcf637rj> References: <000001c362a6$3d8e3950$b2ea5144@fatal7lcf637rj> Message-ID: At 4:53 PM -0400 8/14/2003, yoy wrote: >I have a 3d field with 2 pixel border. When I go to the Color & Pattens >inspector and assign the bottom bevel color to orange, it sets the top and >left bevel to orange!?? But... my field has a vertical scrollbar and the top >and bottom arrows and thumb are bevel colored correctly. > >I think it's a simple backwards bug. The Top Bevel button colorizes the >bottom and right bevel and the Bottom Bevel button colorizes the top and >left bevel. But they colorize the scrollbars correctly. It isn't a bug (although the labeling isn't as clear as might be): the Top Bevel button sets the topColor property, and the Bottom Bevel button sets the bottomColor property. Buttons are outset (they visually "stick out" from the screen), so with the light source at the top left, the top and left sides are the ones that light is hitting. Fields are inset ("pushed in"), so the light coming from the top left affects the bottom and right sides. There's a report on this somewhere in Bugzilla from someone who experienced a similar confusion. -- -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From monte at sweattechnologies.com Thu Aug 14 18:57:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 14 18:57:00 2003 Subject: RevDB, Linux and PostgreSQL In-Reply-To: Message-ID: > > I've developed the client application on MacOSX and have tested it > successfully under Windows. Haven't tested yet under Linux so can't > help there. The database is running on a separate machine, AFAIK > running PG 7.3 - I believe this is running Linux but can confirm this > if it's of interest ( db was set up by our technical support group). > > I agree with you that it would be *fantastic* to be able to use Rev's > built in database functions from command line applications, especially > under Linux. I believe this is on the list of planned features (can > someone from RR comment on this?). Monte Goulding and I looked into > this a little when we were collaborating on the development of libCGI > (a freebie CGI library and getting started guide for development of > Rev/MC CGI solutions which we will be releasing shortly). Using psql > via shell() works fine, but it's not very elegant and can't handle > binary data (or if it can I don't know how to do this, perhaps you > could pipe binary data in from a file?). > Actually I've been poking around the RunRev FTP server and found that under the engines directory there is a CGI directory. In it there are some engines that are larger than the standard engines so I think Tuviah has used the embedded engine library to build the externals right into the engine (which would be much faster on unix systems) but seeing as there is no docs we may never know for sure exactly what is supported. Seeing as we are currently doing the docs for libCGI it would be ideal to get this info right now. Regards Monte From sarahr at genesearch.com.au Thu Aug 14 19:35:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 14 19:35:00 2003 Subject: Easier way to do text-movement algorithm? In-Reply-To: <1B36BE82-CE11-11D7-871C-000393BF0854@bloomington.in.us> Message-ID: > I'm making an source code rearrangement application where I need to > rearrange different sections of a long piece of text. I've basically > got a structure that looks like > > 1: A > 2: -- > 3: -- > 4: -- > 5: B > 6: -- > 7: -- > 8: C > 9: -- > 10: D > > and I'd want to for instance move the 'A' section (lines 1-4 > inclusive) to where the 'C' section is now (after the current line 7, > pushing everything else out of the way. I also want to keep track of > the beginning and ending characters of the sections, so I can select > any of them at will. > > Moving the sections around isn't much of a problem - I just copy a > character range A and put it at point C, then delete the original > range (so I don't have to keep track of what C becomes after I delete > range A). But then I'd have to recalculate all the values of the > start and end points of the sections. How about creating a new variable, and putting all the chunks into it in their new order. That way you only have to calculate the start & end points once. Then you can record the new start & end points as you move and when you have finished, copy the new variable back to the old one and the new start-end points list back to the original list. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From sarahr at genesearch.com.au Thu Aug 14 19:37:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 14 19:37:00 2003 Subject: Want radio behavior in pushbuttons In-Reply-To: <3F3BCB8F.B6354403@earthlink.net> Message-ID: <7DDBFC80-CEB7-11D7-9C15-0003937A97B8@genesearch.com.au> > It was a little bit of a shock when I saw that we can't set the family > property of any kind of buttons to make them work like radio buttons > together like we could in HC. But undaunted, I unset the auto-hilite > properties of the two pushbuttons I was working on and put mouseDown > scripts in them. In button "Run": > > on mouseDown > hilite me > unhilite btn "stop" > end mouseDown > > and the converse in button "stop". > > On OS X using Rev 2.0.2 the buttons don't work as expected; they both > unhilite upon exiting the mouseDown handlers. I put a wait 1 sec just > before exiting the handlers and could see the hilite for just that > long. > I tried square style buttons with the same result. Shouldn't the > buttons > stay hilited? And if so, does this mean I have to learn how to use > Bugzilla now? > If you are actually using radioButtons, then you need to group them after which there are several properties you can use and set (hilitedButton, hilitedButtonID, hilitedButtonName). If the buttons are not radioButtons, them I'm not sure the automatic features will work, but as you have already tried, the hilites can be set manually. The problem with them unhiliting is because they are set to autoHilite i.e. they are trying to act like normal push buttons. Set the autoHilites of the relevant buttons to false and you can have full control over the button hilites. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From sarahr at genesearch.com.au Thu Aug 14 19:44:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 14 19:44:01 2003 Subject: Best way to set up an idle timer In-Reply-To: Message-ID: <7882B6DC-CEB8-11D7-9C15-0003937A97B8@genesearch.com.au> > I want to write a routine in my stack that will automatically log the > user out after X minutes of inactivity, in the same way the screen > saver will kick in after X minutes. Any mouse or keyboard event would > reset the timer. I've been playing with the idle handler like this: script snipped > The problem with this approach of course is there is no way to reset > the startSeconds unless the timeOut handler runs. I don't want to have > to trap every single mouse and keyboard event to reset startSeconds. An idle handler is a bad idea as it tries to hog the processor. It is always better to use a send instead. I would recommend something like this: on openStack put the seconds into startSeconds send "logoutMessage" to me in 300 seconds .... end openStack on resetLogout -- cancel any pending logoutMessage -- send a new one 5 minutes from now end resetLogout on logoutMessage -- do the actual logout stuff end logoutMessage Then have a frontScript that tracks rawKeyDown and mouseDown (or mouseMove if that is enough to stop being logged out), and sends a resetLogout message after each one before passing it on. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From Mark.Powell at veritas.com Thu Aug 14 19:57:00 2003 From: Mark.Powell at veritas.com (Mark Powell) Date: Thu Aug 14 19:57:00 2003 Subject: Creating an Excel file with attributes Message-ID: Not purely a Rev question but... Technically, I can generate an Excel file from a bunch of tab-delimited data just by writing it from Rev into a file with an .xls extension. However, I want to be able to control column widths, fonts, shading, etc. within the resulting file. Anyone know of a method, API, or resource that might describe how to do this? Thanks Mark Powell From ambassador at fourthworld.com Thu Aug 14 20:11:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 14 20:11:00 2003 Subject: Creating an Excel file with attributes In-Reply-To: Message-ID: Mark Powell wrote: > Technically, I can generate an Excel file from a bunch of tab-delimited data > just by writing it from Rev into a file with an .xls extension. However, I > want to be able to control column widths, fonts, shading, etc. within the > resulting file. Anyone know of a method, API, or resource that might > describe how to do this? Mac: Apple events/AppleScript Win: Write VBA commands to a .VBS file and launch it -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From chipp at chipp.com Thu Aug 14 21:39:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Aug 14 21:39:00 2003 Subject: Excessive Quoting In-Reply-To: Message-ID: Richard, I'd much rather see the contents of the new post at the very top for a couple of reasons. The main one is that sometimes I'm using a PDA to read these at it only grabs the first 2K of any message. You then have to 'mark it for download' to read the rest, which can be a lengthy (and expensive) ordeal. The second is that IMO, it's easier to read the response first, then if I see there's interesting info, I'll dig deeper. For instance, say you have a long set of posts: >>>Post 1 >>Post 2 >Post 3 Post 4 and Post 4 is "thanks, I didn't know that" -- it takes longer to read, and there's no added value. Which brings me to the basic newsgroup etiquette of trying to *always* add something to a post, rather than just saying thanks (we're all guilty of it). If one wants to say 'thanks', it's better to email privately (though now with the email addresses hidden, it's harder to do) just my 2 cents, Chipp > Extra bonus points if could we also quote in standard > top-to-bottom reading > order. > > With a mix of readable (new at bottom) vs. comprehensive (new at > top) styles > we get posts like: > > Post 4 > >> Post 2 > >>> Post 1 > > Post 3 > > ...when we coud have: > > >>> Post 1 > >> Post 2 > > Post 3 > Post 4 > > Not only do such posts tell their story better, they also > encourage trimming > all but the most essential quoted portions before we get to your stuff. > From chipp at chipp.com Thu Aug 14 21:43:02 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Aug 14 21:43:02 2003 Subject: Pass a URL w/JavaScript In-Reply-To: Message-ID: Thanks Scott, Based upon your comments and the javascript below, I can now open any browser window at any location on the screen...For instance, this is handy for 'tiling' multiple browser windows below a RR toolbar. Thanks again, Chipp From ambassador at fourthworld.com Thu Aug 14 21:49:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 14 21:49:01 2003 Subject: Excessive Quoting In-Reply-To: Message-ID: Chipp Walters wrote: > I'd much rather see the contents of the new post at the very top for a > couple of reasons. The main one is that sometimes I'm using a PDA to read > these at it only grabs the first 2K of any message. You then have to 'mark > it for download' to read the rest, which can be a lengthy (and expensive) > ordeal. > > The second is that IMO, it's easier to read the response first, then if I > see there's interesting info, I'll dig deeper. For instance, say you have a > long set of posts: ... > and Post 4 is "thanks, I didn't know that" -- it takes longer to read, and > there's no added value. Good reasons not to post "me too's' or "thanks!" messages -- I usually send mine directly to the author. As for the 2k, I hold that's a good reason to keep snipping to a minimum. ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From scott at tactilemedia.com Thu Aug 14 21:54:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Aug 14 21:54:01 2003 Subject: Pass a URL w/JavaScript In-Reply-To: Message-ID: Recently, Chipp Walters wrote: > Based upon your comments and the javascript below, I can now open any > browser window at any location on the screen...For instance, this is handy > for 'tiling' multiple browser windows below a RR toolbar. > > > > > > > > > > > > > Don't forget screen.width and screen.height properties to make sure your window fits on screen. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From dsc at swcp.com Thu Aug 14 22:12:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 14 22:12:00 2003 Subject: Pass a URL w/JavaScript In-Reply-To: Message-ID: <4C948D32-CECD-11D7-A8BB-000A9567A3E6@swcp.com> On Thursday, August 14, 2003, at 08:33 PM, Chipp Walters wrote: > > > > > > > This inspired an idea in me, one of those solutions without a problem. Yet. Scott's idea addresses opening a browser when the only reliable method is opening a document file. Suppose that wasn't a problem. Suppose opening a browser to a URL worked. Then one could--instead of a file--make a very dumb http server on some odd port that returned the above document wrapped in http whatever the query. This would save writing a file. I can't think of how that might buy anything, but in some applications it might. (I think that is under 2K, Chipp.) Dar Scott From pixelbird at interisland.net Fri Aug 15 01:39:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri Aug 15 01:39:00 2003 Subject: Excessive Quoting In-Reply-To: <200308142101.RAA04795@www.runrev.com> Message-ID: Rev group, > Date: Thu, 14 Aug 2003 10:48:10 -0700 > Subject: Excessive Quoting > From: Dan Shafer SNIP > A few moments time taken before > responding to a post to be sure that everything that our reply carries > with it is really germane and helpful would save lots of bandwidth and > tons of reading/scanning time, particularly for those of us who get the > digest form of the list. ---------- Amen! How about making next week 'Be Kind To Digest Readers Week'! Most of the time it's just not necesssary to leave the entire quoted text of a previous post when you reply. And the HTML garbage drives us crazy, too. In this case, I thought the above single sentence bears repeating, but that's all. Ken N. From lafourcade.romain at numericable.fr Fri Aug 15 03:13:00 2003 From: lafourcade.romain at numericable.fr (Romain Lafourcade) Date: Fri Aug 15 03:13:00 2003 Subject: 3D Field Bevel color wierdness. In-Reply-To: <200308142104.RAA05007@www.runrev.com> Message-ID: on 14/08/03 23:04, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > I have a 3d field with 2 pixel border. When I go to the Color & Pattens > inspector and assign the bottom bevel color to orange, it sets the top and > left bevel to orange!?? But... my field has a vertical scrollbar and the top > and bottom arrows and thumb are bevel colored correctly. > > I think it's a simple backwards bug. The Top Bevel button colorizes the > bottom and right bevel and the Bottom Bevel button colorizes the top and > left bevel. But they colorize the scrollbars correctly. > > Has this been discussed already? Somebody clue me in please? Has this been > fixed in the 2.1 betas? > > Andy That's because 3D field's bevel is supposed to make the field look like it is a kind of hole or depression in the inter(sur)face while 3D buttons are supposed to strike out of the sur(inter)face. The scrollbar is supposed to be "grabable" so it is treated like a 3D button. Here is the link to the MacOS Human Interface Guidelines were you may find a lot of valuable things (even for Win or Unix users) : http://developer.apple.com/documentation/mac/HIGOS8Guide/thig-2.html or : http://developer.apple.com/documentation/UserExperience/Conceptual/AquaHIGui delines/index.html -- Romain Lafourcade http://perso.numericable.fr/lafourcade/ From dcragg at lacscentre.co.uk Fri Aug 15 06:21:00 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri Aug 15 06:21:00 2003 Subject: FTP times out, and then all others blocked In-Reply-To: <1db.f4e6744.2c6d1c77@aol.com> References: <1db.f4e6744.2c6d1c77@aol.com> Message-ID: At 1:10 pm -0400 14/8/03, RGould8 at aol.com wrote: >I'm trying to create a folder on an FTP server by creating a dummy >file and then deleting it. This works, but in some cases the server >times out. If I make a subsequent attempt, I get the ?Error >Previous request not completed?. message. The problem is that the >previous request was cancelled out due to timing out, so the >pipeline is never re-opened to accept new commands. Is there a way >around this problem? How are you determining that the server has timed out? Does the url command return an error in the result, or are you just guessing this is the case because nothing has happened for a long time? The reason I'm asking is that the message "Previous request not completed" shouldn't occur if the previous request has already returned a result. If you're getting this message after the previous request has completed, then it looks like a bug in libUrl. For example, if your script is something like this: put "dummy data" into url "ftp://someserver/...../newfolder/dummy.txt" if the result is not empty then answer ("stage 1" & return & the result) else delete url "ftp://someserver/...../newfolder/dummy.txt" if the result is not empty then answer ("stage 2" & return & the result) else answer "all went well" end if end if Are you getting a timeout message at "stage 1" or "stage 2"? Where are you getting the "Previous message not completed" error, at stage 1 or stage 2? Try logging the activity with the libUrlSetLogField command: libUrlSetLogfield the long id of field "myLog" If the log results are very long, you can post them to me privately instead of the list. It would also be useful to see the script you are using to do this. Cheers Dave From heather at runrev.com Fri Aug 15 08:12:00 2003 From: heather at runrev.com (Heather Williams) Date: Fri Aug 15 08:12:00 2003 Subject: New engine for 2.1 beta on Windows Message-ID: Dear folks, There is a new engine available for the current 2.1 beta on Windows only which fixes a problem with importing snapshots and backdrops. You can download it here: http://www.runrev.com/revolution/downloads/distributions/2.1/updates/ To use it, decompress it, and replace the existing revolution.exe file at the top level of your Revolution directory. Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From jhurley at infostations.com Fri Aug 15 08:15:02 2003 From: jhurley at infostations.com (Jim Hurley) Date: Fri Aug 15 08:15:02 2003 Subject: Excessive Quoting In-Reply-To: <200308142102.RAA04879@www.runrev.com> References: <200308142102.RAA04879@www.runrev.com> Message-ID: One way I expedite my daily passage through the email list is to start with a search; search for "subj" which, with repeated use of "Find next" (command/control "g") will quickly find the Subject line of each successive post. This is particularly good at getting past the HTML. I hardly know it's there. Another advantage is that you quickly find out if it is a post for which you have some interest or ability to respond to. Jim From mpetrides at earthlink.net Fri Aug 15 09:20:00 2003 From: mpetrides at earthlink.net (Marian Petrides) Date: Fri Aug 15 09:20:00 2003 Subject: New engine for 2.1 beta on Windows In-Reply-To: Message-ID: On Friday, August 15, 2003, at 09:06 AM, Heather Williams wrote: > Dear folks, > > There is a new engine available for the current 2.1 beta on Windows > only > which fixes a problem with importing snapshots and backdrops. You can > download it here: > > http://www.runrev.com/revolution/downloads/distributions/2.1/updates/ > > To use it, decompress it, and replace the existing revolution.exe file > at > the top level of your Revolution directory. > > Regards, > > Heather > > > -- > Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > ~~~ 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 rgould8 at aol.com Fri Aug 15 09:26:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Fri Aug 15 09:26:01 2003 Subject: TEST: Does this email put AOL garbage in it? Message-ID: <3F3CEC5F.1080606@aol.com> An HTML attachment was scrubbed... URL: From rgould8 at aol.com Fri Aug 15 09:31:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Fri Aug 15 09:31:01 2003 Subject: TEST #2: Sending just plain text Message-ID: <3F3CED7B.80706@aol.com> Ok, I bet this time it's going to work - - - I'm using the AOL Communicator app with "use plaintext only" turned on. Please tell me that this shows up ok :) Backup plan #3 is for me to use my mac.com account with AppleMail. From alrice at ARCplanning.com Fri Aug 15 09:51:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 15 09:51:01 2003 Subject: TEST: Does this email put AOL garbage in it? In-Reply-To: <3F3CEC5F.1080606@aol.com> Message-ID: <05841C5B-CF2F-11D7-AC2E-000393529642@ARCplanning.com> On Friday, August 15, 2003, at 08:21 AM, Rob Gould wrote: > This is just a test - - - I was unaware that AOL was putting all those > header/footer garbage characters in emails I've sent to this listserve > in the past.? I'm trying another method, using "AOL Communicator" > instead of the AOL 8.0 client.? Can someone tell me if this email > looks any better? It's still HTML formatted, but I don't see any header/footer garbage. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Fri Aug 15 09:53:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 15 09:53:01 2003 Subject: TEST #2: Sending just plain text In-Reply-To: <3F3CED7B.80706@aol.com> Message-ID: <22DD5F99-CF2F-11D7-AC2E-000393529642@ARCplanning.com> On Friday, August 15, 2003, at 08:26 AM, Rob Gould wrote: > Ok, I bet this time it's going to work - - - I'm using the AOL > Communicator app with "use plaintext only" turned on. Please tell me > that this shows up ok :) Looks good. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From gizmotron at earthlink.net Fri Aug 15 09:54:38 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Aug 15 09:54:38 2003 Subject: TEST #2: Sending just plain text In-Reply-To: <3F3CED7B.80706@aol.com> Message-ID: Rob Gould wrote: > Please tell me that this shows up ok :) looks plain text now; [individual message mode]. From edgore at shinra.com Fri Aug 15 10:32:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Fri Aug 15 10:32:00 2003 Subject: Test - HTML Formatting Message-ID: <200308151526.h7FFQ5M04718@mmm1505.boca15-verio.com> Seems like a good idea to do this... This message is being sent from my webmail client at work, which is completely unconfiguarable as far as sending HTML or Plain Text. I believe that in the past someone complained about it, but I have not heard anything since then. So what about it? Does it look okay? From rgould8 at aol.com Fri Aug 15 10:59:02 2003 From: rgould8 at aol.com (Rob Gould) Date: Fri Aug 15 10:59:02 2003 Subject: Way to adjust column width in fields? Message-ID: <3F3D01BB.70205@aol.com> I've got a text field with tab-delimited columns in it. This works great for my needs (I'm trying to replicate the iCal calendar views that iCal displays on the left of the window.) The only problem I'm having is that I can't figure out how to adjust the width of these columns when viewing as the field object on the card. If I click on the field object, do a edit "CONTENTS", I see the big "excel spreadsheet-esque" view of the grid and it's values. I just can't seem to find a place to set the width of the individual columns. I'm using the 2.1 Beta 3 app, if that makes a difference in this scenario. From alrice at ARCplanning.com Fri Aug 15 11:13:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 15 11:13:01 2003 Subject: A tip when using externals and cloning stacks In-Reply-To: <3F3A6FBE.8050401@hyperactivesw.com> Message-ID: <65024ECA-CF3A-11D7-AC2E-000393529642@ARCplanning.com> On Wednesday, August 13, 2003, at 11:05 AM, J. Landman Gay wrote: > Loading externals has been iffy for more than one of my projects, and > remains a perpetual problem. I haven't experienced this, but it's disturbing to hear. Do you think the same problem would exist with a "hello world" external, for example would just set a transcript variable to the string "hello world"? I ask because am wondering if your external is running into System API differences or DLL clashes of some kind? > I've entered an enhancement request into Bugzilla asking that Rev add > a command that will dynamically load externals via script. Sounds useful if you have platform-specific externals, as you mention. Maybe also useful to save memory and/or speed up startup time for the app! Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From klaus at major-k.de Fri Aug 15 11:42:01 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Aug 15 11:42:01 2003 Subject: Way to adjust column width in fields? In-Reply-To: <3F3D01BB.70205@aol.com> Message-ID: <8BB739E5-CF3E-11D7-BDBE-000A27B49A96@major-k.de> Hi Rob, > > I've got a text field with tab-delimited columns in it. This works > great for my needs (I'm trying to replicate the iCal calendar views > that > iCal displays on the left of the window.) The only problem I'm having > is that I can't figure out how to adjust the width of these columns > when > viewing as the field object on the card. > > If I click on the field object, do a edit "CONTENTS", I see the big > "excel spreadsheet-esque" view of the grid and it's values. I just > can't seem to find a place to set the width of the individual columns. > I'm using the 2.1 Beta 3 app, if that makes a difference in this > scenario. Maybe the "tabstops" is what you are looking for? On the "table" card of the fld-props. The tabs controls the width of the columns... Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From devin_asay at byu.edu Fri Aug 15 13:23:00 2003 From: devin_asay at byu.edu (Devin Asay) Date: Fri Aug 15 13:23:00 2003 Subject: Best way to set up an idle timer Message-ID: <7883DEDB-CF4C-11D7-87F1-0030654E23A2@byu.edu> Thanks for the great responses. I knew in my heart I really shouldn't be using an idle handler, but couldn't figure out how to make a send .. in message work without trapping every conceivable mouse and keyboard event. Special thanks to Sarah and Edwin for putting me on to using a front script to handle mouseMove and rawKeyDown messages. My HyperCard roots were blinding me to this little gem of a concept--the ability to insert a script into the front of all message paths. Anyway, here is what I came up with. I included code that would provide a reasonable user experience--it wouldn't just rudely log them out with no explanation, and it gives a chance to re-enter a password if they typed it wrong the first time. Does this seem like a reasonable approach?: ========================start script sample========================== -- first of all put into an otherwise unused script: on mouseMove send "resetLogout" to stack "chinpr" pass mouseMove end mouseMove on rawKeyDown send "resetLogout" to stack "chinpr" pass rawKeyDown end rawKeyDown -- then I put into my stack script: on openStack -- start timeout counter insert the script of image "P&Rbg1.jpg" into front send "logoutQuery" to stack "chinpr" in 5 * 60 seconds -- or whatever time you want end openStack on logoutQuery if the userPIN of this stack is not empty then -- i.e., if the user is logged in answer "A appropriate prompt here." with "Logout" or "Enter PIN..." if it is "Enter PIN..." then -- (user chose to continue) repeat forever -- or could put a limit here ask information "Enter your PIN to continue the test." if it is the userPIN of this stack then resetLogout exit repeat else answer information "Incorrect PIN. Try Again or Logout?" with "Logout" or "Try Again" if it is "Logout" then go card "menu" of stack "chinpr" logout exit repeat end if end if end repeat exit logoutquery else if it is "Logout" then -- (user chose to log out) go card "menu" of stack "chinpr" logout exit logoutQuery end if end if end logoutQuery on resetLogout cancel item 1 of last line of the pendingMessages send "logoutQuery" to stack "chinpr" in 5 * 60 seconds end resetLogout ========================end script sample========================== Devin Asay Humanities Technology and Research Support Center Brigham Young University From dsc at swcp.com Fri Aug 15 13:36:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 15 13:36:00 2003 Subject: Best way to set up an idle timer In-Reply-To: <7883DEDB-CF4C-11D7-87F1-0030654E23A2@byu.edu> Message-ID: <71846E66-CF4E-11D7-8192-000A9567A3E6@swcp.com> On Friday, August 15, 2003, at 12:15 PM, Devin Asay wrote: > Special thanks to Sarah and Edwin for putting me on to using a front > script to handle mouseMove and rawKeyDown messages. Sniff. I mentioned frontScripts, too. Sniff. Sniff. Uh. The real lesson here is that script examples get the message across. :-) Dar Scott From alw918 at earthlink.net Fri Aug 15 14:43:00 2003 From: alw918 at earthlink.net (Andrew) Date: Fri Aug 15 14:43:00 2003 Subject: button resize Message-ID: <568AAB86-CEF6-11D7-B4E0-000393DD0724@earthlink.net> Hey, Revolution list. I'm new to revolution, but I have much experience with Hypercard. I was wondering if you fine folks could give me some tips on how to deal with images and animation in Revolution. The main problem that I'm having with Revolution is getting an image's rect to be the right size. Say I create a cartoon of a man in photoshop and I paste him into Revolution. Then my little man becomes an "image" in Revolution language. However, when I paste him in, the rect of the image is the size of the entire card! How can I get the rect of my little man to be exactly the size of him? Now a slightly more complicated question: I used to make games in Hypercard by animating the icons of buttons. The buttons could move around the screen while their icons were changing simultaneously. Revolution has me excited because of its capability to handle large, colorful images. In trying to animate these images, the only thing I can figure out is to have a new image for each "frame" of the animation. Then I would program the script to hide one image (the first frame) and show the next image (the second frame) in the same place. The trouble with this is the following: Say every card of the stack is a different "level" of my game. Then, I would need a copy of all my little man in all his poses on every card; that would mean a whole bunch of hidden images sitting around at the same. Is there any way to have these images somehow "belong" to the stack so they could be referenced from any card? Is this the best way to do what I'm trying to do, or am I approaching the animation thing wrong? Thanks in advance for your help! Andrew From alw918 at earthlink.net Fri Aug 15 14:45:01 2003 From: alw918 at earthlink.net (Andrew) Date: Fri Aug 15 14:45:01 2003 Subject: button resize Message-ID: <5115DB7E-CF57-11D7-804B-000393DD0724@earthlink.net> Hey, Revolution list. I'm new to revolution, but I have much experience with Hypercard. I was wondering if you fine folks could give me some tips on how to deal with images and animation in Revolution. The main problem that I'm having with Revolution is getting an image's rect to be the right size. Say I create a cartoon of a man in photoshop and I paste him into Revolution. Then my little man becomes an "image" in Revolution language. However, when I paste him in, the rect of the image is the size of the entire card! How can I get the rect of my little man to be exactly the size of him? Now a slightly more complicated question: I used to make games in Hypercard by animating the icons of buttons. The buttons could move around the screen while their icons were changing simultaneously. Revolution has me excited because of its capability to handle large, colorful images. In trying to animate these images, the only thing I can figure out is to have a new image for each "frame" of the animation. Then I would program the script to hide one image (the first frame) and show the next image (the second frame) in the same place. The trouble with this is the following: Say every card of the stack is a different "level" of my game. Then, I would need a copy of all my little man in all his poses on every card; that would mean a whole bunch of hidden images sitting around at the same. Is there any way to have these images somehow "belong" to the stack so they could be referenced from any card? Is this the best way to do what I'm trying to do, or am I approaching the animation thing wrong? Thanks in advance for your help! Andrew From scott at tactilemedia.com Fri Aug 15 14:54:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Aug 15 14:54:01 2003 Subject: button resize In-Reply-To: <568AAB86-CEF6-11D7-B4E0-000393DD0724@earthlink.net> Message-ID: Recently, "Andrew" wrote: > I used to make games in Hypercard by animating the icons of buttons. > The buttons could move around the screen while their icons were > changing simultaneously. Revolution has me excited because of its > capability to handle large, colorful images. > In trying to animate these images, the only thing I can figure out is > to have a new image for each "frame" of the animation. Then I would > program the script to hide one image (the first frame) and show the > next image (the second frame) in the same place. The trouble with this > is the following: Say every card of the stack is a different "level" > of my game. Then, I would need a copy of all my little man in all his > poses on every card; that would mean a whole bunch of hidden images > sitting around at the same. Is there any way to have these images > somehow "belong" to the stack so they could be referenced from any > card? Is this the best way to do what I'm trying to do, or am I > approaching the animation thing wrong? Placing images in a group and then setting the backgroundBehavior of the group to true will make the group of images available to all cards. Alternatively, you can reference any object in a stack by using its complete path: set the icon of btn myBtn to id of img myImg of cd 1 That being said, you can also display animated GIFs within Rev, and precisely control them using the currentFrame, frameCount, and repeatCount properties. See the list archives for more details. You have many options for developing animation available to you. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From revlists at canelasoftware.com Fri Aug 15 15:29:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Fri Aug 15 15:29:01 2003 Subject: button resize In-Reply-To: <5115DB7E-CF57-11D7-804B-000393DD0724@earthlink.net> Message-ID: <337AB472-CF5E-11D7-B97F-000393C3F5BC@canelasoftware.com> On Friday, August 15, 2003, at 12:33 PM, Andrew wrote: > Hey, Revolution list. I'm new to revolution, but I have much > experience with Hypercard. > I was wondering if you fine folks could give me some tips on how to > deal with images and animation in Revolution. > The main problem that I'm having with Revolution is getting an image's > rect to be the right size. Say I create a cartoon of a man in > photoshop and I paste him into Revolution. Then my little man becomes > an "image" in Revolution language. However, when I paste him in, the > rect of the image is the size of the entire card! How can I get the > rect of my little man to be exactly the size of him? Is the image being created in 72 dpi? If not, the image will be sized larger that it may have been intended when imported in to Rev. > > Now a slightly more complicated question: > I used to make games in Hypercard by animating the icons of buttons. > The buttons could move around the screen while their icons were > changing simultaneously. Revolution has me excited because of its > capability to handle large, colorful images. > In trying to animate these images, the only thing I can figure out is > to have a new image for each "frame" of the animation. Then I would > program the script to hide one image (the first frame) and show the > next image (the second frame) in the same place. The trouble with > this is the following: Say every card of the stack is a different > "level" of my game. Then, I would need a copy of all my little man in > all his poses on every card; that would mean a whole bunch of hidden > images sitting around at the same. Is there any way to have these > images somehow "belong" to the stack so they could be referenced from > any card? Is this the best way to do what I'm trying to do, or am I > approaching the animation thing wrong? > > You could bring the image in once. Store them on a card called "storage". Then create buttons and set their id to the id of the image. You will then have a very efficient method for storing this images in memory. The buttons will only make a reference to the image and not add to your overhead. Best regards, Mark Talluto http://www.canelasoftware.com From devin_asay at byu.edu Fri Aug 15 15:31:02 2003 From: devin_asay at byu.edu (Devin Asay) Date: Fri Aug 15 15:31:02 2003 Subject: Fwd: Best way to set up an idle timer - not like this Message-ID: <476C22B0-CF5E-11D7-87F1-0030654E23A2@byu.edu> Wait! What seemed to be working at first is not. It seems okay until you start examining the pendingMessages. For some reason the sent messages start queuing up rapidly as soon as you start mousing around in the stack. Obviously the cancel command in the resetLogout handler is not getting all of the pending messages. But I can't figure out where all of these pendingMessages are coming from. Any experts out there in this area that can tell me where I've gone wrong? Devin Begin forwarded message: [my previous intro clipped] > ========================start script sample========================== > -- first of all put into an otherwise unused script: > on mouseMove > send "resetLogout" to stack "chinpr" > pass mouseMove > end mouseMove > > on rawKeyDown > send "resetLogout" to stack "chinpr" > pass rawKeyDown > end rawKeyDown > > -- then I put into my stack script: > > on openStack > -- start timeout counter > insert the script of image "P&Rbg1.jpg" into front > send "logoutQuery" to stack "chinpr" in 5 * 60 seconds -- or > whatever time you want > end openStack > > on logoutQuery > if the userPIN of this stack is not empty then -- i.e., if the user > is logged in > answer "A appropriate prompt here." with "Logout" or "Enter PIN..." > if it is "Enter PIN..." then -- (user chose to continue) > repeat forever -- or could put a limit here > ask information "Enter your PIN to continue the test." > if it is the userPIN of this stack then > resetLogout > exit repeat > else > answer information "Incorrect PIN. Try Again or Logout?" > with "Logout" or "Try Again" > if it is "Logout" then > go card "menu" of stack "chinpr" > logout > exit repeat > end if > end if > end repeat > exit logoutquery > else if it is "Logout" then -- (user chose to log out) > go card "menu" of stack "chinpr" > logout > exit logoutQuery > end if > end if > end logoutQuery > > on resetLogout > cancel item 1 of last line of the pendingMessages > send "logoutQuery" to stack "chinpr" in 5 * 60 seconds > end resetLogout > > ========================end script sample========================== Devin Asay Humanities Technology and Research Support Center Brigham Young University From janschenkel at yahoo.com Fri Aug 15 15:57:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Aug 15 15:57:00 2003 Subject: Fwd: Best way to set up an idle timer - not like this In-Reply-To: <476C22B0-CF5E-11D7-87F1-0030654E23A2@byu.edu> Message-ID: <20030815205035.55164.qmail@web11901.mail.yahoo.com> --- Devin Asay wrote: > Wait! What seemed to be working at first is not. It > seems okay until > you start examining the pendingMessages. For some > reason the sent > messages start queuing up rapidly as soon as you > start mousing around > in the stack. Obviously the cancel command in the > resetLogout handler > is not getting all of the pending messages. But I > can't figure out > where all of these pendingMessages are coming from. > > Any experts out there in this area that can tell me > where I've gone > wrong? > > Devin > Hi Devin, A quick glance showed me you're arbitrarily cancelling the last message in the pendingMessages. However, the Revolution IDE often sends its own messages, so this is not the best solution. You might want to store the ID of the 'send' somewhere in a custom property, so you can easily cancel that exact ID instead of the last in the list -- IIRC, you can pick it up in 'the result' right after the 'send' command is executed. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From rgould8 at aol.com Fri Aug 15 15:58:48 2003 From: rgould8 at aol.com (Rob Gould) Date: Fri Aug 15 15:58:48 2003 Subject: OT: Mac OS X Server - - - timeouts Message-ID: <3F3D47A3.1020706@aol.com> An HTML attachment was scrubbed... URL: From dsc at swcp.com Fri Aug 15 16:02:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 15 16:02:01 2003 Subject: Best way to set up an idle timer - not like this In-Reply-To: <476C22B0-CF5E-11D7-87F1-0030654E23A2@byu.edu> Message-ID: On Friday, August 15, 2003, at 02:23 PM, Devin Asay wrote: >> on openStack >> -- start timeout counter >> insert the script of image "P&Rbg1.jpg" into front Cool idea! >> send "logoutQuery" to stack "chinpr" in 5 * 60 seconds -- or >> whatever time you want Replace above line with this: resetLogout >> end openStack local logoutID = "" >> >> on logoutQuery >> if the userPIN of this stack is not empty then -- i.e., if the user >> is logged in >> answer "A appropriate prompt here." with "Logout" or "Enter >> PIN..." >> if it is "Enter PIN..." then -- (user chose to continue) >> repeat forever -- or could put a limit here >> ask information "Enter your PIN to continue the test." >> if it is the userPIN of this stack then >> resetLogout >> exit repeat >> else >> answer information "Incorrect PIN. Try Again or Logout?" >> with "Logout" or "Try Again" >> if it is "Logout" then >> go card "menu" of stack "chinpr" >> logout >> exit repeat >> end if >> end if >> end repeat >> exit logoutquery >> else if it is "Logout" then -- (user chose to log out) >> go card "menu" of stack "chinpr" >> logout >> exit logoutQuery >> end if >> end if >> end logoutQuery >> >> on resetLogout >> cancel item 1 of last line of the pendingMessages Take out above line, throw it on the floor and stomp on it. cancel logoutID -- cancel of empty seems to be harmless and fast >> send "logoutQuery" to stack "chinpr" in 5 * 60 seconds put the result into logoutID >> end resetLogout on closeStack cancel logoutID end closeStack How's that? (Almost right out of the Primer on Message Mechanics which I promise I'm working on right now.) You may be canceling a rev message or some other message. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Fri Aug 15 16:07:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 15 16:07:01 2003 Subject: Best way to set up an idle timer - not like this In-Reply-To: <476C22B0-CF5E-11D7-87F1-0030654E23A2@byu.edu> Message-ID: <916F0896-CF63-11D7-8192-000A9567A3E6@swcp.com> On Friday, August 15, 2003, at 02:23 PM, Devin Asay wrote: > It seems okay until you start examining the pendingMessages. For some > reason the sent messages start queuing up rapidly Even those experts see this. In design review and in testing always watch for this. Always. Always. I check for this and I expect others do. Always. Dar Scott From alrice at ARCplanning.com Fri Aug 15 16:43:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 15 16:43:00 2003 Subject: OT: Mac OS X Server - - - timeouts In-Reply-To: <3F3D47A3.1020706@aol.com> Message-ID: <87FC48F6-CF68-11D7-B064-000393529642@ARCplanning.com> On Friday, August 15, 2003, at 02:50 PM, Rob Gould wrote: > I'm trying to get my Revolution application to FTP files up to our Mac > OS X server.? This works most of the time, but if the server isn't > used for awhile, it gets into this mode where you have to kind of > "wake it up" - - - apps on the server sit for awhile before launching, > the server doesn't serve for awhile, etc.? This doesn't seem like > normal behavior to me, and I was wondering if anyone else has > experienced this before with an OS X server and might know what > setting needs to be adjusted.? It's got all the software updates for > both the OS and the server software. If it's a general behavior for the server, not just the FTP daemon, then I would suspect memory or energy saver problems. If the server is low on memory and processes are getting swapped swapped out (to virtual memory on disk). Then when requests are made, it takes a moment to read the processes back in from swap. Run Process Viewer, top, vmstat to see how much free memory is on the server. Also check energy saver and disk sleep settings. Those should be turned off for a server. I think OS X has those off by default- not sure. If the problem is specific to ftpd, then I would look at 1) Is the daemon being started by inetd (slower), or is it a long running process 2) is the daemon doing DNS lookups on clients (for example this can be a performance hit for httpd, but I don't know about ftpd) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From erikhans08 at yahoo.com Fri Aug 15 16:47:09 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Aug 15 16:47:09 2003 Subject: Excessive Quoting In-Reply-To: Message-ID: <20030815213746.5983.qmail@web20006.mail.yahoo.com> --- Richard Gaskin wrote: > Good reasons not to post "me too's' or > "thanks!" messages -- I usually send > mine directly to the author. > < Not only do such posts tell their story > better, they also encourage trimming >all but the most essential quoted portions > before we get to your stuff. and the trimming forces you to re-evaluate. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From FlexibleLearning at aol.com Fri Aug 15 17:05:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri Aug 15 17:05:00 2003 Subject: use-revolution digest, Vol 1 #1775 - 12 msgs Message-ID: <6a.340d1afa.2c6eb17d@aol.com> Dar just wrote... >> cancel item 1 of last line of the pendingMessages Take out above line, throw it on the floor and stomp on it. cancel logoutID -- cancel of empty seems to be harmless and fast >> send "logoutQuery" to stack "chinpr" in 5 * 60 seconds put the result into logoutID >> end resetLogout Sniff... I was going to post the same suggestion. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacque at hyperactivesw.com Fri Aug 15 17:37:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Aug 15 17:37:01 2003 Subject: A tip when using externals and cloning stacks In-Reply-To: <65024ECA-CF3A-11D7-AC2E-000393529642@ARCplanning.com> References: <65024ECA-CF3A-11D7-AC2E-000393529642@ARCplanning.com> Message-ID: <3F3D5EF4.1020506@hyperactivesw.com> On 8/15/03 11:06 AM, Alex Rice wrote: > On Wednesday, August 13, 2003, at 11:05 AM, J. Landman Gay wrote: > >> Loading externals has been iffy for more than one of my projects, and >> remains a perpetual problem. > > I haven't experienced this, but it's disturbing to hear. Do you think > the same problem would exist with a "hello world" external, for example > would just set a transcript variable to the string "hello world"? I ask > because am wondering if your external is running into System API > differences or DLL clashes of some kind? I should clarify. On my own machine externals appear to work fine. However, on a client's machine with an identical folder setup and OS, they don't always load. We haven't been able to quite figure out why not. The one thing that seems to affect his machine (but not mine) is if I list both platform externals together in the externals property, like this: revXML.bundle revxml.dll If the externals property is set this way, it works for me on OS X but not for him on OS X. If I set the externals property to only the single line "revXML.bundle" then it works for him too. However, that means I have to remember to create two version of the stack, one for Windows and one for Macs, before building a standalone so that each one has the correct externals property. This may be some kind of bug in the engine, but if so, it is elusive -- because two-line externals do work on my machine. However, the requested ability to load externals individually via script would solve all this and make the issue moot. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Fri Aug 15 17:42:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 15 17:42:00 2003 Subject: Sniff (was Re: use-revolution digest, Vol 1 #1775 - 12 msgs) In-Reply-To: <6a.340d1afa.2c6eb17d@aol.com> Message-ID: On Friday, August 15, 2003, at 03:58 PM, FlexibleLearning at aol.com wrote: > Sniff... I was going to post the same suggestion. LOL! We can dry our tears knowing great minds think alike. Dar Scott From yoy at comcast.net Fri Aug 15 17:44:01 2003 From: yoy at comcast.net (yoy) Date: Fri Aug 15 17:44:01 2003 Subject: How to implement an Agree/Disagree License agreement? Message-ID: <001d01c3637d$bb214f10$b2ea5144@fatal7lcf637rj> Hello fellow Revolutionaries, OmniLotto, for those who are familiar is finished except I need the user to accept my End User License Agreement. A boilerplate EULA with a "not liable for any financial losses as a result of using this software" statement to cover my butt. You see them in commercial software all the time. I only want the card (main stack?) to appear once, when they first run it. Then if they agree, it never appears again. Should the software write something into the program or somewhere? What about re-installs? How do you do that? Any advice? Thanks, Andy From psahores at easynet.fr Fri Aug 15 18:01:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 15 18:01:01 2003 Subject: How to implement an Agree/Disagree License agreement? In-Reply-To: <001d01c3637d$bb214f10$b2ea5144@fatal7lcf637rj> References: <001d01c3637d$bb214f10$b2ea5144@fatal7lcf637rj> Message-ID: <3F3D64AA.8040403@easynet.fr> yoy wrote: > Hello fellow Revolutionaries, > > OmniLotto, for those who are familiar is finished except I need the user to > accept my End User License Agreement. > > A boilerplate EULA with a "not liable for any financial losses as a result > of using this software" statement to cover my butt. > > You see them in commercial software all the time. > > I only want the card (main stack?) to appear once, when they first run it. > Then if they agree, it never appears again. > > Should the software write something into the program or somewhere? What > about re-installs? > > How do you do that? > > Any advice? > > Thanks, > > Andy > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Why not a "discrete file", written by your app to the local drive ? -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From yoy at comcast.net Fri Aug 15 18:23:00 2003 From: yoy at comcast.net (yoy) Date: Fri Aug 15 18:23:00 2003 Subject: How to implement an Agree/Disagree License agreement? References: <001d01c3637d$bb214f10$b2ea5144@fatal7lcf637rj> <3F3D64AA.8040403@easynet.fr> Message-ID: <002a01c36383$1fc6e560$b2ea5144@fatal7lcf637rj> Pierre, I was wondering about that. Then I figure, if they try to sue me, it means they ran the software and had to have agreed to the EULA or they wouldn't be able to use my software in the first place, rendering me non-liable without writing some discrete file. I don't like it when software does that to me but that's just my feeling on the subject. It's not commercial software. Maybe shareware. Up until OmniLotto, all my software was freeware. My girlfriend is insisting I make it shareware. The jury is still out on that issue. It's just the nature of the software that I need an EULA. All the best, Andy ----- Original Message ----- From: "Pierre Sahores" To: Sent: Friday, August 15, 2003 6:54 PM Subject: Re: How to implement an Agree/Disagree License agreement? > Why not a "discrete file", written by your app to the local drive ? > > -- > Bien cordialement, Pierre Sahores > > Inspection acad?mique de Seine-Saint-Denis > Serveurs d'applications et SGBDR (Web/PGI) > Penser et produire l'avantage comp?titif From livfoss at blueyonder.co.uk Fri Aug 15 18:33:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri Aug 15 18:33:00 2003 Subject: button resize Message-ID: On Friday, August 15, 2003, at 12:33 PM, Andrew wrote: [...] Say I create a cartoon of a man in > photoshop and I paste him into Revolution. Then my little man becomes > an "image" in Revolution language. However, when I paste him in, the > rect of the image is the size of the entire card! How can I get the > rect of my little man to be exactly the size of him? I was about to suggest pasting into a locked (size and position) image object, because I thought this would resize the picture to the image size like it does in SuperCard, but a quick experiment shows that it doesn't. Must Andrew therefore do the resizing either outside RunRev or inside via script? I am interested in a RunRev internal solution myself - can anyone suggest the most efficient one? I know there have been previous discussions about creating thumbnails, but I couldn't find an actual recipe for importing an arbitrarily-sized picture into a fixed-size image (and reducing the resolution on the way). > > Now a slightly more complicated question: [re animation] I see that the answers Andrew has been given have not included using Rev's own Animation Builder. I don't think there is a really complete description of all that this feature can do in the docs, nevertheless there is a tutorial that shows the basics. It might work well for certain kinds of animation. HTH Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From dsc at swcp.com Fri Aug 15 18:35:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 15 18:35:00 2003 Subject: How to implement an Agree/Disagree License agreement? In-Reply-To: <002a01c36383$1fc6e560$b2ea5144@fatal7lcf637rj> Message-ID: <24550EA0-CF78-11D7-8192-000A9567A3E6@swcp.com> On Friday, August 15, 2003, at 05:15 PM, yoy wrote: > I was wondering about that. Then I figure, if they try to sue me, it > means > they ran the software and had to have agreed to the EULA or they > wouldn't be > able to use my software in the first place, rendering me non-liable > without > writing some discrete file. I don't like it when software does that to > me > but that's just my feeling on the subject. You might want to make sure that their accepting a copy of the system with a pre-made file will not work. And that the EULA prohibits distribution except by a method your control. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From yoy at comcast.net Fri Aug 15 18:51:00 2003 From: yoy at comcast.net (yoy) Date: Fri Aug 15 18:51:00 2003 Subject: How to implement an Agree/Disagree License agreement? References: <24550EA0-CF78-11D7-8192-000A9567A3E6@swcp.com> Message-ID: <003501c36387$0e0d18e0$b2ea5144@fatal7lcf637rj> Dar, Good advice! The EULA willl state that the archive can only be redistributed in its original form, of which I will have archived for each release (if bugs pop up). That makes me wonder about its placement on a network server after one person accepts the EULA. Darn, this is getting complicated. Still at issue is how to create this one time EULA. The picture I get is that it should be the mainstack until the EULA is agreed to then the mainstack is deleted/demoted. Can this be done after a distribution build? Should I do the EULA in an Installer capsule like Vise or similar? What's a mother to do?!! ;-) All the best, Andy ----- Original Message ----- From: "Dar Scott" Subject: Re: How to implement an Agree/Disagree License agreement? > > I was wondering about that. Then I figure, if they try to sue me, it > > means > > they ran the software and had to have agreed to the EULA or they > > wouldn't be > > able to use my software in the first place, rendering me non-liable > > without > > writing some discrete file. I don't like it when software does that to > > me > > but that's just my feeling on the subject. > > You might want to make sure that their accepting a copy of the system > with a pre-made file will not work. And that the EULA prohibits > distribution except by a method your control. > > Dar Scott > > > **************************************** > Dar Scott Consulting > http://www.swcp.com/dsc/ > Programming Services > **************************************** From edgore at shinra.com Sat Aug 16 03:01:02 2003 From: edgore at shinra.com (Edwin Gore) Date: Sat Aug 16 03:01:02 2003 Subject: Best way to set up an idle timer References: <71846E66-CF4E-11D7-8192-000A9567A3E6@swcp.com> Message-ID: <003301c363cb$e9df6af0$6701a8c0@ed> I should probably point out at this point, I did not mention using a frontscri[t because I am a callow youth, and forgot to mention that that was the proper way to implement this. All Hail Sarah -- Who deserves i! Oh...and Dar. Who does to...I guess. :) ----- Original Message ----- From: "Dar Scott" > Sniff. I mentioned frontScripts, too. Sniff. Sniff. From foxcat at comcast.net Sat Aug 16 05:49:01 2003 From: foxcat at comcast.net (fatal error) Date: Sat Aug 16 05:49:01 2003 Subject: How to implement a Agree/Disagree E.U.L.A. Message-ID: <001101c3637d$219e4c30$b2ea5144@fatal7lcf637rj> Hello fellow Revolutionaries, OmniLotto, for those who are familiar is finished except I need the user to accept my End User License Agreement. A boilerplate EULA with a "not liable for any financial losses as a result of using this software" statement to cover my butt. You see them in commercial software all the time. I only want the card (main stack?) to appear once, when they first run it. Then if they agree, it never appears again. Should the software write something into the program or somewhere? What about re-installs? How do they do that? Any advice? Thanks, Andy From klaus at major-k.de Sat Aug 16 06:48:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Aug 16 06:48:00 2003 Subject: button resize In-Reply-To: Message-ID: <9BA4E167-CFDE-11D7-B30F-000A27B49A96@major-k.de> Hi Andrew and Graham, > On Friday, August 15, 2003, at 12:33 PM, Andrew wrote: > > [...] > Say I create a cartoon of a man in >> photoshop and I paste him into Revolution. Then my little man >> becomes >> an "image" in Revolution language. However, when I paste him in, the >> rect of the image is the size of the entire card! How can I get the >> rect of my little man to be exactly the size of him? > > I was about to suggest pasting into a locked (size and position) image > object, because > I thought this would resize the picture to the image size like it does > in SuperCard, but a > quick experiment shows that it doesn't. Must Andrew therefore do the > resizing either > outside RunRev or inside via script? a general rule: images look best 1:1... Means they look best (at least in RR) when they are NOT resized in any way! In Andrews case i am almost sure that the resolution is something else but not 72 dpi. Only image-editors and layout-applications "know" what image resolution other than 72 dpi really means... All other apps, including RR, will always display images at this reolution. They tend to "think" in pixel... Means if you saved an image in Photoshop with 144 dpi it will appear double-sized in RR. So you will have to set the correct resolution (72 dpi, in case you forgot) before importing/using this image in RR to get the best results possible... > I am interested in a RunRev internal solution myself - can anyone > suggest the > most efficient one? I know there have been previous discussions about > creating > thumbnails, but I couldn't find an actual recipe for importing an > arbitrarily-sized > picture into a fixed-size image (and reducing the resolution on the > way). This way you are going to have the original sized image only displayed a little smaller, means the filesize (the number of bytes occupied in your stack) is the same! This is the way i do this: import an image, resize it as desired and THEN import a snapshot of the area of the scaled image. Will end in a smaller (size and bytes) image... > ... > HTH > > Graham Hope that helps... Klaus Major klaus at major-k.de www.major-k.de From pbsi at mac.com Sat Aug 16 08:27:00 2003 From: pbsi at mac.com (Brian K. Maher) Date: Sat Aug 16 08:27:00 2003 Subject: How to properly format text in sheet on OS X? Message-ID: <67E3F2E7-CFEC-11D7-BD42-000393020FF0@mac.com> > Hi Folks, > > I am trying to properly format the text in an 'answer ... as sheet' > command. I need to message text to conform to OS X's UI guidelines > which state that the 'message text' should use the emphasized bold > system font and the 'informative text' should use the small system > font. Below is my command so far but the fonts don't seem to be > working: > > answer warning "message > text

size='11'>informative text" with "Continue" as sheet > > Can anyone help me get this working properly? > > Thanks, Brian From jtenny at willamette.edu Sat Aug 16 08:30:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Sat Aug 16 08:30:01 2003 Subject: HyperGASP In-Reply-To: <200308140203.WAA08550@www.runrev.com> Message-ID: <3ABDEBC3-CEAA-11D7-BE53-000393911676@willamette.edu> Monte - It's an automatic scripting program, great for beginners. The utility creates the scripts from a series of choices you make. You can then look at the scripts and change/learn from them. Here's a url for the beginning of an online tour. Note the testimonials at the end. Note also that the web pages and the cards were all created in HyperGASP. You can also find info through Google (HyperGASP) http://www.calibanmw.com/tour/page_id_12316.html What folks are doing here is well beyond this, but for a tool that would easily allow beginners to get involved it might be a useful model. I have no idea if the owners are interested in getting back into the business. John From jtenny at willamette.edu Sat Aug 16 08:31:38 2003 From: jtenny at willamette.edu (John Tenny) Date: Sat Aug 16 08:31:38 2003 Subject: HyperGASP In-Reply-To: <200308142100.RAA04636@www.runrev.com> Message-ID: I downloaded the free light version and it will run on Sys X (classic), but can't get it to create new stacks.j I suspect it needs to run in Sys 9, not classic. Anyway, playing with it as is would give one an understanding of what a real 'beginner support tool' would look like. With something like this I could get 8 year olds involved (or childish older folks). I emailed the owners and they quit supporting it when Apple quit supporting Hcard. They still sell the original version and the lastest upgrade. Hope someone downloads the light version (Mac only) and will provide a more advanced perspective. http://www.calibanmw.com/download.html John From yvescoppe at skynet.be Sat Aug 16 08:57:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat Aug 16 08:57:00 2003 Subject: APPLE EXPO in PARIS Message-ID: Hi Heather, I write this quesiton to the list because it can show interests for much Revolution users : Will you be present at the Apple Expo in Paris as previous year ?? Greetings. Yves COPPE yvescoppe at skynet.be From klaus at major-k.de Sat Aug 16 08:59:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Aug 16 08:59:01 2003 Subject: How to properly format text in sheet on OS X? In-Reply-To: <67E3F2E7-CFEC-11D7-BD42-000393020FF0@mac.com> Message-ID: Hi Brian, > Hi Folks, > > I am trying to properly format the text in an 'answer ... as sheet' > command. I need to message text to conform to OS X's UI guidelines > which state that the 'message text' should use the emphasized bold > system font and the 'informative text' should use the small system > font. Below is my command so far but the fonts don't seem to be > working: > > answer warning "message > text

size='11'>informative text" with "Continue" as sheet > > Can anyone help me get this working properly? > > Thanks, Brian You have 2 choices (maybe more...) 1. Set the texsize of these lines of fld 1 of cd 1 of stack "Answer Dialog" manually... set the textsize of line 1 to (the num of lines of messagetext) of fld 1... ... 2. Create your own "Answer Dialog" :-) (Its is nothing more than a "modal" stack...) Then you can use the global property "the dialogdata" to set and get the value clicked in your custom "Answer Dialog"... Drop a line if you need more info/assistance :-) Regards Klaus Major klaus at major-k.de www.major-k.de From jtenny at willamette.edu Sat Aug 16 09:07:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Sat Aug 16 09:07:01 2003 Subject: How to implement an Agree/Disagree License agreement?-serial number? In-Reply-To: <200308161234.IAA12828@www.runrev.com> Message-ID: And maybe related to this, how does one implement a serial number system? That is, a person enters the serial number the first time and never sees that screen again. And is there a random serial number generator out there? Do they HAVE to be as long as the Rev serial numbers? John From jimlyons at earthlink.net Sat Aug 16 09:35:00 2003 From: jimlyons at earthlink.net (Jim Lyons) Date: Sat Aug 16 09:35:00 2003 Subject: button resize Message-ID: <3F3E408C.4BB8F55B@earthlink.net> Andrew (and any other new recruits from HC days), Andrew wrote recently: > ...I'm new to revolution, but I have much experience with > Hypercard. I was wondering if you fine folks could give > me some tips on how to deal with images and animation in > Revolution. First, pace yourself! There's lot's of new, really great stuff to learn about. Start with "About Revolution for Hypercard Developers" in the Docs, and then "About Groups and Backgrounds". Making the switch from thinking about cards and backgrounds to cards and groups took me a while but it is fundamental to understanding the Revolution way. You'll like it. Learn about custom properties early on, too. You'll like them. > The main problem that I'm having with Revolution is getting > an image's rect to be the right size. ... Other folks answered about this. You'll definitely want to do all your image work in PhotoShop and "Save for Web" in the size and quality you want. And if you don't already know how to use ImageReady, get out the book -- sounds like you'll be wanting to use some animated GIFs too. ;^) > Now a slightly more complicated question: I used to make > games in Hypercard by animating the icons of buttons. The > buttons could move around the screen while their icons were > changing simultaneously. Revolution has me excited because > of its capability to handle large, colorful images. ... and transparency, and animated GIFs, and graphic objects, and built-in animations, and .... I can't wait to see what you make! Note that there's an important difference between showing an image and showing a button whose icon is set to an image. Check the docs and the list archives for the best info about this. > In trying to animate these images, the only thing I can > figure out is to have a new image for each "frame" of the > animation. Then I would program the script to hide one > image (the first frame) and show the next image (the > second frame) in the same place. You can also place multiple frames in an "animated" GIF that you just set to which frame you want. You can use this technique if you don't need to show different frames of the GIF on different buttons at the same time, and that probably would apply to your main character. In the stack contributions at the RunRev site is an example of controlling animated GIFs from a script. > ... [need multiple images available on several cards] ... > Is there any way to have these images somehow "belong" to > the stack so they could be referenced from any card? This was answered in another message too, involving using a group and the backgroundBehavior property. Like I said, lots to learn and enjoy. (I am just now grokking the frontscripts and the backscripts. Oh, boy!) Jim Lyons From dsc at swcp.com Sat Aug 16 11:04:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 16 11:04:00 2003 Subject: How to implement an Agree/Disagree License agreement?-serial number? In-Reply-To: Message-ID: <4F7226C0-D002-11D7-B0F8-000A9567A3E6@swcp.com> On Saturday, August 16, 2003, at 07:58 AM, John Tenny wrote: > And is there a random serial number generator out there? Do they HAVE > to be as long as the Rev serial numbers? No, it doesn't have to be as long. It includes embedded info and I would guess it is double what it might be even then. Here is a very short verification code generator (off the top of my head): -- keep this secret somehow and share it between the product and generator local secret = "John Tenny's Blaster 4000 LE" function verificationCode userEmailAddress return char 1 to 5 of base64Encode(md5digest(userEmailAddress&secret)) end verificationCode function isValidCode userEmailAddress code set caseSensitive to true return code = verificationCode(userEmailAddress) end isValidCode Gotta run; you may need to repair this. Dar Scott From psahores at easynet.fr Sat Aug 16 11:16:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Aug 16 11:16:00 2003 Subject: APPLE EXPO in PARIS In-Reply-To: References: Message-ID: <3F3E571E.6050701@easynet.fr> Yves COPPE wrote: > Hi Heather, > > > I write this quesiton to the list because it can show interests for much > Revolution users : > > Will you be present at the Apple Expo in Paris as previous year ?? > > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Same question. It would be really cool to meet us, there :-) -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From FlexibleLearning at aol.com Sat Aug 16 11:32:02 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat Aug 16 11:32:02 2003 Subject: How to implement a Agree/Disagree E.U.L.A. Message-ID: <67.16dec39d.2c6fb525@aol.com> What we do here is write the date and time the user clicked "I Agree'" to a Preferences file (Mac) or Registry entry (PC). You can get the Mac prefs folder using specialFolderPath, and use SetRegistry and QueryRegistry on a PC. When the program launches again, it checks to see if there is a prefs file or a registry entry. If not, the user gets the EULA screen, otherwise it continues. This allows program upgrades to be time- or feature-sensitive if necessary by comparing data written to something in the new release such as a version number or the current date. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From jima at redstonesoftware.com Sat Aug 16 11:43:01 2003 From: jima at redstonesoftware.com (Jim Armstrong) Date: Sat Aug 16 11:43:01 2003 Subject: Eggplant from Redstone Software Message-ID: Hello, I would like to take a moment to introduce you to a cross-platform testing and automation tool that has been developed for use on Mac OS X. It is written in Cocoa, and contains a scripting language called SenseTalk, that you would be familiar with because it is based on HyperTalk and AppleScript. My name is Jim Armstrong, and I have been involved with HyperCard since its beginning in 1986. I have been following this list since its early days, and really like features and power of Runtime Revolution. Especially version 2.1. If you are passionate about scripting, please take a look at Eggplant. It allows cross-platform scripting, testing and control applications. I think you will agree it makes a nice compliment to Run Rev for developing multi-platform and internet applications using OSXvnc and other flavors of Virtual Network Computing. Our website is at http://www.redstonesoftware. com Take a look at the QuickTime movie of Eggplant, and if you are interesting in evaluating it, send me an email, and I will get you going with a 30-day evaluation copy. Jim Armstrong Redstone Software, Inc. San Jose, CA office From ludovic.thebault at laposte.net Sat Aug 16 12:34:00 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat Aug 16 12:34:00 2003 Subject: button resize In-Reply-To: <5115DB7E-CF57-11D7-804B-000393DD0724@earthlink.net> References: <5115DB7E-CF57-11D7-804B-000393DD0724@earthlink.net> Message-ID: <20030816192650474970.GyazMail.ludovic.thebault@laposte.net> On Fri, 15 Aug 2003 12:33:16 -0700, Andrew wrote: > The main problem that I'm having with Revolution is getting an > image's rect to be the right size. Say I create a cartoon of a man > in photoshop and I paste him into Revolution. Then my little man > becomes an "image" in Revolution language. However, when I paste him > in, the rect of the image is the size of the entire card! How can I > get the rect of my little man to be exactly the size of him? I've made this little script to resize an image : set the lockloc of image "image" to false get the rect of image "image" put (item 3 of it-item 1 of it) into hor put (item 4 of it-item 2 of it) into ver -- i use a square in background to have "square border" even if the rect of image is not a square : put the rect of graphic "tbackground" into trect -- to see the border : repeat with i=3 to 4 subtract 2 from item i of trect end repeat if hor >= ver and hor > (item 3 of trect-item 1 of trect) then set the rect of image "image" to (item 1 of trect, item 2 of trect, item 3 of trect, (item 2 of trect+(ver*(item 3 of trect-item 1 of trect))/hor)) else if ver > hor and ver > (item 4 of trect-item 2 of trect) then set the rect of image "image" to (item 1 of trect, item 2 of trect, (item 1 of trect+(hor*(item 4 of trect-item 2 of trect))/ver), item 4 of trect) end if set the loc of image "image" to the loc of graphic "tbackground" set the lockloc of image "image" to true From pixelbird at interisland.net Sat Aug 16 12:38:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Aug 16 12:38:01 2003 Subject: How to implement an Agree/Disagree License agreement? In-Reply-To: <200308161234.IAA12903@www.runrev.com> Message-ID: > From: "yoy" > Subject: Re: How to implement an Agree/Disagree License agreement? > Date: Fri, 15 Aug 2003 19:43:36 -0400 > Should I do the EULA in an Installer capsule like Vise or similar? ---------- You know, I would like to reimplement my *HC Payload Stack for Light Aircraft in Rev, but I certainly don't want any liability for its use, so I'm interested in this thread. I'd also enjoy feedback/questions from any pilots out there in Rev territory. Anyway, I like your suggestion. The EULA should be like a password encryption in an installer file, not the operational stack. IOW, you can't load the app at all unless the terms of use are agreed to. This way, if the app has a problem, you can reinstall by making another agreement. The new app would simply replace the old one. Thus, there would be no need to have a disappearing page, the user would just trash the installer (if they want to). I don't know about server installations, though. Ken N. *See a new post about the Payload Chart under "Payload Charts for Light Aircraft" -- K.N. From livfoss at blueyonder.co.uk Sat Aug 16 12:47:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sat Aug 16 12:47:01 2003 Subject: Help - my RunRev IDE has slowed to a crawl Message-ID: I remember this happening to other people maybe when RunRev 2.0 came out, but I can't find the messages using the Google search. Today I was editing a set of stacks which I've been working on for a very long time using both Mac and Windows environments. In this case I was using a Mac running OS9.2.2 to power RR 2.0r2, and very soon after opening my mainstack in the IDE, things slowed to a crawl to the extent that it takes tens of seconds for RunRev to react to clicks or even to give up control to another app. I don't think I've changed my own stuff in other than a trivial way since it was working without problems (just a few iterations ago). Can anyone suggest something I should be doing to bring the IDE back to life? (I ought maybe to say that most of my recent development has been done using a Windows XP system and I've only just got back to the Mac - nevertheless I have built some working apps using the Dist Builder today). Just can't think how to proceed... TIA for any advice Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From pixelbird at interisland.net Sat Aug 16 13:36:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Aug 16 13:36:00 2003 Subject: Payload Charts for Light Aircraft In-Reply-To: <200308161234.IAA12903@www.runrev.com> Message-ID: This chart generator was originally created in HyperCard on a Mac SE about 14 years ago. It was co-authored by myself and Roger Peard, Col., USMC, Rtd. Both of us were members of the Blackhawk Sqdn (Lake Tahoe) of the Civil Air Patrol at the time. I want to rewrite it with an entirely new UI in Rev. It came from a concern for the safety of high Density Altitude departures at Lake Tahoe Airport. We had seen several crashes due to high DA conditions which resulted in the death of people we knew, and many other close calls, even after a specially instituted policy for ATC Ground Control to say "check density altitude" among the usual information given at first contact, and also a lighted DA display on the taxiway. The chart generator uses an algorithm that utilizes aircraft takeoff performance plus Weight and Balance data derived from the Pilot's Operating Handbook and Aircraft Log for a specific aircraft (not just Type and Category), the Lift Formula, modified for light aircraft, Density Altitude, and values from the Air Density Tables of the Standard Atmospheric Tables. It makes an aircraft-specific chart which shows Horsepower and Rate Of Climb vs. Density Altitude and Payload, i.e., it tells you how much weight in passengers, baggage, and fuel, the aircraft can have aboard to achieve a predetermined departure ROC at the current Density Altitude. The pilot will still need to correctly calculate DA (note: as I mentioned before, at Lake Tahoe, ATC gives this number routinely), and to determine a safe ROC for clearing obstacles and terrain before using the chart. The little chart may have saved my own life on a very hot day at an airport in eastern Nevada. We had incorporated the use of the chart in our preflight inspection checklists. We had had our CAP corporate bird refueled (to the inlet collars by direction) by airport personnel. During the subsequent preflight inspection, we determined the ROC performance we would get wasn't adequate. Using the chart, and wanting to carry the passengers and bags, we decided we could make it back home safely on less fuel, so we drained 25 gallons of fuel (not wasted, but used in another of the aircraft on the same mission), about 150 lbs., which gave us a good caution-side (something more than we needed) ROC. The departure was normal and without incident, the guages showed the numbers we expected. Ken N. From gizmotron at earthlink.net Sat Aug 16 14:04:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 16 14:04:01 2003 Subject: Payload Charts for Light Aircraft In-Reply-To: Message-ID: <05B73DD7-D01C-11D7-A51D-000A95859272@earthlink.net> On Saturday, August 16, 2003, at 08:35 AM, Ken Norris wrote: > This chart generator was originally created in HyperCard on a Mac SE > about > 14 years ago. It was co-authored by myself and Roger Peard, Col., > USMC, Rtd. > Both of us were members of the Blackhawk Sqdn (Lake Tahoe) of the > Civil Air > Patrol at the time. I want to rewrite it with an entirely new UI in > Rev. > > It came from a concern for the safety of high Density Altitude > departures at > Lake Tahoe Airport. Ah, the Lake Tahoe Airport. That is where I finished off my qualifications for high performance aircraft in mountainous terrain. As I recall the Beachcraft Bonanza was topped of with fuel with three on board and was in the hot 95+ F degrees. At least as I recall it the pressure altitude was around 10,000 feet. We used 5000 feet of the seven thousand foot runway. At 11:00 AM that same morning we used 90% of Mammoth's shorter runway. I watched a Citobria use all 100% of the Mammoth Airport to get into the air right after we took off. So are you going to make this app available for hot pilots? Mark From bvg at mac.com Sat Aug 16 15:33:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Aug 16 15:33:00 2003 Subject: easy way to do itemoffset and lineoffset simultaneous Message-ID: I have a list of lines which each contain a certain amount of items. I need to find a certain line based on the first two items it contains. example: ... 3,18,0,0,0,0,0,0,1,0,1 3,19,1,0,0,0,0,0,0,0,0 3,20,1,0,0,0,0,0,0,0,0 4,1,1,0,0,0,0,0,0,0,0 4,2,0,0,0,0,0,0,1,0,1 4,3,1,0,0,0,0,0,0,0,0 ... I know about the line which begins with 3,18 and now I need to get all lines which are nearby (x/y grid). That means I need to get the lines which begin with: 2,17 2,18 2,19 3,17 3,19 4,14 4,18 4,19 I don't know how to get these lines with that information because I can't do itemoffset (I need lines) and I cant do lineoffset (I got items). If there just where a command like : lineoffset(item 1 to 2 of the line to find,container to search) :-( From gizmotron at earthlink.net Sat Aug 16 16:18:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 16 16:18:00 2003 Subject: easy way to do itemoffset and lineoffset simultaneous In-Reply-To: Message-ID: Saturday, Bj?rnke von Gierke wrote: > 3,18,0,0,0,0,0,0,1,0,1 > 3,19,1,0,0,0,0,0,0,0,0 > 3,20,1,0,0,0,0,0,0,0,0 > 4,1,1,0,0,0,0,0,0,0,0 > 4,2,0,0,0,0,0,0,1,0,1 > 4,3,1,0,0,0,0,0,0,0,0 > ... > > I know about the line which begins with 3,18 and now I need to get all > lines which are nearby (x/y grid). That means I need to get the > lines which begin with: 2,17 2,18 2,19 3,17 3,19 4,14 4,18 4,19 > I don't know how to get these lines with that information because I > can't do itemoffset (I need lines) and I cant do lineoffset (I got > items). > If there just where a command like : lineoffset(item 1 to 2 of the > line to find,container to search) :-( If I were going to do this I would not use lines as a delimiter if that is possible. I'd store information as (3,18) 0,0,0,0,0,0,1,0,1, (3,19) 1,0,0,0,0,0,0,0,0, (3,20) 1,0,0,0,0,0,0,0,0, (4,1) 1,0,0,0,0,0,0,0,0 (4,2) 0,0,0,0,0,0,1,0,1 (4,3) 1,0,0,0,0,0,0,0,0 where "(" is the delimiter. I'm no expert at this but you could use offset(), regEx, or split to extract your needed grid coordinates from a single delimited string. This way x/y grid numerical values in parentheses would not conflict with equivalent numerical values in the rest of each delimited data if they were to occur. Mark From psahores at easynet.fr Sat Aug 16 16:27:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Aug 16 16:27:00 2003 Subject: Help - my RunRev IDE has slowed to a crawl In-Reply-To: References: Message-ID: <3F3EA01E.2090909@easynet.fr> Graham Samuel wrote: > I remember this happening to other people maybe when RunRev 2.0 came > out, but I can't find the messages using the Google search. > > Today I was editing a set of stacks which I've been working on for a > very long time using both Mac and Windows environments. In this case I > was using a Mac running OS9.2.2 to power RR 2.0r2, and very soon after > opening my mainstack in the IDE, things slowed to a crawl to the extent > that it takes tens of seconds for RunRev to react to clicks or even to > give up control to another app. I don't think I've changed my own stuff > in other than a trivial way since it was working without problems (just > a few iterations ago). > > Can anyone suggest something I should be doing to bring the IDE back to > life? > > (I ought maybe to say that most of my recent development has been done > using a Windows XP system and I've only just got back to the Mac - > nevertheless I have built some working apps using the Dist Builder today). > > Just can't think how to proceed... > > TIA for any advice > > Graham Hi Graham, I had such kind of "slowing down" problems when i switched my first app from MC 2.5 to Rev 2.0.1 (Linux and Jaguar platforms). The only workaround i found to resolve the problem has been to avoid to put more than 100 different objects (buttons, fiels, groups,...) per card. Hope this can help. -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Serveurs d'applications et SGBDR (Web/PGI) Penser et produire l'avantage comp?titif From dsc at swcp.com Sat Aug 16 16:37:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 16 16:37:00 2003 Subject: easy way to do itemoffset and lineoffset simultaneous In-Reply-To: Message-ID: On Saturday, August 16, 2003, at 02:25 PM, Bj?rnke von Gierke wrote: > I have a list of lines which each contain a certain amount of items. I > need to find a certain line based on the first two items it contains. Ideas: 1. Use a regex you make each call. 2. Switch to arrays. 3. Use offset and include the "return" in the charsToFind (put extra return at start). For example: put return & x , y into charsToFind 4. Use fixed length data and place it in the string based on x & y calculations. 5. Switch to arrays. 6. Switch to arrays. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Sat Aug 16 16:52:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 16 16:52:00 2003 Subject: Portable fonts and usage recommendations needed Message-ID: I'm getting frustrated with fonts on multiple platforms. I tried using Ariel and Courier New thinking those would be most portable. Just between OS X and Windows there are gross differences, both in metrics and--it seems--in the characters. In some cases I can go to a fixed line height to force some metrics to be the same, but that will not work in most cases. I would like to avoid a lot of formatting calculations. I'd like to avoid tweaking a lot of profile parameters for platforms. Why are fonts with the same names so different? Are there fonts that have exactly the same metrics on different platforms? Do other applications have such gross differences when the same font is used? If that shows a gross ignorance of font metrics and platforms, I would like to learn more. Well, actually, I would like to learn more anyway, but my immediate goal is to address fonts on multiple platforms. If it requires a break to get educated, please point me to the right resources. I'm talking about very big differences. (Maybe this is a bug and I'm too ignorant to tell.) Dar Scott From gizmotron at earthlink.net Sat Aug 16 17:21:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 16 17:21:00 2003 Subject: easy way to do itemoffset and lineoffset simultaneous In-Reply-To: Message-ID: <74D20944-D037-11D7-BD5B-000A95859272@earthlink.net> On Saturday, August 16, 2003, at 02:14 PM, Mark Brownell wrote: > > If I were going to do this I would not use lines as a delimiter if > that is possible. I'd store information as (3,18) 0,0,0,0,0,0,1,0,1, > (3,19) 1,0,0,0,0,0,0,0,0, (3,20) 1,0,0,0,0,0,0,0,0, (4,1) > 1,0,0,0,0,0,0,0,0 (4,2) 0,0,0,0,0,0,1,0,1 (4,3) 1,0,0,0,0,0,0,0,0 > where "(" is the delimiter. I'm no expert at this but you could use > offset(), regEx, or split to extract your needed grid coordinates from > a single delimited string. This way x/y grid numerical values in > parentheses would not conflict with equivalent numerical values in the > rest of each delimited data if they were to occur. > > Mark Follow up: Try: put "(3,18)" into myXY put wordOffset(myXY, myDataString) into zap put word (zap + 1) of myDataString into coordinateZap so you would use a space as the delimiter for a string of data. You could even drop the parentheses using records like "3,18 0,0,0,0,0,0,1,0,1," that exist as two words for each grid coordinate. example: put "3,18" into myXY From themacguy at macosx.com Sat Aug 16 17:26:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Sat Aug 16 17:26:00 2003 Subject: Printing problem...I'd hate to say a "bug" but.... Message-ID: I have a stack that I print using a script. I show and hide various controls and images in an inner loop and sequence throught the cards with an outer loop. I "open printing" at the start and "close printing" at the end (outside the loops). Everything works perfectly (in both OSX and Windows). However... I installed the program on the customer's PC. She has a cheap HP inkjet that she has configured to open a status window when the printing begins. The problem is that the status window opens -before- Rev has completed the script -and- it opens above my program's window. This results in the printed pages showing my program's cards but with the portion of the HP Status window overlapping my program's window also appearing in the printed pages. I am taking a screen shot thusly: import snapshot from rect globalloc(the topleft of player 1)& "," & globalloc(the botright of player 1) ...and the HP Status window, overlapping my player object as it does, appears in the printout. How could this happen if my program uses the "open printing" and "close printing" commands? Should the printer -not- be notified that there's a print job until the "close printing" command is issued? What I have not done is lock the screen during this script so you do see the objects appearing and disappearing, and the cards changing as well. I imagine I'll lock the screen when we get closer to the release version; I wanted to keep everything visible during development so I can spot where things get mucked up (assuming I don't write flawless code ;-) ). I can turn off this HP Status Monitor on -this- PC but I can't do that on every PC in which this program will be installed. I don't even know what would happen (yet) if something like the Epson Staus Monitor popped up on the Mac while my program was running (but I would imagine I'd get the same result). This does seem like a bug in the way Rev handles the printing routine. If "open printing" is supposed to queue up everything until I issue the "close printing" command, why would the HP window appear before the script has even cycled through all the cards. The first few cards are okay but they're already past by the time the HP window appears. Does Rev let the print command "leak out" to the OS before "close printing" happens? BTW, this PC is running XP Home though that probably has nothing to do with it. So, anyone have any ideas? I can provide my script if you wish to see it. Thanks, Barry From gizmotron at earthlink.net Sat Aug 16 17:30:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 16 17:30:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: On Saturday, August 16, 2003, at 02:45 PM, Dar Scott wrote: > Why are fonts with the same names so different? > > Are there fonts that have exactly the same metrics on different > platforms? Perhaps you can create a font map that works for you. ===================== This is the shockwave solution FONT MAPPINGS -- Font mappings specify which font and size substitutions to make when -- moving from one platform to another. -- The format for font mapping definitions is: -- Platform:FontName => Platform:FontName [MAP NONE] [oldSize => newSize] -- Specifying MAP NONE turns off character mapping for this font. -- If you specify size mappings, they apply for THAT FONT ONLY. -- Here are some typical mappings for the standard Macintosh fonts: Mac:Chicago => Win:System Mac:Courier => Win:"Courier New" Mac:Geneva => Win:"MS Sans Serif" Mac:Helvetica => Win:Arial Mac:Monaco => Win:Terminal Mac:"New York" => Win:"MS Serif" Mac:Symbol => Win:Symbol Map None Mac:Times => Win:"Times New Roman" 14=>12 18=>14 24=>18 30=>24 Mac:Palatino => Win:"Times New Roman" -- Here are some typical mappings for the standard Windows fonts: Win:Arial => Mac:Helvetica Win:"Courier" => Mac:Courier Win:"Courier New" => Mac:Courier Win:"MS Serif" => Mac:"New York" Win:"MS Sans Serif" => Mac:Geneva Win:Symbol => Mac:Symbol Map None Win:System => Mac:Chicago Win:Terminal => Mac:Monaco Win:"Times New Roman" => Mac:"Times" 12=>14 14=>18 18=>24 24=>30 -- Note: When mapping from Windows to Macintosh, Courier and Courier New -- map onto Courier. When coming back to Windows only Courier New -- will be used. ===================== From themacguy at macosx.com Sat Aug 16 18:37:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Sat Aug 16 18:37:00 2003 Subject: Printing problem...I'd hate to say a "bug" but.... - a workaround Message-ID: As so often happens, composing an eMail describing the problem in a systematic way gives birth to the resolution or, in this case at least, a workaround. My problem (which I still believe is a Rev bug and I will report it) is that Rev seems to be leaking the "print this card" command to the OS (XP Pro, at least) even though it is issued -after- I have used "open printing" but -before- I have used "close printing". As my script was taking pictures of the screen, the printer status window (which had popped up in front of my stack) was now being included in the picture and, of course, in the printout of that card. I'll workaround this problem by not even beginning the print job until all the pictures have been "shot" and placed; then I'll cycle through the cards to print them. Finally, I'll cycle through them once again to delete the screen shots that were added in the original "cycle". Now if/when the Printer Status window (of whatever printer) happens to popup, my app won't care. Barry From scott at tactilemedia.com Sat Aug 16 18:41:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Aug 16 18:41:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: On 8/16/03 2:45 PM, "Dar Scott" wrote: > I'm getting frustrated with fonts on multiple platforms. > > I tried using Ariel and Courier New thinking those would be most > portable. Just between OS X and Windows there are gross differences, > both in metrics and--it seems--in the characters. > > In some cases I can go to a fixed line height to force some metrics to > be the same, but that will not work in most cases. I would like to > avoid a lot of formatting calculations. Unless you ship your own fonts and have users install them, this seems unlikely. > I'd like to avoid tweaking a lot of profile parameters for platforms. You may have your work cut out for you. > Why are fonts with the same names so different? In some cases, the fonts were probably designed by different people (not sure about those you cited). But part of the problem is the display systems. Macs usually display at 72 ppi, while Windows often displays at 96 ppi. But these settings are not universal and with folks increasing the resolution of their systems, you can't rely on these figures 100%. > Are there fonts that have exactly the same metrics on different > platforms? There may be but this is doubtful due to the technical issue mentioned above. Windows also has the blessing/curse of "large fonts" where folks can set text to display larger system-wide, and allow for higher resolution display (more screen real estate with same size text). > Do other applications have such gross differences when the same font is > used? I would hazard a guess that if you placed the same app running on different platforms side by side, you'd see differences in the text appearance. It has always been this way. In cases where font appearance needs to be virtually identical, some companies have shipped their own fonts along with their apps but I doubt many folks do this any more (most users see having to install a font for one app as a chore). > If that shows a gross ignorance of font metrics and platforms, I would > like to learn more. Well, actually, I would like to learn more anyway, > but my immediate goal is to address fonts on multiple platforms. If it > requires a break to get educated, please point me to the right > resources. Probably the only way you'll get identical cross platform text appearance is to use images. Of course, you then lose the benefits that text data offers. It sounds like you're going about your projects the right way: use cross platform fonts, design your stacks to be accommodating (allow extra space for size variances), change sizes if necessary for each platform, and test on the target systems (no emulators). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Sat Aug 16 18:48:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 16 18:48:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: <3747ABC0-D043-11D7-B0F8-000A9567A3E6@swcp.com> On Saturday, August 16, 2003, at 05:33 PM, Scott Rossi wrote: > Unless you ship your own fonts and have users install them, this seems > unlikely. > > >> I'd like to avoid tweaking a lot of profile parameters for platforms. > > You may have your work cut out for you. Dar Scott From gizmotron at earthlink.net Sat Aug 16 18:55:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 16 18:55:01 2003 Subject: more font maps In-Reply-To: Message-ID: <9BFBA984-D044-11D7-B13A-000A95859272@earthlink.net> On Saturday, August 16, 2003, at 03:26 PM, Mark Brownell wrote: > -- Here are some typical mappings for the standard Macintosh fonts: > > > Mac:Chicago => Win:System > Mac:Courier => Win:"Courier New" > Mac:Geneva => Win:"MS Sans Serif" > Mac:Helvetica => Win:Arial > Mac:Monaco => Win:Terminal > Mac:"New York" => Win:"MS Serif" > Mac:Symbol => Win:Symbol Map None > Mac:Times => Win:"Times New Roman" 14=>12 18=>14 24=>18 30=>24 > Mac:Palatino => Win:"Times New Roman" > > -- Here are some typical mappings for the standard Windows fonts: > > Win:Arial => Mac:Helvetica > Win:"Courier" => Mac:Courier > Win:"Courier New" => Mac:Courier > Win:"MS Serif" => Mac:"New York" > Win:"MS Sans Serif" => Mac:Geneva > Win:Symbol => Mac:Symbol Map None > Win:System => Mac:Chicago > Win:Terminal => Mac:Monaco > Win:"Times New Roman" => Mac:"Times" 12=>14 14=>18 18=>24 24=>30 > > -- Note: When mapping from Windows to Macintosh, Courier and Courier > New -- map onto Courier. When coming back to Windows only Courier New > -- will be used. Mac:"Arial" => Win:"Arial" 12=>10 14=>12 18=>14 Mac:"Final Frontier" => Win:"Final Frontier" 36=>24 Mac:"Geneva" => Win:"System" 12=>10 Mac:"Monotype Corsiva" => Win:"Monotype Corsiva" 36=>24 56=>48 Mac:"Morpheus" => Win:"Morpheus" 24=>18 Mac:"Nosferatu" => Win:"Nosferatu" 12=>10 14=>12 18=>14 24=>18 36=>24 48=>36 Mac:"TFMaltbyAntique" => Win:"TFMaltbyAntique" 14=>12 Mac:"Times New Roman" => Win:"Times New Roman" 12=>10 14=>12 Win:"Arial" => Mac:"Arial" 10=>12 12=>14 Win:"Final Frontier" => Mac:"Final Frontier" 24=>36 Win:"Monotype Corsiva" => Mac:"Monotype Corsiva" 24=>36 48=>56 Win:"Morpheus" => Mac:"Morpheus" 18=>24 Win:"Nosferatu" => Mac:"Nosferatu" 12=>14 14=>18 18=>24 24=>36 36=>48 Win:"System" => Mac:"Geneva" 10=>12 Win:"TFMaltbyAntique" => Mac:"TFMaltbyAntique" 12=>14 Win:"Times New Roman" => Mac:"Times New Roman" 10=>12 12=>14 ========================================= ;These fonts are used but have no mapping. ;Win:"Abaddon" => Mac:"" 10=> ;Win:"SchampelBlack" => Mac:"" 10=> ;Win:"System" => Mac:"" 10=> ;Win:"Toontime" => Mac:"" 10=> 24=> ;These sizes are used but have no mapping. ;Win:"Arial" => Mac:"Arial" 10=> 24=> ;Win:"SchampelBlack" => Mac:"SchampelBlack" 10=> 24=> ;Win:"System" => Mac:"Chicago" 10=> From dsc at swcp.com Sat Aug 16 18:56:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 16 18:56:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: <57B7DA3E-D044-11D7-B0F8-000A9567A3E6@swcp.com> On Saturday, August 16, 2003, at 05:33 PM, Scott Rossi wrote: > Unless you ship your own fonts and have users install them, this seems > unlikely. But will this even do any good? I have Courier New and Ariel on both my OS X and Windows XP. They are not the same. Dar Scott From gizmotron at earthlink.net Sat Aug 16 19:14:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 16 19:14:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: <57B7DA3E-D044-11D7-B0F8-000A9567A3E6@swcp.com> Message-ID: <49F5E9D3-D047-11D7-B13A-000A95859272@earthlink.net> On Saturday, August 16, 2003, at 04:49 PM, Dar Scott wrote: > I have Courier New and Ariel on both my OS X and Windows XP. They are > not the same. Mac:"Arial" => Win:"Arial" 12=>10 14=>12 18=>14 Win:"Arial" => Mac:"Arial" 10=>12 12=>14 Boy would I like to be a lazy-bone regarding mapping cross-platform fonts. So has anyone done this yet? Is there a full or mostly complete comparison font map for Win, Mac classic, Mac X, and Linux in Rev? Hopefully, Mark From alrice at ARCplanning.com Sat Aug 16 19:25:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sat Aug 16 19:25:01 2003 Subject: Printing problem...I'd hate to say a "bug" but.... - a workaround In-Reply-To: Message-ID: <6CDFA794-D048-11D7-9C8D-000393529642@ARCplanning.com> On Saturday, August 16, 2003, at 05:31 PM, Barry Levine wrote: > > My problem (which I still believe is a Rev bug and I will report it) > is that Rev seems to be leaking the "print this card" command to the > OS (XP Pro, at least) even though it is issued -after- I have used > "open printing" but -before- I have used "close printing". It seems like this should be expected behavior, if you are taking pictures while sending pages to the printer. Doesn't seem like a bug. Maybe I'm misunderstanding. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Sat Aug 16 19:37:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 16 19:37:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: <49F5E9D3-D047-11D7-B13A-000A95859272@earthlink.net> Message-ID: <06A2B4C7-D04A-11D7-B0F8-000A9567A3E6@swcp.com> On Saturday, August 16, 2003, at 06:11 PM, Mark Brownell wrote: > On Saturday, August 16, 2003, at 04:49 PM, Dar Scott wrote: > >> I have Courier New and Ariel on both my OS X and Windows XP. They >> are not the same. > > Mac:"Arial" => Win:"Arial" 12=>10 14=>12 18=>14 > > Win:"Arial" => Mac:"Arial" 10=>12 12=>14 I'm slowly catching on, Mark. I can roughly get this right just by changing the size. This will be great for the default sizes in fields. The formatted characters won't get this, but that may be enough anyway. I don't want to have to do htmlText transforms, but I might need to consider it. Should I check on the availability of fonts? If a font is not available will I get something weird? Your table doesn't show a size change for Courier New, but I get a big change. Maybe when the stack is opened I can try a bunch of fonts and sizes until formatedHeight and formatted Width of test strings look right. Or, and this is what you said, Mark, I can run experiments that create the map I need. If it is automatic my stack might look OK on exotic platforms or maybe go bananas. Dar Scott From scott at tactilemedia.com Sat Aug 16 19:49:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Aug 16 19:49:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: <57B7DA3E-D044-11D7-B0F8-000A9567A3E6@swcp.com> Message-ID: On 8/16/03 4:49 PM, "Dar Scott" wrote: >> Unless you ship your own fonts and have users install them, this seems >> unlikely. > > But will this even do any good? > > I have Courier New and Ariel on both my OS X and Windows XP. They are > not the same. Actually, I said "your own fonts" meaning *you* create them, not fonts that already belong to Apple and Microsoft. There are font apps that allow you to create your own, as well as import and manipulate existing fonts. But I'd guess this is way too many hoops for you to jump through -- choosing fonts and sizing your text accordingly for each platform should be enough. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Sat Aug 16 20:12:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 16 20:12:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: On Saturday, August 16, 2003, at 06:42 PM, Scott Rossi wrote: > Actually, I said "your own fonts" meaning *you* create them, not fonts > that > already belong to Apple and Microsoft. There are font apps that allow > you > to create your own, This has a long-term appeal. (Or I can wait for the Revolution fonts. ;-) Dar Scott From gizmotron at earthlink.net Sat Aug 16 20:21:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 16 20:21:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: <06A2B4C7-D04A-11D7-B0F8-000A9567A3E6@swcp.com> Message-ID: On Saturday, August 16, 2003, at 05:30 PM, Dar Scott wrote: > Maybe when the stack is opened I can try a bunch of fonts and sizes > until formatedHeight and formatted Width of test strings look right. > > Or, and this is what you said, Mark, I can run experiments that create > the map I need. If it is automatic my stack might look OK on exotic > platforms or maybe go bananas. That's it! Get a comparison program to create the maps. I sometimes forget that computers are supposed to make life easier. I'll need to work on this. Once I have one that works I can even try to intercept htmlText issues. My experience is to use font maps of known fonts that map well. If there is no comparison that fits well then I guess I'll just let it go. I'm storing the html in the saved documents so when they are opened by the other than creator platform I will have to use the font map to rewrite the html text. Lots of fun. Mark From pixelbird at interisland.net Sat Aug 16 23:13:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Aug 16 23:13:00 2003 Subject: Payload Charts for Light Aircraft In-Reply-To: <200308162131.RAA25884@www.runrev.com> Message-ID: Hi Mark, > Date: Sat, 16 Aug 2003 12:01:20 -0700 > Subject: Re: Payload Charts for Light Aircraft > From: Mark Brownell > So are you going to make this app available for hot pilots? ---------- Sure. Even Sierra Hotel Banana drivers can use a hand once in awhile ;-) Ken N. From dsc at swcp.com Sat Aug 16 23:58:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 16 23:58:00 2003 Subject: Font size adjustment raw data Message-ID: <87383B56-D06E-11D7-B0F8-000A9567A3E6@swcp.com> On Saturday, August 16, 2003, at 07:18 PM, Mark Brownell wrote: > That's it! Get a comparison program to create the maps. Here is some raw data of the formattedHeight and formattedWidth of the word "Washington" in different fonts and sizes on two platforms. It looks like the mapping may be different depending on whether you want to match area or line spacing. Or even line length. OS X textSize textHeight Arial Helvetica Courier Courier New 8 10 10X40 9X40 9X50 10X50 9 12 12X48 12X48 12X50 12X50 10 13 13X55 13X54 13X60 13X60 11 14 14X57 13X57 13X70 14X70 12 16 16X65 14X65 14X70 16X70 13 17 17X68 16X68 16X80 17X80 14 18 18X75 17X75 17X80 18X80 15 20 20X77 18X77 18X90 20X90 16 21 21X85 20X85 20X100 21X100 17 22 22X88 21X88 21X100 22X100 18 24 24X95 22X95 22X110 24X110 19 25 25X103 24X103 24X110 25X110 20 26 26X105 25X105 25X120 26X120 Windows XP textSize textHeight Arial Helvetica Courier Courier New 8 10 9X39 ---- 13X80 8X50 9 12 10X40 ----- 13X80 8X50 10 13 10X49 ----- 13X80 10X50 11 14 12X55 ----- 13X80 10X60 12 16 14X66 ----- 13X80 14X70 13 17 14X66 ----- 13X80 14X70 14 18 16X69 ----- 16X90 14X80 15 20 17X78 ----- 16X90 16X80 16 21 18X87 ----- 16X90 17X100 17 22 18X87 ----- 20X120 18X100 18 24 21X95 ----- 20X120 20X110 19 25 24X102 ------ 20X120 21X130 20 26 24X111 ------ 20X120 22X130 Dar Scott From gizmotron at earthlink.net Sun Aug 17 00:14:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 17 00:14:01 2003 Subject: Font size adjustment raw data In-Reply-To: <87383B56-D06E-11D7-B0F8-000A9567A3E6@swcp.com> Message-ID: <38AAE6F6-D071-11D7-8B5D-000A95859272@earthlink.net> On Saturday, August 16, 2003, at 09:51 PM, Dar Scott wrote: > Here is some raw data of the formattedHeight and formattedWidth of the > word "Washington" in different fonts and sizes on two platforms. > > It looks like the mapping may be different depending on whether you > want to match area or line spacing. Or even line length. The cross platform approach to the shockwave solution was to get as close as possible to a similar look of the fonts, this included size. I could see using a font map that was specifically designed to accommodate text in buttons and GUI objects dependent on things fitting best. I guess it would be good to have one map prioritized for style and another map priority set for fit. From gizmotron at earthlink.net Sun Aug 17 00:23:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 17 00:23:00 2003 Subject: Payload Charts for Light Aircraft In-Reply-To: Message-ID: <64EC02FE-D072-11D7-8B5D-000A95859272@earthlink.net> On Saturday, August 16, 2003, at 06:12 PM, Ken Norris wrote: >> for hot pilots? > ---------- > Sure. Even Sierra Hotel Banana drivers can use a hand once in awhile > ;-) > > Ken N. ...not to mention those entertainer VIP flights. I meant hot day pilots. From terry at discovery.nl Sun Aug 17 00:43:01 2003 From: terry at discovery.nl (Terry Vogelaar) Date: Sun Aug 17 00:43:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: Dar Scott heeft op zaterdag, 16 aug 2003 om 23:45 het volgende geschreven: > I'm getting frustrated with fonts on multiple platforms. Why don't you try OpenType fonts? They install fine on both OSX and newer Windows versions. You will not use fonts 'like' the ones on the other platforms; but simply the same ones. Both Adobe and Microsoft have plenty of them that install fine on both platforms. And OpenType gives full Unicode possibilities. Read all info at http://www.adobe.com/type/opentype/main.html and fall in love, like I did. Terry From gizmotron at earthlink.net Sun Aug 17 00:58:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 17 00:58:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: <6564E654-D077-11D7-8B5D-000A95859272@earthlink.net> On Saturday, August 16, 2003, at 10:36 PM, Terry Vogelaar wrote: > Read all info at http://www.adobe.com/type/opentype/main.html and fall > in love, like I did. > > Terry I was just here several hours ago searching for font maps; Installation note: OpenType fonts purchased and downloaded from the Adobe web site are in the .zip format which can be unpacked with WinZip for Windows and StuffIt Expander? for Macintosh. I can't expect users to get this so that my software will look right in cross-platform file systems. Maybe I'm missing something here. Does this mean that these fonts become native to my distributed software? Mark From dsc at swcp.com Sun Aug 17 01:41:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 17 01:41:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: On Saturday, August 16, 2003, at 11:36 PM, Terry Vogelaar wrote: >> I'm getting frustrated with fonts on multiple platforms. > > Why don't you try OpenType fonts? They install fine on both OSX and > newer Windows versions. I recently read that OS X can use Windows TrueType fonts, too. However, since I'm seeing different behavior on Windows XP and OS X, something must be different. Either fonts of the same name are really different depending on the target platform or they are interpreted differently. Something seems hideous about this. Is there some good reason for this or was this planned from the start to torture me? However, something good might come of this. Maybe I can get fonts exactly like those on my Windows system, rename them slightly, and then put them on my OS X. Then I can see "Courier New" as those on OS X would see it and see "Courier New" as Windows users would see it. Maybe. Dar Scott From jimlyons at earthlink.net Sun Aug 17 05:45:01 2003 From: jimlyons at earthlink.net (Jim Lyons) Date: Sun Aug 17 05:45:01 2003 Subject: Help - my RunRev IDE has slowed to a crawl Message-ID: <3F3F5C10.BD41995E@earthlink.net> Graham wrote: > Today I was editing a set of stacks which I've been working on for a > very long time using both Mac and Windows environments. In this case > I was using a Mac running OS9.2.2 to power RR 2.0r2, and very soon > after opening my mainstack in the IDE, things slowed to a crawl to > the extent that it takes tens of seconds for RunRev to react to > clicks or even to give up control to another app. When this sort of thing happened to me using Mac OS9.1, it was because I didn't have enough memory on the system. It was totally unusable -- the virtual memory swapping would frequently get into long bouts with the disk drive without ever coming back. Maybe something has changed to increase the memory requirements of your stacks, or other big apps are loaded? Just a thought... Jim Lyons From eijkhout at cs.utk.edu Sun Aug 17 10:11:01 2003 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Sun Aug 17 10:11:01 2003 Subject: Best way to set up an idle timer In-Reply-To: <7882B6DC-CEB8-11D7-9C15-0003937A97B8@genesearch.com.au> References: <7882B6DC-CEB8-11D7-9C15-0003937A97B8@genesearch.com.au> Message-ID: > send "logoutMessage" to me in 300 seconds If the machine goes to sleep before the 300 seconds are over this doesn't wake it up, right? I once tried using this "send" trick for time critical stuff, but that doesn't work if the machine goes to sleep. What's more, I get the impression that after the machine wakes up, the sleep period is not counted in the specified interval. -- Victor Eijkhout , 329 Claxton, Comp Sci, UT, Knoxville TN 37996. tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ From mazzapaolo at libero.it Sun Aug 17 10:19:01 2003 From: mazzapaolo at libero.it (mazzapaolo) Date: Sun Aug 17 10:19:01 2003 Subject: Copy transparent images into the clipboard In-Reply-To: Message-ID: <6BA5A94E-D0C5-11D7-8E07-000393680A94@libero.it> When I copy an image with a transparent background using the selection tool and I paste it , the resulting image is opaque. Why? It is not possible copy images into the clipboard with a transparent background (I guess using mask data)? Best regards, Paolo Mazza From rcozens at pon.net Sun Aug 17 10:37:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Sun Aug 17 10:37:01 2003 Subject: MacOS X Stack Name Anomalies Message-ID: Hi All, Simple task turned mystery: I had a stack named "Contacts.rev", and I wanted the name to be "Contacts.itw"; so I opened the stack, changed the name to "Contacts.itw" and saved the stack as "Contacts.itw". Not only did Rev change the stack icon when saving (an issue for another day); but Rev says the file, "Contacts.itw", is actually "Contacts.itw.rev". If I ask the Finder to search for "itw.rev", it shows me "Contacts.itw". What gives? Does OS 10.2 support invisible file name extensions? How can I fix this? TIA, -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From jacque at hyperactivesw.com Sun Aug 17 11:27:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Aug 17 11:27:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: References: Message-ID: <3F3FAB6B.6050403@hyperactivesw.com> On 8/17/03 1:34 AM, Dar Scott wrote: > Something seems hideous about this. Is there some good reason for this > or was this planned from the start to torture me? It's tempting to say it was designed just to torment you, but actually this has been the bane of desktop publishing and software design since day one. Apple first came out with TrueType fonts, later followed by Microsoft's version of scalable font metrics. Microsoft did it diferently, of course, and sharing desktop publishing documents across platforms became a nightmare. To make matters worse, Windows also uses a *third* set of metrics for its printer fonts. That means that even if you get something to look right on screen, it will print entirely differently on a PC (Macs thankfully remain consistent, since the same metrics are used on screen and for printing.) Windows definitely does not have WYSIWYG printing support by any means, and I still haven't figured out how commercial Windows software is able to fake it. The problem has bitten me more than once, and is the reason that Rev provides the "formatForPrinting" property to help stack authors get some idea of how the printout will vary from the screen display. As others have suggested, the difficulty of assuring consistency of font display across platforms is rarely worth the trouble and isn't really reliable anyway. Most of us just get the best approximation we can, and let the text fall as it may. In general, if you lay out fields on Windows, there will be plenty of room for the same text on a Mac. If you lay out fields on a Mac, leave a lot of extra space for the Windows display. Sometimes you can adjust the field margins depending on the platform to give the extra pixels you need to create consistent word wrap, but don't count on it always being accurate. If a user doesn't have the fonts your stack expects, there's no telling how it will look and very little you can do about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at clearvisiontech.com Sun Aug 17 12:00:01 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun Aug 17 12:00:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: <200308162131.RAA25919@www.runrev.com> Message-ID: I had the same problems! I got so tired of "messing" with it that I finally hired an outside source to create matching Mac and Windows fonts (serif, and san-serif). They look and behave EXACTLY the same on both platforms. It wasn't cheep, but my cross-platform font problems have gone away! -Dan From rcozens at pon.net Sun Aug 17 12:05:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Sun Aug 17 12:05:01 2003 Subject: MacOS X Stack Name Anomalies In-Reply-To: References: Message-ID: >Does OS 10.2 support invisible file name extensions? How can I fix this? I see the answer to the first question is "Yes" I also see that transferring the file to an O 9 box, removing the now visible ".rev", and transferring the file back to the OS 10 box does NOT remove the extension. -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From dsc at swcp.com Sun Aug 17 12:21:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 17 12:21:00 2003 Subject: Best way to set up an idle timer In-Reply-To: Message-ID: <3D869B09-D0D6-11D7-A9FE-000A9567A3E6@swcp.com> On Sunday, August 17, 2003, at 09:02 AM, Victor Eijkhout wrote: > I once tried using this "send" trick for time critical stuff, but that > doesn't work if the machine goes to sleep. I wonder what is a good way to make sure there is a wake up. Or if there is one. Or how to prevent sleep. > What's more, I get the impression that after the machine wakes up, the > sleep period is not counted in the specified interval. Since send is based (down inside) on date/time, I suspect this is not the case, but I have not run the tests. I have been wonder what are the timing needs near sleep. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Sun Aug 17 12:34:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 17 12:34:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: <3F3FAB6B.6050403@hyperactivesw.com> Message-ID: <0CEE6455-D0D8-11D7-A9FE-000A9567A3E6@swcp.com> On Sunday, August 17, 2003, at 10:20 AM, J. Landman Gay wrote: >> Something seems hideous about this. Is there some good reason for >> this or was this planned from the start to torture me? > > It's tempting to say it was designed just to torment you, but actually > this has been the bane of desktop publishing and software design since > day one. Yes. The above is code for "I made the silly assumption that fonts with the same name might be similar". More similar than they are. I think 25% size variations are a lot. > In general, if you lay out fields on Windows, there will be plenty of > room for the same text on a Mac. If you lay out fields on a Mac, leave > a lot of extra space for the Windows display. Sometimes you can adjust > the field margins depending on the platform to give the extra pixels > you need to create consistent word wrap, but don't count on it always > being accurate. It is strange that some Windows fonts are taller, yet have a smaller width and line spacing. That means I need to adjust one direction in some cases and another in others. I had gotten into the habit of making my labels fit to text, something I realize is not what I want; I need to leave a little room for variations. > If a user doesn't have the fonts your stack expects, there's no > telling how it will look and very little you can do about it. I'm thinking of adding a simple alternate-font script in openBackground and others. In one case, I'm going to go to a fixed text height, but that will hurt my smaller-font displays. I expect I will bump the size by two on Windows in some applications and some controls. I need to learn about profiles. Dar Scott From dsc at swcp.com Sun Aug 17 12:40:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 17 12:40:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: On Sunday, August 17, 2003, at 11:03 AM, Dan Friedman wrote: > I had the same problems! I got so tired of "messing" with it that I > finally > hired an outside source to create matching Mac and Windows fonts > (serif, and > san-serif). They look and behave EXACTLY the same on both platforms. > It > wasn't cheep, but my cross-platform font problems have gone away! This confirmation is good to hear. Are these exactly the same design for each platform or do these have to be tweaked? I don't mean file format, I mean variations in metrics to account for engine or other idiosyncrasies. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From bvlahos at mac.com Sun Aug 17 14:13:01 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Sun Aug 17 14:13:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: Dan, Does this mean that you own the fonts? Are they for sale to include in other programs? Assuming they are, can the same font be attached to the application/stack and work on both Mac and Windows without the user having to install the font? Bill Vlahos On Sunday, August 17, 2003, at 10:03 AM, Dan Friedman wrote: > I had the same problems! I got so tired of "messing" with it that I > finally > hired an outside source to create matching Mac and Windows fonts > (serif, and > san-serif). They look and behave EXACTLY the same on both platforms. > It > wasn't cheep, but my cross-platform font problems have gone away! > > -Dan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Sun Aug 17 14:25:00 2003 From: sims at ezpzapps.com (sims) Date: Sun Aug 17 14:25:00 2003 Subject: iTunes & song names In-Reply-To: References: Message-ID: I am trying to get the names of all the songs that are in iTunes, using applescript seems a bit slow so I am trying a Rev solution. If you feel like letting me know if the following works for you, make a btn and place the following script into it, also make a fld named "muse". Feel free to email off-list so we don't clutter the list. This is for OS X ONLY! **Please let me know what version iTunes you have!** TIA sims on mouseUp set the cursor to watch put the defaultFolder into tDefaultFolder put tUser into tXMLLocation put specialFolderPath(Desktop) into tUser set the itemDel to "/" delete last item of tUser put "file:"&tUser into tXMLLocation put tXMLLocation&"/Music/iTunes/iTunes Music Library.xml" into tPlace put url tPlace into theContainer put lineOffSet("NameLibrary",theContainer) into tEnd put line 1 to tEnd-1 of theContainer into theContainer repeat for each line thisLine in theContainer if "Name" is in thisLine then put thisLine &cr after tData end repeat replace "Name" with "" in tData replace tab with "" in tData replace "" with "" in tData put "The number of songs you have is:" & the num of lines in tData put tData into fld "muse" set the defaultFolder to tDefaultFolder end mouseUp -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From thierry.arbellot at wanadoo.fr Sun Aug 17 15:28:00 2003 From: thierry.arbellot at wanadoo.fr (Toki) Date: Sun Aug 17 15:28:00 2003 Subject: MacOS X Stack Name Anomalies In-Reply-To: Message-ID: <63A81D45-D0F0-11D7-B22C-000A27E40768@wanadoo.fr> In Revolution, in the Preferences menu, Files & Memory tab, you can ask to add .rev extension to file on MacOs. Hope it helps. Thierry Arbellot. On Sunday, August 17, 2003, at 06:59 PM, Rob Cozens wrote: >> Does OS 10.2 support invisible file name extensions? How can I fix >> this? > > I see the answer to the first question is "Yes" > > I also see that transferring the file to an O 9 box, removing the now > visible ".rev", and transferring the file back to the OS 10 box does > NOT remove the extension. > -- > Rob Cozens, CCW > Serendipity Software Company > http://www.oenolog.net/who.htm > > "And I, which was two fooles do so grow three. > Who are a little wise, the best fooles bee." > > From "The Triple Foole" > by John Donne 1573-1631 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From yvescoppe at skynet.be Sun Aug 17 15:39:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun Aug 17 15:39:01 2003 Subject: iTunes & song names In-Reply-To: Message-ID: Le dimanche, 17 ao? 2003, ? 21:18 Europe/Brussels, sims a ?crit : > I am trying to get the names of all the songs that are in iTunes, > using applescript seems a bit slow so I am trying a Rev solution. > > If you feel like letting me know if the following works for you, make > a btn > and place the following script into it, also make a fld named "muse". > > Feel free to email off-list so we don't clutter the list. > > This is for OS X ONLY! > > Mac OS X 10.2.6 FR rev 2.0.2 iTunes 4.0.1 FR It works. Greetings. Yves COPPE yvescoppe at skynet.be From livfoss at blueyonder.co.uk Sun Aug 17 15:49:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sun Aug 17 15:49:00 2003 Subject: Help - my RunRev IDE has slowed to a crawl Message-ID: Thanks to those who replied. I followed Jim Lyons' suggestion of increasing the memory available to RR under MacOS 9, but it didn't seem to make a difference. I then noticed that I had saved my stacks while in Script Debug Mode, so that the IDE had the mode switched on when RR was started. I loaded RR and immediately switched this off. After that, everything went back to normal. I have not changed my memory allocation back to its previous rather small value, but it looks like the problem was Script Debug Mode, plus possibly a memory problem also. I don't recall this coming up on the list before, so I'm still slightly confused by what happened, but anyway I'm working again. Maybe this experience will help someone else - hope so. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From FlexibleLearning at aol.com Sun Aug 17 16:38:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun Aug 17 16:38:00 2003 Subject: Portable fonts and usage recommendations needed Message-ID: > I had the same problems! I got so tired of "messing" with it that I finally > hired an outside source to create matching Mac and Windows fonts (serif, and > san-serif). They look and behave EXACTLY the same on both platforms. It > wasn't cheep, but my cross-platform font problems have gone away! Ouch! Are you going to make these available to licence from you? By extension: One option is to "start using" and "stop using" a font you supply by using Tuviah Snyder's most excellent external EXT (or TSX if you go back that far). It may not solve the "exact match" display problem, but at least you can guarantee the font will be available. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From eijkhout at cs.utk.edu Sun Aug 17 17:12:00 2003 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Sun Aug 17 17:12:00 2003 Subject: Best way to set up an idle timer In-Reply-To: <3D869B09-D0D6-11D7-A9FE-000A9567A3E6@swcp.com> References: <3D869B09-D0D6-11D7-A9FE-000A9567A3E6@swcp.com> Message-ID: > >>I once tried using this "send" trick for time critical stuff, but >>that doesn't work if the machine goes to sleep. > >I wonder what is a good way to make sure there is a wake up. Or if >there is one. There must be, though system dependent. I've seen an mp3 alarm clock which could wake up my Mac to wake me up. And it was coded in Real Basic. Oooooo.... them's fightin' words :-) -- Victor Eijkhout , 329 Claxton, Comp Sci, UT, Knoxville TN 37996. tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ From lbrehmer at rof.net Sun Aug 17 17:27:01 2003 From: lbrehmer at rof.net (lbrehmer at rof.net) Date: Sun Aug 17 17:27:01 2003 Subject: (no subject) Message-ID: <191690-220038017221952502@M2W063.mail2web.com> I am trying to make a popup button but I can't seem to get the scripts for the individual menu items in place. I assumed that once the button is made and the items are listed, I would be able to access the items individually with the message box: select menuItem X of button "Y" and then open the script editor, but I don't get the script editors for the menu items, just a single one for the whole button. How can I select an individual menu item and open its scrip editor? Lars -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From sarahr at genesearch.com.au Sun Aug 17 18:55:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 17 18:55:00 2003 Subject: Best way to set up an idle timer - not like this In-Reply-To: <476C22B0-CF5E-11D7-87F1-0030654E23A2@byu.edu> Message-ID: <4F04B008-D10D-11D7-8B58-0003937A97B8@genesearch.com.au> > Wait! What seemed to be working at first is not. It seems okay until > you start examining the pendingMessages. For some reason the sent > messages start queuing up rapidly as soon as you start mousing around > in the stack. Obviously the cancel command in the resetLogout handler > is not getting all of the pending messages. But I can't figure out > where all of these pendingMessages are coming from. >> on resetLogout >> cancel item 1 of last line of the pendingMessages >> send "logoutQuery" to stack "chinpr" in 5 * 60 seconds >> end resetLogout >> Other people have suggested storing the result of the "send" and using that as a cancel parameter, but I prefer to be more heavy-handed than that, as I find that this still leaves the possibility of spawning multiple messages: Put the following handler in your stack script and in resetLogout, replace the first line with: cancelMessageName logoutQuery on cancelMessageName handlerName put the pendingMessages into pMess repeat for each line p in pMess if item 3 of p contains handlerName then cancel item 1 of p end repeat end cancelMessageName Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From sarahr at genesearch.com.au Sun Aug 17 19:00:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 17 19:00:00 2003 Subject: easy way to do itemoffset and lineoffset simultaneous In-Reply-To: Message-ID: > If there just where a command like : lineoffset(item 1 to 2 of the > line to find,container to search) As far as I can see, this should work. Did you try doing exactly what you have suggested? Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From sarahr at genesearch.com.au Sun Aug 17 19:03:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 17 19:03:01 2003 Subject: scripting menu items (was no subject) In-Reply-To: <191690-220038017221952502@M2W063.mail2web.com> Message-ID: <41524AC3-D10E-11D7-8B58-0003937A97B8@genesearch.com.au> > I am trying to make a popup button but I can't seem to get the scripts > for > the individual > menu items in place. I assumed that once the button is made and the > items > are listed, > I would be able to access the items individually with the message box: > > select menuItem X of button "Y" > > and then open the script editor, but I don't get the script editors > for the > menu items, just > a single one for the whole button. How can I select an individual menu > item and open > its scrip editor? > You don't script individual menu items, you script for the entire menu/popup buttons using a menuPick handler followed by a switch or an if..then construction. e.g. on menuPick pChoice switch pChoice case "Item 1" -- do item 1 stuff break case "Item 2" -- do item 2 stuff break end switch end menuPick The parameter sent to menuPick is the item picked. If it is a sub-menu item, you get the two portions separated by | Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From livfoss at blueyonder.co.uk Sun Aug 17 19:05:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sun Aug 17 19:05:01 2003 Subject: How can I make my mainstack stay invisible? Message-ID: I've got a mainstack that the user is never supposed to see, and which should not be at the front. It's just an anchor for all my substacks. I find that if I make it invisible in the Stack Inspector, the 'Save' option in the IDE is dimmed. If I use the Application Browser to make the mainstack reappear, its visible property reverts to true, and so when I save the whole file I save the mainstack in the 'wrong' state. I also find that the mainstack shows up at the front, even though I have scripted a 'go' to my flash screen stack quite early on. This stack was previously opened invisibly, therefore according to my reading of the TD, the 'go' should bring it to the front. Does this work reliably? I've tried using a PreOpenStack handler to hide the mainstack, but so far this hasn't worked either (I may of course have made some kind of scripting error). Maybe I should be setting the location of the stack offscreen at somewhere like -10000,-10000 - but that still leaves the problem of making sure that my flash screen gets the focus. Am I just making a lot of coding mistakes, or is there a real problem here? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From monte at sweattechnologies.com Sun Aug 17 20:38:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Aug 17 20:38:00 2003 Subject: Determining if a player is showing an image or movie. Message-ID: Hi All I'm wondering if there is a way to work out if a player is currently shoing an image or movie file???? Regards Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From kray at sonsothunder.com Sun Aug 17 21:28:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Aug 17 21:28:00 2003 Subject: How can I make my mainstack stay invisible? In-Reply-To: Message-ID: <002b01c3652f$53dd82c0$6801a8c0@LightningFlash> Graham, This may be where the IDE "thinks ahead", sometimes wrongly. If you open the message box and type: hide this stack;save this stack and hit Return, it will save in an invisible state; the next time you try to open it, it will open invisibly. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Graham Samuel > Sent: Sunday, August 17, 2003 6:58 PM > To: Revolution user discussion > Subject: How can I make my mainstack stay invisible? > > > I've got a mainstack that the user is never supposed to see, and > which should not be at the front. It's just an anchor for all my > substacks. I find that if I make it invisible in the Stack Inspector, > the 'Save' option in the IDE is dimmed. If I use the Application > Browser to make the mainstack reappear, its visible property reverts > to true, and so when I save the whole file I save the mainstack in > the 'wrong' state. I also find that the mainstack shows up at the > front, even though I have scripted a 'go' to my flash screen stack > quite early on. This stack was previously opened invisibly, therefore > according to my reading of the TD, the 'go' should bring it to the > front. Does this work reliably? > > I've tried using a PreOpenStack handler to hide the mainstack, but so > far this hasn't worked either (I may of course have made some kind of > scripting error). Maybe I should be setting the location of the stack > offscreen at somewhere like -10000,-10000 - but that still leaves the > problem of making sure that my flash screen gets the focus. > > Am I just making a lot of coding mistakes, or is there a real > problem here? > > TIA > > Graham > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Sun Aug 17 21:31:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Aug 17 21:31:01 2003 Subject: Determining if a player is showing an image or movie. In-Reply-To: Message-ID: <002c01c3652f$be152170$6801a8c0@LightningFlash> Well, You could look at the fileName of the player and check the extension (assuming it has one - I try to always put one in). The other way is to check the duration of the player. It seems that images always have a duration of 40 (or so it looks like from my limited vantage point). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Monte Goulding > Sent: Sunday, August 17, 2003 8:31 PM > To: Rev List > Subject: Determining if a player is showing an image or movie. > > > > Hi All > > I'm wondering if there is a way to work out if a player is > currently shoing an image or movie file???? > > Regards > > Monte Goulding > B.App.Sc. (Hons.) > > Executive Director > Sweat Technologies > > email: monte at sweattechnologies.com > website: www.sweattechnologies.com > mobile (International): +61 421 138 274 > (Australia): 0421 138 274 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From monte at sweattechnologies.com Sun Aug 17 22:00:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Aug 17 22:00:00 2003 Subject: Determining if a player is showing an image or movie. In-Reply-To: <002c01c3652f$be152170$6801a8c0@LightningFlash> Message-ID: > > Well, > > You could look at the fileName of the player and check the extension > (assuming it has one - I try to always put one in). The other way is to > check the duration of the player. It seems that images always have a > duration of 40 (or so it looks like from my limited vantage point). > Thanks Ken I have an image in a player here with a duration of 120 so I guess that's out. It would be good if there was a read only property of a player called fileType or something. I'm sure the info could be obtained via the QuickTime API. Cheers Monte From monte at sweattechnologies.com Sun Aug 17 22:01:46 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Aug 17 22:01:46 2003 Subject: How can I make my mainstack stay invisible? In-Reply-To: <002b01c3652f$53dd82c0$6801a8c0@LightningFlash> Message-ID: > > > > I've got a mainstack that the user is never supposed to see, and > > which should not be at the front. It's just an anchor for all my > > substacks. What do you mean by anchor? Why do you need to open the stack at all if it's always invisible to the user? Regards Monte From cszasz at newwave.net Sun Aug 17 22:47:00 2003 From: cszasz at newwave.net (Charles Szasz) Date: Sun Aug 17 22:47:00 2003 Subject: Revolution and fonts Message-ID: I am new to Revolution. I have tried REALbasic but it has been difficult to learn. After seeing the thread regarding using fonts for Mac and Windows, can you just code system font in your code or font so each platform uses the system font for that platform? In REALbasic you can specify system font in your project. Charles From kray at sonsothunder.com Sun Aug 17 22:50:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Aug 17 22:50:00 2003 Subject: How can I make my mainstack stay invisible? In-Reply-To: Message-ID: <003601c3653a$ce990830$6801a8c0@LightningFlash> I think what Graham was saying is that he has an invisible mainstack that contains a bunch of substacks that he wants to open and display. But he doesn't want to show the mainstack itself; only its substacks. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Monte Goulding > Sent: Sunday, August 17, 2003 9:54 PM > To: use-revolution at lists.runrev.com > Subject: RE: How can I make my mainstack stay invisible? > > > > > > > > I've got a mainstack that the user is never supposed to see, and > > > which should not be at the front. It's just an anchor for all my > > > substacks. > > What do you mean by anchor? Why do you need to open the stack > at all if it's always invisible to the user? > > Regards > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From ambassador at fourthworld.com Sun Aug 17 23:15:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 17 23:15:00 2003 Subject: Revolution and fonts In-Reply-To: Message-ID: Charles Szasz wrote: > I am new to Revolution. I have tried REALbasic but it has been > difficult to learn. After seeing the thread regarding using fonts for > Mac and Windows, can you just code system font in your code or font so > each platform uses the system font for that platform? In REALbasic you > can specify system font in your project. You can do this in Revolution as well: just don't set a font for anu objects other than your mainstack and all other objects will inherit it. While the lively discussion here is valuable, these issues only affect a relatively small subset of apps as most simply follow the HIG for each platform. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From themacguy at macosx.com Sun Aug 17 23:34:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Aug 17 23:34:00 2003 Subject: Fouled up my menubar Message-ID: <6DC60176-D134-11D7-B029-000A95763ABC@macosx.com> I have a stack I'm developing in Windows. It has a menubar ("menubar 1"). when I run it in the Rev IDE, everything works fine. However, when I build a distribution, the menubar is gone. It's not the main stack so I'm able to open it back up in Rev; the group "menubar 1 " is not there! What did I manage to do to cause the menubar group to vanish when I included the stack in my distribution build? I'm confounded. TIA, Barry From dan at shafermedia.com Sun Aug 17 23:58:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sun Aug 17 23:58:01 2003 Subject: XML-RPC Support? Message-ID: I thought I had read or heard somewhere that Revolution supports XML-RPC. But searching docs turns up no clues. Anyone got a pointer? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From themacguy at macosx.com Mon Aug 18 00:12:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 18 00:12:00 2003 Subject: Fouled up my menubar - found the problem but it's weird Message-ID: <9D331BEA-D139-11D7-B029-000A95763ABC@macosx.com> Turned out the menubar group was "there" but it had no font nor size set for it. I was able to open the distribution stack (it was not the main stack) under the Rev IDE and found that, until I set a textFont and textSize for it, the words did not appear! I was under the impression that I did not have to specifically assign fonts/sizes to the various elements that had those properties (like fields, buttons, etc.). The docs say that setting the textFont property of the stack sets that particular font for everything else in that stack that is not already specifically configured otherwise. Am I misunderstanding this? I've also seen (in Windows, anyway) that setting the stack's textFont to Arial and textSize to 12, but leaving the menubar group's textFont/textSize properties blank, results in the menubar only being a textSize of 10 (might be 9) in the distribution stack. I've also seen this kind of inconsistent behavior in other elements (fields, buttons) in both Mac and Windows; fonts and sizes - even under the same platform - being set by forces unknown. So I'm thinking that there's got to be something I'm doing wrong because Rev just couldn't be so capricious and inconsistent in font handling. Someone care to whip a little knowledge about this topic in my direction? Let's assume that my Windows fonts should all be Arial 12 as a starting point. Thanks, Barry From janschenkel at yahoo.com Mon Aug 18 00:55:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 18 00:55:01 2003 Subject: XML-RPC Support? In-Reply-To: Message-ID: <20030818054839.81172.qmail@web11906.mail.yahoo.com> --- Dan Shafer wrote: > I thought I had read or heard somewhere that > Revolution supports > XML-RPC. But searching docs turns up no clues. > > Anyone got a pointer? > Hi Dan, Revolution supports SOAP, which one might say supersedes XML-RPC. Have a look at \Sample stacks\SOAP_Toolbox.rev Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From ludovic.thebault at laposte.net Mon Aug 18 01:10:00 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Mon Aug 18 01:10:00 2003 Subject: Metal and drag Message-ID: <20030818080303885491.GyazMail.ludovic.thebault@laposte.net> Hello, With Rev 2.1 we can metalize MacOS X stacks, but to respect the guidlines, it is "necessary" to be able to move the window by its metal background and not only by the title bar. How do this ? A 'grab me' in the card or stack script doesn't work. With this script it doen't work very well (the move is very flashy) : on mouseDown put true into lMouseDown end mouseDown on mouseMove x,y if lMouseDown then set the loc of this stack to x,y end mouseMove Thanks. From alw918 at earthlink.net Mon Aug 18 01:37:00 2003 From: alw918 at earthlink.net (Andrew) Date: Mon Aug 18 01:37:00 2003 Subject: image paste Message-ID: Thanks for all those that responded to my questions about images and animation. Your suggestions were very helpful. Meanwhile, I'm having a basic little problem. When I paste an image on a card (again, its rect appears as big as the whole card, no matter the size of the image), and then I paste a second image on the same card, the second image seems to become part of the first one. What can I do to make the two images separate objects? Thanks! :) Andrew From alw918 at earthlink.net Mon Aug 18 01:41:00 2003 From: alw918 at earthlink.net (Andrew) Date: Mon Aug 18 01:41:00 2003 Subject: image paste Message-ID: Thanks for all those that responded to my questions about images and animation. Your suggestions were very helpful. Meanwhile, I'm having a basic little problem. When I paste an image on a card (again, its rect appears as big as the whole card, no matter the size of the image), and then I paste a second image on the same card, the second image seems to become part of the first one. What can I do to make the two images separate objects? Thanks! :) Andrew From plsntbreez at mac.com Mon Aug 18 03:46:00 2003 From: plsntbreez at mac.com (Brian K. Maher) Date: Mon Aug 18 03:46:00 2003 Subject: How to properly format text in sheet on OS X? Message-ID: <1157868F-CFEC-11D7-BD42-000393020FF0@mac.com> Hi Folks, I am trying to properly format the text in an 'answer ... as sheet' command. I need to message text to conform to OS X's UI guidelines which state that the 'message text' should use the emphasized bold system font and the 'informative text' should use the small system font. Below is my command so far but the fonts don't seem to be working: answer warning "message text

informative text" with "Continue" as sheet Can anyone help me get this working properly? Thanks, Brian From myoung at bigskyneuro.com Mon Aug 18 03:47:59 2003 From: myoung at bigskyneuro.com (Michael Young) Date: Mon Aug 18 03:47:59 2003 Subject: Database tool Message-ID: Hello experts, I need some advice before I head down a path that may end in a dead end since I am still an RR neophyte getting to know this tool. I know the old saying about choosing the right tool for the job, however while I have engineering degrees and programming experience in LabVIEW, C, Pascal on IBM mainframe, PEP assembler and etc. I am currently a hobbyist who does not have the time to learn and use multiple tools so I subscribe to the theory of learning one hammer really well and turning everything into a nail. :-) (For example, I previously used LabVIEW to create simple HTML files by pulling files from various local hard drive directories that for those of you who know LIVE probably seems silly, but it worked well. I viewed myself as inventive not crazy. :-) ) So, is RR a reasonable database tool substitute for an application like Filemaker Pro on Macintosh OS X to create simple databases (single user with hundreds of new records per month and sometimes simple file i/o for pdf storage and display retrieval)? If so, where can I find the "best practice" examples on how to develop such databases (I have already worked through the tutorial database)? If not, what database management system is suggested? (I do not want to start a flame war, but I simply do not like FMP.) Thanks in advance for your input, Michael From livfoss at blueyonder.co.uk Mon Aug 18 04:19:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Aug 18 04:19:01 2003 Subject: How do I export an image (bitmap) to the clipboard? Message-ID: I notice that when I copy an image using the Edit/Copy menu in the IDE, it does 'Copy Objects', but external graphic editors can't see the contents of the clip. How can I export the bitmap part of an image object, apart from taking a snapshot of the screen and editing that? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Mon Aug 18 04:21:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Aug 18 04:21:00 2003 Subject: How can I make my mainstack stay invisible? Message-ID: Thanks to Ken for his solution - looks good. On Mon, 18 Aug 2003 12:23:51 +0930, "Monte Goulding" wrote: > > > > >> > I've got a mainstack that the user is never supposed to see, and >> > which should not be at the front. It's just an anchor for all my >> > substacks. > >What do you mean by anchor? Why do you need to open the stack at all if it's >always invisible to the user? > It's the stack with all the startup logic and it's the root of all the common handlers for the rest of the app, plus it contains private debugging info (I have a kind of tracer/timer routine that shows the progress of certain events in a field I can look at during development). Since it's the mainstack, it opens automatically when the app starts. I may have designed my app in a stupid way from the RunRev point of view, but I got some of these ideas from SuperCard and they've stuck... BTW, I suggested in my previous post that to solve my problem I could position the stack off screen. Turns out that the IDE doesn't give you this choice for a mainstack - the size data is there in the Stack Inspector, but the position data is not shown. Maybe the thing has to appear at the screenLoc. This is not documented AFAIK. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From miscdas at boxfrog.com Mon Aug 18 04:59:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Mon Aug 18 04:59:01 2003 Subject: Determining if a player is showing an image or movie. In-Reply-To: References: Message-ID: <20030818095306.27050.qmail@www.boxfrog.com> Monte Goulding writes: > > Hi All > > I'm wondering if there is a way to work out if a player is currently shoing > an image or movie file???? > > Regards > > Monte Goulding > B.App.Sc. (Hons.) ========= It isn't exactly clear what you want. Assuming you actually want to know if the movie is playing, use the movie() function Returns a list of the curently playing videoClip objects, or "none" if no movies are playing. miscdas From richmond at mail.maclaunch.com Mon Aug 18 05:01:02 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon Aug 18 05:01:02 2003 Subject: Richmond's big surprise.... Message-ID: So I come back from my holiday (yes, it was lovely, thanks) and find the following....... RR 2.1 has no FREE 10-LINES of CODE possibility.... I AM MAJORLY F***ED OFF...... I am a graduate student (Abertay, IT) supporting wife and 2 kids on an SAAS grant..... I have contributed extensively to the RR developer site..... Authored one of the first full CD-ROMs using RR !.!.1 (not had any money from that) now used in high-schools throughout Scotland..... I have no money (NO MONEY)........I cannot contribute to RR if there is no 10-code edition I cannot even start developing with 2.1 with a view to buying a license if I get a decent job after my MSc course Why not just SHIT all over us poor bastards????/ Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From klaus at major-k.de Mon Aug 18 05:46:01 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Aug 18 05:46:01 2003 Subject: Richmond's big surprise.... In-Reply-To: Message-ID: <5AC3C4B0-D168-11D7-AE5B-000A27B49A96@major-k.de> Hi Richmond, welcome back... > So I come back from my holiday (yes, it was lovely, thanks) > and find the following....... > > RR 2.1 has no FREE 10-LINES of CODE possibility.... > > I AM MAJORLY F***ED OFF...... > ... > Why not just SHIT all over us poor bastards????/ > > Richmond Mathewson Hmm, you hit the nail on the head in your matchless way... ;-) RR has a new price scheme, and it looks like the StarterKit has no place in it... You also missed some heavy threads on this topic. (Looks like not many people like this...) Fact is, they won't change it anymore (will they?)... Sorry that we don't have better news for you... :-( Regards Klaus Major klaus at major-k.de www.major-k.de From heather at runrev.com Mon Aug 18 06:29:00 2003 From: heather at runrev.com (Heather Williams) Date: Mon Aug 18 06:29:00 2003 Subject: APPLE EXPO in PARIS In-Reply-To: <200308161601.MAA18299@www.runrev.com> Message-ID: > Date: Sat, 16 Aug 2003 15:51:28 +0200 > Subject: APPLE EXPO in PARIS > From: Yves COPPE > To: Use Rev > Reply-To: use-revolution at lists.runrev.com > > Hi Heather, > > > I write this quesiton to the list because it can show interests for > much Revolution users : > > Will you be present at the Apple Expo in Paris as previous year ?? If you mean me, personally, no I won't be attending this year. Whether Runtime will be there or not I think has not yet been decided. We'll certainly let the list know if we're going to attend, Regards, Heather > > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From yvescoppe at skynet.be Mon Aug 18 06:45:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon Aug 18 06:45:00 2003 Subject: APPLE EXPO in PARIS In-Reply-To: Message-ID: Hi Heather If you mean me, personally, no I won't be attending this year alas to bad... . Whether > Runtime will be there or not I think has not yet been decided. We'll > certainly let the list know if we're going to attend, > let us hope...cross my fingers... > Regards, > > Heather > Greetings. Yves COPPE yvescoppe at skynet.be From shaosean at unitz.ca Mon Aug 18 06:55:00 2003 From: shaosean at unitz.ca (Shao Sean) Date: Mon Aug 18 06:55:00 2003 Subject: Richmond's big surprise.... Message-ID: <200308181148.HAA14840@bright.unitz.ca> i got my start writing my SMTP library in the start-kit as well.. if it wasn't for a few nice people on this list who were kind enough to do the compiles, it would have probably stayed in that spaghetti-code form.. the 10-line limit is nice to play around in, and as such, i stick with 1.1 and 2.0.. the new updates in 2.1 don't really do too much for me (i develop on windows and making libraries, i don't really care about the new interface updates/changes).. here's to the new revolution ;-) -Sean From FlexibleLearning at aol.com Mon Aug 18 07:27:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon Aug 18 07:27:00 2003 Subject: Database tool Message-ID: <1d6.f4bc848.2c721e60@aol.com> > is RR a reasonable database tool substitute for an application like Filemaker Pro on > Macintosh OS X to create simple databases Absolutely yes, Michael. Main disclaimer is multi-user simultaneous access or very large numbers of records, at which point the 'hard-end features' of RR are needed (SQL, Oracle, Valentina etc). And one day I, too, shall venture into these murky waters. Until then I prefer to keep sane (-ish) ;) /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From wmb at internettrainer.com Mon Aug 18 07:54:02 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Aug 18 07:54:02 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: On Sunday, Aug 17, 2003, at 21:06 Europe/Vienna, Bill Vlahos wrote: > Dan, > > Does this mean that you own the fonts? Are they for sale to include in > other programs? > > Assuming they are, can the same font be attached to the > application/stack and work on both Mac and Windows without the user > having to install the font? > > Bill Vlahos > Thats exactly THE question! Very interesting... pls Dan, answer to that..;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rcozens at pon.net Mon Aug 18 08:29:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Aug 18 08:29:00 2003 Subject: MacOS X Stack Name Anomalies In-Reply-To: <63A81D45-D0F0-11D7-B22C-000A27E40768@wanadoo.fr> References: <63A81D45-D0F0-11D7-B22C-000A27E40768@wanadoo.fr> Message-ID: >In Revolution, in the Preferences menu, Files & Memory tab, you can >ask to add .rev extension to file on MacOs. Thanks, Thierry... I'll check it out. -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From rcozens at pon.net Mon Aug 18 08:29:25 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Aug 18 08:29:25 2003 Subject: Database tool In-Reply-To: References: Message-ID: >is RR a reasonable database >tool substitute for an application like Filemaker Pro on Macintosh OS X to >create simple databases Hi Michael, If you don't need "Q", then SDB will do: A client/server version is on the way. -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From bvlahos at mac.com Mon Aug 18 09:37:00 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Mon Aug 18 09:37:00 2003 Subject: Richmond's big surprise.... In-Reply-To: Message-ID: <8001B44D-D188-11D7-8E05-0003936A2C42@mac.com> Richard, This is one of the rudest posts I've seen in a long time. Runtime Revolution is a business. Their mission is not to provide you with a free development environment forever which it sounds like they have done for you so far. Unless they can generate sales they will not be able to stay in business and provide any tools to anyone. There is a $75 special on the Express version which is good until the end of this month. If that is still too much money, (and I can appreciate that it might be for you now) then you can continue to use your free 2.0.1 version forever and be ready to buy 2.1 when you get a job. Bill Vlahos On Monday, August 18, 2003, at 01:49 AM, Mathewson wrote: > So I come back from my holiday (yes, it was lovely, thanks) > and find the following....... > > RR 2.1 has no FREE 10-LINES of CODE possibility.... > > I AM MAJORLY F***ED OFF...... > > I am a graduate student (Abertay, IT) supporting wife and 2 > kids on an SAAS grant..... > > I have contributed extensively to the RR developer > site..... > > Authored one of the first full CD-ROMs using RR !.!.1 (not > had any money from that) now used in high-schools > throughout Scotland..... > > I have no money (NO MONEY)........I cannot contribute to RR > if there is no 10-code edition > > I cannot even start developing with 2.1 with a view to > buying a license if I get a decent job after my MSc course > > > Why not just SHIT all over us poor bastards????/ > > Richmond > Mathewsonhttp://lists.runrev.com/mailman/listinfo/use-revolution From pixelbird at interisland.net Mon Aug 18 10:10:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Aug 18 10:10:00 2003 Subject: How can I make my mainstack stay invisible? In-Reply-To: <200308180751.DAA01333@www.runrev.com> Message-ID: Graham, Ken, Monte, et al, > From: "Ken Ray" > Subject: RE: How can I make my mainstack stay invisible? > Date: Sun, 17 Aug 2003 22:42:48 -0500 > > I think what Graham was saying is that he has an invisible mainstack > that contains a bunch of substacks that he wants to open and display. > But he doesn't want to show the mainstack itself; only its substacks. ---------- Why not set the first card of the mainstack as a splash image at startup, then send the mainstack offscreen and open your substacks at specified locations. This way, the user won't know the splash is part of it, will never see it after it departs the screen area, will stay open because the user can't accidentally close it. My piddling $ .02. Ken N. From alrice at ARCplanning.com Mon Aug 18 10:21:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 18 10:21:00 2003 Subject: Richmond's big surprise.... In-Reply-To: Message-ID: On Monday, August 18, 2003, at 02:49 AM, Mathewson wrote: > I AM MAJORLY F***ED OFF...... Calm down man. I understand your current situation leaves no money for software. Revolution starter used to be Gratis, but is no longer. It was never Free, in the sense of Liberty, Free Software, Free Beer. Why do you now take this as a personal affront? Have you thought of applying for a grant to pay for your software development? If you are writing multimedia software in an educational setting, and not being compensated at least for materials needed, then it seems there are a lot of foundations and programs that would grant you a stipend for that. However the tone of your post leaves me with little sympathy. If your situation will be like this for the long term, maybe you should use an Open Source programming environment like... Python, Ruby or Squeak-Smalltalk? Open Source tools are guaranteed to remain Free, as long as there is a maintainer. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Mon Aug 18 10:36:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 18 10:36:00 2003 Subject: MacOS X Stack Name Anomalies In-Reply-To: Message-ID: On Sunday, August 17, 2003, at 10:59 AM, Rob Cozens wrote: >> Does OS 10.2 support invisible file name extensions? How can I fix >> this? > > I see the answer to the first question is "Yes" Just curious: what do you mean by invisible file name extensions. Is this something the Finder displays/hides? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jswitte at bloomington.in.us Mon Aug 18 10:39:01 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Mon Aug 18 10:39:01 2003 Subject: Non-greedy regex? Message-ID: Hi, I want to scan a long chunk of multiline text and extract all lines that contain the string gClassMangle (in the form of '__##' where ## is the length of the class name). I'm was trying to use the following script - the basic idea is to find the first match, get it, then delete everything up to and including it from the text and repeat. put "__" & tClassLength & gClassName into gClassMangle put "(\n([^_]*)" & gClassMangle & "([^\n]*)\n)" into tPatter repeat forever put empty into startMatch put empty into endMatch if matchChunk(gJumpText, tPattern, startMatach, endMatch) then get char startMatch to endMatch of gJumpText answer it delete char 1 to endMatch of gJumpText else exit repeat end if end repeat But it was matching everything from the beginning of the text to the end of the first match. I realized this was because it was doing a greedy match (as regex is), and so didn't just match from the nearest return character (beginning of the line), but from the first return character (beginning of the text). Is there an elegant way (without having to count back characters and such from endMatch) to get matchChunk to do what I want and do a "non-greedy" match? Jim From alrice at ARCplanning.com Mon Aug 18 10:46:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 18 10:46:01 2003 Subject: Non-greedy regex? In-Reply-To: Message-ID: <2751153C-D192-11D7-B7A5-000393529642@ARCplanning.com> On Monday, August 18, 2003, at 09:23 AM, Jim Witte wrote: > Is there an elegant way (without having to count back characters and > such from endMatch) to get matchChunk to do what I want and do a > "non-greedy" match? Just a couple of ideas - gotta run. 1) use replaceText instead? 2) Don't put the \n explicitly, use ^ and $ to anchor the match to the start or end of the line. It may not be necessary to anchor it at all. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jacque at hyperactivesw.com Mon Aug 18 10:50:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 18 10:50:01 2003 Subject: image paste In-Reply-To: References: Message-ID: <3F40F437.6010403@hyperactivesw.com> On 8/18/03 1:26 AM, Andrew wrote: > When I paste an image on a card (again, its rect appears as big as the > whole card, no matter the size of the image), and then I paste a second > image on the same card, the second image seems to become part of the > first one. What can I do to make the two images separate objects? When you paste an image from the clipboard, Rev opens the painting tools and creates a new image object. The default size of an image object is the size of the card. After that, whenever you click in the image with a painting tool, the image is opened for editing. That's why a second paste places the new image inside the old one. To create separate image objects which are automatically sized only as large as the image content, use "Import as control" in the File menu to bring in an image from a file on disk. If your images are not files on disk, you can still paste from the clipboard. But after you have created an image object this way, you will need to use a script to resize the image object to the formattedWidth and formattedHeight of the object. That will make it smaller. Then when you do the second paste, be sure not to click inside the first image (so you won't accidentally open it for editing.) Click elsewhere on the card before pasting, and the second paste should create a new image object -- which you will also want to resize, since it too will be as large as the card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmond at mail.maclaunch.com Mon Aug 18 10:56:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon Aug 18 10:56:00 2003 Subject: Richmond, rudeness and commercial enterprise Message-ID: Yes, Alex Rice, you are quite right: my message is extremely rude! I did not enjoy writing it....however there are one or 2 points...... 1. If RR is a commercial enterprise then it might like to consider rewarding developer contribs: the idea of FREE or not FREE can work in both directions. There has certainly been the impression of a 'community' - now one of the shortcomings of RR is the lack of an adequate manual that will serve the needs of new programmers - the use-lists, to a certain extent, serve that purpose. However if users are writing the manual (so to speak) should they not have some benefit from it? The concept of a community where people give freely of their time and effort to contribute to building something (in this case a knowledge base) seems directly the opposite of a commercial enterprise. I understood that the Runtime Revolution team were doing something admirable; an attempt to combine both concepts in what we might like to term "a third way" or "enlightened commercialism". However, the removal of the 'free' version of RR does away with this image and leave us with raw commercialism. So henceforward words like "RR developer community" will sound a bit hollow. I have been repeatedly encouraged in my comments to the use-list and contributions both to the developer contribs page and on my own small website by both RR staff members and by other use-list members; and that made me feel part of a 'community' in which at least some of my stuff was valued. I have always made it explicit that I could not afford a license (I do not develop software for anybody at the moment) this did not stop anybody encouraging me. The reason why I feel f***ed off is because I will no longer be able to contribute very successfully to the use-list or the developer contribs page being unable to have proper access to future RR builds. 2. Rudeness.......I remember hearing about some aid workers in Ethiopia who gave out free orange juice to children: the parents would come and help the aid workers in a variety of ways. Suddenly the aid workers started demanding money for the juice - one of them was killed by a prent of one of the children who had previously recieved juice. All very sad, Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From wmb at internettrainer.com Mon Aug 18 11:03:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Aug 18 11:03:00 2003 Subject: How can I make my mainstack stay invisible? In-Reply-To: Message-ID: <211E8D67-D194-11D7-B0CF-003065430226@internettrainer.com> On Monday, Aug 18, 2003, at 11:14 Europe/Vienna, Graham Samuel wrote: > It's the stack with all the startup logic and it's the root of all the > common handlers for the rest of the app, plus it contains private > debugging info (I have a kind of tracer/timer routine that shows the > progress of certain events in a field I can look at during > development). Since it's the mainstack, it opens automatically when > the app starts. I may have designed my app in a stupid way from the > RunRev point of view, but I got some of these ideas from SuperCard and > they've stuck... > Make a splash screen only to click on to start. And hide the mainstack in the data folder with all the other stuff. The splash screen should not do more than start and work "as you say" as an anchor for the real stacks in the data folder. If you dont know how to do I cant help you more but I know who can help you with that problem, because he showed me once how to do that: Klaus Major!! I would drop him a line offlist... Dont know if that helps... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From myoung at bigskyneuro.com Mon Aug 18 11:09:00 2003 From: myoung at bigskyneuro.com (Michael Young) Date: Mon Aug 18 11:09:00 2003 Subject: use-revolution digest, Vol 1 #1783 - 17 msgs In-Reply-To: <200308181440.KAA11008@www.runrev.com> Message-ID: Thank you Rob, I will check out The Serendipity Library. Michael Young > > >is RR a reasonable database > >tool substitute for an application like Filemaker Pro on > Macintosh OS X to > >create simple databases > > Hi Michael, > > If you don't need "Q", then SDB will do: > > > > A client/server version is on the way. > -- > Rob Cozens, CCW From myoung at bigskyneuro.com Mon Aug 18 11:09:23 2003 From: myoung at bigskyneuro.com (Michael Young) Date: Mon Aug 18 11:09:23 2003 Subject: use-revolution digest, Vol 1 #1783 - 17 msgs In-Reply-To: <200308181440.KAA11008@www.runrev.com> Message-ID: Thank you for the warning and potential need to Valentina, etc. Michael Young > > > is RR a reasonable database tool substitute for an application like > Filemaker Pro on > > Macintosh OS X to create simple databases > > Absolutely yes, Michael. Main disclaimer is multi-user > simultaneous access or > very large numbers of records, at which point the 'hard-end > features' of RR > are needed (SQL, Oracle, Valentina etc). And one day I, too, > shall venture into > these murky waters. Until then I prefer to keep sane (-ish) ;) > > /H From tnally at aga-engineers.com Mon Aug 18 11:13:01 2003 From: tnally at aga-engineers.com (Tomas Nally, P.E.) Date: Mon Aug 18 11:13:01 2003 Subject: Richmond's big surprise.... Message-ID: Richmond said: > > RR 2.1 has no FREE 10-LINES of CODE possibility.... > > I AM MAJORLY F***ED OFF...... > Richmond: I think you should ask for your money back. Oh, wait... ---Tom Nally, New Orleans This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Albert-Garaudy and Associates, Inc. From alrice at ARCplanning.com Mon Aug 18 11:13:27 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 18 11:13:27 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: Message-ID: <06CD3E14-D196-11D7-B7A5-000393529642@ARCplanning.com> On Monday, August 18, 2003, at 08:44 AM, Mathewson wrote: > 1. If RR is a commercial enterprise then it might like to > consider rewarding developer contribs: the idea of FREE or > not FREE can work in both directions. Correct me if I'm wrong, but RR starter ed. was never FREE. It was _gratis_. There is a difference. My feeling is: that RR is a business does not detract from the quality of this forum. > 2. Rudeness.......I remember hearing about some aid > workers in Ethiopia who gave out free orange juice to > children: the parents would come and help the aid workers > in a variety of ways. Suddenly the aid workers started > demanding money for the juice - one of them was killed by a > prent of one of the children who had previously recieved > juice. That's a bizarre analogy. Ask any drug dealer; the first one is always free. I wouldn't compare RR to heroin OR orange juice though. What about my suggestions: 1) apply for a grant to pay for your commercial software, or 2) use Open-Source software instead. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From ambassador at fourthworld.com Mon Aug 18 11:26:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 18 11:26:01 2003 Subject: How can I make my mainstack stay invisible? In-Reply-To: <211E8D67-D194-11D7-B0CF-003065430226@internettrainer.com> Message-ID: Graham Samuel wrote: > > It's the stack with all the startup logic and it's the root of all the > common handlers for the rest of the app, plus it contains private > debugging info (I have a kind of tracer/timer routine that shows the > progress of certain events in a field I can look at during > development). Since it's the mainstack, it opens automatically when > the app starts. I may have designed my app in a stupid way from the > RunRev point of view, but I got some of these ideas from SuperCard and > they've stuck... I often do a similar thing, with the mainstack containing offscreen libraries and on screen it's a dialog warning about memory issues. I have a boot script in the card on the stack triggered by preOpenStack, which among other initializations also hides the mainstack. This way if something goes unpredictably wrong at least the user has some meaningful communication. If you use a preOpenStack handler in the card script you should be able to do anything you like before the mainstack is drawn. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From thierry.arbellot at wanadoo.fr Mon Aug 18 11:31:00 2003 From: thierry.arbellot at wanadoo.fr (Toki) Date: Mon Aug 18 11:31:00 2003 Subject: MacOS X Stack Name Anomalies In-Reply-To: Message-ID: <59E1E914-D198-11D7-ABAC-000A27E40768@wanadoo.fr> OSX has the option to show/hide file extension : Select a file Do "get info" in the info box, expand Name & Extension Here is the check box "Hide extension" Thierry Arbellot. On Monday, August 18, 2003, at 05:29 PM, Alex Rice wrote: > > On Sunday, August 17, 2003, at 10:59 AM, Rob Cozens wrote: > >>> Does OS 10.2 support invisible file name extensions? How can I fix >>> this? >> >> I see the answer to the first question is "Yes" > > Just curious: what do you mean by invisible file name extensions. Is > this something the Finder displays/hides? > > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dan at clearvisiontech.com Mon Aug 18 11:39:00 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Aug 18 11:39:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: <200308172309.TAA24113@www.runrev.com> Message-ID: > Are these exactly the same design for each platform or do these have to > be tweaked? I don't mean file format, I mean variations in metrics to > account for engine or other idiosyncrasies. They are NOT the same for each platform (but they look the same). The sizes, metrics and other data/settings have been altered so they look and act the same on each platform. For example, if you set a font to 9 point on a MAC, it will look larger on a PC. With my custom fonts, 9 point is the same size on both platforms. > Does this mean that you own the fonts? Are they for sale to include in > other programs? Yes, I own them. Are they for sale? Hmmm... Contact me off-list. > Assuming they are, can the same font be attached to the > application/stack and work on both Mac and Windows without the user > having to install the font? I don't know anything about "attaching" fonts to an application. I just include the fonts in my installer. And this works fine [for me]. -Dan From taillade.m at wanadoo.fr Mon Aug 18 11:41:01 2003 From: taillade.m at wanadoo.fr (taillade) Date: Mon Aug 18 11:41:01 2003 Subject: Unable to switch to version 2. In-Reply-To: <200308131957.PAA27616@www.runrev.com> Message-ID: Le mercredi, 13 ao? 2003, ? 21:57 Europe/Paris, use-revolution-request at lists.runrev.com a ?crit : > Hi Michel, > > What i expect is that this problem could be relative to the way the > Rev/MC 2.5 engine works under MacOSX to reopen 1.1.1 stacks issues, not > in about your stack it-self. > > If needed, i can test your stack under Linux, where there are never > problems in reopening such kind of stacks. If your problem don't > happen, > here, you will then have to fill a request to bugzella. Else i will > have > an eye to your code. If you want, send me the stack in a ".zip" or > ".gz" > and i will let you know how it goes. > > -- > Bien cordialement, Pierre Sahores > Thank you Pierre for your nice proposition, In fact I prepared a limited version ( 3 stacks) of my application and tested it before to send it to you. Surprise, it was working on version 2.0., and ... there was no reason to send it to you. I returned to the original application which has around 50 identical stacks and was working perfectly since 10 years on Hypercard first and after on version 1.1.1. and still now ... These identical stacks are based on a unique start using stack storing all the handlers and each one has the minimum, just a function, within "on preopenstack", "on openstack" ....etc referring to the start using stack. Among the fifty identical stacks, I found that 2 were refusing to open (those who were the most used of course) You must know that the difficulties were not limited to the impossibility to open these stacks, in fact each time I passed through these stacks it was followed (sometimes with a delay) by the crash of the Revolution distribution which refused to reopen after and stayed freezed. Thank to that I had the chance to became one of the best re-loaders (perhaps in the world) of Revolution version 2 with 300 to 400 reloads in 3 months. I asked the technical support for help but they are so slow ... I am still waiting an answer since near two weeks. By chance (after 3 months I am not so sure it is chance ..) I noticed that these 2 stacks were accepting to open when using: - lock messages - open stack .... The way was found, I rewrote the handlers to avoid to use on preopenstack, openstack and closestack. And it works on version 2.00... I am happy of course on one side, on the other I am hungry for these days and days lost. I am obliged to think that Revolution is far to be as ready as is it said and I am afraid with the coming version 2.1. Yes I bought it ..... because it was one potential solution to my problems. Thank you Pierre and also Jan who tried to help me ... and good luck to those coming from Hypercard or from version 1.1.1. Who knows ? Michel Taillade PS: I have no possibility to be to Apple Expo in september, it is a pity ... Next year probably. I was there last year and met Kevin Miller and Frederic Rinaldi ... From gizmotron at earthlink.net Mon Aug 18 11:47:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 11:47:00 2003 Subject: How to properly format text in sheet on OS X? In-Reply-To: <1157868F-CFEC-11D7-BD42-000393020FF0@mac.com> Message-ID: <241B5458-D19B-11D7-AD2B-000A95859272@earthlink.net> On Saturday, August 16, 2003, at 06:18 AM, Brian K. Maher wrote: > answer warning "message > text

size='11'>informative text" with "Continue" as sheet from the docs: If the prompt contains

or a start/end tag pair, the answer command assumes the text is in the same format as the htmlText property. Otherwise, the answer command assumes the text is plain text. I got this to work: answer warning "

message text



informative text

" with "Continue" as sheet I dropped the single quote marks. I nested the "

" tags. Empty space in attributes are not allowed in SGML and consequently HTML. I'm not sure about Transcript. I'm thinking that setting the answer textFont to Lucida Grande first, somehow might make multiple fonts available. Mark From scott at tactilemedia.com Mon Aug 18 11:54:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Aug 18 11:54:00 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: Message-ID: Recently, Mathewson wrote: > 1. If RR is a commercial enterprise then it might like to > consider rewarding developer contribs: the idea of FREE or > not FREE can work in both directions. They could indeed consider this but are the obligated to do so? What if they choose not to? > There has certainly been the impression of a 'community' - > now one of the shortcomings of RR is the lack of an > adequate manual that will serve the needs of new > programmers - the use-lists, to a certain extent, serve > that purpose. However > if users are writing the manual (so to speak) should they > not have some benefit from it? Your choice of the term "inadequate" is subjective -- extensive documentation is included in the package. Users are not writing the manual, they are expounding on it, to provide additional help and insights for other users, a labor which one might call "community". > The concept of a community where people give freely of > their time and effort to contribute to building something > (in this case a knowledge base) seems directly the opposite > of a > commercial enterprise. I understood that the Runtime > Revolution team were doing something admirable; an attempt > to combine both concepts in what we might like to term "a > third way" or "enlightened commercialism". You appear to be saying that commercial enterprise and community cannot coexist. You might have a hard time justifying this point of view with the online forums provided by every major software product in the world. > However, the removal of the 'free' version of RR does away > with this image and leave us with raw commercialism. So > henceforward words like "RR developer community" will sound > a bit hollow. I think many folks would argue that they would rather have a "hollow" community than no community at all. > I have been repeatedly encouraged in my comments to the > use-list and contributions both to the developer contribs > page and on my own small website by both RR staff members > and by other use-list members; and that made me feel part > of a 'community' in which at least some of my stuff was > valued. Until now, none of this had changed. > I have always made it explicit that I could not afford a > license (I do not develop software for anybody at the > moment) this did not stop anybody encouraging me. Are you suggesting you are owed something because you cannot afford a license? Is anything preventing you from using what you currently have to make contributions? > The reason why I feel f***ed off is because I will no > longer be able to contribute very successfully to the > use-list or the developer contribs page being unable to > have proper access to future RR builds. Again, you can continue to use what you have to create whatever contributions you wish. If you feel you are owed "proper access" to future RR builds, I would suggest taking this up with the RunRev folks privately, the folks who enact the policies, instead of hurling your accusations at listmembers who are not part of your situation. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From jacque at hyperactivesw.com Mon Aug 18 12:08:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 18 12:08:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: References: Message-ID: <3F410687.6070807@hyperactivesw.com> On 8/18/03 9:44 AM, Mathewson wrote: > 1. If RR is a commercial enterprise then it might like to > consider rewarding developer contribs: the idea of FREE or > not FREE can work in both directions. You will excuse my bluntness, but I am responding to the tone of your first message. While your contributions have been prolific and likely useful to some beginners, they are somewhat trivial. That is not to belittle your attempts, but merely to point out that perhaps your contributions do not entirely pay for a perpetual free version of Revolution. > There has certainly been the impression of a 'community' - > now one of the shortcomings of RR is the lack of an > adequate manual that will serve the needs of new > programmers - the use-lists, to a certain extent, serve > that purpose. However > if users are writing the manual (so to speak) should they > not have some benefit from it? Revolution contains some of the best documentation in the business. I would hardly say that the users here are writing the docs, particularly after seeing up close and personal how much work Jeanne has put into them. What I do see more often than not on this list are people pointing out to others *where* in the docs to find the information they need. The docs are constantly being reorganized and improved, but the content is consistently exemplary. I have seen very few instances where what is asked here is not available already to anyone who choses to use the search plug-in to find it. > The concept of a community where people give freely of > their time and effort to contribute to building something > (in this case a knowledge base) seems directly the opposite > of a > commercial enterprise. The crucial point you sail right over, of course, is that Runtime *is* a commercial enterprise. This is the crux of the matter for me, as a professional developer. I have seen other x-talk tools disappear or dwindle to obscurity. I have placed my company's future squarely in the hands of Runtime and if they do not succeed then neither do I. I applaud any steps the company may take to plug the leaks in their financial future. You are bitter because someone took away your free toy. I say tough. I have paid for my copies of MetaCard in the past, and now I pay for my copies of Revolution. Runtime's current discount prices are so beyond reasonable that I worry about their viability. I want this company to succeed. I want x-talk to be around forever. The 30-day trial is a good way for newcomers to test the software to see if it meets their needs. The intent of the original starter kit was the same; it was intended as a trial version. The fact that some people abused it and never did buy the software was intentionally overlooked for a while. You can't very well complain that a company who needs to make a profit to survive is now taking notice of these abuses. > However, the removal of the 'free' version of RR does away > with this image and leave us with raw commercialism. So > henceforward words like "RR developer community" will sound > a bit hollow. I assure you that those of us who own legitimate, paid licenses still feel very much part of this community. I hate to break it to you, but "raw commercialism" is what is going to keep this tool in the hands of users world-wide. Runtime isn't a large enough enterprise yet to be able to sustain any amount of monetary leakage. It is naive to expect that a commercial company will continue to hand you free software forever. I say this with authority as a professional developer who runs a company based on "raw commercialism." We have expenses, we have bills. If we don't pay our expenses, we lose our business. If that should ever happen to Runtime, you'd lose your free software anyway -- and what is worse, the rest of us who did pay for it would also be left with nothing. Frankly, I can't understand your attitude. You should be grateful for the free ride you've had so far. > The reason why I feel f***ed off is because I will no > longer be able to contribute very successfully to the > use-list or the developer contribs page being unable to > have proper access to future RR builds. My heart bleeds for you. The rest of us have paid. When you get a job, you can buy software too. Meanwhile, use the starter kit you already have and stop looking your gift horse in the mouth. You aren't the only one who feels like using unprintable words here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Aug 18 12:20:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 18 12:20:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: Message-ID: Mathewson wrote: > Yes, Alex Rice, you are quite right: my message is > extremely rude! I did not enjoy writing it... Then why put yourself through that? If your major were in communications that style would carry you far, but only if you want a job in American foreign policy negotation. ;) ... > 1. If RR is a commercial enterprise then it might like to > consider rewarding developer contribs: the idea of FREE or > not FREE can work in both directions. Perhaps it might. Had you considered writing a brief professional request to RunRev directly before napalming the list? Or better, since your school is deriving value from Rev and your good work with it, might they find a way to finance a US$79 license? They'd be supporting the local economy at the same time. > 2. Rudeness.......I remember hearing about some aid > workers in Ethiopia who gave out free orange juice to > children: the parents would come and help the aid workers > in a variety of ways. Suddenly the aid workers started > demanding money for the juice - one of them was killed by a > prent of one of the children who had previously recieved > juice. The privilege of obtaining higher education at a good university is an unimaginable dream for the sort of person your anecdote describes. While the choice of pursuing upward mobility through such a degree does carry its share of temporary hardships, bringing that story into the conversation trivializes the abject poverty of the third world. Nearly half of the world's people live every day of their short lives without enough to eat. Some of these people are here in the States, and perhaps some in your community as well. I'll wager that even the most resource-strapped university spends more on catering a reception for a visiting lecturer than the cost of a Rev license. Perhaps the business school could do a quick ROI calculation for the purchasing department.... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kray at sonsothunder.com Mon Aug 18 12:24:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 18 12:24:00 2003 Subject: Non-greedy regex? In-Reply-To: Message-ID: <007201c365ac$8dfffcd0$6801a8c0@LightningFlash> > Is there an elegant way (without having to count back > characters and > such from endMatch) to get matchChunk to do what I want and do a > "non-greedy" match? Yes. There are two ways. If you just want a certain match to be "ungreedy", you can follow it with a ?, so something like: the (.*?) named would find the first matched word between "the" and "named". So in the sentence: the man named "Jack" spoke to the woman named "Jill" it would find "man", not "woman" (whereas 'the (.*) named' would be greedy and find "woman"). The second way is if you NEVER want it to be greedy in ANY match. In this case, put "(?U)" before your pattern. So you'd have: put "(?U)(\n([^_]*)" & gClassMangle & "([^\n]*)\n)" into tPattern Hope this makes sense, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Mon Aug 18 12:26:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 18 12:26:01 2003 Subject: Non-greedy regex? In-Reply-To: Message-ID: <007301c365ac$d42cec40$6801a8c0@LightningFlash> One other suggestion... the docs for PCRE (the underlying regex engine in Rev) is at: http://www.pcre.org/man.txt Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Jim Witte > Sent: Monday, August 18, 2003 10:23 AM > To: use-revolution at lists.runrev.com > Subject: Non-greedy regex? > > > Hi, > > I want to scan a long chunk of multiline text and extract > all lines > that contain the string gClassMangle (in the form of > '__##' > where ## is the length of the class name). I'm was trying to use the > following script - the basic idea is to find the first > match, get it, > then delete everything up to and including it from the text > and repeat. > > put "__" & tClassLength & gClassName into gClassMangle > put "(\n([^_]*)" & gClassMangle & "([^\n]*)\n)" into tPatter > > repeat forever > put empty into startMatch > put empty into endMatch > if matchChunk(gJumpText, tPattern, startMatach, endMatch) then > get char startMatch to endMatch of gJumpText > answer it > delete char 1 to endMatch of gJumpText > else > exit repeat > end if > end repeat > > But it was matching everything from the beginning of the > text to the > end of the first match. I realized this was because it was doing a > greedy match (as regex is), and so didn't just match from the nearest > return character (beginning of the line), but from the first return > character (beginning of the text). > > Is there an elegant way (without having to count back > characters and > such from endMatch) to get matchChunk to do what I want and do a > "non-greedy" match? > > Jim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From gizmotron at earthlink.net Mon Aug 18 12:40:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 12:40:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: <3F410687.6070807@hyperactivesw.com> Message-ID: <85C79A5D-D1A2-11D7-AD2B-000A95859272@earthlink.net> On 8/18/03 9:44 AM, Mathewson wrote: > The reason why I feel f***ed off is because I will no > longer be able to contribute very successfully to the > use-list or the developer contribs page being unable to > have proper access to future RR builds. I looked at your 179 contributions. This one lets me know that you have at least enough to get styled in Revolution T-shirt clad. Or perhaps I'm wrong and you couldn't really have been able to purchase one and all you wanted to do was soapbox your objection to American currency. > Message: 8 > From: "Mathewson" > Subject: T-shirts and the Americans > To: use-revolution at lists.runrev.com > Date: Fri, 21 Mar 2003 08:27:25 -0500 > Reply-To: use-revolution at lists.runrev.com > > Some of us are Scots (RunRev, is, after all, a Scottish > thing!) and wonder why we have to order T-shirts from 'over > there' - can we not order them from somewhere over here in > Pounds Sterling, or, heaven forfend, Euros ? > > Richmond Mathewson Ideally, yes. However, I have not yet turned up an equivalent service to CafePress in the UK. If anyone can come up with a suitable site, which will allow me to upload the images, offers a shop for our customers, and takes care of the order fulfilment, I will be more than happy to open an account with them. Likewise, for our Australian users, if you can show me a shop, I'll be happy to upload. ... Heather From miscdas at boxfrog.com Mon Aug 18 12:47:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Mon Aug 18 12:47:01 2003 Subject: [OT]Re: Richmond's big surprise.... In-Reply-To: <8001B44D-D188-11D7-8E05-0003936A2C42@mac.com> References: <8001B44D-D188-11D7-8E05-0003936A2C42@mac.com> Message-ID: <20030818174130.57355.qmail@www.boxfrog.com> Bill Vlahos writes: [snip] > Richard, > > This is one of the rudest posts I've seen in a long time. > Bill Vlahos > > On Monday, August 18, 2003, at 01:49 AM, Mathewson wrote: > >> So I come back from my holiday (yes, it was lovely, thanks) >> and find the following....... >> >> RR 2.1 has no FREE 10-LINES of CODE possibility.... >> >> I AM MAJORLY F***ED OFF...... >> >> Why not just SHIT all over us poor bastards????/ >> >> Richmond Mathewsonhttp://lists.runrev.com/mailman/listinfo/use-revolution =============== Did it top my best? miscdas From gizmotron at earthlink.net Mon Aug 18 12:52:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 12:52:01 2003 Subject: [OT]Re: Richmond's big surprise.... In-Reply-To: <20030818174130.57355.qmail@www.boxfrog.com> Message-ID: <2F1DB22B-D1A4-11D7-AD2B-000A95859272@earthlink.net> On Monday, August 18, 2003, at 10:41 AM, miscdas at boxfrog.com wrote: > Did it top my best? > miscdas Yes, you are no longer the golden boy :-) From jameslewes at comcast.net Mon Aug 18 12:52:25 2003 From: jameslewes at comcast.net (James Lewes) Date: Mon Aug 18 12:52:25 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: Message-ID: I would like to put my three cents in. I have never found the folks at Revolution, or on this list, to be rude, selfish or unhelpful. So I am always amazed when people seem to get upset at them. We should never forget, that compared to Adobe, Macromedia, Microsoft or Apple, Revolution are a cottage industry located in a digital croft. Despite this, compared to Adobe, Macromedia, Microsoft or Apple the folks at Revolution are doing their best to produce a product that is not only cross platform, but which responds to all our needs. I know this does not specifically respond to any of Mathewson's critiques of the company and it's product, but I would like to not in closing that the reason aid workers had to go to Ethiopia in the first place was because the most productive farmland there is actually controlled by European agribusiness concerns, so the Ethiopian forced into having to beg for handouts had every right to get pissed off. James On Monday, August 18, 2003, at 01:12 PM, Richard Gaskin wrote: > Mathewson wrote: > >> Yes, Alex Rice, you are quite right: my message is >> extremely rude! I did not enjoy writing it... > > Then why put yourself through that? > > If your major were in communications that style would carry you far, > but > only if you want a job in American foreign policy negotation. ;) > > ... >> 1. If RR is a commercial enterprise then it might like to >> consider rewarding developer contribs: the idea of FREE or >> not FREE can work in both directions. > > Perhaps it might. Had you considered writing a brief professional > request > to RunRev directly before napalming the list? > > Or better, since your school is deriving value from Rev and your good > work > with it, might they find a way to finance a US$79 license? They'd be > supporting the local economy at the same time. > >> 2. Rudeness.......I remember hearing about some aid >> workers in Ethiopia who gave out free orange juice to >> children: the parents would come and help the aid workers >> in a variety of ways. Suddenly the aid workers started >> demanding money for the juice - one of them was killed by a >> prent of one of the children who had previously recieved >> juice. > > The privilege of obtaining higher education at a good university is an > unimaginable dream for the sort of person your anecdote describes. > > While the choice of pursuing upward mobility through such a degree does > carry its share of temporary hardships, bringing that story into the > conversation trivializes the abject poverty of the third world. > > Nearly half of the world's people live every day of their short lives > without enough to eat. Some of these people are here in the States, > and > perhaps some in your community as well. > > I'll wager that even the most resource-strapped university spends more > on > catering a reception for a visiting lecturer than the cost of a Rev > license. > Perhaps the business school could do a quick ROI calculation for the > purchasing department.... > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jameslewes at comcast.net Mon Aug 18 12:56:01 2003 From: jameslewes at comcast.net (James Lewes) Date: Mon Aug 18 12:56:01 2003 Subject: Richmond's big surprise.... In-Reply-To: Message-ID: <481C4F98-D1A4-11D7-92BD-000502F78A80@comcast.net> Sorry to once again participate in what I consider to be a useless and consuming thread. But Mathewson, I have two solutions 1) use the version of Revolution that you were developing. 2) DOWNLOAD THE THIRTY DAY UNLIMITED BETA, SHOW IT TO YOUR CLIENTS AND TELL THEM TO PONY UP THE CASH. I AM NOT MAJORLY F****D OFF, BUT I AM EXTREMELY BORED WITH THIS THREAD. James On Monday, August 18, 2003, at 04:49 AM, Mathewson wrote: > So I come back from my holiday (yes, it was lovely, thanks) > and find the following....... > > RR 2.1 has no FREE 10-LINES of CODE possibility.... > > I AM MAJORLY F***ED OFF...... > > I am a graduate student (Abertay, IT) supporting wife and 2 > kids on an SAAS grant..... > > I have contributed extensively to the RR developer > site..... > > Authored one of the first full CD-ROMs using RR !.!.1 (not > had any money from that) now used in high-schools > throughout Scotland..... > > I have no money (NO MONEY)........I cannot contribute to RR > if there is no 10-code edition > > I cannot even start developing with 2.1 with a view to > buying a license if I get a decent job after my MSc course > > > Why not just SHIT all over us poor bastards????/ > > Richmond Mathewson > > __________________________________________________ > See Mathewson's software at: > > http://members.maclaunch.com/richmond/default.html and > http://www.runrev.com/Revolution1/developercentral/ > usercontributions.html > __________________________________________________ > --------------------------------------------------------------- > Great Macintosh Products > The MacLaunch Store! > http://www.maclaunch.com/cgi-launch/store/agora.cgi > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Mon Aug 18 12:59:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 12:59:01 2003 Subject: Non-greedy regex? In-Reply-To: <2751153C-D192-11D7-B7A5-000393529642@ARCplanning.com> Message-ID: On Monday, August 18, 2003, at 09:39 AM, Alex Rice wrote: > 2) Don't put the \n explicitly, use ^ and $ to anchor the match to the > start or end of the line. I think the m modifier should be set in this case. Dar Scott From janschenkel at yahoo.com Mon Aug 18 13:07:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 18 13:07:01 2003 Subject: Big surprises and License models Message-ID: <20030818180019.61149.qmail@web11906.mail.yahoo.com> Hi All, I remained silent during the debates over the new license model ; however, the recent thread started by Richmond made me realise that no one had yet tried to explain the nature of the old and the new license models. DISCLAIMER: this is an outsider's view, I'm affiliated with neither MetaCard nor Revolution ; I'm merely applying some business logic. 1) The old license model. Important here is : where did MetaCard come from ? Reading up on the history shows that MetaCard was first built for Unix. In such a world, maintenance contracts are the rule rather than the exception -- IT managers wanting to make sure they have the proper support and all that. Hence the purchase fee + yearly renewal. The advantage of such a license model is that MetaCard was assured of a fixed income as long as the customers were happy. The started kit made perfect sense because it generated interest and could attract new customers without expensive marketing campaigns. And it didn't cost MetaCard anything extra, as the software was there anyway. Newer versions added new platforms, and after a few years, MetaCard entered the Windows and Mac markets. However, the Windows- and Mac-worlds in general do not have this same orientation towards maintenance contracts : the focus is on buying a version and upgrading when the new feature set warrants it. And for these markets, 999$ + 299$ per year would make the laymen in the IT-department twitch -- which is why Revolution conceived the small-business edition. The limitations of the starter kit also sounded a bit strange to the people in these IT-departments with no in-depth knowledge of the programming paradigm: after all, who can write complete software in just ten lines of code ? To these people, clearly the traditional 30-day trial version made a lot more sense. 2) The new license model After the acquisition of MetaCard by Revolution, it was the right time to review the license model as well ; and they constructed one that made very good business sense. - large companies still get the maintenance-contract type Enterprise version with all the platforms. - smaller companies can get the current version plus the next and still compile for all platforms, using the Studio edition. - if you only want to build for a single platform, grab the Express version -- personally I'm not too sure about the 'Made With Revolution' splash, for the same reasons as Chipp Walters. - not to mention what Geoff pointed out in the first week of the debates : you can mix and match Studio and Express versions for testing and deployment purposes. - and an _unrestricted_ Evaluation Edition opens up _every_ corner of Revolution (including Oracle) for those who want to get to know it, without the 'weird' 10 line limit. All in all, this new license model gives everyone what they wanted ; and the conversion of existing SBE and Pro licenses to Commercial Studio and Commercial Enterprise was the right way to make the transition from the old to the new licensing model. The only people left 'out in the cold' are those who used the Starter Kit / Free Edition on a permanent basis. But were they really 'mistreated' ? In my opinion, no. They can still use every MetaCard / Revolution version prior to the new license model, until the end of time or it doesn't survive a new version of the OS. Want the latest and greatest ? Need the new features ?Scrape together the money -- in 1991, I dug into my savings and bought myself a student copy of Think Pascal for 160$, and was a happy camper for years. Now, in retrospect there are a lot of things in my student years that I should have done differently. But if I compare the feature set of TP back then to what Revolution offers today, I'd do it again. No doubt. Just a few thoughts, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From devin_asay at byu.edu Mon Aug 18 13:57:00 2003 From: devin_asay at byu.edu (Devin Asay) Date: Mon Aug 18 13:57:00 2003 Subject: Best way to set up an idle timer - The prize goes to... In-Reply-To: Message-ID: <18B42D9D-D1AC-11D7-87F1-0030654E23A2@byu.edu> Thanks to Dar, Sarah and Edwin, and Jan (and anyone else I'm forgetting) for their help on this. It's working flawlessly now. This bit was especially helpful, Sarah: On Monday, August 18, 2003, at 01:27 AM, Sarah wrote: > Other people have suggested storing the result of the "send" and using > that as a cancel parameter, but I prefer to be more heavy-handed than > that, as I find that this still leaves the possibility of spawning > multiple messages: > > Put the following handler in your stack script and in resetLogout, > replace the first line with: > cancelMessageName logoutQuery > > on cancelMessageName handlerName > put the pendingMessages into pMess > repeat for each line p in pMess > if item 3 of p contains handlerName then cancel item 1 of p > end repeat > end cancelMessageName > For anyone interested, this is what I ended up with: ==============start script sample (line wrapping alert!)============ -- first of all, put into an otherwise unused script: on mouseMove send "resetLogout" to stack "chinpr" pass mouseMove end mouseMove on rawKeyDown send "resetLogout" to stack "chinpr" pass rawKeyDown end rawKeyDown -- then I put into my stack script: on openStack -- my other openStack junk here insert the script of image "P&Rbg1.jpg" of stack "chinpr" into front -- this handles mouseMove and rawKeyDown resetLogout -- start the logout countdown end openStack on logoutQuery if the userPIN of this stack is not empty then beep answer "An appropriate prompt here." with "Logout" or "Enter PIN..." if it is "Enter PIN..." then -- (user chose to continue) repeat ask "Enter your PIN to continue the test." if it is the userPIN of this stack then resetLogout exit repeat else answer information "Incorrect PIN. Try Again or Logout?" with "Logout" or "Try Again" if it is "Logout" then go card "menu" of stack "chinpr" logout exit repeat end if end if end repeat exit logoutquery else if it is "Logout" then -- (user chose to log out) go card "menu" of stack "chinpr" logout exit logoutQuery end if end if end logoutQuery on resetLogout -- cancel item 1 of last line of the pendingMessages put the pendingMessages into pndgMsgs repeat for each line thisMsg in pndgMsgs if item 3 of thisMsg contains "logoutQuery" then cancel item 1 of thisMsg end repeat send "logoutQuery" to stack "chinpr" in 5 * 60 seconds -- or whatever time period you want end resetLogout ========================end script sample========================== Devin Asay Humanities Technology and Research Support Center Brigham Young University From FlexibleLearning at aol.com Mon Aug 18 14:39:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon Aug 18 14:39:00 2003 Subject: Attaching Fonts Message-ID: <41.32ae8673.2c7283b7@aol.com> > I don't know anything about "attaching" fonts to an application. I just > include the fonts in my installer. And this works fine [for me]. Use Tuviah Snyder's EXT external to 'load' and 'unload' arbitrary fonts to make sure they are available, irrespective of the user's installed fonts. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Mon Aug 18 14:52:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 14:52:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: <7F91BDA8-D1B4-11D7-BF81-000A9567A3E6@swcp.com> On Monday, August 18, 2003, at 10:42 AM, Dan Friedman wrote: >> Are these exactly the same design for each platform or do these have >> to >> be tweaked? I don't mean file format, I mean variations in metrics to >> account for engine or other idiosyncrasies. > > They are NOT the same for each platform (but they look the same). The > sizes, metrics and other data/settings have been altered so they look > and > act the same on each platform. For example, if you set a font to 9 > point on > a MAC, it will look larger on a PC. With my custom fonts, 9 point is > the > same size on both platforms. Oh. Is this alteration needed because of OS interpretation, because of Revolution engine interpretation, or because of both? Anybody? Dar Scott From dsc at swcp.com Mon Aug 18 14:59:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 14:59:00 2003 Subject: Attaching Fonts In-Reply-To: <41.32ae8673.2c7283b7@aol.com> Message-ID: <9705AD7E-D1B5-11D7-BF81-000A9567A3E6@swcp.com> On Monday, August 18, 2003, at 01:32 PM, FlexibleLearning at aol.com wrote: > Use Tuviah Snyder's EXT external to 'load' and 'unload' arbitrary > fonts to make sure they are available, irrespective of the user's? > installed fonts. Where is info on this? Dar Scott From FlexibleLearning at aol.com Mon Aug 18 15:08:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon Aug 18 15:08:00 2003 Subject: PCRE & Regex Message-ID: <169.22beadac.2c728a7a@aol.com> Ken: http://www.pcre.org/man.txt Ouch! /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Mon Aug 18 15:10:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 18 15:10:00 2003 Subject: Attaching Fonts In-Reply-To: <9705AD7E-D1B5-11D7-BF81-000A9567A3E6@swcp.com> Message-ID: <009701c365c3$cb0beb90$6801a8c0@LightningFlash> > > Use Tuviah Snyder's EXT external to 'load' and 'unload' arbitrary > > fonts to make sure they are available, irrespective of the user's? > > installed fonts. > > Where is info on this? http://www.xworlds.com/metacard/external.htm Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Mon Aug 18 15:15:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 15:15:00 2003 Subject: PCRE & Regex In-Reply-To: <169.22beadac.2c728a7a@aol.com> Message-ID: On Monday, August 18, 2003, at 02:00 PM, FlexibleLearning at aol.com wrote: > http://www.pcre.org/man.txt > > Ouch! > Skip down 10% to get to the regex part. Dar Scott From kray at sonsothunder.com Mon Aug 18 15:18:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 18 15:18:00 2003 Subject: PCRE & Regex In-Reply-To: <169.22beadac.2c728a7a@aol.com> Message-ID: <009b01c365c4$da59a7d0$6801a8c0@LightningFlash> Ouch indeed, but definitive! :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of FlexibleLearning at aol.com Sent: Monday, August 18, 2003 3:01 PM To: use-revolution at lists.runrev.com Subject: Re: PCRE & Regex Ken: http://www.pcre.org/man.txt Ouch! /H From devin_asay at byu.edu Mon Aug 18 15:19:02 2003 From: devin_asay at byu.edu (Devin Asay) Date: Mon Aug 18 15:19:02 2003 Subject: DB Access in standalones Message-ID: <34F7DBC2-D1B7-11D7-87F1-0030654E23A2@byu.edu> I am building a standalone for OS X 10.2.6 (Rev v. 2.0.2, Commercial Enterprise license). The app uses database calls to a mysql database on my file server. In the development environment it works perfectly. I built an OS X distribution, taking care to include the db libraries. However, the standalone does not successfully contact the database. Instead I get a revdberr, invalid database type. (I chose to include error messages during distribution building. One puzzling thing: The standalone gets built with two folders in the same folder as the application package: database_drivers and revdb.bundle. I thought this was strange, because I'd understood that the db libraries were supposed to be put into the app package. So I moved them into the package. Now when I launch the app and try to connect to the database, it still fails, but I don't get the error message. Can anyone point me in the right direction? Devin Asay Humanities Technology and Research Support Center Brigham Young University From ttasovac at princeton.edu Mon Aug 18 15:20:00 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Mon Aug 18 15:20:00 2003 Subject: Attaching Fonts In-Reply-To: <41.32ae8673.2c7283b7@aol.com> Message-ID: <6B3DE87D-D1B8-11D7-9D4D-000393D60E0C@princeton.edu> as far as i remember, load font was available only for windows, so it won't solve the cross-platform font problem that has been discussed here. or am i wrong? Am Montag, 18.08.03 um 21:32 Uhr schrieb FlexibleLearning at aol.com: > > I don't know anything about "attaching" fonts to an application. I > just > > include the fonts in my installer. And this works fine [for me]. > > Use Tuviah Snyder's EXT external to 'load' and 'unload' arbitrary > fonts to make sure they are available, irrespective of the user's > installed fonts. > > /H > From dsc at swcp.com Mon Aug 18 15:21:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 15:21:01 2003 Subject: Attaching Fonts In-Reply-To: <009701c365c3$cb0beb90$6801a8c0@LightningFlash> Message-ID: <97A05444-D1B8-11D7-BF81-000A9567A3E6@swcp.com> On Monday, August 18, 2003, at 02:03 PM, Ken Ray wrote: >>> Use Tuviah Snyder's EXT external to 'load' and 'unload' arbitrary >>> fonts to make sure they are available, irrespective of the user's? >>> installed fonts. >> >> Where is info on this? > > http://www.xworlds.com/metacard/external.htm Thanks! I read this as indicating the ability to load fonts is in the Windows version only. Dar Scott From dsc at swcp.com Mon Aug 18 15:50:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 15:50:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: On Monday, August 18, 2003, at 06:45 AM, Wolfgang M. Bereuter wrote: >> Assuming they are, can the same font be attached to the >> application/stack and work on both Mac and Windows without the user >> having to install the font? ... > Thats exactly THE question! Very interesting... I have heard of embedded fonts. Not just acrobat and web, but also applications and documents on several operating systems. I'd like to learn more of this. Just having look-the-same fonts for multiple operating system and installing them might work. Having those stuffed in custom properties and then birthed and installed with shell or AppleScript would be cool if a restart is not needed or anything like that. Even cooler would be having three fonts built into the engine and they look the same on whatever platform. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Mon Aug 18 15:52:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 15:52:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: On Sunday, August 17, 2003, at 11:03 AM, Dan Friedman wrote: > serif, and > san-serif What? No fixed-pitch, too? Dar Scott From livfoss at blueyonder.co.uk Mon Aug 18 15:53:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Aug 18 15:53:00 2003 Subject: Richmond, rudeness and commercial enterprise Message-ID: Not to extend this at any length, but just to say that I'm with Jacque and others in supporting the RunRev guys. Her point is key: > >I want this company to succeed. I want x-talk to be around forever. I had to scratch around to pay for my first licence, and I admit I even grumbled a bit when comparing the price with other tools I'd used, but the above point is so important that I soon realised that it was a fair price since it gave RunRev a chance to stay in business. Back to work. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From janschenkel at yahoo.com Mon Aug 18 15:54:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 18 15:54:01 2003 Subject: DB Access in standalones In-Reply-To: <34F7DBC2-D1B7-11D7-87F1-0030654E23A2@byu.edu> Message-ID: <20030818204736.73872.qmail@web11908.mail.yahoo.com> --- Devin Asay wrote: > I am building a standalone for OS X 10.2.6 (Rev v. > 2.0.2, Commercial > Enterprise license). The app uses database calls to > a mysql database on > my file server. In the development environment it > works perfectly. I > built an OS X distribution, taking care to include > the db libraries. > However, the standalone does not successfully > contact the database. > Instead I get a revdberr, invalid database type. (I > chose to include > error messages during distribution building. > > One puzzling thing: The standalone gets built with > two folders in the > same folder as the application package: > database_drivers and > revdb.bundle. I thought this was strange, because > I'd understood that > the db libraries were supposed to be put into the > app package. So I > moved them into the package. Now when I launch the > app and try to > connect to the database, it still fails, but I don't > get the error > message. > > Can anyone point me in the right direction? > > Devin Asay > Hi Devin, You might want to check out the Transcript dictionary entry for the 'revSetDatabaseDriverPath' command. If that doesn't cut it, insert an 'answer' with all your connection parameters to make sure they're up to sniff. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From livfoss at blueyonder.co.uk Mon Aug 18 16:01:02 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Aug 18 16:01:02 2003 Subject: How can I make my mainstack stay invisible? Message-ID: On Mon, 18 Aug 2003 08:08:43 -0400, Ken Norris wrote: > >Why not set the first card of the mainstack as a splash image at startup, >then send the mainstack offscreen and open your substacks at specified >locations. This way, the user won't know the splash is part of it, will >never see it after it departs the screen area, will stay open because the >user can't accidentally close it. and Wolfgang M. Bereuter wrote: >Make a splash screen only to click on to start. And hide the mainstack in the data folder with all the other stuff... Yes, that's what I should have done. But with a deadline approaching and many hours of scripting and testing behind me, I didn't want to reorganise my app at this particular moment. The next one is already being constructed on the lines suggested. I have solved the problem for now using Richard Gaskin's point that > >If you use a preOpenStack handler in the card script you should be able to >do anything you like before the mainstack is drawn. once I got used to the idea that the preOpenStack goes to the card first and then the stack. Anyway crisis over for now and the beta has been sent off. Thanks to all. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From janschenkel at yahoo.com Mon Aug 18 16:14:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 18 16:14:01 2003 Subject: Database tool In-Reply-To: Message-ID: <20030818210723.92261.qmail@web11905.mail.yahoo.com> --- Michael Young wrote: > Hello experts, > > I need some advice before I head down a path that > may end in a dead end > since I am still an RR neophyte getting to know this > tool. > > I know the old saying about choosing the right tool > for the job, however > while I have engineering degrees and programming > experience in LabVIEW, C, > Pascal on IBM mainframe, PEP assembler and etc. I am > currently a hobbyist > who does not have the time to learn and use multiple > tools so I subscribe to > the theory of learning one hammer really well and > turning everything into a > nail. :-) (For example, I previously used LabVIEW to > create simple HTML > files by pulling files from various local hard drive > directories that for > those of you who know LIVE probably seems silly, but > it worked well. I > viewed myself as inventive not crazy. :-) ) So, is > RR a reasonable database > tool substitute for an application like Filemaker > Pro on Macintosh OS X to > create simple databases (single user with hundreds > of new records per month > and sometimes simple file i/o for pdf storage and > display retrieval)? If so, > where can I find the "best practice" examples on how > to develop such > databases (I have already worked through the > tutorial database)? If not, > what database management system is suggested? (I do > not want to start a > flame war, but I simply do not like FMP.) > > Thanks in advance for your input, > > Michael > Hi Michael, As you're looking for an elaborate yet easy-to-use general-purpose development tool, Revolution is an excellent candidate. If you only need Windows and MacOS support, Valentina is a wonderful companion as you only need single-user access. The best part is that if you don't use any database-specific SQL-extensions, you can take your code and hook it up to MySQL, PostgreSQL or any ODBC-enabled database, and all you have to do is change the connection parameters. The built-in query manager and its database-linked fields, checkboxes and option-menus make it easy to hook your stacks up to an SQL database, with a minimum of scripting effort required. Some people even use Revolution in conjunction with FileMaker Pro : you'll get all the flexibility of a complete scripting language, along with the power of one of the easiest databases to setup and maintain. As for tutorials, have a look at the Revolution Developer Central - User contributions : Direct link to Tuviah Snyder's Database Examples : And Sarah Reichelt has some fine examples on how to hook up Revolution to MySQL ; check out her site : Last but not least, a great alternative to all the SQL databases, is Serendipity Database - Binary ; written entirely in Transcript ; works seamlessly across the 11 Revolution-supported platforms ; can be completely embedded in your applications. Then again, the author Rob Cozens already gave you a link, so you may have downloaded it and played around a bit ; I mainly wanted to endorse it :-) Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jacque at hyperactivesw.com Mon Aug 18 16:18:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 18 16:18:00 2003 Subject: DB Access in standalones In-Reply-To: <34F7DBC2-D1B7-11D7-87F1-0030654E23A2@byu.edu> References: <34F7DBC2-D1B7-11D7-87F1-0030654E23A2@byu.edu> Message-ID: <3F4140F7.4010407@hyperactivesw.com> On 8/18/03 3:04 PM, Devin Asay wrote: > One puzzling thing: The standalone gets built with two folders in the > same folder as the application package: database_drivers and > revdb.bundle. I thought this was strange, because I'd understood that > the db libraries were supposed to be put into the app package. So I > moved them into the package. Now when I launch the app and try to > connect to the database, it still fails, but I don't get the error message. Is the externals property set to the right path? The externals property is relative to the application bundle, not the engine inside the Contents folder. That's probably why Rev puts it where you first found it. I believe Rev also tries to set the externals property during a build. If you moved the files, the path that Rev sets would no longer be accurate (and it produces a silent error in that case.) This sounds a lot like the problems I've had loading externals, which has almost always been a problem with paths during startup. Also, if it applies, it seems to help to keep all the database calls in the mainstack rather than in substacks. There seems to be some problem with substacks that make calls to externals. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Aug 18 16:39:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 16:39:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: Message-ID: <74AEEA15-D1C3-11D7-BF81-000A9567A3E6@swcp.com> On Monday, August 18, 2003, at 08:44 AM, Mathewson wrote: > 2. Rudeness.......I remember hearing about some aid > workers in Ethiopia who gave out free orange juice to > children: the parents would come and help the aid workers > in a variety of ways. Suddenly the aid workers started > demanding money for the juice - one of them was killed by a > prent of one of the children who had previously recieved > juice. Whereas, I do sell services and do hope to sell products in the future, I will take this threat seriously and will take steps to make sure I never use your "free" advice. Moreover, I would like to say to all that my comments on this list are absolutely free & have no strings attached and should any person actually pay attention to them (it could happen) and use them to make big bucks, I am very pleased. That person owes me nothing, zip, nata, zero, nada, zilch. Dar Scott From alw918 at earthlink.net Mon Aug 18 16:53:01 2003 From: alw918 at earthlink.net (Andrew) Date: Mon Aug 18 16:53:01 2003 Subject: image resize 2 Message-ID: An amendment to my last posting. Mark Talluto had asked if my image was 72 dpi, because if so, the image would be sized larger that it may have been intended when imported in to Rev. Sorry, I don't know what the dpi of my image is. I'm simply drawing it in the paint program of an application called Claris Works and copy-pasting it into Revolution. But again, the size of the image is not being effected, but rather the rect of the image. Thanks! Andrew From stephenREVOLUTION at barncard.com Mon Aug 18 16:58:00 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Mon Aug 18 16:58:00 2003 Subject: Portable fonts and usage recommendations needed Message-ID: In the old Hypercard, you could put FONT resources in the resource fork of the stack and they would be recognized by HC. It was a wonderful solution. We were told it wasn't 'kosher' to do that, but it worked great!!! As the basic concept of fonts is not really platform specific, it seems like there should be some way to do this in Rev. Perhaps even a 'special set' of fonts that could be included or sold separately. >> THE question! Very interesting... > >I have heard of embedded fonts. Not just acrobat and web, but also >applications and documents on several operating systems. I'd like >to learn more of this. > > >Dar Scott > From todd at geistinteractive.com Mon Aug 18 17:07:01 2003 From: todd at geistinteractive.com (Todd Geist) Date: Mon Aug 18 17:07:01 2003 Subject: Database tool In-Reply-To: <20030818210723.92261.qmail@web11905.mail.yahoo.com> Message-ID: On 8/18/03 3:07 PM, "Jan Schenkel" wrote: > Some people even use Revolution in conjunction with > FileMaker Pro : you'll get all the flexibility of a > complete scripting language, along with the power of > one of the easiest databases to setup and maintain. I'd be curious to know how people are accessing FileMaker Pro from Rev. Applescript? ODBC? XML? Thanks Todd -- Todd Geist _________________________________ g e i s t i n t e r a c t i v e web hosting ? web design ? application design From ambassador at fourthworld.com Mon Aug 18 17:24:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 18 17:24:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: Stephen Quinn Barncard wrote: > In the old Hypercard, you could put FONT resources in the resource > fork of the stack and they would be recognized by HC. It was a > wonderful solution. We were told it wasn't 'kosher' to do that, but > it worked great!!! ...until you printed, then (with System 7 and later) it crashed the machine. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From stephenREVOLUTION at barncard.com Mon Aug 18 17:32:00 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Mon Aug 18 17:32:00 2003 Subject: Portable fonts and usage recommendations needed Message-ID: Printing fonts were selected by the user in my apps. I'm talking about display, labels, etc. I didn't use HC printing anyway, I used Printreport.... >Stephen Quinn Barncard wrote: > >> In the old Hypercard, you could put FONT resources in the resource >> fork of the stack and they would be recognized by HC. It was a >> wonderful solution. We were told it wasn't 'kosher' to do that, but >> it worked great!!! > >...until you printed, then (with System 7 and later) it crashed the machine. > >-- > Richard Gaskin From gizmotron at earthlink.net Mon Aug 18 17:39:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 17:39:00 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: Message-ID: <4E20A522-D1CC-11D7-9878-000A95859272@earthlink.net> On Monday, August 18, 2003, at 01:44 PM, Dar Scott wrote: > Even cooler would be having three fonts built into the engine and they > look the same on whatever platform. > > Dar Scott That would make a great feature upgrade. Mark From alw918 at earthlink.net Mon Aug 18 17:40:00 2003 From: alw918 at earthlink.net (Andrew) Date: Mon Aug 18 17:40:00 2003 Subject: image resize 2 Message-ID: An amendment to my last posting. Mark Talluto had asked if my image was 72 dpi, because if so, the image would be sized larger that it may have been intended when imported in to Rev. Sorry, I don't know what the dpi of my image is. I'm simply drawing it in the paint program of an application called Claris Works and copy-pasting it into Revolution. But again, the size of the image is not being effected, but rather the rect of the image. Thanks! Andrew From alw918 at earthlink.net Mon Aug 18 17:41:01 2003 From: alw918 at earthlink.net (Andrew) Date: Mon Aug 18 17:41:01 2003 Subject: image resize 2 Message-ID: <96B5244B-D1CB-11D7-AF6B-000393DD0724@earthlink.net> An amendment to my last posting. Mark Talluto had asked if my image was 72 dpi, because if so, the image would be sized larger that it may have been intended when imported in to Rev. Sorry, I don't know what the dpi of my image is. I'm simply drawing it in the paint program of an application called Claris Works and copy-pasting it into Revolution. But again, the size of the image is not being effected, but rather the rect of the image. Thanks! Andrew From gizmotron at earthlink.net Mon Aug 18 17:53:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 17:53:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: <74AEEA15-D1C3-11D7-BF81-000A9567A3E6@swcp.com> Message-ID: <4D8864B6-D1CE-11D7-9878-000A95859272@earthlink.net> On Monday, August 18, 2003, at 02:32 PM, Dar Scott wrote: > Moreover, I would like to say to all that my comments on this list are > absolutely free & have no strings attached and should any person > actually pay attention to them (it could happen) and use them to make > big bucks, I am very pleased. That person owes me nothing, zip, nata, > zero, nada, zilch. > > Dar Scott Wow. That's very cool. I would have struggled for many weeks longer than it took to add those optimizations to my rev_blowfish example. I'm real glad that I owe you nothing now. I didn't want to give you a free MTML publishing app anyway... .... ;;; .... /// ???? just kidding :-) From rjb at rz.uni-potsdam.de Mon Aug 18 17:55:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Aug 18 17:55:00 2003 Subject: Best way to set up an idle timer - The prize goes to... In-Reply-To: <18B42D9D-D1AC-11D7-87F1-0030654E23A2@byu.edu> References: <18B42D9D-D1AC-11D7-87F1-0030654E23A2@byu.edu> Message-ID: >==============start script sample (line wrapping alert!)============ >-- first of all, put into an otherwise unused script: >on mouseMove > send "resetLogout" to stack "chinpr" > pass mouseMove >end mouseMove > >on rawKeyDown > send "resetLogout" to stack "chinpr" > pass rawKeyDown >end rawKeyDown > >-- then I put into my stack script: >on openStack > -- my other openStack junk here > insert the script of image "P&Rbg1.jpg" of stack "chinpr" into >front -- this handles mouseMove and rawKeyDown > resetLogout -- start the logout countdown >end openStack > >on logoutQuery > if the userPIN of this stack is not empty then > beep > answer "An appropriate prompt here." with "Logout" or "Enter PIN..." > if it is "Enter PIN..." then -- (user chose to continue) > repeat > ask "Enter your PIN to continue the test." > if it is the userPIN of this stack then > resetLogout > exit repeat > else > answer information "Incorrect PIN. Try Again or Logout?" >with "Logout" or "Try Again" > if it is "Logout" then > go card "menu" of stack "chinpr" > logout > exit repeat > end if > end if > end repeat > exit logoutquery > else if it is "Logout" then -- (user chose to log out) > go card "menu" of stack "chinpr" > logout > exit logoutQuery > end if > end if >end logoutQuery > >on resetLogout > -- cancel item 1 of last line of the pendingMessages > put the pendingMessages into pndgMsgs > repeat for each line thisMsg in pndgMsgs > if item 3 of thisMsg contains "logoutQuery" then cancel item 1 of thisMsg > end repeat > send "logoutQuery" to stack "chinpr" in 5 * 60 seconds -- or >whatever time period you want >end resetLogout > >========================end script sample========================== > >Devin Asay >Humanities Technology and Research Support Center >Brigham Young University I am coming late to this thread. While the above solution works, there is an alternative approach that eliminates the need to deal with sending and fiddling with pending messages, assuming that you are after catching user doing nothing in the program because of leaving or talking on the phone or going to get coffee. The key element is to store a timestamp (easiest to use is the seconds function) of last activity in parallel to userPIN. The resetLogout function would then check whether the difference between current seconds and the last stored seconds is more than timeout threshold. If yes, it would call logoutQuery alse reset the timestamp to current seconds. Of course, a big functional difference is that with sending, you can display a logout dialog when the timeout threshold actually expires. Without sending, you would need to modify the dialog to say something like: due to xx minutes of inactivity you were logged out; enter your PIN to log in or click exit to leave the program. The user does not need to know that you are actually bluffing and will log him out only now. The plus of this solution is that it is not affected by computer sleeping. RObert From jameslewes at comcast.net Mon Aug 18 17:55:20 2003 From: jameslewes at comcast.net (James Lewes) Date: Mon Aug 18 17:55:20 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: <74AEEA15-D1C3-11D7-BF81-000A9567A3E6@swcp.com> Message-ID: <18B95956-D1CE-11D7-9F8F-000502F78A80@comcast.net> Can I have that in writing, on the back of an extremely large check. Please make sure to have enough in your bank account to enable me to hire a body guard to protect me from the hitman you decided to hire and whack me. James On Monday, August 18, 2003, at 05:32 PM, Dar Scott wrote: > > On Monday, August 18, 2003, at 08:44 AM, Mathewson wrote: > >> 2. Rudeness.......I remember hearing about some aid >> workers in Ethiopia who gave out free orange juice to >> children: the parents would come and help the aid workers >> in a variety of ways. Suddenly the aid workers started >> demanding money for the juice - one of them was killed by a >> prent of one of the children who had previously recieved >> juice. > > Whereas, I do sell services and do hope to sell products in the > future, I will take this threat seriously and will take steps to make > sure I never use your "free" advice. > > Moreover, I would like to say to all that my comments on this list are > absolutely free & have no strings attached and should any person > actually pay attention to them (it could happen) and use them to make > big bucks, I am very pleased. That person owes me nothing, zip, nata, > zero, nada, zilch. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Mon Aug 18 18:01:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 18:01:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: <4D8864B6-D1CE-11D7-9878-000A95859272@earthlink.net> Message-ID: <094898A8-D1CF-11D7-BF81-000A9567A3E6@swcp.com> On Monday, August 18, 2003, at 04:50 PM, Mark Brownell wrote: > Wow. That's very cool. I would have struggled for many weeks longer > than it took to add those optimizations to my rev_blowfish example. > I'm real glad that I owe you nothing now. I didn't want to give you a > free MTML publishing app anyway... ... > just kidding :-) I would be very pleased to receive your gift of a free MTML publishing app. And your free kidding is appreciated, too. That is free, isn't it? Dar Scott From dsc at swcp.com Mon Aug 18 18:07:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 18:07:00 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: <18B95956-D1CE-11D7-9F8F-000502F78A80@comcast.net> Message-ID: On Monday, August 18, 2003, at 04:48 PM, James Lewes wrote: > Can I have that in writing, on the back of an extremely large check. > Please make sure to have enough in your bank account to enable me to > hire a body guard to protect me from the hitman you decided to hire > and whack me. But if you make "big bucks", you should be able to hire your own body guard! (Hmmm. I seem to be taking some ribbing on this. And all for free, I assume!) Dar Scott From gizmotron at earthlink.net Mon Aug 18 18:10:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 18:10:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: <094898A8-D1CF-11D7-BF81-000A9567A3E6@swcp.com> Message-ID: On Monday, August 18, 2003, at 03:55 PM, Dar Scott wrote: > I would be very pleased to receive your gift of a free MTML publishing > app. And your free kidding is appreciated, too. That is free, isn't > it? > > Dar Scott No, now that I think this transaction over. That will be 2 cents please and would you please send that by private secure currier ASAP. Mark From revlists at canelasoftware.com Mon Aug 18 18:11:02 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Mon Aug 18 18:11:02 2003 Subject: image resize 2 In-Reply-To: Message-ID: <5723C6D8-D1D0-11D7-A7D9-000393C3F5BC@canelasoftware.com> On Sunday, August 17, 2003, at 11:33 PM, Andrew wrote: > An amendment to my last posting. > Mark Talluto had asked if my image was 72 dpi, because if so, the > image would be sized > larger that it may have been intended when imported in to Rev. > Sorry, I don't know what the dpi of my image is. I'm simply drawing > it in the paint program of an application called Claris Works and > copy-pasting it into Revolution. But again, the size of the image is > not being effected, but rather the rect of the image. > Thanks! > Andrew > > Andrew, When the image is imported into Rev, does it look pixelated? If not, then the dpi must be greater than 72. If it does appear jaggy, then Rev is stretching it out form some reason. I am not sure why, but it is easy to fix with formattedWidth and formattedHeight. Best regards, Mark Talluto http://www.canelasoftware.com From stephenREVOLUTION at barncard.com Mon Aug 18 18:14:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Mon Aug 18 18:14:01 2003 Subject: image resize 2 Message-ID: Clarisworks/Appleworks allows one to set the dpi of the painting. Select Format>Resolution & Depth the default is 72 dpi >An amendment to my last posting. >Mark Talluto had asked if my image was 72 dpi, because if so, the >image would be sized >larger that it may have been intended when imported in to Rev. >Sorry, I don't know what the dpi of my image is. I'm simply drawing >it in the paint program of an application called Claris Works and >copy-pasting it into Revolution. But again, the size of the image >is not being effected, but rather the rect of the image. >Thanks! >Andrew From monte at sweattechnologies.com Mon Aug 18 18:37:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 18 18:37:00 2003 Subject: Richmond and copyright In-Reply-To: <74AEEA15-D1C3-11D7-BF81-000A9567A3E6@swcp.com> Message-ID: > Whereas, I do sell services and do hope to sell products in the future, > I will take this threat seriously and will take steps to make sure I > never use your "free" advice. > > Moreover, I would like to say to all that my comments on this list are > absolutely free & have no strings attached and should any person > actually pay attention to them (it could happen) and use them to make > big bucks, I am very pleased. That person owes me nothing, zip, nata, > zero, nada, zilch. > WOW! I wonder what will happen while I'm sleeping tonight ;-) To Richmond: As a paid up Enterprise user I'm *very* glad that RunRev have canned the Free Edition. Long term Free Edition users are a drain on RunRev's resources. Who pays of those resources via our license payments? ME et al! To All: I think Dar's statement above and the thread that caused his response is one that needs more thought and a response from RunRev. We do contribute to each other's developments and there are different copyright laws in different countries. For example, in Australia the law is such that whatever I produce I have copyright over whether stated or not. That means that in theory I have copyright over everything I post to this list. I'd like to see a legal document on the RunRev site that automatically disclaims anyone's right to copyright over posts to this list and perhaps to user contributions. The document should also disclaim any liability on behalf of the author. The last thing we need is someone getting sued because they tried to help! I hereby disclaim any copyright over and any liability for anything posted to this listserve. Regards Monte From dsc at swcp.com Mon Aug 18 18:39:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 18:39:00 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: Message-ID: <480ED283-D1D4-11D7-BF81-000A9567A3E6@swcp.com> On Monday, August 18, 2003, at 05:06 PM, Mark Brownell wrote: > No, now that I think this transaction over. That will be 2 cents > please and would you please send that by private secure currier ASAP. Now, by currier, do you mean one who will tan your hide or one who will seek your favor? -- Dar From kkaufman at snet.net Mon Aug 18 18:56:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Aug 18 18:56:01 2003 Subject: Richmond, rudeness and commercial enterprise Message-ID: "Now, by currier, do you mean one who will tan your hide or one who will seek your favor?" And I, for one, am glad to see this sad thread fizzle out in benign absurdity. -Kurt From gizmotron at earthlink.net Mon Aug 18 18:57:02 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 18:57:02 2003 Subject: Richmond and copyright In-Reply-To: Message-ID: <4EA7E1E0-D1D7-11D7-89D8-000A95859272@earthlink.net> On Monday, August 18, 2003, at 04:30 PM, Monte Goulding wrote: > To All: I think Dar's statement above and the thread that caused his > response is one that needs more thought and a response from RunRev. We > do > contribute to each other's developments and there are different > copyright > laws in different countries. For example, in Australia the law is such > that > whatever I produce I have copyright over whether stated or not. That > means > that in theory I have copyright over everything I post to this list. > I'd > like to see a legal document on the RunRev site that automatically > disclaims > anyone's right to copyright over posts to this list and perhaps to user > contributions. The document should also disclaim any liability on > behalf of > the author. The last thing we need is someone getting sued because they > tried to help! > > I hereby disclaim any copyright over and any liability for anything > posted > to this listserve. > > Regards > > Monte Monte, This copyright thread was discussed at length on another list regarding postings to that list and copyright issues. Their concerns where about finding out that there was an archive of all the previous postings. It came up that some wanted to change what they had posted several years earlier. St John's Maelstrom was going to drop years before 1999 because the archive database was getting clogged up. I was going to make an MTML version of the dropped years so that it would not be lost. The final resolution was that if the messages are not changed they can be reproduced (republished) outside of the list without concern for copyright infringement. So to those that wanted there messages changed the answer was no. The archive is public domain as long as it remains in its equivalent form, without changing what was said. I forget the law that was sited in regard to this but I could search for copyright threads from a year ago in that list's archive. Mark From dsc at swcp.com Mon Aug 18 18:59:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 18:59:00 2003 Subject: Richmond and copyright In-Reply-To: Message-ID: <06F5D387-D1D7-11D7-BF81-000A9567A3E6@swcp.com> On Monday, August 18, 2003, at 05:30 PM, Monte Goulding wrote: > I hereby disclaim any copyright over and any liability for anything > posted > to this listserve. Yeah, me, too! I didn't think about the liability part. Dar Scott From gizmotron at earthlink.net Mon Aug 18 19:05:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 19:05:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: <480ED283-D1D4-11D7-BF81-000A9567A3E6@swcp.com> Message-ID: <6CEF3FF8-D1D8-11D7-89D8-000A95859272@earthlink.net> On Monday, August 18, 2003, at 04:32 PM, Dar Scott wrote: >> No, now that I think this transaction over. That will be 2 cents >> please and would you please send that by private secure currier ASAP. > > Now, by currier, do you mean one who will tan your hide or one who > will seek your favor? -- Dar let's see: brown shirt or brown nose... And this: > And I, for one, am glad to see this sad thread fizzle out in benign > absurdity. > -Kurt Wait a second, I wanted to say asshole, shit, turd, fart, butthead, dickhead... From shaosean at unitz.ca Mon Aug 18 19:11:01 2003 From: shaosean at unitz.ca (Shao Sean) Date: Mon Aug 18 19:11:01 2003 Subject: Richmond, rudeness and commercial enterprise Message-ID: <200308190005.UAA16396@bright.unitz.ca> you just did ;-) > Wait a second, I wanted to say asshole, shit, turd, fart, > butthead, dickhead... From erikhans08 at yahoo.com Mon Aug 18 19:20:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Mon Aug 18 19:20:00 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: <200308190005.UAA16396@bright.unitz.ca> Message-ID: <20030819001405.80187.qmail@web20001.mail.yahoo.com> --- Shao Sean wrote: > you just did ;-) > > > Wait a second, I wanted to say... why? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jperryl at ecs.fullerton.edu Mon Aug 18 19:23:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Aug 18 19:23:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: Message-ID: That's not the half of it... I just heard a rumor that a state university president used state-funded student assistants to do work on/for his mother-in-law's house; mind you, this university president gets *free* housing, *free* cars, and his wife is fairly well-paid as well. Meanwhile, I'm lucky to have a single course to teach and so far we'll be using the old 1.x 10-line limited demo until I can beg the department for the paltry $500 to get a lab license... :( Sorry... universities -- especially state-funded ones -- are black holes for kleptocrats. Judy On Mon, 18 Aug 2003, Richard Gaskin wrote: > I'll wager that even the most resource-strapped university spends more on > catering a reception for a visiting lecturer than the cost of a Rev license. > Perhaps the business school could do a quick ROI calculation for the > purchasing department.... From monte at sweattechnologies.com Mon Aug 18 19:24:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 18 19:24:01 2003 Subject: Richmond and copyright In-Reply-To: <4EA7E1E0-D1D7-11D7-89D8-000A95859272@earthlink.net> Message-ID: > Monte, > > This copyright thread was discussed at length on another list regarding > postings to that list and copyright issues. Their concerns where about > finding out that there was an archive of all the previous postings. It > came up that some wanted to change what they had posted several years > earlier. St John's Maelstrom was going to drop years before 1999 > because the archive database was getting clogged up. I was going to > make an MTML version of the dropped years so that it would not be lost. > The final resolution was that if the messages are not changed they can > be reproduced (republished) outside of the list without concern for > copyright infringement. So to those that wanted there messages changed > the answer was no. The archive is public domain as long as it remains > in its equivalent form, without changing what was said. I forget the > law that was sited in regard to this but I could search for copyright > threads from a year ago in that list's archive. > > Mark Mark My guess (and this is something that we probably shouldn't guess about) is that the copyright laws of the originating country apply to each individual post. The copyright over the archive may be another matter as anyone can archive the list. I can't see that any copyright can be held over a collection like that. Otherwise art galleries etc would be laughing. I think this is something that should be considered carefully. How many of us have handlers that came from this list or Ken Ray's Tips in our apps? I do. The last thing we need is SCO taking over one of our companies hey! Regards Monte From dan at clearvisiontech.com Mon Aug 18 19:30:03 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Aug 18 19:30:03 2003 Subject: Dynamic Web Page (Not really a RR question) Message-ID: Is there a way to have a web page either: (1) save it's self, so it's user editable fields can be read later?; or (2) have the web page read a text file and populate it's fields. Then save the user editable fields back to the text file? If either of these options is possible, how would you go about doing it? Or, is there another way to accomplish this task? Background: my application creates a questioner. That questioner (or text file) is posted to a web site. A user then answers the questions by typing in the form fields. (Note that this could be a work in progress. Meaning that the user could put in some text, then come back the next day and continue editing the fields.) When the user is done, the application would then query the web page (or text file) and compile a report. Any thoughts? Thanks! -Dan From dsc at swcp.com Mon Aug 18 19:48:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 19:48:00 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: Message-ID: On Monday, August 18, 2003, at 06:17 PM, Judy Perry wrote: > Meanwhile, I'm lucky to have a single course to teach and so far we'll > be > using the old 1.x 10-line limited demo until I can beg the department > for > the paltry $500 to get a lab license... Maybe the department can buy a $75 version and after seeing what you can do with that will insist you buy more. > Sorry... universities -- especially state-funded ones -- are black > holes > for kleptocrats. I understand your feelings. The processes that cause higher education costs to increase faster than inflation are the same ones that twist one's arm and encourage one to go to a state-funded school. Are you a grad student at Fullerton? Dar Scott From kkaufman at snet.net Mon Aug 18 19:51:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Aug 18 19:51:01 2003 Subject: Dynamic Web Page (Not really a RR question) Message-ID: <7EC2C170-D1DE-11D7-B42C-0003936D1F12@snet.net> "Is there a way to have a web page either: (1) save it's self, so it's user editable fields can be read later?; or (2) have the web page read a text file and populate it's fields. Then save the user editable fields back to the text file?..." This sound like something that could be done using php scripts, assuming you would be able to run php on your server. I have used php to collect data on web pages and have it mailed to a remote address; I see no reason why it couldn't send the text to a local file. If the file is named for the individual filling out the fields, another php script could pull the file and repopulate the fields in the state they were left at the individual's previous session. Maybe Revolution is capable of the same? -Kurt From dan at shafermedia.com Mon Aug 18 20:00:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Mon Aug 18 20:00:01 2003 Subject: Designing a Doc-Centric Web App Message-ID: <9086483E-D1DF-11D7-8C1D-0030656FB5D4@shafermedia.com> I have built a Web application in Zope and Python over the past year or so. The application has become so complex that maintaining it is becoming a bit nightmarish for me. I'm spending far too much time wrestling with the app framework (Zope) and syntax (Python accessing Zope Object Database) than I am solving problems for the client. I have also realized that using an OO database was overkill, and that decision is part of the reason for my current feeling of being trapped inside tiny, twisty passages. This application needs to allow its primary user, who is a professional facilitator conducting a process interview with a client, to: 1. Log in securely (to the app and/or the Web location) 2. Create a new document on the server (transparently to the user, who is decidedly NOT technical) 3. Update the document on the server as he or she asks questions and receives responses (i.e., the document needs to replace or update itself on the net as the user requests that it do so) 4. Locate and retrieve documents from the server, limited only to those created by the particular user, and either view, print or revise those documents One other user, the supervisor, needs to be able to access all documents regardless of which interviewer created them, and review, print, or revise them. The only tricky part is that there are two stages in this interview process where the precise number of times the question has to be asked and answered is not known in advance. I want to create a desktop app in Rev that will handle all the UI, data validation, and communication with the server. I have already designed the window and its screen contents as well as the interaction. The issues I have relate to the interaction between the desktop app and the server from a Revolution perspective. 1. Security is a significant concern. The interview data contains highly personal information about the interviewee. I suspect I'll want to use SSL for the Web connection but it's not clear to me what if anything I need Rev to be able to do to handle SSL and whether there are any gotchas lurking there. 2. I particularly do not want to send login ID and password for the facilitator in the clear. What encryption issues will I encounter in Revolution? Are there encryption algorithms that already work in Rev or will I need either to hook into an Open Source solution or roll my own? 3. Does anyone see any major issues, problems, concerns, or flat-out roadblocks I should think about as I re-design this app? 4. One of my big issues is that if I design this as a document-centric app -- which it seems to want to be -- I won't be structuring the text much, except perhaps for display purposes. As opposed, e.g., to producing a mySQL app (which I could do but which seems like almost as much overkill as my current Zope solution), where the data would be stored presumably more efficiently. But since I *never* need to retrieve only part of the document, it seems most useful from a design perspective simply to treat it as a document. OK, I'm shutting up now and listening for input. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From gizmotron at earthlink.net Mon Aug 18 20:04:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 20:04:00 2003 Subject: Richmond and copyright In-Reply-To: Message-ID: <966E13CA-D1E0-11D7-89D8-000A95859272@earthlink.net> On Monday, August 18, 2003, at 05:17 PM, Monte Goulding wrote: > My guess (and this is something that we probably shouldn't guess > about) is > that the copyright laws of the originating country apply to each > individual > post. The copyright over the archive may be another matter as anyone > can > archive the list. I can't see that any copyright can be held over a > collection like that. Otherwise art galleries etc would be laughing. > > I think this is something that should be considered carefully. How > many of > us have handlers that came from this list or Ken Ray's Tips in our > apps? I > do. The last thing we need is SCO taking over one of our companies hey! > > Regards > > Monte The SCO depute is over permission to disclose patented source code through a lawsuit over breach of contract. All this back and forth stuff is in regards to patents that have been awarded. They exist because of basic concepts for patents here in the USA. If the source code or even the idea that the source code attempts to conceive was published like on a list like this then the source code could not be patented. This is because of the Previous Art clause. So stuff published on this list is already public domain. Now there is the issue of copyright. I believe that you can protect the copyright of an application that you create and defend that in a lawsuit. You could do that without regard for algorithms that were previously published and without fear of previous Art issues like in patents. The trick is to share only what you would not mind giving away. Mark From monte at sweattechnologies.com Mon Aug 18 20:04:18 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 18 20:04:18 2003 Subject: Dynamic Web Page (Not really a RR question) In-Reply-To: Message-ID: Hi Dan > Is there a way to have a web page either: > > (1) save it's self, so it's user editable fields can be read later?; or > No, HTML is dumb. > (2) have the web page read a text file and populate it's fields. > Then save > the user editable fields back to the text file? This is possible with JavaScript but it's probably a hard way to go about it. And you would still need a CGI back end for the saving. > > If either of these options is possible, how would you go about doing it? > Or, is there another way to accomplish this task? > Use Rev CGI. Check out Tip of the week 6 on the RunRev website for basic stuff. Create a template HTML page using the merge function syntax (see the docs). Include username and password hidden fields in the page. Create another page where the user enters username and password with a submit button pointing to your cgi script. The first time the user enters in a username the cgi creates a stack named username.rev and a customProperty uPassword the value of the password. Every other time the cgi should check the password matches the username then uses the merge function to return the currently saved data in the html page. Hope that all makes sense ;-) It will all be heaps easier when Rodney and I release libCGI. Cheers Monte From stephenREVOLUTION at barncard.com Mon Aug 18 20:04:37 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Mon Aug 18 20:04:37 2003 Subject: Dynamic Web Page (Not really a RR question) Message-ID: Dynamic is the correct term to describe what you want. There are many ways to do this and it's all do-able , just write or rip the code. The best way is to use a database file, either text file, or better yet, SQL. For persistence between sessions, you'd need to factor in some kind of cookie code or set up a password system to access the database. Check out online script collections for free PHP or PERL scripts that will do this, google for 'script archives'. You will need a full-service web server account, which today are cheap and fast. Dreamhost is a really good webhost among hundreds of providers that can give you a UNIX domained account with PERL, PHP, PYTHON and MYSQL. $10/month will give you the above and 300 mb of space, $20/month will give you more space and shell access. http://dreamhost.com I currently run 10 sites there. sqb >Is there a way to have a web page either: > >(1) save it's self, so it's user editable fields can be read later?; or > >(2) have the web page read a text file and populate it's fields. Then save >the user editable fields back to the text file? > >If either of these options is possible, how would you go about doing it? >Or, is there another way to accomplish this task? > >Background: my application creates a questioner. That questioner (or text >file) is posted to a web site. A user then answers the questions by typing >in the form fields. (Note that this could be a work in progress. Meaning >that the user could put in some text, then come back the next day and >continue editing the fields.) When the user is done, the application would >then query the web page (or text file) and compile a report. > >Any thoughts? > >Thanks! >-Dan From gizmotron at earthlink.net Mon Aug 18 20:18:02 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Aug 18 20:18:02 2003 Subject: Dynamic Web Page (Not really a RR question) In-Reply-To: Message-ID: <99F53617-D1E2-11D7-89D8-000A95859272@earthlink.net> On Monday, August 18, 2003, at 05:33 PM, Dan Friedman wrote: > Is there a way to have a web page either: > > (1) save it's self, so it's user editable fields can be read later?; or > > (2) have the web page read a text file and populate it's fields. Then > save > the user editable fields back to the text file? I built a website, using shockwave, an MTML form validation system to allow users to complete a form that checks as they go and included a pause feature that allowed the user to return at a later day to pick up where they left off. It did this by storing results on the user's hard drive and storing them in the web app's e-mail formatted system. When the form was completed it was encrypted using 128 bit encryption and sent to the sender using FTP. It was all scriptable in MTML. So it worked from an external text file that the web app retrieved from a server. look at this old idea: demo http://www.gizmotron.org/winged/ The competition for this came out of everywhere in just one month so I discarded the idea. Mark From dsc at swcp.com Mon Aug 18 20:37:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 18 20:37:01 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' Message-ID: I very much appreciate advice from folks on the list. Here is a partial attempt to return the favor. I am making available to all a stack I call "A Primer on Message Mechanics". It is an introduction to the use of send, cancel and pendingMessages. It is a little long, but it does start at basics and builds up from those. It provides a peek into my style, but I think it is general enough that you can develop your own style. Thumb through it a few coffee breaks and download breaks and you should get a feel for how to use send. It does not walk you through building any examples, but it does have lots of examples, each building on concepts from previous pages and previous examples. It is essentially an 88 page booklet with live examples and demos. I created this on OS X and checked it out on Windows XP and Mac OS 9. It is designed to be used in the Revolution environment, but I see no reason why a standalone cannot be built from it--I just haven't tried it yet. I have heard that it crashes on Windows ME, but it seems to work on two other versions of Windows--watch out. I have no idea how useful this will be to MC folks. Many of the examples are flashing indicators and some of those use red. If this might be a health problem for you, send me a note before getting the stack. If you are new to send and get bogged down, I would appreciate it if you would try to articulate where I lost you--if you have time and feel so inclined. Sometimes I get to thinking something is obvious and forget all I had to go through to learn it. If you are an expert in send, please let me know where I have lied. All, I welcome comment on my style and especially where I have failed to treat the user with respect. I think there are still many spelling errors and I welcome comments on those. I welcome comment on any goof. I apologize for saying publicly, "It is coming!" and then taking so long to get it out. I risked it being a little belabored to try to cover all those little preliminary concepts as well as a few advanced 'gotchas'. You can find "A Primer on Message Mechanics" here: Enjoy! Dar Scott From monte at sweattechnologies.com Mon Aug 18 20:37:21 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 18 20:37:21 2003 Subject: Designing a Doc-Centric Web App In-Reply-To: <9086483E-D1DF-11D7-8C1D-0030656FB5D4@shafermedia.com> Message-ID: > > OK, I'm shutting up now and listening for input. > Hi Dan It's almost as though if you had file server that you could mount on the desktop with a subfolder for each interviewer and a root folder for the supervisor then you could just write this as a desktop app. Just an idea. Monte From soapdog at mac.com Mon Aug 18 20:40:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Mon Aug 18 20:40:00 2003 Subject: XML-RPC Support? In-Reply-To: <20030818054839.81172.qmail@web11906.mail.yahoo.com> Message-ID: On Monday, August 18, 2003, at 02:48 AM, Jan Schenkel wrote: > --- Dan Shafer wrote: >> I thought I had read or heard somewhere that >> Revolution supports >> XML-RPC. But searching docs turns up no clues. >> >> Anyone got a pointer? >> > > Hi Dan, > > Revolution supports SOAP, which one might say > supersedes XML-RPC. > Have a look at \Sample stacks\SOAP_Toolbox.rev > > Hope this helped, > > Jan Schenkel. Jan, I do not think soap supersedes XML-RPC.... Soap is to complicated to use, xml-rpc is simple and does the job well, i never knew a project that really needed soap, xml-rpc always live up to the job for me. the sites: http://www.soapware.org http://www.xmlrpc.com Are both from Userland, they've got the specs, the implementations and a list of public avaiable services. xml-rpc has more services avaiable and is easier to implement. As for Dan question, he can implement xml-rpc by himself (it's not that hard!!!) or if he's using MacOS he can call applescripts to the xml-rpc call for him and pass back the results!!!! Cheers! Andre > > ===== > "As we grow older, we grow both wiser and more foolish at the same > time." (La Rochefoucauld) > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From monte at sweattechnologies.com Mon Aug 18 20:40:21 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 18 20:40:21 2003 Subject: Richmond and copyright In-Reply-To: <966E13CA-D1E0-11D7-89D8-000A95859272@earthlink.net> Message-ID: The SCO comment was just a stupid remark, sorry to confuse the issue. > So stuff published on this list is already public domain. Now there is > the issue of copyright. I believe that you can protect the copyright of > an application that you create and defend that in a lawsuit. You could > do that without regard for algorithms that were previously published > and without fear of previous Art issues like in patents. The trick is > to share only what you would not mind giving away. Copyright in the US is quite different from that in Australia. Over there you need to register the software to claim copyright. Here's it's implied at the time of creation. Unless I explicitly sign over the copyright to my work it remains mine. It's important to note that there are agreements between the US and Australia to recognise each others copyright laws as I'm sure there are between most countries. So as you can see the issue gets a bit fuzzy when you have a list like this made up of people from different countries. Regards Monte From themacguy at macosx.com Mon Aug 18 20:41:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 18 20:41:01 2003 Subject: Dynamic Web Page In-Reply-To: <200308190005.UAA10504@www.runrev.com> Message-ID: <502C36CC-D1E5-11D7-A0A4-000A95763ABC@macosx.com> Dan, HTML is not dynamic so you'd need to use something like Javascript. I'm not sure, however, if Javascript can do anything outside of its sandbox, so to speak (like the hard drive's filesystem). Barry On Monday, Aug 18, 2003, at 18:05 America/Denver, Dan Shafer wrote: > Subject: Dynamic Web Page (Not really a RR question) > From: Dan Friedman > Is there a way to have a web page either: > > (1) save it's self, so it's user editable fields can be read later?; or > > (2) have the web page read a text file and populate it's fields. Then > save > the user editable fields back to the text file? > > If either of these options is possible, how would you go about doing > it? > Or, is there another way to accomplish this task? > > Background: my application creates a questioner. That questioner (or > text > file) is posted to a web site. A user then answers the questions by > typing > in the form fields. (Note that this could be a work in progress. > Meaning > that the user could put in some text, then come back the next day and > continue editing the fields.) When the user is done, the application > would > then query the web page (or text file) and compile a report. > > Any thoughts? > > Thanks! > -Dan > From kkaufman at snet.net Mon Aug 18 20:44:00 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Aug 18 20:44:00 2003 Subject: Dynamic Web Page (Not really a RR question) Message-ID: You might want to take a look at this link from a thread earlier this month ("Very easy to build a web database"): http://gladstone.uoregon.edu/~tfurukaw/RunRev/developer.html Now I'm just guessing here: Perhaps each user could populate their own stack using email-address/password. From chipp at chipp.com Mon Aug 18 20:59:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Mon Aug 18 20:59:00 2003 Subject: Designing a Doc-Centric Web App In-Reply-To: <9086483E-D1DF-11D7-8C1D-0030656FB5D4@shafermedia.com> Message-ID: Hi Dan, You know, I've been building such apps for sometime now. In fact, Jerry Daniels here in Austin, just finished one with our help. See below for some comments... > I have built a Web application in Zope and Python over the past year or > so. The application has become so complex that maintaining it is > becoming a bit nightmarish for me. I'm spending far too much time > wrestling with the app framework (Zope) and syntax (Python accessing > Zope Object Database) than I am solving problems for the client. I have > also realized that using an OO database was overkill, and that decision > is part of the reason for my current feeling of being trapped inside > tiny, twisty passages. > > This application needs to allow its primary user, who is a professional > facilitator conducting a process interview with a client, to: > > 1. Log in securely (to the app and/or the Web location) No problem...one of the nice things about RR is you can create a 'stateless' web application. In fact, I've been pushing this approach to some of our clients because you *DON'T* have to download the interface, and interface logic each time you launch it (unlike browser based web apps where all the DHTML, button images, etc.. gets downloaded each time you visit a page). You might want to check out Philip Chumbley's article: "(Nearly) Unbreakable KeyFile Encryption" can be found at: http://www.sonsothunder.com/devres/revolution/revolution.htm?_dply003 While this isn't SSL, it can be used to communicate between two clients...or if you're good at scripting PHP, you could implement it on the PHP server. > 2. Create a new document on the server (transparently to the user, who > is decidedly NOT technical) What type of document? Will the user be uploading a file? If so, get with me offline as we've been working on a http file uploader which works with PHP and Apache. > 3. Update the document on the server as he or she asks questions and > receives responses (i.e., the document needs to replace or update > itself on the net as the user requests that it do so) If it's a txt file, that's not a problem. If it's RTF or PDF, it might be a bit more difficult, but not impossible. > 4. Locate and retrieve documents from the server, limited only to those > created by the particular user, and either view, print or revise those > documents Simple permissions stuff. You may have to write a group permissions editor. > > One other user, the supervisor, needs to be able to access all > documents regardless of which interviewer created them, and review, > print, or revise them. Admin mode? > > The only tricky part is that there are two stages in this interview > process where the precise number of times the question has to be asked > and answered is not known in advance. > > I want to create a desktop app in Rev that will handle all the UI, data > validation, and communication with the server. I have already designed > the window and its screen contents as well as the interaction. > > The issues I have relate to the interaction between the desktop app and > the server from a Revolution perspective. > > 1. Security is a significant concern. The interview data contains > highly personal information about the interviewee. I suspect I'll want > to use SSL for the Web connection but it's not clear to me what if > anything I need Rev to be able to do to handle SSL and whether there > are any gotchas lurking there. SSL is not available yet, but is expected to be coming soon. I'm not a big fan of SSL as I believe it slows things down too much. IMHO, Use it sparingly. > > 2. I particularly do not want to send login ID and password for the > facilitator in the clear. What encryption issues will I encounter in > Revolution? Are there encryption algorithms that already work in Rev or > will I need either to hook into an Open Source solution or roll my own? See article above. > > 3. Does anyone see any major issues, problems, concerns, or flat-out > roadblocks I should think about as I re-design this app? > > 4. One of my big issues is that if I design this as a document-centric > app -- which it seems to want to be -- I won't be structuring the text > much, except perhaps for display purposes. As opposed, e.g., to > producing a mySQL app (which I could do but which seems like almost as > much overkill as my current Zope solution), where the data would be > stored presumably more efficiently. But since I *never* need to > retrieve only part of the document, it seems most useful from a design > perspective simply to treat it as a document. Yep, I agree. Use the filesystemobject if you can. If you don't have to do any database intensive stuff, it could work well for you. Though, I think it's slower than updating a DB. best. Chipp From soapdog at mac.com Mon Aug 18 21:09:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Mon Aug 18 21:09:00 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' In-Reply-To: Message-ID: Hi Dar, Thank you, thank you very much for your primer!!!! it's very fun and i learned much!!!!! I'll also download the primer primer so that i can make primers myself... we could really help the community with approaches like this!!!! Thanks you again for the very good job Andre On Monday, August 18, 2003, at 10:30 PM, Dar Scott wrote: > I very much appreciate advice from folks on the list. Here is a > partial attempt to return the favor. > > I am making available to all a stack I call "A Primer on Message > Mechanics". It is an introduction to the use of send, cancel and > pendingMessages. > > It is a little long, but it does start at basics and builds up from > those. It provides a peek into my style, but I think it is general > enough that you can develop your own style. Thumb through it a few > coffee breaks and download breaks and you should get a feel for how to > use send. It does not walk you through building any examples, but it > does have lots of examples, each building on concepts from previous > pages and previous examples. > > It is essentially an 88 page booklet with live examples and demos. > > I created this on OS X and checked it out on Windows XP and Mac OS 9. > It is designed to be used in the Revolution environment, but I see no > reason why a standalone cannot be built from it--I just haven't tried > it yet. I have heard that it crashes on Windows ME, but it seems to > work on two other versions of Windows--watch out. I have no idea how > useful this will be to MC folks. > > Many of the examples are flashing indicators and some of those use > red. If this might be a health problem for you, send me a note before > getting the stack. > > If you are new to send and get bogged down, I would appreciate it if > you would try to articulate where I lost you--if you have time and > feel so inclined. Sometimes I get to thinking something is obvious > and forget all I had to go through to learn it. > > If you are an expert in send, please let me know where I have lied. > > All, I welcome comment on my style and especially where I have failed > to treat the user with respect. I think there are still many spelling > errors and I welcome comments on those. I welcome comment on any > goof. > > I apologize for saying publicly, "It is coming!" and then taking so > long to get it out. I risked it being a little belabored to try to > cover all those little preliminary concepts as well as a few advanced > 'gotchas'. > > You can find "A Primer on Message Mechanics" here: > > > > Enjoy! > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From soapdog at mac.com Mon Aug 18 21:27:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Mon Aug 18 21:27:01 2003 Subject: A Question on duplicating a card.... Message-ID: <6275FBF0-D1EC-11D7-9809-00039387AE90@mac.com> Hi Folks, i was wondering, a project of mine got some cards, they have the same controls and layout differing only in some minimal things... so i was trying to create one, then duplicate it and make the necessary changes but i just don't know how to duplicate a card... the menu command duplicade CMD+D is disabled... Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From kkaufman at snet.net Mon Aug 18 21:39:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Aug 18 21:39:01 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' Message-ID: <8FB19590-D1ED-11D7-9A63-0003936D1F12@snet.net> On Monday, August 18, 2003, at 10:30 PM, Dar Scott wrote: > I very much appreciate advice from folks on the list. Here is a > partial attempt to return the favor. This favor is coming from someone who is *already* one of the most generous persons on this list! I look forward to studying the message primer in detail- since I generally write scripts using the path-of-least-resistance (easiest to fathom but often inefficient). Thank you, Dar! -Kurt From jacque at hyperactivesw.com Mon Aug 18 21:53:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 18 21:53:01 2003 Subject: Portable fonts and usage recommendations needed In-Reply-To: References: Message-ID: <3F418FA2.6010401@hyperactivesw.com> On 8/18/03 5:16 PM, Richard Gaskin wrote: > Stephen Quinn Barncard wrote: > > >>In the old Hypercard, you could put FONT resources in the resource >>fork of the stack and they would be recognized by HC. It was a >>wonderful solution. We were told it wasn't 'kosher' to do that, but >>it worked great!!! > > > ...until you printed, then (with System 7 and later) it crashed the machine. > Only if you quit the app before the print job was done. But the crash was spectacular. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Mon Aug 18 22:03:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 18 22:03:01 2003 Subject: A Question on duplicating a card.... In-Reply-To: <6275FBF0-D1EC-11D7-9809-00039387AE90@mac.com> Message-ID: > > Hi Folks, > > i was wondering, a project of mine got some cards, they have the same > controls and layout differing only in some minimal things... so i was > trying to create one, then duplicate it and make the necessary changes > but i just don't know how to duplicate a card... the menu command > duplicade CMD+D is disabled... > Hi Andre Group the common controls and set the backgroundBehavior of the group to true. Then use the new card command. Cheers Monte From sarahr at genesearch.com.au Mon Aug 18 22:36:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 18 22:36:01 2003 Subject: A Question on duplicating a card.... In-Reply-To: <6275FBF0-D1EC-11D7-9809-00039387AE90@mac.com> Message-ID: <27090736-D1F5-11D7-8B58-0003937A97B8@genesearch.com.au> > i was wondering, a project of mine got some cards, they have the same > controls and layout differing only in some minimal things... so i was > trying to create one, then duplicate it and make the necessary changes > but i just don't know how to duplicate a card... the menu command > duplicade CMD+D is disabled... > While grouping the objects and setting the group's background behavior to true is probably the best option, if you really need to duplicate a card and all it's objects, use the message box and type "clone this card" Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From jperryl at ecs.fullerton.edu Mon Aug 18 22:40:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Aug 18 22:40:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: Message-ID: On Mon, 18 Aug 2003, Dar Scott wrote: > > Maybe the department can buy a $75 version and after seeing what you > can do with that will insist you buy more. Dar, Bwa-ha-ha-ha-ha-hahahahahah! Actually, I hold a valid license from the Hypercard cross-grade days and plan to pay for the new analog license by the end of the month. I'm not laughing at your line of reasoning, though; I understand that you are trying to be helpful. But, no, it all comes out of my (actually my husband's) pocket. > The processes that cause higher education costs to increase faster than > inflation are the same ones that twist one's arm and encourage one to > go to a state-funded school. > > Are you a grad student at Fullerton? I am both a faculty member and a grad student (Lecturer in the Computer Science department and grad student in the MS in Instructional Design and Technology program where we have to use that ... [expletives deleted] piece of software called Director MX.). I had been using Hypercard to teach an intro course in multimedia development for the CS department (why? [a] it is aimed at CS minors who really are not programmers; [b] HC is cheap compared to anything else except Rev {read: the department agreed to pay for it after everyone agreed what a total piece of crap ToolBook was}) but now use v. 1.x of Rev and encourage each student (but require each team) to purchase one student license of Rev for their semester group game project. I will probably receive a lower grade, but my current semester project in the MS program is a 'reflection' piece on a software development project; I am going to argue how completely cross-grain it is to require people with *NO* programming background to use Director and its C-like dot.syntax.incomprehensible.crapola that only compiles on a single platform at a considerable expense in comparison to something like Rev. Stay tuned... Judy From rbarber at yhb.att.ne.jp Mon Aug 18 22:58:00 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Mon Aug 18 22:58:00 2003 Subject: How can I make my mainstack stay invisible? In-Reply-To: Message-ID: Graham > Thanks to Ken for his solution - looks good. > >> What do you mean by anchor? Why do you need to open the stack at all if it's >> always invisible to the user? >> > > It's the stack with all the startup logic and it's the root of all > the common handlers for the rest of the app, plus it contains private > debugging info (I have a kind of tracer/timer routine that shows the > progress of certain events in a field I can look at during > development). Since it's the mainstack, it opens automatically when > the app starts. I may have designed my app in a stupid way from the > RunRev point of view, but I got some of these ideas from SuperCard > and they've stuck... I've done a similar thing. I like Ken's idea but what I have done is put a 'set the visible of me to false' in the on startup handler. During development it is commented out and when I build, I uncomment it. HTH Ron From rgould8 at aol.com Mon Aug 18 23:04:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Mon Aug 18 23:04:00 2003 Subject: newbie: how to scale and preserve aspect ratio Message-ID: <3F41A035.7020702@aol.com> An HTML attachment was scrubbed... URL: From rbarber at yhb.att.ne.jp Mon Aug 18 23:04:19 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Mon Aug 18 23:04:19 2003 Subject: How can I make my mainstack stay invisible? In-Reply-To: Message-ID: Hi Richard I'm just catching up on this thread so my previous post may not be relevant. How do _you_ keep all the 'preopenstack' messages from ultimately running through this top stack. I know you could trap each stack's preopenstack message or check the name of the stack in the mainstack to see if you want to continue but I'm curious. I have run into some problems with this approach. Thanks Ron > From: Richard Gaskin > Reply-To: use-revolution at lists.runrev.com > Date: Mon, 18 Aug 2003 09:18:51 -0700 > To: > Subject: Re: How can I make my mainstack stay invisible? > > Graham Samuel wrote: >> >> It's the stack with all the startup logic and it's the root of all the >> common handlers for the rest of the app, plus it contains private >> debugging info (I have a kind of tracer/timer routine that shows the >> progress of certain events in a field I can look at during >> development). Since it's the mainstack, it opens automatically when >> the app starts. I may have designed my app in a stupid way from the >> RunRev point of view, but I got some of these ideas from SuperCard and >> they've stuck... > > I often do a similar thing, with the mainstack containing offscreen > libraries and on screen it's a dialog warning about memory issues. I have a > boot script in the card on the stack triggered by preOpenStack, which among > other initializations also hides the mainstack. This way if something goes > unpredictably wrong at least the user has some meaningful communication. > > If you use a preOpenStack handler in the card script you should be able to > do anything you like before the mainstack is drawn. > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Aug 18 23:33:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 18 23:33:00 2003 Subject: How can I make my mainstack stay invisible? In-Reply-To: Message-ID: Ron wrote: >> If you use a preOpenStack handler in the card script you should be able to >> do anything you like before the mainstack is drawn. > > I'm just catching up on this thread so my previous post may not be relevant. > How do _you_ keep all the 'preopenstack' messages from ultimately running > through this top stack. I know you could trap each stack's preopenstack > message or check the name of the stack in the mainstack to see if you want > to continue but I'm curious. I have run into some problems with this > approach. I have a boot script in the card on the stack triggered by preOpenStack While the mainstack's stack script is accessible to all substacks, the card script is not. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From monte at sweattechnologies.com Mon Aug 18 23:40:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 18 23:40:00 2003 Subject: newbie: how to scale and preserve aspect ratio In-Reply-To: <3F41A035.7020702@aol.com> Message-ID: Hi Rob ******** Can someone point me in the right direction regarding scaling images - - - my goal is to pull in a JPEG image from an URL and display it in a smaller size on the screen, no matter what the original size - - - yet preserve it's aspect ratio. ******** Check out the formattedWidth and formattedHeight properties. The basic scenario is that you divide your constant width (120) by the formattedWidth of the image. That gives you a scale factor so you can set the height of the image: set the height of image 1 to round(the formattedHeight image 1*(120/the formattedWidth of image 1)) Cheers Monte From soapdog at mac.com Mon Aug 18 23:58:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Mon Aug 18 23:58:00 2003 Subject: A Question on duplicating a card.... In-Reply-To: <27090736-D1F5-11D7-8B58-0003937A97B8@genesearch.com.au> Message-ID: <8E23F449-D201-11D7-9809-00039387AE90@mac.com> On Tuesday, August 19, 2003, at 12:28 AM, Sarah wrote: > >> i was wondering, a project of mine got some cards, they have the same >> controls and layout differing only in some minimal things... so i was >> trying to create one, then duplicate it and make the necessary >> changes but i just don't know how to duplicate a card... the menu >> command duplicade CMD+D is disabled... >> > While grouping the objects and setting the group's background behavior > to true is probably the best option, if you really need to duplicate a > card and all it's objects, use the message box and type "clone this > card" > > Cheers, > Sarah Thanks Sarah and Judy, the group+background behavior does not work for me, for I already have it set up for other needs... but clone this card is something i didn't thought of! thanks, it works fine! Cheers! > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From edgore at shinra.com Tue Aug 19 00:42:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 19 00:42:00 2003 Subject: newbie: how to scale and preserve aspect ratio References: Message-ID: <003401c37114$54cb2570$6701a8c0@ed> I also just recently put together a stack that demonstrates this in response to another question on the list. Looks like it's not on the user contributions page yet, but if you want a copy, I would be happy to send you one. ----- Original Message ----- > ******** > Can someone point me in the right direction regarding scaling images - - - > my goal is to pull in a JPEG image from an URL and display it in a smaller > size on the screen, no matter what the original size - - - yet preserve it's > aspect ratio. > ******** From janschenkel at yahoo.com Tue Aug 19 00:44:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 19 00:44:01 2003 Subject: Database tool In-Reply-To: Message-ID: <20030819053735.98448.qmail@web11901.mail.yahoo.com> --- Todd Geist wrote: > On 8/18/03 3:07 PM, "Jan Schenkel" > wrote: > > > Some people even use Revolution in conjunction > with > > FileMaker Pro : you'll get all the flexibility of > a > > complete scripting language, along with the power > of > > one of the easiest databases to setup and > maintain. > > I'd be curious to know how people are accessing > FileMaker Pro from Rev. > > Applescript? > ODBC? > XML? > > Thanks > > Todd > > -- > Todd Geist > Hi Todd, Even though ODBC is the 'obvious' answer, some go so far as to use the WebCompanion and Revolution's internet library to trigger FMPro-scripts, emulate clicking on buttons etc. Here's a link to an interesting post on the subject by Peter Reid I found in the use-revolution archives : As always, you can dig around the archives of the use-revolution list, either via Google : Or via the recently added search at Mindlube Software : Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alw918 at earthlink.net Tue Aug 19 01:30:00 2003 From: alw918 at earthlink.net (Andrew) Date: Tue Aug 19 01:30:00 2003 Subject: image paste In-Reply-To: <200308181555.LAA16590@www.runrev.com> Message-ID: <242B985A-D20D-11D7-9466-000393DD0724@earthlink.net> I've noticed that some of my postings have been being sent in duplicate or triplicate. I apologize for that, and I assure you that it's the fault of technical forces beyond my control. If this message gets sent many times, I'm sorry. Jacqueline made some fine suggestions, but I'm having trouble implementing them. First of all, how do you resize an image object to a fomattedWidth and Height? Secondly, I'm still having a lot of trouble getting my second image to paste separate from the first image. I shrink the first image and move it over to one side of the card. Then I click elsewhere on the card (so the first image is not selected) and paste my second image. Still, the second image appears right on top of the first one, no matter where the first one is located on the screen. By the way, I'm using Revolution demo. Could that have anything to do with it? Thanks again for your help! Andrew On Monday, August 18, 2003, at 08:55 AM, use-revolution-request at lists.runrev.com wrote: > When you paste an image from the clipboard, Rev opens the painting > tools > and creates a new image object. The default size of an image object is > the size of the card. After that, whenever you click in the image with > a > painting tool, the image is opened for editing. That's why a second > paste places the new image inside the old one. > > To create separate image objects which are automatically sized only as > large as the image content, use "Import as control" in the File menu to > bring in an image from a file on disk. > > If your images are not files on disk, you can still paste from the > clipboard. But after you have created an image object this way, you > will > need to use a script to resize the image object to the formattedWidth > and formattedHeight of the object. That will make it smaller. Then when > you do the second paste, be sure not to click inside the first image > (so > you won't accidentally open it for editing.) Click elsewhere on the > card > before pasting, and the second paste should create a new image object > -- > which you will also want to resize, since it too will be as large as > the > card. From alw918 at earthlink.net Tue Aug 19 01:31:01 2003 From: alw918 at earthlink.net (Andrew) Date: Tue Aug 19 01:31:01 2003 Subject: image paste In-Reply-To: <200308181555.LAA16590@www.runrev.com> Message-ID: <368ED126-D20D-11D7-9466-000393DD0724@earthlink.net> I've noticed that some of my postings have been being sent in duplicate or triplicate. I apologize for that, and I assure you that it's the fault of technical forces beyond my control. If this message gets sent many times, I'm sorry. Jacqueline made some fine suggestions, but I'm having trouble implementing them. First of all, how do you resize an image object to a fomattedWidth and Height? Secondly, I'm still having a lot of trouble getting my second image to paste separate from the first image. I shrink the first image and move it over to one side of the card. Then I click elsewhere on the card (so the first image is not selected) and paste my second image. Still, the second image appears right on top of the first one, no matter where the first one is located on the screen. By the way, I'm using Revolution demo. Could that have anything to do with it? Thanks again for your help! Andrew On Monday, August 18, 2003, at 08:55 AM, use-revolution-request at lists.runrev.com wrote: > When you paste an image from the clipboard, Rev opens the painting > tools > and creates a new image object. The default size of an image object is > the size of the card. After that, whenever you click in the image with > a > painting tool, the image is opened for editing. That's why a second > paste places the new image inside the old one. > > To create separate image objects which are automatically sized only as > large as the image content, use "Import as control" in the File menu to > bring in an image from a file on disk. > > If your images are not files on disk, you can still paste from the > clipboard. But after you have created an image object this way, you > will > need to use a script to resize the image object to the formattedWidth > and formattedHeight of the object. That will make it smaller. Then when > you do the second paste, be sure not to click inside the first image > (so > you won't accidentally open it for editing.) Click elsewhere on the > card > before pasting, and the second paste should create a new image object > -- > which you will also want to resize, since it too will be as large as > the > card. From dan at shafermedia.com Tue Aug 19 01:37:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Tue Aug 19 01:37:01 2003 Subject: Anyone At All Using Valentina? Message-ID: Poking around database support in Rev, I spent a bit more time looking into Valentina this evening. Is anyone out there using it? I mean, $200 for a database in an era when mySQL -- one of the best databases on the planet -- is free and ODBC connectors are also mostly free? So if someone's using it, I'd be mighty curious to know why. It doesn't seem to me to have any advantages at all. If it was $50 or less, I might license it just for testing locally, but I can set up a local instance of mySQL for free, so.... What am I missing here, people? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From monte at sweattechnologies.com Tue Aug 19 02:08:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 19 02:08:01 2003 Subject: Anyone At All Using Valentina? In-Reply-To: Message-ID: > Poking around database support in Rev, I spent a bit more time looking > into Valentina this evening. > > Is anyone out there using it? I mean, $200 for a database in an era > when mySQL -- one of the best databases on the planet -- is free and > ODBC connectors are also mostly free? > > So if someone's using it, I'd be mighty curious to know why. It doesn't > seem to me to have any advantages at all. > > If it was $50 or less, I might license it just for testing locally, but > I can set up a local instance of mySQL for free, so.... > > What am I missing here, people? > It's the only single user database currently available to us (excluding ODBC). I've discussed with Tuviah the development of a SQLite external and think it's on the cards but not yet on the development schedule. Cheers Monte From lists at mangomultimedia.com Tue Aug 19 02:20:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Aug 19 02:20:01 2003 Subject: Anyone At All Using Valentina? In-Reply-To: Message-ID: On 8/18/03 Dan Shafer wrote >Poking around database support in Rev, I spent a bit more time looking >into Valentina this evening. > >Is anyone out there using it? I mean, $200 for a database in an era >when mySQL -- one of the best databases on the planet -- is free and >ODBC connectors are also mostly free? > >So if someone's using it, I'd be mighty curious to know why. It doesn't >seem to me to have any advantages at all. > >If it was $50 or less, I might license it just for testing locally, but >I can set up a local instance of mySQL for free, so.... > >What am I missing here, people? I am using Valentina for a multimedia project I am working on that is powered by a database. I have used mySQL in my web applications for the past 5 years but chose Valentina for the database in this project because there is no installation, port numbers, daemons, etc. to worry about. I just need the db files and the XCMD and everything works great. This project will be distributed on CD-ROM and this makes it a good solution for this delivery platform. I have read from numerous people that it is very fast and have not experienced anything to the contrary. A good portion of the interface in the project is created dynamically from DB data and the bottleneck is definitely not the db. After using Valentina for a year I really like it and am interested in it's new client/server functionality. This might make Valentina a viable option for networked applications in a LAN/WAN environment. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From janschenkel at yahoo.com Tue Aug 19 02:32:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 19 02:32:00 2003 Subject: XML-RPC Support? In-Reply-To: Message-ID: <20030819072606.55172.qmail@web11905.mail.yahoo.com> --- Andre Garzia wrote: > > On Monday, August 18, 2003, at 02:48 AM, Jan > Schenkel wrote: > > > --- Dan Shafer wrote: > >> I thought I had read or heard somewhere that > >> Revolution supports > >> XML-RPC. But searching docs turns up no clues. > >> > >> Anyone got a pointer? > >> > > > > Hi Dan, > > > > Revolution supports SOAP, which one might say > > supersedes XML-RPC. > > Have a look at \Sample stacks\SOAP_Toolbox.rev > > > > Hope this helped, > > > > Jan Schenkel. > > > Jan, > > I do not think soap supersedes XML-RPC.... Soap is > to complicated to > use, xml-rpc is simple and does the job well, i > never knew a project > that really needed soap, xml-rpc always live up to > the job for me. > > the sites: > http://www.soapware.org > http://www.xmlrpc.com > > Are both from Userland, they've got the specs, the > implementations and > a list of public avaiable services. xml-rpc has more > services avaiable > and is easier to implement. As for Dan question, he > can implement > xml-rpc by himself (it's not that hard!!!) or if > he's using MacOS he > can call applescripts to the xml-rpc call for him > and pass back the > results!!!! > > Cheers! > Andre > Hi Andre, Glad to see 'granddaddy' XML-RPC is still alive and kicking ; while I would agree that it is easier to use, nearly all of the Web Service implementations in development tools (such as in WebObjects 5.2, 4th Dimension 2003, and our beloved Revolution 2.0) are concentrating around SOAP. Granted, the specs for SOAP 1.2 are hefty (which is why it is no longer an acronym for Simple Object Access Protocol) but they offer a lot of enterprise-level features, such as parts that are forwarded to and handled by different web services, etc. In most cases, overkill. But it's the standard, so we have to follow suit. However, implementing XML-RPC using the 'post' command and employing the revXML library, should be a breeze ; and I bet you could learn a lot from the SOAP toolbox if you were to build a library for it. Best regards, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From martin at pixelmedia.com.au Tue Aug 19 03:07:00 2003 From: martin at pixelmedia.com.au (Martin Steer) Date: Tue Aug 19 03:07:00 2003 Subject: Deleting lines within a 'repeat for each' loop Message-ID: <25CF7128-D21B-11D7-8C51-00306571A218@pixelmedia.com.au> Hello There, Just a quick question to everyone here. I've been trying to remove filenames (lines) from the string that the 'files' function returns. The basic algorithm I've been using is below, but I think I've found a problem in the 'repeat for each chunkType' control structure in Rev. Here's a little piece of code I was using to test. I've taken the filename checking out of the loop because that's not the problem. Just put this in a button's script and step through it using the variable watcher... ----- on mouseUp put ".ds_store" & return & "Help File 1.xml" & return & "Help File 3.xml" into fileList put 1 into i breakpoint repeat for each line currLine in fileList delete line i of fileList add 1 to i end repeat end mouseUp ----- The first iteration, the currLine variable gets ".ds_store", and then it deletes line 1. All is okay. The second iteration, the currLine variable gets the sting "1.xml"... not "Help File 1.xml" as I assumed. I tried removing the spaces in the file name thinking that may be stuffing up the chunks, but the second iteration results in currLine being set to the string "xml" If you comment out the line that deletes the line from fileList, the repeat loop works fine. I know the algorithm is flawed i.e. when you delete line 1, increment i to 2, then iterate again and delete line 2 it's actually deleting the original line 3. This is my buggy test script :) That bug doesn't matter though if each 'repeat' iteration the chunkType isn't correctly being evaluated. Originally, the deletion of a line occurs when a line matches the extension string at the end of the line (can't use 'contains' so I've been using matchText and regular expressions.) So, my questions are these: 1) Regardless of weather there's an easier way to remove lines from a string that don't match a pattern, is there something wrong with the way the 'repeat for each' control structure evaluates chunks when you manipulate the string it's repeating 'with'? 2) Is there an easier way to remove filenames from a list that don't have specific file extensions? Oh, I've tried in Rev 2.0.2 and 2.1 and I'm running on Mac OS X 10.2.6 Thanks for reading this far :) - Marty Steer martin at pixelmedia.com.au From yvescoppe at skynet.be Tue Aug 19 03:24:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue Aug 19 03:24:01 2003 Subject: Deleting lines within a 'repeat for each' loop In-Reply-To: <25CF7128-D21B-11D7-8C51-00306571A218@pixelmedia.com.au> Message-ID: <989EC86C-D21D-11D7-BE40-003065E14B04@skynet.be> Le mardi, 19 ao? 2003, ? 10:00 Europe/Brussels, Martin Steer a ?crit : > Hello There, > > Just a quick question to everyone here. > > I've been trying to remove filenames (lines) from the string that the > 'files' function returns. The basic algorithm I've been using is > below, but I think I've found a problem in the 'repeat for each > chunkType' control structure in Rev. > > Here's a little piece of code I was using to test. I've taken the > filename checking out of the loop because that's not the problem. Just > put this in a button's script and step through it using the variable > watcher... > Try : delete line 1 of fileList > on mouseUp > > put ".ds_store" & return & "Help File 1.xml" & return & "Help File > 3.xml" into fileList > > put 1 into i > > breakpoint > repeat for each line currLine in fileList > delete line 1 of fileList > add 1 to i > end repeat > > end mouseUp Greetings. Yves COPPE yvescoppe at skynet.be From janschenkel at yahoo.com Tue Aug 19 03:27:02 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 19 03:27:02 2003 Subject: Deleting lines within a 'repeat for each' loop In-Reply-To: <25CF7128-D21B-11D7-8C51-00306571A218@pixelmedia.com.au> Message-ID: <20030819082114.71156.qmail@web11903.mail.yahoo.com> --- Martin Steer wrote: > Hello There, > > Just a quick question to everyone here. > > I've been trying to remove filenames (lines) from > the string that the > 'files' function returns. The basic algorithm I've > been using is below, > but I think I've found a problem in the 'repeat for > each chunkType' > control structure in Rev. > > Here's a little piece of code I was using to test. > I've taken the > filename checking out of the loop because that's not > the problem. Just > put this in a button's script and step through it > using the variable > watcher... > > ----- > on mouseUp > > put ".ds_store" & return & "Help File 1.xml" & > return & "Help File > 3.xml" into fileList > > put 1 into i > > breakpoint > repeat for each line currLine in fileList > delete line i of fileList > add 1 to i > end repeat > > end mouseUp > ----- > > The first iteration, the currLine variable gets > ".ds_store", and then > it deletes line 1. All is okay. > > The second iteration, the currLine variable gets the > sting "1.xml"... > not "Help File 1.xml" as I assumed. > > I tried removing the spaces in the file name > thinking that may be > stuffing up the chunks, but the second iteration > results in currLine > being set to the string "xml" > > If you comment out the line that deletes the line > from fileList, the > repeat loop works fine. > > I know the algorithm is flawed i.e. when you delete > line 1, increment i > to 2, then iterate again and delete line 2 it's > actually deleting the > original line 3. This is my buggy test script :) > That bug doesn't > matter though if each 'repeat' iteration the > chunkType isn't correctly > being evaluated. Originally, the deletion of a line > occurs when a line > matches the extension string at the end of the line > (can't use > 'contains' so I've been using matchText and regular > expressions.) > > So, my questions are these: > > 1) Regardless of weather there's an easier way to > remove lines from a > string that don't match a pattern, is there > something wrong with the > way the 'repeat for each' control structure > evaluates chunks when you > manipulate the string it's repeating 'with'? > > 2) Is there an easier way to remove filenames from a > list that don't > have specific file extensions? > > Oh, I've tried in Rev 2.0.2 and 2.1 and I'm running > on Mac OS X 10.2.6 > > Thanks for reading this far :) > > - Marty Steer > Hi Marty, The reason why you are getting such 'strange' results is that in a repeat for each loop, the engine remembers where the current line ended, and that's where it starts looking for the next lineDelimiter. So in this case, it finds the first line delimiter at position 9. Then you delete the first line, but the next repeat loop starts looking at position 10 in the changed variable. The next lineDelimiter is at new position 16, so it thinks that line 2 stretches from position 10 to 16 -- which explains why it gives you " 1.xml" the next time around. Etcetera, etcetera. As you shouldn't tinker with the variable you're interating over, here are a few alternative approaches to your goal : 1) check out the Transcript Dictionary entry for the 'filter' command. filter tFileList with "*.foo,*" 2) use a repeat for each, but build a new variable with those lines that you _do_ want, and then put that new variable into your first variable. repeat for each line tFileInfo in tFileList if you_want_this_line then put tFileInfo & return after tNewList end repeat put char 1 to -2 of tNewList into tFileList -- by using 1 to -2, strip off the trailing return in variable tNewList Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From richmond at mail.maclaunch.com Tue Aug 19 03:56:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue Aug 19 03:56:00 2003 Subject: Richmond comes clean Message-ID: Umm....would you believe I'm sorry...a little bit....... Alan Coren once said that 'tact is the mortar of society': but, just occasionally, a sledge hammer can do things too. I suppose I should feel flattered to have my name included in an e-mail thread 'Richmond and Copyright' that I did not even originate. I should like to point out the following points: 1. I am not anti-American (in fact I lived in Illinois for 3 years while I studied for an MA); but I am not in favour of an Americo-Centric world....the reasoning behind this reminds me of certain people who accuse anti-Israelis of being anti-Semitic...doesn't work. 2. I think Runtime Revolution are F***KING FANTASTIC for having taken on the HYPERCARD mantle and developed it to the next, next, next level: that is why I get F***KING EMOTIONAL about aspects of RR's development. I do APPRECIATE RR's efforts.... 3. I do stand on my right to use words such as F***ING all over use-lists when I get emotionally worked-up.....that is one of the MOST WONDERFUL things about this use-list...the possibility to let off steam in a relatively civilised forum; and receive civilised and well-thought-out answers/solutions. Love you all buckets, Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From ludovic.thebault at laposte.net Tue Aug 19 04:00:01 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Tue Aug 19 04:00:01 2003 Subject: Deleting lines within a 'repeat for each' loop In-Reply-To: <25CF7128-D21B-11D7-8C51-00306571A218@pixelmedia.com.au> References: <25CF7128-D21B-11D7-8C51-00306571A218@pixelmedia.com.au> Message-ID: <20030819105310990738.GyazMail.ludovic.thebault@laposte.net> On Tue, 19 Aug 2003 18:00:07 +1000, Martin Steer wrote: Try, (if you are sure that you don't need any empty line) : on mouseUp > > put ".ds_store" & return & "Help File 1.xml" & return & "Help File > 3.xml" into fileList > > put 1 into i > > breakpoint > repeat for each line currLine in fileList > put "" into line i of fileList > add 1 to i > end repeat > replace cr&cr with cr in filelist > end mouseUp From richmond at mail.maclaunch.com Tue Aug 19 04:00:18 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue Aug 19 04:00:18 2003 Subject: Richmond hacks Metacard: possible legal pothole??? Message-ID: I replaced the engine in Metacard 2.5 with the RR 2.1 B3 one as per the recipe provided in this list....this allows terms such as DRAWER to function in Metacard....... Are the legal thingies the same for Hacked Metacard as for MC 2.5 ??? If so this means that any old tom, dick or harry (read 'Richmond') can develop something using the RR 2.1 30 day edition and then 'pump out' standalones using the Hacked Metacard???? There's another notty problem! Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From rjb at rz.uni-potsdam.de Tue Aug 19 04:14:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Aug 19 04:14:01 2003 Subject: Anyone At All Using Valentina? In-Reply-To: References: Message-ID: >Poking around database support in Rev, I spent a bit more time >looking into Valentina this evening. > >Is anyone out there using it? I mean, $200 for a database in an era >when mySQL -- one of the best databases on the planet -- is free and >ODBC connectors are also mostly free? > >So if someone's using it, I'd be mighty curious to know why. It >doesn't seem to me to have any advantages at all. > >If it was $50 or less, I might license it just for testing locally, >but I can set up a local instance of mySQL for free, so.... > >What am I missing here, people? > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dan Shafer, Revolutionary >Author of forthcoming 3-book set, >"Revolution: Programming at the Speed of Thought" >http://www.revolutionpros.com for More Info Well, you can take Valentina for a spin for free. The fully functional demo has 10-minute per session timeout. Relaunch and you have another 10 min. Also, the Valentina/AppleScript solution is only $50, although the vxcmd product for $200/$250 is way better for Rev/MC users. If you are working under OSX and dealing with networking is not an issue for you, then MySQL (among other database options under OSX or Linux) is fine. It surely is a more mature product and more widely deployed. However, if you are concerned with speed, for example, you have millions of records and need really fast sorting and searching, Valentina is a winner. Valentina is a nice match for Rev because of its multiplatform support. It runs under OS9, OSX, and Windows. Unix is also in Valentina's future AFAIK. Further, Valentina allows you to switch development environments should there be a need (as much as we love Rev, our clients or projects may require using something else). Then, many Rev users graduate to using a true database engine after using stacks as simple databases and prefer to continue with the database fully embedded into the stacks/standalone. Valentina is it unless Serendipity Library suffice. Switching from fields/cards as db to Valentina (using its full interface not RevDB) is relatively simple. Consider also that quite a few people using Valentina distribute their products on CDs. I think that excludes MySQL. And the forthcoming Valentina server will allow to mix local and remote usage, allowing flexible scaling and distributed solutions. I personally use MC/Valentina combo to produce, programmatically but offline, web sites from db content as well as supporting online access to databases using MC-based CGI on a server that runs under Mac OS 9.2. Robert From rjb at rz.uni-potsdam.de Tue Aug 19 04:14:46 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Aug 19 04:14:46 2003 Subject: Deleting lines within a 'repeat for each' loop In-Reply-To: <25CF7128-D21B-11D7-8C51-00306571A218@pixelmedia.com.au> References: <25CF7128-D21B-11D7-8C51-00306571A218@pixelmedia.com.au> Message-ID: >Hello There, > >Just a quick question to everyone here. > >I've been trying to remove filenames (lines) from the string that >the 'files' function returns. The basic algorithm I've been using is >below, but I think I've found a problem in the 'repeat for each >chunkType' control structure in Rev. > >Here's a little piece of code I was using to test. I've taken the >filename checking out of the loop because that's not the problem. >Just put this in a button's script and step through it using the >variable watcher... > >----- >on mouseUp > > put ".ds_store" & return & "Help File 1.xml" & return & "Help File >3.xml" into fileList > > put 1 into i > > breakpoint > repeat for each line currLine in fileList > delete line i of fileList > add 1 to i > end repeat > >end mouseUp >----- Martin, your problem is that each delete shifts the content and the continued search skips some lines. What you simply need to do is to reverse the order. I mean you scan the list of files from the end to the beginning, so deletions do not affect your algorithm. repeat with i=(the number of lines of filelist) down to 1 yes, this form of repeat is slower than repeat for but normally your list of files won't have thousands of lines, so it will do fine. If the speed is really an issue, then use the repeat for as you have it but instead of actually deleting lines, simply collect line numbers to be deleted and then delete them in another loop which uses a repeat down to 1. Robert From lbrehmer at rof.net Tue Aug 19 04:58:00 2003 From: lbrehmer at rof.net (lbrehmer at rof.net) Date: Tue Aug 19 04:58:00 2003 Subject: Button Basics? Message-ID: <184670-22003821995124811@M2W067.mail2web.com> I can't seem to select individual items of a pop-up menu button to enter their scripts in the script editor. I tried select menuItem X of button "Button Y" in the message box, but when I open the script editor, it's just for the whole button, not the individual items in the button. What am I missing? -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From ttasovac at princeton.edu Tue Aug 19 05:18:00 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Tue Aug 19 05:18:00 2003 Subject: Attaching Fonts In-Reply-To: <009701c365c3$cb0beb90$6801a8c0@LightningFlash> Message-ID: <8A6D0016-D22D-11D7-9D4D-000393D60E0C@princeton.edu> A propos fonts -- if you need nice looking fonts to bundle with your software, check out Bitstream Vera -- it's an open source font, released by the GNOME Foundation. So far, it contains only Basic Latin, but no doubt that will be enough for many developers on this list. You can modify and redistribute the font as you please, as long as you change the name. http://www.gnome.org/fonts/ ________________________________ Toma Tasovac Princeton University Department of Comparative Literature 91 Prospect Avenue Princeton, NJ 08544 USA ttasovac at princeton.edu ttasovac at post.harvard.edu From janschenkel at yahoo.com Tue Aug 19 05:23:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 19 05:23:00 2003 Subject: Button Basics? In-Reply-To: <184670-22003821995124811@M2W067.mail2web.com> Message-ID: <20030819101712.71603.qmail@web11905.mail.yahoo.com> --- "lbrehmer at rof.net" wrote: > I can't seem to select individual items of a pop-up > menu button to enter > their scripts in > the script editor. I tried > > select menuItem X of button "Button Y" > > in the message box, but when I open the script > editor, it's just for the > whole button, not > the individual items in the button. What am I > missing? > Hiya, You cannot set individual scripts for each item ; you'll have to script the menu as a whole, and handle the 'menuPick' message. Suppose you have a menu with items : Alpha Beta Gamma Delta Example script for that menu button : on menuPick pWhichItem switch pWhichItem case "Alpha" -- the user chose the item labeled "Alpha" -- do what needs done here, before 'break' break case "Beta" -- the user chose the item labeled "Beta" -- do what needs done here, before 'break' break case "Gamma" -- the user chose the item labeled "Gamma" -- do what needs done here, before 'break' break case "Delta" -- the user chose the item labeled "Delta" -- do what needs done here, before 'break' break end switch end menuPick ---- An alternative way of scripting the individual items is the following : - make individual handlers for what each item needs to do, in the card script - put the names of these handlers as a return-delimited list into a custom property named "uMenuMessages" in the menu button - set the script of the menu button to on menuPick put the menuHistory of me into tPickedLine put line tPickedLine of the uMenuMessages \ of me into tMenuMessage send tMenuMessage to this card end menuPick ---- For more information than you may ever want to know regarding menus, fire up the Revolution Documentation, go to the section 'Development Guide' and click on the item 'Menus' in the left-hand list. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jameslewes at comcast.net Tue Aug 19 06:12:01 2003 From: jameslewes at comcast.net (James Lewes) Date: Tue Aug 19 06:12:01 2003 Subject: Richmond comes clean In-Reply-To: Message-ID: <02AF6FD8-D235-11D7-A564-000502F78A80@comcast.net> I am confused. How can supporting a Scottish Company be pro-American. Also, while I have not followed each and every discussion about pricing, I am sure Revolution is available in Euros. James On Tuesday, August 19, 2003, at 03:44 AM, Mathewson wrote: > Umm....would you believe I'm sorry...a little bit....... > > Alan Coren once said that 'tact is the mortar of society': > but, just occasionally, a sledge hammer can do things too. > > I suppose I should feel flattered to have my name included > in an e-mail thread 'Richmond and Copyright' that I did not > even originate. > > I should like to point out the following points: > > 1. I am not anti-American (in fact I lived in Illinois for > 3 years while I studied for an MA); but I am not in favour > of an Americo-Centric world....the reasoning behind this > reminds me of certain people who accuse anti-Israelis of > being anti-Semitic...doesn't work. > > 2. I think Runtime Revolution are F***KING FANTASTIC for > having taken on the HYPERCARD mantle and developed it to > the next, next, next level: that is why I get F***KING > EMOTIONAL about aspects of RR's development. I do > APPRECIATE RR's efforts.... > > 3. I do stand on my right to use words such as F***ING all > over use-lists when I get emotionally worked-up.....that is > one of the MOST WONDERFUL things about this use-list...the > possibility to let off steam in a relatively civilised > forum; and receive civilised and well-thought-out > answers/solutions. > > Love you all buckets, Richmond Mathewson > > __________________________________________________ > See Mathewson's software at: > > http://members.maclaunch.com/richmond/default.html and > http://www.runrev.com/Revolution1/developercentral/ > usercontributions.html > __________________________________________________ > --------------------------------------------------------------- > Great Macintosh Products > The MacLaunch Store! > http://www.maclaunch.com/cgi-launch/store/agora.cgi > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rodneytamblyn at paradise.net.nz Tue Aug 19 07:36:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Tue Aug 19 07:36:01 2003 Subject: read from process - example wanted Message-ID: <1ECD2B56-D241-11D7-BDF6-003065F97100@paradise.net.nz> Could someone please post a simple example of opening and reading/writing to a process? On OSX how do you launch a process which requires root priviledge? Is it possible to open a shell process? I couldn't get it to work... eg open process "/bin/bash" for update write "cd /" to process "/bin/bash" Mostly I'm just looking for a few pointers from anyone on the list who has experience working with reading/writing processes. Thanks! Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From jtenny at willamette.edu Tue Aug 19 09:03:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Tue Aug 19 09:03:00 2003 Subject: flame (Richmond et al) In-Reply-To: <200308181708.NAA21731@www.runrev.com> Message-ID: The etiquette cute of a list, I am told, is to: 1. never flame 2. never respond to a flame on list, but do so privately Peace, John Flowing Thought Educational Solutions 503-508-3398 From bvg at mac.com Tue Aug 19 09:41:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue Aug 19 09:41:00 2003 Subject: Deleting lines within a 'repeat for each' loop In-Reply-To: <20030819082114.71156.qmail@web11903.mail.yahoo.com> Message-ID: <19BA2156-D252-11D7-8C8B-003065AD94A4@mac.com> On Dienstag, Aug 19, 2003, at 10:21 Europe/Zurich, Jan Schenkel wrote: >> ... >> on mouseUp >> >> put ".ds_store" & return & "Help File 1.xml" & >> return & "Help File >> 3.xml" into fileList >> >> put 1 into i >> >> breakpoint >> repeat for each line currLine in fileList >> delete line i of fileList >> add 1 to i >> end repeat >> >> end mouseUp >> ... > ... > The reason why you are getting such 'strange' results > is that in a repeat for each loop, the engine > remembers where the current line ended, and that's > where it starts looking for the next lineDelimiter. > So in this case, it finds the first line delimiter at > position 9. Then you delete the first line, but the > next repeat loop starts looking at position 10 in the > changed variable. The next lineDelimiter is at new > position 16, so it thinks that line 2 stretches from > position 10 to 16 -- which explains why it gives you " > 1.xml" the next time around. > Etcetera, etcetera. > > As you shouldn't tinker with the variable you're > interating over, here are a few alternative approaches > to your goal : > ... Eh? I always thought that the repeat for each loop copies the content it loops over and then uses that too loop. This is so that looping in fields is not slower then looping in a variable. In fact looping a variable IS NOT faster then looping a field (I tested that). Unfortunately the fact is that deleting lines in a fashion as the above WILL result in rubbish. I am kinda lost, shouldn't the one fact contradict the other???? From richmond at mail.maclaunch.com Tue Aug 19 09:45:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue Aug 19 09:45:00 2003 Subject: flame (Richmond et al) Message-ID: Hi there John Tenny, 1. as my Granny said "its all in the mouth" 2. as peer 1. if 'F**K', 'S**T' and 'B****R' are all in the mouth what needs to be examined is the HEART and the MIND (and not the mouth). 3. BOO to your 'Peace': there is a REVOLUTION going on, and, lest we forget, Revolutions are often bloody but they are also, often, creative as well as destructive. 4. Head over to my website for a dose of downloads. Love you and all the RR use-list members! Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From cm_sheffield at yahoo.com Tue Aug 19 09:54:01 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Aug 19 09:54:01 2003 Subject: Anyone At All Using Valentina? In-Reply-To: Message-ID: <20030819144743.67112.qmail@web20414.mail.yahoo.com> A couple reasons. Valentina is a lot easier to setup and use. All you need are the externals. With MySQL you have to have the MySQL server running in order to connect to your database, which means that users of your software must install and administer the MySQL server on their network servers. This server does not run on all platforms (Mac OS X and some versions of Windows). So you couldn't create a standalone database on a Mac OS 9 machine. It just won't work. Also mySQL costs big bucks if you plan to use it commercially. You have to pay license fees for every copy of software sold. Valentina is one flat cost. I'm not saying MySQL is bad. It's an awesome database, and my company will most likely use it for a networkable version of our software. But Valentina definitely has its strengths. Chris Sheffield --- Dan Shafer wrote: > Poking around database support in Rev, I spent a bit > more time looking > into Valentina this evening. > > Is anyone out there using it? I mean, $200 for a > database in an era > when mySQL -- one of the best databases on the > planet -- is free and > ODBC connectors are also mostly free? > > So if someone's using it, I'd be mighty curious to > know why. It doesn't > seem to me to have any advantages at all. > > If it was $50 or less, I might license it just for > testing locally, but > I can set up a local instance of mySQL for free, > so.... > > What am I missing here, people? > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolutionary > Author of forthcoming 3-book set, > "Revolution: Programming at the Speed of Thought" > http://www.revolutionpros.com for More Info > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jtenny at willamette.edu Tue Aug 19 10:08:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Tue Aug 19 10:08:00 2003 Subject: US copyright In-Reply-To: <200308190128.VAA15112@www.runrev.com> Message-ID: An earlier message said.... "Copyright in the US is quite different from that in Australia. Over there you need to register the software to claim copyright." I'm not a lawyer (disclaimer, disclaimer, disclaimer), but when I last checked into copyright, all that was required is that the creator print the word "copyright" and the date on the product (the copyright symbol is also acceptable) and it's copyrighted. You CAN register your copyright to avoid any legal hassles by two people who both claim copyright, but it's not required. A cheap way that one can do the same thing is to put the product in an envelope and mail it to yourself. The postage cancellation on the UNOPENED package serves as proof of copyright date. Note that a copyright is different from a patent, as the earlier messages indicated. A copyright will not protect a process. If you read the fine print on a product it will often say "Patent pending", but never "copyright pending" as there is no approval system for copyrights. If this topic is important to you, don't pay any attention to any of this. I'm not a lawyer and am just making it all up. John From janschenkel at yahoo.com Tue Aug 19 10:19:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 19 10:19:00 2003 Subject: Deleting lines within a 'repeat for each' loop In-Reply-To: <19BA2156-D252-11D7-8C8B-003065AD94A4@mac.com> Message-ID: <20030819151313.90932.qmail@web11908.mail.yahoo.com> --- Bj?rnke_von_Gierke wrote: > > [snip] > > Eh? I always thought that the repeat for each loop > copies the content > it loops over and then uses that too loop. This is > so that looping in > fields is not slower then looping in a variable. In > fact looping a > variable IS NOT faster then looping a field (I > tested that). > Unfortunately the fact is that deleting lines in a > fashion as the above > WILL result in rubbish. I am kinda lost, shouldn't > the one fact > contradict the other???? > I don't think there's a contradiction : after all, MetaCard stacks are entirely RAM-based so it should be no slower to access a variable than to access the contents of a field. In the old HyperCard days, its engine had to load the field text from disk, and every manipulation meant writing to disk, updating the hintbits for its quick find algorithm etc. But I'm sure there'll be a performance hit when you manipulate the contents of a field in a repeat for each loop, as the screen needs to be redrawn. Of course only Mr Raney knows for sure, but I think the content isn't copied, and that during a 'repeat for each' the engine merely remembers the last line delimiter position and the next line delimiter position as it munches away the data. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From myoung at bigskyneuro.com Tue Aug 19 10:21:00 2003 From: myoung at bigskyneuro.com (Michael Young) Date: Tue Aug 19 10:21:00 2003 Subject: Database tool In-Reply-To: <200308182015.QAA29474@www.runrev.com> Message-ID: Jan, Thanks for the database information and links. The combined FMP RR solution is an interesting idea that I am sure will appeal to some developers, but I will try the other ideas first. I have used FMP off and on for the last 10 years from version 2 through 6 and for some reason I still don't like it, but I know there are plenty of people who do like it. And I am glad that FMP works for them. Michael Young > > > > Hi Michael, > > As you're looking for an elaborate yet easy-to-use > general-purpose development tool, Revolution is an > excellent candidate. > > Jan Schenkel. From richmond at mail.maclaunch.com Tue Aug 19 10:39:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue Aug 19 10:39:00 2003 Subject: Daughters of the Revolution Message-ID: Hey RR afficionados, I discovered that the 'drawer' term in RR 2.1 allows both drop drawers and... drop drawers to have daughter (and grand-daughter) drawers. The top download on my website demonstrates this: to get the full effect drag the mainstack as far to one side of your screen as it can comfortably go. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From ambassador at fourthworld.com Tue Aug 19 10:45:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 19 10:45:01 2003 Subject: US copyright In-Reply-To: Message-ID: John Tenny wrote: > You CAN register your copyright to avoid any legal hassles by two > people who both claim copyright, but it's not required. A cheap way > that one can do the same thing is to put the product in an envelope and > mail it to yourself. The postage cancellation on the UNOPENED package > serves as proof of copyright date. "I am not an attorney. If you need an attorney you should consult the services of a qualified professional in your area." The mailing-to-yourself option was a good one for many years, but if memory serves it was tested in the 80s and failed as legal proof of date of creation. If you have questions about copyright and other legal issues, I can't say enough good things about the fine folks at Nolo Press: . Searching for "copyright" at their site I found some good links covering the basics: -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From richmond at mail.maclaunch.com Tue Aug 19 10:54:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue Aug 19 10:54:00 2003 Subject: Richmond, Monte, Copyright, Consciences and a lot of other stuff Message-ID: All of my offerings whether on the RR developer contributions page or on my website are COPYRIGHT FREE and anybody can make MERRY H*LL with them as they see fit. However, Monte; as you feel you have been paying for my freebies (???) if you, for some unseen reason, have an urge to use any of my offerings please pay for them by sending me a postcard containing the text "Bugger You Richmond" at the address that I can supply off-list. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From dsc at swcp.com Tue Aug 19 11:10:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 11:10:01 2003 Subject: read from process - example wanted In-Reply-To: <1ECD2B56-D241-11D7-BDF6-003065F97100@paradise.net.nz> Message-ID: On Tuesday, August 19, 2003, at 06:31 AM, Rodney Tamblyn wrote: > Mostly I'm just looking for a few pointers from anyone on the list who > has experience working with reading/writing processes. I have only done this once as an experiment on OS X, but I have done this a bunch on Windows. I don't know the situation on OS X, but on Windows it is a mess. If you possibly can, use shell(). You can't use programs that provide info after the input is closed, such as sort or find. You can't close the pipe to the process without closing the pipe from the process. This isn't a bug, just a design flaw. Use the most simple read you can. I'd recommend regularly reading with 'until empty' to get what is in the buffer. The others are filled with bugs on Windows. I don't remember why, but I think I had to use a try-catch in the read to handle a read attempt after the process closes the pipe. Or for some reason. A simple condition that one would expect in the result is a thrown error. You should be able to set the shell process used in shell(), if you go that way. (If you are opening a Standalone process, I found problems with stdin, stdout, and commandline parsing. I'd use IP) If you still want an example, I might be able to find something that is not in some intermediate hacked-to-find-combat-bugs state. I tried to find a path through the mess of open/write/read process and, for now, have given up. I hope to give it a fresh look, but I don't know when. Yes, I do--I will need to use the gnu pgp, soon. If I can't get process to work, I'll redirect files to from the process using shell and then burn the files. You might want to try that. Only, you probably don't need to burn files. I will have to do some tricks with the command line, but that is straight forward if there are no spaces in arguments. Remember, my bad experiences are on Windows 2000 and Windows XP. Dar Scott From dan at shafermedia.com Tue Aug 19 11:23:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Tue Aug 19 11:23:01 2003 Subject: Anyone At All Using Valentina? Message-ID: <9AEBC23E-D260-11D7-8C3C-0030656FB5D4@shafermedia.com> Thanks for the answers. I get it now. Valentina is a stand-alone, requiring no server, therefore ideally suited to CD-ROM distributed products. It is easier to set up than mySQL. And it is blazingly fast so it wins out in situations where you need a local, single-user data store to support Rev app that is not going to be networked. I had my "Web app" glasses on when I evaluated it. But one thing: as far as I can tell, I don't have to pay a dime to distribute mySQL-based apps unless I need to deliver the mySQL database with it, which is something nobody would do except for a pretty high-end enterprise solution which was being deployed off a local server. Back to the Revolution and my book project (news is forthcoming). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From malte.brill at t-online.de Tue Aug 19 11:30:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Tue Aug 19 11:30:01 2003 Subject: Newsletter CGI anyone? In-Reply-To: <200308181708.NAA21795@www.runrev.com> Message-ID: Hi List, has anyone developed a Newsletter CGI in Rev/MC? I?d like something where Useres can subscribe/unsubscribe to, select Products they want to have information on (so it needs to be expandable) and sends the information on the products choosen automatically to subscribed users when I upload the news. Has anyone coded something like this? What does it cost to purchase a copy? (As I am a Web technique dum-bee I would also need help with installing it) If noone has, do you know a non rev solution? Regards, Malte From gizmotron at earthlink.net Tue Aug 19 12:28:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue Aug 19 12:28:01 2003 Subject: Anyone At All Using Valentina? In-Reply-To: <9AEBC23E-D260-11D7-8C3C-0030656FB5D4@shafermedia.com> Message-ID: <182EFDAE-D26A-11D7-A4ED-000A95859272@earthlink.net> On Tuesday, August 19, 2003, at 09:17 AM, Dan Shafer wrote: > Valentina is a stand-alone, requiring no server, therefore ideally > suited to CD-ROM distributed products. > > It is easier to set up than mySQL. > > And it is blazingly fast so it wins out in situations where you need a > local, single-user data store to support Rev app that is not going to > be networked. > > I had my "Web app" glasses on when I evaluated it. > > But one thing: as far as I can tell, I don't have to pay a dime to > distribute mySQL-based apps unless I need to deliver the mySQL > database with it, which is something nobody would do except for a > pretty high-end enterprise solution which was being deployed off a > local server. Add to that Valentina's ability to store blob data and encrypt it using Blowfish encryption. You can store any binary data as blob to protect delivery data. I use this for DRM of externally distributed data that can be read by standalone reader software. Mark From dsc at swcp.com Tue Aug 19 12:51:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 12:51:01 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' In-Reply-To: Message-ID: On Monday, August 18, 2003, at 08:07 PM, Andre Garzia wrote: > Thank you, thank you very much for your primer!!!! it's very fun and i > learned much!!!!! Thanks! I had fun making it. (And I can find my own script examples faster now.) Fun and learned much. Those are just the right words for me to hear. > I'll also download the primer primer so that i can make primers myself. The current "A Simple Primer Primer" does not adjust font properties for platforms and uses design-time script-callout adjustments instead of runtime adjustments. > .. we could really help the community with approaches like this!!!! Though this was fun, it did take a while, and I wouldn't want making primers to become a burden for folks. People can take their time or use a different style. You might have noticed that the last third is a little weak and I completely ignored the interaction with 'wait'. Maybe that is right for a primer, but it is mostly because I wanted to get it out the door. Dar Scott From jacque at hyperactivesw.com Tue Aug 19 13:27:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 19 13:27:01 2003 Subject: image paste In-Reply-To: <242B985A-D20D-11D7-9466-000393DD0724@earthlink.net> References: <242B985A-D20D-11D7-9466-000393DD0724@earthlink.net> Message-ID: <3F426A9C.70003@hyperactivesw.com> On 8/19/03 1:19 AM, Andrew wrote: > First of all, how do you resize an image object to a > fomattedWidth and Height? set the width of img 1 to the formattedWidth of img 1 set the height of img 1 to the formattedHeight of img 1 > Secondly, I'm still having a lot of trouble getting my second image to > paste separate from the first image. I shrink the first image and move > it over to one side of the card. Then I click elsewhere on the card (so > the first image is not selected) and paste my second image. Still, the > second image appears right on top of the first one, no matter where the > first one is located on the screen. Where are you getting the images in the clipboard from? Are you copying from another application, or from another stack? If it is from another stack, there are other ways to move the images. Also, are you sure that the second image is actually going into the first one, or is is just getting laid on top? If it is just on top, then resizing it should work. > > By the way, I'm using Revolution demo. Could that have anything to do > with it? No. The demo will act exactly the same as the licensed version. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rgould8 at aol.com Tue Aug 19 13:35:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Tue Aug 19 13:35:01 2003 Subject: Way to get backdrop to cover everything in OS X? Message-ID: <3F426C3F.5060906@aol.com> An HTML attachment was scrubbed... URL: From lbrehmer at rof.net Tue Aug 19 13:37:01 2003 From: lbrehmer at rof.net (lbrehmer at rof.net) Date: Tue Aug 19 13:37:01 2003 Subject: Button Basics? -thanks Jan! Message-ID: <265000-220038219183012219@M2W043.mail2web.com> Thanks a million to Jan Schenkel! Problem solved! I had looked at every single thing in the "Menus" chapter of the "Documentation by Catagory" and while I had seen references to "MenuPick" I couldn't make heads or tails out of implementing it. Sometimes we "non code writers" know literally nothing and need tips, like the one you gave me, in real plain English! I am following the documentation and beginners discussions closely and have signed up for the Dan Shafer book and I hope to get better at this. Thanks again and also thanks to those of you who answered a couple of other beginners questions for me in the past few weeks! Lars -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From dsc at swcp.com Tue Aug 19 13:46:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 13:46:01 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' In-Reply-To: <8FB19590-D1ED-11D7-9A63-0003936D1F12@snet.net> Message-ID: <7F666BE1-D274-11D7-8354-000A9567A3E6@swcp.com> On Monday, August 18, 2003, at 08:33 PM, Kurt Kaufman wrote: > I look forward to studying the message primer in detail- since I > generally write scripts using the path-of-least-resistance (easiest to > fathom but often inefficient). My attempt is to introduce a style that will give you both. However, I have learned that what I consider "simple" others do not. For example, less lines of code is not always simpler to me. I like to break things down into pieces that I can mentally put aside as done, even into handlers or other objects, and then only consider their interface in building bigger things. If one is into that kind of thinking, the primer will be a good place to get into "messages". I deviated a little for pedagogical reasons, but that theme should be there. > Thank you, Dar! You are quite welcome. Dar Scott From devin_asay at byu.edu Tue Aug 19 13:48:00 2003 From: devin_asay at byu.edu (Devin Asay) Date: Tue Aug 19 13:48:00 2003 Subject: DB Access in standalones In-Reply-To: Message-ID: I wrote Monday about my problems trying to get my standalone to connect to a mySQL database: >> the standalone does not successfully contact the database. >> Instead I get a revdberr, invalid database type. (I chose to include >> error messages during distribution building. Jan provided a useful clue: On Tuesday, August 19, 2003, at 12:45 AM, Jan Schenkel wrote: > You might want to check out the Transcript dictionary > entry for the 'revSetDatabaseDriverPath' command. > What I did was use the startup handler to 1) set the defaultFolder to the folder containing the main stack, then 2) use the revSetDatabaseDriverPath command to set the database driver path to the defaultFolder. In OS X this happens to be in the App bundle/Contents/MacOS/. Now when I do this I can contact the database successfully as long as I remain in the main stack. As soon as I go to a substack (where most of the queries take place) it stops working. Even when I go back to the main stack the database queries no longer work. I am back to the situation where I get a revdberr, invalid database type error. This sounds a lot like what Jacque wrote about: On Tuesday, August 19, 2003, at 12:47 AM, "J. Landman Gay" wrote: > Is the externals property set to the right path? The externals property > is relative to the application bundle, not the engine inside the > Contents folder. That's probably why Rev puts it where you first found > it. I believe Rev also tries to set the externals property during a > build. If you moved the files, the path that Rev sets would no longer > be > accurate (and it produces a silent error in that case.) > > This sounds a lot like the problems I've had loading externals, which > has almost always been a problem with paths during startup. Also, if it > applies, it seems to help to keep all the database calls in the > mainstack rather than in substacks. There seems to be some problem with > substacks that make calls to externals. If I insert an answer dialog in the standalone to report the externals property, it says "revdb.bundle", which, as Jacque said, supposedly means relative to the application bundle. I take this to mean inside the app bundle, but the Distribution Builder puts it at the same level as the app bundle. What is the real story here? The documentation is not very detailed on this point, and in fact does not seem to reflect what's really happening. Can someone on the Rev team explain it to me? Tuviah? Geoff? I really need to get this application up soon. Thanks. Devin Asay Humanities Technology and Research Support Center Brigham Young University From gbojsza at austin.rr.com Tue Aug 19 13:59:00 2003 From: gbojsza at austin.rr.com (Glen Bojsza) Date: Tue Aug 19 13:59:00 2003 Subject: RR in Linux help shell and menu Message-ID: I am hoping someone can offer a few suggestions for the following: I wish to use RR for a Linux app. There are several commands that I can run but they have many switch options! I plan to list the commands to a user (invest, divest, suggest) and their available switches via a check box For example for divest command piped to a file called "Hfund" Later I will need to read the file into RR to present the results : divest -r -s BOB > Hfund My question is what is the proper way to use the shell command? And how should I call the check box of options once the command has been selected? Does it even make sense to use a check box to let the user select their options (later on I will need to be able to allow the user to input particular data as an option requires ...date range, threshold etc) So I would like to plan the proper way in the beginning. Any suggestions are appreciated. regards, Glen From dsc at swcp.com Tue Aug 19 14:04:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 14:04:01 2003 Subject: Deleting lines within a 'repeat for each' loop In-Reply-To: <25CF7128-D21B-11D7-8C51-00306571A218@pixelmedia.com.au> Message-ID: <0D9EBCA1-D277-11D7-8354-000A9567A3E6@swcp.com> On Tuesday, August 19, 2003, at 02:00 AM, Martin Steer wrote: > repeat for each line currLine in fileList repeat for each line currLine in (fileList & empty) I'm just guessing, assuming that will create a temporary copy for your. An alternate approach would be to build a new list and not try to delete lines from the original, depending on what you have in mind. I find 'put after' is fast. Dar Scott From ttasovac at princeton.edu Tue Aug 19 14:19:00 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Tue Aug 19 14:19:00 2003 Subject: How to properly format text in sheet on OS X? In-Reply-To: <241B5458-D19B-11D7-AD2B-000A95859272@earthlink.net> Message-ID: <2390235A-D279-11D7-9D4D-000393D60E0C@princeton.edu> Mark, I didn't quite get what you had in mind. I have tried (similar to Brian's original post): answer warning "

Message text

Informative text

" with Continue as sheet because, according to Aqua HUI, the message text has to be bold Lucida Grande 13 and informative text has to be regular Lucida Grande 11. The styling of the informative text, however, ends up being regular Lucida Grande 13. Any thoughts on how to fix this? All best, Toma Am Montag, 18.08.03 um 18:43 Uhr schrieb Mark Brownell: > I got this to work: > answer warning "

message text



face=Arial size=12>informative text

" with "Continue" > as sheet > I'm thinking that setting the answer textFont to Lucida Grande first, > somehow might make multiple fonts available. From edgore at shinra.com Tue Aug 19 14:36:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 19 14:36:01 2003 Subject: Newsletter CGI anyone? Message-ID: <200308191929.h7JJTn789508@mmm1505.boca15-verio.com> I haven't seen anything just like that, but it seems like it wouldn't be that hard to do. If you are uncomfortable doing CGI stuff, you could even write it as a desktop application that generates webpages and uploads them, and at the same time creates emails and sends them out the your subscriber list. I have something already written that does the first part (though it's meant for people using the Amazon Associate program), bolting on mass emailing would be pretty easy, I think. >----- ------- Original Message ------- ----- >From: malte.brill at t-online.de (Malte Brill) >To: >Sent: Tue, 19 Aug 2003 18:23:48 > >Hi List, > >has anyone developed a Newsletter CGI in Rev/MC? > >I=B4d like something where Useres can >subscribe/unsubscribe to, select >Products they want to have information on (so it >needs to be expandable) = >and >sends the information on the products choosen >automatically to subscribed >users when I upload the news. > >Has anyone coded something like this? What does it >cost to purchase a cop= >y? >(As I am a Web technique dum-bee I would also need >help with installing = >it) > >If noone has, do you know a non rev solution? > >Regards, > > >Malte > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From pbsi at mac.com Tue Aug 19 14:56:01 2003 From: pbsi at mac.com (Brian Maher) Date: Tue Aug 19 14:56:01 2003 Subject: How to properly format text in sheet on OS X? Message-ID: <4778047.1061322619208.JavaMail.pbsi@mac.com> Hi Toma, Here is what I got to work at home (and it displayed the correct font and point size)... answer warning "Message text

Informative text" with "Continue" as sheet Cheers, Brian From dsc at swcp.com Tue Aug 19 15:01:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 15:01:01 2003 Subject: How to properly format text in sheet on OS X? In-Reply-To: <1157868F-CFEC-11D7-BD42-000393020FF0@mac.com> Message-ID: On Saturday, August 16, 2003, at 07:18 AM, Brian K. Maher wrote: > > answer warning "message > text

size='11'>informative text" with "Continue" as sheet Severe Wrap Warning! on mouseUp put "message text

informative text" into x replace "'" with quote in x answer warning x with "Continue" as sheet end mouseUp The message text looks bigger than the informative text to me for this example. If you need a lot of quotes, consider format with just the format string to insert the quotes. The string constant parsing goes into a special mode in the context of the format function. For example: get format("") Who woulda thought? Dar Scott From jacque at hyperactivesw.com Tue Aug 19 15:06:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 19 15:06:01 2003 Subject: DB Access in standalones In-Reply-To: References: Message-ID: <3F4281CB.90409@hyperactivesw.com> On 8/19/03 1:21 PM, Devin Asay wrote: > What is the real story here? The documentation is not very detailed on > this point, and in fact does not seem to reflect what's really > happening. Can someone on the Rev team explain it to me? Tuviah? Geoff? > I really need to get this application up soon. Thanks. I would also appreciate an explanation from someone who knows. After I answered you yesterday, I spent almost five hours wrestling with exactly the same problem. I never could get the external to load properly. Like you, I tried a startup handler that called revSetDatabaseDriverPath but it did no good. I also moved all the scripts from a substack that contained the DB calls into the main stack script but that didn't help either. I tinkered with scripts endlessly and probably built 40 or 50 trial standalones, none of which worked. The stack works fine in the IDE. This should not be so hard, and I suspect there is a problem with either the engine or the distribution builder. I did find an error in Rev's database library scripts which I thought could be the problem, but fixing it still didn't cause the externals to load for me. Even so, you will probably want to try fixing Rev's DB library script. It's in the stack called "revlibrary.rev", which contains a group that gets copied to your standalone during a build. You'll need to edit the script of the group called "revLibraries" which contains a preOpenBackground handler. That handler starts out like this: on preOpenBackGround repeat with i = 1 to the number of btns in me if the short name of button i is among the items of "revTable,revDatabase" then insert script of button i of me into front else insert script of btn i of me into back end if end repeat If this group isn't the first one placed on the card in the standalone, the script will fail to insert the database lib scripts in some cases, and will insert non-database button scripts arbitrarily from other buttons in your stack. If that happens, all Rev-related database calls will fail. The fix is to change line 3 to this: if the short name of button i OF ME is among the items of "revTable,revDatabase" then This ensures that the right set of button scripts are inserted. (It took me forever to find this bug, since you can't look at the group's script once it is in a standalone.) I've bug-reported it and Runtime fixed it yesterday, but people will probably want to alter their current copies of the library to accomodate until the next release comes out. I thought this fix was the clincher and things would work properly after that, but as I said, the external still didn't load even with the revised library script. I am not at liberty to send Runtime the stacks I am working on, but if you can send them yours, I hope you will. It seems to be a common problem for many of us and I'd like to see it resolved soon. As near as I can tell, there are some stacks which simply cannot use the database externals in OS X. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From macbox at earthlink.net Tue Aug 19 15:30:00 2003 From: macbox at earthlink.net (MacGuy) Date: Tue Aug 19 15:30:00 2003 Subject: Upgrade: where to buy? In-Reply-To: <200308190129.VAA15162@www.runrev.com> Message-ID: <18862686-D283-11D7-984F-000393C67B60@earthlink.net> Looking at the bottom of the licensing page I see "Studio Upgrade from 2.0x to 2.1 $49" (which is an awesome price!), but I can find no "buy" button for these upgrade prices. If i go back to the home page and follow the link for "pay for a license" and then pick "upgrades and crossgrades", I can find no reference to this $49 upgrade price. How do I purchase this? Thanks! From cm_sheffield at yahoo.com Tue Aug 19 15:38:00 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Aug 19 15:38:00 2003 Subject: database issues Message-ID: <20030819203139.27313.qmail@web20421.mail.yahoo.com> I've been reading both Devin's and Jacque's posts, and there is definitely something weird going on with database access in Rev, especially when it comes to built standalones. So I have something I'd like someone to verify for me and see if you get the same results. If so, I'm going to report this as another database bug. 1) Create a new stack with two fields and two buttons (or just get creative :-) 2) Open the database query builder and create a new query to connect to a Valentina database (you can download my database from www.readnaturally.com/Internal/RNSE/data.zip). Set the path and all that, then click the Connect button. You should be able to connect okay. You shouldn't have to change anything on the Record Set tab. 3) Close the query builder and connect the fields and buttons to the database. Set field 1 to display first name, and field two to display last name. Set button one to move to the previous record, and button two to move to the next record. 4) Hit the browse tool and you should be able to move back and forth between two different records. 5) Now for the fun. Build a standalone and include the database library. Run the standalone and see if the app connects to the database. My guesses are that it won't. 6) Try playing with the externals, setDatabaseDriversPath, etc. and see if you can make it work. If you can, you're my hero and I'll be eternally grateful for any input you can provide, but you probably won't be able to. The Rev docs say, and I quote, "If you check the "Database Library" option in the Distribution Builder, all the supporting scripts for the Database Query Builder are included in the application (although the Database Query Builder window is not), along with the Database library external. You don't need to do anything more to make automatic database queries work in your application." It sounds like part of this has been fixed as far as the necessary scripts being included (thanks to Jacque), but the part about not having to do anything else to use automatic queries doesn't seem to be true. I am experiencing these issues in both Windows and Mac builds. If someone has a bit of free time and can try this out, I would greatly appreciate it. I'm in the same boat as Devin and really need to get this working, and it sounds like to me that the issues are related. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dsc at swcp.com Tue Aug 19 15:41:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 15:41:01 2003 Subject: Revolution and fonts In-Reply-To: Message-ID: On Sunday, August 17, 2003, at 10:05 PM, Richard Gaskin wrote: > > While the lively discussion here is valuable, these issues only affect > a > relatively small subset of apps as most simply follow the HIG for each > platform. Even following the HIG for each platform will involve profiles or scripting or both to adjust to the platform. Even then, I would think most apps have some part that does not apply. To my shame, I have ignored HIG. My Windows book is boxed up and probably only applies to 3.1. Any good online references to HIG for Windows, OS X, Mac OS? Is there such a thing for Linux? (I have no idea whether Linux folks would offended if I suggested there would not be one or offended if I suggested there might be one.) Dar Scott From edgore at shinra.com Tue Aug 19 16:10:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 19 16:10:00 2003 Subject: Upgrade: where to buy? Message-ID: <200308192103.h7JL3lq26120@mmm1505.boca15-verio.com> Email heather at runrev.com. She knows all, and sees most. >----- ------- Original Message ------- ----- >From: MacGuy >To: use-revolution at lists.runrev.com >Sent: Tue, 19 Aug 2003 16:24:12 > >Looking at the bottom of the licensing page > > > > >I see "Studio Upgrade from 2.0x to 2.1 $49" >(which is an awesome >price!), but I can find no "buy" button for these >upgrade prices. If i >go back to the home page and follow the link for >"pay for a license" >and then pick "upgrades and crossgrades", I can >find no reference to >this $49 upgrade price. How do I purchase this? >Thanks! > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From dsc at swcp.com Tue Aug 19 16:14:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 16:14:00 2003 Subject: Anyone At All Using Valentina? In-Reply-To: Message-ID: <25A3BD7C-D289-11D7-8354-000A9567A3E6@swcp.com> On Tuesday, August 19, 2003, at 12:31 AM, Dan Shafer wrote: > What am I missing here, people? From an armchair viewpoint in my ivory tower... I like the model used by Valentina. Dar Scott From edgore at shinra.com Tue Aug 19 16:16:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 19 16:16:01 2003 Subject: Revolution and fonts Message-ID: <200308192109.h7JL9u028068@mmm1505.boca15-verio.com> You are in trouble in any case Dar. Half of linux users are offended by the former, half are offended by the later, and the other half wonder why you aren't just doing everything with stdin and stdout. >----- ------- Original Message ------- ----- >From: >To: use-revolution at lists.runrev.com >Sent: Tue, 19 Aug 2003 14:35:12 >(I have no >idea whether Linux folks would offended if I >suggested there would not >be one or offended if I suggested there might be >one.) > >Dar Scott From kray at sonsothunder.com Tue Aug 19 16:23:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 19 16:23:01 2003 Subject: Way to get backdrop to cover everything in OS X? In-Reply-To: <3F426C3F.5060906@aol.com> Message-ID: <018001c36697$0e23fc00$6801a8c0@LightningFlash> Rob, I don't understand why the Finder windows would be on top of the backdrop. If I open Rev and type "set the backdrop to black" in the message box, it covers everything (except Rev itself, of course). True, if I command-tab between windows, it brings other apps' windows to the front, but if I don't do that, I have a backdrop that covers everything. Is your second stack in front of everything? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Rob Gould Sent: Tuesday, August 19, 2003 1:28 PM To: use-revolution use-revolution Subject: Way to get backdrop to cover everything in OS X? I'm trying to make an application that let's the user click on a thumbnail image, and then the image is displayed full-sized with a black background covering the whole desktop. Right now, I have the thumbnail viewer as one stack, and the "full-size viewing page" as a second stack. On the openCard of the 2nd stack, I set the backdrop to black. This almost works, except that I have to set the visible of the first stack to FALSE to hide it, and then there's the remaining issue of the Mac OSX finder windows being visible on top of the backdrop - - - any idea how I can make the backdrop go on top of the OS X windows/dock? (Or perhaps there's a better way to do this altogether? - Rob _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Aug 19 16:25:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 19 16:25:00 2003 Subject: Upgrade: where to buy? In-Reply-To: <18862686-D283-11D7-984F-000393C67B60@earthlink.net> Message-ID: <018301c36697$5ef84690$6801a8c0@LightningFlash> Click on the link in the toolbar for "Online Store". The first page you get to will list everything including "Revolution Express" with buttons for "Add One to Basket" and "Buy One Now". Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of MacGuy > Sent: Tuesday, August 19, 2003 3:24 PM > To: use-revolution at lists.runrev.com > Cc: MacGuy > Subject: Upgrade: where to buy? > > > Looking at the bottom of the licensing page > > > > I see "Studio Upgrade from 2.0x to 2.1 $49" (which is an awesome > price!), but I can find no "buy" button for these upgrade > prices. If i > go back to the home page and follow the link for "pay for a license" > and then pick "upgrades and crossgrades", I can find no reference to > this $49 upgrade price. How do I purchase this? Thanks! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From ambassador at fourthworld.com Tue Aug 19 16:27:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 19 16:27:00 2003 Subject: Revolution and fonts In-Reply-To: Message-ID: Dar Scott wrote: >> While the lively discussion here is valuable, these issues only affect >> a relatively small subset of apps as most simply follow the HIG for >> each platform. > > Even following the HIG for each platform will involve profiles or > scripting or both to adjust to the platform. Even then, I would think > most apps have some part that does not apply. Small parts, like the styled text in an About box for which most application developers use images, regardless of dev tool or language. Why would using any font necessarily require profiles or other complex scripting? Any multi-platform deliverable is likely to include at least some platform-specific code. With fonts this is two lines for each platform, one to set the textFont of the mainstack and the other to set its textSize. If no other font attributes have been set for objects they will all inherit these settings from the mainstack. > To my shame, I have ignored HIG. My Windows book is boxed up and > probably only applies to 3.1. Any good online references to HIG for > Windows, OS X, Mac OS? Is there such a thing for Linux? All three (and other useful stuff) is linked to from my Resources page: -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From erikhans08 at yahoo.com Tue Aug 19 16:49:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Aug 19 16:49:00 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' In-Reply-To: Message-ID: <20030819214234.91867.qmail@web20004.mail.yahoo.com> what does [ANN] mean (and it please you)? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alrice at ARCplanning.com Tue Aug 19 16:53:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 19 16:53:01 2003 Subject: Revolution and fonts In-Reply-To: Message-ID: <954BF398-D28E-11D7-A257-000393529642@ARCplanning.com> On Tuesday, August 19, 2003, at 02:35 PM, Dar Scott wrote: > > Even following the HIG for each platform will involve profiles or > scripting or both to adjust to the platform. Even then, I would think > most apps have some part that does not apply. > > To my shame, I have ignored HIG. My Windows book is boxed up and > probably only applies to 3.1. Any good online references to HIG for > Windows, OS X, Mac OS? Is there such a thing for Linux? (I have no > idea whether Linux folks would offended if I suggested there would not > be one or offended if I suggested there might be one.) re: apple HIG, it is on their ADC website; search for "Human Interface Guidelines" at http://developer.apple.com/ Personally, I wouldn't get mired down in HIG guidelines for each platform. I recommend the book _Software For Use_ by Constantine and Lockwood. It has real-world practical advice, principles and rules for software developers that kind of cuts through all the HIG BS and is immediately useful. Judging from your Primer Primer, Dar, you have a good "feel" for usability already and would probably enjoy the content in this book. There may be better books on this topic, but this one is also covers use-case modeling and navigation maps. Here is what Constantine and Lockwood say about HIG and platform standards: """ Unfortunately, the field of standards and style guides is riddled with potholes and pitfalls. Industry standards are often ignored, even by the very software companies that developed them and that call for others to adhere to them. In truth it may be all but impossible to follow the published standards and guidelines in practice. Advice on one page is contradicted by rules on another and there are more pages than any ordinary developer can be expected to understand and recall. Despite their encyclopedic appearance, published standards and style guides may leave the majority of questions unanswered. Jared Spool has reported that only about 10% of the user interface design questions raised by developers over the course of a typical project can be answered by reference to platform-based published guides. Another 10% or so may be covered by the corporate standards developed in house by particular companies. In other words, even if used well and used consistently, user interface standards manuals and style guides will leave developers in the dark or on their own most of the time. """ http://www.amazon.com/exec/obidos/tg/detail/-/0201924781/ http://foruse.com/publications/index.htm re: Fonts in _Software For Use_ won't tell you what font & size to use on what platform. But gives some usability tips for fonts, like - Use Sans-serif fonts; they are easer to read on screen. (aside: This has always puzzled me. Serif fonts are known to be easier to read in print. Will this rule change when displays get better?) - Use the "over-40" 1 meter squint test to make sure your fonts are not too small - Use a max of 2 or 3 fonts per screen - Avoid italics and other font styles that don't display on screen too well That's just from memory; there could be more about fonts in there. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From klaus at major-k.de Tue Aug 19 16:58:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 19 16:58:01 2003 Subject: RR in Linux help shell and menu In-Reply-To: Message-ID: <6263331D-D28F-11D7-B122-000A27B49A96@major-k.de> Hi Glen, > I am hoping someone can offer a few suggestions for the following: > > I wish to use RR for a Linux app. There are several commands that I > can run > but they have many switch options! > > I plan to list the commands to a user (invest, divest, suggest) and > their > available switches via a check box > > For example for divest command piped to a file called "Hfund" Later I > will > need to read the file into RR to present the results : > > divest -r -s BOB > Hfund > > My question is what is the proper way to use the shell command? ... get shell"divest -r -s BOB > Hfund" if the result <> empty then ### did not work somehow... end if ... This is the syntax... > And how should I call the check box of options once the command has > been > selected? You could check the hilites of these checkboxes (maybe in a loop) and create the apropriate string for the shell command like: ... put "divest" into the_shell if the hilite of btn "flag1" then put SPACE & "-r" after the_shell if the hilite of btn "flag2" then put SPACE & "-s" after the_shell ... if fld "outputfile" <> empty then put SPACE & "<" && fld "outputfile" after the_shell get shell(the_shell) ... You get the picture... > Does it even make sense to use a check box to let the user select their > options (later on I will need to be able to allow the user to input > particular data as an option requires ...date range, threshold etc) So > I > would like to plan the proper way in the beginning. Sounds like a good idea to me :-) So one can also learn about the different flags for the different commands ;-) > Any suggestions are appreciated. You could create different sets (read: groups) of checkboxes for the commands and show/hide these sets accordingly... Should be pretty easy... Drop a line or two if you need more info/assistance :-) > regards, > > Glen Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Tue Aug 19 16:59:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 16:59:00 2003 Subject: Revolution and fonts In-Reply-To: Message-ID: <67C9732E-D28F-11D7-8354-000A9567A3E6@swcp.com> On Tuesday, August 19, 2003, at 03:17 PM, Richard Gaskin wrote: > Why would using any font necessarily require profiles or other complex > scripting? My ignorance is showing. I was imagining a battery of buttons being the same length on one and fixed padded on another. I have one app in which I use a fixed width font for a terminal-like window; maybe I can use trial and error or Alex's method to find one. I have no idea how labels are supposed to line up with what they label. I better shut up and go read your HIG documents. Dar Scott From dsc at swcp.com Tue Aug 19 17:01:07 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 17:01:07 2003 Subject: Revolution and fonts In-Reply-To: <954BF398-D28E-11D7-A257-000393529642@ARCplanning.com> Message-ID: On Tuesday, August 19, 2003, at 03:46 PM, Alex Rice wrote: > - Use the "over-40" 1 meter squint test to make sure your fonts are > not too small I'm available! I'm over 40 and I have lots of practice squinting! Dar From dsc at swcp.com Tue Aug 19 17:08:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 17:08:00 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' In-Reply-To: <20030819214234.91867.qmail@web20004.mail.yahoo.com> Message-ID: On Tuesday, August 19, 2003, at 03:42 PM, erik hansen wrote: > what does [ANN] mean (and it please you)? I'm not sure. I think Ann collects some of these things. I think it means announcement and is intended as a warning that the material is not really a question but might even be somewhat self-serving, vain or commercial. I included it because I wanted to be in the "in" crowd and use all the cool subject labels that those in the "in" crowd use. Maybe next time I'll try [NEW] or [XYZZY] and see what happens. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From alw918 at earthlink.net Tue Aug 19 17:13:01 2003 From: alw918 at earthlink.net (Andrew) Date: Tue Aug 19 17:13:01 2003 Subject: image pasting In-Reply-To: <200308191907.PAA15070@www.runrev.com> Message-ID: Much thanks for being in contact with me about image problems! > set the width of img 1 to the formattedWidth of img 1 > set the height of img 1 to the formattedHeight of img 1 Okay, I put this script into the Mouseup handler of a btn on my card, and edited the script to say img "" instead of "1" However, it doesn't do anything when I click the button. What gives? :) > >> Secondly, I'm still having a lot of trouble getting my second image to >> paste separate from the first image. I shrink the first image and >> move >> it over to one side of the card. Then I click elsewhere on the card >> (so >> the first image is not selected) and paste my second image. Still, >> the >> second image appears right on top of the first one, no matter where >> the >> first one is located on the screen. > > Where are you getting the images in the clipboard from? Are you copying > from another application, or from another stack? If it is from another > stack, there are other ways to move the images. I'm copying them from Claris Works > > Also, are you sure that the second image is actually going into the > first one, or is is just getting laid on top? If it is just on top, > then > resizing it should work. I'm sure that it is going into the first one. It pastes on top of the first image no matter where the first image is on the screen. After I paste it, when I click on it and move it, both images move together as if they were one image (assuming that the second one is smaller and I can still see the first image "behind" it). Thanks again for your help. I'm very appreciative Andrew From ambassador at fourthworld.com Tue Aug 19 17:13:26 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 19 17:13:26 2003 Subject: Revolution and fonts In-Reply-To: <67C9732E-D28F-11D7-8354-000A9567A3E6@swcp.com> Message-ID: Dar Scott wrote: >> Why would using any font necessarily require profiles or other complex >> scripting? > > My ignorance is showing. I was imagining a battery of buttons being > the same length on one and fixed padded on another. I'm having difficulty imagining this. Why wouldn't the textAlign property cover that? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From alrice at ARCplanning.com Tue Aug 19 17:27:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 19 17:27:00 2003 Subject: kiosk/game mode Message-ID: <54E74552-D293-11D7-A257-000393529642@ARCplanning.com> Most game software runs fullscreen & it actually grabs the display. This doesn't seem to be possible with Rev, but I saw on the list archive some rumor of an external to do this but no links or anything. The "competition" seems to be able to do this; I've seen Director games that go fullscreen like this. Is there a xplatform solution to enable Rev to do this? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From erikhans08 at yahoo.com Tue Aug 19 17:31:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Aug 19 17:31:01 2003 Subject: Richmond comes clean In-Reply-To: Message-ID: <20030819222433.56422.qmail@web20003.mail.yahoo.com> --- Mathewson wrote: > not in favour of an Americo-Centric world... well i am. i like my Mexican food, Japanese pickup, English mountain bike, Australian surfboard, Finnish movies, Indonesian shoes, Taiwanese shirt, Italian brithches, Scottish software... you get the picture, bub. love it or leave it. Erik ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From rcozens at pon.net Tue Aug 19 17:35:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Aug 19 17:35:00 2003 Subject: Deleting lines within a 'repeat for each' loop In-Reply-To: <0D9EBCA1-D277-11D7-8354-000A9567A3E6@swcp.com> References: <0D9EBCA1-D277-11D7-8354-000A9567A3E6@swcp.com> Message-ID: >An alternate approach would be to build a new list and not try to >delete lines from the original, depending on what you have in mind. Martin, Dar, et al: I use this approach in maintaining SDB indexes: For example, SDB Server maintains a locked record index with a format of recordId & tab & clientId & return for each lock. When a client logs off, the sever updates the locked record index like so-- set item delimiter to tab put empty into newList put lockedRecordList[sdbDbId] into oldList repeat for each line lockedRecord in oldList if item 2 if lockedRecord is sdbClientId then next repeat put lockedRecord& return after newList end repeat put newList into lockedRecordList[sdbDbId] -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From kray at sonsothunder.com Tue Aug 19 17:36:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 19 17:36:00 2003 Subject: DB Access in standalones In-Reply-To: <3F4281CB.90409@hyperactivesw.com> Message-ID: <019401c366a1$61ea03c0$6801a8c0@LightningFlash> I hate to mention this, but I've been using Valentina for over 6 months now and decided not to use the Rev libraries to connect to or implement my use of the database. (For those who are wondering why, my main reason is that I need to do a lot with manipulating data inside of a cursor and posting that data back to the Valentina DB, plus creating/modifying tables on the fly, which Rev's functions don't cover very well.) When I connect directly to the Valentina XCMD using Valentina calls, everything works fine for me; I recommend that until this situation on DB access in standalones is fixed/resolved by RunRev that those who need to work with Valentina just call the XCMD directly. Just my 2 cents, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > J. Landman Gay > Sent: Tuesday, August 19, 2003 3:00 PM > To: use-revolution at lists.runrev.com > Subject: Re: DB Access in standalones > > > On 8/19/03 1:21 PM, Devin Asay wrote: > > > What is the real story here? The documentation is not very > detailed on > > this point, and in fact does not seem to reflect what's really > > happening. Can someone on the Rev team explain it to me? > Tuviah? Geoff? > > I really need to get this application up soon. Thanks. > > I would also appreciate an explanation from someone who > knows. After I > answered you yesterday, I spent almost five hours wrestling > with exactly > the same problem. I never could get the external to load > properly. Like > you, I tried a startup handler that called > revSetDatabaseDriverPath but > it did no good. I also moved all the scripts from a substack that > contained the DB calls into the main stack script but that > didn't help > either. I tinkered with scripts endlessly and probably built 40 or 50 > trial standalones, none of which worked. The stack works fine > in the IDE. > > This should not be so hard, and I suspect there is a problem > with either > the engine or the distribution builder. I did find an error in Rev's > database library scripts which I thought could be the problem, but > fixing it still didn't cause the externals to load for me. > > Even so, you will probably want to try fixing Rev's DB > library script. > It's in the stack called "revlibrary.rev", which contains a > group that > gets copied to your standalone during a build. You'll need to > edit the > script of the group called "revLibraries" which contains a > preOpenBackground handler. That handler starts out like this: > > on preOpenBackGround > repeat with i = 1 to the number of btns in me > if the short name of button i is among the items of > "revTable,revDatabase" then > insert script of button i of me into front > else > insert script of btn i of me into back > end if > end repeat > > If this group isn't the first one placed on the card in the > standalone, > the script will fail to insert the database lib scripts in > some cases, > and will insert non-database button scripts arbitrarily from other > buttons in your stack. If that happens, all Rev-related > database calls > will fail. The fix is to change line 3 to this: > > if the short name of button i OF ME is among the items of > "revTable,revDatabase" then > > This ensures that the right set of button scripts are > inserted. (It took > me forever to find this bug, since you can't look at the > group's script > once it is in a standalone.) I've bug-reported it and Runtime > fixed it > yesterday, but people will probably want to alter their > current copies > of the library to accomodate until the next release comes out. > > I thought this fix was the clincher and things would work > properly after > that, but as I said, the external still didn't load even with the > revised library script. I am not at liberty to send Runtime > the stacks I > am working on, but if you can send them yours, I hope you > will. It seems > to be a common problem for many of us and I'd like to see it resolved > soon. As near as I can tell, there are some stacks which > simply cannot > use the database externals in OS X. > > -- > 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 alrice at ARCplanning.com Tue Aug 19 17:39:02 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 19 17:39:02 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' In-Reply-To: Message-ID: <18C07701-D295-11D7-A257-000393529642@ARCplanning.com> On Tuesday, August 19, 2003, at 04:01 PM, Dar Scott wrote: > I included it because I wanted to be in the "in" crowd and use all the > cool subject labels that those in the "in" crowd use. I think it's good list etiquette, kind of like using [OT] for off-topic posts. Also it's interesting to search the list archives for [ANN] to see what kind of things people are releasing built with Revolution. I suppose one could use [EGO], [VAN] or in some cases [$] instead :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From ambassador at fourthworld.com Tue Aug 19 17:39:28 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 19 17:39:28 2003 Subject: Revolution and fonts In-Reply-To: <954BF398-D28E-11D7-A257-000393529642@ARCplanning.com> Message-ID: Alex Rice wrote: > Here is what Constantine and Lockwood say about HIG and platform > standards: > """ > Unfortunately, the field of standards and style guides is riddled with > potholes and pitfalls. Industry standards are often ignored, even by > the very software companies that developed them and that call for > others to adhere to them. LOL -- my favorite example is the Large Fonts setting in XP: while the Win HIG tells you all the silly hoops you should be jumping through to support customizable font settings, the very control panel where these are set ignores them. ;) While I'm no fan of sheep-like adherence to the HIGs we all agree on the core principles, and one of those is consistency. While I'd like to think my app is the only thing the user bought her machine for, in practice most things we write will comprise a relatively small part of a larger computing workflow. The more apps have similar appearances, layout, and behavior, the easier it is for users to move between apps seamlessly. With text being such a central element in communication with the user (undecipherable icons in toolbar fetishisms notwithstanding) it seems reasonable to at least adhere to the default font settings for each platform. Fortunately it's also the easiest solution: you only need to set two properties in your mainstack, and you know the fonts are available. ;) And on most systems, merely setting the textfont to any invalif font name (I tend to ue "0") will force it to use the default system font, so really the only platform-specific setting is the textSize. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rcozens at pon.net Tue Aug 19 17:40:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Aug 19 17:40:00 2003 Subject: kiosk/game mode In-Reply-To: <54E74552-D293-11D7-A257-000393529642@ARCplanning.com> References: <54E74552-D293-11D7-A257-000393529642@ARCplanning.com> Message-ID: > Most game software runs fullscreen & it actually grabs the display. >This doesn't seem to be possible with Rev Hi Alex, A screen-sized stack with no menu doesn't do it? A smaller stack that sets the backdrop? What am I missing? -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From dsc at swcp.com Tue Aug 19 17:40:28 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 17:40:28 2003 Subject: Revolution and fonts In-Reply-To: Message-ID: <2A306568-D295-11D7-8354-000A9567A3E6@swcp.com> On Tuesday, August 19, 2003, at 04:04 PM, Richard Gaskin wrote: >>> Why would using any font necessarily require profiles or other >>> complex >>> scripting? >> >> My ignorance is showing. I was imagining a battery of buttons being >> the same length on one and fixed padded on another. > > I'm having difficulty imagining this. Why wouldn't the textAlign > property > cover that? Ah, that's because you don't realize how wild my imagination might be when I'm ignorant. I was picturing that three buttons in a column (assuming that is allowed in both platforms) might be required to be different on two platforms: Platform 1. All buttons in a column must be the same width, a multiple of 10 pixels in width and greater than 25% larger than the text content. However, if any button is not related to the other the interbutton spacing must be at least 4 pixels greater and the size must be at least 10 pixels different. Platform 2. All buttons (in a column or not) must be exactly 42 pixels wider than the width of the text. See? I need to read those HIGs. My fears are getting the best of me. I have heard something on this list or related list that the "done" button goes in different places on different platforms. I assume that can be handled with profiles or a tiny bit of scripting. (Oh, yeah. When I'm in a hurry, I don't set textAlign right or at least not in the most robust way. Thanks for the reminder.) Dar Scott From ambassador at fourthworld.com Tue Aug 19 17:42:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 19 17:42:00 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' In-Reply-To: Message-ID: Dar Scott wrote: >> what does [ANN] mean (and it please you)? > > I'm not sure. I think Ann collects some of these things. She does indeed. On some lists I subscribe to the ANN to non-ANN ratio is quite staggering. Some users have a mail filter to move those to a special folder. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From revlists at canelasoftware.com Tue Aug 19 17:50:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Aug 19 17:50:01 2003 Subject: QuickTime streaming server Message-ID: <971B21A2-D296-11D7-BE88-000393C3F5BC@canelasoftware.com> I have a very simple app that plays streaming movies from a QTSS. The app works fine when in the IDE of Rev 2.1 B3. When I create a standalone, and try to play a movie, I get the 5401 error. The server does not even show that I am attempting to watch a movie. I have tried accessing my server (which is local) as well videos on the net. Keep in mind that everything works fine in the IDE. What could I be missing here? Thanks for any insight. Best regards, Mark Talluto http://www.canelasoftware.com From monte at sweattechnologies.com Tue Aug 19 17:55:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 19 17:55:01 2003 Subject: kiosk/game mode In-Reply-To: <54E74552-D293-11D7-A257-000393529642@ARCplanning.com> Message-ID: > > Most game software runs fullscreen & it actually grabs the display. > This doesn't seem to be possible with Rev, but I saw on the list > archive some rumor of an external to do this but no links or anything. > The "competition" seems to be able to do this; I've seen Director games > that go fullscreen like this. Is there a xplatform solution to enable > Rev to do this? > Hi Alex What do you mean by grabs the display. Currently in Rev you can hide the menubar and taskbar and expand a stack to full screen. This will givbe that impression. Ideally I'd like to be able to set the screenRect. That way you could build for 800x600 and switch down to it. Regards Monte From alrice at ARCplanning.com Tue Aug 19 18:02:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 19 18:02:01 2003 Subject: kiosk/game mode In-Reply-To: Message-ID: <3885848A-D298-11D7-A257-000393529642@ARCplanning.com> On Tuesday, August 19, 2003, at 04:33 PM, Rob Cozens wrote: > Hi Alex, > > A screen-sized stack with no menu doesn't do it? > > A smaller stack that sets the backdrop? > > What am I missing? Both of those methods are partial solutions yes. The drawback is the user can still see the Dock and the App menu on OS X. The Dock is particularly annoying in this respect. I assume one could still see the Start menu/toolbar on Windows. By "grab the display" this means the game takes control of the entire display- sometimes accompanied with a change in the resolution and/or color depth. I have a bunch of educational games for my son and 90% of them do this. Most are Director apps, I think. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From klaus at major-k.de Tue Aug 19 18:10:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 19 18:10:01 2003 Subject: kiosk/game mode In-Reply-To: <3885848A-D298-11D7-A257-000393529642@ARCplanning.com> Message-ID: <48852A63-D299-11D7-B122-000A27B49A96@major-k.de> Hi Alex, > On Tuesday, August 19, 2003, at 04:33 PM, Rob Cozens wrote: > >> Hi Alex, >> A screen-sized stack with no menu doesn't do it? >> A smaller stack that sets the backdrop? >> What am I missing? > > Both of those methods are partial solutions yes. The drawback is the > user can still see > the Dock and the App menu on OS X. The Dock is particularly annoying > in this respect. Hmm, good ol' "hide menubar" hides the menubar and the dock on my OS X ;-) > I assume one could still see the Start menu/toolbar on Windows. There is a "hide taskbar" in version 2.1 :-) Hope that helps > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com Regards Klaus Major klaus at major-k.de www.major-k.de From lists at mangomultimedia.com Tue Aug 19 18:13:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Aug 19 18:13:01 2003 Subject: DB Access in standalones In-Reply-To: Message-ID: I had problems with database access in standalones at one point but was able to get everything working. Here is how my project is set up- 1) I have one splash stack whic his used to create the executable (splash.rev) 2) The main program (program.rev) and two additional pop-up windows are .rev files stored external to the executable. 3) The main program has a sub stack which has all of the database calls (database.rev). 4) When the executable launches it opens program.rev and hides itself. At first, program.rev would simply start using database.rev and that worked fine in the Rev development environment. When I built the standalone this wouldn't work though. I then added a line which would start using splash.rev (the rev file that was part of the executable) and then everything started working great. I assume that the splash.rev file had the links to the database external and by using it as a library in program.rev it made the database functionality available to it. Hope this helps. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jacque at hyperactivesw.com Tue Aug 19 18:13:31 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 19 18:13:31 2003 Subject: DB Access in standalones In-Reply-To: <019401c366a1$61ea03c0$6801a8c0@LightningFlash> References: <019401c366a1$61ea03c0$6801a8c0@LightningFlash> Message-ID: <3F42AD94.6090203@hyperactivesw.com> On 8/19/03 5:29 PM, Ken Ray wrote: > When I connect directly to the Valentina XCMD using Valentina calls, > everything works fine for me; I recommend that until this situation on > DB access in standalones is fixed/resolved by RunRev that those who need > to work with Valentina just call the XCMD directly. That's been my experience too, using Valentina in MetaCard. Unfortunately those stacks that start out in Revolution have no access to the same external. Rev ships with an unusual combination of drivers in one folder and the externals in a separate .bundle (on OS X). I couldn't find any way to use them that way (I tried to use MC to build a standalone with them, but I couldn't get it to work.) I believe that the downloadable external at Valentina's site has the drivers built into the same file, while Rev splits them out separately. Actually some of the main info I want to know from the Rev team is what that .bundle does, what the drivers do, what are their required relative locations on disk, and what relationship one has with the other. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Aug 19 18:22:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 19 18:22:01 2003 Subject: QuickTime streaming server In-Reply-To: <971B21A2-D296-11D7-BE88-000393C3F5BC@canelasoftware.com> Message-ID: > > I have a very simple app that plays streaming movies from a QTSS. The > app works fine when in the IDE of Rev 2.1 B3. When I create a > standalone, and try to play a movie, I get the 5401 error. The server > does not even show that I am attempting to watch a movie. I have tried > accessing my server (which is local) as well videos on the net. Keep > in mind that everything works fine in the IDE. What could I be missing > here? > Does libURL even handle RTSP urls? I can't see it in the code. Or are you using a reference movie as an intermediary between Rev and QTSS? Are you testing the Standalone with the IDE open? Maybe QTSS can't deal with two sockets to the same IP or something????? Regards Monte From alrice at ARCplanning.com Tue Aug 19 18:29:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Tue Aug 19 18:29:01 2003 Subject: kiosk/game mode In-Reply-To: <48852A63-D299-11D7-B122-000A27B49A96@major-k.de> Message-ID: <09520A68-D29C-11D7-A257-000393529642@ARCplanning.com> On Tuesday, August 19, 2003, at 05:03 PM, Klaus Major wrote: > Hmm, good ol' "hide menubar" hides the menubar and the dock on my OS X > ;-) > There is a "hide taskbar" in version 2.1 :-) > > Hope that helps Double Bingo! I wasn't aware of those commands. Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From ambassador at fourthworld.com Tue Aug 19 18:34:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 19 18:34:00 2003 Subject: Revolution and fonts In-Reply-To: <2A306568-D295-11D7-8354-000A9567A3E6@swcp.com> Message-ID: Dar Scott wrote: > I was picturing that three buttons in a column (assuming that is > allowed in both platforms) might be required to be different on two > platforms: > > Platform 1. All buttons in a column must be the same width, a multiple > of 10 pixels in width and greater than 25% larger than the text > content. However, if any button is not related to the other the > interbutton spacing must be at least 4 pixels greater and the size must > be at least 10 pixels different. > > Platform 2. All buttons (in a column or not) must be exactly 42 pixels > wider than the width of the text. > > See? I need to read those HIGs. My fears are getting the best of me. > > I have heard something on this list or related list that the "done" > button goes in different places on different platforms. I assume that > can be handled with profiles or a tiny bit of scripting. Profiles can work to some degree, but I prefer to script resize stuff by hand so I can control the execution order, useful for objects placed relative distances from one another. It doesn't take long, you only do it once, and it always works exactly as you want it to. But your fears are shared by all who make multi-platform apps, regardless of dev tool or language. Layout issues that specific are the motivation behind the Universal GUI. Unless the OS vendor publishes research data supporting a specific layout, I'd blow it off. There's enough general information published about how the eye scans a page that we can all feel fairly confident about placing the confirmation button in a dialog in the lower-right. As for exact spacing between controls I tend to favor Aqua over the others because Mac reviewers are pickier aout such things, and very few developers on other OSes seem to care at all. But there's a good argument to be made that since Win holds so much of the market we might favor their spec. As soon as enough Win-only developers demontrate an interest in reading their platform's HIG with any consistency I might concur. But until then, my message for OS vendors pushing this level of minutiae at us remains the same: "Put up or shut up; you either have the research or you have merely an opinion." ;) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From revlists at canelasoftware.com Tue Aug 19 18:39:00 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Aug 19 18:39:00 2003 Subject: QuickTime streaming server In-Reply-To: Message-ID: <52930E4A-D29D-11D7-BE88-000393C3F5BC@canelasoftware.com> On Tuesday, August 19, 2003, at 04:15 PM, Monte Goulding wrote: > >> >> I have a very simple app that plays streaming movies from a QTSS. The >> app works fine when in the IDE of Rev 2.1 B3. When I create a >> standalone, and try to play a movie, I get the 5401 error. The server >> does not even show that I am attempting to watch a movie. I have >> tried >> accessing my server (which is local) as well videos on the net. Keep >> in mind that everything works fine in the IDE. What could I be >> missing >> here? >> > > Does libURL even handle RTSP urls? I can't see it in the code. Or are > you > using a reference movie as an intermediary between Rev and QTSS? Are > you > testing the Standalone with the IDE open? Maybe QTSS can't deal with > two > sockets to the same IP or something????? > Monte, I don't know if the libURL is needed. I tried it both with it installed and without. You can test it with another button that starts the player. The movie is being hosted on the net. So my exact situation can be tested by anyone. Below is the code I am using. I have it in a setup button for now: on mouseUp global userSelection if exists (player "movie") then delete player "movie" new player "movie" set the filename of player "movie" to empty put "rtsp://131.96.156.185/Blackwater.mov" into movieLocation set the filename of player "movie" to movieLocation set the height of player "movie" to 378 set the width of player "movie" to 532 set the topleft of player "movie" to 70,134 exit to top end mouseUp I have tried it both with the Rev IDE open and closed. Thanks for taking a look at this. Best regards, Mark Talluto http://www.canelasoftware.com From dsc at swcp.com Tue Aug 19 18:40:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 18:40:00 2003 Subject: QuickTime streaming server In-Reply-To: <971B21A2-D296-11D7-BE88-000393C3F5BC@canelasoftware.com> Message-ID: <8DB16FBD-D29D-11D7-8354-000A9567A3E6@swcp.com> On Tuesday, August 19, 2003, at 04:43 PM, Mark Talluto wrote: > I have a very simple app that plays streaming movies from a QTSS. I have used QTSS and the broadcast server some time in the past and have put them aside. How did you build this? What component allows you to do this? Dar Scott From dsc at swcp.com Tue Aug 19 18:42:02 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 18:42:02 2003 Subject: image pasting In-Reply-To: Message-ID: On Tuesday, August 19, 2003, at 04:02 PM, Andrew wrote: > I'm copying them from Claris Works LOL! I was following this because I had just made the same mistake. Only I'm copying from AppleWorks. Great minds think alike! Dar Scott From gizmotron at earthlink.net Tue Aug 19 19:39:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue Aug 19 19:39:00 2003 Subject: How to properly format text in sheet on OS X? In-Reply-To: <2390235A-D279-11D7-9D4D-000393D60E0C@princeton.edu> Message-ID: <580A1B24-D2A6-11D7-B6EC-000A95859272@earthlink.net> On Tuesday, August 19, 2003, at 12:12 PM, Toma Tasovac wrote: > Mark, I didn't quite get what you had in mind. I have tried (similar > to Brian's original post): > > answer warning "

Message > text

Informative > text

" with Continue as sheet > > because, according to Aqua HUI, the message text has to be bold Lucida > Grande 13 and informative text has to be regular Lucida Grande 11. > The styling of the informative text, however, ends up being regular > Lucida Grande 13. > > Any thoughts on how to fix this? > > All best, > Toma > > > Am Montag, 18.08.03 um 18:43 Uhr schrieb Mark Brownell: > >> I got this to work: >> answer warning "

message >> text



informative >> text

" with "Continue" as sheet > >> I'm thinking that setting the answer textFont to Lucida Grande first, >> somehow might make multiple fonts available. >> I did not know that. I was testing different fonts just to see if I could cause HTML changes. remember this; from the docs: If the prompt contains

or a start/end tag pair, the answer command assumes the text is in the same format as the htmlText property. Otherwise, the answer command assumes the text is plain text. This: > answer warning "

Message > text

Informative > text

" with Continue as sheet Should be properly nested "

" sets: answer warning "

Message text

Informative text

" with Continue as sheet I never saw Lucida Grande size=13 or size=11 available from my font choices in Rev; Mac 10.2.4 Mark From monte at sweattechnologies.com Tue Aug 19 19:44:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 19 19:44:00 2003 Subject: QuickTime streaming server In-Reply-To: <52930E4A-D29D-11D7-BE88-000393C3F5BC@canelasoftware.com> Message-ID: > > > >> > >> I have a very simple app that plays streaming movies from a QTSS. The > >> app works fine when in the IDE of Rev 2.1 B3. When I create a > >> standalone, and try to play a movie, I get the 5401 error. The server > >> does not even show that I am attempting to watch a movie. I have > >> tried > >> accessing my server (which is local) as well videos on the net. Keep > >> in mind that everything works fine in the IDE. What could I be > >> missing > >> here? > >> > > > > Does libURL even handle RTSP urls? I can't see it in the code. Or are > > you > > using a reference movie as an intermediary between Rev and QTSS? Are > > you > > testing the Standalone with the IDE open? Maybe QTSS can't deal with > > two > > sockets to the same IP or something????? > > > > Monte, > > I don't know if the libURL is needed. I tried it both with it > installed and without. You can test it with another button that starts > the player. The movie is being hosted on the net. So my exact > situation can be tested by anyone. > > Below is the code I am using. I have it in a setup button for now: > > on mouseUp > global userSelection > if exists (player "movie") then delete player "movie" > new player "movie" > set the filename of player "movie" to empty > put "rtsp://131.96.156.185/Blackwater.mov" into movieLocation > set the filename of player "movie" to movieLocation > set the height of player "movie" to 378 > set the width of player "movie" to 532 > set the topleft of player "movie" to 70,134 > exit to top > end mouseUp > > I have tried it both with the Rev IDE open and closed. Thanks for > taking a look at this. > I get a 404 Not Found error but before that I get the Q downloading image in the player so it looks like rtsp urls do work (in the ide). I tried using the player also and still got 404 not found so perhaps you've got the filename wrong??? Regards Monte From rbarber at yhb.att.ne.jp Tue Aug 19 20:34:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Tue Aug 19 20:34:01 2003 Subject: DB Access in standalones In-Reply-To: <3F42AD94.6090203@hyperactivesw.com> Message-ID: Hi guys I've been following this thread with interest since I use val with RR. I call vxcmd directly, not through the RR db libraries. However, like Jacque, I have also experienced difficulties with setting the external at startup. It may very well be my lack of coding ability, but it works in the ide and doesn't work in a standalone, so I think it may be something else. I've tried to get it to happen consistently so that I can report it. I guess I can't add anything constructive here except that there may be loading issues with vxcmd as well as with the supplied libraries. Ron > >> When I connect directly to the Valentina XCMD using Valentina calls, >> everything works fine for me; I recommend that until this situation on >> DB access in standalones is fixed/resolved by RunRev that those who need >> to work with Valentina just call the XCMD directly. > > That's been my experience too, using Valentina in MetaCard. > Unfortunately those stacks that start out in Revolution have no access > to the same external. Rev ships with an unusual combination of drivers > in one folder and the externals in a separate .bundle (on OS X). I > couldn't find any way to use them that way (I tried to use MC to build a > standalone with them, but I couldn't get it to work.) I believe that the > downloadable external at Valentina's site has the drivers built into the > same file, while Rev splits them out separately. > > Actually some of the main info I want to know from the Rev team is what > that .bundle does, what the drivers do, what are their required relative > locations on disk, and what relationship one has with the other. From revlists at canelasoftware.com Tue Aug 19 20:38:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Aug 19 20:38:01 2003 Subject: QuickTime streaming server In-Reply-To: <8DB16FBD-D29D-11D7-8354-000A9567A3E6@swcp.com> Message-ID: <060ACC29-D2AE-11D7-B569-000393C3F5BC@canelasoftware.com> On Tuesday, August 19, 2003, at 04:33 PM, Dar Scott wrote: > > On Tuesday, August 19, 2003, at 04:43 PM, Mark Talluto wrote: > >> I have a very simple app that plays streaming movies from a QTSS. > > I have used QTSS and the broadcast server some time in the past and > have put them aside. > > How did you build this? What component allows you to do this? > > I just used a player object. You can view the code in my other post. Best regards, Mark Talluto http://www.canelasoftware.com From revlists at canelasoftware.com Tue Aug 19 20:44:02 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Aug 19 20:44:02 2003 Subject: QuickTime streaming server In-Reply-To: Message-ID: On Tuesday, August 19, 2003, at 05:37 PM, Monte Goulding wrote: > > I get a 404 Not Found error but before that I get the Q downloading > image in > the player so it looks like rtsp urls do work (in the ide). I tried > using > the player also and still got 404 not found so perhaps you've got the > filename wrong??? > The url is ok. I just typed it into the qt player at it plays just fine. In fact, I just clicked on the link from my previous post and it opened up Apple's QTPlayer and it began to play. You could substitute the link for any link that you know of. I have used in the past some of the links Apple provides for testing as well. I pulled the previous link from a discussion group on the QTSS on Apple's support site. I am highly confused as to why this works so well in the IDE, but not in a standalone. I am going to give it a try on MC and see how it goes. Best regards, Mark Talluto http://www.canelasoftware.com From revlists at canelasoftware.com Tue Aug 19 20:54:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Aug 19 20:54:01 2003 Subject: image pasting In-Reply-To: Message-ID: <392778BA-D2B0-11D7-B569-000393C3F5BC@canelasoftware.com> On Tuesday, August 19, 2003, at 03:02 PM, Andrew wrote: > Much thanks for being in contact with me about image problems! > >> set the width of img 1 to the formattedWidth of img 1 >> set the height of img 1 to the formattedHeight of img 1 > > Okay, I put this script into the Mouseup handler of a btn on my card, > and edited the script to say img "" instead of "1" > However, it doesn't do anything when I click the button. What gives? > :) > Sounds like the image is at its normal size. Send me the file and I will look at it. Best regards, Mark Talluto http://www.canelasoftware.com From monte at sweattechnologies.com Tue Aug 19 21:44:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 19 21:44:00 2003 Subject: QuickTime streaming server In-Reply-To: Message-ID: > On Tuesday, August 19, 2003, at 05:37 PM, Monte Goulding wrote: > > > > I get a 404 Not Found error but before that I get the Q downloading > > image in > > the player so it looks like rtsp urls do work (in the ide). I tried > > using > > the player also and still got 404 not found so perhaps you've got the > > filename wrong??? > > > > The url is ok. I just typed it into the qt player at it plays just > fine. In fact, I just clicked on the link from my previous post and it > opened up Apple's QTPlayer and it began to play. You could substitute > the link for any link that you know of. I have used in the past some > of the links Apple provides for testing as well. I pulled the previous > link from a discussion group on the QTSS on Apple's support site. > > I am highly confused as to why this works so well in the IDE, but not > in a standalone. I am going to give it a try on MC and see how it goes. > OK... I did a test using Darwin Streaming Server and it seems to be as you say if the player object is already existing but if you create the object on the fly after loading QuickTime using the QTVersion function then it works. My guess is you just need to load QuickTime prior to opening a stack with a player so you might be able to use the startup handler of your splash screen. I'll leave it up to you to report this to bugzilla Monte From jperryl at ecs.fullerton.edu Tue Aug 19 22:02:00 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Aug 19 22:02:00 2003 Subject: kiosk/game mode In-Reply-To: <48852A63-D299-11D7-B122-000A27B49A96@major-k.de> Message-ID: Alex, Are you thinking of something along the lines of the old HC XCMD that hides the desktop? (~Not that I'd know how to do it in Rev, mind you... just trying to follow the thread; if this is what you mean and somebody knows how to do it, I'm all ears...) Judy From soapdog at mac.com Tue Aug 19 22:36:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Tue Aug 19 22:36:00 2003 Subject: XML-RPC Support? In-Reply-To: <20030819072606.55172.qmail@web11905.mail.yahoo.com> Message-ID: <37BD41B4-D2BF-11D7-AE02-00039387AE90@mac.com> On Tuesday, August 19, 2003, at 04:26 AM, Jan Schenkel wrote: > > Hi Andre, > > Glad to see 'granddaddy' XML-RPC is still alive and > kicking ; while I would agree that it is easier to > use, nearly all of the Web Service implementations in > development tools (such as in WebObjects 5.2, 4th > Dimension 2003, and our beloved Revolution 2.0) are > concentrating around SOAP. > Granted, the specs for SOAP 1.2 are hefty (which is > why it is no longer an acronym for Simple Object > Access Protocol) but they offer a lot of > enterprise-level features, such as parts that are > forwarded to and handled by different web services, > etc. > In most cases, overkill. But it's the standard, so we > have to follow suit. > However, implementing XML-RPC using the 'post' command > and employing the revXML library, should be a breeze ; > and I bet you could learn a lot from the SOAP toolbox > if you were to build a library for it. > > Best regards, > > Jan Schenkel. Jan, Yes, SOAP do have enterprise level features that XML-RPC lacks... and sometimes it's just overkill, think for example a simple blog tool, the code required for soap transport would be bigger than the rest of the app... :D I intend to buy Rev Studio this week, if I do, i'll try to implement a simple xml-rpc stack so others may improve upon! Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From jacque at hyperactivesw.com Tue Aug 19 22:47:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 19 22:47:00 2003 Subject: image pasting In-Reply-To: References: Message-ID: <3F42EDDD.6090809@hyperactivesw.com> On 8/19/03 5:02 PM, Andrew wrote: > Okay, I put this script into the Mouseup handler of a btn on my card, > and edited the script to say img "" instead of "1" > However, it doesn't do anything when I click the button. What gives? :) I broke down and actually tried it. I should have done that first. Some of what I wrote before is wrong. The first pasted image creates a card-sized image object by default and pastes your image into it. No matter what the natural size of the image, it now takes up the whole card and its formattedwidth and formattedheight are the same as the card size. There's a lot of white space around it. I used the "crop" command to remove the excess white space: crop image 1 to "100,100,200,200" -- use whatever rect you need If you don't want to figure out a rect, you can place a transparent field or button over the image and resize it like a frame around the part you want to keep. Then you can use: crop image 1 to the rect of btn "frame" This gave me a small image object with very little white space, containing only the actual picture content. After that, every new paste operation always replaced the contents of the first image object, even if I changed tools in between. I couldn't create a second new object just by pasting. So I created one by script: create image paste This gives me a second image object and the paste goes into that one. An interesting side effect is that the default size of the new second image is the same as the now-cropped image 1. To control the size of a new image object, set the imageTemplate to whatever properties you need; for example: set the rect of the imageTemplate to "100,100,200,200" create image paste That seems to do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Aug 19 22:55:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 19 22:55:00 2003 Subject: XML-RPC Support? In-Reply-To: <37BD41B4-D2BF-11D7-AE02-00039387AE90@mac.com> Message-ID: <469733F3-D2C1-11D7-8354-000A9567A3E6@swcp.com> On Tuesday, August 19, 2003, at 09:34 PM, Andre Garzia wrote: > I intend to buy Rev Studio this week, if I do, i'll try to implement a > simple xml-rpc stack so others may improve upon! Cool. Will this be both client and server? That is, will this emulate a simple HTTP server? Dar Scott From jacque at hyperactivesw.com Tue Aug 19 23:15:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 19 23:15:01 2003 Subject: DB Access in standalones In-Reply-To: References: Message-ID: <3F42F466.4090001@hyperactivesw.com> On 8/19/03 6:06 PM, Trevor DeVore wrote: > I had problems with database access in standalones at one point but was able to get everything working. Here is how my project is set up- > > 1) I have one splash stack whic his used to create the executable (splash.rev) > 2) The main program (program.rev) and two additional pop-up windows are .rev files stored external to the executable. > 3) The main program has a sub stack which has all of the database calls (database.rev). > 4) When the executable launches it opens program.rev and hides itself. > > At first, program.rev would simply start using database.rev and that worked fine in the Rev development environment. When I built the standalone this wouldn't work though. I then added a line which would start using splash.rev (the rev file that was part of the executable) and then everything started working great. I assume that the splash.rev file had the links to the database external and by using it as a library in program.rev it made the database functionality available to it. Hope this helps. > I had great hopes for this, but it didn't work. What handler did you put the "start using" command into? I tried putting it into the preOpenStack script of the splash stack. Technically we should never have to "start using" the mainstack in a standalone because its scripts are always in use anyway, so if this worked for you it is an unusual requirement. But I carried on. My stack setup is nearly identical to yours. Splash stack becomes the standalone mainstack, DB libs in a substack. The externals property is set on the mainstack. I was previously closing the main stack before going to another stack, and your hint made me think this could be the problem. I think (but am not sure) that closing a stack removes its externals from memory. So I left the mainstack open as well as started using it. Still didn't work though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Aug 19 23:35:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 19 23:35:01 2003 Subject: DB Access in standalones In-Reply-To: <3F42F466.4090001@hyperactivesw.com> Message-ID: > I had great hopes for this, but it didn't work. What handler did you put > the "start using" command into? I tried putting it into the preOpenStack > script of the splash stack. Technically we should never have to "start > using" the mainstack in a standalone because its scripts are always in > use anyway, so if this worked for you it is an unusual requirement. But > I carried on. > > My stack setup is nearly identical to yours. Splash stack becomes the > standalone mainstack, DB libs in a substack. The externals property is > set on the mainstack. I was previously closing the main stack before > going to another stack, and your hint made me think this could be the > problem. I think (but am not sure) that closing a stack removes its > externals from memory. So I left the mainstack open as well as started > using it. Still didn't work though. > Hi The Dist Builder sets the externals property of the standalone stack for you during the build so you don't need to do anything except make sure that the destroyStack of the standalone stack (splash) isn't true. Externals exit when the stack they are referenced from is removed from memory. Regards Monte From lists at mangomultimedia.com Tue Aug 19 23:39:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Aug 19 23:39:01 2003 Subject: DB Access in standalones In-Reply-To: <3F42F466.4090001@hyperactivesw.com> Message-ID: On 8/19/03 J. Landman Gay wrote> >I had great hopes for this, but it didn't work. What handler did you put >the "start using" command into? I tried putting it into the preOpenStack >script of the splash stack. Technically we should never have to "start >using" the mainstack in a standalone because its scripts are always in >use anyway, so if this worked for you it is an unusual requirement. But >I carried on. > >My stack setup is nearly identical to yours. Splash stack becomes the >standalone mainstack, DB libs in a substack. The externals property is >set on the mainstack. I was previously closing the main stack before >going to another stack, and your hint made me think this could be the >problem. I think (but am not sure) that closing a stack removes its >externals from memory. So I left the mainstack open as well as started >using it. Still didn't work though. The splash stack hides itself and opens the program.rev file which is in the data folder. In the preOpenStack handler of program.rev I start using the splash stack and the database stack. Using the rev database functions works properly this way. I remember having to try A LOT of different combinations before I came across this one. It even stumped the Rev tech support people. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jacque at hyperactivesw.com Wed Aug 20 00:10:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 20 00:10:00 2003 Subject: DB Access in standalones In-Reply-To: References: Message-ID: <3F430151.6070009@hyperactivesw.com> On 8/19/03 11:33 PM, Trevor DeVore wrote: > The splash stack hides itself and opens the program.rev file which is > in the data folder. In the preOpenStack handler of program.rev I start > using the splash stack and the database stack. Using the rev database > functions works properly this way. I remember having to try A LOT of > different combinations before I came across this one. It even stumped > the Rev tech support people. That's exactly how I set it up, but no go. Maybe there is something else wrong besides just the externals. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Aug 20 00:14:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 20 00:14:00 2003 Subject: DB Access in standalones In-Reply-To: References: Message-ID: <3F43021B.6090403@hyperactivesw.com> On 8/19/03 11:28 PM, Monte Goulding wrote: > The Dist Builder sets the externals property of the standalone stack for you > during the build so you don't need to do anything except make sure that the > destroyStack of the standalone stack (splash) isn't true. Externals exit > when the stack they are referenced from is removed from memory. That's what I figured, it is good to get confirmation. When I said the externals were set on the mainstack, I meant that I was letting Rev do that. I did try setting them myself once, but the distribution builder changed them anyway so I quit trying. The destroystack of the splash/standalone is false, but even so, I'm no longer closing it. Still doesn't work though. Did anyone try Chris' database test? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From todd at geistinteractive.com Wed Aug 20 02:12:01 2003 From: todd at geistinteractive.com (Todd Geist) Date: Wed Aug 20 02:12:01 2003 Subject: XML Data sources Message-ID: Hello Everyone, I am brand new Rev user. I have a question that involves XML and I think maybe custom properties. I have a an XML data source that I want to be able to query and display in rev stack much like if it were an SQL database. So far it is a piece of cake to get the XML and create an XML tree. I can parse the xml tree pretty easily. Not bad for a couple of hours of work for a newbie. Rev is pretty sweet. What I am wondering about is what is the best way to go from here. Does it make sense to leave the data in the XML tree and just march up and down it when I wish to display the data or should I parse it into some other structure? Like, I don't know, custom properties maybe? Are there performance issues with keeping the data in an xml tree? I will eventually be editing the data and sending it back to the data source so I need to keep track of the Record Modification Count for optimistic record locking and the record ID when I open the record for editing. Can I or should I use custom properties for this or will regular old variables do just as well? Does any of this make any sense?? Any other hints and or suggestions would be great. Thanks very much Todd From wouter.abraham at pi.be Wed Aug 20 05:16:01 2003 From: wouter.abraham at pi.be (wouter) Date: Wed Aug 20 05:16:01 2003 Subject: Richmond, rudeness and commercial enterprise In-Reply-To: <200308181440.KAA11042@www.runrev.com> Message-ID: <6FE66104-D2F6-11D7-810D-000502990960@pi.be> On maandag, aug 18, 2003, at 16:40 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Mon, 18 Aug 2003 12:40:16 +0200 > Subject: Re: Richmond's big surprise.... > From: Klaus Major > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Hi Richmond, > > welcome back... > >> So I come back from my holiday (yes, it was lovely, thanks) >> and find the following....... >> >> RR 2.1 has no FREE 10-LINES of CODE possibility.... >> >> I AM MAJORLY F***ED OFF...... >> ... >> Why not just SHIT all over us poor bastards????/ >> >> Richmond Mathewson > > > Hmm, you hit the nail on the head in your matchless way... ;-) > > RR has a new price scheme, and it looks like the StarterKit has no > place in it... > > You also missed some heavy threads on this topic. > (Looks like not many people like this...) > > Fact is, they won't change it anymore (will they?)... > > Sorry that we don't have better news for you... :-( > > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > There is some good news up till now on the Mac OS X platform (don't know about the other platforms by lack of them). A starters kit version is "still" available if you use the Metacard IDE there (replace the engine in the Metacard.app with that from the Revolution.app and rename it). Have a nice day WA From tuviah at runrev.com Wed Aug 20 05:54:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Wed Aug 20 05:54:00 2003 Subject: DB Access in standalones References: <200308200918.FAA12157@www.runrev.com> Message-ID: <00b401c36708$71e92550$0100a8c0@user> > Message: 8 > Date: Tue, 19 Aug 2003 23:09:10 -0500 > From: "J. Landman Gay" > Organization: HyperActive Software > To: use-revolution at lists.runrev.com > Subject: Re: DB Access in standalones > Reply-To: use-revolution at lists.runrev.com > > On 8/19/03 6:06 PM, Trevor DeVore wrote: > > > I had problems with database access in standalones at one point but was able to get everything working. Here is how my project is set up- > > > > 1) I have one splash stack whic his used to create the executable (splash.rev) > > 2) The main program (program.rev) and two additional pop-up windows are .rev files stored external to the executable. > > 3) The main program has a sub stack which has all of the database calls (database.rev). > > 4) When the executable launches it opens program.rev and hides itself. > > > > At first, program.rev would simply start using database.rev and that worked fine in the Rev development environment. When I built the Well one thing that you can try is to insert the script of the stack that has the externals property into front, or back. Currently what's happening is that Rev sets the externals in the dev environment in such a way that it is available to all stacks...so it works in dev but may not work in standalones. The team is working to resolve these issues..but if you have a recipe and can send sample stacks please send to bugzilla and mark them something of high priority if they interfare with you using RevDB. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From heather at runrev.com Wed Aug 20 08:25:00 2003 From: heather at runrev.com (Heather Williams) Date: Wed Aug 20 08:25:00 2003 Subject: Using strong language on the lists Message-ID: Dear listees, Please don't. Not just because it may cause offence and because I personally prefer a more moderate tone. It is a simple fact that using such language actually prevents not only your message, but the entire digest in which it appears, from reaching a number of list members. Whether you agree with it or not, whether you think it a symptom of a nanny state or heartily endorse such policies, many universities for example, have spam filtering in place which will bounce the entire list if certain words appear in it. I know, because these bounces end up in my inbox and add to my already extensive email backlog. So please, if you feel strongly about an issue, be creative. Use interesting adjectives. Consider the wording that will get your message across most effectively. Let your email simmer overnight. And don't use the kind of language that will get this list marked as potential porn. With kind regards to the community, Your listmom Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From heather at runrev.com Wed Aug 20 09:10:03 2003 From: heather at runrev.com (Heather Williams) Date: Wed Aug 20 09:10:03 2003 Subject: Upgrade: where to buy? In-Reply-To: <200308192102.RAA21523@www.runrev.com> Message-ID: > Looking at the bottom of the licensing page > > > > I see "Studio Upgrade from 2.0x to 2.1 $49" (which is an awesome > price!), but I can find no "buy" button for these upgrade prices. If i > go back to the home page and follow the link for "pay for a license" > and then pick "upgrades and crossgrades", I can find no reference to > this $49 upgrade price. How do I purchase this? Thanks! Well... Since 2.1 isn't quite shipping yet, there isn't a product to buy it just yet. The price is up for your information, so that people can make informed decisions about which product to buy when. Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From Steve_Anderson at paradise.net.nz Wed Aug 20 09:18:00 2003 From: Steve_Anderson at paradise.net.nz (Steve Anderson) Date: Wed Aug 20 09:18:00 2003 Subject: The Stack Metaphor Message-ID: <4643ED5C-D183-11D7-97DE-000393D6D59E@paradise.net.nz> Hi there I am very new to Revolution and am still trying to grasp the idea of designing software around stacks and cards. Bruce Eckel's 'Thinking in Java' book really did work! I am creating an electronic version of the Quran (Islam's Bible) and would like some advise on how to proceed. I have opted to store the contents of the Quran in XML files rather than a database as this will mean a very simple installation process for the end users. Each XML file would contain a chapter of the Quran (114 chapters in all), each chapter varying in length from just a few verses to almost 300. The software would allow the user to traverse (backwards and forwards) through the Quran, one verse at a time and would keep a record of the verses visited during any one session (much like a web browser). It is important these features be implemented through direct use of Revolution's capabilities wherever possible, rather than being custom built by me. Coming back to the subject of this posting 'the stack metaphor' how should I implement the above? Should I create a card for each verse (based on a template)? Or should I create a single card, whose fields I update to show the current verse? If I opt for the single card approach will this force me to create code to remember the verses a user has traversed, rather than just using Revolution's built in ability to traverse a stack? Thanks in advance. Steve Mac OS X... http://www.apple.com/switch From cm_sheffield at yahoo.com Wed Aug 20 09:24:00 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Aug 20 09:24:00 2003 Subject: Using strong language on the lists In-Reply-To: Message-ID: <20030820141814.6084.qmail@web20414.mail.yahoo.com> Well said. Thank you. Chris Sheffield --- Heather Williams wrote: > Dear listees, > > Please don't. Not just because it may cause offence > and because I personally > prefer a more moderate tone. It is a simple fact > that using such language > actually prevents not only your message, but the > entire digest in which it > appears, from reaching a number of list members. > Whether you agree with it > or not, whether you think it a symptom of a nanny > state or heartily endorse > such policies, many universities for example, have > spam filtering in place > which will bounce the entire list if certain words > appear in it. I know, > because these bounces end up in my inbox and add to > my already extensive > email backlog. > > So please, if you feel strongly about an issue, be > creative. Use interesting > adjectives. Consider the wording that will get your > message across most > effectively. Let your email simmer overnight. And > don't use the kind of > language that will get this list marked as potential > porn. > > With kind regards to the community, > > Your listmom > > Heather > > -- > Heather Williams ~ heather at runrev.com ~ > http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > ~~~ 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 ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From richmond at mail.maclaunch.com Wed Aug 20 09:40:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Wed Aug 20 09:40:01 2003 Subject: Using strong language on the lists Message-ID: I am completely CHEESED-OFF that a whole spate of rather silly e-mails have been generated by a message I posted a few days back which have absolutely nothing to do with the central point of my message. Obviously, though, as when walking across the hills, everybody should walk at the pace of the slowest hiker. Those of you who have a problem with strong language may not want to download my latest 'twiddle' from my website (it uses the word KINKY). However those of you who can cope with the odd funny word should pop over there and download my thing. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From richmond at mail.maclaunch.com Wed Aug 20 09:48:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Wed Aug 20 09:48:01 2003 Subject: The Stack Metaphor / Russian Slide Rules Message-ID: 1. I have a copy of Danny Goodman's Hypercard book which I am willing to send to anyone for the cost of post and packing - it is a bit dated - however I came to RR via Hypercard and do believe it is a valuable primer for RR. It weighs about 1 kg (2 lb) so postage might be relatively costly (?5 ???). 2. Before my holidays I mentioned that I had some Russian slide-rules (Geoff Canyon???) - I have now retrieved them from my secret Bulgarian hideaway. I have 3 slide-rules and am willing to offer them for ?20 each plus post and packing. 3.Before everybody jumps on me ("Let's Bash Richmond") any money from the slide rules will go to buy a basic RR licence (so there, raspberries, etc.) Contact me off list.... Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From rgould8 at aol.com Wed Aug 20 09:52:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Wed Aug 20 09:52:00 2003 Subject: Way to cache stacks from web and update when changes? Message-ID: <3F43898F.2030403@aol.com> An HTML attachment was scrubbed... URL: From richmond at mail.maclaunch.com Wed Aug 20 10:08:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Wed Aug 20 10:08:01 2003 Subject: Early versions of RR ??? Message-ID: I notice that early versions of MetaCard are available for download at http://www.canelasoftware.com/mcmirror.html I wonder if Runtime Revolution are prepared to release earlier versions of RR on an equivalent website? It would be extremely kind. Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From gizmotron at earthlink.net Wed Aug 20 10:14:02 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Aug 20 10:14:02 2003 Subject: Using strong language on the lists In-Reply-To: Message-ID: <8B0CD1AC-D320-11D7-BC15-000A95859272@earthlink.net> On Wednesday, August 20, 2003, at 06:28 AM, Mathewson wrote: > Obviously, though, as when walking across the hills, > everybody should walk at the pace of the slowest hiker. Mathewson Not to be deliberately contrary, I used to be a mountain climber with over 25 years of climbing experience. It is often wise to leave slower climbers behind if that is possible. In some cases the entire group will turn back if this can't happen. These slower climbers are never asked to return for another try. In cases where they can separate from the main group during a climb, many times caused by injury or circumstantial fatigue, some after reaching the next campsite will go back to help the slower members with their load. Safety outclasses common curtsy every time in the hills when lives are at stake. By the way I see that you have contributed far more than just posting to this list. I wanted to say thanks. I'm sure that I can learn from your examples. Mark From ambassador at fourthworld.com Wed Aug 20 10:16:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Aug 20 10:16:01 2003 Subject: Way to cache stacks from web and update when changes? In-Reply-To: <3F43898F.2030403@aol.com> Message-ID: Rob Gould wrote: > I'm trying to figure out a way to write an app that automatically updates > itself from the web when it determines that a stack on the web-site changes. > Has anyone done this before? Half way: While the GoRevNet plugin does not yet update itself dynamically, most of what it needs to do that is in place and will be competed as soon as I get a little time for that. Remember that in order to check a property such as a version number you'd need to download the whole stack. For RevNet I wrote a simple tool that compresses the stack and uploads it for me, and then it writes a very small text file that contains the version info. When you visit the Update card in RevNet it only grabs the version info file, and informs you of any newer versions based on that. One thing to keep in mind about apps is that they can't write to themselves. But if you keep most of your likely-to-be-updated parts as separate stack files outside of the exe it's a snap to overwrite them. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From edgore at shinra.com Wed Aug 20 10:23:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 20 10:23:01 2003 Subject: Way to cache stacks from web and update when changes? Message-ID: <200308201517.h7KFHCYa000317@shinra.com> Oddly enough Rob, just before I check my email I had added a "Check for updates" menu item to Amazon Assistant. It doesn't *do* anything yet, but by the end of day I hope to have something working. I'll post then to let you know what I have learned. >----- ------- Original Message ------- ----- >From: "Rob Gould" >To: "use-revolution use-revolution" > >Sent: Wed, 20 Aug 2003 -0400 (EDT) 10:45:35 > >Transitional//EN"> > > > > > >face="Helvetica,sans-serif">I'm trying to figure >out a way to write an app that automatically >updates itself from the >web when it determines that a stack on the web-site >changes.? Has >anyone done this before??
>
>I was looking through the documentation, and I know >that you can go to >stacks that are online via:
>
>go stack URL

>but is there a way to "pull down" such a stack, and >somehow have Rev do >a time/date stamp-check so that it only pulls down >the stack if it's >newer.? My goal is to make it so that the >stack and substacks are all >local on the user's hard-drive, and do not pull >from the web unless I >update the main stack or one of the substacks on >the server.
>
>
>
> > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >href="http://www.example.org/data/mystack.rev">"htt >p://www.example.org/data/mystack.rev" in a new >window
>http://lists.runrev.com/mailman/listinfo/use-revolu >tion From alrice at ARCplanning.com Wed Aug 20 11:28:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 20 11:28:00 2003 Subject: kiosk/game mode In-Reply-To: Message-ID: <563F9ADC-D32A-11D7-9A89-000393529642@ARCplanning.com> On Tuesday, August 19, 2003, at 08:56 PM, Judy Perry wrote: > Alex, > > Are you thinking of something along the lines of the old HC XCMD that > hides the desktop? > > (~Not that I'd know how to do it in Rev, mind you... just trying to > follow > the thread; if this is what you mean and somebody knows how to do it, > I'm > all ears...) Judy, I don't know- that old HC XCMD was before my time! Turns out RR can maybe effectively do everything I was talking about, except: - change the resolution and color depth of the display, and I don't need that anyways. - prevent switching to other apps or desktop ** ; this would be required for a true kiosk mode, but not really required for most games set the rect of this stack to the screenrect -- or use backdrop property hide menubar hide taskbar -- rumored to be new in 2.1 ** maybe the new decorations property of "utility" in 2.1 will effectively block switching to other apps if the stack is taking the entire screenrect...? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From revlists at canelasoftware.com Wed Aug 20 11:28:45 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed Aug 20 11:28:45 2003 Subject: QuickTime streaming server In-Reply-To: Message-ID: <5E54A892-D32A-11D7-9737-000393C3F5BC@canelasoftware.com> On Tuesday, August 19, 2003, at 07:38 PM, Monte Goulding wrote: > > OK... I did a test using Darwin Streaming Server and it seems to be as > you > say if the player object is already existing but if you create the > object on > the fly after loading QuickTime using the QTVersion function then it > works. > My guess is you just need to load QuickTime prior to opening a stack > with a > player so you might be able to use the startup handler of your splash > screen. > > I'll leave it up to you to report this to bugzilla > Monte, That did the trick. I put in a: put qtversion into a variable. Thanks for the help. I will take care of the bugzilla thang. Best regards, Mark Talluto http://www.canelasoftware.com From alrice at ARCplanning.com Wed Aug 20 11:31:10 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 20 11:31:10 2003 Subject: kiosk/game mode In-Reply-To: <48852A63-D299-11D7-B122-000A27B49A96@major-k.de> Message-ID: <9B7ED202-D32A-11D7-9A89-000393529642@ARCplanning.com> On Tuesday, August 19, 2003, at 05:03 PM, Klaus Major wrote: > There is a "hide taskbar" in version 2.1 :-) > > Hope that helps Klaus, hide taskbar is not in the What's New.txt or documentation in 2.1 B2. Although it DOES appear to be implemented in the engine (no errors from messagebox). How did you find out about this command? Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From devin_asay at byu.edu Wed Aug 20 11:43:01 2003 From: devin_asay at byu.edu (Devin Asay) Date: Wed Aug 20 11:43:01 2003 Subject: DB Access in standalones Message-ID: <1E144E60-D328-11D7-B8F6-0030654E23A2@byu.edu> Previously, Trevor DeVore said: > At first, program.rev would simply start using database.rev and that > worked > fine in the Rev development environment. When I built the standalone > this > wouldn't work though. I then added a line which would start using > splash.rev (the rev file that was part of the executable) and then > everything started working great. I assume that the splash.rev file > had the > links to the database external and by using it as a library in > program.rev > it made the database functionality available to it. Hope this helps. I tried this, too, but there was no change in behavior. To reprise: my main stack, which basically is a splash and login screen, comes up. I am able to authenticate a user against the mySQL database. In fact I can keep logging in various users and even add users to the db from my login card. But when I go to the substack, which presents a series of quizzes whose items are pulled from an item bank in the db, all database accesses fail. Then if I go back to the main stack login card, I can no longer access the database, but get a 'dberror, invalid database type' error. Strangely enough, this error (I think) is returned by the db library, so apparently my stack is still finding it. Hey Rev team! Anyone following this? Help us out here; this is a major problem. Devin Asay Humanities Technology and Research Support Center Brigham Young University From edgore at shinra.com Wed Aug 20 11:46:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 20 11:46:00 2003 Subject: Way to cache stacks from web and update when changes? Message-ID: <200308201639.h7KGde9w027844@shinra.com> Is it impossible to check the properties of an unopened standalone from another standalone? I was thinking that maybe I could get around some of the issues with standalones writing to themselves by using a seperate standalone to do the updating. User selects update, if there is anything new then the main application launches the updater standalone, and quits, the updater waits a few seconds (to allow time for the main app to finish quitting) then downloads the updates and overwrites the old files. The only problem I have run into is that the main app can't check to see if the UPDATER app needs to be updated, because I can't seem to check the properties of an unopened standalone, and if I open the standalone, well, it's in its own memory space. I can think of a bunch of ways to get around this, but I am curious about the original question. >----- ------- Original Message ------- ----- >From: Richard Gaskin >One thing to keep in mind about apps is that they >can't write to themselves. >But if you keep most of your likely-to-be-updated >parts as separate stack >files outside of the exe it's a snap to overwrite >them. From heather at runrev.com Wed Aug 20 11:53:01 2003 From: heather at runrev.com (Heather Williams) Date: Wed Aug 20 11:53:01 2003 Subject: Revolution 2.1 Release Candidate now available Message-ID: Dear Revolutionaries, We are happy to tell you that Revolution 2.1 Release Candidate is now available for download and testing. This should be relatively bug free but may still have minor glitches. If you find any, please do report them via Bugzilla: http://www.runrev.com/Revolution1/bugzilla/ You can download the Release Candidate here: http://www.runrev.com/Revolution1/developercentral/downloads.html For a full description of improvements and fixes in this version, please see the readme file, the text of which is posted here: http://www.runrev.com/Revolution1/developercentral/latesttestversion.html Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From herz at ucsd.edu Wed Aug 20 12:04:01 2003 From: herz at ucsd.edu (Richard K. Herz) Date: Wed Aug 20 12:04:01 2003 Subject: Way to cache stacks from web and update when changes? References: <200308201530.LAA22995@www.runrev.com> Message-ID: <005601c3673c$3c5a5ec0$58bfef84@rkhpc1> Rob Gould wrote: > I'm trying to figure out a way to write an app that automatically updates > itself from the web when it determines that a stack on the web-site changes. > Has anyone done this before? I do something related in the new "net" version at www.reactorlab.net. The approach is described at http://reactorlab.net/intro/tools.htm (link "Building a "Rich Client" or "Internet App" in Revolution). Version info is kept in text files on the server and client, rather than using a script to get file info automatically. Disadvantage is that you have to hand-edit list on server when a new stack is posted, advantage is that you can keep drafts or backup stacks in the directories and not have them presented to client. Rich Herz herz at ucsd.edu From soapdog at mac.com Wed Aug 20 12:12:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Aug 20 12:12:01 2003 Subject: About limited time discount. Message-ID: <34C0E48A-D331-11D7-AE02-00039387AE90@mac.com> Hi Folks, could someone answer a couple questions for me? I am planning to finally buy revolution studio version but first I need to know if this discount period is due to end soon (like this month.) for it would be better for me to buy it next month. Also since I will be entitled for a next release free of charge I want to know if Rev 2.1 count as a revision or a next release. Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From klaus at major-k.de Wed Aug 20 12:16:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 20 12:16:01 2003 Subject: kiosk/game mode In-Reply-To: <9B7ED202-D32A-11D7-9A89-000393529642@ARCplanning.com> Message-ID: <196E424E-D331-11D7-80E1-000A27B49A96@major-k.de> Hi Alex, >> There is a "hide taskbar" in version 2.1 :-) >> >> Hope that helps > > Klaus, hide taskbar is not in the What's New.txt or documentation in > 2.1 B2. > Although it DOES appear to be implemented in the engine (no errors > from messagebox). > How did you find out about this command? Well, i can kinda FEEL these kind of things ;-) Just kidding, it was in the read me of B3 :-) Now ihave to test the RC which i just downloaded... > Thanks, > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com Regards Klaus Major klaus at major-k.de www.major-k.de From alrice at ARCplanning.com Wed Aug 20 13:06:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 20 13:06:00 2003 Subject: kiosk/game mode In-Reply-To: <196E424E-D331-11D7-80E1-000A27B49A96@major-k.de> Message-ID: <117A6808-D338-11D7-9A89-000393529642@ARCplanning.com> On Wednesday, August 20, 2003, at 11:09 AM, Klaus Major wrote: > Now ihave to test the RC which i just downloaded... Did it work? I tried downloading the RC but I wound up with a copy of 2.0.2 :-( Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Wed Aug 20 13:07:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 20 13:07:01 2003 Subject: About limited time discount. In-Reply-To: <34C0E48A-D331-11D7-AE02-00039387AE90@mac.com> Message-ID: <42F1C714-D338-11D7-9A89-000393529642@ARCplanning.com> On Wednesday, August 20, 2003, at 11:10 AM, Andre Garzia wrote: > Hi Folks, > > could someone answer a couple questions for me? I am planning to > finally buy revolution studio version but first I need to know if this > discount period is due to end soon (like this month.) for it would be > better for me to buy it next month. Also since I will be entitled for > a next release free of charge I want to know if Rev 2.1 count as a > revision or a next release. The special price ends on Aug 31; I believe the website says this. As for your second question, I would like to know the answer too (and have asked on the list before). Someone raised an excellent point that, for Windows users, version 2.1 really doesn't offer anything new as it's mainly enhancements for OS X. My guess: they are trying real hard to release v2.1 before August 31 but have not wanted to promise anything- we all know how release dates can be slippery. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From rgmiller at pacbell.net Wed Aug 20 13:17:01 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Wed Aug 20 13:17:01 2003 Subject: image pasting References: <200308200039.UAA01464@www.runrev.com> Message-ID: <3F43B92C.2070207@pacbell.net> On Tuesday, August 19, 2003, at 04:02 PM, Andrew wrote: > I'm copying them from Claris Works I may be missing something here, but it sounds like you are making it much more complicated than it needs to be... In Claris/AppleWorks SAVE the pix as .gif or .jpg and then IMPORT that pix from MC/Rev. This has the added benefit that the pix can be opened again in Claris if editing is required.... Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From jameslewes at comcast.net Wed Aug 20 13:19:02 2003 From: jameslewes at comcast.net (James Lewes) Date: Wed Aug 20 13:19:02 2003 Subject: Early versions of RR ??? In-Reply-To: Message-ID: <2E466AF1-D339-11D7-A4C8-000502F78A80@comcast.net> I am not sure if this would be kosher. If the folks at Revolution central were to approve I have copies of the classic versions of 1.1.1 and 2.0 that I could send people. As I say I would not do this without Heather et al's permission. James On Wednesday, August 20, 2003, at 09:55 AM, Mathewson wrote: > I notice that early versions of MetaCard are available for > download at http://www.canelasoftware.com/mcmirror.html > > I wonder if Runtime Revolution are prepared to release > earlier versions of RR on an equivalent website? It would > be extremely kind. > > Richmond Mathewson > > __________________________________________________ > See Mathewson's software at: > > http://members.maclaunch.com/richmond/default.html and > http://www.runrev.com/Revolution1/developercentral/ > usercontributions.html > __________________________________________________ > --------------------------------------------------------------- > Great Macintosh Products > The MacLaunch Store! > http://www.maclaunch.com/cgi-launch/store/agora.cgi > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jameslewes at comcast.net Wed Aug 20 13:21:01 2003 From: jameslewes at comcast.net (James Lewes) Date: Wed Aug 20 13:21:01 2003 Subject: Revolution 2.1 Release Candidate now available In-Reply-To: Message-ID: <6BC3E06E-D339-11D7-A4C8-000502F78A80@comcast.net> Question? What is the pass code for this version and how can we get it. James On Wednesday, August 20, 2003, at 12:47 PM, Heather Williams wrote: > Dear Revolutionaries, > > We are happy to tell you that Revolution 2.1 Release Candidate is now > available for download and testing. This should be relatively bug free > but > may still have minor glitches. If you find any, please do report them > via > Bugzilla: > > http://www.runrev.com/Revolution1/bugzilla/ > > You can download the Release Candidate here: > > http://www.runrev.com/Revolution1/developercentral/downloads.html > > For a full description of improvements and fixes in this version, > please see > the readme file, the text of which is posted here: > > http://www.runrev.com/Revolution1/developercentral/ > latesttestversion.html > > Regards, > > Heather > > > > -- > Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > ~~~ 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 alptex2 at orwell.net Wed Aug 20 13:22:47 2003 From: alptex2 at orwell.net (T. R. Ponn) Date: Wed Aug 20 13:22:47 2003 Subject: Irritated at something, I think Message-ID: <3F43BAB9.9000101@orwell.net> Hi All! I'm creating a cross-platform app on my Mac OS9.2.2, Rev 1.1.1... Sooooo.....I finsh my app (or nearly) and I want to include a menu bar. Hating whitespace(call me anal ;-) ), my graphics extend all the way to the top of the window. Using Menu Manager, I set about building my menus and check the "Set as Menu Bar on Mac OS" box. Yup...my layout gets cropped. Ah...here's a workaround...move the Menu up off the window! Still looks fine on my Mac (after all, I don't NEED the buttons hanging from the top of the window...I have the menus where God intended them ;-) ) Now...the rub (I suspect)...are these *not* going to show up in windoze and *nix as I think? If they don't show up, should I be irritated at Rev for not warning me: "Caution, if you think you're going to need a Menu Bar, step AWAY from the top 20 pixels!"? or irritated at...M$ for putting them in a dumb place? ...Apple for putting them in a dumb place? ...Me for when I receive the response: "Duh...ya fergot to click the "Fripnitz" button!" ...Me for when I receive the response: "ya...yer workaround is fine!" NOT liking the odds, here... Best Regards, Tim Ponn From rcozens at pon.net Wed Aug 20 13:25:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Wed Aug 20 13:25:01 2003 Subject: kiosk/game mode In-Reply-To: <196E424E-D331-11D7-80E1-000A27B49A96@major-k.de> References: <196E424E-D331-11D7-80E1-000A27B49A96@major-k.de> Message-ID: >>How did you find out about this command? You obviously don't have a HyperCard background, Alex. :{`) Everyone in the local HC SIG knew about "hide menubar"...and a great many preferred it to messing with menus. I still do. -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From klaus at major-k.de Wed Aug 20 13:32:00 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 20 13:32:00 2003 Subject: kiosk/game mode In-Reply-To: <117A6808-D338-11D7-9A89-000393529642@ARCplanning.com> Message-ID: Hi Alex, > On Wednesday, August 20, 2003, at 11:09 AM, Klaus Major wrote: > >> Now ihave to test the RC which i just downloaded... > > Did it work? I tried downloading the RC but I wound up with a copy of > 2.0.2 :-( http://www.runrev.com/Revolution1/developercentral/downloads.html here you'll find RC 1... Caveat: This engine will work with MC but i got an error telling me: License too old... :-( (Worked with B3) We'll have to wait for some word from the company regarding MC... > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com Regards Klaus Major klaus at major-k.de www.major-k.de From alrice at ARCplanning.com Wed Aug 20 13:51:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 20 13:51:01 2003 Subject: kiosk/game mode In-Reply-To: Message-ID: <4EAF78A1-D33E-11D7-9A89-000393529642@ARCplanning.com> On Wednesday, August 20, 2003, at 12:16 PM, Rob Cozens wrote: >>> How did you find out about this command? > > You obviously don't have a HyperCard background, Alex. :{`) You are correct. :-) In Hypercard's glory days I was a college student (liberal arts) for some reason was never really exposed to Macs or Hypercard. > Everyone in the local HC SIG knew about "hide menubar"...and a great > many preferred it to messing with menus. > > I still do. Hmmm... so instead of having a gratuitous "File | Edit | Help" menu you just hide the menu? That's an elegant solution I like it. For multimedia/edu/game apps it makes sense. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From chipp at chipp.com Wed Aug 20 14:05:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Aug 20 14:05:00 2003 Subject: Way to cache stacks from web and update when changes? In-Reply-To: <3F43898F.2030403@aol.com> Message-ID: -->I'm trying to figure out a way to write an app that automatically updates itself from the web when it determines that a stack on the web-site changes. Has anyone done this before? I pretty much develop all my projects to be self-updating. After a considerable amount of evolution, this is the process I've finally settled on: I first create a startup "splash screen" stack. This stack is minimal and ONLY has the following functions: 1) Builds and checks the correct folder paths (like one for Plugins, Tempfiles, etc..). I typically use: put specialFolderPath(35) into tPath On Windows, this sets tPath to: C:\Documents and Settings\All Users\Application Data which is accessible to all users regardless of permissions. Sometimes, a user cannot install an executable in the C:/ProgramFiles folder. Also, this assures all *other* RR files downloaded by my app end up in the *same* place. I will of course append tPath with "/myCompany/appName" before installing any files. 2) Checks and verifies internet connection 3) Then checks against a server page (or can be a text file on a server) the latest version of itself. If it finds there is a newer version, it asks if the user wishes to update. If "Yes", it issues a: revGoURL "http://wwww.mydomain.com/myNewSplashScreenInstall.exe" and quits itself. This will launch a web browser, go to a web page and begin downloading the new version of the executable. The reason I use a web page in this instance (instead of having RR do it) is because I want to be absolutely positive I can download the correct executable and have it installed over the recent version. Plus, it's a lot simpler. The idea, is that the Spash Screen stack should be very simple AND reliable. It should not change much, so this rare event shouldn't be too much problem. All the other downloads are 'live' and done by RunRev. 4) If the Splash Screen is the latest version, then it checks to see if the "Main Stack" is already downloaded. It checks the folder the "Main Stack" is supposed to be in, if it's not there, then it proceeds to automatically download it 'Live': put URL "http://www.mydomain.com/mainstack.rev" into URL (binfile: & the defaultFolder) where the defaultFolder has already been set up to point to the correct folder. 5) If the Main Stack already exists: if exists(stack "Main.rev") then.. then check the version number of it (could be a field or custom prop) against a version list previously downloaded. If there is a newer version, prompt the user and then if 'OK', download it. delete stack "Main.rev" --removes from memory put URL "http://www.mydomain.com/mainstack.rev" into URL (binfile: & the defaultFolder) 6.) Once the current version of the Main stack is downloaded, launch it. It may also have plugins and can manage the plugin downloads itself. I prefer the Main stack managing all other downloads because it is important to keep the 'Splash Screen' as simple as possible, so as not to change it very often. The Main stack can be changed and updated much easier. I hope this helps... -Chipp From dsc at swcp.com Wed Aug 20 14:27:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 20 14:27:00 2003 Subject: Using strong language on the lists In-Reply-To: Message-ID: <72A937B6-D343-11D7-AF4D-000A9567A3E6@swcp.com> On Wednesday, August 20, 2003, at 07:14 AM, Heather Williams wrote: > It is a simple fact that using such language > actually prevents not only your message, but the entire digest in > which it > appears, from reaching a number of list members. And my own mental filters may prevent it from reaching me. 1. I _am_ offended by such language. 2. I can usually see past that, but often when I do, I don't like what I see. (People often do not concur with my perceptions, though.) Given that, I often do not bother to look past the language. I have an abundance of places where I can learn and can help. I have no idea whether my feelings represent any non-fringe population of this list audience. Dar Scott From edgore at shinra.com Wed Aug 20 14:43:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 20 14:43:00 2003 Subject: Way to cache stacks from web and update when changes? Message-ID: <200308201937.h7KJb1CX093065@shinra.com> Chipp, Thanks a lot for the excellent tutorial - this is going to be very helpful in building my auto-update feature (Which is pretty critical, considering that I suck and need to put out constant updates...) I'm wondering though if there would not be some value in having everything done in the startup app, and having a hidden field or a custom property that has all the info about where to look for updates and what to update. Just thinking from a reusability standpoint - much easier to maintain it all in one plce, I mean. After a >considerable amount of evolution, this is the >process I've finally settled >on: From wlists at fireworksmm.com Wed Aug 20 14:45:00 2003 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Wed Aug 20 14:45:00 2003 Subject: Getting the 2.1RC1 file In-Reply-To: <200308192103.h7JL3lq26120@mmm1505.boca15-verio.com> Message-ID: The link gets me to the 2.0.2 request for temp license and downloads 2.0.2 not 2.1rc1 Any ideas... From edgore at shinra.com Wed Aug 20 14:50:02 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 20 14:50:02 2003 Subject: Using strong language Message-ID: <200308201943.h7KJhLLV095052@shinra.com> I suffer from this as well. I usually am much less well disposed to people who use strong language on lists. In real life, off-the-cuff discussions I am much more forgiving (though it still colors my perception - It's amazing I love my wife so much, she swears like a sailor), but on a mailing list, where you have the time to think through what you are saying, it really tends to bug me. >----- ------- Original Message ------- ----- >From: Dar Scott >2. >I can usually see past that, but often when I do, I >don't like what I >see. From jemirandav at hotmail.com Wed Aug 20 15:00:01 2003 From: jemirandav at hotmail.com (Javier Miranda V.) Date: Wed Aug 20 15:00:01 2003 Subject: Ambient Sound Message-ID: Dear friends, I remember in the old times the use of "ambient sounds" with the Appple Media Tool, it permited to play a sound files in the background, without interruptions, glitches or stutter. Is there any way to implement it in RR? Saludos, Javier From edgore at shinra.com Wed Aug 20 15:02:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 20 15:02:01 2003 Subject: Path Management tricks Message-ID: <200308201956.h7KJuJxV001478@shinra.com> Some of the things that Chipp mentioned in his post about auto-updating got me to thinking...How do others do their path management? I started off being stupid and going through all the steps to set up a path and then set the defaultfolder to it. Then I crawled out of the sea and started using functions to do it instead. Now, I am up in the trees using the following single function with parameters in a backscript: (feel free to steal from it) function getPath pathType, category, section switch pathtype case "app" set the itemDelimiter to "/" put item 1 to -2 of the effective filename of \ stack "aassist" into thePath set the itemdelimiter to comma break case "document" set the itemDelimiter to "/" put item 1 to -2 of the effective filename of stack \ gDocument into thePath set the itemdelimiter to comma break case "image" if char 2 of field "imagefolder" of card 1 of stack \ gDocument <> ":" then put getpath("document") & "/" & field \ "imageFolder" of card 1 of stack gDocument into \ thePath else put field "imagefolder" of card 1 into thePath end if break case "htmlFolder" put gHtmlFolder & "/" into thePath break case "htmlCatFolder" put stripchars(category) into category put getPath("htmlFolder") & category & "/" into thePath break case "htmlSubFolder" put stripchars(category) into category put getPath("htmlCatFolder",category) & section & "/" \ into thePath break case "htmlImage" put getPath("htmlFolder") & "images/" into thePath break case "ftpFolder" put field "ftpHost" of card 1 of stack gDocument & "/" \ & field "ftpDir" of card 1 of stack gDocument into \ thePath break case "ftpCatFolder" put stripchars(category) into category put getPath("ftpFolder") & category & "/" into thePath break case "ftpSubFolder" put stripchars(category) into category put getPath("ftpCatFolder",category) & Section & "/" \ into thePath break case "ftpImage" put getPath("ftpFolder") & "images/" into thePath break end switch return thePath end getPath The biggest advantage is that since I have everything for all pths in one place, I don't have to remember what has a trailing slash and what doesn't, since it's all at least in one place. What I am wondering is, what are other people doing? Any responses from those walking upright on land, or even better, using fire, would be greatly appreciated. From alrice at ARCplanning.com Wed Aug 20 15:05:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Wed Aug 20 15:05:01 2003 Subject: Getting the 2.1RC1 file In-Reply-To: Message-ID: On Wednesday, August 20, 2003, at 01:38 PM, Wally Rodriguez wrote: > The link gets me to the 2.0.2 request for temp license and downloads > 2.0.2 > not 2.1rc1 > > Any ideas... The link on the runrev.com homepage is broken- it leads to 2.0.2. Use the link in the email from Heather instead: Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From yoy at comcast.net Wed Aug 20 15:11:00 2003 From: yoy at comcast.net (yoy) Date: Wed Aug 20 15:11:00 2003 Subject: Help with related listfields. Message-ID: <000901c36755$a92f0d20$b2ea5144@fatal7lcf637rj> Hello fellow revolutionaries! I'm back with a new issue. My next program is a program launcher. I have a listfield of applications and a list field of documents. The behavior of the program is simple. The user adds applications to the apps listfield. Then with the app selected in that list the user can add documents to the document listfield. When all set up, the user can scroll to and double-click on an application to launch it or select the app and tab over to the documents list and scroll to a document, double click it to open with the associated application (launch myDoc with myApp). Here's where I'm stalled. When the user chooses an application from the app listfield, I want the document list to change to show only that apps documents. I've got it to the point that the user can see and launch the apps with documents, but the documents are not yet related to their designated application. At this point, I have gAppDir and gDocDir variables that store two items in each. Item 1 is the listfield display names and item 2 is the path to those files. Do I need to use arrays or save to and read from one or more "prefs" file for each application to make it work without a tangle of spaghetti code? Is this clear or cloudy? I posted a zip'd .rev if you want to see what I'm trying to accomplish: http://mywebpages.comcast.net/foxcat/ClawLaunch.zip Thanks for any advice. Andy From mcdomi at free.fr Wed Aug 20 15:23:00 2003 From: mcdomi at free.fr (Dom) Date: Wed Aug 20 15:23:00 2003 Subject: The Menu Bar on Mac Os ;-> (was: Re: Irritated at something, I think) In-Reply-To: <3F43BAB9.9000101@orwell.net> Message-ID: <1g00fo1.19ovleq1ww3crkM%mcdomi@free.fr> T. R. Ponn wrote: > "Caution, if you think you're going to need a Menu Bar, step AWAY from > the top 20 pixels!"? Same punishment with MetaCard ;-> When I thought that the problem was solved, I ended with a card which didn't understood that there were a menu bar ;-)))) You have to put the menu bar on a background -- but by places you have a card which "shifts"... My solution: to put the menu bar on a dedicated substack! I cloned the one you can find in mctools.mc and modified to suit my needs (you will certainly find a counterpart in Rev -- unless you are not permitted to do such things in Rev ;-<) From klaus at major-k.de Wed Aug 20 15:25:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 20 15:25:01 2003 Subject: Ambient Sound In-Reply-To: Message-ID: <72B2CF54-D34B-11D7-93C3-000A27B49A96@major-k.de> Hi Javier, > Dear friends, I remember in the old times the use of "ambient sounds" > with the Appple Media Tool, it permited to play a sound files in the > background, without interruptions, glitches or stutter. > Is there any way to implement it in RR? you can do so by using an invisible or offscreen palette window with just one player in it... I did and it works fine :-) OR group one player and place that group on every card, in case you are in an one-stack environment... Hope that helps... > Saludos, > > Javier Regards Klaus Major klaus at major-k.de www.major-k.de From themacguy at macosx.com Wed Aug 20 15:31:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Aug 20 15:31:00 2003 Subject: Using strong language on the lists In-Reply-To: <200308201530.LAA23027@www.runrev.com> Message-ID: <6A7E0862-D34C-11D7-9A44-000A95763ABC@macosx.com> I am the "owner" of a Yahoo Group and part of our "welcome" message is a warning about offensive language and personal attacks. That welcome message was not suggested by Yahoo; I came up with it and enforce it by tossing members who disregard the warning. Up to now I've only had one individual I've had to ban. This is a list with over 500 members that generates about 900 messages per month. Civil people understand the advantages of available resources. I don't think anyone on this list has a, shall we say, "delicate" enough constitution to find a problem with "ticked off" or "damn" if they're self-directed, as in: "Wow, am I ticked off about that damn programming mistake I made yesterday..." However, we can surely draw the line somewhere; and I think we all know where that somewhere is without specificity. I consider this list a most valuable resource which permits me to pick the brains of those who have already been through the mistakes I make. Accordingly, I try to treat everyone in the manner in which I hope to be treated when the day comes that I can provide such help to other novices. Just in case I haven't mentioned it lately: Thank you to all who have provided resolutions/workarounds to the problems I have encountered (or caused myself) with Rev. Whatever its shortcomings, it's still the best IDE extant. Regards, Barry From jemirandav at hotmail.com Wed Aug 20 15:33:02 2003 From: jemirandav at hotmail.com (Javier Miranda V.) Date: Wed Aug 20 15:33:02 2003 Subject: Scenario Message-ID: <6F75CB3E-D34C-11D7-A7B9-00306576108C@hotmail.com> Dear friends: I have the following scenario. What would you do?: I have been comissioned to administer a MacOS X Server (and set-up it), it will support the intranet, a web-portal, publish databases and somehow aid in the collaborative production of some consulting work that will be done by groups of persons. My first thought was to use FileMaker as the database and some weblog software to run the collaborative part and maybe the portal (I am taking a close look to pmachine the sw the people at revjournal are using). Now I have begin to wonder where RR can be used, I'm sure there are things RR can handle with efficiency and ease of use. Any ideas? Saludos, Javier From gizmotron at earthlink.net Wed Aug 20 15:36:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Aug 20 15:36:00 2003 Subject: Using strong language on the lists In-Reply-To: <20030819001405.80187.qmail@web20001.mail.yahoo.com> Message-ID: <872815CE-D34D-11D7-823E-000A95859272@earthlink.net> I said: Wait a second, I wanted to say a$$**le, sh*t, t*rd, f*rt, b*tthead, d*ckhead... On Monday, August 18, 2003, at 05:14 PM, erik hansen wrote: > --- Shao Sean wrote: >> you just did ;-) >> >>> Wait a second, I wanted to say... > > why? I'm sorry. My only excuse is that I'm used to Psychologists cursing at each other freely on a major discussion list of Gestalt practitioners around the world. They blaze away with all the four letter words. So I was joking. I was illustrating the ridiculousness of using such words to discuss software development difficulties. I was aware that this rarely happens on this list. I didn't know that it would bounce messages. Now I will go into the corner for a time out. Mark From edgore at shinra.com Wed Aug 20 15:38:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 20 15:38:01 2003 Subject: Help with related listfields. Message-ID: <200308202032.h7KKWJQI013623@shinra.com> If I am understanding what you are doing correctly, I think that the easiest way to handle it would be hiding and showing multiple fields for the documents. When the user adds an application on the right side, your application creates a new field called somthing like "appDocs 1" then when the user clicks on that application in the future, you have a script like on mousedown lock screen repeat with x = 2 to the number of fields on this card hide field "appDocs" && 1 end repeat -- the above assumes that you have only 1 field on the -- card other than the document fields show field "appDocs" && the hilited line of me unlock screen end mouseUp >----- ------- Original Message ------- ----- >From: "yoy" > >Here's where I'm stalled. When the user chooses an >application from the app >listfield, I want the document list to change to >show only that apps >documents. From edgore at shinra.com Wed Aug 20 15:44:02 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 20 15:44:02 2003 Subject: Getting the 2.1RC1 file Message-ID: <200308201957.h7KJvVqp001983@shinra.com> Go to the ftp site. I had the same problem. ftp://ftp.runrev.com/pub/revolution/downloads/distributions/ >----- ------- Original Message ------- ----- >From: Wally Rodriguez >To: "use-revolution at lists.runrev.com" > >Sent: Wed, 20 Aug 2003 15:38:23 > >The link gets me to the 2.0.2 request for temp >license and downloads 2.0.2 >not 2.1rc1 > >Any ideas... > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From todd at geistinteractive.com Wed Aug 20 15:45:33 2003 From: todd at geistinteractive.com (Todd Geist) Date: Wed Aug 20 15:45:33 2003 Subject: Test - Please ignore Message-ID: -- Todd Geist _______________________________________________ g e i s t i n t e r a c t i v e web hosting - web design - application design From ambassador at fourthworld.com Wed Aug 20 15:57:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Aug 20 15:57:00 2003 Subject: Irritated at something, I think In-Reply-To: <3F43BAB9.9000101@orwell.net> Message-ID: T. R. Ponn wrote: > If they don't show up, should I be irritated at Rev for not warning me: > "Caution, if you think you're going to need a Menu Bar, step AWAY from > the top 20 pixels!"? Or just select all and move down 20 pixels when you add a menu bar. Mac's the odd one out here again: all other OSes have the menu bar where Fitts' Law tells them not to, at the top of the window. Rev's solution is perhaps the simplest of all multi-platform dev tools: you just make your stack as you would for any other platform, and the menus are automatically hidden on the stack and drawn in the menu bar on Mac OS. No extra coding, no fuss, no muss. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jacque at hyperactivesw.com Wed Aug 20 16:08:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 20 16:08:00 2003 Subject: Irritated at something, I think In-Reply-To: <3F43BAB9.9000101@orwell.net> References: <3F43BAB9.9000101@orwell.net> Message-ID: <3F43E1B3.9020904@hyperactivesw.com> On 8/20/03 1:15 PM, T. R. Ponn wrote: > Sooooo.....I finsh my app (or nearly) and I want to include a menu bar. > Hating whitespace(call me anal ;-) ), my graphics extend all the way to > the top of the window. Using Menu Manager, I set about building my > menus and check the "Set as Menu Bar on Mac OS" box. Yup...my layout > gets cropped. Ah...here's a workaround...move the Menu up off the > window! You'll have problems on any OS that isn't a Mac. Rule of thumb is that if you want to have a menu bar, the top 20-30 pixels in the stack do not belong to you. They belong to your menu bar. Since you already have objects in the stack, you'll need to make the stack taller, push all existing objects down by that amount, and place the menu group into the space at the top. It is easier to just create a menubar first on new stacks before placing any other objects, but you can make room for one after the fact by moving everything. For more info and a script to help you push everything downward, read here: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rgould8 at aol.com Wed Aug 20 16:22:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Wed Aug 20 16:22:01 2003 Subject: Methods of embedding browser in Rev Message-ID: <3F43E4F0.3060108@aol.com> An HTML attachment was scrubbed... URL: From edgore at shinra.com Wed Aug 20 16:36:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 20 16:36:01 2003 Subject: Methods of embedding browser in Rev Message-ID: <200308202129.h7KLTwuq032960@shinra.com> Altuit has come out with altBrowser, which I believe is the current name of what was known as Leo Browser. If you go to http://www.altuit.com/webs/altuit2/RunRev/altBrowser.htm you can learn more about it. Right now it's Windows only, but they are entertaining demands for a Mac version. I use it in my Amazon Assistant application, and it's been wonderful. Download it at www.shinra.com/amazonassistant/ if you want to get an idea of what sorts of things are possible. >----- ------- Original Message ------- ----- >From: >Looking through all >the archives, I've found the LEO browser as a means >of embedding a >web-browser into Revolution stacks.? It >doesn't appear to be selling >yet, or if it is, I'm missing the link.? Are >there any other options?? >I'd love a cross platform solution (Mac/Win) if >such a product exists. From erikhans08 at yahoo.com Wed Aug 20 19:16:10 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Aug 20 19:16:10 2003 Subject: Using strong language on the lists In-Reply-To: <872815CE-D34D-11D7-823E-000A95859272@earthlink.net> Message-ID: <20030820220101.76097.qmail@web20009.mail.yahoo.com> --- Mark Brownell wrote: > I said: Wait a second, I wanted to say a$$**le, > sh*t, t*rd, f*rt, > b*tthead, d*ckhead... > > On Monday, August 18, 2003, at 05:14 PM, erik > hansen wrote: > > > --- Shao Sean wrote: > >> you just did ;-) > >> > >>> Wait a second, I wanted to say... > > > > why? > > I'm sorry. My only excuse is that I'm used to > Psychologists cursing at > each other freely on a major discussion list of > Gestalt practitioners > around the world. They blaze away with all the > four letter words. So I > was joking. I was illustrating the > ridiculousness of using such words > to discuss software development difficulties. I > was aware that this > rarely happens on this list. I didn't know that > it would bounce > messages. Now I will go into the corner for a > time out. "why?" did not refer to your ironic asterix. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dsc at swcp.com Wed Aug 20 19:18:32 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 20 19:18:32 2003 Subject: General license questions Message-ID: I have some general license questions. I hope it is OK to ask general questions here as others might elaborate on the questions, supply interpretations and also appreciate answers. 1. The new license table has a "Create applications for" column. I assume that means standalones and all licenses can build stacks for all platforms. Is that correct? 2. I assume that WIN32 for the time being is one platform. Is that correct? 3. Are printed manuals included in Enterprise renewals? Uh, I guess other questions come later. Thanks! Dar Scott From monte at sweattechnologies.com Wed Aug 20 19:48:14 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 20 19:48:14 2003 Subject: General license questions In-Reply-To: Message-ID: > I have some general license questions. I hope it is OK to ask general > questions here as others might elaborate on the questions, supply > interpretations and also appreciate answers. > > 1. > The new license table has a "Create applications for" column. I assume > that means standalones and all licenses can build stacks for all > platforms. Is that correct? > > 2. > I assume that WIN32 for the time being is one platform. Is that > correct? > > 3. > Are printed manuals included in Enterprise renewals? > Not when I renewed ;-( Mind you at the time I could have just paid for shipping and I would have got them (special deal). I didn't bother because the 1.1.1 ones are still sitting on my shelf looking good as new ;-) Cheers Monte From curry at pair.com Wed Aug 20 20:02:03 2003 From: curry at pair.com (curry) Date: Wed Aug 20 20:02:03 2003 Subject: Unique ID on Win In-Reply-To: <200308202038.QAA09752@www.runrev.com> References: <200308202038.QAA09752@www.runrev.com> Message-ID: Is there a way to uniquely identify a Windoze computer or the startup drive thereof without using "shell" (to avoid the Norton AutoProtect issue)? Thanks, Curry From mpetrides at earthlink.net Wed Aug 20 20:11:01 2003 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed Aug 20 20:11:01 2003 Subject: General license questions In-Reply-To: Message-ID: <66D40F5B-D373-11D7-9914-0003936D5826@earthlink.net> Frankly, I was really pleased to find that I could get a new set of manuals just for shipping cost when I renewed my professional (now enterprise) license. Marian On Wednesday, August 20, 2003, at 08:42 PM, Monte Goulding wrote: > >> I have some general license questions. I hope it is OK to ask general >> questions here as others might elaborate on the questions, supply >> interpretations and also appreciate answers. >> >> 1. >> The new license table has a "Create applications for" column. I >> assume >> that means standalones and all licenses can build stacks for all >> platforms. Is that correct? >> >> 2. >> I assume that WIN32 for the time being is one platform. Is that >> correct? >> >> 3. >> Are printed manuals included in Enterprise renewals? >> > Not when I renewed ;-( > > Mind you at the time I could have just paid for shipping and I would > have > got them (special deal). I didn't bother because the 1.1.1 ones are > still > sitting on my shelf looking good as new ;-) > > Cheers > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rodneytamblyn at paradise.net.nz Wed Aug 20 20:33:11 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Wed Aug 20 20:33:11 2003 Subject: HTTPProxy - authenticated proxy servers supported? Message-ID: It appears that authenticated proxy servers are not supported in Metacard/Revolution. Please tell me I am wrong. Comments from those with experience with using proxies would be of interest... ~ Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From monte at sweattechnologies.com Wed Aug 20 20:37:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 20 20:37:01 2003 Subject: General license questions In-Reply-To: <66D40F5B-D373-11D7-9914-0003936D5826@earthlink.net> Message-ID: > > Frankly, I was really pleased to find that I could get a new set of > manuals just for shipping cost when I renewed my professional (now > enterprise) license. > I didn't say it wasn't a pleasing idea but I just find using the online docs is far better for my workflow, therefore filling up my shelves with more boos is not a high priority. I understand though that some people like to read the manual in the bath and it's not that safe to take in the PowerBook ;-) Cheers Monte From kray at sonsothunder.com Wed Aug 20 21:13:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 20 21:13:00 2003 Subject: Unique ID on Win In-Reply-To: Message-ID: <007001c36788$d47f6dc0$6501a8c0@LightningFlash> You could write a VBS file and launch it from Rev, but you would probably butt heads with Norton anyway. You could "put the hostName()" - that might work if the host is uniquely named and doesn't just return "localhost". Sorry, don't have any other ideas that don't involve shell(), Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of curry > Sent: Wednesday, August 20, 2003 7:47 PM > To: use-revolution at lists.runrev.com > Subject: Unique ID on Win > > > Is there a way to uniquely identify a Windoze computer or the startup > drive thereof without using "shell" (to avoid the Norton AutoProtect > issue)? > > Thanks, > > Curry > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From gizmotron at earthlink.net Wed Aug 20 21:14:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Aug 20 21:14:00 2003 Subject: Using strong language on the lists In-Reply-To: <20030820220101.76097.qmail@web20009.mail.yahoo.com> Message-ID: On Wednesday, August 20, 2003, at 03:01 PM, erik hansen wrote: > "why?" did not refer to your ironic asterix. Did it refer to using the asterisked expletives that look similar to what I earlier used and later apologized for using on this list? From dsc at swcp.com Wed Aug 20 21:17:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 20 21:17:00 2003 Subject: General license questions In-Reply-To: Message-ID: On Wednesday, August 20, 2003, at 06:42 PM, Monte Goulding wrote: > Not when I renewed ;-( > > Mind you at the time I could have just paid for shipping and I would > have > got them (special deal). I didn't bother because the 1.1.1 ones are > still > sitting on my shelf looking good as new ;-) I did order them, but they have not arrived. I assume they are taking a long time. Dar From pixelbird at interisland.net Wed Aug 20 23:50:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Aug 20 23:50:01 2003 Subject: use-revolution digest, Vol 1 #1801 - 16 msgs In-Reply-To: <200308201846.OAA01910@www.runrev.com> Message-ID: on 8/20/03 2:46 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > Date: Wed, 20 Aug 2003 13:21:07 -0600 > Subject: Re: Using strong language on the lists > From: Dar Scott > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com From pixelbird at interisland.net Thu Aug 21 00:03:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu Aug 21 00:03:00 2003 Subject: Using strong language on the lists In-Reply-To: <200308201846.OAA01910@www.runrev.com> Message-ID: > Date: Wed, 20 Aug 2003 13:21:07 -0600 > Subject: Re: Using strong language on the lists > From: Dar Scott > > 1. > I _am_ offended by such language. > > 2. > I can usually see past that, but often when I do, I don't like what I > see. (People often do not concur with my perceptions, though.) Given > that, I often do not bother to look past the language. I have an > abundance of places where I can learn and can help. > > I have no idea whether my feelings represent any non-fringe population > of this list audience. ----------- FYI, this is also exactly how I feel. Cusswords are like pondscum floating around on the very surface of the brain...quick and easy to get to, but nasty and infectious. Ken N. From rgould8 at aol.com Thu Aug 21 00:05:00 2003 From: rgould8 at aol.com (rgould8 at aol.com) Date: Thu Aug 21 00:05:00 2003 Subject: Way to pass Rev mouse coords over net? Message-ID: <0A630A89.59B5FC3F.0018446D@aol.com> My boss wants me to see if it's possible to write a Rev app that will allow him to be in NY on his laptop running a Rev app and moving his mouse over an image, and his subordinates would be back at the office here in VA (behind a firewall), seeing his mouse move over the image as he's on the phone pointing at elements on-screen. Right now, I have a Rev app that lets us both look at an image that's pulled from a central server (outside the firewall), while we're in different locations. The part I'm not sure how to implement is the part that passes the X,Y coordinates of his mouse to the Rev apps that we're running. I'm sure I could write something that would write a text file to the server, but that would be incredibely slow. I'm not up on server ports and socket communications, but I'd be willing to bet that's how Timbuktu does it. I'd somehow need to set up a server outside the corporate firewall with a port open that sends/receives 2 coordinates (X,Y) and makes them available for the Rev clients behind the firewall to "poll" (receive) and them I'd set a graphic mouse to those coordinates. Anyone think this is possible, or know how to set up a server to pass data like this? From dsc at swcp.com Thu Aug 21 00:30:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 21 00:30:00 2003 Subject: Way to pass Rev mouse coords over net? In-Reply-To: <0A630A89.59B5FC3F.0018446D@aol.com> Message-ID: On Wednesday, August 20, 2003, at 10:57 PM, rgould8 at aol.com wrote: > Anyone think this is possible, or know how to set up a server to pass > data like this? Yes, I think it is possible. See screenMouseLoc and click. I am comfortable with sockets, but in this situation I used pcAnywhere. I'd suggest Timbuktu or pcAnwhere or, uh, I forgot the name, that "free" one. On a LAN, I'd say roll your own. But, either way can work. If you tell the firewall admin you need pcAnywhere access to a particular machine, the admin will understand. If you say you want to set up a special service, things might go slower. The admin might understandably be concerned that your are giving up some control without any security. You might respond as I often do: "But _I'm_ the admin!" Just say and say whether you still want to roll your own. (Another approach is to have multiple panels for the same functionality.) Dar Scott From monte at sweattechnologies.com Thu Aug 21 00:39:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 21 00:39:00 2003 Subject: Way to pass Rev mouse coords over net? In-Reply-To: <0A630A89.59B5FC3F.0018446D@aol.com> Message-ID: > > My boss wants me to see if it's possible to write a Rev app that > will allow him to be in NY on his laptop running a Rev app and > moving his mouse over an image, and his subordinates would be > back at the office here in VA (behind a firewall), seeing his > mouse move over the image as he's on the phone pointing at > elements on-screen. > > Right now, I have a Rev app that lets us both look at an image > that's pulled from a central server (outside the firewall), while > we're in different locations. The part I'm not sure how to > implement is the part that passes the X,Y coordinates of his > mouse to the Rev apps that we're running. > > I'm sure I could write something that would write a text file to > the server, but that would be incredibely slow. I'm not up on > server ports and socket communications, but I'd be willing to bet > that's how Timbuktu does it. I'd somehow need to set up a server > outside the corporate firewall with a port open that > sends/receives 2 coordinates (X,Y) and makes them available for > the Rev clients behind the firewall to "poll" (receive) and them > I'd set a graphic mouse to those coordinates. Anyone think this > is possible, or know how to set up a server to pass data like this? > Take a look at the simple chat stack on the contributor list. A simple way to do it would be as follows: Your boss's version uploads a text file containing the IP of his laptop. Then opens a port to accept connections: probably 80 is the easiest if he doesn't have a personal web server. All the people behind the firewall check the file for the IP then connect to the laptop. From there all you need to do is have a mouseMove handler on your boss's laptop as follows: on mouseMove x,y repeat for each line tLine in the openSockets write x,y to socket tLine end repeat end mouseMove Then for everyone behind the firewall you: on readMouseLoc read from socket sSocket for 1 line with message setMouseLoc readMouseLoc end readMouseLoc on setMouseLoc pSocket,pLoc put pLoc end sMouseLoc Well... anyway that's a completely untested start ;-) Cheers Monte From monte at sweattechnologies.com Thu Aug 21 00:51:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 21 00:51:01 2003 Subject: Externals & Dev-C++ Message-ID: Hi Has anyone ever compiled the external.dll with Dev-C++? I'm getting linker errors from libraries that I assume are standard windows libraries. I think Dev-C++ uses MinGW. I'm assuming that they were written with MS Visual C++ in mind???? If anyone can help me out I'd appreciate it. I did manage to compile a stripped down version of the example externals (just sprintf). Cheers Monte From edgore at shinra.com Thu Aug 21 00:57:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Thu Aug 21 00:57:00 2003 Subject: Way to pass Rev mouse coords over net? References: Message-ID: <002001c367a7$ba410ad0$6701a8c0@ed> The "free one" is VNC (http://www.realvnc.com/), and i's certainly the way to go. If you bother trying to do this in Rev you will not only cry, but your application will be slower and less capable than using VNC. I did mention that you would cry, right? ----- Original Message ----- From: "Dar Scott" To: Sent: Wednesday, August 20, 2003 11:23 PM Subject: Re: Way to pass Rev mouse coords over net? > > On Wednesday, August 20, 2003, at 10:57 PM, rgould8 at aol.com wrote: > > > Anyone think this is possible, or know how to set up a server to pass > > data like this? > > Yes, I think it is possible. See screenMouseLoc and click. > > I am comfortable with sockets, but in this situation I used pcAnywhere. > I'd suggest Timbuktu or pcAnwhere or, uh, I forgot the name, that > "free" one. On a LAN, I'd say roll your own. But, either way can work. > > If you tell the firewall admin you need pcAnywhere access to a > particular machine, the admin will understand. If you say you want to > set up a special service, things might go slower. The admin might > understandably be concerned that your are giving up some control > without any security. > > You might respond as I often do: "But _I'm_ the admin!" Just say and > say whether you still want to roll your own. > > (Another approach is to have multiple panels for the same > functionality.) > > Dar Scott > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From livfoss at blueyonder.co.uk Thu Aug 21 02:46:02 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Aug 21 02:46:02 2003 Subject: Release Candidate 1 Available -- Special Offers End Soon Message-ID: At 22:26 +0100 20/8/03, Heather Williams wrote (off-list, but presumably to a large mailing list of potential purchasers etc): >[...] > >50% Off All Versions Until August 31st 2003 [...] Heather, I just want to ask this on the list to avoid you having to reply to several people personally. I am slightly confused. I have an old-style 'Revolution Pro' licence, and my renewal date is in December. Is there any advantage for me in using/taking up any of the special offers, or should I lie low and say nuffin? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From FlexibleLearning at aol.com Thu Aug 21 04:11:02 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu Aug 21 04:11:02 2003 Subject: 20px Mac menubar Message-ID: <62.33aa4261.2c75e511@aol.com> T. R. Ponn wrote: > If they don't show up, should I be irritated at Rev for not warning me: > "Caution, if you think you're going to need a Menu Bar, step AWAY from > the top 20 pixels!"? This also relates to cross-platform delivery... Alternative 1: If the platform is MacOS then hide the menubar group. The window will not scroll up to it. Else show the group. Alternative 2: If you have menubar options for specific substacks, store all your various menubar groups in a separate substack. Alternative 3: Do both. /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: h&flexibleLearning.com Web: www.flexibleLearning.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From richmond at mail.maclaunch.com Thu Aug 21 04:14:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Aug 21 04:14:01 2003 Subject: Stacks in Motion Message-ID: Dear RunRev Afficionados, I had a slightly daft idea for a children's game using moving substacks...... however there seem to be one or 2 problems..... I have put 'BOUNCER' at the top of my list of files on my website and would be grateful for any feedback. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From claus at dreischer.de Thu Aug 21 04:14:50 2003 From: claus at dreischer.de (claus at dreischer.de) Date: Thu Aug 21 04:14:50 2003 Subject: AW: Getting the 2.1RC1 file Message-ID: <20030821090717.07E7E8753@voodoo.strato-webmail.de> Hi, i had a similar problem getting the 2.1B3 with my usual browser, Mozilla. Switching to the *** InternetExploder solved the problem and i was able to download the correct version. =:-o I nailed it down to the Mozilla browser cache. Deleting it solved the problem for Mozilla too. :-) Maybe the webmaster of runrev should add something like: Regards, Claus. > >The link gets me to the 2.0.2 request for temp > >license and downloads 2.0.2 > >not 2.1rc1 > > > >Any ideas... From richmond at mail.maclaunch.com Thu Aug 21 04:18:02 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Aug 21 04:18:02 2003 Subject: Problems downloading RR files from RR site Message-ID: I have always used iCab (Mac OS X) with no trouble at all. __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From dcragg at lacscentre.co.uk Thu Aug 21 04:40:14 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu Aug 21 04:40:14 2003 Subject: HTTPProxy - authenticated proxy servers supported? In-Reply-To: References: Message-ID: At 1:29 pm +1200 21/8/03, Rodney Tamblyn wrote: >It appears that authenticated proxy servers are not supported in >Metacard/Revolution. Please tell me I am wrong. You're kind of wrong. :) If you know in advance that proxy authentication is required, you need to set the httpHeaders appropriately. The header should look something like this: Proxy-Authorization: What you need to put in place of depends on the authentication scheme being used. If it's the Basic authorization scheme, then the header will look like this: Proxy-Authorization: Basic where the base64-encoded string is a base64 encoding of the user ID, a colon, and the password. So: put into tID put into tPass put base64Encode(tID & ":" & tPass) into tString set the httpHeaders to "Proxy-Authorization:" && tString If another scheme is used (digest, kerberos, etc.) you have more work to do. (But I think someone once posted a way of handling Digest authorization on one of the Rev or MC lists. So a look through the archives might help.) There is information on the Digest and Basic schemes here: If you don't know in advance whether proxy-authenitication is required, you can find out by getting the result of an http url call. It should return "error 407 " followed by a text description. In that case, you'll then have to find a "Proxy-authenicate" field in the headers returned by the proxy server. You can get the headers by using the libUrlLastRhHeaders() function. Cheers Dave From dan at danshafer.com Thu Aug 21 04:48:00 2003 From: dan at danshafer.com (Dan Shafer) Date: Thu Aug 21 04:48:00 2003 Subject: Whassup With Version Numbers? Message-ID: <57B1B276-D3A2-11D7-8A26-0030656FB5D4@danshafer.com> I downloaded RC1 of 2.1 but it says it's 2.0.2. This is made more confusing by the fact that the last release before this RC was 2.1B3 and is properly labeled as such in the splash screen. Huh? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From miscdas at boxfrog.com Thu Aug 21 04:54:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Thu Aug 21 04:54:01 2003 Subject: Using strong language on the lists In-Reply-To: References: Message-ID: <20030821094823.17700.qmail@www.boxfrog.com> Ken Norris writes: [snip] > > Cusswords are like pondscum floating around on the very surface of the > brain...quick and easy to get to, but nasty and infectious. Duh! That's exactly the point of them! miscdas > > Ken N. From magnus at mail.maclaunch.com Thu Aug 21 05:08:00 2003 From: magnus at mail.maclaunch.com (Magnus Hippolyte Batavia) Date: Thu Aug 21 05:08:00 2003 Subject: Using strong language on the lists Message-ID: I could not help but notice that while many people are going round in circles on the topic of strong language Mr Mathewson has shut up and is now concentrating his mind on programming matters: obviously he, among others, has got the message. It might be time for everybody else to shut up about strong language as well and turn their attention to the new Release Candidate of Runtime Revolution Magnus Hippolyte Batavia --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From igor at pixelmedia.com.au Thu Aug 21 07:13:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Thu Aug 21 07:13:00 2003 Subject: Whassup With Version Numbers? In-Reply-To: <57B1B276-D3A2-11D7-8A26-0030656FB5D4@danshafer.com> Message-ID: Dear Mr. Shafer, On Thursday, August 21, 2003, at 04:40 PM, Dan Shafer wrote: > I downloaded RC1 of 2.1 but it says it's 2.0.2. This is made more > confusing by the fact that the last release before this RC was 2.1B3 > and is properly labeled as such in the splash screen. > Are you certain that you are, indeed, launching the correct version? I just tried opening the 2.1RC1, and it clearly says "Revolution 2.1" in the splash screen, as well as the about box... Kind Regards, -- Igor de Oliveira Couto ---------------------------------- igor at pixelmedia.com.au ---------------------------------- From rjb at rz.uni-potsdam.de Thu Aug 21 08:19:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Aug 21 08:19:01 2003 Subject: Whassup With Version Numbers? In-Reply-To: <57B1B276-D3A2-11D7-8A26-0030656FB5D4@danshafer.com> References: <57B1B276-D3A2-11D7-8A26-0030656FB5D4@danshafer.com> Message-ID: >I downloaded RC1 of 2.1 but it says it's 2.0.2. This is made more >confusing by the fact that the last release before this RC was 2.1B3 >and is properly labeled as such in the splash screen. > >Huh? > Hasn't someone reported that the update link is bogus and one needs to go directly to ftp? Check the list archive of past couple days. Robert From Steve_Anderson at paradise.net.nz Thu Aug 21 08:57:01 2003 From: Steve_Anderson at paradise.net.nz (Steve Anderson) Date: Thu Aug 21 08:57:01 2003 Subject: XML Data sources Message-ID: <48BA2AC6-D3BD-11D7-A101-000393D6D59E@paradise.net.nz> Does it make sense to leave the data in the XML tree and just march up and down it when I wish to display the data or should I parse it into some other structure? I guess it depends how deep/complex the XML tree goes. I am in a similar situation. From my previous use of Java my preference would be to build an array (or some other collection-type structure) of objects from the XML tree. Are there performance issues with keeping the data in an xml tree? I would like to know the answer to this too. I guess you need to test the performance of each approach. If you got a sec could you look at my thread...subject: 'The Stack Metaphor'. Regards Steve Mac OS X... http://www.apple.com/switch -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 759 bytes Desc: not available URL: From lestond at lpsoftware.com Thu Aug 21 09:10:01 2003 From: lestond at lpsoftware.com (Leston Drake) Date: Thu Aug 21 09:10:01 2003 Subject: message watcher specifics? In-Reply-To: <030301c361e3$cd59f100$6801a8c0@LightningFlash> References: Message-ID: <5.1.1.6.0.20030821075752.021c4dd8@mail.xmission.com> An HTML attachment was scrubbed... URL: From richmond at mail.maclaunch.com Thu Aug 21 09:26:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Aug 21 09:26:01 2003 Subject: Horizontal Tools Message-ID: Dear RR Afficionados, Have just uploaded to my website a Horizontal revtools.rev replacement stack with all the enhancements in my last GUI escaped: it sits very nicely at the bottom of the screen. Be there or be vertical! Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From alrice at ARCplanning.com Thu Aug 21 10:23:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 21 10:23:00 2003 Subject: Whassup With Version Numbers? In-Reply-To: Message-ID: <7FD4E3AC-D3EA-11D7-BDB0-000393529642@ARCplanning.com> On Thursday, August 21, 2003, at 07:10 AM, Robert Brenstein wrote: > > Hasn't someone reported that the update link is bogus and one needs to > go directly to ftp? Check the list archive of past couple days. No, the link from the homepage is bogus (or was yesterday).. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Thu Aug 21 10:33:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 21 10:33:00 2003 Subject: message watcher specifics? In-Reply-To: <5.1.1.6.0.20030821075752.021c4dd8@mail.xmission.com> Message-ID: On Thursday, August 21, 2003, at 08:01 AM, Leston Drake wrote: > Hi All, > > Can anyone tell me what the numbers in paren's after a message line in > the Message Watcher is? > For example: > ? closeCard 7:51:47 AM (4544) > ? closeCard 7:51:47 AM (0) > ? preOpenCard 7:51:47 AM (67) > > I thought something like 4544 would be an object ID, but 0 and 67 > don't seem to match that guess. > Does someone know for certain what they refer to? Not 100% certain but a good guess is they are the message ID. When you use "send" a message ID is put into "the result". The cancel command uses the same id. See also pendingMessages function. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dan at shafermedia.com Thu Aug 21 10:36:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Thu Aug 21 10:36:01 2003 Subject: List Stuck? Message-ID: <57C34D22-D3EC-11D7-8A26-0030656FB5D4@shafermedia.com> I haven't received any new digests in about 24 hours. Is this thing still on? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From alex at harryscollar.com Thu Aug 21 10:43:01 2003 From: alex at harryscollar.com (Alex Shaw) Date: Thu Aug 21 10:43:01 2003 Subject: 2.1RC1 delete problem Message-ID: <5.2.0.9.0.20030822013834.039bfa38@pop-server.bigpond.net.au> hi, just tried 2.1rc1 (for pc) and i noticed it was leaving gaps in lists (variables & fields) which i occasionally trim with the 'delete' command.. which is acting more like a 'clear' command. anyone else having this problem? while im here i want to point out a feature i miss from metacard.. put "hello "&"world" -> works on both mc & rev put ("hello "&"world") -> works on mc .. fails on rev simple example but it has caused a few problems with some of my older mc scripts is anyone having [seemingly] more crashes with colorized scripts on or is it just me? .. back to 2.0.2, which isn't too bad :) regards alex From tuviah at runrev.com Thu Aug 21 11:13:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Aug 21 11:13:01 2003 Subject: XML Data sources References: <200308211444.KAA15300@www.runrev.com> Message-ID: <009e01c367fe$46d600d0$0100a8c0@user> >I guess it depends how deep/complex the XML tree goes. I am in a >similar situation. From my previous use of Java my preference would be >to build an array (or some other collection-type structure) of objects >from the XML tree. Performance should be better actually keeping it in a tree, if the data is complex. It certainly will take as much if not more memory to store it in an array. As XML support gets integrated into future versions of Revolution, it can also serve as a way to store and iterate through complex structures. libxml which is what revxml is built on top of, can access individual nodes and iterate through the tree extremely quickly as is demonstrated by the xml-tree view sample. It supports the sax and dom.The only reason I can think of dumping the xml tree is if your reading a large document and don't need the majority of data in it. In this case I would advise using the sax based callback mechanism (revxmlstarttree,revxmlendtree, ect) to populate an array, or whatever with just the stuff you data you want to keep. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From harrison at all-auctions.com Thu Aug 21 11:17:00 2003 From: harrison at all-auctions.com (Rick Harrison) Date: Thu Aug 21 11:17:00 2003 Subject: Speech Recognition? In-Reply-To: <7FD4E3AC-D3EA-11D7-BDB0-000393529642@ARCplanning.com> Message-ID: <13A26C6E-D3F2-11D7-9D94-000393C10758@all-auctions.com> Hi there, Is there anyway to get Revolution to work with Mac OS X's built-in speech recognition routines other than using Applescript? Thanks, Rick Harrison From pixelbird at interisland.net Thu Aug 21 12:03:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu Aug 21 12:03:01 2003 Subject: Using strong language on the lists In-Reply-To: <200308211444.KAA15285@www.runrev.com> Message-ID: > From: miscdas at boxfrog.com > To: use-revolution at lists.runrev.com > Subject: Re: Using strong language on the lists > > Ken Norris writes: > [snip] >> >> Cusswords are like pondscum floating around on the very surface of the >> brain...quick and easy to get to, but nasty and infectious. > > Duh! That's exactly the point of them! ---------- So you think that makes it OK? It's about people doing or saying things regardless of the harm it might do to others, just because it's convenient or they think it's cute or funny. That's the end of it for me. Best regards, Ken N. From edgore at shinra.com Thu Aug 21 12:05:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Thu Aug 21 12:05:01 2003 Subject: 2.1RC1 delete problem Message-ID: <200308211658.h7LGwWcd021978@shinra.com> Didn't test the other two problems, but the script below (well, modified to wait 1 second between lines, and to change the second "world" to "world2" so I could something happened) executed just fine under windows with 2.1rc1 >----- ------- Original Message ------- ----- >From: Alex Shaw >To: use-revolution at lists.runrev.com >put "hello "&"world" -> works on both mc & rev >put ("hello "&"world") -> works on mc .. fails on >rev From sims at ezpzapps.com Thu Aug 21 12:35:01 2003 From: sims at ezpzapps.com (sims) Date: Thu Aug 21 12:35:01 2003 Subject: Speech Recognition? In-Reply-To: <13A26C6E-D3F2-11D7-9D94-000393C10758@all-auctions.com> References: <13A26C6E-D3F2-11D7-9D94-000393C10758@all-auctions.com> Message-ID: >Is there anyway to get Revolution to work with >Mac OS X's built-in speech recognition routines >other than using Applescript? > >Thanks, > >Rick Harrison You can make your own Speakable items - the are applescripts. So... you could make a Speakable item that placed a phrase, word, or some other 'trigger' onto the clipboard (for example): tell application "Finder" set the clipboard to "checkWebSite" as text end tell then have a Rev app check the contents of the clipboard every so often... when your phrase/word/trigger appears on the clipboard you then have your Rev app do something...set up a switch where if the clipboard is x do this, if it is y do that, etc. You could probably do some sort of apple event thing also. How's that sound? I've found the Speakable items a bit inconsistent on my machine and would love to test with someone who has either a good microphone or who has had a consistently good experience with Speakables. hth sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From dan at shafermedia.com Thu Aug 21 12:57:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Thu Aug 21 12:57:01 2003 Subject: Scenario Message-ID: <0A6DF238-D400-11D7-8A26-0030656FB5D4@shafermedia.com> Javier Miranda V wrote: > My first thought was to use FileMaker as the database and some weblog > software to run the collaborative part and maybe the portal (I am > taking a close look to pmachine the sw the people at revjournal are > using). > Now I have begin to wonder where RR can be used, I'm sure there are > things RR can handle with efficiency and ease of use. > Any ideas? > A couple of thoughts. First, I'm in the process of deploying an Internet-based FileMaker Pro solution for a client who happened already to have a bunch of data in a FMPro database. It's not only non-trivial even for someone who knows FMPro well, it's full of little traps and undocumented pitfalls. And the resulting interface is not fast enough at all. I plan to convert the FMPro database to mySQL and change the app as soon as I can. So for just one bit of anecdotal evidence, I'd say stay away from FMPro. You might want to look into building your entire network service around a product called Web Crossing (http://www.webcrossing.com), which combines collaborative tools with a fully self-contained object database and features a world-class blogging tool that is trivial to setup and run and integrate. Because Web Crossing supports XML-RPC and has all the features of a full-blown web/app server, you can have one platform that you can build cool RR interfaces to. Web Crossing isn't free and there's a learning curve but it's less steep than learning several different servers. It even includes FTP and mail. Good luck and keep us posted! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From heather at runrev.com Thu Aug 21 13:37:00 2003 From: heather at runrev.com (Heather Williams) Date: Thu Aug 21 13:37:00 2003 Subject: Release Candidate 1 Available -- Special Offers End Soon In-Reply-To: <200308211444.KAA15300@www.runrev.com> Message-ID: > I am slightly confused. I have an old-style 'Revolution Pro' licence, > and my renewal date is in December. Is there any advantage for me in > using/taking up any of the special offers, or should I lie low and > say nuffin? Professional license holders can renew on the old terms, for $299 and get a year's renewal (no tech support). If you renew early, your license will run from the end of your existing license. You will get an Enterprise level renewal. If you want to switch to the new licensing, you can buy a new discounted license, but you will not then be able to switch back to the old model. Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From heather at runrev.com Thu Aug 21 13:37:41 2003 From: heather at runrev.com (Heather Williams) Date: Thu Aug 21 13:37:41 2003 Subject: Whassup With Version Numbers? In-Reply-To: <200308211444.KAA15300@www.runrev.com> Message-ID: > On Thursday, August 21, 2003, at 07:10 AM, Robert Brenstein wrote: >> >> Hasn't someone reported that the update link is bogus and one needs to >> go directly to ftp? Check the list archive of past couple days. > > No, the link from the homepage is bogus (or was yesterday).. Precisely, thank you Alex. It's now fixed. There was a temporary filepath problem. Anyone who got the wrong version, or lost in a maze of 30 day trial pages, is now safe to go and download again. Apologies Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From alrice at ARCplanning.com Thu Aug 21 13:39:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 21 13:39:00 2003 Subject: [ANN] A Primer on Message Mechanics--you know, 'send' In-Reply-To: Message-ID: On Monday, August 18, 2003, at 07:30 PM, Dar Scott wrote: > > You can find "A Primer on Message Mechanics" here: > > Thanks Dar this is really a good resource. Folks, it has not only bouncing-ball animations of the message path, but also message mechanics limericks! :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From briany at qldlearning.com Thu Aug 21 14:38:00 2003 From: briany at qldlearning.com (Brian Yennie) Date: Thu Aug 21 14:38:00 2003 Subject: HTTPProxy - authenticated proxy servers supported? In-Reply-To: Message-ID: <0A525C56-D40E-11D7-9742-000393AA08D2@qldlearning.com> > If another scheme is used (digest, kerberos, etc.) you have more work > to do. (But I think someone once posted a way of handling Digest > authorization on one of the Rev or MC lists. So a look through the > archives might help.) I think that may have been me... the scripts that I have (and may have posted) were actually for the server side, but should still be quite useful for figuring out the client stuff. That is, unless someone else has posted for the client. In a nutshell, if you have time to read the spec carefully all you need is to know how to use md5Digest() and base64Encode() in MetaTalk and you're good to go. HTH Brian From mail at richard-hillen.de Thu Aug 21 14:42:01 2003 From: mail at richard-hillen.de (R. Hillen) Date: Thu Aug 21 14:42:01 2003 Subject: News from Mac OSX - Mysterious Serial Port Message-ID: Hello list, some time ago I asked this or that re Mac OSX Serial Port. Sarah and others sent usefull tips, thank you all. Now I want to tell about what happened: On my Mac G4 I use the GPort from GriffinTechnologies, which replaces the build in modem. On Griffins website I found a driver for OSX. Using OSX 10.2.6, Rev 2.1 RC1 (and earlier) I first got drivernames()" -> "gPort,/dev/tty.gPort,/dev/cu.gPort". The third item is the driverName, "/dev/cu.gPort". Then I wrote a simple teststack with a button "Send" and a field "SendField". Button "Send" owns this script: ----- on mouseup put "/dev/cu.gPort" into DriverName put "BAUD=9600 PARITY=N DATA=8 STOP=1" into serial set the serialControlString to serial open driver DriverName for text update if the result is not empty then answer the result end if write fld SendField & linefeed & return to driver drivername close driver drivername end mouseup ----- To read the sent serial data I used a Windows Hyperterminal running on a Win-Laptop. What happened: I typed "12345" into field SendField, pressed button "Send" and got garbage in the terminal, 1 or two chars, nothing of "12345". I typed "1234567890" and got two garbage chars I again typed "1234567890" and got two garbage chars I again typed "1234567890" and got about 12 garbage chars. This cycle was repeatable. I typed "1234567890123456789012345678901234567890 1234567890" and got: "12345678901234567890123456789012345678901234567890", followed by NewLine. After that, I tried again with "12345" and got garbage (see above) I dont know at this time, if it is a revolution- or a griffin-problem. Next I will bugzilla it. I hope to get next week a USB2Serial adapter with OSX-drive, so I will try again. Probably someone of you may test it also? Thanx. Richard Hillen. From miscdas at boxfrog.com Thu Aug 21 15:10:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Thu Aug 21 15:10:00 2003 Subject: Stacks in Motion In-Reply-To: References: Message-ID: <20030821200447.32616.qmail@www.boxfrog.com> Mathewson writes: > Dear RunRev Afficionados, > > I had a slightly daft idea for a children's game using > moving substacks...... however there seem to be one or 2 > problems..... > > I have put 'BOUNCER' at the top of my list of files on my > website and would be grateful for any feedback. > > Love, Richmond > >====================== Richmond, Windows XP pro I unzipped Bounce and see bouncer.rev.bin So what do I do with a BIN file?? miscdas From miscdas at boxfrog.com Thu Aug 21 15:16:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Thu Aug 21 15:16:00 2003 Subject: Using strong language on the lists In-Reply-To: References: Message-ID: <20030821201054.51974.qmail@www.boxfrog.com> Ken Norris writes: > > >> From: miscdas at boxfrog.com >> To: use-revolution at lists.runrev.com >> Subject: Re: Using strong language on the lists >> >> Ken Norris writes: >> [snip] >>> >>> Cusswords are like pondscum floating around on the very surface of the >>> brain...quick and easy to get to, but nasty and infectious. >> >> Duh! That's exactly the point of them! > ---------- > So you think that makes it OK? It's about people doing or saying things > regardless of the harm it might do to others, just because it's convenient > or they think it's cute or funny. > > That's the end of it for me. > > Best regards, > Ken N. ================== I clearly did not say that makes it OK--I have no comment on that issue. As for convenient, cute, or funny, I think you've missed the mark. It appeared to me that Richmond was having an emotional outburst, and right-or-wrong, our society more readily tolerates an emotional faux paus thatn conveient, cute, or funny. miscdas From lestond at lpsoftware.com Thu Aug 21 15:24:01 2003 From: lestond at lpsoftware.com (Leston Drake) Date: Thu Aug 21 15:24:01 2003 Subject: Standalone error In-Reply-To: <37BD41B4-D2BF-11D7-AE02-00039387AE90@mac.com> References: <20030819072606.55172.qmail@web11905.mail.yahoo.com> Message-ID: <5.1.1.6.0.20030821141437.021c4dd8@mail.xmission.com> An HTML attachment was scrubbed... URL: From gizmotron at earthlink.net Thu Aug 21 15:35:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu Aug 21 15:35:00 2003 Subject: Using strong language on the lists In-Reply-To: <20030821201054.51974.qmail@www.boxfrog.com> Message-ID: <896720B9-D416-11D7-9FF5-000A95859272@earthlink.net> On Thursday, August 21, 2003, at 01:10 PM, miscdas at boxfrog.com wrote: > I think you've missed the mark. I think you will keep missing the mark; at least this Mark that is. I cracked wise and it got a smiley face and a "why?". Basically it died. So from now on I'll try to stay [on-topic]. I'll save my wise cracks for psychologists that charge for offending people. Just for the record I don't think that terse inflammatory foul language is appropriate on any internet based discussion lists except maybe the Teret Syndrome user list. Mark From alw918 at earthlink.net Thu Aug 21 15:48:00 2003 From: alw918 at earthlink.net (Andrew) Date: Thu Aug 21 15:48:00 2003 Subject: playing an Mp3 from Rev In-Reply-To: <200308210458.AAA32126@www.runrev.com> Message-ID: <62084F01-D417-11D7-A15F-000393DD0724@earthlink.net> Hey, guys. I got another question. What is the best way to play an Mp3 from Revolution and have it be invisible? In other words, so it will be "background music." And by the way, can anyone recommend me a different audio file type that is not so memory-eating but that Revolution handles as well as Mp3s? Also, how does one edit sounds in Revolution, like control the volume, etc? Or even record and edit sounds like we used to be able to do in Hypercard... is that possible with Revolution? Thanks! :) Andrew From heather at runrev.com Thu Aug 21 15:52:00 2003 From: heather at runrev.com (Heather Williams) Date: Thu Aug 21 15:52:00 2003 Subject: Revolution 2.0.3 now available Message-ID: Dear listees, We've now uploaded Revolution 2.0.3. This is purely a bug fix release and can be downloaded from the usual downloads page at: http://www.runrev.com/Revolution1/downloads.html Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From cm_sheffield at yahoo.com Thu Aug 21 16:07:01 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Aug 21 16:07:01 2003 Subject: Revolution 2.0.3 now available In-Reply-To: Message-ID: <20030821210110.37707.qmail@web20421.mail.yahoo.com> Does this include the 2.0.2 patches, or will we need to install those after installing this? Thanks, Chris Sheffield --- Heather Williams wrote: > Dear listees, > > We've now uploaded Revolution 2.0.3. This is purely > a bug fix release and > can be downloaded from the usual downloads page at: > > http://www.runrev.com/Revolution1/downloads.html > > Regards, > > Heather > > -- > Heather Williams ~ heather at runrev.com ~ > http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > ~~~ 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 ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dsc at swcp.com Thu Aug 21 16:48:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 21 16:48:00 2003 Subject: News from Mac OSX - Mysterious Serial Port In-Reply-To: Message-ID: <4E4C31D4-D420-11D7-9CC3-000A9567A3E6@swcp.com> On Thursday, August 21, 2003, at 01:35 PM, R. Hillen wrote: > > ----- > on mouseup > put "/dev/cu.gPort" into DriverName > > put "BAUD=9600 PARITY=N DATA=8 STOP=1" into serial > set the serialControlString to serial > > open driver DriverName for text update There are a few bugs on OS X. I found the best success with binary update with LF line-ends. > > if the result is not empty then > answer the result > end if > > write fld SendField & linefeed & return to driver drivername > > close driver drivername > > end mouseup > ----- > > To read the sent serial data I used a Windows Hyperterminal running on > a Win-Laptop. Double check settings and handshaking for this. > > What happened: > > I typed "12345" into field SendField, pressed button "Send" and got > garbage in the terminal, 1 or two chars, nothing of "12345". > > > I typed "1234567890" and got two garbage chars > I again typed "1234567890" and got two garbage chars At first glance, this looks like mismatched bit rate, but... > I again typed "1234567890" and got about 12 garbage chars. > > This cycle was repeatable. > > > I typed "1234567890123456789012345678901234567890 1234567890" and got: > "12345678901234567890123456789012345678901234567890", followed by > NewLine. > > After that, I tried again with "12345" and got garbage (see above) This is weird. I'd make sure the ground is wired. The long lines working better than short seems to indicate this. You might also have a ground loop. Try unplugging the laptop from other things. Is the gPort really RS-232? Maybe you have level problems. If it is RS-422, you might be OK, but there might be problems depending on the wiring. If it is MIDI, I'm amazed you saw anything. > I dont know at this time, if it is a revolution- or a griffin-problem. > Next I will bugzilla it. There are a few Revolution problems, but there seems to be something here beyond them. > I hope to get next week a USB2Serial adapter with OSX-drive, so I will > try again. > Probably someone of you may test it also? I will test on Revolution any serial devices that show up on my doorstop and report to all interested. Those accompanied by chocolate will be tested first. :-) Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From cm_sheffield at yahoo.com Thu Aug 21 16:51:01 2003 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Aug 21 16:51:01 2003 Subject: variable watcher in 2.0.3 Message-ID: <20030821214328.54864.qmail@web20414.mail.yahoo.com> Can someone please verify this for me? I'm trying to debug a script and when I display the variable wather, the items in the vars column do not match up with the items in the values column. There is a blank line at the top of the list, and all the values seem to be shifted down one row. In other words, if I want to see the value of a certain variable, I have to select the row above it. Kind of weird. Anyone else seeing this? ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alrice at ARCplanning.com Thu Aug 21 17:03:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 21 17:03:01 2003 Subject: licensing problem? [was Re: Revolution 2.0.3 now available] Message-ID: <6434607E-D422-11D7-9499-000393529642@ARCplanning.com> On Thursday, August 21, 2003, at 02:43 PM, Heather Williams wrote: > Dear listees, > > We've now uploaded Revolution 2.0.3. This is purely a bug fix release > and > can be downloaded from the usual downloads page at: Is there a licensing problem with this release? It won't accept my license that worked fine with 2.0.2 release. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From rgould8 at aol.com Thu Aug 21 17:10:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Thu Aug 21 17:10:01 2003 Subject: delete line x in Rev 2.1B2 vs. 2.1RC1 Message-ID: <3F4541CF.6090401@aol.com> An HTML attachment was scrubbed... URL: From curry at pair.com Thu Aug 21 17:10:26 2003 From: curry at pair.com (curry) Date: Thu Aug 21 17:10:26 2003 Subject: Unique ID on Win In-Reply-To: <200308210458.AAA32144@www.runrev.com> References: <200308210458.AAA32144@www.runrev.com> Message-ID: >You could write a VBS file and launch it from Rev, but you would >probably butt heads with Norton anyway. > >You could "put the hostName()" - that might work if the host is uniquely >named and doesn't just return "localhost". > >Sorry, don't have any other ideas that don't involve shell(), Thanks anyway, Ken! This is for seeing if the software has moved to another computer. I can use a file if nothing else, but just checking if there's anything cleaner and more reliable. With all the worm flurry right now, I expect lots more people to have virus protection, and disabling a feature on their computer is a pretty major job for many end users--if they had to do that before using the software, or if they opened it right up and got a crash, then I wouldn't expect to sell much to people that have NAV. So, it seems to me that shell() is not a good bet for shareware! Curry From edgore at shinra.com Thu Aug 21 17:12:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Thu Aug 21 17:12:00 2003 Subject: variable watcher in 2.0.3 Message-ID: <200308212206.h7LM6H6T025231@shinra.com> I noticed this one had been reported yesterday while browsing bugzilla, so Rev is aware of it. >----- ------- Original Message ------- ----- >From: Chris Sheffield >To: use-revolution at lists.runrev.com >Sent: Thu, 21 Aug 2003 -0700 (PDT) 14:43:28 > >Can someone please verify this for me? > >I'm trying to debug a script and when I display the > >variable wather, the items in the vars column do >not >match up with the items in the values column. >There >is a blank line at the top of the list, and all the > >values seem to be shifted down one row. In other >words, if I want to see the value of a certain >variable, I have to select the row above it. Kind >of >weird. > >Anyone else seeing this? From rgould8 at aol.com Thu Aug 21 17:13:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Thu Aug 21 17:13:01 2003 Subject: OT: Will Panther have IE by default? Message-ID: <3F454291.3020508@aol.com> An HTML attachment was scrubbed... URL: From dsc at swcp.com Thu Aug 21 17:33:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 21 17:33:01 2003 Subject: Release Candidate 1 Available -- Special Offers End Soon In-Reply-To: Message-ID: <8B93A79F-D426-11D7-9CC3-000A9567A3E6@swcp.com> On Thursday, August 21, 2003, at 12:14 PM, Heather Williams wrote: >> I am slightly confused. I have an old-style 'Revolution Pro' licence, >> and my renewal date is in December. Is there any advantage for me in >> using/taking up any of the special offers, or should I lie low and >> say nuffin? > > Professional license holders can renew on the old terms, for $299 and > get a > year's renewal (no tech support). If you renew early, your license > will run > from the end of your existing license. You will get an Enterprise level > renewal. The ability to renew early without license period penalty is great! What do we need to do to make sure that works right? > If you want to switch to the new licensing, you can buy a new > discounted > license, but you will not then be able to switch back to the old model. I am a little confused, too. I received an email from "support" that my license was "converted" to Commercial Enterprise back on July 29. It also said, "...you are still bound by your previous license agreement." On the licensing page in the License Renewals table is this row: SBE - existing customers only | none | Renewal | $299 Does your statement above mean that Pro people can take advantage of that? Or is that an error? Is there a time limit on that? What do I miss besides support if I take the $299 option instead of the $399 renewal? I'm not very clear on my transition period privileges. (This partially because I have not been clear on my support privileges in general and I'm not sure whether I'm not exploiting those as I should or whether I'm abusing something.) Where do Pro licenses stand? Dar scott From alrice at ARCplanning.com Thu Aug 21 17:40:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 21 17:40:00 2003 Subject: OT: Will Panther have IE by default? In-Reply-To: <3F454291.3020508@aol.com> Message-ID: <889D81C9-D427-11D7-9499-000393529642@ARCplanning.com> On Thursday, August 21, 2003, at 04:07 PM, Rob Gould wrote: > I've been working on a Revolution app that controls IE on Mac OS X > using Applescript.? Can anyone tell me if the Panther OS will have IE > as part of the default install?? I realize that Safari will be the > "default" web-browser, but I just need to see if IE will at least be > available. > I wish I could answer with authority, but I am guessing it will not, because MS is discontinuing the IE for Mac. I know I wouldn't want an old, unsupported browser being distributed in a new OS. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Thu Aug 21 17:40:21 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 21 17:40:21 2003 Subject: need help! with pageHeights and pagination Message-ID: <8AE7366B-D427-11D7-9499-000393529642@ARCplanning.com> I've posted about this before, and again comes a plea for help and/or ideas. This is the only bug I still have outstanding with my print routines in my app. The problem is that field lines often get clipped between between pages in my printouts. - Please don't suggest the Report Object/Builder feature of Rev 2.0; It's useless for me and I have put in a lot of time studying it. - Please don't suggest revPrintField. This isn't a field printing issue, it is printing of a very tall group with pagination. The group hierarchy appears like this ReportPrinting stack Card 1 Report Group Section 1 Group Heading Fld Line Graphic Content Field Section 2 Group Heading Fld Line Graphic Content Field ... Section N Group The printing algorithm is just this: set the size of the ReportPrintingStack to the paper size, and move the top of the grp "Report Group" negatively off the top of the stack for each page. Consequently, any given field within the Report Group may or may not extend beyond the top or bottom of the stack. Some fields may be taller than the paper size. Those fields that extend off top or bottom of the stack usually have their lines clipped in the printout. I've tried various different ways of adjusting both the stack height and the placement of the Report Group to compensate for the top and bottom clipping of fields. Nothing seems to work so far. I've really been banging my head on this. Anything is worth a try. My last hope is to use a field's pageHeights property. Because there is no suitable field to read pageHeights from in my Report Group, I create a field on the fly, put on the card (but not in the group), set it to the loc and dimensions of Report Group, put a bunch of dummy text in it, then read the pageHeights from the field. I hope that if I scroll or move Report Group according to the pageHeights of the same sized field underneath it, then I will at least know exactly where the page boundaries will be, and possibly be able to adjust the fields being clipped. This should work, no? Unfortunately I'm not even getting to that point: any field that I read the pageHeights property from, it always seem to have bogus numbers in it. What is required to get the pageHeights to calculate correctly? The bogus pattern always seen is lines 1 to n-1 of the pageHeights will have the same number, and line n will have a different number. For example, unrelated to the printing problem above, I create a new field in the IDE, named "test". In the message box: set the text of fld "test" to the script of this stack put the pageHeights of fld "test" 182 182 ... (cut many lines) 182 56 Why is 182 repeated n-1 times? I've also tried setting the field's margins to 6 and borderwidth to 0 as mentioned in the transcript dictionary entry for pageHeights but still see the problem. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jacque at hyperactivesw.com Thu Aug 21 18:26:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Aug 21 18:26:01 2003 Subject: need help! with pageHeights and pagination In-Reply-To: <8AE7366B-D427-11D7-9499-000393529642@ARCplanning.com> References: <8AE7366B-D427-11D7-9499-000393529642@ARCplanning.com> Message-ID: <3F455377.5060500@hyperactivesw.com> On 8/21/03 5:33 PM, Alex Rice wrote: > Unfortunately I'm not even getting to that point: any field that I read > the pageHeights property from, it always seem to have bogus numbers in > it. What is required to get the pageHeights to calculate correctly? The > bogus pattern always seen is lines 1 to n-1 of the pageHeights will have > the same number, and line n will have a different number. The repeated numbers are the length of a single printed page in pixels. The last line is different because the last page is shorter. To print, set the scroll of the field to 0 and print the card. Then ADD the value of each line of the pageheights to the current scroll until you've gone through the whole list of pageheights. In other words, each line is not an absolute scroll value, but rather a value relative to the current scroll. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Aug 21 18:29:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Aug 21 18:29:01 2003 Subject: delete line x in Rev 2.1B2 vs. 2.1RC1 In-Reply-To: <3F4541CF.6090401@aol.com> References: <3F4541CF.6090401@aol.com> Message-ID: <3F45544F.7000504@hyperactivesw.com> On 8/21/03 5:03 PM, Rob Gould wrote: > In 2.1B2, it deletes the line of text, and moves the line beneath up a line, but > in 2.1RC1, it deletes the text, but leaves line beneath in it's original > position. I'm _guessing_ that the correct behavior is that the line should > empty out and the line beneath should move up a slot. Or, should I be using a > different call now to get this functionality? I'm using the Mac OS X version of > Rev 2.1RC1. I see the same thing. It's a bug. You should Bugzilla it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Thu Aug 21 18:58:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 21 18:58:00 2003 Subject: delete line x in Rev 2.1B2 vs. 2.1RC1 In-Reply-To: <3F4541CF.6090401@aol.com> Message-ID: <813629D4-D432-11D7-9CC3-000A9567A3E6@swcp.com> On Thursday, August 21, 2003, at 04:03 PM, Rob Gould wrote: > In 2.1B2, it deletes the line of text, and moves the line beneath up a > line, but in 2.1RC1, it deletes the text, but leaves line beneath in > it's original position.? I'm _guessing_ that the correct behavior is > that the line should empty out and the line beneath should move up a > slot.? Or, should I be using a different call now to get this > functionality?? It is interesting (to someone weird like me) that what we expect for 'delete line x...' is not the same as what we expect for 'put empty into line x ...'. I wonder if there is an similar change in behavior for other non-char chunks. Dar Scott From alrice at ARCplanning.com Thu Aug 21 18:59:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Thu Aug 21 18:59:00 2003 Subject: need help! with pageHeights and pagination In-Reply-To: <3F455377.5060500@hyperactivesw.com> Message-ID: <9883AA58-D432-11D7-9499-000393529642@ARCplanning.com> On Thursday, August 21, 2003, at 05:19 PM, J. Landman Gay wrote: > The repeated numbers are the length of a single printed page in > pixels. The last line is different because the last page is shorter. > To print, set the scroll of the field to 0 and print the card. Then > ADD the value of each line of the pageheights to the current scroll > until you've gone through the whole list of pageheights. > > In other words, each line is not an absolute scroll value, but rather > a value relative to the current scroll. Thank you! That's kind of obvious in retrospect. I guess I have my frustration goggles on. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From livfoss at blueyonder.co.uk Thu Aug 21 19:37:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Aug 21 19:37:01 2003 Subject: Release Candidate 1 Available -- Special Offers End Soon Message-ID: >On Thu, 21 Aug 2003 19:14:09 +0100 Heather Williams > wrote: > >Professional license holders can renew on the old terms, for $299 and get a >year's renewal (no tech support). If you renew early, your license will run >from the end of your existing license. You will get an Enterprise level >renewal. > >If you want to switch to the new licensing, you can buy a new discounted >license, but you will not then be able to switch back to the old model. > I'm ashamed to say I still don't really understand this. I have now read the descriptions on the 'Revolution Editions' page and I am still a bit fuzzy. Personally, I need to maintain the multiplatform development and deployment option as long as I can afford it. Can I just wait till December (my normal renewal date) to optimise my cash flow, and still pay $299 to renew at Enterprise level (minus tech support) or is this offer likely to be withdrawn? When I do renew, how can I get back onto a higher tech support level, supposing I'd want to? I see that Enterprise users get more tech support (10 incidents) in the first year than in subsequent years (5 incidents). So we have people with Enterprise-level licences potentially with 3 different levels of support. BTW in the 'Online Store' part of the RunRev web site (where I first looked for a definition of the different Editions), none of the terms such as 'Enterprise', 'Studio' etc are mentioned, although one can get at them indirectly via the Store Front, as suggested in the Store page. IMHO this could confuse new potential purchasers. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From erikhans08 at yahoo.com Thu Aug 21 19:46:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Aug 21 19:46:00 2003 Subject: Using strong language on the lists In-Reply-To: Message-ID: <20030822004022.78100.qmail@web20003.mail.yahoo.com> --- Mark Brownell wrote: > > On Wednesday, August 20, 2003, at 03:01 PM, > erik hansen wrote: > > > "why?" did not refer to your ironic asterix. > > Did it refer to using the asterisked expletives > that look similar to > what I earlier used and later apologized for > using on this list? no, just a general sense of wonder on my part. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From erikhans08 at yahoo.com Thu Aug 21 19:48:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Thu Aug 21 19:48:01 2003 Subject: Using strong language on the lists In-Reply-To: Message-ID: <20030822004145.27249.qmail@web20008.mail.yahoo.com> --- Magnus Hippolyte Batavia wrote: > I could not help but notice that while many > people are > going round in circles on the topic of strong > language Mr > Mathewson > has shut up and is now concentrating his mind > on > programming matters: obviously he, among > others, has got > the message. > > It might be time for everybody else to shut up > about strong > language as well and turn their attention to > the new > Release Candidate of Runtime Revolution good point, but "shut up" is worse than "sh**" ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jacque at hyperactivesw.com Thu Aug 21 20:20:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Aug 21 20:20:00 2003 Subject: delete line x in Rev 2.1B2 vs. 2.1RC1 In-Reply-To: <813629D4-D432-11D7-9CC3-000A9567A3E6@swcp.com> References: <813629D4-D432-11D7-9CC3-000A9567A3E6@swcp.com> Message-ID: <3F456E6A.1080106@hyperactivesw.com> On 8/21/03 6:52 PM, Dar Scott wrote: > It is interesting (to someone weird like me) that what we expect for > 'delete line x...' is not the same as what we expect for 'put empty into > line x ...'. I remember wondering about the same thing when I was learning HyperCard. It makes sense in its own way. Removing a line takes away the whole thing including the carriage return. Putting empty into a line replaces the contents of the line with nothing, but the line has not been removed. The line is still there, just with nothing in it. Sort of, I think, like zero is a number even though it doesn't contain any amount. > I wonder if there is an similar change in behavior for other non-char chunks. Aren't all chunks comprised of characters by definition? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From yvescoppe at skynet.be Thu Aug 21 20:23:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu Aug 21 20:23:01 2003 Subject: mainstack-substack Message-ID: Hi list Rev 2.0.2 Mac OS X 10.2.6 I have a mainstack "A" with many substacks (A1,A2,A3,A4,...) I have another mainstack "B" without substacks How can I make mainStack "B" a substack of mainStack "A" Bien cordialement. Yves COPPE yvescoppe at skynet.be From dsc at swcp.com Thu Aug 21 20:33:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 21 20:33:00 2003 Subject: delete line x in Rev 2.1B2 vs. 2.1RC1 In-Reply-To: <3F456E6A.1080106@hyperactivesw.com> Message-ID: On Thursday, August 21, 2003, at 07:14 PM, J. Landman Gay wrote: >> I wonder if there is an similar change in behavior for other non-char >> chunks. > > Aren't all chunks comprised of characters by definition? I never learned to write. I mean chunks other than characters such as words and items and maybe even more exotic things I have forgotten about. Dar Scott From monte at sweattechnologies.com Thu Aug 21 20:37:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 21 20:37:01 2003 Subject: mainstack-substack In-Reply-To: Message-ID: > > Hi list > > > Rev 2.0.2 > Mac OS X 10.2.6 > > I have a mainstack "A" with many substacks (A1,A2,A3,A4,...) > > I have another mainstack "B" without substacks > > > How can I make mainStack "B" a substack of mainStack "A" > > Bien cordialement. > Yves COPPE > > yvescoppe at skynet.be > Set the mainstack of stack B to A Cheers Monte From joel at alpsgiken.gr.jp Thu Aug 21 20:55:00 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Thu Aug 21 20:55:00 2003 Subject: stacks that make stacks Message-ID: <20030822104524.A6E4.JOEL@alpsgiken.gr.jp> A customer has brought us an old training stack that they want moved from Hypercard to something that runs on MSWindows, and I just noticed that the grading function produces stacks, not files. And then I clicked on one of those stacks yesterday, and the grade results stacks multiplied like rabbits. I'm not sure whether the customer really cares whether the grade stacks can also reproduce, but they will probably want the training stack to produce at least one complete set of grades stacks. I know I've read something on this somewhere, but can Revolution can make stacks that make stacks? And, if it can, does distributing a stack that makes a stack induce licensing issues? -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp From jacque at hyperactivesw.com Thu Aug 21 21:04:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Aug 21 21:04:00 2003 Subject: delete line x in Rev 2.1B2 vs. 2.1RC1 In-Reply-To: References: Message-ID: <3F457884.1020700@hyperactivesw.com> On 8/21/03 8:26 PM, Dar Scott wrote: > > On Thursday, August 21, 2003, at 07:14 PM, J. Landman Gay wrote: > >>> I wonder if there is an similar change in behavior for other non-char >>> chunks. >> >> Aren't all chunks comprised of characters by definition? > > I never learned to write. I mean chunks other than characters such as > words and items and maybe even more exotic things I have forgotten about. Or I never learned to read. I see what you mean. "Put empty into" removes the contents of the chunk. If that is a character or a word, removing the contents effectively deletes it too. But if there is a delimiter, like a comma or return, putting empty into the chunk removes the contents, but leaves the delimiter. Only deleting the chunk removes the delimiter too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Thu Aug 21 21:15:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 21 21:15:00 2003 Subject: stacks that make stacks In-Reply-To: <20030822104524.A6E4.JOEL@alpsgiken.gr.jp> Message-ID: > > A customer has brought us an old training stack that they want moved > from Hypercard to something that runs on MSWindows, and I just noticed > that the grading function produces stacks, not files. And then I clicked > on one of those stacks yesterday, and the grade results stacks > multiplied like rabbits. I'm not sure whether the customer really cares > whether the grade stacks can also reproduce, but they will probably want > the training stack to produce at least one complete set of grades stacks. > > I know I've read something on this somewhere, but can Revolution can > make stacks that make stacks? yes > > And, if it can, does distributing a stack that makes a stack induce > licensing issues? no Check out create and clone commands. If it's just data storage then you might want: create invisible stack "MyStack" save stack "MyStack" as "MyStack.rev" Note you can also create a custom file type and extenstion just for your app if you want the user to doubleclick these files on the desktop. Cheers Monte > > -- > Joel Rees, programmer, Systems Group > Altech Corporation (Alpsgiken), Osaka, Japan > http://www.alpsgiken.co.jp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Thu Aug 21 21:32:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 21 21:32:01 2003 Subject: News from Mac OSX - Mysterious Serial Port In-Reply-To: Message-ID: On Thursday, August 21, 2003, at 01:35 PM, R. Hillen wrote: > On my Mac G4 I use the GPort from GriffinTechnologies, which replaces > the build in modem. > To read the sent serial data I used a Windows Hyperterminal running on > a Win-Laptop. > I typed "1234567890" and got two garbage chars > I again typed "1234567890" and got two garbage chars > I again typed "1234567890" and got about 12 garbage chars. > I typed "1234567890123456789012345678901234567890 1234567890" and got: > "12345678901234567890123456789012345678901234567890", followed by > NewLine. OK. My curiosity got the better of me. I looked at the Griffin Technology web site. The gPort seems to have a classic DIN serial port. Is that what you have? Or am I looking at the wrong thing? This is not RS-232. However, it is normally possible to wire it to a Windows Laptop RS-232 port so that it will (barely) communicate, however. How do you have that wired? It is also possible to make a loop-back circuit so that you can read what you write. You might even still be able to buy one. If you have any old Mac serial cables, you can make one from that. I can provide a stack that will help in testing that. You might have an old modem in your junk box that takes the levels from the classic Mac serial port. You can try talking to that. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Thu Aug 21 22:06:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 21 22:06:01 2003 Subject: News from Mac OSX - Mysterious Serial Port In-Reply-To: Message-ID: There is something I didn't catch. On Thursday, August 21, 2003, at 01:35 PM, R. Hillen wrote: > write fld SendField & linefeed & return to driver drivername wait 2 seconds > close driver drivername The write is nonblocking. It will return right away and the actual transmission will take place as the script continues. Without the change the close could be prematurely stopping transmission. The close might even do more. Don't close until the write is finished transmitting. This is usually not a problem in equipment dialog because you wait for the response. If you transmit without a response, then you might need to put a delay in somewhere, maybe even a smart one. Dar Scott From sarahr at genesearch.com.au Thu Aug 21 22:16:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 21 22:16:00 2003 Subject: News from Mac OSX - Mysterious Serial Port In-Reply-To: Message-ID: Hi Dar, I'd like to try making one of these loop-back circuits. I'm pretty neat with a soldering iron, but I'm not sure how to proceed. I guess I just need the join the Tx pins to the Rx pins but which pins are they? How did you do it? Cheers, Sarah On Friday, August 22, 2003, at 12:29 pm, Dar Scott wrote: > > It is also possible to make a loop-back circuit so that you can read > what you write. You might even still be able to buy one. If you have > any old Mac serial cables, you can make one from that. From kkaufman at snet.net Thu Aug 21 22:25:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Aug 21 22:25:01 2003 Subject: playing an Mp3 from Rev Message-ID: <7EFB38B4-D44F-11D7-B725-0003936D1F12@snet.net> "...can anyone recommend me a different audio file type that is not so memory-eating but that Revolution handles as well as Mp3s?..." If you do not need stereo sound, you can get decent sound quality at about .7 MB per minute by using the following settings: IMA 4:1 (that's AIFF-C, I think) at 22.050 kHz, mono, 16-bit Using the above settings in stereo will of course take up more disk space. "...also, how does one edit sounds in Revolution, like control the volume, etc? Or even record and edit sounds like we used to be able to do in Hypercard... is that possible with Revolution?..." See the documentation entries for, among others: record sound playLoudness recordLoudness (there's your "VU" meter) I don't know if it is possible to edit a sound file from within Revolution. If the showSelection property of a player is true, you can easily manually select a portion of the file to play. Or you can also specify a startTime and endTime in your script. So, you could keep the sound file in its original state, but play various segments in whatever order you please by setting and resetting the startTime and endTime. I don't recall seeing QT-Pro style selection markers on the Revolution QT-player controllers (gasp!). Of course, you could edit the sound file as binary data (double-gasp!....just joking; I don't suppose that is very practical). -Kurt From sarahr at genesearch.com.au Thu Aug 21 22:29:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 21 22:29:00 2003 Subject: Scenario In-Reply-To: <6F75CB3E-D34C-11D7-A7B9-00306576108C@hotmail.com> Message-ID: <878C7461-D44F-11D7-A5B3-0003937A97B8@genesearch.com.au> MySQL comes as part of OS X Server, so I would recommend using Rev to access that. Sarah On Thursday, August 21, 2003, at 06:36 am, Javier Miranda V. wrote: > Dear friends: > I have the following scenario. What would you do?: > I have been comissioned to administer a MacOS X Server (and set-up > it), it will support the intranet, a web-portal, publish databases and > somehow aid in the collaborative production of some consulting work > that will be done by groups of persons. > My first thought was to use FileMaker as the database and some weblog > software to run the collaborative part and maybe the portal (I am > taking a close look to pmachine the sw the people at revjournal are > using). > Now I have begin to wonder where RR can be used, I'm sure there are > things RR can handle with efficiency and ease of use. > Any ideas? > > Saludos, > > Javier > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From stephenREVOLUTION at barncard.com Thu Aug 21 23:02:00 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Thu Aug 21 23:02:00 2003 Subject: News from Mac OSX - Mysterious Serial Port Message-ID: All you want to know about MAC serial ports: http://francis.courtois.free.fr/jc1/serial/main.html >Hi Dar, > >I'd like to try making one of these loop-back circuits. I'm pretty >neat with a soldering iron, but I'm not sure how to proceed. I guess >I just need the join the Tx pins to the Rx pins but which pins are >they? How did you do it? > >Cheers, >Sarah > >On Friday, August 22, 2003, at 12:29 pm, Dar Scott wrote: >> >>It is also possible to make a loop-back circuit so that you can >>read what you write. You might even still be able to buy one. If >>you have any old Mac serial cables, you can make one from that. From dsc at swcp.com Thu Aug 21 23:02:28 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 21 23:02:28 2003 Subject: News from Mac OSX - Mysterious Serial Port In-Reply-To: Message-ID: <7C72641E-D454-11D7-9CC3-000A9567A3E6@swcp.com> On Thursday, August 21, 2003, at 09:09 PM, Sarah wrote: > I'd like to try making one of these loop-back circuits. I'm pretty > neat with a soldering iron, but I'm not sure how to proceed. I guess I > just need the join the Tx pins to the Rx pins but which pins are they? > How did you do it? For the classic Mac serial DIN RS-422 connector? Or DB-9 or DB25 RS-232? Dar Scott From sarahr at genesearch.com.au Thu Aug 21 23:18:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 21 23:18:01 2003 Subject: News from Mac OSX - Mysterious Serial Port In-Reply-To: <7C72641E-D454-11D7-9CC3-000A9567A3E6@swcp.com> Message-ID: <555B9998-D456-11D7-A5B3-0003937A97B8@genesearch.com.au> Both Mac DIN plugs and DB-9, but the link Stephen sent may provide all the info - I haven't checked it out yet. Thanks, Sarah On Friday, August 22, 2003, at 01:59 pm, Dar Scott wrote: > > On Thursday, August 21, 2003, at 09:09 PM, Sarah wrote: > >> I'd like to try making one of these loop-back circuits. I'm pretty >> neat with a soldering iron, but I'm not sure how to proceed. I guess >> I just need the join the Tx pins to the Rx pins but which pins are >> they? How did you do it? > > For the classic Mac serial DIN RS-422 connector? > > Or DB-9 or DB25 RS-232? > > Dar Scott > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From dsc at swcp.com Thu Aug 21 23:33:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 21 23:33:00 2003 Subject: News from Mac OSX - Mysterious Serial Port In-Reply-To: Message-ID: On Thursday, August 21, 2003, at 09:09 PM, Sarah wrote: > I'd like to try making one of these loop-back circuits. I'm pretty > neat with a soldering iron, but I'm not sure how to proceed. I guess I > just need the join the Tx pins to the Rx pins but which pins are they? > How did you do it? I don't know why I asked which one. On DB9 and DB25, if you don't need handshaking, just connect pin 2 to pin 3. If you need handshaking on DB9, connect 7 to 8, and pin 4 to 6 and 1. If you need handshaking on DB25, uh, I forgot--I can look it up. On the Mac DIN, you get an old mac serial cable and cut it. Strip the wires. Find those that go to certain pins and then solder or connect together like this: Pin 3 to 5 Pin 6 to 8 This takes two because the signal is on two wires and not one. If you need handshaking, try 1 to 2. I have not done that. If you blow something up, uh, somehow it is not my fault. There are lots of web pages that have info on this; double check with those. Dar Scott From michael-kristensen at dsa-net.dk Fri Aug 22 01:46:00 2003 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Fri Aug 22 01:46:00 2003 Subject: OT: Will Panther have IE by default? In-Reply-To: <200308212351.TAA04825@www.runrev.com> Message-ID: <516EA5EE-D46B-11D7-9E14-0050E405EA7D@dsa-net.dk> fredag 22. aug 2003 kl. 01:51 skrev use-revolution-request at lists.runrev.com: > OT: Will Panther have IE by default? IE will be there in the Application Folder, but it will not be the default browser. Kind regards Michael Kristensen From rodneytamblyn at paradise.net.nz Fri Aug 22 02:11:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Fri Aug 22 02:11:01 2003 Subject: HTTPProxy - authenticated proxy servers supported? Message-ID: <42E7E21F-D46F-11D7-BBB6-003065F97100@paradise.net.nz> Dave, On re-reading your post I see you did refer to the Proxy-Authentication: Basic point, just not in the script example you gave to illustrate it... :-) R. -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From gcanyon at inspiredlogic.com Fri Aug 22 02:35:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Aug 22 02:35:00 2003 Subject: Stacks in Motion In-Reply-To: Message-ID: <59F0D464-D472-11D7-BC11-003065683ECC@inspiredlogic.com> On Thursday, August 21, 2003, at 01:01 AM, Mathewson wrote: > I had a slightly daft idea for a children's game using > moving substacks...... however there seem to be one or 2 > problems..... > > I have put 'BOUNCER' at the top of my list of files on my > website and would be grateful for any feedback. First, I've written a stack that does very nearly what you appear to be heading towards. It's complete, but not in my hands at the moment. I believe it will be available shortly. That said, (at least) two things are stopping you at present. First, you hard-coded the stack name in the script, so if you have two stacks open, one of them is working as you intended, while the other is just sitting there and trying to move the first one. Fix: change the code to read "move this stack" Second, your code is in a repeat loop. This doesn't give any time to anything else, not even another stack running the same greedy loop. Fix: change the code to issue the move command and then exit. Put a moveStopped handler in place to set up a new move command when the stack stops. regards, Geoff Canyon gcanyon at inspiredlogic.com From richmond at mail.maclaunch.com Fri Aug 22 03:28:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Aug 22 03:28:00 2003 Subject: Stacks in Motion Message-ID: Bouncer.rev.bin That's very queer.....I zipped a file on Mac OS X: i.e. straight from Bouncer.rev to Bouncer.rev.bin Will have a look at it after lunch and see if I made a goofy mistake......entirely possible. Will post details after lunch. Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From richmond at mail.maclaunch.com Fri Aug 22 03:33:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Aug 22 03:33:00 2003 Subject: mainstack-substack Message-ID: Download my "mainstacker" from the RunRev user contributions page....dead easy! Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From andre.rombauts at win.be Fri Aug 22 04:08:00 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Fri Aug 22 04:08:00 2003 Subject: Will Panther have IE by default? References: <3F454291.3020508@aol.com> Message-ID: <003401c3688b$ffcfd7e0$681a4b0a@piran> MS has stopped IE development for MAC... ----- Original Message ----- From: Rob Gould To: use-revolution use-revolution Sent: Friday, August 22, 2003 12:07 AM Subject: OT: Will Panther have IE by default? I've been working on a Revolution app that controls IE on Mac OS X using Applescript. Can anyone tell me if the Panther OS will have IE as part of the default install? I realize that Safari will be the "default" web-browser, but I just need to see if IE will at least be available. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -------------- next part -------------- An HTML attachment was scrubbed... URL: From richmond at mail.maclaunch.com Fri Aug 22 04:16:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Aug 22 04:16:01 2003 Subject: Stacks in motion - correction Message-ID: Awfully sorry: had set my ZIP prog to do a 'Mac-BIN': new version of BOUNCER.rev (2 diff. variants included) now on my website. Sorry for inconvenience caused. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From wmb at internettrainer.com Fri Aug 22 04:16:56 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Aug 22 04:16:56 2003 Subject: Linux double click In-Reply-To: <878C7461-D44F-11D7-A5B3-0003937A97B8@genesearch.com.au> Message-ID: <41B59A22-D46F-11D7-B0F0-003065430226@internettrainer.com> Hello list, I have builded a Linux app (SUSE 8.1 distribution) with rev and thought that it will run on double click (of the main stack) like OSX and WIN does. But Suse does ask me with what App I would like to open this file...? Is that a problem of my Linux ignorance, a missing file extension or a rev build problem...? What i am missing ? Thanks for any tips... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From preid at reidit.co.uk Fri Aug 22 04:36:01 2003 From: preid at reidit.co.uk (Peter Reid) Date: Fri Aug 22 04:36:01 2003 Subject: Will Panther have IE by default? In-Reply-To: <003401c3688b$ffcfd7e0$681a4b0a@piran> References: <3F454291.3020508@aol.com> <003401c3688b$ffcfd7e0$681a4b0a@piran> Message-ID: MS has also stopped developing IE for Windows as a standalone application. All new developments will be as part of an integrated browser feature in the next generation versions of Windows. MS will not issue any new installers for IE beyond IE 6 SP1 for Windows - existing Windows (98, 98SE, ME, NT, 2000, XP) users will not get any newer version either!! So Mac users aren't being treated any differently by comparison to users of any existing version of Windows, only by comparison to users of new (unavailable as yet) versions of Windows! Peter PS please stop sending styled e-mail to the list (in OS X Mail: "Fonts & Colors" prefs panel, turn on "Use fixed-width font for plain text messages" and in "Composing" prefs, set format to "Plain Text") >MS has stopped IE development for MAC... > >----- Original Message ----- >From: Rob Gould >To: use-revolution use-revolution >Sent: Friday, August 22, 2003 12:07 AM >Subject: OT: Will Panther have IE by default? > >I've been working on a Revolution app that controls IE on Mac OS X >using Applescript. Can anyone tell me if the Panther OS will have >IE as part of the default install? I realize that Safari will be >the "default" web-browser, but I just need to see if IE will at >least be available. -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From mazzapaolo at libero.it Fri Aug 22 05:04:01 2003 From: mazzapaolo at libero.it (mazzapaolo) Date: Fri Aug 22 05:04:01 2003 Subject: image pasting In-Reply-To: Message-ID: <51C25F36-D487-11D7-8C49-000393680A94@libero.it> You wrote: > Where are you getting the images in the clipboard from? Are you copying > from another application, or from another stack? If it is from another > stack, there are other ways to move the images. I'm copying them from Claris Works When I get images from the clipboard i loose transparency. (Also copying and pasting in Revolution) Is it a bug of Rev 2.1 , is it a limitation of the program or am I missing something? Thanks, Paolo Mercoled?, 20 Ago 2003, alle 00:02 Europe/Rome, Andrew ha scritto: > Much thanks for being in contact with me about image problems! > >> set the width of img 1 to the formattedWidth of img 1 >> set the height of img 1 to the formattedHeight of img 1 > > Okay, I put this script into the Mouseup handler of a btn on my card, > and edited the script to say img "" instead of "1" > However, it doesn't do anything when I click the button. What gives? > :) >> >>> Secondly, I'm still having a lot of trouble getting my second image >>> to >>> paste separate from the first image. I shrink the first image and >>> move >>> it over to one side of the card. Then I click elsewhere on the card >>> (so >>> the first image is not selected) and paste my second image. Still, >>> the >>> second image appears right on top of the first one, no matter where >>> the >>> first one is located on the screen. >> >> Where are you getting the images in the clipboard from? Are you >> copying >> from another application, or from another stack? If it is from another >> stack, there are other ways to move the images. > I'm copying them from Claris Works >> >> Also, are you sure that the second image is actually going into the >> first one, or is is just getting laid on top? If it is just on top, >> then >> resizing it should work. > I'm sure that it is going into the first one. It pastes on top of the > first image no matter where the first image is on the screen. After I > paste it, when I click on it and move it, both images move together as > if they were one image (assuming that the second one is smaller and I > can still see the first image "behind" it). > > Thanks again for your help. I'm very appreciative > Andrew > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From claus at dreischer.de Fri Aug 22 05:40:00 2003 From: claus at dreischer.de (claus at dreischer.de) Date: Fri Aug 22 05:40:00 2003 Subject: AW: Linux double click Message-ID: <20030822103312.71371880C@voodoo.strato-webmail.de> > Hello list, > I have builded a Linux app (SUSE 8.1 distribution) with rev and thought > that it will run on double click (of the main stack) like OSX and WIN > does. But Suse does ask me with what App I would like to open this > file...? > Is that a problem of my Linux ignorance, a missing file extension or a > rev build problem...? > What i am missing ? > > Thanks for any tips... Hi Wolfgang, wild guess: set the execute permissions to that file. The OS does not know, that your file is to be executed. do a "chmod 755 XXX" in the console, with XXX is your filename. This will make it readable and executable for anybody. You cann tweek this permissions: first number is for the owner of the file, second is for the group he is in, last number is for anybody. The number itself is: 1 for execute 2 for write 4 for read permissions. So the "755" in the example above means: Owner (you :) can execute (1) + write (2) + read (4) = 7 that file anybody can execute (1) + read (4) = 5 that file. Regards, Claus. From mpetrides at earthlink.net Fri Aug 22 05:52:00 2003 From: mpetrides at earthlink.net (Marian Petrides) Date: Fri Aug 22 05:52:00 2003 Subject: Manuals - when available? In-Reply-To: <20030821210110.37707.qmail@web20421.mail.yahoo.com> Message-ID: Does anyone know when manuals for version 2 will become available for those of us who ordered them along with our registration renewal? Also, will there be different manuals for v 2.1? If so, which ones will be shipped? Marian From stephenIC at barncard.com Fri Aug 22 07:53:01 2003 From: stephenIC at barncard.com (Stephen Quinn Barncard) Date: Fri Aug 22 07:53:01 2003 Subject: News from Mac OSX - Mysterious Serial Port Message-ID: All you want to know about MAC serial ports: http://francis.courtois.free.fr/jc1/serial/main.html >Hi Dar, > >I'd like to try making one of these loop-back circuits. I'm pretty >neat with a soldering iron, but I'm not sure how to proceed. I guess >I just need the join the Tx pins to the Rx pins but which pins are >they? How did you do it? > >Cheers, >Sarah > >On Friday, August 22, 2003, at 12:29 pm, Dar Scott wrote: >> >>It is also possible to make a loop-back circuit so that you can >>read what you write. You might even still be able to buy one. If >>you have any old Mac serial cables, you can make one from that. > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From rodney_tamblyn at yahoo.com Fri Aug 22 07:53:33 2003 From: rodney_tamblyn at yahoo.com (Rodney Tamblyn) Date: Fri Aug 22 07:53:33 2003 Subject: HTTPProxy - authenticated proxy servers supported? In-Reply-To: Message-ID: Dave, Thanks for your post, and for encouraging me to look into this further. I've now go it working. One small but vital correction to your posting - you need to add the word "basic" to the header string: Proxy-Authorization: Basic I also found it useful to have a look at the data going between my computer and the web server. To do this, on OSX and other Unix boxes, you can use tcpflow A typical syntax (use tcpflow -h for help, or man tcpflow) tcpflow -c ip host my.interestingdomainhere.com You can download tcpflow from http://www.circlemud.org/~jelson/software/tcpflow/tcpflow.1.html Regards, Rodney On Thursday, August 21, 2003, at 09:33 PM, Dave Cragg wrote: > At 1:29 pm +1200 21/8/03, Rodney Tamblyn wrote: >> It appears that authenticated proxy servers are not supported in >> Metacard/Revolution. Please tell me I am wrong. > > You're kind of wrong. :) > > If you know in advance that proxy authentication is required, you need > to set the httpHeaders appropriately. The header should look something > like this: > > Proxy-Authorization: > > What you need to put in place of depends on the authentication > scheme being used. If it's the Basic authorization scheme, then the > header will look like this: > > Proxy-Authorization: Basic > > where the base64-encoded string is a base64 encoding of the user ID, a > colon, and the password. So: > > put into tID > put into tPass > put base64Encode(tID & ":" & tPass) into tString > set the httpHeaders to "Proxy-Authorization:" && tString > > If another scheme is used (digest, kerberos, etc.) you have more work > to do. (But I think someone once posted a way of handling Digest > authorization on one of the Rev or MC lists. So a look through the > archives might help.) > > There is information on the Digest and Basic schemes here: > > > > If you don't know in advance whether proxy-authenitication is > required, you can find out by getting the result of an http url call. > It should return "error 407 " followed by a text description. In that > case, you'll then have to find a "Proxy-authenicate" field in the > headers returned by the proxy server. You can get the headers by using > the libUrlLastRhHeaders() function. > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From helloc66 at hotmail.com Fri Aug 22 08:22:00 2003 From: helloc66 at hotmail.com (Jeremy Smith) Date: Fri Aug 22 08:22:00 2003 Subject: ListBrowser Message-ID: Just give a big hollo to everyone, after being away from Metacard since 2.2 release (went on to C++) I needed a better and easier interface to program a new education program and so upon searching for good old metacard I was quite shocked to find Revolution (still in beta from what I remembered back then).... Excellent work to the team btw, there's so much improved I am sure it will keep me busy for months... Now I have been looking around the list for awhile and amazed to find no one has created a List Browser in Revolution... So I thought I might be missing something and see if you guys can point me in the right direction, as this web browser of the list is really not effiecent or stylish :) If no one has done one, would you guys be interested in a Rev stack that you can keep in the background to get the lastest List updates, post/read the list without needing to load the web browser?? Im sure it can be done, and keeping it open source for the list so that anyone can contribute to its development... Cheers Jeremy. _________________________________________________________________ ninemsn Extra Storage is now available. Get larger attachments - send/receive up to 3MB attachments (up to three times more per e-mail). Click here http://join.msn.com/ From heather at runrev.com Fri Aug 22 08:27:00 2003 From: heather at runrev.com (Heather Williams) Date: Fri Aug 22 08:27:00 2003 Subject: 2.0.3 release info Message-ID: Just a follow up on last nights post. The 2.0.3 release has the following items addressed since 2.0.2: *Fixed issues with revdb external library *Fixed issues with revxml external library *Fixed aspects of the user interface including libraries, menu bars, distribution builder and application overview *Stability improvements. *Fixed several other minor technical issues with version 2.0.2 Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From stephenREVOLUTION at barncard.com Fri Aug 22 08:32:00 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Fri Aug 22 08:32:00 2003 Subject: News from Mac OSX - Mysterious Serial Port Message-ID: Rather than destroy a cable or mess with those horrible mini-dins, I would use a mini-din to DB-9 adaptor (still available), then wire a DB-9 Female (or male, i forgot). Those adaptors were originally made for the 128k mac, but for some reason are still around. My first Hypercard project was a control system for up to 156 cassette decks run by a little Mac SE (later a IIci) back in 1989 at A&M Studios. The only way to do that was to use the serial port at the mac end and a CY232 chip from Cybernetics at the hardware end. I got serial XCMDs off of Genie and other BBs, and eventually used Hyperbasic and Compilit to speed things up... Another mac in the room drove a printer system to make the cassette labels -- 6 Epson impact printers with buffers and switching. What a trip that was. It took a lot of delays and trickery to get those damn ports to work right. I also designed all the analog and digital hardware and scanning concept. http://barncard.com/amstudios/htdoc/Pages/TC.html > >I don't know why I asked which one. > >On DB9 and DB25, if you don't need handshaking, just connect pin 2 >to pin 3. If you need handshaking on DB9, connect 7 to 8, and pin 4 >to 6 and 1. If you need handshaking on DB25, uh, I forgot--I can >look it up. > >On the Mac DIN, you get an old mac serial cable and cut it. Strip >the wires. Find those that go to certain pins and then solder or >connect together like this: > >Pin 3 to 5 >Pin 6 to 8 > >This takes two because the signal is on two wires and not one. > >If you need handshaking, try 1 to 2. I have not done that. > >If you blow something up, uh, somehow it is not my fault. There are >lots of web pages that have info on this; double check with those. > >Dar Scott > > > > > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From richmond at mail.maclaunch.com Fri Aug 22 08:40:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Aug 22 08:40:01 2003 Subject: 2.0.3 release info: undocumented feature Message-ID: The 2.0.3 release implements Runtime Revolution's new licensing policy; i.e. it will not allow the free 10-line version unlike 2.0.2 Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From castor at brevet.nu Fri Aug 22 08:41:01 2003 From: castor at brevet.nu (=?ISO-8859-1?Q?Benny_Fr=F6din?=) Date: Fri Aug 22 08:41:01 2003 Subject: Drawer in 2.1c Message-ID: <6A6CDD22-D4A5-11D7-9071-000A95A0CDE6@brevet.nu> Hi! When I open the New drawer thing its size decrease for each time I open the drawer Why?? BF From bvg at mac.com Fri Aug 22 08:50:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri Aug 22 08:50:00 2003 Subject: ListBrowser In-Reply-To: Message-ID: <918968E7-D4A6-11D7-B0A0-003065AD94A4@mac.com> I don't know what you mean by "this web browser", but there are some different ways of reading the archive: there's a good search engine at: http://mindlube.com/cgi-bin/search-use-rev.cgi Also during a 24 hour project I did a list reader. Its the last one in this list: http://revolutionboard.de/bvg/subindexes/stacks-2.html alternatively you could do a site search at google using the archive url: http://lists.runrev.com/pipermail/use-revolution/ However if you are still not pleased with these solutions, then go ahead and make your listbrowser. I will certainly check it out. greetings Bjoernke von Gierke On Freitag, Aug 22, 2003, at 15:15 Europe/Zurich, Jeremy Smith wrote: > Just give a big hollo to everyone, after being away from Metacard > since 2.2 release (went on to C++) I needed a better and easier > interface to program a new education program and so upon searching for > good old metacard I was quite shocked to find Revolution (still in > beta from what I remembered back then).... Excellent work to the team > btw, there's so much improved I am sure it will keep me busy for > months... > > Now I have been looking around the list for awhile and amazed to find > no one has created a List Browser in Revolution... So I thought I > might be missing something and see if you guys can point me in the > right direction, as this web browser of the list is really not > effiecent or stylish :) > > If no one has done one, would you guys be interested in a Rev stack > that you can keep in the background to get the lastest List updates, > post/read the list without needing to load the web browser?? Im sure > it can be done, and keeping it open source for the list so that anyone > can contribute to its development... > > Cheers > Jeremy. > > _________________________________________________________________ > ninemsn Extra Storage is now available. Get larger attachments - > send/receive up to 3MB attachments (up to three times more per > e-mail). Click here http://join.msn.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Fri Aug 22 09:15:01 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Aug 22 09:15:01 2003 Subject: Drawer in 2.1c In-Reply-To: <6A6CDD22-D4A5-11D7-9071-000A95A0CDE6@brevet.nu> Message-ID: <17B96AFC-D4AA-11D7-B24F-000A27B49A96@major-k.de> Hi Benny, > Hi! > When I open the New drawer thing its size decrease for > each time I open the drawer > Why?? Try setting the drawer-stack to NOT resizable and see if it helps... Worked for me in V 2.1b3... > BF Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From cteno4 at earthlink.net Fri Aug 22 09:25:00 2003 From: cteno4 at earthlink.net (cteno4) Date: Fri Aug 22 09:25:00 2003 Subject: News from Mac OSX - Mysterious Serial Port Message-ID: <200308221324.JAA26753@www.runrev.com> the easiest way to futz with serial port connections is to go to radio shack (or beter yet the local electronics store) and buy a bag of the little crimp on male and female pins (for the serial connectors that use these, you connect your wire then push it into the connector housing in the proper pin hole). then make some lenghts of 24g wire with the proper male or female pins on each end. then you can stick them into the holes/pins on each piece of equipment in different configurations untill you get communication. just make sure they dont short out on each other. they usually plug in tight and dont, but if you want to be sure on this, paint the outside of the female pins and the top (non plug end) of the male pins with fingernail polish or use a little piece of heat shrink. i usually just plug away and just make sure there is no strain on the wires which could ever pull two of the crimpons togeather. once you have the proper pins connected up you can note the config and either build good cables or just pop the pins into the connector housings and go with your 'bread boarded' wires. works wonders. much better than trying to use one of those breakout boxes and futzing with adaptors (some of which do crossovers on you and dont note it...). I have gotten good serial communications going on the old mac ports with all sorts of stuff w/o handshaking, just ground and snd/rcv. best of luck, jeff Jeffrey H. Reynolds, Ph.D. 6620 Michaels Dr. Bethesda, MD 20817 301.469.8562 email: cteno4 at earthlink.net cteno4 at aol.com From richmond at mail.maclaunch.com Fri Aug 22 09:30:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Aug 22 09:30:00 2003 Subject: List Browser Message-ID: Bjoernke! I think you list browser is very nice except for one thing...the English....so here is your text corrected so that everything will be perfect: This stack was made and bulished within 24 hours. The autor (Bj?rnke von Gierke) did also attend a Party (4 h), he eat (1/2h) and slept (10h) during that time. The stack is a simple hirarchically viewer for the use-revolution mailing list. To use it, enter your pop server and your login information. Then click the "Connect blocking" button and wait while all relevant messages get downloaded. it takes ca. half a minute for 20 messages. All messages will remain on your server for later download from your normal mail client. After downloading you may click the "viewer" button to see the mails listed in the order you recieved them. Also check out the database to see what information is stored for each mail. Inspect the scripts too and if you make improvements to the stack PLEASE mail me a copy, so that I can upload it to let others benefit too! (bvg AT mac.com). I originally intended to make this non-blocking, but I never got it to work corrrectly in that manner. WARNING: if you have lots of mail on your pop account (for example if you leave all messages always stored on the server) then connecting will use lots and lots of time. Hope you don't mind; I will put a link to your site on mine! Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From richmond at mail.maclaunch.com Fri Aug 22 09:40:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Aug 22 09:40:00 2003 Subject: List Browser: correction Message-ID: Sorry about that !!!! Here is the corrected text: This stack was made and published within 24 hours. The author (Bj?rnke von Gierke) did also attend a Party (4 h), he ate (1/2h) and slept (10h) during that time. The stack is a simple heirarchical viewer for the use-revolution mailing list. To use it, enter your pop server and your login information. Then click the "Connect blocking" button and wait while all relevant messages get downloaded. it takes about half a minute for 20 messages. All messages will remain on your server for later download from your normal mail client. After downloading you may click the "viewer" button to see the mails listed in the order you received them. Also check out the database to see what information is stored for each mail. Inspect the scripts too and if you make improvements to the stack PLEASE mail me a copy, so that I can upload it to let others benefit too! (bvg AT mac.com). I originally intended to make this non-blocking, but I never got it to work correctly in that manner. WARNING: if you have lots of mail on your pop account (for example if you leave all messages always stored on the server) then connecting will use lots and lots of time Love, Richmond PS: I had a real problem reading the Dark Green writing on your Grey background.....try white lettering. __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From heather at runrev.com Fri Aug 22 09:42:00 2003 From: heather at runrev.com (Heather Williams) Date: Fri Aug 22 09:42:00 2003 Subject: licensing problem? [was Re: Revolution 2.0.3 now available] In-Reply-To: <200308212351.TAA04810@www.runrev.com> Message-ID: > > Is there a licensing problem with this release? It won't accept my > license that worked fine with 2.0.2 release. Not that I know of... yet :) Anybody else seeing this? If not, Alex could you write me off list and we'll figure out what's wrong, Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From heather at runrev.com Fri Aug 22 09:42:25 2003 From: heather at runrev.com (Heather Williams) Date: Fri Aug 22 09:42:25 2003 Subject: Release Candidate 1 Available -- Special Offers End Soon In-Reply-To: <200308212351.TAA04810@www.runrev.com> Message-ID: > Message: 7 > Date: Thu, 21 Aug 2003 16:26:44 -0600 > Subject: Re: Release Candidate 1 Available -- Special Offers End Soon > From: Dar Scott > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Thursday, August 21, 2003, at 12:14 PM, Heather Williams wrote: Dar: > > The ability to renew early without license period penalty is great! > What do we need to do to make sure that works right? Well, you shouldn't have to do anything, since I will have your record, look up when you expire (er, I mean your license, goodness, don't want any valuable customers expiring) and generate your new license to run from the end of the old one. If you want to be doubly sure I don't miss the fact that you still have time on your old license, drop me an email when you order. > >> If you want to switch to the new licensing, you can buy a new >> discounted >> license, but you will not then be able to switch back to the old model. > > I am a little confused, too. > > I received an email from "support" that my license was "converted" to > Commercial Enterprise back on July 29. It also said, "...you are still > bound by your previous license agreement." > > > On the licensing page in the License Renewals table is this row: > > SBE - existing customers only | none | Renewal | $299 > > Does your statement above mean that Pro people can take advantage of > that? Or is that an error? Is there a time limit on that? What do I > miss besides support if I take the $299 option instead of the $399 > renewal? Basically, I need to upgrade that page... The situation is this: Current Small Business Edition license holders can continue to renew on the old model, for $299, and get a modified Studio license that can author and build cross platform. They don't get the same database privileges as Enterprise users though. They continue to get upgrades for a year. OR they can switch to a pay per release model and buy a $49 upgrade to Studio. If they do this however, they can't go back to the subscription model. Current Professional license holders can also continue with the subscription model, for $299. For this they get an Enterprise level renewal, with full database access, but no support. They also have the option to buy an Enterprise renewal at $399, which includes 5 support incidents. > Graham: > I'm ashamed to say I still don't really understand this. I have now > read the descriptions on the 'Revolution Editions' page and I am > still a bit fuzzy. Personally, I need to maintain the multiplatform > development and deployment option as long as I can afford it. Can I > just wait till December (my normal renewal date) to optimise my cash > flow, and still pay $299 to renew at Enterprise level (minus tech > support) or is this offer likely to be withdrawn? I don't think we have any plans to withdraw this offer in the short or medium term, but in the long term obviously, we are likely to stop supporting the subscription model in favour of the new licensing. You should be pretty safe to wait until December, but if we do have any plans to discontinue the subscription renewals, we will certainly tell everybody and give you a last chance to renew. > > When I do renew, how can I get back onto a higher tech support level, > supposing I'd want to? I see that Enterprise users get more tech > support (10 incidents) in the first year than in subsequent years (5 > incidents). So we have people with Enterprise-level licences > potentially with 3 different levels of support. Well, you could choose the $399 option and get 5 technical support incidents. Or you could buy a support package, a full description of what we offer is available here: http://www.runrev.com/Revolution1/support.html > > BTW in the 'Online Store' part of the RunRev web site (where I first > looked for a definition of the different Editions), none of the terms > such as 'Enterprise', 'Studio' etc are mentioned, although one can > get at them indirectly via the Store Front, as suggested in the Store > page. IMHO this could confuse new potential purchasers. Point taken. I'll try and address it soon. I hope my above statements go some way to clarifying the position. If not, please ask again... Cheers Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From mdswindell at charter.net Fri Aug 22 09:42:53 2003 From: mdswindell at charter.net (Mark Swindell) Date: Fri Aug 22 09:42:53 2003 Subject: seconds to standard time numberformat? In-Reply-To: Message-ID: Is there a numberformat or other option that will display seconds in standard 00:00:00 format? I've got a "send to me in 1 second...add 1 to field theTime" scenario going on a project, and would like the result to display in standard form, rather than raw seconds. What's the most efficient way to make this happen? Thanks Mark From magnus at mail.maclaunch.com Fri Aug 22 10:03:00 2003 From: magnus at mail.maclaunch.com (Magnus Hippolyte Batavia) Date: Fri Aug 22 10:03:00 2003 Subject: Using strong language on the lists Message-ID: I wonder who, apart from Eric Hansen, considers "Shut Up" worse than "Sh*t" ? This morning, on my way to work I put my foot in some of the latter (it might have even been 'dropped' by a passing programmer" - and from personal experience I can inform the world that it is far worse than "Shut Up". At Carthage College (in Coyote, Wyoming) we say that a "Sh*it in the hand is worse than 2 in the bush", or, as one Democrat student said the other day "2 in the Bush would be far better". Magnus Hippolyte Batavia --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From alrice at ARCplanning.com Fri Aug 22 10:07:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 22 10:07:00 2003 Subject: AW: Linux double click In-Reply-To: <20030822103312.71371880C@voodoo.strato-webmail.de> Message-ID: <6898E358-D4B1-11D7-9818-000393529642@ARCplanning.com> On Friday, August 22, 2003, at 04:33 AM, claus at dreischer.de wrote: > wild guess: set the execute permissions to that file. > The OS does not know, that your file is to be executed. > > do a "chmod 755 XXX" in the console, with XXX is your filename. > This will make it readable and executable for anybody. That would be my guess too. But for learning Unix file permissions, I would not start off not using the octal codes, instead use the shorthand like this chmod +x file -- makes xecutable for owner chmod o+x file -- makes xecutable for others chmod a+x file -- makes xecutable for all chmod +r file -- makes readable for owner chmod o+r file -- makes readable for others chmod a+r file -- makes readable for all chmod +w file -- makes writable for owner chmod o+w file -- makes writable for others chmod a+w file -- makes writable for all substitute - for + to remove the permission instead of adding it. Fortunately Unix window mgr/ desktop software now usually has a file browser that can set file permissions by clicking too. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Fri Aug 22 10:09:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 22 10:09:01 2003 Subject: News from Mac OSX - Mysterious Serial Port In-Reply-To: Message-ID: On Friday, August 22, 2003, at 07:25 AM, Stephen Quinn Barncard wrote: > Rather than destroy a cable or mess with those horrible mini-dins, I > would use a mini-din to DB-9 adaptor (still available), then wire a > DB-9 Female (or male, i forgot). Good idea. I didn't realize they were still around. Another idea is to build that adaptor with an old cable. I currently make my adaptors adapt to the DB-9 and then use null modems and extenders and loop-backs on that, but I'm currently partially DB-25. I never did get on the RJ-45 craze for RS-232. (Notice that I never mess with "those horrible mini-dins"--was so even before the hands got rusty. Besides, they are hard to find.) One potential problem is the handshaking. The mac has only one in and one out and I'm not sure how they work. I'd make one with none and one with those connected to RTS and CTS. I have a power supply which a Mac cannot talk to. It needs a strong RTS to power the optical isolation circuit. I love the idea of isolation. The signal ground and the signals are isolated. But they got cheap and powered it from the RTS. The data that came with it indicates that the Mac output handshake line will not work. In general, RS422 is not RS232 and any setup might have problems. BTW, there is no standard (that I know of) for RS422 DB9, the adaptor I'm describing above is for emulating RS232 on DB9. It is possible to get 422 to 232 adaptors which are electronic level converters and sometimes isolated. This might allow one to exploit the distances one expects from 422. And while I'm babbling, I think it is possible to use mac in a two-pair RS-485 situation in some configurations. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From support at runrev.com Fri Aug 22 10:15:01 2003 From: support at runrev.com (Revolution Support) Date: Fri Aug 22 10:15:01 2003 Subject: License Issues Message-ID: <024701c368bb$2b73faa0$0c01020a@mike1> If you are experiencing problems licensing Revolution 2.0.3/2.1RC1 and are on OS 9 try increasing the memory settings to at least 15MB. This will only affect users that have downloaded Revolution prior to 3pm BST. If you are on other platforms try to free up more memory by quiting other programs. If you still have difficulties with a licensed unlock code or 30 day trial code, please send an email detailing the unlock code along with information used to support at runrev.com (not to this list). Thanks. -- Revolution Support ~ support at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From FlexibleLearning at aol.com Fri Aug 22 10:16:10 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri Aug 22 10:16:10 2003 Subject: Mac browser type? Message-ID: (Was: Re: Will Panther have IE by default?) Q: Who is Will Pather? And is he on this list? If not, perhaps someone else can to suggest a creatorType for web pages built on the fly (as in 'set the fileType to...' )? There is no problem with Windows as the system picks it up from the .html suffix. WHAT, however, to do for Macintosh? I currently default to MSIETEXT for Internet Explorer... Methinks this may no longer be appropriate. Your suggestions would be very, very welcome, Will... or anyone else! /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: mailto:h at flexibleLearning.com Web: www.flexibleLearning.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From richmond at mail.maclaunch.com Fri Aug 22 10:23:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Aug 22 10:23:01 2003 Subject: Mac browser type Message-ID: 1. "Will Panther" is presumably the best friend of "Woz Jaguar", and neither of them like "Will Longhorn"....enough of that. 2. I compose really moronically quick webpages using Netscape Composer (see my website) and they are picked up correctly be all Mac browsers. As far as I know they are .html files. Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From rjb at rz.uni-potsdam.de Fri Aug 22 10:35:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Aug 22 10:35:00 2003 Subject: Release Candidate 1 Available -- Special Offers End Soon In-Reply-To: References: Message-ID: > > I'm ashamed to say I still don't really understand this. I have now >> read the descriptions on the 'Revolution Editions' page and I am >> still a bit fuzzy. Personally, I need to maintain the multiplatform >> development and deployment option as long as I can afford it. Can I >> just wait till December (my normal renewal date) to optimise my cash >> flow, and still pay $299 to renew at Enterprise level (minus tech >> support) or is this offer likely to be withdrawn? > >I don't think we have any plans to withdraw this offer in the short or >medium term, but in the long term obviously, we are likely to stop >supporting the subscription model in favour of the new licensing. You should >be pretty safe to wait until December, but if we do have any plans to >discontinue the subscription renewals, we will certainly tell everybody and >give you a last chance to renew. >> Hmm, now this is confusing. You say that your new licensing model is not subscriptions?! What is the difference? Are we now required to maintain valid license at all times? So far, we were allowed to renew even if it was expired. Robert From heather at runrev.com Fri Aug 22 10:40:00 2003 From: heather at runrev.com (Heather Williams) Date: Fri Aug 22 10:40:00 2003 Subject: Strong language thread In-Reply-To: <200308212049.QAA29709@www.runrev.com> Message-ID: Guys, this thread is now way way off topic and officially dead. Thanking you for your kind cooperation, please do not respond to this posting... Cheers Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From alrice at ARCplanning.com Fri Aug 22 10:44:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 22 10:44:01 2003 Subject: Mac browser type? In-Reply-To: Message-ID: On Friday, August 22, 2003, at 09:09 AM, FlexibleLearning at aol.com wrote: > > WHAT, however, to do for Macintosh? I currently default to MSIETEXT > for Internet Explorer... Methinks this may no longer be appropriate. > > Your suggestions would be very, very welcome, Will... or anyone else! Just skip the creatorType- the new file will open in Safari (or the default browser) by virtue of having .html extension. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jemirandav at hotmail.com Fri Aug 22 10:51:01 2003 From: jemirandav at hotmail.com (Javier Miranda V.) Date: Fri Aug 22 10:51:01 2003 Subject: Scenario Message-ID: <7A953CC2-D4B7-11D7-AB83-00306576108C@hotmail.com> Thanks for the responses, seems MySQL is the option I'll take a closer look Sarah, regarding the advise to use webcrossing. Its a little bit intimidating use another serv er having Apache in OS X. Saludos, Javier From yvescoppe at skynet.be Fri Aug 22 10:55:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri Aug 22 10:55:01 2003 Subject: Drawer on RC 1 Message-ID: <0226CDA5-D4B8-11D7-89B5-003065E14B04@skynet.be> Hi list Question : the drawer command on Mac OS X with rev RC 1 : Is it possible to go to a card of a stack in a drawer? I've tried : drawer cd 2 of stack "myDrawer" but without success.... the drawer command opens cd 1 of the stack.... Greetings. Yves COPPE yvescoppe at skynet.be From janschenkel at yahoo.com Fri Aug 22 11:09:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Aug 22 11:09:00 2003 Subject: Drawer on RC 1 In-Reply-To: <0226CDA5-D4B8-11D7-89B5-003065E14B04@skynet.be> Message-ID: <20030822160255.46116.qmail@web11901.mail.yahoo.com> --- Yves COPPE wrote: > Hi list > > > Question : > > the drawer command on Mac OS X with rev RC 1 : > > Is it possible to go to a card of a stack in a > drawer? > > I've tried : > > drawer cd 2 of stack "myDrawer" > > but without success.... > > the drawer command opens cd 1 of the stack.... > > > > Greetings. > > Yves COPPE > Hi Yves, I don't have my MacOSX machine at hand to test it, but I think you can accomplish it with : go cd 2 of stack "myDrawer" as drawer Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jacque at hyperactivesw.com Fri Aug 22 11:18:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Aug 22 11:18:00 2003 Subject: seconds to standard time numberformat? In-Reply-To: References: Message-ID: <3F4640C6.7040504@hyperactivesw.com> On 8/22/03 9:35 AM, Mark Swindell wrote: > Is there a numberformat or other option that will display seconds in > standard 00:00:00 format? get the seconds convert it to long time put it -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 22 11:29:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Aug 22 11:29:01 2003 Subject: image pasting In-Reply-To: <51C25F36-D487-11D7-8C49-000393680A94@libero.it> References: <51C25F36-D487-11D7-8C49-000393680A94@libero.it> Message-ID: <3F464356.9040102@hyperactivesw.com> On 8/22/03 4:59 AM, mazzapaolo wrote: > When I get images from the clipboard i loose transparency. (Also copying > and pasting in Revolution) > Is it a bug of Rev 2.1 , is it a limitation of the program or am I > missing something? To maintain transparency, you'd save yourself a lot of trouble if you would save your images as transparent gif or png images in your paint program. Then import the images from disk, using "Import as control" in Rev's file menu. That will maintain transparency as well as avoid all the resizing problems you were having. Importing images from disk is the standard way to get them into a stack. In fact, until I answered your questions about it, I had never even tried to paste an image directly into a stack from the clipboard. It seems to be far more work to paste the image than to import it from disk. Pasting requires a lot of extra scripting to get the image into the same state that is produced automatically with an import. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Fri Aug 22 11:36:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 22 11:36:01 2003 Subject: 2.1RC1 delete problem In-Reply-To: <5.2.0.9.0.20030822013834.039bfa38@pop-server.bigpond.net.au> Message-ID: Alex, I confirmed this in Rev 2.1RC1 on Mac OS X 10.2.6. Did you bugzilla this? If not, you should. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > From: Alex Shaw > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 22 Aug 2003 01:38:44 +1000 > To: use-revolution at lists.runrev.com > Subject: 2.1RC1 delete problem > > hi, > > just tried 2.1rc1 (for pc) and i noticed it was leaving gaps in lists > (variables & fields) which i occasionally trim with the 'delete' command.. > which is acting more like a 'clear' command. anyone else having this problem? > > while im here i want to point out a feature i miss from metacard.. > > put "hello "&"world" -> works on both mc & rev > put ("hello "&"world") -> works on mc .. fails on rev > > simple example but it has caused a few problems with some of my older mc > scripts > > is anyone having [seemingly] more crashes with colorized scripts on or is > it just me? > > .. back to 2.0.2, which isn't too bad :) > > regards > alex > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Fri Aug 22 11:36:25 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 22 11:36:25 2003 Subject: seconds to standard time numberformat? In-Reply-To: Message-ID: There isn't one (although having a "convert to HMS" would be nice), but you can do it by converting the seconds to dateItems, and then taking items 4 to 6 (which are the hours, minutes and seconds), and padding them with zeroes if they are less than 10 and then finally concatenating them together with ":"s. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > From: Mark Swindell > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 22 Aug 2003 07:35:33 -0700 > To: use-revolution at lists.runrev.com > Subject: seconds to standard time numberformat? > > Is there a numberformat or other option that will display seconds in > standard 00:00:00 format? > > I've got a "send to me in 1 second...add 1 to field theTime" scenario > going on a project, and would like the result to display in standard > form, rather than raw seconds. What's the most efficient way to make > this happen? > > Thanks > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Cubist at aol.com Fri Aug 22 12:52:00 2003 From: Cubist at aol.com (Cubist at aol.com) Date: Fri Aug 22 12:52:00 2003 Subject: seconds to standard time numberformat? Message-ID: <25.3d3dd3d2.2c77b0bd@aol.com> sez mdswindell at charter.net: >Is there a numberformat or other option that will display seconds in >standard 00:00:00 format? The CONVERT function is your friend for all things related to display of time and/or dates. To a first approximation: function Sec2Standard DaSecs convert DaSecs from seconds to long time return DaSecs end Sec2Standard This will give you results like "10:53:12 PM" -- that is, you'll get the hour, minute, second *and* whether it's AM or PM. Of course, your original question didn't mention the AM/PM bit at all; since the "long time" time format automatically includes the AM/PM bit, we must needs find a different way to do it if we don't want to deal with AM/PM. Fortunately, the dateItems time/date format gives you everything you need on a silver platter, or at least in a comma-delimited list whose individual parts you can access thru "item X of TheTime". To a second approximation: function Sec2Standard DaSecs convert DaSecs from seconds to dateItems return item 4 of DaSecs & ":" & item 5 of DaSecs & ":" & item 6 of DaSecs end Sec2Standard No AM/PM here, thanks. However, it's worth noting that dateItems believes in a 24-hour clock; if you send this function the number of seconds corresponding to "10:53:12 PM", it will spit out the result "22:53:12". Could this be a problem for what you're doing? I dunno, but fortunately, it's not difficult to translate a 24-hour *hour* into a 12-hour *hour*, you should pardon the expression. To a third approximation: function Sec2Standard DaSecs convert DaSecs from seconds to dateItems # mind the line wrap here... return ((((item 4 of DaSecs) - 1) mod 12) + 1) & ":" & item 5 of DaSecs & ":" & item 6 of DaSecs end Sec2Standard There: Whether the number of seconds you send this puppy corresponds to "10:53:12 PM" or "10:53:12", this function *will* give "10:53:12" right back to you. Hope this helps... From FlexibleLearning at aol.com Fri Aug 22 13:09:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri Aug 22 13:09:00 2003 Subject: Mac browser type? Message-ID: <105.34eadc79.2c77b4c9@aol.com> Alex: Thank you. I am somewhat behind thew times on MacOS (still on v9) and have spent 2 years in the wilderness on a bad venture I got conned into. A lot of water has gone under many bridges! I shall default the setting to MOSSTEXT for Netscape on Macs on the assumtion that [1] it is a commonly installed browser and [2] with the .thml extension it is covered for Win32 and Safari. Thank you again. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdswindell at charter.net Fri Aug 22 13:20:01 2003 From: mdswindell at charter.net (Mark Swindell) Date: Fri Aug 22 13:20:01 2003 Subject: seconds to standard time numberformat? In-Reply-To: <3F4640C6.7040504@hyperactivesw.com> Message-ID: <3C96C44F-D4CC-11D7-84FD-0003936A51C6@charter.net> Thanks for the speedy responses! Much appreciated. This snippet displays what I wanted. on upDateTimer global gtheSecs,gtheSecsLong add 1 to gtheSecs put gtheSecs into gtheSecsLong convert gtheSecsLong to long time put empty into char 1 to 2 of gtheSecsLong -- removes initial hour and colon, leaves minutes and seconds put gtheSecsLong into field "Time" send "updateTimer" to me in 1 second end upDateTimer Mark On Friday, August 22, 2003, at 09:11 AM, J. Landman Gay wrote: >> Is there a numberformat or other option that will display seconds in >> standard 00:00:00 format? > > get the seconds > convert it to long time > put it From revlists at canelasoftware.com Fri Aug 22 13:20:25 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Fri Aug 22 13:20:25 2003 Subject: image pasting In-Reply-To: <3F464356.9040102@hyperactivesw.com> Message-ID: <53A33A20-D4CC-11D7-ABD1-000393C3F5BC@canelasoftware.com> On Friday, August 22, 2003, at 09:22 AM, J. Landman Gay wrote: > On 8/22/03 4:59 AM, mazzapaolo wrote: > >> When I get images from the clipboard i loose transparency. (Also >> copying and pasting in Revolution) >> Is it a bug of Rev 2.1 , is it a limitation of the program or am I >> missing something? > > To maintain transparency, you'd save yourself a lot of trouble if you > would save your images as transparent gif or png images in your paint > program. Then import the images from disk, using "Import as control" > in Rev's file menu. That will maintain transparency as well as avoid > all the resizing problems you were having. > > Importing images from disk is the standard way to get them into a > stack. In fact, until I answered your questions about it, I had never > even tried to paste an image directly into a stack from the clipboard. > It seems to be far more work to paste the image than to import it from > disk. Pasting requires a lot of extra scripting to get the image into > the same state that is produced automatically with an import. > To play devils advocate, it would be nice to be able to paste directly from one app to a Rev app. You might be making a paint program, layout program, multimedia app, or various other apps where this would be useful. The pasting and getting extra white space needs to be Bugzillaed. For creating your interface in Rev, you should just import the image as normal for the time being. Not sure if cutting and pasting from another app and maintaining transparency is a job for Rev though. I think that is saved to the file and not in the host app's memory. Best regards, Mark Talluto http://www.canelasoftware.com From themacguy at macosx.com Fri Aug 22 13:25:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Aug 22 13:25:01 2003 Subject: Distributing on CD for Windows users Message-ID: <2727A732-D4CD-11D7-9CAC-000A95763ABC@macosx.com> I've run into that killer "read-only" problem where I've burned a CD with the Rev distribution and then copied the files and app back to a PC hard disk only to find that the files (which could be written to on the original PC) are unusable (because I can't save to them anymore). Note that this is not the "can't write to the app's mainstack" issue (which is not an issue when you understand how to deal with it). I remember some discussion about this on the list but a search hasn't revealed the definitive answer. However, I have tried something which seems to work fine and I'd like to run it by the listas for a second (and third) opinion: I am using DropZip (part of the Stuffit Deluxe package on my Mac) to compress the distribution folder into an archive and burn that archive to the CD. Then, moving to the PC, I open that archive using the WinZip program (or whatever it is on XP that can open that zip file) and drag the application folder from the zip file to the user's Desktop. I realize that I can't do this manually for every user (as we hope to sell this program to lots of people) so I will have to use whatever automatic installer is recommended. I also have found that a W2K PC into which we had attempted to install the program had nothing on it that could deal with the zip file so I need to include some kind of "unzipping" engine. So, two questions: 1. Is the process I describe an good method of dealing with the read-only problem? (If not, I will entertain alternatives.) 2. Would the proper long-term solution be something like "Install anywhere"? I plan to distribute to both Macs and PCs. The users who would be purchasing the program are K12 teachers who, as we all know, can not be relied upon to manage a geeky installation. Thanks very much. Barry From edgore at shinra.com Fri Aug 22 13:34:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Fri Aug 22 13:34:01 2003 Subject: 2.1RC1 delete problem Message-ID: <200308221826.h7MIQBXd039054@shinra.com> I wonder if this is the root of the mis-aligned rows that people are seeing in Variable watcher as well... >----- ------- Original Message ------- ----- >From: Ken Ray > >Alex, I confirmed this in Rev 2.1RC1 on Mac OS X >10.2.6. Did you bugzilla >this? If not, you should. From jacque at hyperactivesw.com Fri Aug 22 13:39:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Aug 22 13:39:01 2003 Subject: seconds to standard time numberformat? In-Reply-To: <25.3d3dd3d2.2c77b0bd@aol.com> References: <25.3d3dd3d2.2c77b0bd@aol.com> Message-ID: <3F4661CB.9000108@hyperactivesw.com> On 8/22/03 12:45 PM, Cubist at aol.com wrote: > This will give you results like "10:53:12 PM" -- that is, you'll get the > hour, minute, second *and* whether it's AM or PM. Of course, your original > question didn't mention the AM/PM bit at all; since the "long time" time format > automatically includes the AM/PM bit, we must needs find a different way to do > it if we don't want to deal with AM/PM. Fortunately, the dateItems time/date > format gives you everything you need on a silver platter, or at least in a > comma-delimited list whose individual parts you can access thru "item X of > TheTime". Or even easier, make use of the twelveHourTime property: set the twelvehourtime to false get the seconds convert it to long time put it Yields the desired format in military time. No dateItems needed. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mdswindell at charter.net Fri Aug 22 13:40:01 2003 From: mdswindell at charter.net (Mark Swindell) Date: Fri Aug 22 13:40:01 2003 Subject: seconds to standard time numberformat? In-Reply-To: <25.3d3dd3d2.2c77b0bd@aol.com> Message-ID: <26AAE9C8-D4CF-11D7-84FD-0003936A51C6@charter.net> Cubist, Thanks for the tutorial on date/time conversion! You should send this to the tips section of Runrev. In fact, the PM was displaying in my scenario I posted a few minutes ago, but my field was too small to show it. My use is for short timed practice tests, so it's not appropriate to have AM/PM. Again, thanks. Mark On Friday, August 22, 2003, at 10:45 AM, Cubist at aol.com gave a great date/time conversion explanation: From edgore at shinra.com Fri Aug 22 13:52:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Fri Aug 22 13:52:01 2003 Subject: Distributing on CD for Windows users Message-ID: <200308221845.h7MIj04Q045023@shinra.com> If you are going to write your own installer, it should be possible to use Rev's built in Gzip compression to get around this problem. Use Rev (or gzip) to compress your application files, put them and a simple unzipper stack onto the CD, then users just run the unzipper program to install. I have been using Pantaray's QSetup for creating Windows installers is , which is free for independant developers. I'm not familiar with any of the installation makers for the Mac unfortunately. >----- ------- Original Message ------- ----- >From: Barry Levine >To: use-revolution at lists.runrev.com >Sent: Fri, 22 Aug 2003 12:19:22 > >I've run into that killer "read-only" problem where >I've burned a CD >with the Rev distribution and then copied the files >and app back to a >PC hard disk only to find that the files (which >could be written to on >the original PC) are unusable (because I can't save >to them anymore). >Note that this is not the "can't write to the app's >mainstack" issue >(which is not an issue when you understand how to >deal with it). > >I remember some discussion about this on the list >but a search hasn't >revealed the definitive answer. > >However, I have tried something which seems to work >fine and I'd like >to run it by the listas for a second (and third) >opinion: > >I am using DropZip (part of the Stuffit Deluxe >package on my Mac) to >compress the distribution folder into an archive >and burn that archive >to the CD. Then, moving to the PC, I open that >archive using the WinZip >program (or whatever it is on XP that can open that >zip file) and drag >the application folder from the zip file to the >user's Desktop. > >I realize that I can't do this manually for every >user (as we hope to >sell this program to lots of people) so I will have >to use whatever >automatic installer is recommended. I also have >found that a W2K PC >into which we had attempted to install the program >had nothing on it >that could deal with the zip file so I need to >include some kind of >"unzipping" engine. So, two questions: > >1. Is the process I describe an good method of >dealing with the >read-only problem? (If not, I will entertain >alternatives.) > >2. Would the proper long-term solution be something >like "Install >anywhere"? I plan to distribute to both Macs and >PCs. > >The users who would be purchasing the program are >K12 teachers who, as >we all know, can not be relied upon to manage a >geeky installation. > >Thanks very much. > >Barry > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From yvescoppe at skynet.be Fri Aug 22 14:40:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri Aug 22 14:40:00 2003 Subject: Drawer on RC 1 In-Reply-To: <20030822160255.46116.qmail@web11901.mail.yahoo.com> Message-ID: <73789297-D4D7-11D7-8469-000393533246@skynet.be> >> Question : >> >> the drawer command on Mac OS X with rev RC 1 : >> >> Is it possible to go to a card of a stack in a >> drawer? >> >> I've tried : >> >> drawer cd 2 of stack "myDrawer" >> >> but without success.... >> >> the drawer command opens cd 1 of the stack.... >> >> >> >> Greetings. >> >> Yves COPPE >> > > Hi Yves, > > I don't have my MacOSX machine at hand to test it, but > I think you can accomplish it with : > go cd 2 of stack "myDrawer" as drawer > > Hope this helped, > > Jan Schenkel. > > Hi Jan that's good but how can I use the command at bottom in stack "XYZ" ? Thanks. Greetings. Yves COPPE yvescoppe at skynet.be From miscdas at boxfrog.com Fri Aug 22 14:44:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Aug 22 14:44:01 2003 Subject: Stacks in motion - correction In-Reply-To: References: Message-ID: <20030822193916.78538.qmail@www.boxfrog.com> Mathewson writes: > Awfully sorry: had set my ZIP prog to do a 'Mac-BIN': new > version of BOUNCER.rev (2 diff. variants included) now on > my website. > > Sorry for inconvenience caused. > > Love, Richmond > ================ richmond, Thanks for the update. If you haven't already done so, you need to fix some of the other ZIP offerings on that page. miscdas From ambassador at fourthworld.com Fri Aug 22 15:03:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 22 15:03:00 2003 Subject: Mac browser type? In-Reply-To: Message-ID: FlexibleLearning at aol.com wrote: > > Q: Who is Will Pather? And is he on this list? > > If not, perhaps someone else can to suggest a creatorType for web pages built > on the fly (as in 'set the fileType to...' )? > > There is no problem with Windows as the system picks it up from the .html > suffix. > > WHAT, however, to do for Macintosh? I currently default to MSIETEXT for > Internet Explorer... Methinks this may no longer be appropriate. I use "????TEXT" -- this let's the OS assign it to the user's default browser. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From francois.cuneo at cuk.ch Fri Aug 22 15:46:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Fri Aug 22 15:46:01 2003 Subject: 2.1RC1 delete problem In-Reply-To: Message-ID: Hello! Ok it's a bug, but what may we do until the bug is fixed?? Do you see a workaround? Thank you! Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Ken Ray > R?pondre ??: use-revolution at lists.runrev.com > Date?: Fri, 22 Aug 2003 09:32:47 -0700 > ??: "use-revolution at lists.runrev.com" > Objet?: Re: 2.1RC1 delete problem > > Alex, I confirmed this in Rev 2.1RC1 on Mac OS X 10.2.6. Did you bugzilla > this? If not, you should. > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > >> From: Alex Shaw >> Reply-To: use-revolution at lists.runrev.com >> Date: Fri, 22 Aug 2003 01:38:44 +1000 >> To: use-revolution at lists.runrev.com >> Subject: 2.1RC1 delete problem >> >> hi, >> >> just tried 2.1rc1 (for pc) and i noticed it was leaving gaps in lists >> (variables & fields) which i occasionally trim with the 'delete' command.. >> which is acting more like a 'clear' command. anyone else having this problem? >> >> while im here i want to point out a feature i miss from metacard.. >> >> put "hello "&"world" -> works on both mc & rev >> put ("hello "&"world") -> works on mc .. fails on rev >> >> simple example but it has caused a few problems with some of my older mc >> scripts >> >> is anyone having [seemingly] more crashes with colorized scripts on or is >> it just me? >> >> .. back to 2.0.2, which isn't too bad :) >> >> regards >> alex >> >> _______________________________________________ >> 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 yoy at comcast.net Fri Aug 22 17:10:01 2003 From: yoy at comcast.net (yoy) Date: Fri Aug 22 17:10:01 2003 Subject: Hiliting a listfield line as I type? Message-ID: <000901c368f0$4c372cf0$b2ea5144@fatal7lcf637rj> My lockedtext listfield has a list of applications. With focus on this field, the user should be able to start typing a name of the application and the listfield should scroll to and hilite the matching line as soon as possible. I've seen some KeyUp examples but they don't achieve this behavior.. Help! Thanks again, Andy From dsc at swcp.com Fri Aug 22 17:18:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 22 17:18:00 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? Message-ID: <9CDFF0E8-D4ED-11D7-A981-000A9567A3E6@swcp.com> I'm testing some UDP sockets code in some Revolution stacks and it would be handy to test it with the simple Internet services echo and/or date-time. I suppose I could go reinstall it on my XP, but I'm lazy and besides I'd like to use them when my XP is down. I could make a standalone, but I want something independent of Revolution. So... How do I turn those on on OS X? Dar Scott From rcozens at pon.net Fri Aug 22 17:47:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Fri Aug 22 17:47:01 2003 Subject: Hiliting a listfield line as I type? In-Reply-To: <000901c368f0$4c372cf0$b2ea5144@fatal7lcf637rj> References: <000901c368f0$4c372cf0$b2ea5144@fatal7lcf637rj> Message-ID: >My lockedtext listfield has a list of applications. With focus on this >field, the user should be able to start typing a name of the application and >the listfield should scroll to and hilite the matching line as soon as >possible. > >I've seen some KeyUp examples but they don't achieve this behavior.. Hi Andy, Look at the script of Transcript Dictionary's field preceded by the "Filter with" popUp. -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From francois.cuneo at cuk.ch Fri Aug 22 17:47:26 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Fri Aug 22 17:47:26 2003 Subject: How to purge a stack from memory by script? In-Reply-To: <200308192109.h7JL9u028068@mmm1505.boca15-verio.com> Message-ID: Hello! I'm completely unable to works with saved and closed stack with my code. When I close the stack and I save it, if I load the stack again or change her name, I have a message that says that I'm trying to load a stack already opened. So when I close the stack, I want to purge it from memory. Is it possible?? Thank you! Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From alrice at ARCplanning.com Fri Aug 22 18:03:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 22 18:03:00 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: <9CDFF0E8-D4ED-11D7-A981-000A9567A3E6@swcp.com> Message-ID: On Friday, August 22, 2003, at 04:11 PM, Dar Scott wrote: > > How do I turn those on on OS X? Edit /etc/inetd.conf and uncomment their lines sudo killall -HUP inetd Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Fri Aug 22 18:42:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 22 18:42:00 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: Message-ID: <6E64A178-D4F9-11D7-9818-000393529642@ARCplanning.com> On Friday, August 22, 2003, at 04:56 PM, Alex Rice wrote: > sudo killall -HUP inetd This is a BSD command- don't try it on a Linux box ;-0 Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From steve at nexpath.com Fri Aug 22 18:43:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Fri Aug 22 18:43:00 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: <9CDFF0E8-D4ED-11D7-A981-000A9567A3E6@swcp.com> References: <9CDFF0E8-D4ED-11D7-A981-000A9567A3E6@swcp.com> Message-ID: <3F46AB1A.9020900@nexpath.com> Dar Scott wrote: > I'm testing some UDP sockets code in some Revolution stacks and it would > be handy to test it with the simple Internet services echo and/or > date-time. I've done some of this with my own server in RR, but AFAIK you have to be root: accept datagram connections on port "67" with message gotBPMsg if the result is not empty then answer "Network function failed: " & result() & return & "You must run as root on Linux for socket operations." ---- Anyone know a way around running a socket server as root (well, on Linux and I assume Mac OS X)? Works fine on Windows as any user, which is why worms and viruses like it so much. -Steve From monte at sweattechnologies.com Fri Aug 22 18:58:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Aug 22 18:58:00 2003 Subject: seconds to standard time numberformat? In-Reply-To: Message-ID: Hi You've had quite a number of solutions but here's another one: -- function to return the the time format (h:mm:ss) from an input in seconds function timeFormat timeInSecs if timeInSecs = 0 then put "0:00:00" into timeInForm else put format("%1d:%2d:%2d", timeInSecs div 60 div 60, timeInSecs div 60 mod 60, timeInSecs mod 60) into timeInForm repeat with x = 1 to the number of chars of timeInForm if char X of timeInForm is space then put 0 into char X of timeInForm end if end repeat end if return timeInForm end timeFormat Cheers Monte > > Is there a numberformat or other option that will display seconds in > standard 00:00:00 format? > > I've got a "send to me in 1 second...add 1 to field theTime" scenario > going on a project, and would like the result to display in standard > form, rather than raw seconds. What's the most efficient way to make > this happen? > > Thanks > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Fri Aug 22 18:58:24 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Aug 22 18:58:24 2003 Subject: Distributing on CD for Windows users In-Reply-To: <2727A732-D4CD-11D7-9CAC-000A95763ABC@macosx.com> Message-ID: Barry Check out Install Maker from clickteam.com. It's free and will pur your app where it's meant to go rather than require the user to use winzip etc. Regards Monte From alrice at ARCplanning.com Fri Aug 22 18:58:50 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 22 18:58:50 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: <3F46AB1A.9020900@nexpath.com> Message-ID: On Friday, August 22, 2003, at 05:45 PM, Steve Gehlbach wrote: > Anyone know a way around running a socket server as root (well, on > Linux and I assume Mac OS X)? Works fine on Windows as any user, > which is why worms and viruses like it so much. Only way I know is pick a high numbered port, like > 10,000. The low numbered ports are privileged, and mostly taken. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Fri Aug 22 18:59:23 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 22 18:59:23 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: <3F46AB1A.9020900@nexpath.com> Message-ID: On Friday, August 22, 2003, at 05:45 PM, Steve Gehlbach wrote: > Anyone know a way around running a socket server as root (well, on > Linux and I assume Mac OS X)? Works fine on Windows as any user, > which is why worms and viruses like it so much. I am able to 'accept' UDP and TCP on OS X as any user. I didn't realize Linux would have the constraint and am interested in the answer to this. (My problem is that I have a client/server acting up and I want to see which one is the problem. I want to have some non-Rev service to send a UDP response to see if the client has trouble.) Dar Scott From dsc at swcp.com Fri Aug 22 19:15:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 22 19:15:01 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: Message-ID: <03422F89-D4FE-11D7-A981-000A9567A3E6@swcp.com> On Friday, August 22, 2003, at 04:56 PM, Alex Rice wrote: >> How do I turn those on on OS X? > > Edit /etc/inetd.conf and uncomment their lines Great! Uh, how do I edit that? I can't even see it except from terminal. I found an editor called pico, but I wonder if there is a better way. I have become GUI-flabby and I can't get up! Dar Scott From yoy at comcast.net Fri Aug 22 19:20:01 2003 From: yoy at comcast.net (yoy) Date: Fri Aug 22 19:20:01 2003 Subject: Hiliting a listfield line as I type? References: <000901c368f0$4c372cf0$b2ea5144@fatal7lcf637rj> Message-ID: <000c01c36904$6dd04fe0$b2ea5144@fatal7lcf637rj> Rob, That's EXACTLY the behavior ("Scroll To") I want! But... how do I read the scripts? I opened the stack via the Open Stack menu but I can't get it into edit mode. It doesn't show in the Application Browser.. Sorry to appear so clueless. But that's it! Thanks! Andy ----- Original Message ----- From: "Rob Cozens" To: Sent: Friday, August 22, 2003 6:39 PM Subject: Re: Hiliting a listfield line as I type? > >My lockedtext listfield has a list of applications. With focus on this > >field, the user should be able to start typing a name of the application and > >the listfield should scroll to and hilite the matching line as soon as > >possible. > > > >I've seen some KeyUp examples but they don't achieve this behavior.. > > Hi Andy, > > Look at the script of Transcript Dictionary's field preceded by the > "Filter with" popUp. > -- > Rob Cozens, CCW > Serendipity Software Company > http://www.oenolog.net/who.htm > > "And I, which was two fooles do so grow three. > Who are a little wise, the best fooles bee." > > From "The Triple Foole" > by John Donne 1573-1631 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Fri Aug 22 20:00:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 22 20:00:00 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: <03422F89-D4FE-11D7-A981-000A9567A3E6@swcp.com> Message-ID: <3975CD2A-D504-11D7-B1BB-000A9567A3E6@swcp.com> On Friday, August 22, 2003, at 06:09 PM, Dar Scott wrote: >> Edit /etc/inetd.conf and uncomment their lines > > Great! Uh, how do I edit that? I can't even see it except from > terminal. I found an editor called pico, but I wonder if there is a > better way. I have become GUI-flabby and I can't get up! I remember now. I use the long name of textEdit down into the .app. I changed users to do this, though. Dar From alrice at ARCplanning.com Fri Aug 22 22:07:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Fri Aug 22 22:07:00 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: <03422F89-D4FE-11D7-A981-000A9567A3E6@swcp.com> Message-ID: <0A3E66E1-D516-11D7-9818-000393529642@ARCplanning.com> On Friday, August 22, 2003, at 06:09 PM, Dar Scott wrote: > Great! Uh, how do I edit that? I can't even see it except from > terminal. I found an editor called pico, but I wonder if there is a > better way. I have become GUI-flabby and I can't get up! > > Dar Scott I do "sudo emacs /etc/inetd.conf" :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From steve at nexpath.com Fri Aug 22 23:02:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Fri Aug 22 23:02:01 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: <0A3E66E1-D516-11D7-9818-000393529642@ARCplanning.com> References: <0A3E66E1-D516-11D7-9818-000393529642@ARCplanning.com> Message-ID: <3F46E5F7.8090402@nexpath.com> Alex Rice wrote: >> Great! Uh, how do I edit that? I can't even see it except from >> terminal. I found an editor called pico, but I wonder if there is a >> better way. I have become GUI-flabby and I can't get up! >> >> Dar Scott > > > I do "sudo emacs /etc/inetd.conf" :-) > On linux I use: su -c "vi /etc/inetd.conf" -- vi as many know is a sys admins editor with a, oh, 3 year or so learning curve. But I'm really fast with it, though somewhat older. -Steve From ludovic.thebault at laposte.net Sat Aug 23 00:04:00 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat Aug 23 00:04:00 2003 Subject: How to purge a stack from memory by script? In-Reply-To: References: Message-ID: <20030823065651149680.GyazMail.ludovic.thebault@laposte.net> On Sat, 23 Aug 2003 00:43:58 +0200, Fran?ois Cuneo wrote: > Hello! > I'm completely unable to works with saved and closed stack with my code. > When I close the stack and I save it, if I load the stack again or change > her name, I have a message that says that I'm trying to load a stack already > opened. > So when I close the stack, I want to purge it from memory. > Is it possible?? In Stack Property, check the 'Purge stack on close'. But why this button is not "true" by default ? From janschenkel at yahoo.com Sat Aug 23 00:26:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 23 00:26:01 2003 Subject: How to purge a stack from memory by script? In-Reply-To: <20030823065651149680.GyazMail.ludovic.thebault@laposte.net> Message-ID: <20030823052006.70282.qmail@web11908.mail.yahoo.com> --- Ludovic_Th?bault wrote: > On Sat, 23 Aug 2003 00:43:58 +0200, Fran?ois Cuneo > wrote: > > Hello! > > I'm completely unable to works with saved and > closed stack with my code. > > When I close the stack and I save it, if I load > the stack again or change > > her name, I have a message that says that I'm > trying to load a stack already > > opened. > > So when I close the stack, I want to purge it from > memory. > > Is it possible?? > > In Stack Property, check the 'Purge stack on close'. > > But why this button is not "true" by default ? > Actually, I consider that a life-saver. It has happened to me in the past that I clicked the wrong button in response to "Do you want to save changes?" ; needless to say one shouldn't touch the mouse after being distracted. But with Revoluton, no more howling in frustration : open the ApplicationBrowser, and go back to it. And if you want to revert, use the same AppBrowser to close and remove from memory. The only times I set a stack's "destroyStack" property [*] to true, is if it's a temporary stack and I don't want it to eat up memory after closing it. Jan Schenkel. [*] "destroyStack" doesn't mean your stack will be deleted from your hard drive, just from memory ; a better name would have been "purgeStack" ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From janschenkel at yahoo.com Sat Aug 23 00:31:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 23 00:31:00 2003 Subject: seconds to standard time numberformat? In-Reply-To: Message-ID: <20030823052440.29667.qmail@web11901.mail.yahoo.com> --- Monte Goulding wrote: > > Hi > > You've had quite a number of solutions but here's > another one: > > -- function to return the the time format (h:mm:ss) > from an input in seconds > function timeFormat timeInSecs > if timeInSecs = 0 then > put "0:00:00" into timeInForm > else > put format("%1d:%2d:%2d", timeInSecs div 60 div > 60, timeInSecs div 60 > mod 60, timeInSecs mod 60) into timeInForm > repeat with x = 1 to the number of chars of > timeInForm > if char X of timeInForm is space then > put 0 into char X of timeInForm > end if > end repeat > end if > return timeInForm > end timeFormat > > Cheers > > Monte > You can shave off a few lines by replacing the "repeat with X = 1 to ..." - loop with replace space with "0" in timeInForm But I think our fellow listee has many, many options to choose from now :-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jswitte at bloomington.in.us Sat Aug 23 00:33:01 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Sat Aug 23 00:33:01 2003 Subject: Using dd with shell() Message-ID: <1FEE8FD5-D292-11D7-B0AE-000393BF0854@bloomington.in.us> Hi, I've got this script that reads from a device with the shell command dd: on mouseup put "/Users/jswitte/NewtText.txt" into fName ask "Count?" with "4" put it into countNum --get shell("dd if=/dev/rdisk1 of=/Users/jswitte/NewtText.txt count=1") get shell("dd if=/dev/rdisk1 of=" & fName && "count=" & countNum) if the result is not empty then answer the result else open file fname read from file fname until EOF put it into fld "rtext" answer the length of it close file fname end if end mouseup The funny thing is, when I enter 87 for count, the text put in the field iis *shorter* than when I put in 86! The lengths reported make sense though (87 is 44544, 86 is 44032). Also (though this is more a unix-y question that Rev), is there any way for dd to report progress and have this come back to Rev for a progress gaguge? Thanks, Jim From curry at pair.com Sat Aug 23 01:01:01 2003 From: curry at pair.com (curry) Date: Sat Aug 23 01:01:01 2003 Subject: 2.1 beta doesn't open In-Reply-To: <200308230434.AAA31124@www.runrev.com> References: <200308230434.AAA31124@www.runrev.com> Message-ID: I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing happens; I see a zoom animation, but the app never starts. Is 2.1 compatible with 10.1.3? Curry From alrice at ARCplanning.com Sat Aug 23 01:13:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sat Aug 23 01:13:01 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: Message-ID: On Friday, August 22, 2003, at 05:52 PM, Dar Scott wrote: > I am able to 'accept' UDP and TCP on OS X as any user. > > I didn't realize Linux would have the constraint and am interested in > the answer to this. > > (My problem is that I have a client/server acting up and I want to see > which one is the problem. I want to have some non-Rev service to send > a UDP response to see if the client has trouble.) Forget what I said about 10,000 or higher that was incorrect. Regarding /etc/inetd.conf, /etc/services, TCP and UDP port numbering. An O'Reilly book published in 1991 says: "It should be noted that a port does not have to be listed in the database to be used. Any program may use any port it wants to (provided it's not already in use), with two exceptions. The ARPANET administration has decreed that port numbers below 512 are reserved for services which it approves. Further, Berkeley UNIX imposes the rule that port numbers below 1024 may only be used by the super-user. Thus, regular user programs are restricted to port numbers between 1025 and 32767." Note that servers like MySQL and PostgreSQL run as their own user (not as root) and run on high numbered ports for security; 3306 and 5432 respectively. Some servers like Apache, running on port 80, running as user nobody, must startup as root, and change uid after establishing sockets- or something like that. Presumably Mac OS X and Linux both follow these guidelines as well. I don't know if Windows has the equivalent concept of "super-user" or if it has the same rules for port usage. Hope this helps, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From rgould8 at aol.com Sat Aug 23 01:33:03 2003 From: rgould8 at aol.com (rgould8 at aol.com) Date: Sat Aug 23 01:33:03 2003 Subject: Multi column scrolling with checkbox Message-ID: <55C569AF.7F1CA36D.0018446D@aol.com> Can anyone tell me if there's a way to create a 2 column text field, where the user can have editable text in the left column, and in the right column have a checkbox? (So that the checkboxes all line up with the text and scroll with the text if the vertical scrollbar is used). Special bonus if I can have the rows with alternating colored backgrounds. From alrice at ARCplanning.com Sat Aug 23 01:45:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sat Aug 23 01:45:01 2003 Subject: licensing problem? [was Re: Revolution 2.0.3 now available] In-Reply-To: Message-ID: <68EB2CC6-D534-11D7-9818-000393529642@ARCplanning.com> On Friday, August 22, 2003, at 08:14 AM, Heather Williams wrote: > Not that I know of... yet :) Anybody else seeing this? If not, Alex > could > you write me off list and we'll figure out what's wrong, My bad! Heather helped me figure out I was entering an old license key. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From francois.cuneo at cuk.ch Sat Aug 23 01:51:02 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Sat Aug 23 01:51:02 2003 Subject: How to purge a stack from memory by script? In-Reply-To: <20030823065651149680.GyazMail.ludovic.thebault@laposte.net> Message-ID: Thank you Ludovic! -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Ludovic Th?bault > Soci?t??: la mienne > R?pondre ??: use-revolution at lists.runrev.com > Date?: Sat, 23 Aug 2003 06:56:51 +0200 > ??: use-revolution at lists.runrev.com > Objet?: Re: How to purge a stack from memory by script? > > On Sat, 23 Aug 2003 00:43:58 +0200, Fran?ois Cuneo wrote: >> Hello! >> I'm completely unable to works with saved and closed stack with my code. >> When I close the stack and I save it, if I load the stack again or change >> her name, I have a message that says that I'm trying to load a stack already >> opened. >> So when I close the stack, I want to purge it from memory. >> Is it possible?? > > In Stack Property, check the 'Purge stack on close'. > > But why this button is not "true" by default ? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alrice at ARCplanning.com Sat Aug 23 01:52:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sat Aug 23 01:52:00 2003 Subject: Mac browser type? In-Reply-To: <105.34eadc79.2c77b4c9@aol.com> Message-ID: <6853E803-D535-11D7-9818-000393529642@ARCplanning.com> On Friday, August 22, 2003, at 12:02 PM, FlexibleLearning at aol.com wrote: > Alex: > > Thank you. I am somewhat behind thew times on MacOS (still on v9) and > have spent 2 years in the wilderness on a bad venture I got conned > into. A lot of water has gone under many bridges! What was the venture? Well you aren't the only one confused about file types on OS X! Do a search for OS X and "launch services" if you want all the hairy details. > I shall default the setting to MOSSTEXT for Netscape on Macs on the > assumtion that [1] it is a commonly installed browser and [2] with the > .thml extension it is covered for Win32 and Safari. That would probably work OK. I don't know about Netscape any more. I have a copy so I can use Bugzilla, and it's Javascript console is handy, but I never use it for my main browser. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Sat Aug 23 01:55:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sat Aug 23 01:55:00 2003 Subject: Multi column scrolling with checkbox In-Reply-To: <55C569AF.7F1CA36D.0018446D@aol.com> Message-ID: On Saturday, August 23, 2003, at 12:27 AM, rgould8 at aol.com wrote: > Can anyone tell me if there's a way to create a 2 column text field, > where the user can have editable text in the left column, and in the > right column have a checkbox? (So that the checkboxes all line up > with the text and scroll with the text if the vertical scrollbar is > used). Special bonus if I can have the rows with alternating colored > backgrounds. Make a 1 column text field, place a column of checkboxes next to the field, or over the field, then group all of the above. Put a scrollbar on the group. Done! I think Jan or someone posted in the past a trick using a graphic to get alternating row backgrounds on a field. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From ludovic.thebault at laposte.net Sat Aug 23 02:00:01 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat Aug 23 02:00:01 2003 Subject: Multi column scrolling with checkbox In-Reply-To: <55C569AF.7F1CA36D.0018446D@aol.com> References: <55C569AF.7F1CA36D.0018446D@aol.com> Message-ID: <20030823085335387865.GyazMail.ludovic.thebault@laposte.net> On Sat, 23 Aug 2003 02:27:22 -0400, rgould8 at aol.com wrote: > Can anyone tell me if there's a way to create a 2 column text field, > where the user can have editable text in the left column, and in the > right column have a checkbox? (So that the checkboxes all line up > with the text and scroll with the text if the vertical scrollbar is > used). Special bonus if I can have the rows with alternating colored > backgrounds. You can simulate this with the imagesource command, clickchar and 2 images : the checkbox hilited and non hilited, but it's not multiplatform compliant ;-). From janschenkel at yahoo.com Sat Aug 23 02:04:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 23 02:04:00 2003 Subject: Multi column scrolling with checkbox In-Reply-To: <55C569AF.7F1CA36D.0018446D@aol.com> Message-ID: <20030823065807.89497.qmail@web11903.mail.yahoo.com> --- rgould8 at aol.com wrote: > Can anyone tell me if there's a way to create a 2 > column text field, where the user can have editable > text in the left column, and in the right column > have a checkbox? (So that the checkboxes all line > up with the text and scroll with the text if the > vertical scrollbar is used). Special bonus if I can > have the rows with alternating colored backgrounds. > Hi Rob, Check out the checkboxlist I made available to the listees a while ago. Direct link : If you search the archives, you'll find a solution for the alternating background colours as well. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From k.r.hauge at east.uio.no Sat Aug 23 03:16:00 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Sat Aug 23 03:16:00 2003 Subject: 2.1 beta doesn't open In-Reply-To: References: <200308230434.AAA31124@www.runrev.com> Message-ID: >I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing >happens; I see a zoom animation, but the app never starts. > This might be a problem of ownership and/or permissions not being correctly set. (It seems that in some cases, the Finder will not warn you about this, but just silently, Soviet-era public-servant style, shrug its shoulders and do nothing.) Select the RR icon in the Finder and do a "Get Info" (cmd-I) to check. -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From rbarber at yhb.att.ne.jp Sat Aug 23 04:45:02 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Sat Aug 23 04:45:02 2003 Subject: 2.1 beta doesn't open In-Reply-To: Message-ID: Hi Curry, I have experienced the same thing for beta 2 and 3. Reported it but got no response, so I figured I was the only one. I'm on 10.1.5. Kjetil R? Hauge suggested checking the permissions, which I suspected but when I did, It showed correctly that I was the admin and all three categories showed read/write permission. Is there something else? I would love to try 2.1. Note, 2.0.2 works fine. thanks Ron > > I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing > happens; I see a zoom animation, but the app never starts. > > Is 2.1 compatible with 10.1.3? > > Curry > _______________________________________________ From klaus at major-k.de Sat Aug 23 06:00:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Aug 23 06:00:00 2003 Subject: How to purge a stack from memory by script? In-Reply-To: <20030823065651149680.GyazMail.ludovic.thebault@laposte.net> Message-ID: <0DA1C8CA-D558-11D7-9520-000A27B49A96@major-k.de> Bonjour Ludovic et Francois, > On Sat, 23 Aug 2003 00:43:58 +0200, Fran?ois Cuneo wrote: >> Hello! >> I'm completely unable to works with saved and closed stack with my >> code. >> When I close the stack and I save it, if I load the stack again or >> change >> her name, I have a message that says that I'm trying to load a stack >> already >> opened. >> So when I close the stack, I want to purge it from memory. >> Is it possible?? > > In Stack Property, check the 'Purge stack on close'. > > But why this button is not "true" by default ? Ask the RR team ;-) But you can set this in the preferences -> Files & Memory And there IS a way to remove a stack from memory by script. This is from the RR dox, see under "delete stack command": Use the "delete stack xxx" command to delete a substack!!!!, or to purge a main stack from memory. So use this with caution ;-) Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From castor at brevet.nu Sat Aug 23 07:25:00 2003 From: castor at brevet.nu (=?ISO-8859-1?Q?Benny_Fr=F6din?=) Date: Sat Aug 23 07:25:00 2003 Subject: Drawer reduce on 2.1RC1 In-Reply-To: <200308221601.MAA06623@www.runrev.com> Message-ID: Hi! The drawer reduce its height for each time I open it Does anybody know why and how to workaround it To set the stack to unreseizable does not work Thanks in advance Ben. From klaus at major-k.de Sat Aug 23 07:37:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Aug 23 07:37:00 2003 Subject: Hiliting a listfield line as I type? In-Reply-To: <000c01c36904$6dd04fe0$b2ea5144@fatal7lcf637rj> Message-ID: Hi yoy, > Rob, > > That's EXACTLY the behavior ("Scroll To") I want! > But... how do I read the scripts? One smart solution ;-) is to use the messagebox: Type: edit script of the mousecontrol DON'T hit RETURN yet!!! Instead positon the cursor on top of that menubutton and THEN hit RETURN... Et voila, you can edit the script of the "mousecontrol", see the docs for more info about this handy little sucker ;-) > I opened the stack via the Open Stack menu > but I can't get it into edit mode. It doesn't show in the Application > Browser.. See menu: View -> Revolution UI Elemnts in List et voila, there they are in the App Browser: stacks galore... ...and you will hardly find your own couple of stacks anymore ;-) > Sorry to appear so clueless. ...as long as you love your mom ;-) > But that's it! > Thanks! > > Andy > >> Hi Andy, >> >> Look at the script of Transcript Dictionary's field preceded by the >> "Filter with" popUp. >> -- >> Rob Cozens, CCW >> Serendipity Software Company >> http://www.oenolog.net/who.htm Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From francois.cuneo at cuk.ch Sat Aug 23 08:46:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Sat Aug 23 08:46:00 2003 Subject: How to purge a stack from memory by script? In-Reply-To: <0DA1C8CA-D558-11D7-9520-000A27B49A96@major-k.de> Message-ID: Thank you Klaus, but I leave all my system with delete and clone stacks to create a kind of backup file. All the "destroystack property to true" and "In Stack Property, check the 'Purge stack on close'") are not working, because else if you put the property to true, it's no effect until the handler is finished. I have tried to put that in subprocedures but the problem is exactly the same. I don't understand why it's like that. A simple command like "purge stack xxx" would be so simple! Friendly Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Klaus Major > R?pondre ??: use-revolution at lists.runrev.com > Date?: Sat, 23 Aug 2003 12:53:39 +0200 > ??: use-revolution at lists.runrev.com > Objet?: Re: How to purge a stack from memory by script? > > Ask the RR team ;-) > > But you can set this in the preferences -> Files & Memory > > And there IS a way to remove a stack from memory by script. > > This is from the RR dox, see under "delete stack command": > > Use the "delete stack xxx" command to delete a substack!!!!, > or to purge a main stack from memory. > > So use this with caution ;-) > > Hope that helps... > > > Regards From rcozens at pon.net Sat Aug 23 09:01:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Sat Aug 23 09:01:01 2003 Subject: How to purge a stack from memory by script? In-Reply-To: References: Message-ID: >All the "destroystack property to true" and "In Stack Property, check the >'Purge stack on close'") are not working, because else if you put the >property to true, it's no effect until the handler is finished. Salut Fran?ois, I'm coming into this a little late; so forgive me if my comments are off target. I have a handler that reads selected data from all stacks in a folder--1,648 in my real-world situation As it finishes processing a stack, my export handler does: set the destroyStack of stack currentStackName to true close stack currentStackName This seems to be working fine for moi...am I missing somethng? -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From dalesvp at qwest.net Sat Aug 23 09:20:00 2003 From: dalesvp at qwest.net (Dale Pond) Date: Sat Aug 23 09:20:00 2003 Subject: HC to R question Message-ID: <3F4777C8.8000908@qwest.net> Hi, I finally bit the bullet and purchased a copy of Revolution to convert my HC stacks. I'm having trouble with a simple repeat loop: -- visit each card repeat with x = 3 to the number of cards go to card x if field "Card Name" <> empty then put (field "Card Name") & ";" && the ID of this card & return after index1 end repeat This returns an error "Handler: end doesn't match handler name". Makes no sense to me and I can't find anything wrong with the script. Can someone help me out with this? -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From yvescoppe at skynet.be Sat Aug 23 09:56:01 2003 From: yvescoppe at skynet.be (=?ISO-8859-1?Q?Fran=E7oise_DESREUMAUX?=) Date: Sat Aug 23 09:56:01 2003 Subject: Drawer reduce on 2.1RC1 In-Reply-To: Message-ID: <1F7A90BA-D579-11D7-8412-003065645E60@skynet.be> Le samedi, 23 ao? 2003, ? 14:18 Europe/Brussels, Benny Fr?din a ?crit : > Hi! > The drawer reduce its height for each time I open it > Does anybody know why and how to workaround it > To set the stack to unreseizable does not work > Thanks in advance > Ben. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > I experiment the same... No idea why... Greetings. Yves COPPE yvescoppe at skynet.be From Roger.E.Eller at sealedair.com Sat Aug 23 09:56:32 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat Aug 23 09:56:32 2003 Subject: HC to R question Message-ID: > Hi, > > I finally bit the bullet and purchased a copy of Revolution to convert > my HC stacks. I'm having trouble with a simple repeat loop: Dale, Try it this way... (you have to "end" the if statement, and "then" goes on the first line of the if statement) -- visit each card repeat with x = 3 to the number of cardsgo to card x if field "Card Name" <> empty then put (field "Card Name") & ";" && the ID of this card \ & return after index1 end if end repeat Roger Eller roger.e.eller at sealedair.com From Mike at doub.com Sat Aug 23 10:12:01 2003 From: Mike at doub.com (Mike Doub) Date: Sat Aug 23 10:12:01 2003 Subject: Rev CGI engine Message-ID: <000201c36988$1ade4970$6400a8c0@fusion> I am trying to locate the current version of the revolution engine to use as a CGI scripting engine for a IIS based website. I have been told that IIS does support the cgi interface, but don't know that for a fact. Is anyone else using rev in this context? I found http://www.runrev.com/revolution/engines/windows.gz Is this correct engine for a windows system? If so, would winzip uncompress it? I would have thought so, but it does not. I am suspecting a corrupt file. Any one else having problems with this? I also have a licensed version of Revolution. Would I be able to copy/rename the necessary components from the program files directory? I suspect not, but does anyone know for sure? Thanks for you help in advance. -- Mike From francois.cuneo at cuk.ch Sat Aug 23 10:14:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Sat Aug 23 10:14:00 2003 Subject: How to purge a stack from memory by script? In-Reply-To: Message-ID: Hello Rob! Until here OK, it works too, but if I refer again to another stack after, it's impossible without a warning message "...what to do with the stack XXX". -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Rob Cozens > R?pondre ??: use-revolution at lists.runrev.com > Date?: Sat, 23 Aug 2003 06:55:25 -0700 > ??: use-revolution at lists.runrev.com > Objet?: Re: How to purge a stack from memory by script? > > Salut Fran?ois, > > I'm coming into this a little late; so forgive me if my comments are > off target. > > I have a handler that reads selected data from all stacks in a > folder--1,648 in my real-world situation > > As it finishes processing a stack, my export handler does: > > set the destroyStack of stack currentStackName to true > close stack currentStackName > > This seems to be working fine for moi...am I missing somethng? > -- From klaus at major-k.de Sat Aug 23 10:21:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Aug 23 10:21:01 2003 Subject: How to purge a stack from memory by script? In-Reply-To: Message-ID: <8C4AADDA-D57C-11D7-9520-000A27B49A96@major-k.de> Bonjour Fran?ois, > Hello Rob! > Until here OK, it works too, but if I refer again to another stack > after, > it's impossible without a warning message "...what to do with the stack > XXX". Ah, in the Rev UI... You can change this behaviour, too :-) Preferences -> Files & Memory (deja vu? ;-): If destroystack is false, when closing last stack in file: [ ] Don't close the file [ ] Close the file [x] Ask I think the last one is set in your RR... Check "Close the file" to get rid of these annoying messages :-) Hope that helps... > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch Au revoir Klaus Major klaus at major-k.de www.major-k.de From francois.cuneo at cuk.ch Sat Aug 23 10:27:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Sat Aug 23 10:27:00 2003 Subject: How revert not the current stack??? In-Reply-To: Message-ID: Hello again (sorry!!!) So, because I'm unable to do what I want, I'm using a workaround. I work from a current stack, CCOX. I save from the stack "CCOX" another mainstack "USERS" I whant to create one or more cards in stack Users (always working from the current stack CCOX). Now, I want to revert where I was in the stack Users before that I have created the cards. I Write: Set the defaultstack to "users" revert That the current stack, "CCOX" that reverts. I have tried to put the script in a handler "on dontsave" in the Stackscript of the stack "Users". From Mike at doub.com Sat Aug 23 10:39:01 2003 From: Mike at doub.com (Mike Doub) Date: Sat Aug 23 10:39:01 2003 Subject: Rev CGI engine In-Reply-To: <000201c36988$1ade4970$6400a8c0@fusion> Message-ID: <000301c3698b$e3aad460$6400a8c0@fusion> Sorry I mistyped the link and capitalization is significant: http://www.runrev.com/revolution/engines/Windows.gz -- Mike -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Mike Doub Sent: Saturday, August 23, 2003 11:06 AM To: use-revolution at lists.runrev.com Subject: Rev CGI engine I am trying to locate the current version of the revolution engine to use as a CGI scripting engine for a IIS based website. I have been told that IIS does support the cgi interface, but don't know that for a fact. Is anyone else using rev in this context? I found http://www.runrev.com/revolution/engines/windows.gz Is this correct engine for a windows system? If so, would winzip uncompress it? I would have thought so, but it does not. I am suspecting a corrupt file. Any one else having problems with this? I also have a licensed version of Revolution. Would I be able to copy/rename the necessary components from the program files directory? I suspect not, but does anyone know for sure? Thanks for you help in advance. -- Mike _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jhurley at infostations.com Sat Aug 23 10:45:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sat Aug 23 10:45:00 2003 Subject: use-revolution digest, Vol 1 #1814 - 17 msgs In-Reply-To: <200308231321.JAA10320@www.runrev.com> References: <200308231321.JAA10320@www.runrev.com> Message-ID: > >Message: 17 >Date: Sat, 23 Aug 2003 08:18:48 -0600 >From: "Dale Pond" >To: "Revolution" >Subject: HC to R question >Reply-To: use-revolution at lists.runrev.com > >Hi, > >I finally bit the bullet and purchased a copy of Revolution to convert >my HC stacks. I'm having trouble with a simple repeat loop: > > -- visit each card > repeat with x = 3 to the number of cards > go to card x > if field "Card Name" <> empty > then put (field "Card Name") & ";" && the ID of this card & return >after index1 > end repeat > >This returns an error "Handler: end doesn't match handler name". Makes >no sense to me and I can't find anything wrong with the script. Can >someone help me out with this? > My specialty is the simple-minded solution. Forgive me, but did you check the spelling of the handler in which the above repeat loop is included--or perhaps other handlers in the script? There certainly doesn't appear to be anything wrong with the repeat loop itself. Jim -- From bvg at mac.com Sat Aug 23 10:45:28 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Aug 23 10:45:28 2003 Subject: How revert not the current stack??? In-Reply-To: Message-ID: from the transcript dictionary: -- The revert command also undoes changes made to other stacks stored in the same stack file. That is, if you revert a main stack, all substacks of that stack also revert to the last save, and if you revert a substack, its main stack and any other substacks also revert. -- That means you have to save your "USERS" stack as its own mainstack and only then will you be able to use revert on it, and only it. On Samstag, Aug 23, 2003, at 17:24 Europe/Zurich, Fran?ois Cuneo wrote: > Hello again (sorry!!!) > > So, because I'm unable to do what I want, I'm using a workaround. > > > I work from a current stack, CCOX. > > I save from the stack "CCOX" another mainstack "USERS" > > I whant to create one or more cards in stack Users (always working > from the > current stack CCOX). > > Now, I want to revert where I was in the stack Users before that I have > created the cards. > > I Write: > > Set the defaultstack to "users" > revert > > That the current stack, "CCOX" that reverts. > > I have tried to put the script in a handler "on dontsave" in the > Stackscript > of the stack "Users". > > From my "CCOX" current stack, I write: > > "send dontsave to stack "Users"" > > and the result is the same: always the CCOX stack is reverted, not the > "USers". > > AND I WANT THAT THE STACK "USERS" REVERTS AAAAAAARGGGGGGGHHHHHHHHHH. > > Hum, sorry... I'm hot... > > Is it possible to revert this stack USERS from CCOX please? > > Thank you very much. > > Fran?ois > > -------------- > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.ch > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley at infostations.com Sat Aug 23 10:47:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sat Aug 23 10:47:00 2003 Subject: HC to R question In-Reply-To: <200308231321.JAA10320@www.runrev.com> References: <200308231321.JAA10320@www.runrev.com> Message-ID: > >Message: 17 >Date: Sat, 23 Aug 2003 08:18:48 -0600 >From: "Dale Pond" >To: "Revolution" >Subject: HC to R question >Reply-To: use-revolution at lists.runrev.com > >Hi, > >I finally bit the bullet and purchased a copy of Revolution to convert >my HC stacks. I'm having trouble with a simple repeat loop: > > -- visit each card > repeat with x = 3 to the number of cards > go to card x > if field "Card Name" <> empty > then put (field "Card Name") & ";" && the ID of this card & return >after index1 > end repeat > >This returns an error "Handler: end doesn't match handler name". Makes >no sense to me and I can't find anything wrong with the script. Can >someone help me out with this? > My specialty is the simple-minded solution. Forgive me, but did you check the spelling of the handler in which the above repeat loop is included--or perhaps other handlers in the same script? There certainly doesn't appear to be anything wrong with the repeat loop itself. Jim From jperryl at ecs.fullerton.edu Sat Aug 23 11:19:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat Aug 23 11:19:01 2003 Subject: Using strong language on the lists In-Reply-To: Message-ID: Chaucer used the word (not shut up) in the Canterbury Tales... Judy On Fri, 22 Aug 2003, Magnus Hippolyte Batavia wrote: > I wonder who, apart from Eric Hansen, considers "Shut Up" > worse than "Sh*t" ? This morning, on my way to work I put > my foot in some of the latter (it might have even been > 'dropped' by a passing programmer" - and from personal > experience I can inform the world that it is far worse than > "Shut Up". From dalesvp at qwest.net Sat Aug 23 11:27:01 2003 From: dalesvp at qwest.net (Dale Pond) Date: Sat Aug 23 11:27:01 2003 Subject: HC to R question References: <200308231321.JAA10320@www.runrev.com> Message-ID: <3F47959E.8020601@qwest.net> Jim Hurley wrote: >> >> Message: 17 >> Date: Sat, 23 Aug 2003 08:18:48 -0600 >> From: "Dale Pond" >> To: "Revolution" >> Subject: HC to R question >> Reply-To: use-revolution at lists.runrev.com >> >> Hi, >> >> I finally bit the bullet and purchased a copy of Revolution to convert >> my HC stacks. I'm having trouble with a simple repeat loop: >> >> -- visit each card >> repeat with x = 3 to the number of cards >> go to card x >> if field "Card Name" <> empty >> then put (field "Card Name") & ";" && the ID of this card & return >> after index1 >> end repeat >> >> This returns an error "Handler: end doesn't match handler name". Makes >> no sense to me and I can't find anything wrong with the script. Can >> someone help me out with this? >> > > My specialty is the simple-minded solution. Forgive me, but did you > check the spelling of the handler in which the above repeat loop is > included--or perhaps other handlers in the same script? There > certainly doesn't appear to be anything wrong with the repeat loop itself. > > Jim Jim and Roger, Thanks for your pointers! I found an error further on in the script (actually two errors). One was an unassociated repeat and the other appeared to be an abbreviated "fld" instead of field or maybe it was the 'go to card "Index"' which when changed to 'go to card "2"' worked. Seems Rev doesn't like abbreviations nor does it point well to the actual bug. The script works great now! Here is the complete and working script: on mouseUp put empty into field "IndexField" lock screen -- visit each card repeat with x = 3 to the number of cards go to card x if field "Card Name" <> empty then put (field "Card Name") & ";" && the ID of this card \ & return after index1 end if end repeat go to card 2 -- go to card 2 "Index Card" sort index1 -- sort data within variable put index1 into field "IndexField" -- put data into Index Field put number of chars in field "IndexField" into field "Characters" put number of lines in field "indexfield" into field "Line Count" unlock screen end mouseUp -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From FlexibleLearning at aol.com Sat Aug 23 11:53:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat Aug 23 11:53:01 2003 Subject: HC to R question Message-ID: > This returns an error "Handler: end doesn't match handler name". Makes > no sense to me and I can't find anything wrong with the script. Can > someone help me out with this? Check your handler spelling. 'on ...' must finsh with the same 'end...' /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at nexpath.com Sat Aug 23 12:04:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Sat Aug 23 12:04:01 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: References: Message-ID: <3F479D50.9050604@nexpath.com> Alex Rice wrote: > Regarding > /etc/inetd.conf, /etc/services, TCP and UDP port numbering. An O'Reilly > book published in 1991 says: >.... Thus, > regular user programs are restricted to port numbers between 1025 and > 32767." > > Note that servers like MySQL and PostgreSQL run as their own user (not > as root) and run on high numbered ports for security; 3306 and 5432 > respectively. > > Some servers like Apache, running on port 80, running as user nobody, > must startup as root, and change uid after establishing sockets- or > something like that. > > Presumably Mac OS X and Linux both follow these guidelines as well. I > don't know if Windows has the equivalent concept of "super-user" or if > it has the same rules for port usage. > Thanks for the RTFM, I did not realize the root restriction was lifted for higher ports. I can say for sure that Windows does not have the restriction, I have tested it. I need to use UDP port 67 for a bootp server, which is used in one of my user apps for re-installing software on an embedded system (I'm porting to RR). So the program will have to be run as root, I guess. The other option (sometimes used by http and smtp) is to put the file permissions as set uid root (maybe many are familiar with this) which is a special unix thing that is, by old time unix people, considered a security hole. But this basically sets the ownership of the file to root, and sets it to run as if it were root, but it can be executed by an ordinary user. (It is done with, as root, "chown root filename; chmod u+s filename"). You should also "chmod go-rw filename" so that a regular user cannot modify it and do something bad. But nothing is as bad as Windows, so I guess this is an option. -Steve From alrice at ARCplanning.com Sat Aug 23 13:04:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sat Aug 23 13:04:00 2003 Subject: [OT] How to turn on echo or date/time UDP services on OS X? In-Reply-To: <3F479D50.9050604@nexpath.com> Message-ID: <46EB4BA0-D593-11D7-92F8-000393529642@ARCplanning.com> On Saturday, August 23, 2003, at 10:58 AM, Steve Gehlbach wrote: > Thanks for the RTFM, I did not realize the root restriction was lifted > for higher ports. I can say for sure that Windows does not have the > restriction, I have tested it. > > I need to use UDP port 67 for a bootp server, which is used in one of > my user apps for re-installing software on an embedded system (I'm > porting to RR). So the program will have to be run as root, I guess. > > The other option (sometimes used by http and smtp) is to put the file > permissions as set uid root Yeah suid root is supposed to be evil. If it's a long running process, and security is a goal you could figure out how to startup as root, then switch to a non-privileged user after that. Maybe an external calling setuid() or some other C system call. This would be like apache- ones does "apachectl start" as root and it spawns of httpd processes, listing to privileged ports, but running as user www or nobody instead of root. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From ambassador at fourthworld.com Sat Aug 23 13:13:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 23 13:13:01 2003 Subject: HC to R question In-Reply-To: <3F47959E.8020601@qwest.net> Message-ID: Dale Pond wrote: > Seems Rev doesn't like abbreviations Rev is very good about honoring abbreviations, and offers them for its unique object types as well (e.g., "scrollbar" can be written "sb" -- thank you Scott!). Rev is also generally good about being able to identify objects by name, ordinal number, or ID. If you've encountered problems addressing cards by name and find that the ordinal number works, I'd double-check the card name in question and whether it's in the default stack at the time the handler is called. For example, palette windows are not a true stack in HyperCard, so any script in a palette which navigates to a card by name will assume it's referring to the topmost stack. But with Rev allowing stacks to take on a variety of modes, including palette, the defaultStack and the topStack may not always be the same thing. You coud get past that ny setting the default stack from your palette's script: on mouseUp set the defaultStack to the topStack go next end mouseUp Another factor that may come into play is the difference between how HyperCard and Revolution refer to objects. In HyperCard you must specify "bg" for background buttons and "cd" for card fields. Rev takes a simpler approach in which references to objects do not need to specify layer. For compatibility, however, the hcAddressing stack property makes Rev use HyperCard0style object references. If memory serves this property is set to false for new stacks but true for stacks converted from the HyperCard format. For a great discussion of conversion issues see Jacque Gay's excellent article on the subject at: -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From alrice at ARCplanning.com Sat Aug 23 13:14:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sat Aug 23 13:14:01 2003 Subject: Rev CGI engine In-Reply-To: <000201c36988$1ade4970$6400a8c0@fusion> Message-ID: On Saturday, August 23, 2003, at 09:06 AM, Mike Doub wrote: > revolution/engines/windows.gz Is this > correct engine for a windows system? If so, would winzip uncompress > it? I > would have thought so, but it does not. I am suspecting a corrupt > file. > Any one else having problems with this? .gz is GZIP format (which is the same used by rev's compress and decompress functions). I thought for sure that Winzip could deal with .gz format, and it claims to support GZIP in it's help file, but I'll be darned if I can get it to unzip that file! The Windows.gz file is OK I verified it by using gunzip on OS X. Use Rev's builtin compression functions to do it with a short script, or try another tool. I think Stuffit Expander from Aladdin can handle gzip files. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From francois.cuneo at cuk.ch Sat Aug 23 13:16:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Sat Aug 23 13:16:01 2003 Subject: How revert not the current stack??? In-Reply-To: Message-ID: Hello! Thank you Bj?rnke, but I so stupid that I don't understand! I have read the transcript dictionary of course! But I'm unable to save from my current mainstack by script the other mainstack Users and after revert it. Here is the matter for me!! Friendly F -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Bj?rnke von Gierke > R?pondre ??: use-revolution at lists.runrev.com > Date?: Sat, 23 Aug 2003 17:38:24 +0200 > ??: use-revolution at lists.runrev.com > Objet?: Re: How revert not the current stack??? > > from the transcript dictionary: > -- > The revert command also undoes changes made to other stacks stored in > the same stack file. That is, if you revert a main stack, all substacks > of that stack also revert to the last save, and if you revert a > substack, its main stack and any other substacks also revert. > -- > > That means you have to save your "USERS" stack as its own mainstack and > only then will you be able to use revert on it, and only it. > > On Samstag, Aug 23, 2003, at 17:24 Europe/Zurich, Fran?ois Cuneo wrote: > >> Hello again (sorry!!!) >> >> So, because I'm unable to do what I want, I'm using a workaround. >> >> >> I work from a current stack, CCOX. >> >> I save from the stack "CCOX" another mainstack "USERS" >> >> I whant to create one or more cards in stack Users (always working >> from the >> current stack CCOX). >> >> Now, I want to revert where I was in the stack Users before that I have >> created the cards. >> >> I Write: >> >> Set the defaultstack to "users" >> revert >> >> That the current stack, "CCOX" that reverts. >> >> I have tried to put the script in a handler "on dontsave" in the >> Stackscript >> of the stack "Users". >> >> From my "CCOX" current stack, I write: >> >> "send dontsave to stack "Users"" >> >> and the result is the same: always the CCOX stack is reverted, not the >> "USers". >> >> AND I WANT THAT THE STACK "USERS" REVERTS AAAAAAARGGGGGGGHHHHHHHHHH. >> >> Hum, sorry... I'm hot... >> >> Is it possible to revert this stack USERS from CCOX please? >> >> Thank you very much. >> >> Fran?ois >> >> -------------- >> Fran?ois Cuneo >> Site Web d?di? au Macintosh http://www.cuk.ch >> E-mail: francois.cuneo at cuk.ch >> >> >> _______________________________________________ >> 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 Sat Aug 23 13:54:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 23 13:54:00 2003 Subject: How to purge a stack from memory by script? In-Reply-To: Message-ID: Fran?ois Cuneo wrote (rearranged in standard reading order for clarity): >> I have a handler that reads selected data from all stacks in a >> folder--1,648 in my real-world situation >> >> As it finishes processing a stack, my export handler does: >> >> set the destroyStack of stack currentStackName to true >> close stack currentStackName >> >> This seems to be working fine for moi...am I missing somethng? >> > Until here OK, it works too, but if I refer again to another stack after, > it's impossible without a warning message "...what to do with the stack > XXX". Have you tried saving the destroyStack property for each stack? You'll only need to do that once, and then the stack will never be confused with that's supposed to stay resident -- and it cuts out one line of code. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From curry at pair.com Sat Aug 23 14:12:00 2003 From: curry at pair.com (curry) Date: Sat Aug 23 14:12:00 2003 Subject: 2.1 beta doesn't open In-Reply-To: <200308231321.JAA10320@www.runrev.com> References: <200308231321.JAA10320@www.runrev.com> Message-ID: I've checked the settings and didn't find anything different than 2.0.2 settings. Still doesn't open! Curry From klaus at major-k.de Sat Aug 23 14:44:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Aug 23 14:44:00 2003 Subject: How revert not the current stack??? In-Reply-To: Message-ID: <43FF1B58-D5A1-11D7-9520-000A27B49A96@major-k.de> Bon soir Fran?ois. > Hello! > Thank you Bj?rnke, but I so stupid that I don't understand! > I have read the transcript dictionary of course! > But I'm unable to save from my current mainstack by script the other > mainstack Users and after revert it. Here is the matter for me!! Why not save into a temporary file and delete it on quit? Hint ;-) specialfolderpath("Temporary") Should be easy to maintain a list of temp-stacks... This way "revert" will work at least ;-) Hope that helps... > Friendly > Fran?ois Cuneo > Site Web d?di? au Macintosh http://www.cuk.ch > E-mail: francois.cuneo at cuk.chuse-revolution@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Regards Klaus Major klaus at major-k.de www.major-k.de From dalesvp at qwest.net Sat Aug 23 14:48:01 2003 From: dalesvp at qwest.net (Dale Pond) Date: Sat Aug 23 14:48:01 2003 Subject: HC to R question References: Message-ID: <3F47C4A7.4050306@qwest.net> An HTML attachment was scrubbed... URL: From heather at runrev.com Sat Aug 23 14:58:00 2003 From: heather at runrev.com (Heather Williams) Date: Sat Aug 23 14:58:00 2003 Subject: General license questions In-Reply-To: <200308210458.AAA32144@www.runrev.com> Message-ID: > I have some general license questions. I hope it is OK to ask general > questions here as others might elaborate on the questions, supply > interpretations and also appreciate answers. Seems reasonable to me. > > 1. > The new license table has a "Create applications for" column. I assume > that means standalones and all licenses can build stacks for all > platforms. Is that correct? Yes it means standalones, but no, Express can't build for all platforms. It only builds applications for the platform you license it for. Other licenses all build for all platforms. > > 2. > I assume that WIN32 for the time being is one platform. Is that > correct? > Yes. > 3. > Are printed manuals included in Enterprise renewals? No, renewal doesn't include manuals. Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From heather at runrev.com Sat Aug 23 15:19:01 2003 From: heather at runrev.com (Heather Williams) Date: Sat Aug 23 15:19:01 2003 Subject: Release Candidate 1 Available -- Special Offers End Soon In-Reply-To: <200308221601.MAA06598@www.runrev.com> Message-ID: >> I don't think we have any plans to withdraw this offer in the short or >> medium term, but in the long term obviously, we are likely to stop >> supporting the subscription model in favour of the new licensing. You should >> be pretty safe to wait until December, but if we do have any plans to >> discontinue the subscription renewals, we will certainly tell everybody and >> give you a last chance to renew. >>> > > Hmm, now this is confusing. You say that your new licensing model is > not subscriptions?! What is the difference? Are we now required to > maintain valid license at all times? So far, we were allowed to renew > even if it was expired. Maybe I'm using confusing terminology. What I mean by the "subscription model" is the kind of licensing system we've had where you buy a license for a year, and get all upgrades free during that year (and before anybody asks, no, that doesn't mean your Revolution will stop working after a year, it just means you don't get any more free upgrades). Enterprise still works that way: buy an Enterprise license or renewal and it includes all upgrades for a year. However, Studio and Express are now single version licenses. You buy a license for the shipping version of Revolution only, and purchase further upgrades as and when you need them. Actually, to be strictly accurate, you get one free upgrade with Studio, and then you have to start paying for them. Express gives you no upgrades at all. We are maintaining the subscription model for the moment, for existing customers only, who hold licenses to 2.0.1 or earlier. The question of renewal after expiry is a different issue. To date we have never required that you maintain your license at all times, and I can't see us doing that. We'd prefer you to renew within a reasonable time interval of course... Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From erikhans08 at yahoo.com Sat Aug 23 16:52:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Aug 23 16:52:00 2003 Subject: upgrades vs. bug fixing In-Reply-To: Message-ID: <20030823214540.29508.qmail@web20010.mail.yahoo.com> hypothetically, if a user has 4.0, and a few months later 4.1 is released, does the 4.0 user need to upgrade to fix any bugs that exist in 4.0? ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From Mike at doub.com Sat Aug 23 17:07:00 2003 From: Mike at doub.com (Mike Doub) Date: Sat Aug 23 17:07:00 2003 Subject: Rev CGI engine In-Reply-To: Message-ID: <000b01c369c2$17fdd970$6400a8c0@fusion> I have tried Winzip, Powerarchiver and Revolution itself on a Windows XP system. None can decompress http://www.runrev.com/revolution/engines/Windows.gz Is anyone else having this problem? -- Mike -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Alex Rice Sent: Saturday, August 23, 2003 2:08 PM To: use-revolution at lists.runrev.com Subject: Re: Rev CGI engine On Saturday, August 23, 2003, at 09:06 AM, Mike Doub wrote: > revolution/engines/windows.gz Is this > correct engine for a windows system? If so, would winzip uncompress > it? I > would have thought so, but it does not. I am suspecting a corrupt > file. > Any one else having problems with this? .gz is GZIP format (which is the same used by rev's compress and decompress functions). I thought for sure that Winzip could deal with .gz format, and it claims to support GZIP in it's help file, but I'll be darned if I can get it to unzip that file! The Windows.gz file is OK I verified it by using gunzip on OS X. Use Rev's builtin compression functions to do it with a short script, or try another tool. I think Stuffit Expander from Aladdin can handle gzip files. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From erikhans08 at yahoo.com Sat Aug 23 17:13:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Aug 23 17:13:01 2003 Subject: image paste In-Reply-To: <3F40F437.6010403@hyperactivesw.com> Message-ID: <20030823220717.45183.qmail@web20005.mail.yahoo.com> hello J. i asked you once before for the address of the clockmaker to send ten bucks to. this time there is a money order and stamped envelope in hand. couldn't find the address on the HyperActive site. could i trouble you for the address? thanks, Erik p.s. agreed with your comments about upgrades. nothing for nothing. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From erikhans08 at yahoo.com Sat Aug 23 17:17:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Aug 23 17:17:01 2003 Subject: image paste In-Reply-To: <20030823220717.45183.qmail@web20005.mail.yahoo.com> Message-ID: <20030823221057.32910.qmail@web20010.mail.yahoo.com> big oops, thought i was off list as well as off topic. ===== erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From edgore at shinra.com Sat Aug 23 17:30:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Sat Aug 23 17:30:00 2003 Subject: General license questions References: Message-ID: <001401c369c5$38eff6b0$6701a8c0@ed> Heather, I believe that the question being asked is - Can a .rev file built in Express be run with any other version. I'm assuming that's a yes...and it makes me wonder...what happens when somebody finally does the thing that has long been discussed on this list, and builds a generic "Player" type application, using Studio or Pro. That's going to be a problem, isn't it, since that would allow someone with Express to deploy on any platform potentially. ----- Original Message ----- > Yes it means standalones, but no, Express can't build for all platforms. It > only builds applications for the platform you license it for. Other licenses > all build for all platforms. From yoy at comcast.net Sat Aug 23 18:02:01 2003 From: yoy at comcast.net (yoy) Date: Sat Aug 23 18:02:01 2003 Subject: Hiliting a listfield line as I type? References: Message-ID: <000401c369c9$88b62fd0$b2ea5144@fatal7lcf637rj> Klaus, THAT is some POWERFUL magic!!! Thanks for sharing it!!! All the best, Andy ----- Original Message ----- From: "Klaus Major" To: Sent: Saturday, August 23, 2003 8:31 AM Subject: Re: Hiliting a listfield line as I type? > Hi yoy, > > > Rob, > > > > That's EXACTLY the behavior ("Scroll To") I want! > > But... how do I read the scripts? > > One smart solution ;-) is to use the messagebox: > > Type: > > edit script of the mousecontrol > > DON'T hit RETURN yet!!! > > Instead positon the cursor on top of that menubutton > and THEN hit RETURN... > > Et voila, you can edit the script of the "mousecontrol", see the docs > for more info about this handy little sucker ;-) > > > I opened the stack via the Open Stack menu > > but I can't get it into edit mode. It doesn't show in the Application > > Browser.. > > See menu: View -> Revolution UI Elemnts in List > > et voila, there they are in the App Browser: stacks galore... > ...and you will hardly find your own couple of stacks anymore ;-) > > > Sorry to appear so clueless. > > ...as long as you love your mom ;-) > > > But that's it! > > Thanks! > > > > Andy > > > >> Hi Andy, > >> > >> Look at the script of Transcript Dictionary's field preceded by the > >> "Filter with" popUp. > >> -- > >> Rob Cozens, CCW > >> Serendipity Software Company > >> http://www.oenolog.net/who.htm > > Hope that helps... > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From monte at sweattechnologies.com Sat Aug 23 20:15:05 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Aug 23 20:15:05 2003 Subject: seconds to standard time numberformat? In-Reply-To: <20030823052440.29667.qmail@web11901.mail.yahoo.com> Message-ID: > > > > Hi > > > > You've had quite a number of solutions but here's > > another one: > > > > -- function to return the the time format (h:mm:ss) > > from an input in seconds > > function timeFormat timeInSecs > > if timeInSecs = 0 then > > put "0:00:00" into timeInForm > > else > > put format("%1d:%2d:%2d", timeInSecs div 60 div > > 60, timeInSecs div 60 > > mod 60, timeInSecs mod 60) into timeInForm > > repeat with x = 1 to the number of chars of > > timeInForm > > if char X of timeInForm is space then > > put 0 into char X of timeInForm > > end if > > end repeat > > end if > > return timeInForm > > end timeFormat > > > > Cheers > > > > Monte > > > > You can shave off a few lines by replacing the "repeat > with X = 1 to ..." - loop with > replace space with "0" in timeInForm > But I think our fellow listee has many, many options > to choose from now :-) > > Jan Schenkel. Thanks Jan That's one I wrote in my early days with MC and haven't looked at since because it works. Will make the change though ;-) Cheers Monte From monte at sweattechnologies.com Sat Aug 23 20:23:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Aug 23 20:23:00 2003 Subject: Rev CGI engine In-Reply-To: <000301c3698b$e3aad460$6400a8c0@fusion> Message-ID: That's not the console engine for windows. Go to: ftp://ftp.runrev.com/pub/revolution/downloads/engines/2.0/cgi/ PS We are looking for instructions for setting up rev cgi on Windows for libCGI so if you have time could you jot down some notes and send them to me off list. Cheers Monte > > Sorry I mistyped the link and capitalization is significant: > > http://www.runrev.com/revolution/engines/Windows.gz > > -- Mike > > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Mike Doub > Sent: Saturday, August 23, 2003 11:06 AM > To: use-revolution at lists.runrev.com > Subject: Rev CGI engine > > I am trying to locate the current version of the revolution > engine to use as > a CGI scripting engine for a IIS based website. I have been told that IIS > does support the cgi interface, but don't know that for a fact. Is anyone > else using rev in this context? > > I found http://www.runrev.com/revolution/engines/windows.gz Is this > correct engine for a windows system? If so, would winzip > uncompress it? I > would have thought so, but it does not. I am suspecting a corrupt file. > Any one else having problems with this? > > I also have a licensed version of Revolution. Would I be able to > copy/rename the necessary components from the program files directory? I > suspect not, but does anyone know for sure? > > Thanks for you help in advance. > > -- Mike > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sat Aug 23 22:22:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 23 22:22:00 2003 Subject: animated GIF Message-ID: <3623FFD6-D5E1-11D7-9A4D-000A9567A3E6@swcp.com> Is it sufficient to hid and show an animated GIF or should I do something to start and stop it? Dar Scott From gwills at ozemail.com.au Sun Aug 24 01:46:00 2003 From: gwills at ozemail.com.au (Greg Wills) Date: Sun Aug 24 01:46:00 2003 Subject: Graphics printing In-Reply-To: <200308051406.KAA30256@www.runrev.com> Message-ID: Hi All I am still attempting to resolve this printing problem. Jacqueline, thanks for your suggestion that it could be a graphics driver problem. This doesn't appear to be the issue, but it did put me onto another path - didn't go anywhere though! I now suspect that it might be a printer memory problem. (The Lexmark - that doesn't print the background graphic has 4mb of memory. I have located a Minolta printer (on the same system network) that has 16mb - and it all prints OK. I have today been trying a different tack. If I take a screenshot, then I do get an image just as the user sees it ( the Minolta did some funny things with the text in a text field - that I was going to pursue another day - but this may kill two birds with the one stone - so to speak). The thought was that printing a screenshot might require less grunt for the printer to push out all the graphics data. However I am having difficulty finding a way to print only the image that is created by the screenshot (a portion of the card). I can only see how to print cards, fields, reports. I would appreciate any guidance. Thanks cheers Greg >> Hi All >> >> I have been having this problem for a year or so and have been waiting >> to see if Rev 2 would resolve the issue - but no it has not. I have >> been >> discussing this with Kevin, but I now suspect that it may be a >> computer >> problem, not a Rev problem. >> >> Issue. Printing a card that has buttons, fields, graphics and a large >> graphic on layer 1. On my home Mac, this prints beautifully. On a work >> "windows" machine, networked to a Lexmark printer, it prints the card >> OK, except for the large graphic in the background. > > This kind of thing is almost always a graphics driver issue. See if you > can find a newer driver for the Windows machine. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From stephenREVOLUTION at barncard.com Sun Aug 24 02:41:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Sun Aug 24 02:41:01 2003 Subject: LICENSE 2.0 - help! Message-ID: I was under the impression that my license for 2.0 would also cover through bug fixes... Downloaded 2.0.3 for OSX... But with 2.0.3 the registration window does not accept the same code that made 2.0 work for me. It's also not as easy to enter -- one used to be able to paste an entire block of registration info between the ******* . There's no way to get to the 'Help' menu either to try to register that way, even though the README file says to do so... -- _________________________________________________________________________ CSN FAMILY OF WEBSITES: http://crosbystillsnash.com http://forum.crosbystillsnash.com http://forum.crosbystillsnash.com http://crosbycpr.com http://crosbynash.com http://grahamnash.com http://davidcrosby.com http://davidcrosby.net Stephen Barncard WEb duDe Record Producer and Mixer 1611 BRYDEN LANE Santa Rosa CA. 95404 USA Phone: 707 542 6717 Cell: 707 217 3039 stephen at barncard.com Barncard site http://www.barncard.com _________________________________________________________________________ From stephenREVOLUTION at barncard.com Sun Aug 24 02:47:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Sun Aug 24 02:47:01 2003 Subject: the IDE does not appear on double click of project Message-ID: When I double click a project file to launch Rev, the IDE does not appear. No menus, etc. 1. what is the call to start up the IDE from a script? 2. is there a setting to 'start IDE on application open' ? This was not the way Rev functioned earlier. Something changed...or something *I* changed!! thanks From janschenkel at yahoo.com Sun Aug 24 03:45:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Aug 24 03:45:00 2003 Subject: Rev CGI engine In-Reply-To: <000b01c369c2$17fdd970$6400a8c0@fusion> Message-ID: <20030824083839.63091.qmail@web11905.mail.yahoo.com> --- Mike Doub wrote: > I have tried Winzip, Powerarchiver and Revolution > itself on a Windows XP > system. None can decompress > http://www.runrev.com/revolution/engines/Windows.gz > Is anyone else having > this problem? > > -- Mike > Hi Mike, Did you download it using Internet Explorer on your Windows machine ? I've seen it download and decompress .gz files without renaming it -- yes, very confusing indeed. At any rate, that Windows.gz engine is for compiling stand-alones, not for CGI. So follow the link Monte provided, and download those, or go to the MetaCard website and download cmc.exe (Console MetaCard). No pretty interface, no access to the revolution libraries, but wonderful intro to MetaCard CGI. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From klaus at major-k.de Sun Aug 24 05:31:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Aug 24 05:31:00 2003 Subject: animated GIF In-Reply-To: <3623FFD6-D5E1-11D7-9A4D-000A9567A3E6@swcp.com> Message-ID: <2DA9AB60-D61D-11D7-8079-000A27B49A96@major-k.de> Hi Dar, > Is it sufficient to hid and show an animated GIF yes :-) Since it is already loaded into memory the first time you show it, there will be no extra overhead/advantage/disadvantag with just hiding/showing... > or should I do something to start and stop it? Not necessarily necessary :-) Hope that helps... > Dar Scott Regards Klaus Major klaus at major-k.de www.major-k.de From janschenkel at yahoo.com Sun Aug 24 05:42:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Aug 24 05:42:00 2003 Subject: animated GIF In-Reply-To: <2DA9AB60-D61D-11D7-8079-000A27B49A96@major-k.de> Message-ID: <20030824103614.73035.qmail@web11905.mail.yahoo.com> --- Klaus Major wrote: > Hi Dar, > > > Is it sufficient to hid and show an animated GIF > > yes :-) > > Since it is already loaded into memory the first > time you show it, > there will be no extra > overhead/advantage/disadvantag with just > hiding/showing... > > > or should I do something to start and stop it? > > Not necessarily necessary :-) > But if you really want to control it, you can tinker the 'repeatCount' and 'currentFrame' properties of the image control. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From ludovic.thebault at laposte.net Sun Aug 24 11:06:00 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun Aug 24 11:06:00 2003 Subject: Create array with variables Message-ID: <20030824175848896046.GyazMail.ludovic.thebault@laposte.net> Hello I have made a 8x8 grid with fields. I've named these fields like a spreadsheet (A1, B1.. A2, B2..) Each field have a random value. I want to create arrays to works with these values, but this script doesn't works : repeat with n=1 to 64 put fld n into ("array"&char 1 of the short name of fld n)[char 2 of the short name of fld n] end repeat How do this ? Thanks. From dcragg at lacscentre.co.uk Sun Aug 24 12:23:01 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun Aug 24 12:23:01 2003 Subject: Create array with variables In-Reply-To: <20030824175848896046.GyazMail.ludovic.thebault@laposte.net> References: <20030824175848896046.GyazMail.ludovic.thebault@laposte.net> Message-ID: At 5:58 pm +0200 24/8/03, Ludovic Th?bault wrote: >Hello > >I have made a 8x8 grid with fields. >I've named these fields like a spreadsheet (A1, B1.. A2, B2..) >Each field have a random value. >I want to create arrays to works with these values, but this script >doesn't works : > >repeat with n=1 to 64 >put fld n into ("array"&char 1 of the short name of fld n)[char 2 of >the short name of fld n] >end repeat > >How do this ? Thanks. It may not be what you want, but I think this would be better: repeat with n=1 to 64 put fld n into tArray[the short name of field n] end repeat This will give array keys that match the field names. However, if you ever change the layers of the fields, you'll have trouble, so how about this: repeat for each char k in "ABCDEFGH" repeat for each char i in "12345678" put field (k & i) into tArray[k & i] end repeat end repeat Cheers Dave From steve at nexpath.com Sun Aug 24 13:23:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Sun Aug 24 13:23:00 2003 Subject: view backdrop In-Reply-To: <003401c37114$54cb2570$6701a8c0@ed> References: <003401c37114$54cb2570$6701a8c0@ed> Message-ID: <3F490132.4090303@nexpath.com> Anyone found a way to use view->backdrop on Win2K? I tried it and got a white screen with just the tools palette; I clicked ctrl+T and the tools palette disappeared, and I couldn't get anything to reappear. I clicked ctrl-alt-del and used the task manager to click the RR app to bring the main menu bar forward and turn off view->backdrop. For a while I though I was going to have to hit the power reset button. Seems a little rough around the edges here. Is this a new bug (2.0.3) or has it always been this way? Seems like if you are going to use a backdrop, all windows should be forced in front, otherwise it's a little hard to use. -Steve From francois.cuneo at cuk.ch Sun Aug 24 13:51:00 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Sun Aug 24 13:51:00 2003 Subject: How revert not the current stack??? In-Reply-To: <43FF1B58-D5A1-11D7-9520-000A27B49A96@major-k.de> Message-ID: I have founded a workaround! The stack that I want to be able to revert is stack "Users". I create a substack of mainstack "Users", the "backup" substack. When the user begin to edit a menu that show all the cards in the Users stack I delete the cards in the substack "backup" I copy the cards of the Users stack in the backup stack If the user cancel the edition, I delete the cards in the Users stack I copy all the cards from the backup stack to the Users stack, And all is reverted!! Yeah! Thank you! Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: Klaus Major > R?pondre ??: use-revolution at lists.runrev.com > Date?: Sat, 23 Aug 2003 21:37:43 +0200 > ??: use-revolution at lists.runrev.com > Objet?: Re: How revert not the current stack??? > > Bon soir Fran?ois. > >> Hello! >> Thank you Bj?rnke, but I so stupid that I don't understand! >> I have read the transcript dictionary of course! >> But I'm unable to save from my current mainstack by script the other >> mainstack Users and after revert it. Here is the matter for me!! > > Why not save into a temporary file and delete it on quit? > > Hint ;-) > > specialfolderpath("Temporary") > > Should be easy to maintain a list of temp-stacks... > This way "revert" will work at least ;-) > > Hope that helps... > >> Friendly > >> Fran?ois Cuneo >> Site Web d?di? au Macintosh http://www.cuk.ch >> E-mail: francois.cuneo at cuk.chuse-revolution@lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From capellan2000 at yahoo.com Sun Aug 24 15:45:09 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun Aug 24 15:45:09 2003 Subject: Ink Effects problem Message-ID: <20030824203855.52839.qmail@web40510.mail.yahoo.com> Hi developers, Visit my webpage and download the file: Ink Effect.zip This file shows the use of the ink effects srcAnd & srcOr. It represents the RGB and CMYK color system. Please verify for me how it looks on Mac and linux. ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From HyperChris at aol.com Sun Aug 24 15:52:01 2003 From: HyperChris at aol.com (HyperChris at aol.com) Date: Sun Aug 24 15:52:01 2003 Subject: Create array with variables Message-ID: <6c.30c0d76a.2c7a7df8@aol.com> repeat with n=1 to 64 get short name of fld n put char 1 of it into x -- x is a letter and we need to switch it to a number put charToNum(x) - 64 into x -- assuming you are using capital letters: A=1, B=2 put char 2 of it into y -- build the transcript instruction so that from Rev's vantage point it is formatted right put "put fld" && n && "into array["& x &comma& y &"]" into transcriptInstruction do transcriptInstruction -- 'do' is a transcript command, see docs end repeat In a message dated 8/24/03 10:20:07 AM, use-revolution-request at lists.runrev.com writes: > I have made a 8x8 grid with fields ... named ... (A1, B1.. A2, B2..) and I want to ... > repeat with n=1 to 64 > put fld n into ("array"&char 1 of the short name of fld n)[char 2 of the short name of fld n] > end repeat From jacque at hyperactivesw.com Sun Aug 24 16:55:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Aug 24 16:55:00 2003 Subject: Graphics printing In-Reply-To: References: Message-ID: <3F4932D8.7000100@hyperactivesw.com> On 8/24/03 1:46 AM, Greg Wills wrote: > If I take a screenshot, then > I do get an image just as the user sees it ( the Minolta did some funny > things with the text in a text field If you print a screen shot the text will be part of the image, which means the resolution will be very low (72 dpi or 96 dpi, depending on your monitor settings.) This gives jagged text printouts. The fonts themselves are not sent to the printer when you print a screen shot. > However I am having difficulty finding a way to print only the image > that is created by the screenshot (a portion of the card). I can only > see how to print cards, fields, reports. I would appreciate any > guidance. Thanks Sounds like you need the command: print this card from to For example: print this card from "0,25" to "200,300" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION at barncard.com Sun Aug 24 17:32:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Sun Aug 24 17:32:01 2003 Subject: LICENSE 2.0 - help! Message-ID: I was under the impression that my license for 2.0 would also cover through bug fixes... Downloaded 2.0.3 for OSX... But with 2.0.3 the registration window does not accept the same code that made 2.0 work for me. It's also not as easy to enter -- one used to be able to paste an entire block of registration info between the ******* . There's no way to get to the 'Help' menu either to try to register that way, even though the README file says to do so... From stephenREVOLUTION at barncard.com Sun Aug 24 17:34:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Sun Aug 24 17:34:01 2003 Subject: the IDE does not appear on double click of project Message-ID: When I double click a project file in the finder to launch Rev, the edit environment does not appear. No menus, etc. Mac OS X, Rev 2 1. what is the call to start up the edit environment from a script? 2. is there a setting to 'start edit environment on application open' ? This was not the way Rev functioned earlier. Something changed...or something *I* changed!! thanks From psahores at easynet.fr Sun Aug 24 18:11:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Aug 24 18:11:01 2003 Subject: the IDE does not appear on double click of project In-Reply-To: References: Message-ID: <1061766260.8678.9.camel@www.kmax.ici> Le dim 24/08/2003 ? 09:39, Stephen Quinn Barncard a ?crit : > When I double click a project file to launch Rev, the IDE does not > appear. No menus, etc. > > 1. what is the call to start up the IDE from a script? > 2. is there a setting to 'start IDE on application open' ? > > This was not the way Rev functioned earlier. Something changed...or > something *I* changed!! > > thanks > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > Witch platform ? If Linux, be sure about checking the "exec" in the properties tab of the Rev engine. -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From rbarber at yhb.att.ne.jp Sun Aug 24 19:13:00 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Sun Aug 24 19:13:00 2003 Subject: Users of 2.1rc and OS X 10.1.x In-Reply-To: Message-ID: Hi If you are using the latest release of 2.1 on OS X 10.1, would you contact me offlist please. A couple of us have run into problems, we can't even get RR to open up, and we need to determine if it is some setting in our OS or a problem with 2.1 and 10.1. Thank you very much, Ron From soapdog at mac.com Sun Aug 24 19:22:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Sun Aug 24 19:22:00 2003 Subject: One more question about licensing. Message-ID: Sorry folks because I know this been covered before, it's just that I cannot search the list because I am out my machine, I am using my neighbours machine just to send and receive email. Can someone explaing to me this: if I buy a studio license now, will 2.1 count as an upgrade? Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From jhurley at infostations.com Sun Aug 24 20:21:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Sun Aug 24 20:21:00 2003 Subject: The mouseControl function In-Reply-To: <200308231321.JAA10320@www.runrev.com> References: <200308231321.JAA10320@www.runrev.com> Message-ID: >_-- > >Message: 14 >Date: Sat, 23 Aug 2003 14:31:15 +0200 >Subject: Re: Hiliting a listfield line as I type? >From: Klaus Major >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > >Hi yoy, > >> Rob, >> >> That's EXACTLY the behavior ("Scroll To") I want! >> But... how do I read the scripts? > >One smart solution ;-) is to use the messagebox: > >Type: > >edit script of the mousecontrol > >DON'T hit RETURN yet!!! > >Instead positon the cursor on top of that menubutton >and THEN hit RETURN... I am puzzled by the way in which the "mousecontorl" function is implemented. For example, the following handler in the message box repeat until the mouseclick put the mouseLoc &comma && the mousecontrol end repeat returns the mouseLoc continuously as I move the cursor over the screen, but the mousecontrol depends on where the mouse was located at the time the return key is hit. And the mousecontrol value remains fixed at that initial control as the mouse moves. I would have expected the mousecontrol value to be continuously updated as the mouseloc is. And the documentation is puzzling: "if the mouseControl is button 2 then set the cursor to hand" It appears that mouseControl returns something like: control 2 or control 5, but never button 2 or button 5. I guess Clinton was right; it depends on what the meaning of "is" is. It seems that RR is flexable on this matter. For example, "control 3 is button 2" would return "true" if button 2 is in layer 3. Jim From rgould8 at aol.com Sun Aug 24 23:00:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Sun Aug 24 23:00:00 2003 Subject: Way to insert text where cursor is in field? Message-ID: <3F49884A.1060900@aol.com> An HTML attachment was scrubbed... URL: From dsc at swcp.com Sun Aug 24 23:17:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 24 23:17:00 2003 Subject: Way to insert text where cursor is in field? In-Reply-To: <3F49884A.1060900@aol.com> Message-ID: <0BF9D28A-D6B2-11D7-9A11-000A9567A3E6@swcp.com> On Sunday, August 24, 2003, at 09:53 PM, Rob Gould wrote: > on keydown theKey > ? if theKey = "*" then > ??? refreshnotes > ? end if > ? > ? pass keydown > ? > end keydown I wonder if this would do what you want: -- Negative one day in ticks -- To run a message before others constant highPriority = "-1512000" on keydown send "refreshnotes" to me in highPriority pass keydown end keydown Just a wild guess. Dar Scott From rgould8 at aol.com Sun Aug 24 23:20:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Sun Aug 24 23:20:00 2003 Subject: Way to drag-drop from Rev to desktop? Message-ID: <3F498CDA.3080100@aol.com> An HTML attachment was scrubbed... URL: From jeanne at runrev.com Sun Aug 24 23:21:00 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Aug 24 23:21:00 2003 Subject: Way to insert text where cursor is in field? In-Reply-To: <3F49884A.1060900@aol.com> References: <3F49884A.1060900@aol.com> Message-ID: At 11:53 PM -0400 8/24/2003, Rob Gould wrote: >I'm sure I must be overlooking something simple - - - - What I'm >trying to do is have a text field that detects when the user presses >the character "*", and when they do, it replaces that "*" with a >bitmap graphic. (Using the imageSource call). > >I've got the below code which _almost_ does this, except that it >replaces all the astericks except the one that the user just >pressed. Try using keyUp instead of keyDown. (keyDown runs before the character is entered in the field.) -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From rgould8 at aol.com Sun Aug 24 23:41:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Sun Aug 24 23:41:01 2003 Subject: Way to insert text where cursor is in field? In-Reply-To: References: <3F49884A.1060900@aol.com> Message-ID: <3F4991F4.6070407@aol.com> That did the trick! Thanks for the simple solution! Jeanne A. E. DeVoto wrote: > Try using keyUp instead of keyDown. (keyDown runs before the > character is entered in the field.) From alrice at ARCplanning.com Sun Aug 24 23:48:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Sun Aug 24 23:48:01 2003 Subject: One more question about licensing. In-Reply-To: Message-ID: <78BD68D9-D6B6-11D7-973F-000393529642@ARCplanning.com> On Sunday, August 24, 2003, at 06:20 PM, Andre Garzia wrote: > Can someone explaing to me this: if I buy a studio license now, will > 2.1 count as an upgrade? You aren't the only one asking this question... so what's the deal RR? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jacque at hyperactivesw.com Sun Aug 24 23:49:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Aug 24 23:49:01 2003 Subject: Way to insert text where cursor is in field? In-Reply-To: <3F49884A.1060900@aol.com> References: <3F49884A.1060900@aol.com> Message-ID: <3F4993B7.7000700@hyperactivesw.com> On 8/24/03 10:53 PM, Rob Gould wrote: > I'm sure I must be overlooking something simple - - - - What I'm trying to do is > have a text field that detects when the user presses the character "*", and when > they do, it replaces that "*" with a bitmap graphic. (Using the imageSource > call). > > I've got the below code which _almost_ does this, except that it replaces all > the astericks except the one that the user just pressed. The trick here is that > the user can click and put the cursor anywhere in the text field, so it's not > like I can just add an "*" to the last char of the field and swap it out. I > somehow need to find out the position in the text field where the cursor is, and > add the asterick, and THEN run the "refreshnotes" handler. The "selectedChunk" function is your friend here. Try this: on keydown theKey if theKey = "*" then get the selectedchunk do "put theKey into" && it set the imagesource of char (word 2 of it) of me to "checkbox" else pass keydown end if end keydown You don't need a "refreshnotes" handler, just this one in the script of the field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rgould8 at aol.com Mon Aug 25 00:25:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Mon Aug 25 00:25:01 2003 Subject: Way to copy bitmap from one stack to another? Message-ID: <3F499C21.4010407@aol.com> An HTML attachment was scrubbed... URL: From alrice at ARCplanning.com Mon Aug 25 01:16:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 25 01:16:01 2003 Subject: Revolution and fonts In-Reply-To: Message-ID: On Tuesday, August 19, 2003, at 04:30 PM, Richard Gaskin wrote: > Fortunately it's also the easiest solution: you only need to set two > properties in your mainstack, and you know the fonts are available. ;) > > And on most systems, merely setting the textfont to any invalif font > name (I > tend to ue "0") will force it to use the default system font, so > really the > only platform-specific setting is the textSize. I was experimenting with this and one must actually put "0" for the font name, not empty, otherwise the font name will revert and fill itself in with the default font name "Lucida Grande" on my Mac. This only happens if one changes the font size as well. Is this a bug? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From gcanyon at inspiredlogic.com Mon Aug 25 01:32:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Aug 25 01:32:00 2003 Subject: Way to drag-drop from Rev to desktop? In-Reply-To: <3F498CDA.3080100@aol.com> Message-ID: Navigator does this. It's in the plugins, and the scripts are available to examine. If you drag entries to the desktop, it creates a text clipping with their information. For the FTP solution, though, you'd probably just want to figure out where the user dropped, and then use the standard FTP commands to do the work. On Sunday, August 24, 2003, at 09:13 PM, Rob Gould wrote: > Can anyone tell me if it's technically possible to have a scrolling > text field where a user could select multiple lines, and then > drag-and-drop those lines onto their desktop?? And then, I'd be able > to track what those text items are, and react accordingly?? (I'd have > Rev ftp some files from an FTP server and put those files on the > user's desktop). regards, Geoff Canyon gcanyon at inspiredlogic.com From castor at brevet.nu Mon Aug 25 01:32:27 2003 From: castor at brevet.nu (=?ISO-8859-1?Q?Benny_Fr=F6din?=) Date: Mon Aug 25 01:32:27 2003 Subject: Drawer in 2.1c In-Reply-To: <200308250342.XAA27087@www.runrev.com> Message-ID: <0A24C900-D6C5-11D7-9BFD-000A95A0CDE6@brevet.nu> Hi! When I open the New drawer thing its size decrease for each time I open the drawer Why?? BF From ambassador at fourthworld.com Mon Aug 25 02:27:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 25 02:27:00 2003 Subject: Reminder: SoCal Mini-RevDevCon Tuesday night Message-ID: Just a reminder that the next Southern California RevDevCon will be on Tuesday, August 26, at 7pm here at the Fourth World Embassy in downtown Los Angeles. These RevDevCons are small informal gatherings of Revolution and MetaCard developers in which we talk code, solve problems, and enjoy the rare treat of seeing listees in person. The agenda for the meeting has changed to include a presentation by Scott Rossi who's coming down from the SF Bay area to attend: 7:00 - 7:30: Introductions, gab about code. 7:30 - 8:30: We'll walk 50 yards to the restaurant in this complex, Barabara's (which has an excellent wine list) for dinner and more gabbing. 8:30 - 9:00: We return to the Embassy where Geoff Canyon will give a presentation about some cool new stuff he's been working on. 9:00 - 9:30: Scott Rossi will share some nifty tools he's crafted. 9:30 -?: Gab some more and eventually call it a night. If you'd like to attend just show up. If you need directions drop me an email and I'll send 'em to you. See ya' then.... -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From yvescoppe at skynet.be Mon Aug 25 02:46:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon Aug 25 02:46:00 2003 Subject: Drawer in 2.1c In-Reply-To: <0A24C900-D6C5-11D7-9BFD-000A95A0CDE6@brevet.nu> Message-ID: <5DD5B6A4-D6CF-11D7-A644-003065E14B04@skynet.be> Le lundi, 25 ao? 2003, ? 08:26 Europe/Brussels, Benny Fr?din a ?crit : > Hi! > When I open the New drawer thing its size decrease for > each time I open the drawer > Why?? > BF > Set the height of the width of the stack before opening the stack and it will be allright. Greetings. Yves COPPE yvescoppe at skynet.be From richmond at mail.maclaunch.com Mon Aug 25 04:12:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon Aug 25 04:12:01 2003 Subject: Richmond comes out of the 'bin' Message-ID: Yup......all my downloadables on my website were binhexed....but not anymore Thanks miscdas __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From wmb at internettrainer.com Mon Aug 25 07:02:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Aug 25 07:02:01 2003 Subject: AW: Linux double click In-Reply-To: <6898E358-D4B1-11D7-9818-000393529642@ARCplanning.com> Message-ID: <3F2E3237-D6F2-11D7-9774-003065430226@internettrainer.com> On Freitag, Aug 22, 2003, at 17:00 Europe/Vienna, Alex Rice wrote: > On Friday, August 22, 2003, at 04:33 AM, claus at dreischer.de wrote: >> >> do a "chmod 755 XXX" in the console, with XXX is your filename. >> This will make it readable and executable for anybody. > > That would be my guess too. But for learning Unix file permissions, I > would not start off not using the octal codes, instead use the > shorthand like this --- Claus, Alex, thanks for the tips... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From wouter.abraham at pi.be Mon Aug 25 07:28:01 2003 From: wouter.abraham at pi.be (wouter) Date: Mon Aug 25 07:28:01 2003 Subject: HC to R question In-Reply-To: <200308231601.MAA17221@www.runrev.com> Message-ID: Hi, If the amount of cards is considerable then you can gain some time by changeing the script to: on mouseUp put empty into field "IndexField" -- DON'T visit each card mark cards where fld "Card Name" <> empty repeat with x = 1 to the number of marked cds put (field "Card Name") of marked cd i & ";" && the ID of marked cd i \ & return after index1 end repeat unmark all cds go to card 2 -- go to card 2 "Index Card" -- If you were on cd 2 originally you can omit this line sort index1 -- sort data within variable (option : sort lines of index1 by item 1 of each ) put index1 into field "IndexField" -- put data into Index Field put number of chars in field "IndexField" into field "Characters" put number of lines in field "indexfield" into field "Line Count" unlock screen end mouseUp Have a nice day, WA On zaterdag, aug 23, 2003, at 18:01 Europe/Brussels, use-revolution-request at lists.runrev.com wrote > Message: 12 > Date: Sat, 23 Aug 2003 10:26:06 -0600 > From: "Dale Pond" > To: use-revolution at lists.runrev.com > Subject: Re: HC to R question > Reply-To: use-revolution at lists.runrev.com > > Jim Hurley wrote: > >>> >>> Message: 17 >>> Date: Sat, 23 Aug 2003 08:18:48 -0600 >>> From: "Dale Pond" >>> To: "Revolution" >>> Subject: HC to R question >>> Reply-To: use-revolution at lists.runrev.com >>> >>> Hi, >>> >>> I finally bit the bullet and purchased a copy of Revolution to >>> convert >>> my HC stacks. I'm having trouble with a simple repeat loop: >>> >>> -- visit each card >>> repeat with x = 3 to the number of cards >>> go to card x >>> if field "Card Name" <> empty >>> then put (field "Card Name") & ";" && the ID of this card & >>> return >>> after index1 >>> end repeat >>> >>> This returns an error "Handler: end doesn't match handler name". >>> Makes >>> no sense to me and I can't find anything wrong with the script. Can >>> someone help me out with this? >>> >> >> My specialty is the simple-minded solution. Forgive me, but did you >> check the spelling of the handler in which the above repeat loop is >> included--or perhaps other handlers in the same script? There >> certainly doesn't appear to be anything wrong with the repeat loop >> itself. >> >> Jim > > Jim and Roger, > > Thanks for your pointers! I found an error further on in the script > (actually two errors). One was an unassociated repeat and the other > appeared to be an abbreviated "fld" instead of field or maybe it was > the > 'go to card "Index"' which when changed to 'go to card "2"' worked. > Seems Rev doesn't like abbreviations nor does it point well to the > actual bug. The script works great now! Here is the complete and > working script: > > on mouseUp > put empty into field "IndexField" > lock screen > -- visit each card > repeat with x = 3 to the number of cards > go to card x > if field "Card Name" <> empty then > put (field "Card Name") & ";" && the ID of this card \ > & return after index1 > end if > end repeat > go to card 2 -- go to card 2 "Index Card" > sort index1 -- sort data within variable > put index1 into field "IndexField" -- put data into Index Field > put number of chars in field "IndexField" into field "Characters" > put number of lines in field "indexfield" into field "Line Count" > unlock screen > end mouseUp > > -- > Life, Light, Love and Laughter, > Dale Pond > Sympathetic Vibratory Physics > Sacred Science - Sacred Life > http://www.svpvril.com > SVP Discussion Forum: From mark at maseurope.net Mon Aug 25 07:52:01 2003 From: mark at maseurope.net (Mark Smith) Date: Mon Aug 25 07:52:01 2003 Subject: repeat for each.... Message-ID: <0183D284-D6FA-11D7-8213-000393675E42@maseurope.net> This is driving me barmy...can any kind soul here explain why this works: on tryLoopWith put "a,b,c,d,e,f" into charList repeat with n = 1 to the number of items in charList put item n of charList into line n of newCharList end repeat put newCharList && "with" end tryLoopWith but this throws up a 'bad chunk expression" : on tryLoopFor put "a,b,c,d,e,f" into charList repeat for each item n in charList put item n of charList into line n of newCharList end repeat put newCharList && "for" end tryLoopFor I haven't yet been able to make the 'repeat for each...' structure work at all, not even once, in any circumstance, in a year of trying it from time to time. I can find nothing in the electronic docs to help me. I am mystified. TIA, Mark Smith From wouter.abraham at pi.be Mon Aug 25 08:01:01 2003 From: wouter.abraham at pi.be (wouter) Date: Mon Aug 25 08:01:01 2003 Subject: 2.1 beta doesn't open In-Reply-To: <200308232108.RAA24694@www.runrev.com> Message-ID: <5A1BF9F8-D6FB-11D7-9A5E-000502990960@pi.be> Hi, As you are working in Mac OS X you can get an idea what is wrong by using the Console (you find this one in the utilities folder), open the crash log for Revolution and see where it is crashing or what is missing. Have a nice day, WA On zaterdag, aug 23, 2003, at 23:08 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 7 > Date: Sat, 23 Aug 2003 14:02:28 -0500 > To: use-revolution at lists.runrev.com > From: curry > Subject: Re: 2.1 beta doesn't open > Reply-To: use-revolution at lists.runrev.com > > I've checked the settings and didn't find anything different than > 2.0.2 settings. Still doesn't open! > > Curry > > > Message: 1 > Date: Sat, 23 Aug 2003 00:51:38 -0500 > To: use-revolution at lists.runrev.com > From: curry > Subject: 2.1 beta doesn't open > Reply-To: use-revolution at lists.runrev.com > > I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing > happens; I see a zoom animation, but the app never starts. > > Is 2.1 compatible with 10.1.3? > > Curry From dalesvp at qwest.net Mon Aug 25 08:03:02 2003 From: dalesvp at qwest.net (Dale Pond) Date: Mon Aug 25 08:03:02 2003 Subject: Paint Tools Message-ID: <3F4A08CE.9030008@qwest.net> Hi, Is there a manual on using the Paint Tools? Can't find it referenced in the Documentation. Actually is there a Rev manual or how-to book that covers drawing graphics? I have a HC script that draws geometric patterns according to math calculations. Works great in HC but the pencil tool does not draw in Rev (or if it does I can't see the result). The pencil will draw in a new stack but not on this imported HC stack. I don't think I understand how Rev draws, hence the need for a simple manual or how-to instructions. Here's the script: on mouseUp send mouseUp to cd button "Erase Graphic" --clear any pre-existing image put cd fld "b" into b put cd fld "e" into e --value of e put b+e into d --value of d put d into cd fld "d" put e+d into a --value of a put a into cd fld "a" put 100 into H --StartHorz put 100 into V --StartVert if a > 200 then answer "Put smaller number into field b or e" exit mouseUp end if choose rect tool set filled to true set pattern to 12 drag from H,V to H+b,V+d -- draw J set pattern to 22 drag from H+b,V to H+a+b,V+d -- draw K choose pencil tool drag from H+d,V to H+d,V+d set filled to false set pattern to 1 choose browse tool put "J = bd" && "=" && b*d into cd fld x put "K = ad" && "=" && a*d into cd fld y put b*d && "+" && a*d && "=" && (b*d)+(a*d) && "=" && "2D" into cd fld result1 end mouseUp -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From ludovic.thebault at laposte.net Mon Aug 25 08:09:01 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Mon Aug 25 08:09:01 2003 Subject: repeat for each.... In-Reply-To: <0183D284-D6FA-11D7-8213-000393675E42@maseurope.net> References: <0183D284-D6FA-11D7-8213-000393675E42@maseurope.net> Message-ID: <20030825150251315047.GyazMail.ludovic.thebault@laposte.net> On Mon, 25 Aug 2003 13:45:28 +0100, Mark Smith wrote: > I haven't yet been able to make the 'repeat for each...' structure > work at all, not even once, in any circumstance, in a year of trying > it from time to time. I can find nothing in the electronic docs to > help me. I am mystified. repeat with n=1 to the number of items of myvar -- return a number (the position of the current item in the loop) repeat for each item n in myvar -- return the value of the current item in the loop From klaus at major-k.de Mon Aug 25 08:15:01 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Aug 25 08:15:01 2003 Subject: repeat for each.... In-Reply-To: <0183D284-D6FA-11D7-8213-000393675E42@maseurope.net> Message-ID: <3AF85C80-D6FD-11D7-88FC-000A27B49A96@major-k.de> Hi Mark > This is driving me barmy... Again i learned a useful english word ;-) > can any kind soul here explain why this works: > > on tryLoopWith > put "a,b,c,d,e,f" into charList > repeat with n = 1 to the number of items in charList > put item n of charList into line n of newCharList > end repeat > put newCharList && "with" > end tryLoopWith > > but this throws up a 'bad chunk expression" : > > on tryLoopFor > put "a,b,c,d,e,f" into charList > repeat for each item n in charList > put item n of charList into line n of newCharList > end repeat > put newCharList && "for" > end tryLoopFor "repeat for each..." is a read-only thingie... ;-) Means that "n" in this case will not hold the number of the current line as in "repeat with...", but the CONTENT of "the current line of charlist"... So there is no "line n of newCharList". (The engines sees: line "a" of newCharList...) ...and there is no such thing as "item n of charlist". (And here: item "a" of charlist...) That's why you get an error... Try to create an extra counter for this purpose. Even with a counter the "repeat for each..." loop is still insanely fast :-) on tryLoopFor put "a,b,c,d,e,f" into charList put 1 into mycounter repeat for each item n in charList put n into line mycounter of newCharList ### just pure n :-) add 1 to mycounter end repeat put newCharList && "for" end tryLoopFor > I haven't yet been able to make the 'repeat for each...' structure > work at all, not even once, > in any circumstance, in a year of trying it from time to time. It is a bit tricky, indeed... > I can find nothing in the electronic docs to help me. I am mystified. I am sure we will be able to guide you into the right direction ;-) > TIA, Mark Smith Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From dcragg at lacscentre.co.uk Mon Aug 25 08:17:01 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon Aug 25 08:17:01 2003 Subject: repeat for each.... In-Reply-To: <0183D284-D6FA-11D7-8213-000393675E42@maseurope.net> References: <0183D284-D6FA-11D7-8213-000393675E42@maseurope.net> Message-ID: At 1:45 pm +0100 25/8/03, Mark Smith wrote: >This is driving me barmy...can any kind soul here explain why this works: > >on tryLoopWith > put "a,b,c,d,e,f" into charList > repeat with n = 1 to the number of items in charList > put item n of charList into line n of newCharList > end repeat > put newCharList && "with" >end tryLoopWith > >but this throws up a 'bad chunk expression" : > >on tryLoopFor > put "a,b,c,d,e,f" into charList > repeat for each item n in charList > put item n of charList into line n of newCharList > end repeat > put newCharList && "for" >end tryLoopFor In your second example, the variable n doesn't contain a number but the actual value of the current item in the list. Try this: on tryLoopFor put "a,b,c,d,e,f" into charList repeat for each item n in charList put n & return after newCharList end repeat delete char -1 of newCharList ## delete final return put newCharList && "for" end tryLoopFor Dave From dalesvp at qwest.net Mon Aug 25 09:02:00 2003 From: dalesvp at qwest.net (Dale Pond) Date: Mon Aug 25 09:02:00 2003 Subject: HC to R question References: Message-ID: <3F4A169D.8010409@qwest.net> WA, You offer an interesting suggestion. Thanks. Every card fld "Card Name" has data so I don't know what might be gained by examining each card then marking it. There aren't that many cards in each stack. With HC anyway the restriction is 32k characters in the IndexField which lists all the cards by name and ID. Rev has a higher fld limit so this restriction is lifted. On these newer computers speed of execution doesn't pose an issue. Even with adding in a "sort cards of stack" line it takes about 1/2 (or less) of a second to complete this script. I will try your "(option : sort lines of index1 by item 1 of each)", that might improve general UI performance. Dale wouter wrote: > Hi, > If the amount of cards is considerable then you can gain some time by > changeing the script to: > > on mouseUp > put empty into field "IndexField" > -- DON'T visit each card > mark cards where fld "Card Name" <> empty > repeat with x = 1 to the number of marked cds > put (field "Card Name") of marked cd i & ";" && the ID of > marked cd i \ > & return after index1 > end repeat > unmark all cds > go to card 2 -- go to card 2 "Index Card" -- If you were on cd 2 > originally you can omit this line > sort index1 -- sort data within variable (option : sort lines of > index1 by item 1 of each ) > put index1 into field "IndexField" -- put data into Index Field > put number of chars in field "IndexField" into field "Characters" > put number of lines in field "indexfield" into field "Line Count" > unlock screen > end mouseUp > > Have a nice day, > WA > > > On zaterdag, aug 23, 2003, at 18:01 Europe/Brussels, > use-revolution-request at lists.runrev.com wrote > >> Message: 12 >> Date: Sat, 23 Aug 2003 10:26:06 -0600 >> From: "Dale Pond" >> To: use-revolution at lists.runrev.com >> Subject: Re: HC to R question >> Reply-To: use-revolution at lists.runrev.com >> >> Jim Hurley wrote: >> >>>> >>>> Message: 17 >>>> Date: Sat, 23 Aug 2003 08:18:48 -0600 >>>> From: "Dale Pond" >>>> To: "Revolution" >>>> Subject: HC to R question >>>> Reply-To: use-revolution at lists.runrev.com >>>> >>>> Hi, >>>> >>>> I finally bit the bullet and purchased a copy of Revolution to convert >>>> my HC stacks. I'm having trouble with a simple repeat loop: >>>> >>>> -- visit each card >>>> repeat with x = 3 to the number of cards >>>> go to card x >>>> if field "Card Name" <> empty >>>> then put (field "Card Name") & ";" && the ID of this card & return >>>> after index1 >>>> end repeat >>>> >>>> This returns an error "Handler: end doesn't match handler name". Makes >>>> no sense to me and I can't find anything wrong with the script. Can >>>> someone help me out with this? >>>> >>> >>> My specialty is the simple-minded solution. Forgive me, but did you >>> check the spelling of the handler in which the above repeat loop is >>> included--or perhaps other handlers in the same script? There >>> certainly doesn't appear to be anything wrong with the repeat loop >>> itself. >>> >>> Jim >> >> >> Jim and Roger, >> >> Thanks for your pointers! I found an error further on in the script >> (actually two errors). One was an unassociated repeat and the other >> appeared to be an abbreviated "fld" instead of field or maybe it was the >> 'go to card "Index"' which when changed to 'go to card "2"' worked. >> Seems Rev doesn't like abbreviations nor does it point well to the >> actual bug. The script works great now! Here is the complete and >> working script: >> >> on mouseUp >> put empty into field "IndexField" >> lock screen >> -- visit each card >> repeat with x = 3 to the number of cards >> go to card x >> if field "Card Name" <> empty then >> put (field "Card Name") & ";" && the ID of this card \ >> & return after index1 >> end if >> end repeat >> go to card 2 -- go to card 2 "Index Card" >> sort index1 -- sort data within variable >> put index1 into field "IndexField" -- put data into Index Field >> put number of chars in field "IndexField" into field "Characters" >> put number of lines in field "indexfield" into field "Line Count" >> unlock screen >> end mouseUp >> >> -- >> Life, Light, Love and Laughter, >> Dale Pond >> Sympathetic Vibratory Physics >> Sacred Science - Sacred Life >> http://www.svpvril.com >> SVP Discussion Forum: > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From dsc at swcp.com Mon Aug 25 09:51:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 25 09:51:01 2003 Subject: animated GIF In-Reply-To: <2DA9AB60-D61D-11D7-8079-000A27B49A96@major-k.de> Message-ID: On Sunday, August 24, 2003, at 04:24 AM, Klaus Major wrote: >> or should I do something to start and stop it? > > Not necessarily necessary :-) Thanks! Supporting evidence: When I hide it and then Show Invisible Objects, the animation is frozen. (This can be handy in itself.) Dar **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From FlexibleLearning at aol.com Mon Aug 25 11:16:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon Aug 25 11:16:00 2003 Subject: repeat for each.... Message-ID: on tryLoopFor put "a,b,c,d,e,f" into charList repeat for each item n in charList put item n of charList into line n of newCharList ** put n of charList into... end repeat put newCharList &&"for" end tryLoopFor The variable n contains the item value, not the number of the item... Ech time the routine cycles, n takes on the value of the next item in charList. But you have a wee problem using 'for each' in your example above given thant n is not a number so you cannot use it to refer to a line of newCharList. Either try including an incrementor, or stick to your original 'repeat with n=1 to ...' system. hth /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhurley at infostations.com Mon Aug 25 11:47:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Aug 25 11:47:00 2003 Subject: Paint Tools In-Reply-To: <200308251211.IAA07560@www.runrev.com> References: <200308251211.IAA07560@www.runrev.com> Message-ID: > >Message: 14 >Date: Mon, 25 Aug 2003 07:02:06 -0600 >From: "Dale Pond" >To: "Revolution" >Subject: Paint Tools >Reply-To: use-revolution at lists.runrev.com > >Hi, > >Is there a manual on using the Paint Tools? Can't find it referenced in >the Documentation. Actually is there a Rev manual or how-to book that >covers drawing graphics? > >I have a HC script that draws geometric patterns according to math >calculations. Works great in HC but the pencil tool does not draw in Rev >(or if it does I can't see the result). The pencil will draw in a new >stack but not on this imported HC stack. I don't think I understand how >Rev draws, hence the need for a simple manual or how-to instructions. >Here's the script: Dale, I chose some numbers for a,b,d,... etc. in your script and it worked for me. It drew two rectangle and a line. Is it possible that your line was masked by the rectangles? May I suggestion that you might find Turtle Graphics to be helpful for the pencil drawings you are doing? It will be found under TurtleGraphics.rev on my web site: http://home.infostations.net/jhurley/ Jim From jperryl at ecs.fullerton.edu Mon Aug 25 12:23:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Aug 25 12:23:01 2003 Subject: Reminder: SoCal Mini-RevDevCon Tuesday night In-Reply-To: Message-ID: Richard, If you ever do one in the San Diego area... Judy On Mon, 25 Aug 2003, Richard Gaskin wrote: > Just a reminder that the next Southern California RevDevCon will be on > Tuesday, August 26, at 7pm here at the Fourth World Embassy in downtown Los > Angeles. > > These RevDevCons are small informal gatherings of Revolution and MetaCard > developers in which we talk code, solve problems, and enjoy the rare treat > of seeing listees in person. > > The agenda for the meeting has changed to include a presentation by Scott > Rossi who's coming down from the SF Bay area to attend: > > 7:00 - 7:30: Introductions, gab about code. > > 7:30 - 8:30: We'll walk 50 yards to the restaurant in this > complex, Barabara's (which has an excellent > wine list) for dinner and more gabbing. > > 8:30 - 9:00: We return to the Embassy where Geoff Canyon will > give a presentation about some cool new stuff > he's been working on. > > 9:00 - 9:30: Scott Rossi will share some nifty tools he's crafted. > > 9:30 -?: Gab some more and eventually call it a night. > > If you'd like to attend just show up. If you need directions drop me an > email and I'll send 'em to you. > > See ya' then.... > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Tel: 323-225-3717 AIM: FourthWorldInc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dalesvp at qwest.net Mon Aug 25 12:24:02 2003 From: dalesvp at qwest.net (Dale Pond) Date: Mon Aug 25 12:24:02 2003 Subject: Paint Tools References: <200308251211.IAA07560@www.runrev.com> Message-ID: <3F4A4613.8080903@qwest.net> Jim Hurley wrote: > Dale, > > I chose some numbers for a,b,d,... etc. in your script and it worked > for me. It drew two rectangle and a line. Is it possible that your > line was masked by the rectangles? > > May I suggestion that you might find Turtle Graphics to be helpful for > the pencil drawings you are doing? It will be found under > TurtleGraphics.rev on my web site: > > http://home.infostations.net/jhurley/ > > Jim > Wow! It works!? That's great news. I think the problem lies in how Rev draws. Here is a quote from the Documentation: "If you try to paint with the pencil on a card that has no images, an image the size of the card is created to hold the painting. If the current card already has one or more images, painting outside the image has no effect." So on a new card the pencil will draw on a created image. But on this imported card the image is either not being created when initiating the draw or something else is (not) happening. The card already has an image which holds the fld names, b, e, d and a (imported this way). So do I somehow create a second image? Or.... maybe I can show the fld names and delete the existing image? I'll give it a whirl. I'll check out your Turtle Graphics. For some time I've suspected Turtle (Logo) graphics might be what I'm ultimately looking for but haven't found a way to use it yet. -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From mail at richard-hillen.de Mon Aug 25 14:29:01 2003 From: mail at richard-hillen.de (R. Hillen) Date: Mon Aug 25 14:29:01 2003 Subject: A Rev-Database used from different OSes Message-ID: <742CB2D6-D731-11D7-87FF-000393854988@richard-hillen.de> Hello list, I?m working with my co-workers in a mixed environment: Windows, OS9, OSX In former times (before Rev 2.0) I built some little databases using a splash screen as mainstack and a database in a substack. Building the standalones for Mac OS, Windows and OSX I crossed in the distribution-builder "Move substacks into individual files" and "Create folder for substacks "data"". So I got for each OS a folder with a Program (=standalone of the (splash) main stack), say "Main_Win", "Main_OS9" and "Main_OSX" and identical folders "Data" with the substack inside. I then copied the three Main-Programms together with a Data-Folder in a common folder to our shared NT-server, so all could use the database from their OSes. Now with > Rev 2.0 there is a problem with OSX. If you build a standalone, the Distribution-builder builds a package with the database-substack inside. So I can?t use my method as written above. I think, the possibility to build a package is ok, but I would like to have also the old arrangement with data-folder outside the package. Do you know a solution for this problem? Thanx in advance Richard Hillen. From mail at richard-hillen.de Mon Aug 25 14:29:44 2003 From: mail at richard-hillen.de (R. Hillen) Date: Mon Aug 25 14:29:44 2003 Subject: News from Mac OSX - The Solution of the Mysterious Serial Port - Message-ID: <762A680D-D731-11D7-87FF-000393854988@richard-hillen.de> Hello list, thank you all for your answers. In the meantime I used your tips, esp. waits between openPort, send, read, closePort. For testing I used a bridge from pin 2 to pin 3 (DB9 or DB25) to send _and_ receive with my serial device and had success. So I think, the main problem was using a serial RS232-Port on the windows terminal-side with a serial RS 485-port on the Mac-side, which resulted in not well defined voltages. Finally I tested on Mac OSX 10.2.6, Rev 2.1 using Griffin Technologies gPort and alternatively the Keyspan USB2Serial, both with success. Very happy Richard Hillen. From castor at brevet.nu Mon Aug 25 14:30:07 2003 From: castor at brevet.nu (=?ISO-8859-1?Q?Benny_Fr=F6din?=) Date: Mon Aug 25 14:30:07 2003 Subject: Drawer in 2.1c (Benny Frodin) In-Reply-To: <200308251211.IAA07599@www.runrev.com> Message-ID: <97AD6BB0-D731-11D7-AF1D-000A95A0CDE6@brevet.nu> To set the height and width doesent help have you tryed it? m?ndagen den 25 augusti 2003 kl 14.11 skrev use-revolution-request at lists.runrev.com: > > Le lundi, 25 ao? 2003, ? 08:26 Europe/Brussels, Benny Fr?din a ?crit : > >> Hi! >> When I open the New drawer thing its size decrease for >> each time I open the drawer >> Why?? >> BF >> > > Set the height of the width of the stack before opening the stack and > it will be allright. > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > From yoy at comcast.net Mon Aug 25 14:35:02 2003 From: yoy at comcast.net (yoy) Date: Mon Aug 25 14:35:02 2003 Subject: Launch command alternatives? Message-ID: <000901c36b3f$065c9bb0$b2ea5144@fatal7lcf637rj> launch myDoc with myApp It fails if myApp is already open. Well that's kinda/sorta what my launch app needs to do often. Any ideas? Thanks, Andy From alrice at ARCplanning.com Mon Aug 25 15:25:00 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 25 15:25:00 2003 Subject: application browser: order of substacks? Message-ID: <53DB35C2-D739-11D7-BF7B-000393529642@ARCplanning.com> Is it possible to change the order that the Application Browser displays substacks? The order created is not always the best sequence to display them in. I've got a lot of substacks and makes using the app browser more difficult. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From rgmiller at pacbell.net Mon Aug 25 15:33:00 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Mon Aug 25 15:33:00 2003 Subject: Scrollbar oddity References: <200307111602.MAA11323@www.runrev.com> Message-ID: <3F4A6A4E.7090605@pacbell.net> Listers, Have a possible bug in the scrollbars. I have a window which displays thumbnail-sized pix-- 2 columns by 3 rows-- that is, six pictures are displayed at one time. The user can "mark" any pix by a checkBox under each picture. He can then switch between the main database and the marked list by flipping a toggle. The problem is than if the user selects less than 7 pix, then flips to the marked list and then back to the main list, the lineIncrement and the pageIncrement go wonkie. The scrollBar sez it's set to 5 and 76, repectively! Selecting 7 or more pix will "normalize" the scrollBar. Any ideas? ---------------- on setTheScrollBar global gLineInc,gPageInc -- gLineInc is set elsewhere at 152 put the number of lines in fld "ed.thePixDB" into theNum put 6 into numOfPix ## in the display put ((theNum) + (theNum mod 2) - numOfPix) * gLineInc into theEnd if theEnd < gLineInc then put gLineInc into theEnd ### less than 6 pix to show set the startValue of part "thePixScroll" to gLineInc set the endValue of part "thePixScroll" to theEnd put 2 * gLineInc into theLineInc ### to scroll properly 'cause it's 2 pix wide!!!! set the lineIncrement of part "thePixScroll" to theLineInc set the pageIncrement of part "thePixScroll" to gPageInc ## put theLineInc , gPageInc ## should be "912,304" but becomes 76,5 if number of pix < 7 !! set the thumbPos of part "thePixScroll" to gLineInc ## set the thumb size put (gPageInc/numOfPix) + (theLineInc/4) - gLineInc into theThumSiz set the thumbSize of part "thePixScroll" to theThumSiz ## show how many marked record put "1 of " & theNum & " records" into fld "theCount" scrollThisList gLineInc ### reset to top of scroll end setTheScrollBar Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From revlist at cableone.net Mon Aug 25 15:34:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Mon Aug 25 15:34:01 2003 Subject: problem positioning a sub stack using globalLoc Message-ID: <000d01c36b47$65f745e0$6401a8c0@chris1> I have a sub stack that I want to open when a user clicks on a list of words. I'm trying to position the sub stack right over the top of this list of words, which are in a group called "Key Words". Obviously I can't use the location of that group, since it's relative to the main stack and not to the screen. So I thought I'd try the globalLoc function, which seems to return the correct value when used in the Message Box, but not when I use it in a script. I copied and pasted this line of code put the globalLoc of (the loc of grp "Key Words" of cd "Prediction" of stack "RNStories") directly from my script into the message box, and the returned values are not consistent. Is there a better way to do this? How can I set the loc of a sub stack so that it covers an object in my main stack? Thanks, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From themacguy at macosx.com Mon Aug 25 15:34:25 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 25 15:34:25 2003 Subject: Font size changes for no good reason Message-ID: <9F07E008-D73A-11D7-B73A-000A95763ABC@macosx.com> I'm developing a Windows app. I have a field on each card for which I've specified Arial 24 point in the Property Inspector. I've done this on each card. When I build a distribution -for Windows- the font ends up Arial 18. I've tried building the distribution with the checkboxes for fonts & colors both checked and unchecked; there's no difference. In both case, the stand-alone is 18 point. I haven't even tried a distribution on OSX but I think I'll tweak it and build the distribution on my Mac for that platform. Any idea what's wrong? Thanks, Barry From rcozens at pon.net Mon Aug 25 15:44:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Aug 25 15:44:01 2003 Subject: A Rev-Database used from different OSes In-Reply-To: <742CB2D6-D731-11D7-87FF-000393854988@richard-hillen.de> References: <742CB2D6-D731-11D7-87FF-000393854988@richard-hillen.de> Message-ID: >Now with > Rev 2.0 there is a problem with OSX. If you build a >standalone, the Distribution-builder builds a package with the >database-substack inside. So I can?t use my method as written above. Hi Richard, All my distributions involving SDB expect a PlugIns folder for libraries & a Data folder for databases. The library & db stacks are NEVER made known to the Distribution Builder, and "Create folder for substacks" is NOT selected. When the standalone is created, I place it in a pre-configured distribution folder with PlugIns & Data folders containing the proper stacks & files. -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From rcozens at pon.net Mon Aug 25 15:44:32 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Aug 25 15:44:32 2003 Subject: Launch command alternatives? In-Reply-To: <000901c36b3f$065c9bb0$b2ea5144@fatal7lcf637rj> References: <000901c36b3f$065c9bb0$b2ea5144@fatal7lcf637rj> Message-ID: >launch myDoc with myApp > >It fails if myApp is already open. Hi Andy, What are the symptoms of failure? According to Transcript Dictionary, "If the application is already running, the launch command does nothing, and 'Process is already open.' is placed in the result function."; so you should be doing something like: launch myDoc with myApp get the result if it is not empty and it is not "Process is already open." then answer "Launch failed. " -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From heather at runrev.com Mon Aug 25 15:49:01 2003 From: heather at runrev.com (Heather Williams) Date: Mon Aug 25 15:49:01 2003 Subject: Revolution 2.1 Released Message-ID: Dear Listees, We are delighted to announce that Revolution 2.1 is now shipping. Revolution 2.1 includes dozens of new features and improvements: * Improved conformity with the Mac OS X interface style guidelines * All editions include support for MySQL, PostgreSQL, ODBC and Valentina * Improved support for Mac OS X Aqua appearance * Support for drawers and metal appearance on Mac OS X * System palettes which float above all applications You can download it from http://www.runrev.com/Revolution1/downloads.html Information about upgrading is available here: http://www.runrev.com/Revolution1/licensing1.html Warm Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From alrice at ARCplanning.com Mon Aug 25 15:53:01 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 25 15:53:01 2003 Subject: custom property with empty key name. Message-ID: <33EFE9E2-D73D-11D7-BF7B-000393529642@ARCplanning.com> I have a stack that has an empty line as it's first custom property name. The properties inspector won't let me rename or delete it. msg box: put the customKeys of stack "Administration Facility" importedCards isFacCalc revstack namespace clipsDriver (There is an empty line before importedCards) How can a work around this annoyance? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Mon Aug 25 18:10:30 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 25 18:10:30 2003 Subject: Launch command alternatives? In-Reply-To: Message-ID: On Monday, August 25, 2003, at 02:37 PM, Rob Cozens wrote: > What are the symptoms of failure? > > According to Transcript Dictionary, > > "If the application is already running, the launch command does > nothing, and 'Process is already open.' is placed in the result > function."; It seems to me that the "launch myDoc with myApp" form of the command is totally useless then. (That would be just like a .doc document not opening up when you double-click on it on your desktop, when MS Word was already running. With a popup "Can't open DOC file, MS Word application already running.") Hopefully just confused, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at ARCplanning.com Mon Aug 25 18:12:12 2003 From: alrice at ARCplanning.com (Alex Rice) Date: Mon Aug 25 18:12:12 2003 Subject: custom property with empty key name. In-Reply-To: <33EFE9E2-D73D-11D7-BF7B-000393529642@ARCplanning.com> Message-ID: <7129DF00-D73F-11D7-BF7B-000393529642@ARCplanning.com> On Monday, August 25, 2003, at 02:46 PM, Alex Rice wrote: > I have a stack that has an empty line as it's first custom property > name. The properties inspector won't let me rename or delete it. ... > How can a work around this annoyance? Stumbled upon a workaround right after sending this. Add a new custom property, then delete it. The empty keyed one gets purged then. Anyone else seen this; worth bug reporting? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From themacguy at macosx.com Mon Aug 25 18:13:46 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Aug 25 18:13:46 2003 Subject: Font size changes for no good reason - Wrong Message-ID: D-oh! I was saving the distribution to one folder but checking what had been altered in another (older distribution) folder. The font (in the "right" distribution) was exactly as I had specified it during development. The first thing that goes is your memory and I forgot what the second thing was. Barry From edgore at shinra.com Mon Aug 25 19:39:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Mon Aug 25 19:39:01 2003 Subject: resizeQuality property References: <7129DF00-D73F-11D7-BF7B-000393529642@ARCplanning.com> Message-ID: <001e01c36b67$bf8258a0$6701a8c0@ed> As Tuviah promised in bugzilla, version 2.1 does indeed include, undocumented, the ability to do high quality resizing of images. This feature is just for Windows and Linux - the Mac already had high quality resizing. Basically, all you do is set the resizeQuality of an image to "best", and all the sudden you have great looking images no matter how you scale them! I've put up a sample stack up at www.shinra.com/rev/resizequality.rev You should probably right click on the link to make sure it downloads correctly. Edwin Gore From ASGolub at dkhglaw.com Mon Aug 25 19:56:02 2003 From: ASGolub at dkhglaw.com (Alan S. Golub) Date: Mon Aug 25 19:56:02 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: Message-ID: <33526AA6-D75F-11D7-B447-000A957CB626@dkhglaw.com> I just tried to install v. 2.1 on two separate Macs running OS X, v. 10.2.6. I entered my license info when prompted, but got the message: Invalid License. Error 8. Worse, there doesn't seem to be any way to get back to the license input screen once this error message appears. I tried trashing 2.1 and reinstalling, but the error message pops up again without offering me the chance to enter my registration info. I purchased my upgrade to the new licensing system just about a month ago, and was using my new license just fine with v.2.02 and 2.03. Has anyone else experienced this problem? Is there a workaround? Any thoughts that I might be doing something wrong? Please contact me off-list if this isn't a common problem. Thanks all! From preid at reidit.co.uk Mon Aug 25 19:57:01 2003 From: preid at reidit.co.uk (Peter Reid) Date: Mon Aug 25 19:57:01 2003 Subject: Connecting to PostgreSQL DB? Message-ID: I've created a test db using PostgreSQL v7.3.3 on an iMac running Max OS X 10.2 which I can access over my LAN from my G4 (also running OS X 10.2) using both ssh and phpPgAdmin (using PHP 4.3.2 on the iMac). However, when I try to connect using Rev 2.0.3 revOpenDatabase (or any PostgreSQL admin tool such as PostmanQuery or SQLBoss Developer) I get connection refused??? In fact, none of the PostgreSQL admin tools will work directly on the iMac either?! I've tried turning off the built-in FireWall on the iMac and also allowing connections via PostgreSQL's 5432 port, but nothing works. Only if I use Terminal or phpPgAdmin can I get a connection and manipulate my test database? I can even use Terminal on my G4 and connect to the iMac using ssh and then use "psql testdb" to get at the database. Or I can use a broswer on my G4 with "http://192.168.181.2/~postgres/phpPgAdmin/index.php" to gain remote admin control, but absolutely no joy with straight connection using either Rev 2.0.3 or the PostgreSQL admin tools which use an IP address, a port number, a user name, user password and a database name??? Obviously I'm doing something stupid and probably blindingly obvious, it's just that I can't see what it is!! Any ideas please? Peter PS the PostgreSQL config uses "md5" for user authentication. -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From index at kenjikojima.com Mon Aug 25 20:15:01 2003 From: index at kenjikojima.com (Kenji Kojima) Date: Mon Aug 25 20:15:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: <33526AA6-D75F-11D7-B447-000A957CB626@dkhglaw.com> Message-ID: Alan S. Golub wrote: > I just tried to install v. 2.1 on two separate Macs running OS X, v. > 10.2.6. I entered my license info when prompted, but got the message: > > Invalid License. Error 8. > > Worse, there doesn't seem to be any way to get back to the license > input screen once this error message appears. I tried trashing 2.1 and > reinstalling, but the error message pops up again without offering me > the chance to enter my registration info. > > I purchased my upgrade to the new licensing system just about a month > ago, and was using my new license just fine with v.2.02 and 2.03. Has > anyone else experienced this problem? > > Is there a workaround? Any thoughts that I might be doing something > wrong? Please contact me off-list if this isn't a common problem. > > Thanks all! I got same error message on OS X v. 10.2.6, put Revolution 2.0.2 Unlock Code. I thought I could use it. Was it wrong? -- Kenji Kojima http://www.kenjikojima.com/ From yoy at comcast.net Mon Aug 25 20:18:00 2003 From: yoy at comcast.net (yoy) Date: Mon Aug 25 20:18:00 2003 Subject: Launch command alternatives? References: Message-ID: <000c01c36b6e$b18c6a90$b2ea5144@fatal7lcf637rj> Alex, Agreed. This is not how I expected the launch command to behave either. It may be a cut-throat measure to prevent OS's that create multiple instances of an app from draining memory. But there should be (imho) an improvement to launch to let it send a document to an already open app. That's why I was seeking out alternatives. All the best, Andy ----- Original Message ----- From: "Alex Rice" To: Sent: Monday, August 25, 2003 4:51 PM Subject: Re: Launch command alternatives? > > On Monday, August 25, 2003, at 02:37 PM, Rob Cozens wrote: > > What are the symptoms of failure? > > > > According to Transcript Dictionary, > > > > "If the application is already running, the launch command does > > nothing, and 'Process is already open.' is placed in the result > > function."; > > It seems to me that the "launch myDoc with myApp" form of the command > is totally useless then. > > (That would be just like a .doc document not opening up when you > double-click on it on your desktop, when MS Word was already running. > With a popup "Can't open DOC file, MS Word application already > running.") > > Hopefully just confused, > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alrice at arcplanning.com Mon Aug 25 20:25:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Mon Aug 25 20:25:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: <33526AA6-D75F-11D7-B447-000A957CB626@dkhglaw.com> Message-ID: <33166A13-D763-11D7-9C8D-000393529642@arcplanning.com> On Monday, August 25, 2003, at 06:49 PM, Alan S. Golub wrote: > > Is there a workaround? Any thoughts that I might be doing something > wrong? Please contact me off-list if this isn't a common problem. > Rev 2.1 seems to be really picky about whitespace before/after the license. I had to try a few times to paste the license key into on both Windows and Mac. A lot of Mac text editors will put a linefeed after copying an entire line- maybe that's what the problem is? Just a guess. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Mon Aug 25 20:32:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Mon Aug 25 20:32:01 2003 Subject: Connecting to PostgreSQL DB? In-Reply-To: Message-ID: <380CA910-D764-11D7-9C8D-000393529642@arcplanning.com> On Monday, August 25, 2003, at 06:50 PM, Peter Reid wrote: > > Obviously I'm doing something stupid and probably blindingly obvious, > it's just that I can't see what it is!! Any ideas please? Make sure that pgsql is indeed running on port 5432. I could be wrong, but I think the default installation of pgsql runs with tcp/ip socket off, and only running a local unix domain socket. Opening the daemon on 5432 requires explicit configuration in postgresql.conf. see also pg_hba.conf. You can try "telnet localhost 5432" to see if there is anything listening on that port and rule out whether it's a firewall issue or just nothing is listening on 5432. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From monte at sweattechnologies.com Mon Aug 25 20:59:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 25 20:59:00 2003 Subject: icon global property Message-ID: Hi Can anyone get the icon global property to work in 2.1? I get a script error when I execute: set the icon to 1003 Regards Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From steve at nexpath.com Mon Aug 25 21:04:03 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Mon Aug 25 21:04:03 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: <33166A13-D763-11D7-9C8D-000393529642@arcplanning.com> References: <33166A13-D763-11D7-9C8D-000393529642@arcplanning.com> Message-ID: <3F4ABECD.2030707@nexpath.com> > Rev 2.1 seems to be really picky about whitespace before/after the > license. I had to try a few times to paste the license key into on both > Windows and Mac. I must be living right, I had no problem at all licensing 2.1 from Windows with the key I got with 2.01. -Steve From dsc at swcp.com Mon Aug 25 21:34:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 25 21:34:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: <33166A13-D763-11D7-9C8D-000393529642@arcplanning.com> Message-ID: On Monday, August 25, 2003, at 07:18 PM, Alex Rice wrote: > Rev 2.1 seems to be really picky about whitespace before/after the > license. I had to try a few times to paste the license key into on > both Windows and Mac. > > A lot of Mac text editors will put a linefeed after copying an entire > line- maybe that's what the problem is? Just a guess. My key looks base64 encoded. The decoding function ignores those (our should), so I would guess the problems are not white space at the ends. Dar Scott From dsc at swcp.com Mon Aug 25 21:35:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 25 21:35:01 2003 Subject: icon global property In-Reply-To: Message-ID: <175D9888-D76D-11D7-9F1E-000A9567A3E6@swcp.com> On Monday, August 25, 2003, at 07:52 PM, Monte Goulding wrote: > set the icon to 1003 I don't think it is a global icon, but is a stack icon. Or was that fixed? Dar From monte at sweattechnologies.com Mon Aug 25 21:54:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 25 21:54:00 2003 Subject: icon global property In-Reply-To: <175D9888-D76D-11D7-9F1E-000A9567A3E6@swcp.com> Message-ID: > > > set the icon to 1003 > > I don't think it is a global icon, but is a stack icon. Or was that > fixed? > From jhurley at infostations.com Mon Aug 25 22:35:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Mon Aug 25 22:35:00 2003 Subject: Alignment palette In-Reply-To: <200308252215.SAA05528@www.runrev.com> References: <200308252215.SAA05528@www.runrev.com> Message-ID: Am I the last to discover that the old alignment palette is still available in RR 2? Select two or more objects. Select "Object inspector" from the "Object" menu. This brings up a "Multiple object" palette. Select "Align Objects" from the pull down menu. What else am I missing? Jim From monte at sweattechnologies.com Mon Aug 25 23:08:02 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 25 23:08:02 2003 Subject: Alignment palette In-Reply-To: Message-ID: > > Am I the last to discover that the old alignment palette is still > available in RR 2? > > Select two or more objects. Select "Object inspector" from the > "Object" menu. This brings up a "Multiple object" palette. Select > "Align Objects" from the pull down menu. What else am I missing? > In Rev 2 there was a move towards a more context sensitive interface. Another example of this move is the mainStack button for each stack rather than the stack mover. Cheers Monte From alrice at arcplanning.com Mon Aug 25 23:41:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Mon Aug 25 23:41:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: Message-ID: On Monday, August 25, 2003, at 08:27 PM, Dar Scott wrote: > > My key looks base64 encoded. The decoding function ignores those (our > should), so I would guess the problems are not white space at the > ends. A good educated guess, but if you try it you will see otherwise: it won't accept whitespace around the license code. I have tested it with both the "License Revolution or try Evaluation" popup and the window you get via "Help | License Revolution..." Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Tue Aug 26 00:11:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 26 00:11:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: Message-ID: On Monday, August 25, 2003, at 10:35 PM, Alex Rice wrote: >> My key looks base64 encoded. The decoding function ignores those >> (our should), so I would guess the problems are not white space at >> the > ends. > > A good educated guess, but if you try it you will see otherwise: it > won't accept whitespace around the license code. I have tested it with > both the "License Revolution or try Evaluation" popup and the window > you get via "Help | License Revolution..." You experimentalists are always ruining perfectly good theories! I am hesitating on 2.1, but I have 2.1 RC1 and base64Decode seems to ignore whitespace OK in that. Maybe it tries to get the last line to be compatible with the old method of pasting all three fields at once and the last line is blank. (BTW, I went to the updated RunRev page on editions and clicked the link "This way please for a detailed explanation of your options..." and almost fell out of my chair laughing.) Dar Scott From alrice at arcplanning.com Tue Aug 26 00:18:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 00:18:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: Message-ID: > > (BTW, I went to the updated RunRev page on editions and clicked the > link "This way please for a detailed explanation of your options..." > and almost fell out of my chair laughing.) Looks like a html coding error: http://www.runrev.com/Revolution1/(EmptyReference!) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Tue Aug 26 00:29:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 00:29:00 2003 Subject: Launch command alternatives? In-Reply-To: <000c01c36b6e$b18c6a90$b2ea5144@fatal7lcf637rj> Message-ID: <5FF5948E-D785-11D7-9C8D-000393529642@arcplanning.com> On Monday, August 25, 2003, at 07:08 PM, yoy wrote: > Agreed. > > This is not how I expected the launch command to behave either. It may > be a > cut-throat measure to prevent OS's that create multiple instances of > an app > from draining memory. But what OS behaves like that? Windows 2000 and Mac OS X don't **. I don't think earlier versions of Mac OS did? Linux probably does create multiple instances of an app. AFAIK X Windows doesn't limit that kind of thing. ** Although it depends if it's a GUI app or just some command line process. > But there should be (imho) an improvement to launch to > let it send a document to an already open app. > > That's why I was seeking out alternatives. On OS X there are two alternatives: 1) Use shell() and call the "open" command. You can do "man open" at the terminal to see details. 2) Use applescript tell application Finder open "the:path:file" end tell Both of these methods should know Mac OS X Launch Services and will correctly handle the case where the app is already running but you want to open more documents. For Windows- I have no idea maybe this has been covered in the list in the past? BTW I just filed a mozilla bug #449 on the launch command. Apparently it doesn't grok application bundles on OS X so you have to workaround it with paths like launch "test2.txt" with "/Applications/TextEdit.app/Contents/MacOS/TextEdit" Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Tue Aug 26 00:33:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 26 00:33:00 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: Message-ID: On Monday, August 25, 2003, at 11:11 PM, Alex Rice wrote: >> (BTW, I went to the updated RunRev page on editions and clicked the >> link "This way please for a detailed explanation of your options..." >> and almost fell out of my chair laughing.) > > Looks like a html coding error: > > http://www.runrev.com/Revolution1/(EmptyReference!) Yes. This is probably the correct one: http://www.runrev.com/Revolution1/licensing2.html It reminded me of a silent movie gag in which the hero is waiting for a job interview with other nervous applicants and is called ahead of them. He seems pretty smug about this especially since he seems to be headed for the back office. The door is opened, he enters and suddenly realizes he is in the alley as the door slams behind him. Dar Scott From briany at qldlearning.com Tue Aug 26 00:44:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Tue Aug 26 00:44:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: Message-ID: <60A9F2DE-D787-11D7-B2DC-000393AA08D2@qldlearning.com> Although the internal Rev code may use base64Decode() , it could quite easily be first doing a check on the length of the key and throwing an error. In any case, I'm sure the Rev folks will fix this bug ASAP. Brian > I am hesitating on 2.1, but I have 2.1 RC1 and base64Decode seems to > ignore whitespace OK in that. From ludovic.thebault at laposte.net Tue Aug 26 00:46:00 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Tue Aug 26 00:46:00 2003 Subject: Old versions and licence Message-ID: <20030826073852777963.GyazMail.ludovic.thebault@laposte.net> Hello, I've just purchased Rev. 2.1. After the release of a new version, can i download rev 2.1 if i need to reinstall it, or i must stock it ? Thanks. From yvescoppe at skynet.be Tue Aug 26 01:04:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue Aug 26 01:04:01 2003 Subject: Drawer in 2.1c (Benny Frodin) In-Reply-To: <97AD6BB0-D731-11D7-AF1D-000A95A0CDE6@brevet.nu> Message-ID: <4F52BDB5-D78A-11D7-A0D7-003065E14B04@skynet.be> Le lundi, 25 ao? 2003, ? 21:23 Europe/Brussels, Benny Fr?din a ?crit : > To set the height and width doesent help > have you tryed it? > > Yes, it works. Greetings. Yves COPPE yvescoppe at skynet.be From andre.rombauts at win.be Tue Aug 26 01:15:00 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Tue Aug 26 01:15:00 2003 Subject: Revolution 2.1 Installation Problems under XP References: Message-ID: <001501c36b98$91094250$9e26fea9@piran> The 2.02 unlock code I got in late July for the Studio version is not working with the 2.1 under XP. Invalid Licence. Error code 7. Do I need to pay something for ther upgrade and get a new code? Andr? Rombauts From curry at pair.com Tue Aug 26 01:41:00 2003 From: curry at pair.com (curry) Date: Tue Aug 26 01:41:00 2003 Subject: 2.1 beta doesn't open In-Reply-To: <200308251211.IAA07560@www.runrev.com> References: <200308251211.IAA07560@www.runrev.com> Message-ID: I wrote: > I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing > happens; I see a zoom animation, but the app never starts. wouter wrote: >As you are working in Mac OS X you can get an idea what is wrong by >using the Console (you find this one in the utilities folder), open the >crash log for Revolution and see where it is crashing or what is >missing. Thanks! I got this: dyld: /Volumes/Revolution/Revolution 2.1/Revolution.app/Contents/MacOS/Revolution Undefined symbols: /Volumes/Revolution/Revolution 2.1/Revolution.app/Contents/MacOS/Revolution undefined reference to _kHIViewWindowContentID expected to be defined in Carbon Curry From sarahr at genesearch.com.au Tue Aug 26 02:18:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Aug 26 02:18:01 2003 Subject: 2.1 beta doesn't open In-Reply-To: Message-ID: <16DA6038-D794-11D7-A5B3-0003937A97B8@genesearch.com.au> It looks as if you are trying to run it from the disk image. Drag the Revolution folder to your Applications folder (or even the desktop) and all will be well. Cheers, Sarah On Tuesday, August 26, 2003, at 04:45 pm, curry wrote: > I wrote: > >> I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing >> happens; I see a zoom animation, but the app never starts. > > wouter wrote: > >> As you are working in Mac OS X you can get an idea what is wrong by >> using the Console (you find this one in the utilities folder), open >> the >> crash log for Revolution and see where it is crashing or what is >> missing. > > Thanks! I got this: > > dyld: /Volumes/Revolution/Revolution > 2.1/Revolution.app/Contents/MacOS/Revolution Undefined symbols: > /Volumes/Revolution/Revolution > 2.1/Revolution.app/Contents/MacOS/Revolution undefined reference to > _kHIViewWindowContentID expected to be defined in Carbon > > Curry > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From gcanyon at inspiredlogic.com Tue Aug 26 02:18:37 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Aug 26 02:18:37 2003 Subject: repeat for each.... In-Reply-To: <0183D284-D6FA-11D7-8213-000393675E42@maseurope.net> Message-ID: <9DD44F92-D794-11D7-89B4-003065683ECC@inspiredlogic.com> On Monday, August 25, 2003, at 05:45 AM, Mark Smith wrote: > on tryLoopWith > put "a,b,c,d,e,f" into charList > repeat with n = 1 to the number of items in charList > put item n of charList into line n of newCharList > end repeat > put newCharList && "with" > end tryLoopWith Others have answered the "repeat for each" question, but I can't resist: this will also do the trick: on tryLoopWith put "a,b,c,d,e,f" into charList put charList into newCharList replace "," with cr in newCharList put newCharList && "with" end tryLoopWith regards, Geoff Canyon gcanyon at inspiredlogic.com From ttasovac at princeton.edu Tue Aug 26 02:22:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Tue Aug 26 02:22:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: <33526AA6-D75F-11D7-B447-000A957CB626@dkhglaw.com> Message-ID: <1F55E26D-D795-11D7-9D4D-000393D60E0C@princeton.edu> Same here, except I get Invalid License. Error 7. Also unable to enter it again, upon each restart, the same error message is displayed. Am Dienstag, 26.08.03 um 02:49 Uhr schrieb Alan S. Golub: > I just tried to install v. 2.1 on two separate Macs running OS X, v. > 10.2.6. I entered my license info when prompted, but got the message: > > Invalid License. Error 8. From ttasovac at princeton.edu Tue Aug 26 03:29:00 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Tue Aug 26 03:29:00 2003 Subject: free, lightweight sql engine In-Reply-To: <20030709085312.knowledgeworks@Plus.Net> Message-ID: <81EE1BB8-D79E-11D7-9D4D-000393D60E0C@princeton.edu> Has anybody tested SQLite with Revolution? Also, considering that there are now precompiled binaries for Mac OSX -- how hard would be to install this for a Unix-illiterate person? T. Am Mittwoch, 09.07.03 um 09:53 Uhr schrieb revolution at knowledgeworks.plus.com: > I thought this might be of interest to Revolution developers. SQLite > is an cross-platform embedded SQL engine (basically DLL and an ODBC > driver). It appears to be completely free (as in beer and speech). > In this sense it is more free than MySQL (my understanding is that the > latter is not free for use if distributed as part of a commercial > application). > > There are bindings for many different languages (there could be a > native Transcript binding if Runrev were so inclined, and SQLite could > be distributed as a part of Rev). > From rbarber at yhb.att.ne.jp Tue Aug 26 03:35:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Tue Aug 26 03:35:01 2003 Subject: 2.1 beta doesn't open In-Reply-To: <16DA6038-D794-11D7-A5B3-0003937A97B8@genesearch.com.au> Message-ID: Hi Sarah, Curry I have the same problem Curry does. 2.0.3 works fine, 2.1 release version bounces once but does not even open. > It looks as if you are trying to run it from the disk image. Drag the > Revolution folder to your Applications folder (or even the desktop) and > all will be well. > dyld: /Applications/Revolution 2.1/Revolution.app/Contents/MacOS/Revolution Undefined symbols: /Applications/Revolution 2.1/Revolution.app/Contents/MacOS/Revolution undefined reference to _kHIViewWindowContentID expected to be defined in Carbon As you can see, I ran it from the app folder and hit the same snag. Privileges are set to Read/Write for all groups and I'm the admin anyway. Any other suggestions? Thanks Ron >> >>> I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing >>> happens; I see a zoom animation, but the app never starts. >> >> wouter wrote: >> >>> As you are working in Mac OS X you can get an idea what is wrong by >>> using the Console (you find this one in the utilities folder), open >>> the >>> crash log for Revolution and see where it is crashing or what is >>> missing. >> >> Thanks! I got this: >> >> dyld: /Volumes/Revolution/Revolution >> 2.1/Revolution.app/Contents/MacOS/Revolution Undefined symbols: >> /Volumes/Revolution/Revolution >> 2.1/Revolution.app/Contents/MacOS/Revolution undefined reference to >> _kHIViewWindowContentID expected to be defined in Carbon >> >> Curry >> _______________________________________________ >> 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 francois.cuneo at cuk.ch Tue Aug 26 04:09:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Tue Aug 26 04:09:01 2003 Subject: Revolution 2.1: the delete line is fixed! In-Reply-To: Message-ID: Hello! It's possible now to delete a line in a fld without problem. Thank you to have fixed that! Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch > De?: curry > R?pondre ??: use-revolution at lists.runrev.com > Date?: Tue, 26 Aug 2003 01:31:53 -0500 > ??: use-revolution at lists.runrev.com > Objet?: Re: 2.1 beta doesn't open > > I wrote: > >> I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing >> happens; I see a zoom animation, but the app never starts. > > wouter wrote: > >> As you are working in Mac OS X you can get an idea what is wrong by >> using the Console (you find this one in the utilities folder), open the >> crash log for Revolution and see where it is crashing or what is >> missing. > > Thanks! I got this: > > dyld: /Volumes/Revolution/Revolution > 2.1/Revolution.app/Contents/MacOS/Revolution Undefined symbols: > /Volumes/Revolution/Revolution > 2.1/Revolution.app/Contents/MacOS/Revolution undefined reference to > _kHIViewWindowContentID expected to be defined in Carbon > > Curry > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From francois.cuneo at cuk.ch Tue Aug 26 04:12:01 2003 From: francois.cuneo at cuk.ch (Fran=?ISO-8859-1?B?5w==?=ois Cuneo) Date: Tue Aug 26 04:12:01 2003 Subject: REv 2.1: Open by double click always with bug on OSX In-Reply-To: Message-ID: Hello! With the commercial 2.1, it's always impossible to open a rev.file (or edb) with a double click on the finder. I obtain (in FRENCH, sorry:-)): "L'op?ration n'a pu ?tre effectu?e une erreur est survenue (code 1000)" Is it the same for you who are speaking English? Fiendly Fran?ois -------------- Fran?ois Cuneo Site Web d?di? au Macintosh http://www.cuk.ch E-mail: francois.cuneo at cuk.ch From peter9.smith at ps.ge.com Tue Aug 26 04:14:02 2003 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Tue Aug 26 04:14:02 2003 Subject: Newbie enquiry re using Revolution for Myst style games Message-ID: <6192367D59F8904CA553579EF41FEEA0019F1854@ukcbgx01psge.geips.ge.com> I'd like to take digital pictures and movies of say my house then create a poor man's Myst style 'game' which I can send to friends. Revolution seems like a good contender to do this in as it's reasonably priced and cross-platform. Any comments on how suitable Revolution is for creating something a step or two up from slideshows in DVD format? How far does Revolution support Quicktime? Say for things like transitions? How possible is it for a program to generate Revolution code as opposed to typing it in? Presumably converting from Hypercard or Supercard to Revolution requires something along these lines? Thanks for any feedback, Peter Smith. From FlexibleLearning at aol.com Tue Aug 26 04:28:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue Aug 26 04:28:01 2003 Subject: Launch command alternatives Message-ID: <1d4.fe37798.2c7c808f@aol.com> on launchURL tURL # tURL can be a local file path, a web URL or an eMail address. local tResult="" if ("@" is not in tURL) and ("www." is not in tURL) and (there is not a file tURL) then get smartAnswer("Error","This document cannot be found.","OK") exit to top end if if (char 1 to 4 of tURL is "www.") then put "http://" before tURL else if (tURL contains "@" and "mailto:" is not in tURL) then put "mailto:" before tURL switch the platform case "MacOS" if "http://" is in tURL or "mailto:" is in tURL then send tURL to program "Finder" with "GURLGURL" else replace "/" with ":" in tURL if char 1 of tURL is ":" then delete char 1 of tURL put quote&"Finder""e into tApp put quote&tURL"e into tURL put "tell application"&& tApp &cr&\ "open file"&&tURL &cr&\ "end tell" into tScript do tScript as AppleScript if "error" is in the result then put the result into tResult end if break case "Win32" set the hideConsoleWindows to true put empty into tApp if ("NT" is in the systemVersion) then set the shellCommand to "cmd.exe" put quote & quote into tApp end if get shell("start" && tApp && quote & tURL & quote) if the result is not empty then put the result into tResult break end switch if tResult is not empty then get smartAnswer("The following error is reported",tResult,"OK") end if end launchURL /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gary.rathbone at btclick.com Tue Aug 26 04:59:01 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Tue Aug 26 04:59:01 2003 Subject: Collecting card field info... Message-ID: <001001c36bb7$c714eb50$f500000a@qedscompaq> I've got a small project with a data capture requirement. Users create their own fields, so I'm looking for something like... Repeat for the number of cards in this stack --1 Repeat for each field on this card --2 Put the name of this field after gFieldList End--2 End --1 Once I know the reference of each field I can grab the contents and process accordingly. Can anyone assist with the syntax? Many Thanks Gary Rathbone -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Tue Aug 26 05:16:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 26 05:16:01 2003 Subject: Collecting card field info... In-Reply-To: <001001c36bb7$c714eb50$f500000a@qedscompaq> Message-ID: <20030826101018.61281.qmail@web11905.mail.yahoo.com> --- Gary Rathbone wrote: > I've got a small project with a data capture > requirement. Users create > their own fields, so I'm looking for something > like... > > Repeat for the number of cards in this stack --1 > Repeat for each field on this card --2 > Put the name of this field after gFieldList > End--2 > End --1 > > Once I know the reference of each field I can grab > the contents and > process accordingly. > > Can anyone assist with the syntax? > Many Thanks > > Gary Rathbone > Hi Gary, You were actually almost there :-) -- gather the long ID of all fields repeat with i = 1 to the number of cards repeat with j = 1 to the number of fields \ of card i put the long ID of fld j of card i & return \ after tFieldIDList end repeat end repeat -- remove the trailing return delete char -1 of tFieldIDList -- now process the data in the fields repeat for each line tFieldID in tFieldIDList -- ... end repeat Using the long ID instead of the name ensures that you get _all_ the correct data, even if there are two fields on the same card with the same name. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From klaus at major-k.de Tue Aug 26 06:27:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 26 06:27:01 2003 Subject: icon global property In-Reply-To: Message-ID: <5555007C-D7B7-11D7-8271-000A27B49A96@major-k.de> Hi Monte, >>> set the icon to 1003 >> I don't think it is a global icon, but is a stack icon. Or was that >> fixed? >> > From the docs: > icon global,button,stack property > > set the icon of this stack to 974 > set the icon of button "Help" to "Question Mark" > set the icon to the myAppIcon of stack "Main Settings" > > It seems to work for stack but it only places the image over the > shrunk down > window in the dock. ...and that's the exact and only purpose of this new property :-) From the dox: On OS X systems, a stacks icon is displayed in the dock when the stack is minimized. On Unix systems, the stacks icon is displayed on the desktop when the stack is iconified. Setting a stack?s icon property has no effect on Mac OS and Windows systems. > Regards > > Monte Regards Klaus Major klaus at major-k.de www.major-k.de From richmond at mail.maclaunch.com Tue Aug 26 06:36:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue Aug 26 06:36:01 2003 Subject: Printing Out the RR 2.1 Documentation Message-ID: Dear RunRev Afficionados, Richard Gaskin's 'revrtfer.rev' stack works with RR2.1 (it did not with some of the earlier versions) - although it produces a text document with more than 2000 pages- so cheap-jacks who are thinking of getting away without purchasing a manual (who? me?) have also to find a printer, 4 boxes of paper, and print out in the middle of the night......frankly hardly worth the effort. However, it is sometimes useful to have the odd page of the user docs in an editable form. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From klaus at major-k.de Tue Aug 26 06:40:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 26 06:40:01 2003 Subject: Drawer in 2.1c (Benny Frodin) In-Reply-To: <4F52BDB5-D78A-11D7-A0D7-003065E14B04@skynet.be> Message-ID: <3413C4D0-D7B9-11D7-8271-000A27B49A96@major-k.de> Hi all, > Le lundi, 25 ao? 2003, ? 21:23 Europe/Brussels, Benny Fr?din a ?crit : > >> To set the height and width doesent help >> have you tryed it? >> > Yes, it works. > > Greetings. > > Yves COPPE > yvescoppe at skynet.be in 2.1 (Final) the drawer resize problem is here again... :-( The drawer stack is not resizable and also has the script: on preopenstack set the height of this stck to 256 set the width of this stack to 256 ## original size... just to be sure, but has no effect... end preopenstack After 5 or 6 times opening/closing that drawer has shrunk to 128 pixel in height... AND no more shrinking after 128 pixel...!? Not actually my desired behaviour... Any hints or similar experiences? Regards Klaus Major klaus at major-k.de www.major-k.de From janschenkel at yahoo.com Tue Aug 26 06:52:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 26 06:52:00 2003 Subject: Drawer in 2.1c (Benny Frodin) In-Reply-To: <3413C4D0-D7B9-11D7-8271-000A27B49A96@major-k.de> Message-ID: <20030826114629.13923.qmail@web11903.mail.yahoo.com> --- Klaus Major wrote: > Hi all, > > > Le lundi, 25 ao? 2003, ? 21:23 Europe/Brussels, > Benny Fr?din a ?crit : > > > >> To set the height and width doesent help > >> have you tryed it? > >> > > Yes, it works. > > > > Greetings. > > > > Yves COPPE > > yvescoppe at skynet.be > > in 2.1 (Final) the drawer resize problem is here > again... :-( > > The drawer stack is not resizable and also has the > script: > > on preopenstack > set the height of this stck to 256 > set the width of this stack to 256 > ## original size... just to be sure, but has no > effect... > end preopenstack > > After 5 or 6 times opening/closing that drawer has > shrunk to 128 pixel > in height... > > AND no more shrinking after 128 pixel...!? > > Not actually my desired behaviour... > > Any hints or similar experiences? > > > Regards > > Klaus Major > I ran into the same problem ; I could fix the height by moving the 'set the height' command to the 'openStack' handler, but it looks strange. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From wouter.abraham at pi.be Tue Aug 26 08:39:00 2003 From: wouter.abraham at pi.be (wouter) Date: Tue Aug 26 08:39:00 2003 Subject: 2.1 beta doesn't open In-Reply-To: <200308260829.EAA31326@www.runrev.com> Message-ID: Hi, As you get both the same result pointing in the Carbon direction (pity Ron didn't mention the OS X version he is using) it could mean in this case, as rev 2.1 is a major upgrade, that this part of your system software is not recent enough. May be a software update will put you out of misery. If not then a OS X version upgrade is advisable. Have a nice day, WA On dinsdag, aug 26, 2003, at 10:29 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 7 > Date: Tue, 26 Aug 2003 01:31:53 -0500 > To: use-revolution at lists.runrev.com > From: curry > Subject: Re: 2.1 beta doesn't open > Reply-To: use-revolution at lists.runrev.com > > I wrote: > >> I have Mac OS 10.1.3. When I double click on Rev 2.1 RC 1, nothing >> happens; I see a zoom animation, but the app never starts. > > wouter wrote: > >> As you are working in Mac OS X you can get an idea what is wrong by >> using the Console (you find this one in the utilities folder), open >> the >> crash log for Revolution and see where it is crashing or what is >> missing. > > Thanks! I got this: > > dyld: /Volumes/Revolution/Revolution > 2.1/Revolution.app/Contents/MacOS/Revolution Undefined symbols: > /Volumes/Revolution/Revolution > 2.1/Revolution.app/Contents/MacOS/Revolution undefined reference to > _kHIViewWindowContentID expected to be defined in Carbon > > Curry > > --__--__-- > > > > Message: 12 > Date: Tue, 26 Aug 2003 17:30:12 +0900 > Subject: Re: 2.1 beta doesn't open > From: Ron > To: > Reply-To: use-revolution at lists.runrev.com > > Hi Sarah, Curry > > I have the same problem Curry does. 2.0.3 works fine, 2.1 release > version > bounces once but does not even open. > >> It looks as if you are trying to run it from the disk image. Drag the >> Revolution folder to your Applications folder (or even the desktop) >> and >> all will be well. >> > dyld: /Applications/Revolution > 2.1/Revolution.app/Contents/MacOS/Revolution > Undefined symbols: > /Applications/Revolution 2.1/Revolution.app/Contents/MacOS/Revolution > undefined reference to _kHIViewWindowContentID expected to be defined > in > Carbon > > As you can see, I ran it from the app folder and hit the same snag. > Privileges are set to Read/Write for all groups and I'm the admin > anyway. > > Any other suggestions? > > Thanks > Ron From jhurley at infostations.com Tue Aug 26 08:41:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Tue Aug 26 08:41:00 2003 Subject: Buggy debugger? In-Reply-To: <200308260829.EAA31311@www.runrev.com> References: <200308260829.EAA31311@www.runrev.com> Message-ID: In the RR 2.1 debugger, a place where I hang out, I find that as I move the mouse over the script (with mouse up and no clicking) the debugger moves though the program steps--without a step over or any other action on my part. It appears to be responding to a mouseMove message. (Mac OS 9.2, PowerBook G4) Is this another feature I have missed? Jim From psahores at easynet.fr Tue Aug 26 08:56:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Aug 26 08:56:00 2003 Subject: Connecting to PostgreSQL DB? In-Reply-To: References: Message-ID: <1061905801.2525.15.camel@www.kmax.ici> Hello Peter, Have an eye on your "../pgsql/data/postgresql.conf" file and do test in the first lines of it by activing the TCP/IP connection and so : > # Connection Parameters > # > #tcpip_socket = false > tcpip_socket = true > > #ssl = false > > #max_connections = 32 > #superuser_reserved_connections = 2 > > #port = 5432 > port = 5432 Bests Regards, Pierre Le mar 26/08/2003 ? 02:50, Peter Reid a ?crit : > I've created a test db using PostgreSQL v7.3.3 on an iMac running Max > OS X 10.2 which I can access over my LAN from my G4 (also running OS > X 10.2) using both ssh and phpPgAdmin (using PHP 4.3.2 on the iMac). > However, when I try to connect using Rev 2.0.3 revOpenDatabase (or > any PostgreSQL admin tool such as PostmanQuery or SQLBoss Developer) > I get connection refused??? > > In fact, none of the PostgreSQL admin tools will work directly on the > iMac either?! I've tried turning off the built-in FireWall on the > iMac and also allowing connections via PostgreSQL's 5432 port, but > nothing works. Only if I use Terminal or phpPgAdmin can I get a > connection and manipulate my test database? > > I can even use Terminal on my G4 and connect to the iMac using ssh > and then use "psql testdb" to get at the database. Or I can use a > broswer on my G4 with > "http://192.168.181.2/~postgres/phpPgAdmin/index.php" to gain remote > admin control, but absolutely no joy with straight connection using > either Rev 2.0.3 or the PostgreSQL admin tools which use an IP > address, a port number, a user name, user password and a database > name??? > > Obviously I'm doing something stupid and probably blindingly obvious, > it's just that I can't see what it is!! Any ideas please? > > Peter > > PS the PostgreSQL config uses "md5" for user authentication. -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From Roger.E.Eller at sealedair.com Tue Aug 26 09:08:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue Aug 26 09:08:01 2003 Subject: 2.1 availability for other unix flavors Message-ID: I clicked the link below since it was announced that Rev 2.1 has been released, but in the engines directory there are only files for Linux or Windows. Heather wrote: > You can download it from > http://www.runrev.com/Revolution1/downloads.html The instructions on the download page says to download the distribution for unix, then get the engine for the specific platform. I need the file "Iris.gz" to get this running on an SGI Irix machine. When will it be available? http://runrev.com/revolution/downloads/engines/2.1/Iris.gz Roger Eller roger.e.eller at sealedair.com From revlist at cableone.net Tue Aug 26 09:09:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Tue Aug 26 09:09:01 2003 Subject: Buggy debugger? In-Reply-To: Message-ID: <000401c36bda$c56ca4a0$6501a8c0@chris1> I've seen this same behavior in the 2.0.3 debugger. Unfortunately I haven't been able to test it in 2.1 as I'm one of those with the license code issue. :-( Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Jim Hurley Sent: Tuesday, August 26, 2003 7:35 AM To: use-revolution at lists.runrev.com Subject: Buggy debugger? In the RR 2.1 debugger, a place where I hang out, I find that as I move the mouse over the script (with mouse up and no clicking) the debugger moves though the program steps--without a step over or any other action on my part. It appears to be responding to a mouseMove message. (Mac OS 9.2, PowerBook G4) Is this another feature I have missed? Jim _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From edgore at shinra.com Tue Aug 26 09:12:02 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 26 09:12:02 2003 Subject: Buggy debugger? Message-ID: <200308261405.h7QE5SCr007294@shinra.com> I have seen this as well, but I have never been able to come up with a repeatable formula for getting it to happen. I see it in actual large complicated stacks in progress, but whenever I try to build an example stack to turn in, it behaves itself. Very frustrating. >----- ------- Original Message ------- ----- >From: Jim Hurley >To: use-revolution at lists.runrev.com >Sent: Tue, 26 Aug 2003 06:34:40 > >In the RR 2.1 debugger, a place where I hang out, I >find that as I >move the mouse over the script (with mouse up and >no clicking) the >debugger moves though the program steps--without a >step over or any >other action on my part. It appears to be >responding to a mouseMove >message. (Mac OS 9.2, PowerBook G4) > >Is this another feature I have missed? > >Jim >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From janschenkel at yahoo.com Tue Aug 26 09:16:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 26 09:16:01 2003 Subject: Buggy debugger? In-Reply-To: Message-ID: <20030826141029.25570.qmail@web11904.mail.yahoo.com> --- Jim Hurley wrote: > In the RR 2.1 debugger, a place where I hang out, I > find that as I > move the mouse over the script (with mouse up and no > clicking) the > debugger moves though the program steps--without a > step over or any > other action on my part. It appears to be responding > to a mouseMove > message. (Mac OS 9.2, PowerBook G4) > > Is this another feature I have missed? > > Jim > Hi Jim, I see the same problem in the debugger in version 2.0.3 ; it looks like they wanted to display the execution context as a tooltip. If you feel adventurous, here are the steps to get rid of it : - in the message box, type edit the script of fld "script" of card "revScript" of stack "revTemplateScriptEditor" - and press return - comment out the "mouseMove" handler - quit Revolution, and click "Save" when it asks if you want to save changes to the stack "revTemplateScriptEditor" Now when you start Revolution and debug scripts, you won't have this problem. Hopefully we can download an update soon. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From wmb at internettrainer.com Tue Aug 26 09:22:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Aug 26 09:22:01 2003 Subject: application browser: order of substacks? In-Reply-To: <53DB35C2-D739-11D7-BF7B-000393529642@ARCplanning.com> Message-ID: <53EF8088-D7CF-11D7-A899-003065430226@internettrainer.com> On Montag, Aug 25, 2003, at 22:18 Europe/Vienna, Alex Rice wrote: > Is it possible to change the order that the Application Browser > displays substacks? The order created is not always the best sequence > to display them in. I've got a lot of substacks and makes using the > app browser more difficult. Me too... But, have a look at Geoffs Navigator. Thats the better applbro... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rcozens at pon.net Tue Aug 26 09:36:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Aug 26 09:36:01 2003 Subject: application browser: order of substacks? In-Reply-To: <53EF8088-D7CF-11D7-A899-003065430226@internettrainer.com> References: <53EF8088-D7CF-11D7-A899-003065430226@internettrainer.com> Message-ID: >>Is it possible to change the order that the Application Browser >>displays substacks? The order created is not always the best >>sequence to display them in. I've got a lot of substacks and makes >>using the app browser more difficult. Alex, Wolfgang, et al: I have never tried this; but I think it will do the job...without changing the AB. on orderSubs mainStack get the substacks of stack mainStack sort it set the substacks of stack mainStack to it save stack mainStack end orderSubs -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From richmond at mail.maclaunch.com Tue Aug 26 09:53:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue Aug 26 09:53:01 2003 Subject: The Death of 'RevJournal' ??? Message-ID: Does anybody know what has happened to RevJournal? Everybody's links don't work. Has this site died a death even before it was weaned? Hope not! Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From bvg at mac.com Tue Aug 26 10:16:02 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue Aug 26 10:16:02 2003 Subject: The Death of 'RevJournal' ??? In-Reply-To: Message-ID: <2AC94E7B-D7D7-11D7-8F2D-003065AD94A4@mac.com> I got no problem accessing http://www.revjournal.com/index.php On Dienstag, Aug 26, 2003, at 15:40 Europe/Zurich, Mathewson wrote: > Does anybody know what has happened to RevJournal? > Everybody's links don't work. > > Has this site died a death even before it was weaned? > > Hope not! > > Richmond > > __________________________________________________ > See Mathewson's software at: > > http://members.maclaunch.com/richmond/default.html and > http://www.runrev.com/Revolution1/developercentral/ > usercontributions.html > __________________________________________________ > --------------------------------------------------------------- > Great Macintosh Products > The MacLaunch Store! > http://www.maclaunch.com/cgi-launch/store/agora.cgi > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ASGolub at dkhglaw.com Tue Aug 26 10:16:38 2003 From: ASGolub at dkhglaw.com (Alan Golub) Date: Tue Aug 26 10:16:38 2003 Subject: The Death of 'RevJournal' ??? In-Reply-To: Message-ID: <5921E09C-D7D8-11D7-8BE8-000393BBDD30@dkhglaw.com> I'm not sure what you mean. revJournal is still very much alive. We posted two articles just last week, and we're finalizing two more for publication over the next few days. New comments were posted as recently as yesterday. From where I sit, all the links, including yours, work just fine. Please contact me off-list and expand on any problems you may be having. Thanks, Alan S. Golub Publisher, revJournal On Tuesday, August 26, 2003, at 09:40 AM, Mathewson wrote: > Does anybody know what has happened to RevJournal? > Everybody's links don't work. > > Has this site died a death even before it was weaned? > > Hope not! > > Richmond > > __________________________________________________ > See Mathewson's software at: > > http://members.maclaunch.com/richmond/default.html and > http://www.runrev.com/Revolution1/developercentral/ > usercontributions.html > __________________________________________________ > --------------------------------------------------------------- > Great Macintosh Products > The MacLaunch Store! > http://www.maclaunch.com/cgi-launch/store/agora.cgi > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger.E.Eller at sealedair.com Tue Aug 26 10:31:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue Aug 26 10:31:01 2003 Subject: The Death of 'RevJournal' ??? Message-ID: I just typed into the IE address bar "http://www.revjournal.com/" and got... Service Unavailable The proxy is currently unable to handle the request due to a (possibly) temporary error. Extended error information is: Failed to forward the request to the web server at www.revjournal.com:80. This may be due to a firewall configuration error or a DNS failure. Roger Eller roger.e.eller at sealedair.com > I'm not sure what you mean. revJournal is still very much alive. We > posted two articles just last week, and we're finalizing two more for > publication over the next few days. New comments were posted as > recently as yesterday. From where I sit, all the links, including > yours, work just fine. Please contact me off-list and expand on any > problems you may be having. > > Thanks, > Alan S. Golub > Publisher, revJournal > > > On Tuesday, August 26, 2003, at 09:40 AM, Mathewson wrote: > >> Does anybody know what has happened to RevJournal? >> Everybody's links don't work. >> >> Has this site died a death even before it was weaned? >> >> Hope not! >> >> Richmond From alrice at arcplanning.com Tue Aug 26 10:37:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 10:37:00 2003 Subject: The Death of 'RevJournal' ??? In-Reply-To: Message-ID: <45D784A4-D7DA-11D7-8FAA-000393529642@arcplanning.com> On Tuesday, August 26, 2003, at 09:19 AM, Roger.E.Eller at sealedair.com wrote: > Service Unavailable > The proxy is currently unable to handle the request due to a (possibly) > temporary error. Extended error information is: > Failed to forward the request to the web server at > www.revjournal.com:80. > This may be due to a firewall configuration error or a DNS failure. I am guessing this is a network error on your side not the revjournal side. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Tue Aug 26 10:42:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 10:42:00 2003 Subject: Newbie enquiry re using Revolution for Myst style games In-Reply-To: <6192367D59F8904CA553579EF41FEEA0019F1854@ukcbgx01psge.geips.ge.com> Message-ID: On Tuesday, August 26, 2003, at 03:06 AM, peter9.smith at ps.ge.com wrote: > I'd like to take digital pictures and movies of say my house then > create a > poor man's Myst style 'game' which I can send to friends. Revolution > seems > like a good contender to do this in as it's reasonably priced and > cross-platform. > > Any comments on how suitable Revolution is for creating something a > step or > two up from slideshows in DVD format? Perfectly suitable- the cards and stacks concept that Rev uses is just the ticket. > How far does Revolution support Quicktime? Say for things like > transitions? Good- a quicktime player object is embedded, and transitions can be applied between cards and stacks- to any content, not just the player object. > How possible is it for a program to generate Revolution code as > opposed to > typing it in? See the commands do, eval and value. Transcript is totally dynamic and you can generate code on the fly. I remember reading that somewhere Myst itself began it's life as a hypercard stack. Good luck! Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From pixelbird at interisland.net Tue Aug 26 10:45:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Aug 26 10:45:01 2003 Subject: Picture this In-Reply-To: <200308261314.JAA07884@www.runrev.com> Message-ID: Hello Rev'ers, I've been playing with my pseudo-scroller in SuperCard and ran across a snag. I'm also experimenting in RR. Here's the thing again: I'm trying to continuously scroll a field via script with a magnifier overlay across the middle. The scroll routine works quite well by simply changing the vertical component of the field location in the window. The problem is capturing a picture of the middle line and displaying it in a wider little palette window that overlies the portion where the picture is captured of the line in the field of the underlying window, then making it display simultaneously along with the scroll. This means the captured picture of the underlying line of text has to be re-displayed in the palette window in the same loop with the scroll routine. I have the routine going in SC by transferring the captured picture to the clipboard then back to the graphic in the palette. I've confirmed that it gets to the clipboard, because I can set the last capture manually and it shows up. However it won't display on the fly (haven't figured out why yet). Now, I'm looking for a similar solution in Rev. Any ideas at all? TIA, Ken N. From alrice at arcplanning.com Tue Aug 26 10:47:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 10:47:01 2003 Subject: The Death of 'RevJournal' ??? In-Reply-To: Message-ID: On Tuesday, August 26, 2003, at 07:40 AM, Mathewson wrote: > Does anybody know what has happened to RevJournal? > Everybody's links don't work. > > Has this site died a death even before it was weaned? > > Hope not! > > Richmond Lately with all of these Windows viruses going around, I've noticed there have been a lot of transient network problems as bandwidth gets eaten up and sysadmins struggle to patch their firewalls and routers. Maybe you are seeing thing kind of thing. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From preid at reidit.co.uk Tue Aug 26 10:47:34 2003 From: preid at reidit.co.uk (Peter Reid) Date: Tue Aug 26 10:47:34 2003 Subject: Connecting to PostgreSQL DB? In-Reply-To: <380CA910-D764-11D7-9C8D-000393529642@arcplanning.com> References: <380CA910-D764-11D7-9C8D-000393529642@arcplanning.com> Message-ID: Alex & Pierre Thank you both for guiding the blind! You were both correct, I needed to enable the tcpip_socket option. However, despite several "pg_ctl reload" attempts, the running copy of PostgreSQL wouldn't listen on port 5432. In the end I rebooted my iMac (acting as a db server) and restarted a new session of PostgreSQL. this sorted it! I can now connect using Rev 2.1 as well as using the admin tools I mentioned. Thanks again. Best regards Peter >Make sure that pgsql is indeed running on port 5432. I could be >wrong, but I think the default installation of pgsql runs with >tcp/ip socket off, and only running a local unix domain socket. >Opening the daemon on 5432 requires explicit configuration in >postgresql.conf. see also pg_hba.conf. > >You can try "telnet localhost 5432" to see if there is anything >listening on that port and rule out whether it's a firewall issue or >just nothing is listening on 5432. > >Alex Rice, Software Developer >Architectural Research Consultants, Inc. >http://ARCplanning.com >Have an eye on your "../pgsql/data/postgresql.conf" file and do test in >the first lines of it by activing the TCP/IP connection and so : > > >> # Connection Parameters >> # >> #tcpip_socket = false >> tcpip_socket = true >> >> #ssl = false >> >> #max_connections = 32 >> #superuser_reserved_connections = 2 >> >> #port = 5432 >> port = 5432 > >Bests Regards, Pierre >-- >Bien cordialement, Pierre Sahores > >Inspection acad?mique de Seine-Saint-Denis >Applications et SGBD ACID SQL (WEB et PGI) >Penser et produire "delta de rentabilit?" -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From foxcat at comcast.net Tue Aug 26 10:52:01 2003 From: foxcat at comcast.net (fatal error) Date: Tue Aug 26 10:52:01 2003 Subject: Launch comand alternative? Message-ID: <000701c36b39$174f80a0$b2ea5144@fatal7lcf637rj> launch myDoc with myApp It fails if myApp is already open. Well that's kinda/sorta what my launch app needs to do often. Any ideas? Thanks, Andy From masmi00 at attglobal.net Tue Aug 26 10:52:30 2003 From: masmi00 at attglobal.net (Mark Smith) Date: Tue Aug 26 10:52:30 2003 Subject: Repeat For Message-ID: <6F35ACD6-D72E-11D7-96C4-000393675E42@attglobal.net> Ludovic, Klaus and Dave...Thank you so much, all is now clear, and I'm not insane, merely a little dense, sometimes. Thanks again, Mark From csheffield at readnaturally.com Tue Aug 26 10:53:01 2003 From: csheffield at readnaturally.com (Chris Sheffield) Date: Tue Aug 26 10:53:01 2003 Subject: problem positioning a sub stack using globalLoc Message-ID: <000c01c36b46$b27683a0$6401a8c0@chris1> I have a sub stack that I want to open when a user clicks on a list of words. I'm trying to position the sub stack right over the top of this list of words, which are in a group called "Key Words". Obviously I can't use the location of that group, since it's relative to the main stack and not to the screen. So I thought I'd try the globalLoc function, which seems to return the correct value when used in the Message Box, but not when I use it in a script. I copied and pasted this line of code put the globalLoc of (the loc of grp "Key Words" of cd "Prediction" of stack "RNStories") directly from my script into the message box, and the returned values are not consistent. Is there a better way to do this? How can I set the loc of a sub stack so that it covers an object in my main stack? Thanks, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From doupsy at wanadoo.fr Tue Aug 26 10:54:01 2003 From: doupsy at wanadoo.fr (doupsy at wanadoo.fr) Date: Tue Aug 26 10:54:01 2003 Subject: date before 1935 Message-ID: Hello, I think there is a mistake here : Do this in the msg box : set the usesystemdate to true -- (I am french) put "25/02/1912" into da convert da to dateitems put da Then press Enter The result is : 2012,2,25,2,0,0,7 Why the result is not 1912 for the item 1 of dateitems ? (It is the same mistake with english dates). Thanks for your help. Edouard From masmi00 at attglobal.net Tue Aug 26 10:54:37 2003 From: masmi00 at attglobal.net (Mark Smith) Date: Tue Aug 26 10:54:37 2003 Subject: licensing issue Message-ID: <5BBF4588-D7D7-11D7-A754-000393675E42@attglobal.net> I've got the same problem...under 10.2.6, which I think is latest.... Mark Smith From jhurley at infostations.com Tue Aug 26 10:56:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Tue Aug 26 10:56:01 2003 Subject: Buggy debugger? In-Reply-To: <200308261314.JAA07908@www.runrev.com> References: <200308261314.JAA07908@www.runrev.com> Message-ID: Jim Hurley wrote: >In the RR 2.1 debugger, a place where I hang out, I find that as I >move the mouse over the script (with mouse up and no clicking) the >debugger moves though the program steps--without a step over or any >other action on my part. It appears to be responding to a mouseMove >message. (Mac OS 9.2, PowerBook G4) Chris Sheffied wrote: >I've seen this same behavior in the 2.0.3 debugger. Unfortunately I haven't >been able to test it in 2.1 as I'm one of those with the license code issue. >:-( > >Edwin Gore wrote: > >I have seen this as well, but I have never been able to come up with >a repeatable formula for getting it to happen. I see it in actual >large complicated stacks in progress, but whenever I try to build an >example stack to turn in, it behaves itself. Very frustrating. Chris and Edwin, Thanks for the confirmation. I'll submit this to Bugzilla. It also appear that the column misalignment in the variable watcher has not as yet been reported. The debugger was also late in stabilizing in 2.0. I wonder whether it is physician-heal-thyself thing? The debugger can't debug itself? Jim From alrice at arcplanning.com Tue Aug 26 11:05:02 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 11:05:02 2003 Subject: Launch comand alternative? In-Reply-To: <000701c36b39$174f80a0$b2ea5144@fatal7lcf637rj> Message-ID: <3F1566FC-D7DE-11D7-8FAA-000393529642@arcplanning.com> On Monday, August 25, 2003, at 12:45 PM, fatal error wrote: > launch myDoc with myApp > > It fails if myApp is already open. Well that's kinda/sorta what my > launch > app needs to do often. > > Any ideas? See the thread with subject: "Launch command alternatives", from yesterday :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From heather at runrev.com Tue Aug 26 11:09:02 2003 From: heather at runrev.com (Heather Williams) Date: Tue Aug 26 11:09:02 2003 Subject: 2.1 availability for other unix flavors In-Reply-To: <200308261314.JAA07908@www.runrev.com> Message-ID: > I clicked the link below since it was announced that Rev 2.1 has been > released, but in the engines directory there are only files for Linux or > Windows. > > Heather wrote: >> You can download it from >> http://www.runrev.com/Revolution1/downloads.html > > The instructions on the download page says to download the distribution > for unix, then get the engine for the specific platform. I need the file > "Iris.gz" to get this running on an SGI Irix machine. When will it be > available? > > http://runrev.com/revolution/downloads/engines/2.1/Iris.gz The unix distributions will be available in the next few days. They are not up yet. Regards, Heather -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From klaus at major-k.de Tue Aug 26 11:15:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 26 11:15:01 2003 Subject: date before 1935 In-Reply-To: Message-ID: <930F3E90-D7DF-11D7-8271-000A27B49A96@major-k.de> Bonjour Edouard, > Hello, > > I think there is a mistake here : No no, just one more of the wonders of RR ;-) > Do this in the msg box : Add this line (see the dox for "centurycutoff"): set the centurycutoff to 00 ## or any number < 12 > set the usesystemdate to true -- (I am french) > put "25/02/1912" into da > convert da to dateitems > put da > > Then press Enter > > The result is Et voila: 1912,2,25,2,0,0,7 !!! > ... > Thanks for your help. > > Edouard Au revoir... Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Tue Aug 26 11:24:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 26 11:24:01 2003 Subject: no problem positioning a sub stack using globalLoc In-Reply-To: <000c01c36b46$b27683a0$6401a8c0@chris1> Message-ID: Hi Chris, > I have a sub stack that I want to open when a user clicks on a list of > words. I'm trying to position the sub stack right over the top of > this list > of words, which are in a group called "Key Words". Obviously I can't > use > the location of that group, since it's relative to the main stack and > not to > the screen. So I thought I'd try the globalLoc function, which seems > to > return the correct value when used in the Message Box, but not when I > use it > in a script. I copied and pasted this line of code > > put the globalLoc of (the loc of grp "Key Words" of cd "Prediction" of > stack > "RNStories") > > directly from my script into the message box, and the returned values > are > not consistent. > > Is there a better way to do this? How can I set the loc of a sub > stack so > that it covers an object in my main stack? What about: ... set the bottomleft of stack "substack to position" to \ globalloc(the topleft of fld "listfield" of cd 1 of stack "XYZ") ... Works fine here :-) Hmmm, putting things on top of each other... Does anyone remember this Monty Python sketch? LOL... :-) > Thanks, You're welcome... > Chris Sheffield > Software Development > Read Naturally > csheffield at readnaturally.com Regards Klaus Major klaus at major-k.de www.major-k.de From psahores at easynet.fr Tue Aug 26 11:27:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Aug 26 11:27:00 2003 Subject: Connecting to PostgreSQL DB? In-Reply-To: References: <380CA910-D764-11D7-9C8D-000393529642@arcplanning.com> Message-ID: <1061914846.2524.38.camel@www.kmax.ici> Allo Peter, Postgres is to the SGBDR what Rev/MC are to development : a very great ACID RDBMS, always more powerfull than needed and never down. Have fun !!! Bests, Pierre Le mar 26/08/2003 ? 17:41, Peter Reid a ?crit : > Alex & Pierre > > Thank you both for guiding the blind! You were both correct, I > needed to enable the tcpip_socket option. However, despite several > "pg_ctl reload" attempts, the running copy of PostgreSQL wouldn't > listen on port 5432. In the end I rebooted my iMac (acting as a db > server) and restarted a new session of PostgreSQL. this sorted it! > > I can now connect using Rev 2.1 as well as using the admin tools I mentioned. > > Thanks again. > > Best regards > > Peter > > >Make sure that pgsql is indeed running on port 5432. I could be > >wrong, but I think the default installation of pgsql runs with > >tcp/ip socket off, and only running a local unix domain socket. > >Opening the daemon on 5432 requires explicit configuration in > >postgresql.conf. see also pg_hba.conf. > > > >You can try "telnet localhost 5432" to see if there is anything > >listening on that port and rule out whether it's a firewall issue or > >just nothing is listening on 5432. > > > >Alex Rice, Software Developer > >Architectural Research Consultants, Inc. > >http://ARCplanning.com > > > >Have an eye on your "../pgsql/data/postgresql.conf" file and do test in > >the first lines of it by activing the TCP/IP connection and so : > > > > > >> # Connection Parameters > >> # > >> #tcpip_socket = false > >> tcpip_socket = true > >> > >> #ssl = false > >> > >> #max_connections = 32 > >> #superuser_reserved_connections = 2 > >> > >> #port = 5432 > >> port = 5432 > > > >Bests Regards, Pierre > >-- > >Bien cordialement, Pierre Sahores > > > >Inspection acad?mique de Seine-Saint-Denis > >Applications et SGBD ACID SQL (WEB et PGI) > >Penser et produire "delta de rentabilit?" From stephenREVOLUTION at barncard.com Tue Aug 26 11:28:02 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Tue Aug 26 11:28:02 2003 Subject: Launch command alternatives Message-ID: The 'www.' prefix won't always work to detect a web address... I NEVER use www. anymore on noting my web sites.... makes the URL too long... > > if (char 1 to 4 of tURL is "www.") then put "http://" before tURL From psahores at easynet.fr Tue Aug 26 11:29:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Aug 26 11:29:01 2003 Subject: The Death of 'RevJournal' ??? In-Reply-To: References: Message-ID: <1061914941.2525.41.camel@www.kmax.ici> Works just fine from there (Paris/France). Bests, Pierre Le mar 26/08/2003 ? 17:19, Roger.E.Eller at sealedair.com a ?crit : > I just typed into the IE address bar "http://www.revjournal.com/" and > got... > > Service Unavailable > The proxy is currently unable to handle the request due to a (possibly) > temporary error. Extended error information is: > Failed to forward the request to the web server at www.revjournal.com:80. > This may be due to a firewall configuration error or a DNS failure. > > Roger Eller > roger.e.eller at sealedair.com > > > > I'm not sure what you mean. revJournal is still very much alive. We > > posted two articles just last week, and we're finalizing two more for > > publication over the next few days. New comments were posted as > > recently as yesterday. From where I sit, all the links, including > > yours, work just fine. Please contact me off-list and expand on any > > problems you may be having. > > > > Thanks, > > Alan S. Golub > > Publisher, revJournal > > > > > > On Tuesday, August 26, 2003, at 09:40 AM, Mathewson wrote: > > > >> Does anybody know what has happened to RevJournal? > >> Everybody's links don't work. > >> > >> Has this site died a death even before it was weaned? > >> > >> Hope not! > >> > >> Richmond > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From themacguy at macosx.com Tue Aug 26 11:30:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Aug 26 11:30:01 2003 Subject: Myst In-Reply-To: <200308261456.KAA15799@www.runrev.com> Message-ID: IIRC, the genesis of Myst was "The Manhole" which was a HC stack (multiple stacks due to the elaborate "hyper-linking" of its logic). It was further developed into a "real" program and, while I haven't been able to locate the Mac version, I have found the link to the Windows version: http://free-game-downloads.mosw.com/abandonware/pc/educational_games/ manhole_the.html It's "Abandonware" and is now a free download. My kids' first experience with a Mac was The Manhole (HC version). I had it running under HC 1.x in the MacWorks MacPlus emulation environment on my Lisa. It worked flawlessly and kept my kids entertained for hours. It also provided much of the "I can do that, too" attitude that led me down the path to Rev. Barry On Tuesday, Aug 26, 2003, at 08:56 America/Denver, Alex wrote: > I remember reading that somewhere Myst itself began it's life as a > hypercard stack. From klaus at major-k.de Tue Aug 26 11:30:28 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 26 11:30:28 2003 Subject: anohter date before 1935 In-Reply-To: Message-ID: Bonjour Edouard, > Hello, > > I think there is a mistake here : > > Do this in the msg box : > set the usesystemdate to true -- (I am french) > put "25/02/1912" into da > convert da to dateitems > put da i just found another method to get the right dateitems: put "25/02/1912" into da convert da to seconds ##!!! convert da to dateitems put da Will also give the correct dateitems. Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From themacguy at macosx.com Tue Aug 26 11:32:02 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Aug 26 11:32:02 2003 Subject: The Manhole - not free Message-ID: Oops! Didn't go far enough through that link I gave earlier. The site is now charging a subscription. Sorry. Barry From revlists at canelasoftware.com Tue Aug 26 11:32:37 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Aug 26 11:32:37 2003 Subject: Newbie enquiry re using Revolution for Myst style games In-Reply-To: <6192367D59F8904CA553579EF41FEEA0019F1854@ukcbgx01psge.geips.ge.com> Message-ID: On Tuesday, August 26, 2003, at 02:06 AM, peter9.smith at ps.ge.com wrote: > I'd like to take digital pictures and movies of say my house then > create a > poor man's Myst style 'game' which I can send to friends. Revolution > seems > like a good contender to do this in as it's reasonably priced and > cross-platform. > > Any comments on how suitable Revolution is for creating something a > step or > two up from slideshows in DVD format? > > How far does Revolution support Quicktime? Say for things like > transitions? > > How possible is it for a program to generate Revolution code as > opposed to > typing it in? Presumably converting from Hypercard or Supercard to > Revolution requires something along these lines? > > Thanks for any feedback, > It is totally possible to do this with Rev. The Quicktime support includes full access to QT transitions. As for auto code generation, nothing like this exists today. For now you will have to type it in. Best regards, Mark Talluto http://www.canelasoftware.com From psahores at easynet.fr Tue Aug 26 11:34:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Aug 26 11:34:01 2003 Subject: 2.1 availability for other unix flavors In-Reply-To: References: Message-ID: <1061915186.2524.46.camel@www.kmax.ici> Hi List, How many of us could be interesting in using Rev under Linux-PPC ? Thanks for the statistics ;-) Bests, Pierre Le mar 26/08/2003 ? 17:55, Heather Williams a ?crit : > > I clicked the link below since it was announced that Rev 2.1 has been > > released, but in the engines directory there are only files for Linux or > > Windows. > > > > Heather wrote: > >> You can download it from > >> http://www.runrev.com/Revolution1/downloads.html > > > > The instructions on the download page says to download the distribution > > for unix, then get the engine for the specific platform. I need the file > > "Iris.gz" to get this running on an SGI Irix machine. When will it be > > available? > > > > http://runrev.com/revolution/downloads/engines/2.1/Iris.gz > > The unix distributions will be available in the next few days. They are not > up yet. > > Regards, > > Heather -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From heather at runrev.com Tue Aug 26 12:00:01 2003 From: heather at runrev.com (Heather Williams) Date: Tue Aug 26 12:00:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: <200308260829.EAA31311@www.runrev.com> Message-ID: > Message: 10 > Date: Tue, 26 Aug 2003 09:15:50 +0200 > Subject: Re: Revolution 2.1 Installation Problems on OS X > From: Toma Tasovac > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Same here, except I get Invalid License. Error 7. > Also unable to enter it again, upon each restart, the same error > message is displayed. > Ok, it seems that certain of the replacement license codes were not correctly generated and are expired with 2.1 when they should not be. If you had a SBE or a Student/Teacher license, which would not be expired on or before 26th August 2003 (ie you purchased after 26th August 2002), you will need a new code. Please, if you can, first check that your license really hasn't expired by looking at the expiry date in your original licensing email, then email me with "Expired SBE/Student/Teacher" in the subject line and I'll send you a new code. Note, email me, heather at runrev.com, not the list... Cheers, Heather > > Am Dienstag, 26.08.03 um 02:49 Uhr schrieb Alan S. Golub: > >> I just tried to install v. 2.1 on two separate Macs running OS X, v. >> 10.2.6. I entered my license info when prompted, but got the message: >> >> Invalid License. Error 8. -- Heather Williams ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From FlexibleLearning at aol.com Tue Aug 26 12:25:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue Aug 26 12:25:01 2003 Subject: Launch command alternatives Message-ID: <1ca.fc68574.2c7cf06e@aol.com> > The 'www.' prefix won't always work to detect a web address... I > NEVER use www. anymore on noting my web sites.... makes the URL too > long... >> if (char 1 to 4 of tURL is "www.") then put "http://" before tURL So long as you pass a valid URL to the shell function or the Finder, the handler will work. Up to you how you do it. /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From capellan2000 at yahoo.com Tue Aug 26 12:26:08 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue Aug 26 12:26:08 2003 Subject: Ink Effects problem Message-ID: <20030826171941.59066.qmail@web40513.mail.yahoo.com> Thanks to Malte Brill, for sending me a screenshot of this stack running in his platform. Could anyone send me screenshot of this stack running in MacOS X and Linux? http://www.geocities.com/capellan2000/Ink_Effects.zip Thanks in advance. Alejandro --- Alejandro Tejada wrote: > Date: Sun, 24 Aug 2003 13:38:55 -0700 (PDT) > From: Alejandro Tejada > Subject: Ink Effects problem > To: metacard at lists.runrev.com > CC: use-revolution at lists.runrev.com > > Hi developers, > > Visit my webpage and download the file: > > Ink Effect.zip > > This file shows the use of the ink effects > srcAnd & srcOr. > > It represents the RGB and CMYK color > system. > > Please verify for me how it looks on > Mac and linux. > > ===== > Visit my site: > http://www.geocities.com/capellan2000/ > Search the mail list: > http://mindlube.com/cgi-bin/search-use-rev.cgi > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alrice at arcplanning.com Tue Aug 26 12:31:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 12:31:01 2003 Subject: merge property profiles? Message-ID: <3D79395E-D7EA-11D7-8FAA-000393529642@arcplanning.com> I have created hundreds of objects and accidentally edited the objects with a custom property profile selected. I now want to revert to the Master profile, but maintain the properties from the other profile to the master profile. Is this possible? I can't find a way to script a repeat through the properties of the custom profile. Ugh. Hopefully I'm just overlooking something. Can revnavigator do this? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Tue Aug 26 12:38:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 12:38:00 2003 Subject: 2.1 beta doesn't open In-Reply-To: <16DA6038-D794-11D7-A5B3-0003937A97B8@genesearch.com.au> Message-ID: <2079CD61-D7EB-11D7-8FAA-000393529642@arcplanning.com> On Tuesday, August 26, 2003, at 01:08 AM, Sarah wrote: > It looks as if you are trying to run it from the disk image. Drag the > Revolution folder to your Applications folder (or even the desktop) > and all will be well. Running Rev 2.1 from the disk image results in a popup error about "cannot save your license key..." then it quits, but no crashes or console messages. (for me on 10.2.6, Rev 2.1) This error looks worse: some kind of library compatibility problem. If you folks can't run 2.1 either make sure to bugzilla it and include that error from dyld: >> dyld: /Volumes/Revolution/Revolution >> 2.1/Revolution.app/Contents/MacOS/Revolution Undefined symbols: >> /Volumes/Revolution/Revolution >> 2.1/Revolution.app/Contents/MacOS/Revolution undefined reference to >> _kHIViewWindowContentID expected to be defined in Carbon >> Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From James.Cass at sealedair.com Tue Aug 26 12:52:01 2003 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Tue Aug 26 12:52:01 2003 Subject: 2.1 availability for other unix flavors In-Reply-To: <1061915186.2524.46.camel@www.kmax.ici> Message-ID: Pierre- Count my vote! I run Yellow Dog Linux and Mac OS X. I would love to see a Rev engine for Yellow Dog. There used to be a LinuxPPC engine a few versions ago, but it has disappeared. :-\ Thanks for bringing this up. -James |---------+-------------------------------------> | | Pierre Sahores | | | | | | Sent by: | | | use-revolution-admin at lists| | | .runrev.com | | | | | | | | | 08/26/03 12:26 PM | | | Please respond to | | | use-revolution | |---------+-------------------------------------> >-----------------------------------------------------------------------------------------------------------------------| | | | To: use-revolution at lists.runrev.com | | cc: | | Subject: Re: 2.1 availability for other unix flavors | >-----------------------------------------------------------------------------------------------------------------------| Hi List, How many of us could be interesting in using Rev under Linux-PPC ? Thanks for the statistics ;-) Bests, Pierre Le mar 26/08/2003 ? 17:55, Heather Williams a ?crit : > > I clicked the link below since it was announced that Rev 2.1 has been > > released, but in the engines directory there are only files for Linux or > > Windows. > > > > Heather wrote: > >> You can download it from > >> http://www.runrev.com/Revolution1/downloads.html > > > > The instructions on the download page says to download the distribution > > for unix, then get the engine for the specific platform. I need the file > > "Iris.gz" to get this running on an SGI Irix machine. When will it be > > available? > > > > http://runrev.com/revolution/downloads/engines/2.1/Iris.gz > > The unix distributions will be available in the next few days. They are not > up yet. > > Regards, > > Heather -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From edgore at shinra.com Tue Aug 26 13:13:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 26 13:13:00 2003 Subject: Myst Message-ID: <200308261806.h7QI6nL0088633@shinra.com> The original Mac version of Myst was written in Hypercard, but used XCMDS to allow the display of color pictures. Later versions on windows etc, were farmed out by Cyan to other development teams who basically re-did the work in traditional languages, using the Mac Hypercard version as a reference. (Oh, and all the 3D was done using Strata 3D, also on the Mac) >IIRC, the genesis of Myst was "The Manhole" which >was a HC stack >(multiple stacks due to the elaborate >"hyper-linking" of its logic). From ambassador at fourthworld.com Tue Aug 26 13:14:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 26 13:14:01 2003 Subject: The Death of 'RevJournal' ??? In-Reply-To: Message-ID: Roger.E.Eller at sealedair.com wrote: > I just typed into the IE address bar "http://www.revjournal.com/" and > got... > > Service Unavailable I had the same problem wheen I tried it this morning, but I just tried it again and it seems to be back in action. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From alrice at arcplanning.com Tue Aug 26 13:53:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 13:53:01 2003 Subject: merge property profiles? In-Reply-To: <3D79395E-D7EA-11D7-8FAA-000393529642@arcplanning.com> Message-ID: On Tuesday, August 26, 2003, at 11:25 AM, Alex Rice wrote: > I now want to revert to the Master profile, but maintain the > properties from the other profile to the master profile. Is this > possible? I can't find a way to script a repeat through the properties > of the custom profile. > Can anyone see why this script doesn't work? It apparently has no effect on the Master profile. Script generates no errors, but the properties are not getting set into the Master profile. put the cRevGeneral["profileList"] of fld id 2368 into tProfiles if "SectHead" is among the lines of tProfiles then set the profile of fld id 2368 to "SectHead" put the properties of fld id 2368 into tProps put the keys of tProps -- msg box set the profile of fld id 2368 to "Master" set the properties of fld id 2368 to tProps end if Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From ludovic.thebault at laposte.net Tue Aug 26 14:00:00 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Tue Aug 26 14:00:00 2003 Subject: The Manhole - not free In-Reply-To: References: Message-ID: <20030826205323024619.GyazMail.ludovic.thebault@laposte.net> On Tue, 26 Aug 2003 10:25:43 -0600, Barry Levine wrote: > Oops! Didn't go far enough through that link I gave earlier. The site > is now charging a subscription. Sorry. > try http://www.oldware.net/Dl.php?Lien=TWFuaG9sZS56aXA= From edgore at shinra.com Tue Aug 26 14:13:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Tue Aug 26 14:13:00 2003 Subject: Invalid Windows Engine??? Message-ID: <200308261857.h7QIvuGE007916@shinra.com> Just tried to build a standalone with 2.1, and got the message: File C:/Program Files/Revolution 2.1/revolution.exe is not a valid Windows Engine What gives? ANyone else seeing this? From klaus at major-k.de Tue Aug 26 14:25:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 26 14:25:01 2003 Subject: new plug-in In-Reply-To: <000c01c36b46$b27683a0$6401a8c0@chris1> Message-ID: <32501D65-D7FA-11D7-8271-000A27B49A96@major-k.de> Hi listers, i just uploaded a new handy plug-in to my website for your amusement :-) It can store/manage/open often used, "favourite" stacks... Check it out, just 4 kb... Enjoy... Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Tue Aug 26 14:36:00 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 26 14:36:00 2003 Subject: new plug-in In-Reply-To: <32501D65-D7FA-11D7-8271-000A27B49A96@major-k.de> Message-ID: Hi listers, > i just uploaded a new handy plug-in to my website for your amusement > :-) > > It can store/manage/open often used, "favourite" stacks... > > Check it out, just 4 kb... Actually, its just 1 kb :-) And its name is "My favourite things..." Download it from the X-talk section or go directly to: www.major-k.de/revstart.html Enjoy... Regards Klaus Major klaus at major-k.de www.major-k.de From ludovic.thebault at laposte.net Tue Aug 26 14:57:01 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Tue Aug 26 14:57:01 2003 Subject: The Manhole - not free In-Reply-To: <20030826205323024619.GyazMail.ludovic.thebault@laposte.net> References: <20030826205323024619.GyazMail.ludovic.thebault@laposte.net> Message-ID: <20030826215001763483.GyazMail.ludovic.thebault@laposte.net> On Tue, 26 Aug 2003 20:53:23 +0200, Ludovic Th?bault wrote: > On Tue, 26 Aug 2003 10:25:43 -0600, Barry Levine wrote: >> Oops! Didn't go far enough through that link I gave earlier. The site >> is now charging a subscription. Sorry. >> > try http://www.oldware.net/Dl.php?Lien=TWFuaG9sZS56aXA= Not this one, this is not Manhole. This one (but the pc version) http://www.the-underdogs.org/downloadfile.php?file=games/m/manhole/files/manhole.zip&id=679 From klaus at major-k.de Tue Aug 26 15:00:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 26 15:00:01 2003 Subject: another date before 1935 In-Reply-To: Message-ID: <0D82D087-D7FF-11D7-8271-000A27B49A96@major-k.de> Bonjour Edouard, > Hello, > > I think there is a mistake here : > > Do this in the msg box : > set the usesystemdate to true -- (I am french) > put "25/02/1912" into da > convert da to dateitems > put da i just found another method to get the right dateitems: put "25/02/1912" into da convert da to seconds ##!!! convert da to dateitems put da Will also give the correct dateitems. And will work until the year 1 :-) Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Tue Aug 26 15:01:02 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Aug 26 15:01:02 2003 Subject: problem positioning a sub stack using globalLoc In-Reply-To: <000c01c36b46$b27683a0$6401a8c0@chris1> Message-ID: <36D155D6-D7FF-11D7-8271-000A27B49A96@major-k.de> Hi Chris, > I have a sub stack that I want to open when a user clicks on a list of > words. I'm trying to position the sub stack right over the top of > this list > of words, which are in a group called "Key Words". Obviously I can't > use > the location of that group, since it's relative to the main stack and > not to > the screen. So I thought I'd try the globalLoc function, which seems > to > return the correct value when used in the Message Box, but not when I > use it > in a script. I copied and pasted this line of code > > put the globalLoc of (the loc of grp "Key Words" of cd "Prediction" of > stack > "RNStories") > > directly from my script into the message box, and the returned values > are > not consistent. > > Is there a better way to do this? How can I set the loc of a sub > stack so > that it covers an object in my main stack? What about: ... set the bottomleft of stack "substack you like to place" to \ globalloc(the topleft of fld "listfield" of cd 1 of stack "XYZ") ... Works fine here :-) Hmmm, putting things on top of each other... Does anyone remember this Monty Python sketch? LOL... :-) > Thanks, You're welcome... > Chris Sheffield > Software Development > Read Naturally > csheffield at readnaturally.com Regards Klaus Major klaus at major-k.de www.major-k.de From mcdomi at free.fr Tue Aug 26 15:45:00 2003 From: mcdomi at free.fr (Dom) Date: Tue Aug 26 15:45:00 2003 Subject: Myst In-Reply-To: Message-ID: <1g0bku9.1j8ph49s1qxb7M%mcdomi@free.fr> Barry Levine wrote: > My kids' first experience with a Mac was The Manhole (HC version) I must have it somewhere on a floppy (maybe)... Happy memory of it, me too :-) I even saw it *in colors* ! From alrice at arcplanning.com Tue Aug 26 16:16:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 16:16:01 2003 Subject: release history; what is a feature release? Message-ID: <9C91AFD8-D809-11D7-BD34-000393529642@arcplanning.com> Runrev, here is your release history. Under the current licensing model which of these would have been called maintenance releases and which would have been called feature releases? 2.1 and 1.1 are the non-obvious ones. 2.0 clearly was a feature release. Version 2.1: August 25, 2003 Version 2.0.3: August 22, 2003 Version 2.0.2: July 14, 2003 Version 2.0.1: June 4, 2003 Version 2.0: May 26, 2003 Version 1.1.1: April 2, 2002 Version 1.1: November 5, 2001 Version 1.0: July 1, 2001 My boss just asked me if we should get the SBE renewal license or the new Studio license and I told him that I really have no idea which would be a better value. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Tue Aug 26 16:21:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 16:21:01 2003 Subject: free, lightweight sql engine In-Reply-To: <81EE1BB8-D79E-11D7-9D4D-000393D60E0C@princeton.edu> Message-ID: <5B18A3CA-D80A-11D7-BD34-000393529642@arcplanning.com> On Tuesday, August 26, 2003, at 02:23 AM, Toma Tasovac wrote: > Has anybody tested SQLite with Revolution? Not sure, but I don't think it's currently possible; someone would have to write an external to use the SQLite client API or write a new database driver for RR. > Also, considering that there are now precompiled binaries for Mac OSX > -- how hard would be to install this for a Unix-illiterate person? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From rgould8 at aol.com Tue Aug 26 16:25:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Tue Aug 26 16:25:01 2003 Subject: determine cursor position change in editable field? Message-ID: <3F4BCEAF.6090203@aol.com> An HTML attachment was scrubbed... URL: From jacque at hyperactivesw.com Tue Aug 26 16:43:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 26 16:43:00 2003 Subject: determine cursor position change in editable field? In-Reply-To: <3F4BCEAF.6090203@aol.com> References: <3F4BCEAF.6090203@aol.com> Message-ID: <3F4BD309.6030409@hyperactivesw.com> On 8/26/03 4:18 PM, Rob Gould wrote: > Is it possible to tell if the user has used the mouse to change the position of > the I-beam cursor within an editable text field? I thought that perhaps I could > detect this via mouseDown and chunkselected, but it appears that when a text > field is set to "editable" that mouseDown isn't a message that's registered to > the field. > > I know that I can detect the "first time" that the I-beam is placed, but I want > to detect when a user is typing, and then moves the I-beam cursor and clicks > within a different paragraph in the text. See the "selectionChanged" message. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Aug 26 16:49:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 26 16:49:01 2003 Subject: release history; what is a feature release? In-Reply-To: <9C91AFD8-D809-11D7-BD34-000393529642@arcplanning.com> Message-ID: <45F4EB79-D80E-11D7-A027-000A9567A3E6@swcp.com> On Tuesday, August 26, 2003, at 03:09 PM, Alex Rice wrote: > My boss just asked me if we should get the SBE renewal license or the > new Studio license and I told him that I really have no idea which > would be a better value. By "get...the new Studio license" do you mean upgrade the SBE to Studio, the $49 upgrade? Does this mean you have to remove development from all platforms not of a particular type? Is there an upgrade to Enterprise path that should be on your list? I have been advising customers and associates and it is not easy. For all (but one) who do not have Revolution my recommendation is to buy now. Buy! Buy! Buy! The other cases involve some equivocation concerning upgrading and adding and.... Dar Scott From alrice at arcplanning.com Tue Aug 26 17:01:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 17:01:01 2003 Subject: release history; what is a feature release? In-Reply-To: <45F4EB79-D80E-11D7-A027-000A9567A3E6@swcp.com> Message-ID: On Tuesday, August 26, 2003, at 03:43 PM, Dar Scott wrote: > > By "get...the new Studio license" do you mean upgrade the SBE to > Studio, the $49 upgrade? Does this mean you have to remove > development from all platforms not of a particular type? Is there an > upgrade to Enterprise path that should be on your list? Dar. you are making it even more complicated :-) Our license expires in a couple of months so I think we are looking at renewal license or new license, not upgrade of the license. I think. > I have been advising customers and associates and it is not easy. For > all (but one) who do not have Revolution my recommendation is to buy > now. Buy! Buy! Buy! The other cases involve some equivocation > concerning upgrading and adding and.... > Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Tue Aug 26 17:05:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 26 17:05:00 2003 Subject: command-line use on OS X Message-ID: <7A02F268-D810-11D7-A027-000A9567A3E6@swcp.com> I downloaded the Darwin engine and I can do this: ./mc helloworld.txt In this form, the text file does not seem to need #!. This engine seems bloated; it is well over 2MB. X11? I seem to have forgotten most of what I know of unix from a quarter century ago. I don't need cgi (yet). I just want to do some command-line work. Does this file (mc) go into /etc/bin or some other directory? What permissions and ownership should it have. I'm currently editing with TextEdit. I am not able to type the text file name to the terminal just as I would a program. I get a permissions error. Do I need to make it executable? TextEdit does not make files executable. The "get info" does not have an execute option on permissions. Do I need to go in and chmod each file? Maybe I need to make an editor with Revolution. I suspect I'm missing the obvious. Even though I'm an old school lisp guy, I don't emacs and I had a hypnotist purge all knowledge of vi years ago. I think I did; I don't remember vi, anyway. Dar Scott From alrice at arcplanning.com Tue Aug 26 17:57:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 17:57:01 2003 Subject: command-line use on OS X In-Reply-To: <7A02F268-D810-11D7-A027-000A9567A3E6@swcp.com> Message-ID: On Tuesday, August 26, 2003, at 03:58 PM, Dar Scott wrote: > I downloaded the Darwin engine and I can do this: > > ./mc helloworld.txt > > In this form, the text file does not seem to need #!. Sounds correct > This engine seems bloated; it is well over 2MB. X11? > I just grabbed the darwin mc from metacard.com. I ran "strip" on it, and filesize is still 2.7 MB. Must have been already stripped so that doesn't help. According to "otool -L", it links with only one shared library, libSystem. Also ran "strings < mc | grep -i lib" to see what kind of stuff it was compiled with. Educated guess: it is statically linked with Xlib (X11), zlib, libpng, libjpeg and maybe others. Therefore the size. This seems rather a waste since the OS X version need not link with X11. By comparison it's not that bad. The Revolution OS X engine is 3.5 MB and doesn't even have X11 libs in it. It strips down to only 3.1 MB. > I seem to have forgotten most of what I know of unix from a quarter > century ago. > > I don't need cgi (yet). I just want to do some command-line work. > Does this file (mc) go into /etc/bin or some other directory? What > permissions and ownership should it have. > If the command ./mc helloworld.txt worked, then it's already executable. sudo cp mc /usr/local/bin or sudo cp mc /usr/bin To put it onto (probably) your path. Then create a text file with #!/your/path/to/mc e.g. #!/usr/bin/mc as the first line. Make the text file executable. Then you can run it just as ./myScript or ./myScript.sh or whatever > I'm currently editing with TextEdit. I am not able to type the text > file name to the terminal just as I would a program. I get a > permissions error. Do I need to make it executable? TextEdit does > not make files executable. The "get info" does not have an execute > option on permissions. Do I need to go in and chmod each file? Maybe > I need to make an editor with Revolution. That's unfortunate about the Finder not exposing the execute permissions. I know there are 3rd party software that can do it from a GUI, or just use chmod from the command line that's what I do. > I suspect I'm missing the obvious. No I don't think so > Even though I'm an old school lisp guy, I don't emacs and I had a > hypnotist purge all knowledge of vi years ago. I think I did; I don't > remember vi, anyway. Better learn Emacs then ;-) I distribute an binary, self contained app bundle of Emacs for OS X: http://mindlube.com/products/emacs/ A non-GUI Emacs is also built OS X- which is nice for editing files as root from terminal.app Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From monte at sweattechnologies.com Tue Aug 26 18:19:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 26 18:19:00 2003 Subject: Picture this In-Reply-To: Message-ID: > > Now, I'm looking for a similar solution in Rev. Any ideas at all? > Hi Ken Not a similar solution but what's wrong with using another field with larget font and putting the central line into it in each scroll loop? Regards Monte From curry at pair.com Tue Aug 26 18:27:01 2003 From: curry at pair.com (curry) Date: Tue Aug 26 18:27:01 2003 Subject: 2.1 beta doesn't open In-Reply-To: <200308262017.QAA02110@www.runrev.com> References: <200308262017.QAA02110@www.runrev.com> Message-ID: >As you get both the same result pointing in the Carbon direction (pity >Ron didn't mention the OS X version he is using) it could mean in this >case, as rev 2.1 is a major upgrade, that this part of your system >software is not recent enough. May be a software update will put you >out of misery. If not then a OS X version upgrade is advisable. I bugged it (number 450) and from what Tuviah said it sounds like it's fixable. (Which is great!) Curry From monte at sweattechnologies.com Tue Aug 26 18:35:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 26 18:35:01 2003 Subject: release history; what is a feature release? In-Reply-To: <9C91AFD8-D809-11D7-BD34-000393529642@arcplanning.com> Message-ID: > Runrev, here is your release history. Under the current licensing model > which of these would have been called maintenance releases and which > would have been called feature releases? 2.1 and 1.1 are the > non-obvious ones. 2.0 clearly was a feature release. > > Version 2.1: August 25, 2003 > Version 2.0.3: August 22, 2003 > Version 2.0.2: July 14, 2003 > Version 2.0.1: June 4, 2003 > Version 2.0: May 26, 2003 > Version 1.1.1: April 2, 2002 > Version 1.1: November 5, 2001 > Version 1.0: July 1, 2001 > > My boss just asked me if we should get the SBE renewal license or the > new Studio license and I told him that I really have no idea which > would be a better value. > Hi Alex I wouldn't count anything prior to the 2.0 release in your reasoning here. 2.1 is a feature release. My understanding is the numbering scheme goes: major.feature.bugfix I've commented on the improve list (without any reply) that unless there are a minimum or 4 feature releases per year that the Enterprise Edition is more expensive to maintain than the Studio Edition. Two Studio Editions could be upgraded 3 times per year for $294. One Enterprise Edition can be maintained for $299. It should be noted that Since the release of 2.0 RunRev has managed 3 bugfix releases and a feature release in under 3 months. All this while attending a number of trade shows, buying MC and changing the licensing scheme. Therefore one would assume that RunRev intend to deliver on the 4 feature releases per year. If it were me and I had two months up my sleeve I'd wait and make sure the < 3 month cycle continues. Regards Monte From monte at sweattechnologies.com Tue Aug 26 18:35:27 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 26 18:35:27 2003 Subject: icon global property In-Reply-To: <5555007C-D7B7-11D7-8271-000A27B49A96@major-k.de> Message-ID: > Hi Monte, > > >>> set the icon to 1003 > >> I don't think it is a global icon, but is a stack icon. Or was that > >> fixed? > >> > > From the docs: > > icon global,button,stack property > > > > set the icon of this stack to 974 > > set the icon of button "Help" to "Question Mark" > > set the icon to the myAppIcon of stack "Main Settings" > > > > It seems to work for stack but it only places the image over the > > shrunk down > > window in the dock. > > ...and that's the exact and only purpose of this new property :-) > > > From the dox: > > On OS X systems, a stacks icon is displayed in the dock when the stack > is minimized. Where does it say that the icon is overlayed on the stack? > On Unix systems, the stacks icon is displayed on the desktop when the > stack is iconified. > Setting a stack?s icon property has no effect on Mac OS and Windows > systems. > Also the original post was about the icon global property which is meant to change the Apps icon in the dock. Regards Monte From alrice at arcplanning.com Tue Aug 26 18:57:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 18:57:00 2003 Subject: application browser: order of substacks? In-Reply-To: Message-ID: <229695C0-D820-11D7-BD34-000393529642@arcplanning.com> On Tuesday, August 26, 2003, at 08:29 AM, Rob Cozens wrote: > Alex, Wolfgang, et al: > > I have never tried this; but I think it will do the job...without > changing the AB. > > on orderSubs mainStack > get the substacks of stack mainStack > sort it > set the substacks of stack mainStack to it > save stack mainStack > end orderSubs OK! Thanks so much. I also did a "set the caseSensitive to true" to get the desired effect. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From rodneytamblyn at paradise.net.nz Tue Aug 26 19:27:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Tue Aug 26 19:27:01 2003 Subject: command-line use on OS X In-Reply-To: <7A02F268-D810-11D7-A027-000A9567A3E6@swcp.com> Message-ID: Hi Dar, If you are looking for a simple and basic text editor from the command line, try pico... pico myfile.txt The commands inside are self explanatory. You can also execute stacks from the commandline. Eg Make a Revolution stack, in the stack script put an "on libraryStack" handler. The end of this handler should "put" something, ie whatever you want to return. Then create a script file in the same directory as the stack (for simplicity). eg on libraryStack put "hello world" end libraryStack In script file #!/usr/local/bin/revolution (or whereever your revolution is) on startup library "mystack.rev" end startup You can have the stack open in Revolution and still execute it from the command line, so you can carry on editing etc in Revolution. The advantage is that you get to test the script (eg debugging, compile errors when closing script editor), not to mention ability to organise code, use libraries etc Some Unix commands you may find useful: To execute last command again: !! This is very useful when you execute a command, but needed to do it as root, rather than typing it again you can do: su !! Also, you can execute previous commands from the history by supplying first few letters. So if you had previously used command "pico mytext.mc", later on you could type !pic or even !p and it would find the command in your history starting with those letters and execute it. pushd and popd If you are going to another directory and want to be able to return easily to where you are, you can push the current location onto a stack, and later pop it back off. eg pushd /usr/local/bin .... popd (returns you to first location) chmod 777 filename t Makes a file executable. Regards, Rodney On Wednesday, August 27, 2003, at 09:58 AM, Dar Scott wrote: > I downloaded the Darwin engine and I can do this: > > ./mc helloworld.txt > > In this form, the text file does not seem to need #!. > > This engine seems bloated; it is well over 2MB. X11? > > I seem to have forgotten most of what I know of unix from a quarter > century ago. > > I don't need cgi (yet). I just want to do some command-line work. > Does this file (mc) go into /etc/bin or some other directory? What > permissions and ownership should it have. > > I'm currently editing with TextEdit. I am not able to type the text > file name to the terminal just as I would a program. I get a > permissions error. Do I need to make it executable? TextEdit does > not make files executable. The "get info" does not have an execute > option on permissions. Do I need to go in and chmod each file? Maybe > I need to make an editor with Revolution. > > I suspect I'm missing the obvious. > > Even though I'm an old school lisp guy, I don't emacs and I had a > hypnotist purge all knowledge of vi years ago. I think I did; I don't > remember vi, anyway. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From jeanne at runrev.com Tue Aug 26 19:34:03 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Aug 26 19:34:03 2003 Subject: release history; what is a feature release? In-Reply-To: <9C91AFD8-D809-11D7-BD34-000393529642@arcplanning.com> References: <9C91AFD8-D809-11D7-BD34-000393529642@arcplanning.com> Message-ID: At 3:09 PM -0600 8/26/2003, Alex Rice wrote: >Runrev, here is your release history. Under the current licensing >model which of these would have been called maintenance releases and >which would have been called feature releases? Releases of the form X.0 and X.Y are feature releases (major and minor, respectively). 1.0, 1.1, 2.0, and 2.1 are all feature releases. Releases of the form X.Y.Z are maintenance releases: 1.1.1, 2.0.1, 2.0.2, and 2.0.3 are of this type. >My boss just asked me if we should get the SBE renewal license or >the new Studio license and I told him that I really have no idea >which would be a better value. Well, with the SBE renewal license you get the same Studio version, but with the ability to develop on all platforms (not just one) and all updates for a year (instead of just the first feature release). So I'd say that's a better value if you're eligible, which you are if you originally bought SBE. (There's an overview of options in the docs, by the way - see "About upgrading Revolution from a previous version". This might be helpful.) -- -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From alrice at arcplanning.com Tue Aug 26 19:43:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Tue Aug 26 19:43:00 2003 Subject: command-line use on OS X In-Reply-To: Message-ID: <872A8EA3-D826-11D7-BD34-000393529642@arcplanning.com> On Tuesday, August 26, 2003, at 06:23 PM, Rodney Tamblyn wrote: > pico myfile.txt Pico is also the text editor used by Pine, if you've ever used that. Beware if you are editing system files with pico- it will do a hard wrap of long lines, which can cause unfortunate results on config files and such. > In script file > #!/usr/local/bin/revolution (or whereever your revolution is) > on startup > library "mystack.rev" > end startup Oh wait! This reminded me. Maybe that's an uneccessary step? If you look at the contents of a .rev stack file, it is actually a shell script that starts off with this script, before the binary content begins #!/bin/sh # MetaCard 2.4 stack # The following is not ASCII text, # so now would be a good time to q out of more exec mc $0 "$@" So, if the mc binary is on your PATH, you are good to go- no need to write a wrapper shell script to invoke the engine- the stack file itself is a shell script!! > chmod 777 filename t > Makes a file executable. And world writable... chmod 755 is a little saner - although this if it isn't a multiuser system it doesn't matter :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alex at harryscollar.com Tue Aug 26 22:14:00 2003 From: alex at harryscollar.com (Alex Shaw) Date: Tue Aug 26 22:14:00 2003 Subject: 2.1 dictionary bug? In-Reply-To: <200308262335.TAA10719@www.runrev.com> Message-ID: <5.2.1.1.0.20030827130057.02dd17b0@pop-server.bigpond.net.au> hi, When I use the Transcript dictionary and select an item from the "Show:" combo it selects the item before the one i've selected.. eg. if I select 'show contants' it actually shows the list of commands (which is the item prior to constants) again only tested this on the pc version... regards alex From pixelbird at interisland.net Tue Aug 26 23:23:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Aug 26 23:23:00 2003 Subject: Picture this In-Reply-To: <200308262335.TAA10704@www.runrev.com> Message-ID: Hi Monte, > From: "Monte Goulding" > Subject: RE: Picture this > Date: Wed, 27 Aug 2003 08:43:05 +0930 > > Hi Ken > > Not a similar solution but what's wrong with using another field with larget > font and putting the central line into it in each scroll loop? ----------- Well, I wanted it to scroll simultaneously into view in the box, just like the field scrolls, but larger in the box. Like you were holding a rectangular magnifying glass over the middle of the field. A field with all the same text and a larger font wouldn't scroll with the other. However, I know that's not what you meant, i.e., I assume you mean to just display the center line in the overlay in a larger font. I may end up doing just that, because what I really want seems to be too difficult. I need to check the scroll rate if I use the loc of a graphic. In SuperCard, doing it with a field is at least 2x faster than doing the same thing with a graphic picture of the field, I guess because it potentially has to account for containing more visual data. But the MC engine is different, so... Anyway, thanks much, Ken N. From tuviah at runrev.com Wed Aug 27 00:07:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Wed Aug 27 00:07:01 2003 Subject: free, lightweight sql engine References: <200308262335.TAA10719@www.runrev.com> Message-ID: <003901c36c58$38b9ac00$0100a8c0@user> >Not sure, but I don't think it's currently possible; someone would have >to write an external to use the SQLite client API or write a new >database driver for RR. Your welcome to have the author of the database contact me and I will send him the revdb headers...so he can compile a revdb driver. Should be fairly straightforward. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From dsc at swcp.com Wed Aug 27 00:26:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 00:26:01 2003 Subject: command-line use on OS X In-Reply-To: Message-ID: <2B3DB68B-D84E-11D7-B7E6-000A9567A3E6@swcp.com> On Tuesday, August 26, 2003, at 06:23 PM, Rodney Tamblyn wrote: > #!/usr/local/bin/revolution (or whereever your revolution is) Is this the Darwin engine or the OS X engine? Not realizing that the command-line engine was also the Darwin X11 engine I got it from MC. Would the regular OS X engine also work? Dar Scott From dsc at swcp.com Wed Aug 27 00:29:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 00:29:00 2003 Subject: command-line use on OS X In-Reply-To: Message-ID: <83E9A035-D84E-11D7-B7E6-000A9567A3E6@swcp.com> On Tuesday, August 26, 2003, at 06:23 PM, Rodney Tamblyn wrote: > put "hello world" I've been using this: write "hello world" to stdout Are these exactly the same or does put right to something else? Dar Scott From alrice at arcplanning.com Wed Aug 27 02:15:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 02:15:01 2003 Subject: indeterminate progress bar Message-ID: <4B64F10A-D85D-11D7-A6A5-000393529642@arcplanning.com> Standard Icons has several indeterminate progress bars and a chasing arrows. I set one of those icons in a button, and I'm trying to get it to animate while I'm in a long repeat loop. I tried "wait with messages", but that killed performance, and didn't seem to animate it either. What's the trick? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From revolution at knowledgeworks.plus.com Wed Aug 27 02:53:01 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Wed Aug 27 02:53:01 2003 Subject: free, lightweight sql engine Message-ID: <20030827084652.knowledgeworks@Plus.Net> It is possible to access SQLite from Rev in two ways: 1) via odbc (requires installing odbc drivers with your standalone) 2) via shelling out to a command line, running the SQLite SQL client & processing the result. I believe that Pierre mentioned that someone (Andu?) on the Metacard list has been using SQLite successfully. I've written to Tuviah to say that I don't think that the author of SQLite would get involved in providing drivers for a specific language. Other people are providing drivers for major languages (Python, Perl, PHP, Smalltalk, Objective-C). As the code for SQLite is publicly available, I've offered to look at generating the drivers for Rev. Of course, it would be best of all if Runrev took a look at SQLite and provided and supported the drivers. I would suggest that anyone who wants to start looking at SQLite uses the odbc drivers, and looks to the SQLite list for any specific help with SQLite (http://www.yahoogroups.com/subscribe/sqlite). People might want to have a look at some speed comparisons between SQLite, MySQL and PostgreSQL - http://sambar.polie.nl/sqllite.htm >Your welcome to have the author of the database contact me and I will send >him the revdb headers...so he can compile a revdb driver. Should be fairly >straightforward. >>Not sure, but I don't think it's currently possible; someone would have >>to write an external to use the SQLite client API or write a new >>database driver for RR. Regards Bernard From psahores at easynet.fr Wed Aug 27 03:28:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Aug 27 03:28:01 2003 Subject: free, lightweight sql engine In-Reply-To: <20030827084652.knowledgeworks@Plus.Net> References: <20030827084652.knowledgeworks@Plus.Net> Message-ID: <1061972512.2522.4.camel@www.kmax.ici> Le mer 27/08/2003 ? 09:46, revolution at knowledgeworks.plus.com a ?crit : > It is possible to access SQLite from Rev in two ways: > 1) via odbc (requires installing odbc drivers with your standalone) > 2) via shelling out to a command line, running the SQLite SQL client & processing the result. > > I believe that Pierre mentioned that someone (Andu?) on the Metacard list has been using SQLite successfully. Andu is the one ! He use both MC-CGI's and PHP's SQLite driven solutions. > > I've written to Tuviah to say that I don't think that the author of SQLite would get involved in providing drivers for a specific language. Other people are providing drivers for major languages (Python, Perl, PHP, Smalltalk, Objective-C). As the code for SQLite is publicly available, I've offered to look at generating the drivers for Rev. Of course, it would be best of all if Runrev took a look at SQLite and provided and supported the drivers. > > I would suggest that anyone who wants to start looking at SQLite uses the odbc drivers, and looks to the SQLite list for any specific help with SQLite (http://www.yahoogroups.com/subscribe/sqlite). > > People might want to have a look at some speed comparisons between SQLite, MySQL and PostgreSQL - http://sambar.polie.nl/sqllite.htm > > >Your welcome to have the author of the database contact me and I will send > >him the revdb headers...so he can compile a revdb driver. Should be fairly > >straightforward. > > >>Not sure, but I don't think it's currently possible; someone would have > >>to write an external to use the SQLite client API or write a new > >>database driver for RR. > > Regards Bernard > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > Thanks for your input about the 2 ways yet availables :-) -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From rodneytamblyn at paradise.net.nz Wed Aug 27 03:36:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Wed Aug 27 03:36:00 2003 Subject: command-line use on OS X In-Reply-To: <2B3DB68B-D84E-11D7-B7E6-000A9567A3E6@swcp.com> Message-ID: Dar, I downloaded Revolution CGI from ftp://ftp.runrev.com ... navigate down to the "engines/2.0/cgi folder. The 2.1 CGIs aren't posted yet. Regards, Rodney On Wednesday, August 27, 2003, at 05:20 PM, Dar Scott wrote: > > On Tuesday, August 26, 2003, at 06:23 PM, Rodney Tamblyn wrote: > >> #!/usr/local/bin/revolution (or whereever your revolution is) > > Is this the Darwin engine or the OS X engine? Not realizing that the > command-line engine was also the Darwin X11 engine I got it from MC. > Would the regular OS X engine also work? > > Dar Scott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From rjb at rz.uni-potsdam.de Wed Aug 27 04:12:02 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Aug 27 04:12:02 2003 Subject: release history; what is a feature release? In-Reply-To: References: Message-ID: > > Runrev, here is your release history. Under the current licensing model >> which of these would have been called maintenance releases and which >> would have been called feature releases? 2.1 and 1.1 are the >> non-obvious ones. 2.0 clearly was a feature release. >> >> Version 2.1: August 25, 2003 >> Version 2.0.3: August 22, 2003 >> Version 2.0.2: July 14, 2003 >> Version 2.0.1: June 4, 2003 >> Version 2.0: May 26, 2003 >> Version 1.1.1: April 2, 2002 >> Version 1.1: November 5, 2001 >> Version 1.0: July 1, 2001 >> >> My boss just asked me if we should get the SBE renewal license or the >> new Studio license and I told him that I really have no idea which >> would be a better value. >> > >Hi Alex > >I wouldn't count anything prior to the 2.0 release in your reasoning here. >2.1 is a feature release. My understanding is the numbering scheme goes: >major.feature.bugfix > >I've commented on the improve list (without any reply) that unless there are >a minimum or 4 feature releases per year that the Enterprise Edition is more >expensive to maintain than the Studio Edition. Two Studio Editions could be >upgraded 3 times per year for $294. One Enterprise Edition can be maintained >for $299. > >It should be noted that Since the release of 2.0 RunRev has managed 3 bugfix >releases and a feature release in under 3 months. All this while attending a >number of trade shows, buying MC and changing the licensing scheme. >Therefore one would assume that RunRev intend to deliver on the 4 feature >releases per year. > >If it were me and I had two months up my sleeve I'd wait and make sure the < >3 month cycle continues. > >Regards > >Monte It is nice to get new features each quarter but at the same time, as the above timetable nicely illustrates, each feature release is followed by a couple of bugfix releases. Keeping up an aggressive (as in frequent) feature release schedule practically warranties that some bugs slip through. I personally can't afford being in more or less regular upgrade/bug-hunt/bug-fix cycle. So I dare to say that 2, top 3, feature releases per year are enough. What that means in terms of licensing costs is another story. Robert From peter9.smith at ps.ge.com Wed Aug 27 05:08:00 2003 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Wed Aug 27 05:08:00 2003 Subject: Newbie enquiry re using Revolution for Myst style games Message-ID: <6192367D59F8904CA553579EF41FEEA001A4EBDF@ukcbgx01psge.geips.ge.com> Thanks for the responses to my enquiry, I feel more confident now about looking at Revolution as a way forward. On Myst and Manhole - not sure any download of "Manhole" out on the web is legitimate. I'd heard that Myst and I think Riven were developed in Hypercard. Regards, Peter Smith. From gpvisual at btconnect.com Wed Aug 27 06:33:00 2003 From: gpvisual at btconnect.com (Broadband) Date: Wed Aug 27 06:33:00 2003 Subject: Help Sites Message-ID: Are there any websites out there that have tutorials on how to use revolution. I'm fairly new to developing and I am finding it hard to use the features I want as the online documentation does not describe all the features in depth. I have gone through the tutorials supplied with revolution but they can only get you so far and they don't cover everything. If someone could point me in the right direction I would be very greatful Martin Pilkington From gpvisual at btconnect.com Wed Aug 27 06:37:00 2003 From: gpvisual at btconnect.com (Broadband) Date: Wed Aug 27 06:37:00 2003 Subject: drag and drop Message-ID: is it possible to create an app in revolution that allows you to drag applications icon onto it to create a link, like the launcher in Mac OS9. I'm asking as I don't know much about what revolution can do and I am interested in how it handles drag and drop. Martin Pilkington From janschenkel at yahoo.com Wed Aug 27 07:20:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Aug 27 07:20:00 2003 Subject: 2.1 availability for other unix flavors In-Reply-To: <1061915186.2524.46.camel@www.kmax.ici> Message-ID: <20030827121407.32160.qmail@web11901.mail.yahoo.com> --- Pierre Sahores wrote: > Hi List, > > How many of us could be interesting in using Rev > under Linux-PPC ? > > Thanks for the statistics ;-) > > Bests, Pierre > Well that's why I still have a copy of all the version 1.1.1 distributions around : to make sure I have something to develop on the platforms that are no longer supported -- that and the shock of using Revolution pre-version 2 which is similar to how I felt when I opened up HyperCard a couple of months ago. Though I consider the chance of using ODT anytime soon, pretty slim, LinuxPPC might be in the cards ; so if it's not too much of a pain to revive that engine, this might be an interesting option to consider for the future. After all, if the US Navy buys over 200 XServes with YDL, it can't be all that bad ;-) So one more vote for LinuxPPC, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From valetia at mac.com Wed Aug 27 08:47:01 2003 From: valetia at mac.com (valetia at mac.com) Date: Wed Aug 27 08:47:01 2003 Subject: Where can we find the 2.1 CGI engines? In-Reply-To: <20030827121407.32160.qmail@web11901.mail.yahoo.com> Message-ID: Hi, Where do we download the 2.1 CGI engines from? TIA, Valetia From klaus at major-k.de Wed Aug 27 09:09:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 27 09:09:01 2003 Subject: drag and drop In-Reply-To: Message-ID: <1A6FDA54-D897-11D7-A715-000A27B49A96@major-k.de> Hi Martin, > is it possible to create an app in revolution that allows you to drag > applications icon onto it to create a link, like the launcher in Mac > OS9. Sure since version 2.xx > I'm asking as I don't know much about what revolution can do and I am > interested in how it handles drag and drop. Here are some scripts to get you started... You can put this into a fields script, so you will end with the path to the dropped object in that field, just a basic idea... ;-) on dragenter set the acceptdrop to true ## NOW the user may dragdrop things end dragenter on dragdrop ## User dropped something onto your field repeat for each line l in the dragdata ## could be more than 1 file put l & CR after ddd end repeat put ddd into me end dragdrop Now you have the path and can do whatever you want with ;-) > Martin Pilkington > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Klaus Major klaus at major-k.de www.major-k.de From themacguy at macosx.com Wed Aug 27 10:16:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Aug 27 10:16:01 2003 Subject: Possible bug in "selectedLines" in 2.0.x Message-ID: <8D8390A4-D8A0-11D7-B222-000A95763ABC@macosx.com> I haven't checked 2.1 yet but, in 2.0.1, I've found something a little strange. I can eMail the stack if you're interested as it's very small (8K). I was testing that wonderful little "drag&drop" example provided by Klaus. (Yes, your script works perfectly! Thank you.) The stack has a field "fieldOfPaths" with "list behavior" and all the Hilite options checked in the Object Inspector. Also, "don't wrap" is checked. I have some text in the field occupying 4 lines. When I hilite non-contiguous lines, and then execute the following script in a button: answer the selectedLines of field "fieldOfPaths" ...only the line(s) before the break are noted. In other words, if I have hilited lines 1 & 3, only line 1 is reported as selected. If I hilite lines 1, 2, and 4, only lines 1 & 2 are reported as selected. It's also apparent using "selectedChunk"; only the chars before the non-hilited line are reported. However, "selectedText" -does- report the non-contiguous selection properly. If this is something that was fixed in 2.1, I'd better switch, eh? Otherwise, should I report this as a bug (assuming no one else has)? Thanks, Barry From themacguy at macosx.com Wed Aug 27 10:21:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Aug 27 10:21:00 2003 Subject: Beware of "double-arrows at both ends" Message-ID: <5884F174-D8A1-11D7-B222-000A95763ABC@macosx.com> This isn't a Rev problem except to say that it can manifest itself in Rev. There are utilities that can provide "double-arrows" at both ends of a scrollbar in OSX (Cocktail, for one); there's an AppleScript called "dub-dub" that can do this in OS9. Don't do this. It renders the little double arrows in the Object Inspector's Size & Position pane virtually useless. Barry From steve at nexpath.com Wed Aug 27 10:34:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Wed Aug 27 10:34:01 2003 Subject: how to stop execution In-Reply-To: <003401c37114$54cb2570$6701a8c0@ed> References: <003401c37114$54cb2570$6701a8c0@ed> Message-ID: <3F4CCFF6.9010104@nexpath.com> RR seems to always be running my code, I don't see a way to stop execution, while developing. Anyone know a way to do this? Occasionally I get stupid loops and it can be difficult to get things to stop while I fix it. Usually RR sprays error boxes and croaks, but when I restart and load the stack, it goes right back to doing the same thing. I just want to load and edit it, not run it (not until I fix it anyway). -Steve From themacguy at macosx.com Wed Aug 27 10:39:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Aug 27 10:39:00 2003 Subject: selectedLines - use hilitedLines as workaround Message-ID: (answering my own question...) Using the hilitedLines instead of the selectedLines returns accurate information with a list field containing a noncontinguous selection of lines. Apparently, selectedLines only works for contiguous selections. Barry From klaus at major-k.de Wed Aug 27 10:40:00 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 27 10:40:00 2003 Subject: Possible bug in "selectedLines" in 2.0.x In-Reply-To: <8D8390A4-D8A0-11D7-B222-000A95763ABC@macosx.com> Message-ID: Hi Barry, > I haven't checked 2.1 yet but, in 2.0.1, I've found something a little > strange. > I can eMail the stack if you're interested as it's very small (8K). > > I was testing that wonderful little "drag&drop" example provided by > Klaus. > (Yes, your script works perfectly! Thank you.) Thank YOU ;-) > The stack has a field "fieldOfPaths" with "list behavior" and all the > Hilite > options checked in the Object Inspector. Also, "don't wrap" is checked. > I have some text in the field occupying 4 lines. When I hilite > non-contiguous > lines, and then execute the following script in a button: > > answer the selectedLines of field "fieldOfPaths" > > ...only the line(s) before the break are noted. In other words, if I > have hilited > lines 1 & 3, only line 1 is reported as selected. If I hilite lines 1, > 2, and 4, only > lines 1 & 2 are reported as selected. > > It's also apparent using "selectedChunk"; only the chars before the > non-hilited line are reported. Looks like this doesn't work with non-cont hilites... > However, "selectedText" -does- report the non-contiguous selection > properly. If you need the linenumber(s) you can use "the hilitedlines of fld y". Gives a list of the linenumbers like "1,3,4" and works, too ;-) > If this is something that was fixed in 2.1, I'd better switch, eh? I tested on 2.1, it supports drawers* and other X goodies... :-) *Unfortunately there is obviously a resizebug with drawers, but i am sure it won't last long until 2.1.1 ;-) > Otherwise, should I report this as a bug (assuming no one else has)? I didn't... Hope that helps... > Thanks, > Barry Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Wed Aug 27 10:47:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 27 10:47:01 2003 Subject: how to stop execution In-Reply-To: <3F4CCFF6.9010104@nexpath.com> Message-ID: Hi Steve, > RR seems to always be running my code, I don't see a way to stop > execution, > while developing. Anyone know a way to do this? looks like you mean some "openstack", "preopenstack", "opencard" and "preopencard" handler that will of course be executed when you open these stacks... In this case you can type in the messagebox: lock messages; go stack "the one you want to edit" This way the stack will be opened but no "pre-open-whatever" handler will be executed :-) You can also download my little "Open sesame" plug-in from my website which does the same just by clicking a button while holding the ALT-key ;-) > Occasionally I get stupid loops and it can be difficult to get things > to stop while I fix it. > Usually RR sprays error boxes and croaks, but when I restart and load > the stack, > it goes right back to doing the same thing. See above... > I just want to load and edit it, not run it (not until I fix it > anyway). See above... Hope that helps... > -Steve Regards Klaus Major klaus at major-k.de www.major-k.de From psahores at easynet.fr Wed Aug 27 10:52:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Aug 27 10:52:01 2003 Subject: how to stop execution In-Reply-To: <3F4CCFF6.9010104@nexpath.com> References: <003401c37114$54cb2570$6701a8c0@ed> <3F4CCFF6.9010104@nexpath.com> Message-ID: <1061999127.3930.1.camel@www.kmax.ici> In some critical debuging state cases, it can be usefull to insert a ... > if the shiftkey is down then exit repeat directly inside the repeat loop. Regards, Le mer 27/08/2003 ? 17:36, Steve Gehlbach a ?crit : > RR seems to always be running my code, I don't see a way to stop > execution, while developing. Anyone know a way to do this? > > Occasionally I get stupid loops and it can be difficult to get things to > stop while I fix it. Usually RR sprays error boxes and croaks, but when > I restart and load the stack, it goes right back to doing the same > thing. I just want to load and edit it, not run it (not until I fix it > anyway). > > -Steve > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From LynnP333 at aol.com Wed Aug 27 11:01:01 2003 From: LynnP333 at aol.com (LynnP333 at aol.com) Date: Wed Aug 27 11:01:01 2003 Subject: Newbie enquiry re using Revolution for Myst style games Message-ID: <1d6.fd1100b.2c7e2e47@aol.com> >On Myst and Manhole - not sure any download of "Manhole" out on the web is >legitimate.I'd heard that Myst and I think Riven were developed in >Hypercard. >Regards, Peter Smith. ~~~~~~~~~~~~~~~~~~~~~~~~~~ Myst was, as noted by others, created with a special version of HyperCard. Special color externals were used and the unused guts of Hypercard were left out for speed. Even before Manhole, the very first Hypercard game the Rand brothers created was Cosmic Osmo I believe. Originally on disk, it later came out on CD-Rom. That's when I was bitten by the programming bug and started checking out this freebie thing called Hypercard that came with my Mac SE. :-) Lynn P. From yoy at comcast.net Wed Aug 27 11:03:01 2003 From: yoy at comcast.net (yoy) Date: Wed Aug 27 11:03:01 2003 Subject: how to stop execution References: <003401c37114$54cb2570$6701a8c0@ed> <3F4CCFF6.9010104@nexpath.com> Message-ID: <003301c36cb3$b61fd0b0$b2ea5144@fatal7lcf637rj> Steve, You can also select "Script/Debug Mode under the Development menu. It will stop at the error so you can open the script to where the problem is. All the best, Andy ----- Original Message ----- From: "Steve Gehlbach" To: Sent: Wednesday, August 27, 2003 11:36 AM Subject: how to stop execution > RR seems to always be running my code, I don't see a way to stop > execution, while developing. Anyone know a way to do this? > > Occasionally I get stupid loops and it can be difficult to get things to > stop while I fix it. Usually RR sprays error boxes and croaks, but when > I restart and load the stack, it goes right back to doing the same > thing. I just want to load and edit it, not run it (not until I fix it > anyway). > > -Steve > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From steve at nexpath.com Wed Aug 27 11:10:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Wed Aug 27 11:10:00 2003 Subject: how to stop execution In-Reply-To: References: Message-ID: <3F4CD867.2030904@nexpath.com> Klaus Major wrote: > looks like you mean some "openstack", "preopenstack", "opencard" and > "preopencard" handler > that will of course be executed when you open these stacks... > > In this case you can type in the messagebox: > > lock messages; go stack "the one you want to edit" Yes, the openstack handler. Your suggestion should work. Thanks for the tip. -Steve From keith at vortex.co.uk Wed Aug 27 11:14:00 2003 From: keith at vortex.co.uk (Keith Martin) Date: Wed Aug 27 11:14:00 2003 Subject: Newbie enquiry re using Revolution for Myst style games In-Reply-To: <1d6.fd1100b.2c7e2e47@aol.com> References: <1d6.fd1100b.2c7e2e47@aol.com> Message-ID: > >On Myst and Manhole - not sure any download of "Manhole" out on the web is > >legitimate. I'd heard that Myst and I think Riven were developed in > >Hypercard. >Even before Manhole, the very first Hypercard game the Rand brothers created >was Cosmic Osmo I believe. Originally on disk, it later came out on CD-Rom. >That's when I was bitten by the programming bug and started checking out this >freebie thing called Hypercard that came with my Mac SE. :-) Cosmic Osmo was a blast! I wish I still had a copy of either of those classics, I'd dig out an old Mac just to run 'em. Oh well, time marches on - dammit! :-) k From edgore at shinra.com Wed Aug 27 11:41:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 27 11:41:01 2003 Subject: Newbie enquiry re using Revolution for Myst style games Message-ID: <200308271634.h7RGYprv044592@shinra.com> Cosmic Osmo came out after Myst by around a year or so. The Manhole was originally offered by Cyan directly through mail order on, I believe, 12 800K disks, and that led to Activision picking it up (I think this was just before they went insane and became MediaVision - Dan Shafer probably has many tales of that time). Manhole and Cosmic Osmo had a similar effect on me. I was already fascinated by Hypercard, since at the time I was a big apple junkie (despite not having a mac at that point) and I actually bought Dan's book and read it cover to cover even though I had no way to use the knowledge at the time. That book, Manhole, and Cosmic Osmo were really the things that started me on the road to where I am now (in a boring IT management job - go figure). It's too bad that the market these days doesn't really seem to have any place for brilliant, imaginative, playful software like those original Cyan games. >----- ------- Original Message ------- ----- Even before Manhole, the very first Hypercard game >the Rand brothers created >was Cosmic Osmo I believe. Originally on disk, it >later came out on CD-Rom. >That's when I was bitten by the programming bug and >started checking out this >freebie thing called Hypercard that came with my >Mac SE. :-) >Lynn P. > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From jrvalent at wisc.edu Wed Aug 27 11:54:01 2003 From: jrvalent at wisc.edu (rand valentine) Date: Wed Aug 27 11:54:01 2003 Subject: arrays as custom properties or custom property sets Message-ID: i have been reading old posts to the list to try and figure out as much as I can about using custom properties and custom property sets to store arrays of data. But there is some indeterminancy in the list posts, as one might expect, since they almost always address very specific needs. So, could someone knowledgeable clarify for me how exactly one differentially loads (and accesses) an array as a custom property versus a custom property set? I want to have about 6 arrays, all as distinct custom properties, but in the same set. My reason for doing things this way is simple -- if I make each array a differnt custom property set, don't i always have to be setting the custom property set to the appropriate one in order to access that array's data? Thanks so much. rand valentine From alrice at arcplanning.com Wed Aug 27 12:07:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 12:07:00 2003 Subject: arrays as custom properties or custom property sets In-Reply-To: Message-ID: <181538F6-D8B0-11D7-95FB-000393529642@arcplanning.com> On Wednesday, August 27, 2003, at 10:47 AM, rand valentine wrote: > i have been reading old posts to the list to try and figure out as > much as > I can about using custom properties and custom property sets to store > arrays > of data. But there is some indeterminancy in the list posts, as one > might > expect, since they almost always address very specific needs. So, could > someone knowledgeable clarify for me how exactly one differentially > loads > (and accesses) an array as a custom property versus a custom property > set? I > want to have about 6 arrays, all as distinct custom properties, but in > the > same set. My reason for doing things this way is simple -- if I make > each > array a differnt custom property set, don't i always have to be > setting the > custom property set to the appropriate one in order to access that > array's > data? Thanks so much. Rand, you have to make 6 custom property sets. Each set is an array. It is true you can set a particular set like set the customPropertySet of this stack to "set1" get the uWhatever of this stack -- from the current set However, there is a more convenient syntax you can use to get and set values using an array notation that does not require you to set the customPropertySet first: set the set1[value] of this stack to something -- into set 1 get the setx[value] of this stack -- from set x get the sety[value] of this stack --- from set y sometimes it is convenient to go ahead and set the customProperty set if you are going to be accessing the set a lot. Also then you can use the customKeys to get the array keys without making a copy of the array. Hope this helps a little, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From betypaul at arvotek.net Wed Aug 27 12:10:00 2003 From: betypaul at arvotek.net (Paul Conover) Date: Wed Aug 27 12:10:00 2003 Subject: 2.1 beta doesn't open Message-ID: <5553E738-D8B0-11D7-928D-0050E456D376@arvotek.net> 2.1 would not open with my OS 10.1.5 same message in Council But I discovered a workaround I Double click on the file licence.rev in the new Revolution 2.1 file. and It opened! Paul From alrice at arcplanning.com Wed Aug 27 12:12:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 12:12:00 2003 Subject: arrays as custom properties or custom property sets In-Reply-To: <181538F6-D8B0-11D7-95FB-000393529642@arcplanning.com> Message-ID: On Wednesday, August 27, 2003, at 11:01 AM, Alex Rice wrote: > set the set1[value] of this stack to something -- into set 1 > get the setx[value] of this stack -- from set x > get the sety[value] of this stack --- from set y Oops, key, not value. better written as set the set1[uPropName] of this stack to something get the setx[uPropName] of this stack get the sety[uPropName] of this stack Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jtenny at willamette.edu Wed Aug 27 12:25:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Wed Aug 27 12:25:01 2003 Subject: On line stores Message-ID: <40BB9539-D8B2-11D7-94B5-000393911676@willamette.edu> Anyone marketing through one of the on-line stores? If so, any recommendations or pitfalls? I'm particularly interested in the education market, K-12 and college. Peace, John Flowing Thought Educational Solutions 503-508-3398 From jacque at hyperactivesw.com Wed Aug 27 12:33:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 27 12:33:01 2003 Subject: drag and drop In-Reply-To: <1A6FDA54-D897-11D7-A715-000A27B49A96@major-k.de> References: <1A6FDA54-D897-11D7-A715-000A27B49A96@major-k.de> Message-ID: <3F4CE9E2.2030409@hyperactivesw.com> Speaking of drag and drop, I have a stack where I want the entire window to accept drops, not just the controls. The card doesn't seem to get a "dragEnter" message, so nothing happens unless I drop directly onto one of the controls on the card. Does anyone have a solution, or do I have to resort to a card-sized transparent button behind everything else? (Ick.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Aug 27 12:37:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 27 12:37:00 2003 Subject: command-line use on OS X In-Reply-To: <83E9A035-D84E-11D7-B7E6-000A9567A3E6@swcp.com> References: <83E9A035-D84E-11D7-B7E6-000A9567A3E6@swcp.com> Message-ID: <3F4CEAD9.6070009@hyperactivesw.com> On 8/27/03 12:22 AM, Dar Scott wrote: > > On Tuesday, August 26, 2003, at 06:23 PM, Rodney Tamblyn wrote: > >> put "hello world" > > > I've been using this: > write "hello world" to stdout > > Are these exactly the same or does put right to something else? They are the same. When running faceless, all commands to "put" are written to stdout automatically. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION at barncard.com Wed Aug 27 12:41:00 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Wed Aug 27 12:41:00 2003 Subject: On line stores Message-ID: I've been using cdstreet.com for years - they take about 25% cut, but are prompt and give phone support. They also let you imbed code to call their servers in your pages so it looks like it's all on your site. They sell anything that's legal not just CDs. sqb >Anyone marketing through one of the on-line stores? If so, any >recommendations or pitfalls? >I'm particularly interested in the education market, K-12 and college. > >Peace, > > John > >Flowing Thought Educational Solutions >503-508-3398 From klaus at major-k.de Wed Aug 27 12:56:00 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 27 12:56:00 2003 Subject: drag and drop In-Reply-To: <3F4CE9E2.2030409@hyperactivesw.com> Message-ID: Hi Jaqueline, > Speaking of drag and drop, I have a stack where I want the entire > window to accept drops, not just the controls. The card doesn't seem > to get a "dragEnter" message, so nothing happens unless I drop > directly onto one of the controls on the card. Does anyone have a > solution, or do I have to resort to a card-sized transparent button > behind everything else? (Ick.) I'm not sure, but looks like... I worked around this inconvenience by having a grouped graphic on each cd which resized with the stack... No dropping on cards otherwise... > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Regards Klaus Major klaus at major-k.de www.major-k.de From gregory.lypny at videotron.ca Wed Aug 27 12:57:00 2003 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed Aug 27 12:57:00 2003 Subject: Newbie question on CGI Message-ID: Hello everyone, Are their examples of Revolution CGI's. I like to create something that processes form data, save it to files or stacks, perhaps with the clients using Rev stand-alones to post to the forms. Greg From dsc at swcp.com Wed Aug 27 13:02:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 13:02:00 2003 Subject: how to stop execution In-Reply-To: <3F4CCFF6.9010104@nexpath.com> Message-ID: On Wednesday, August 27, 2003, at 09:36 AM, Steve Gehlbach wrote: > RR seems to always be running my code, I don't see a way to stop > execution, while developing. Anyone know a way to do this? You got some good advice on blocking this immediate situation. I wonder what folks do in general concerning this kind of thing. What styles do folks use? Do you check for the environment or the tool or both in certain handlers? How do you make a stack act like it was just loaded? Does the IDE help in this? Related to this for standalone projects is finding libraries and externals. Dar Scott From alrice at arcplanning.com Wed Aug 27 13:03:02 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 13:03:02 2003 Subject: On line stores In-Reply-To: <40BB9539-D8B2-11D7-94B5-000393911676@willamette.edu> Message-ID: On Wednesday, August 27, 2003, at 11:16 AM, John Tenny wrote: > Anyone marketing through one of the on-line stores? If so, any > recommendations or pitfalls? > I'm particularly interested in the education market, K-12 and college. Are you asking about marketing, or just ecommerce solutions? I have a shareware product for Mac OS X and I sell licenses via paypal and esellerate. Both are good; some people prefer pay pal, or prefer NOT to use paypal, so esellerate is a good backup. But neither of them provides any marketing persay. There is a guy who posts a lot on the realbasic list who does international software marketing and distribution, and is apparently really good at it. Forgot his company name. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From klaus at major-k.de Wed Aug 27 14:29:00 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Aug 27 14:29:00 2003 Subject: how to stop execution In-Reply-To: Message-ID: Hi Dar, > On Wednesday, August 27, 2003, at 09:36 AM, Steve Gehlbach wrote: > >> RR seems to always be running my code, I don't see a way to stop >> execution, while developing. Anyone know a way to do this? > > You got some good advice on blocking this immediate situation. > > I wonder what folks do in general concerning this kind of thing. What > styles do folks use? > > Do you check for the environment or the tool or both in certain > handlers? I sometimes do when i set the backdrop on preopenstack. Most of the times i open my stacks with locked messages and do a... > How do you make a stack act like it was just loaded? ..."send "reopenstack" to the mousestack" in the msg. I also set the directory etc... manually (with some of my li'l helpers :-) > Does the IDE help in this? Not that i knew... > Related to this for standalone projects is finding libraries and > externals. > > Dar Scott Regards Klaus Major klaus at major-k.de www.major-k.de From rgould8 at aol.com Wed Aug 27 14:45:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Wed Aug 27 14:45:00 2003 Subject: Getting cross-platform IP address Message-ID: <3F4D08AC.3020306@aol.com> An HTML attachment was scrubbed... URL: From jamesjrichards at lineone.net Wed Aug 27 14:51:00 2003 From: jamesjrichards at lineone.net (James Richards) Date: Wed Aug 27 14:51:00 2003 Subject: 2.1 beta doesn't open In-Reply-To: <200308262335.TAA10704@www.runrev.com> Message-ID: On Tue, 26 Aug 2003 18:17:28 -0500 curry wrote > > I bugged it (number 450) and from what Tuviah said it sounds like > it's fixable. (Which is great!) > I had the same trouble (also OS X 10.1.3) but stupidly emailed it as a support issue before checking the list! I look forward to the fix. Does my 30 day evaluation start from first use or from the date of issue of the code? I guess it doesn't matter *too* much since I have just purchased Studio edition. Regards James From dsc at swcp.com Wed Aug 27 14:58:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 14:58:00 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: <33526AA6-D75F-11D7-B447-000A957CB626@dkhglaw.com> Message-ID: On Monday, August 25, 2003, at 06:49 PM, Alan S. Golub wrote: > I just tried to install v. 2.1 on two separate Macs running OS X, v. > 10.2.6. I entered my license info when prompted, but got the message: > > Invalid License. Error 8. I am about to do this and I want to avoid the trouble. Folks who have had trouble... Where did you put the Revolution folder? What beta and RC did you have installed and licensed previously? Did you move, remove or modify com.Revolution.Revolution.plist? Did you use the same name and org as per the old licensing or put in something else? Did you have to paste the key twice to get the license key into the field? Any workarounds yet? I have no real indication that these are problems, I just want to avoid the same potholes. Dar Scott From revlists at canelasoftware.com Wed Aug 27 15:09:01 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed Aug 27 15:09:01 2003 Subject: On line stores In-Reply-To: <40BB9539-D8B2-11D7-94B5-000393911676@willamette.edu> Message-ID: <6661D555-D8C9-11D7-AFF2-000393C3F5BC@canelasoftware.com> On Wednesday, August 27, 2003, at 10:16 AM, John Tenny wrote: > Anyone marketing through one of the on-line stores? If so, any > recommendations or pitfalls? > I'm particularly interested in the education market, K-12 and college. > > We work with DigiBuy. They are owned by DigitalRiver. They just made a deal to get our wares on many mainstream on-line stores like CompUSA, BestBuy, PCMall... Try: Best regards, Mark Talluto http://www.canelasoftware.com From dsc at swcp.com Wed Aug 27 15:12:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 15:12:00 2003 Subject: Getting cross-platform IP address In-Reply-To: <3F4D08AC.3020306@aol.com> Message-ID: On Wednesday, August 27, 2003, at 01:38 PM, Rob Gould wrote: > I must be missing something obvious, but is there a command that > provides the user's IP address (whether Mac or PC). > I'm collecting ways to do this, so I'd be pleased to see answers. I think Ken Ray has some shell() solutions at his web site for OS X and Windows. Another approach is to open a connection to a known Internet computer and look at the hostAddress() of the connection and then close it. This will only work if you have an Internet connection and it seems to me to be impolite. (Perhaps RunRev can give permission for us to use their http for this and this will act as motivation for a solution.) One that should work but is blocked by a bug is to open datagram to some bogus but syntactically valid address. Then check hostAddress. I have a method that works on Windows and Mac OS 9, but not on OS X. I was about to make a query to this list to see if the problem is a strange unix tradition or a bug in the engine or something else. It would be cool if hostAddress() without a parameter would return a list of IP addresses. Which reminds me. The problem is complicated by the fact that the computer may have more than one address (beyond 127.x.x.1). Dar Scott From alrice at arcplanning.com Wed Aug 27 15:15:02 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 15:15:02 2003 Subject: Getting cross-platform IP address In-Reply-To: <3F4D08AC.3020306@aol.com> Message-ID: <42526A0A-D8CA-11D7-ACE9-000393529642@arcplanning.com> On Wednesday, August 27, 2003, at 01:38 PM, Rob Gould wrote: > I must be missing something obvious, but is there a command that > provides the user's IP address (whether Mac or PC). There is hostNameToAddress() put hostNameToAddress("localhost") -- always 127.0.0.1 on UNIX, the loopback interface put hostNameToAddress("www.runrev.com") -- 64.23.0.192 However there is no 1 genuine IP address for a user's machine. IP interfaces can be numerous, aliased, and using different transports like ppp, ethernet, etc. For instance a user could have a dialup ppp address, plus 2 different ethernet cards installed on their computer. All active, with different IPs. An IP address can also change frequently in the case of ethernet DHCP or dialup ppp setups. You could go platform specific and do shell() with command "ifconfig -a" on OS X and Unix, and the equivalent on Windows - "winipstat" or something like that. You would have to scan the human-readable results and decide which is the IP you are interested in. Sorry I know this doesn't really answer the question. I am speculating here that it's not possible to do just in transcript. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From kkaufman at snet.net Wed Aug 27 15:15:28 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed Aug 27 15:15:28 2003 Subject: Rev 2.1 and licensing Message-ID: <7B6C7C65-D8CA-11D7-9705-0003936D1F12@snet.net> With regard to the spate of recent Rev 2.1 installation error problems: It may be that some people are confused about whether or not they are entitled to a free upgrade to 2.1. A couple of days ago, Heather Williams wrote: "Ok, it seems that certain of the replacement license codes were not correctly generated and are expired with 2.1 when they should not be. If you had a SBE or a Student/Teacher license, which would not be expired on or before 26th August 2003 (ie you purchased after 26th August 2002), you will need a new code. Please, if you can, first check that your license really hasn't expired by looking at the expiry date in your original licensing email, then email me with "Expired SBE/Student/Teacher" in the subject line and I'll send you a new code." So, if I understand correctly, if you have a Rev 1.x or 2.0.x license that expired before 26th August 2003, you will need to purchase some sort of upgrade to 2.1. The choices are described at: http://www.runrev.com/Revolution1/licensing2.html If you purchased a license for Rev 2.0.x after 26th August 2003, and your unlock code does NOT work with Rev 2.1, then you need to contact Heather off-list at heather at runrev.com for a new unlock code. I hope this summary is correct. If not, this whole upgrade business is too complicated for me. :-) -KK From kkaufman at snet.net Wed Aug 27 15:22:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed Aug 27 15:22:01 2003 Subject: Rev 2.1 and licensing- correction Message-ID: <546FD65C-D8CB-11D7-A41E-0003936D1F12@snet.net> Uh, sorry, make that: If you purchased a license for Rev 2.0.x after 26th August *2002*, and your unlock code does NOT work with Rev 2.1, then you need to contact Heather off-list at heather at runrev.com for a new unlock code. I guess it IS too complicated for me. -KK From jacque at hyperactivesw.com Wed Aug 27 15:26:02 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 27 15:26:02 2003 Subject: drag and drop In-Reply-To: References: Message-ID: <3F4D1284.7060504@hyperactivesw.com> On 8/27/03 12:50 PM, Klaus Major wrote: > I worked around this inconvenience by having a grouped graphic on each cd > which resized with the stack... > > No dropping on cards otherwise... I was afraid of that. But okay, I just put an empty image object into the stack as layer 1 and it works. Using an image was better than using a transparent button, since my scripts monitor and do things with all the existing buttons. With an image in there, I didn't need to alter any of the scripts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Aug 27 15:29:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 15:29:01 2003 Subject: Getting cross-platform IP address In-Reply-To: <42526A0A-D8CA-11D7-ACE9-000393529642@arcplanning.com> Message-ID: <43D28D34-D8CC-11D7-B276-000A9567A3E6@swcp.com> On Wednesday, August 27, 2003, at 02:08 PM, Alex Rice wrote: > Sorry I know this doesn't really answer the question. I am speculating > here that it's not possible to do just in transcript. Some time in the middle of last year I suggested an adaptors() function (need better name) that would provide info on all TCP/IP adaptors. Each adaptor info takes one line. The first few items in the line are very portable and include the IP address. I still think something like that would be handy. Dar Scott From dsc at swcp.com Wed Aug 27 15:56:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 15:56:01 2003 Subject: local host does not see broadcast on OS X Message-ID: <073B20D2-D8D0-11D7-B276-000A9567A3E6@swcp.com> I have a small sockets stack that listens on a UDP port (accept) and sends datagrams to that port on an IP address. If the address is broadcast, the behavior is not consistent among platforms tested. This applies whether the broadcast is general (255.255.255.255) or subnet specific (for example, 10.99.255.255) If the local computer is included in the broadcast specification (which it always is in the general broadcast), the datagram is received on Windows XP and on Mac OS 9.2. But it is not on OS X. To my thinking the OS X behavior is goofy. Now it comes to my mind that maybe that behavior, goofy or not, is traditional on unix. (Maybe some folks would think it very irreverent to describe TCP/IP behavior as goofy on a descendent of BSD unix.) Anybody know what is up here? Does this happen on linux, too? Dar Scott From dsc at swcp.com Wed Aug 27 16:06:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 16:06:01 2003 Subject: Getting cross-platform IP address In-Reply-To: Message-ID: <7EC0377E-D8D1-11D7-B276-000A9567A3E6@swcp.com> On Wednesday, August 27, 2003, at 02:05 PM, Dar Scott wrote: > One that should work but is blocked by a bug is to open datagram to > some bogus but syntactically valid address. Then check hostAddress. This does not work on OS X. I think I tested this on Windows, but I forgot the result. I don't think I tested this on Mac OS 9. So... Maybe this is a partial solution and I don't know. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Wed Aug 27 16:12:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 16:12:01 2003 Subject: drag and drop In-Reply-To: <3F4D1284.7060504@hyperactivesw.com> Message-ID: <40CD82F6-D8D2-11D7-B276-000A9567A3E6@swcp.com> On Wednesday, August 27, 2003, at 02:20 PM, J. Landman Gay wrote: >> I worked around this inconvenience by having a grouped graphic on >> each cd >> which resized with the stack... >> No dropping on cards otherwise... > > I was afraid of that. But okay, I just put an empty image object into > the stack as layer 1 and it works. Using an image was better than > using a transparent button, since my scripts monitor and do things > with all the existing buttons. With an image in there, I didn't need > to alter any of the scripts. This is where I would wonder... Is there a good reason why I would _want_ to have a shared grouped image or graphic on each card. With a little thought I might wonder how I got along without one. Dar From ASGolub at dkhglaw.com Wed Aug 27 16:13:00 2003 From: ASGolub at dkhglaw.com (Alan Golub) Date: Wed Aug 27 16:13:00 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: Message-ID: <6B77C638-D8D3-11D7-B0EA-000393BBDD30@dkhglaw.com> Dar -- Below I've tried to answer all your questions. But I should make clear up front that this problem fixed itself on at least one of my Macs. See below in response to your request for workarounds for more details... On Wednesday, August 27, 2003, at 03:52 PM, Dar Scott wrote: > Folks who have had trouble... > > Where did you put the Revolution folder? In Applications > > What beta and RC did you have installed and licensed previously? none > > Did you move, remove or modify com.Revolution.Revolution.plist? no > > Did you use the same name and org as per the old licensing or put in > something else? As best I can tell, yes. I admit to not being very careful about whether I used my middle initial in each copy, or whether I inserted a comma before the "LLC" in my company name. But I've never been very careful about these things, and never had this problem before. > > Did you have to paste the key twice to get the license key into the > field? No > > Any workarounds yet? Funny you should ask. I received a new license from Heather this morning, along with some specific questions about my installation, so that RunRev could assist with a solution. Before submitting this info, I thought I'd try to launch 2.1 again. I double-clicked on the application icon, and for some reason, the problem was gone. The license agreement came up, I accepted the terms, and was able to enter the new license number. Version 2.1 is running just fine now. I have no idea why this is. It's not due to rebooting between yesterday and today, because I in fact tried a reboot, and even an extended shut down, when I first started having the problem. I'll have to try this on my PowerBook again when I get home tonight, as I had the same problem there. It will be beyond wild if the problem is solved on that machine, too. I'm not sure this helps, other than to suggest to those who had this problem that they may wish to try again. From xslaugh at hotmail.com Wed Aug 27 16:16:01 2003 From: xslaugh at hotmail.com (Scott Slaugh) Date: Wed Aug 27 16:16:01 2003 Subject: Getting cross-platform IP address Message-ID: >>I must be missing something obvious, but is there a command that provides >>the user's IP address (whether Mac or PC). >> >I'm collecting ways to do this, so I'd be pleased to see answers. Here's a script I have that does this: set the itemdel to ":" get HostNameToAddress(item 1 of the address) The address function should work without a connection to the internet. However, the hostNameToAddress() function does a DNS lookup, and as such requires an internet connection to work properly. (See the entry in the Transcript Dictionary for hostNameToAddress for more information about this.) Scott Slaugh _________________________________________________________________ MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup From jtenny at willamette.edu Wed Aug 27 16:21:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Wed Aug 27 16:21:00 2003 Subject: Cosmic Osmo In-Reply-To: <200308271601.MAA05361@www.runrev.com> Message-ID: <30007ADD-D8D3-11D7-856A-000393911676@willamette.edu> Ah, yes, Cosmic Osmo - game with no violence. What an idea! Another gaming idea -- what about a game where you save people and small animals instead of blowing them to bits? John From alrice at arcplanning.com Wed Aug 27 16:37:03 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 16:37:03 2003 Subject: local host does not see broadcast on OS X In-Reply-To: <073B20D2-D8D0-11D7-B276-000A9567A3E6@swcp.com> Message-ID: On Wednesday, August 27, 2003, at 02:50 PM, Dar Scott wrote: > To my thinking the OS X behavior is goofy. Now it comes to my mind > that maybe that behavior, goofy or not, is traditional on unix. > (Maybe some folks would think it very irreverent to describe TCP/IP > behavior as goofy on a descendent of BSD unix.) > > Anybody know what is up here? Total guesswork here... In the BSD man page for sendto(), it seems that broadcast datagram sends have to be explicitly enabled by the caller with this flag #define SO_BROADCAST 0x0020 /* permit sending of broadcast msgs */ [EACCES] The SO_BROADCAST option is not set on the socket, and a broadcast address was given as the destination. > Does this happen on linux, too? Can't confirm, but I don't see equivalent options in the Linux man page for sendto(). Guessing maybe Linux doesn't have the limitation. How this information relates to the Rev engine I guess scott or tuviah could answer. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Wed Aug 27 16:54:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 16:54:01 2003 Subject: Getting cross-platform IP address In-Reply-To: Message-ID: <256C36DE-D8D8-11D7-B276-000A9567A3E6@swcp.com> On Wednesday, August 27, 2003, at 02:05 PM, Dar Scott wrote: > It would be cool if hostAddress() without a parameter would return a > list of IP addresses. And (while wishing) this should work with an unopened socket ID or even just an IP address and the address that would be used if this was open is returned. Dar Scott From dsc at swcp.com Wed Aug 27 17:06:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 17:06:00 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: <6B77C638-D8D3-11D7-B0EA-000393BBDD30@dkhglaw.com> Message-ID: On Wednesday, August 27, 2003, at 03:14 PM, Alan Golub wrote: >> Where did you put the Revolution folder? > In Applications I'm a little confused about the applications in my user folder and the one in the boot drive. Maybe they are related in some way. Which did you actually drag to? Dar Scott From mpetrides at earthlink.net Wed Aug 27 17:09:00 2003 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed Aug 27 17:09:00 2003 Subject: OT:Manhole, Osmo in Classic? In-Reply-To: Message-ID: <4340A402-D8DA-11D7-8E5D-0003936D5826@earthlink.net> FWIW, Manhole predated Cosmic Osmo. I still have my copies of both (Osmo is on CD, Manhole originally was on floppy but I may have also bought the CD). Wonder if they'll work in Classic.... has anyone tried? M On Wednesday, August 27, 2003, at 12:06 PM, Keith Martin wrote: >> >On Myst and Manhole - not sure any download of "Manhole" out on the >> web is >> >legitimate. I'd heard that Myst and I think Riven were developed in >> >Hypercard. > >> Even before Manhole, the very first Hypercard game the Rand brothers >> created >> was Cosmic Osmo I believe. Originally on disk, it later came out on >> CD-Rom. >> That's when I was bitten by the programming bug and started checking >> out this >> freebie thing called Hypercard that came with my Mac SE. :-) > > Cosmic Osmo was a blast! I wish I still had a copy of either of those > classics, I'd dig out an old Mac just to run 'em. Oh well, time > marches on - dammit! :-) > > k > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Aug 27 17:17:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 17:17:01 2003 Subject: local host does not see broadcast on OS X In-Reply-To: Message-ID: <636725DE-D8DB-11D7-B276-000A9567A3E6@swcp.com> On Wednesday, August 27, 2003, at 03:31 PM, Alex Rice wrote: > Total guesswork here... Thanks! > In the BSD man page for sendto(), it seems that broadcast datagram > sends have to be explicitly enabled by the caller with this flag > > #define SO_BROADCAST 0x0020 /* permit sending of broadcast msgs */ > > [EACCES] The SO_BROADCAST option is not set on the socket, > and > a broadcast address was given as the > destination. The broadcast works for other computers and I don't get an error, so this does not seem to be exactly the problem. However, I have been wondering about some other, more obscure, flag that we never heard of. At this point I don't know if the problem is in sending or receiving because another datagram sockets bug makes it hard to do some testing. > How this information relates to the Rev engine I guess scott or tuviah > could answer. I plan to bugzilla as either a bug or an enhancement, depending on responses, but I might not if it seems there is no way to convince OS X to do what seems reasonable to me. I'm open to arguments that Mac OS and Windows have to change to make it all consistent on all platforms. Do those man pages use the phrase "remote computer" when referring to broadcasting? Dar Scott From revlist at cableone.net Wed Aug 27 17:18:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Aug 27 17:18:00 2003 Subject: here's a challenge Message-ID: <001701c36ce5$f045e950$6501a8c0@chris1> Well, I think it's a challenge anyway. I have a field with text from a story. It's just basic text split into one or more paragraphs. I need to come up with a way to create what we call a reading guide, which would basically consist of a rectangular box that follows the mouse pointer up and down will inside of the text field. The trick is that the box must "snap" into place so to speak, so that the current line of text is vertically centered within the box. Students will be reading the text and the box cannot wander if the mouse pointer is not exactly on the line of text. I am using fixedLineHeight for the text field, and I think that will come into play somewhere (the distance to move the box up and down?). What I'm not sure of is which messages I need to handle to create this kind of behavior. Does anyone have any ideas? Have I even made sense? I can try again to explain it if necessary. Thanks, Chris Sheffield Software Development Read Naturally -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpetrides at earthlink.net Wed Aug 27 17:22:01 2003 From: mpetrides at earthlink.net (Marian Petrides) Date: Wed Aug 27 17:22:01 2003 Subject: Double arrows no problem-Tinker Tool In-Reply-To: <5884F174-D8A1-11D7-B222-000A95763ABC@macosx.com> Message-ID: I use Tinker Tool in OS X 1.2.6 and just tried to reproduce Barry's problem in Rev 2.1. I had no problem using Object Inspector's Size & Position pane. Maybe this is just with Cocktail? Anyone else using Tinker Tool in OS X 1.2.6 with Rev? Any problems with Object Inspector? Marian On Wednesday, August 27, 2003, at 11:15 AM, Barry Levine wrote: > This isn't a Rev problem except to say that it can manifest itself in > Rev. > > There are utilities that can provide "double-arrows" at both ends of a > scrollbar in OSX (Cocktail, for one); there's an AppleScript called > "dub-dub" that can do this in OS9. Don't do this. It renders the > little double arrows in the Object Inspector's Size & Position pane > virtually useless. > > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Aug 27 17:22:40 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 17:22:40 2003 Subject: Getting cross-platform IP address In-Reply-To: Message-ID: On Wednesday, August 27, 2003, at 03:09 PM, Scott Slaugh wrote: >>> I must be missing something obvious, but is there a command that >>> provides the user's IP address (whether Mac or PC). >>> >> I'm collecting ways to do this, so I'd be pleased to see answers. > > Here's a script I have that does this: > > set the itemdel to ":" > get HostNameToAddress(item 1 of the address) > > The address function should work without a connection to the internet. > However, the hostNameToAddress() function does a DNS lookup, and as > such requires an internet connection to work properly. (See the entry > in the Transcript Dictionary for hostNameToAddress for more > information about this.) I'm confused. What if I don't even know my host name or I have none or my DNS doesn't know it? I think the goal is to get the primary IP address of the computer not of a connection. I may be confused there, too. Dar Scott From dsc at swcp.com Wed Aug 27 17:26:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 17:26:01 2003 Subject: OT:Manhole, Osmo in Classic? In-Reply-To: <4340A402-D8DA-11D7-8E5D-0003936D5826@earthlink.net> Message-ID: <89A54B2D-D8DC-11D7-B276-000A9567A3E6@swcp.com> On Wednesday, August 27, 2003, at 04:03 PM, Marian Petrides wrote: > FWIW, Manhole predated Cosmic Osmo. But I was sure my daughter got him on the phone from Manhole. It must be memory faults in my brain. My daughter wanted to make Manhole like games and now that Revolution is out she is into other things, but does some Photoshop work for me. Dar Scott From dsc at swcp.com Wed Aug 27 17:37:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 17:37:00 2003 Subject: here's a challenge In-Reply-To: <001701c36ce5$f045e950$6501a8c0@chris1> Message-ID: <1A4BFD0D-D8DE-11D7-B276-000A9567A3E6@swcp.com> On Wednesday, August 27, 2003, at 03:55 PM, Chris Sheffield wrote: > Does anyone have any ideas?? 1. Use the box char property. 2. You can make a rectangle. Place it around the line (or word). Find the rectangle for the line (or word) and then put a space around that to make the rectangle. Now all you have to do is find the rectangle of the line (or word). For line: The top is the field top plus the border plus the margin plus a magic number plus the formattedHeight of all lines before it (or 0 for none). The left, I would guess, is the left of the field plus the border plus the margin. The width of the line and the height of the line get from formattedWidth and formattedHeight. Wild idea. I'm not sure how this will work. I probably left out some numbers to add. I'm not sure how to make the box outline translucent. Dar Scott From john.patten at sbcusd.k12.ca.us Wed Aug 27 17:44:01 2003 From: john.patten at sbcusd.k12.ca.us (John Patten) Date: Wed Aug 27 17:44:01 2003 Subject: Simple question re: Using Extenals... Message-ID: Hello All... I haven't had the need to use an external Revolution, such as "libSMTP"... In the past with SuperCard, I could just use ResEdit to move an external into a new project. How do I use externals now with Revolution? Is it just a matter of moving a project with an external into a certain folder and put a command of "start using "externalstack?" I've looked through the archives but could not find anything related...may not have looked very good there are a lot archives to go through ;-) TIA, -- John Patten Technology Coordinator San Bernardino City Unified School District John.patten at sbcusd.k12.ca.us 909 381-1208 Fax # 909 386-2540 http://www.sbcusd.k12.ca.us From alrice at arcplanning.com Wed Aug 27 17:45:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 17:45:01 2003 Subject: local host does not see broadcast on OS X In-Reply-To: <636725DE-D8DB-11D7-B276-000A9567A3E6@swcp.com> Message-ID: <48DA09C1-D8DF-11D7-BE14-000393529642@arcplanning.com> On Wednesday, August 27, 2003, at 04:11 PM, Dar Scott wrote: > The broadcast works for other computers and I don't get an error, so > this does not seem to be exactly the problem. However, I have been > wondering about some other, more obscure, flag that we never heard of. > > At this point I don't know if the problem is in sending or receiving > because another datagram sockets bug makes it hard to do some testing. Does sound kind of like a bug. > Do those man pages use the phrase "remote computer" when referring to > broadcasting? They refer to "address of the target", and "destination address". I don't see the phrase remote computer anywhere. BTW here are some old apple technotes that talk about "the endpoint never receives any UDP broadcast messages" and "IP reuse address delay" http://developer.apple.com/qa/nw/nw53.html http://developer.apple.com/qa/nw/nw28.html Those predate apple's move to BSD networking, but still might be useful info. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From edgore at shinra.com Wed Aug 27 18:02:02 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 27 18:02:02 2003 Subject: OT:Manhole, Osmo in Classic? Message-ID: <200308272255.h7RMtXHs070997@shinra.com> It's possible that happened. I believe that there was eventually a CD-ROM version of Manhole which I think came out after Cosmic Osmo, that had new features. There were also two version of Cosmic Osmo - a disc and a CD-Rom version. As I recall the CD-Rom had three extra planets on it. I remember staying after work at Egghead all the time going through those games... They were always big draws if you sat at the mac and started demoing them... >----- ------- Original Message ------- ----- But I was sure my daughter got him on the phone >from Manhole. From alrice at arcplanning.com Wed Aug 27 18:02:55 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 18:02:55 2003 Subject: Getting cross-platform IP address In-Reply-To: Message-ID: On Wednesday, August 27, 2003, at 04:15 PM, Dar Scott wrote: > On Wednesday, August 27, 2003, at 03:09 PM, Scott Slaugh wrote: >> The address function should work without a connection to the >> internet. However, the hostNameToAddress() function does a DNS >> lookup, and as such requires an internet connection to work properly. >> (See the entry in the Transcript Dictionary for hostNameToAddress >> for more information about this.) I speculate it won't *necessarily* do a DNS lookup. It depends how the name service resolver is configured. On Mac OS X the resolver will use Appletalk and Netinfo first, then DNS. On Unix it can use the /etc/hosts file, then DNS, depending on the ordering in the file /etc/resolv.conf. YP/NIS and maybe others could be involved too. On my OS X , "the address" returns "localhost:/...". localhost is resolved as the loopback address, 127.0.0.1, which can't be decided by a DNS server. > What if I don't even know my host name or I have none or my DNS > doesn't know it? > > I think the goal is to get the primary IP address of the computer not > of a connection. I may be confused there, too. But is there such thing as really a primary IP address? There is a default gateway for each network interface. There can be priorities assigned to different routes. However, the particular interface to use isn't decided until the OS needs to send some particular network packets and the OS goes- ok little packet: where's that network- where's that default gateway- what's the route's priority hm.. hm... you go out this interface. Maybe this is why hostAddress requires a socket to be opened- it is only capable of answering the endpoint IPs of that one socket. -- BTW is this a documentation error in "the address"? " Cross-platform note: On Unix systems, the computer's name is its domain name. On Mac OS systems, the name is the one set in the File Sharing control panel." re: the Unix computer's name. AFAIK it depends on the contents of /etc/hosts which usually isn't going to be domain name, it's going to be localhost plus one or more aliases. On Mac OS X, the statement could be true, if "the address" returned the rendezvous domain for the computer, e.g. darkstar.local (a local domain name for my computer with the name darkstar). But it doesn't return the rendevous name. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Wed Aug 27 18:07:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 18:07:01 2003 Subject: [repost] Re: merge property profiles? Message-ID: <551FF31C-D8E2-11D7-BE14-000393529642@arcplanning.com> Any ideas on this one? Would it be bad etiquette to post to the metacard list with this same question? -- Can anyone see why this script doesn't work? It apparently has no effect on the Master profile. Script generates no errors, but the properties are not getting set into the Master profile. "SectHead" does exist in profileList and puts about a few dozen property names into the message box: put the cRevGeneral["profileList"] of fld id 2368 into tProfiles if "SectHead" is among the lines of tProfiles then set the profile of fld id 2368 to "SectHead" put the properties of fld id 2368 into tProps put the keys of tProps -- msg box set the profile of fld id 2368 to "Master" set the properties of fld id 2368 to tProps end if Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Wed Aug 27 18:09:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 18:09:00 2003 Subject: local host does not see broadcast on OS X In-Reply-To: <073B20D2-D8D0-11D7-B276-000A9567A3E6@swcp.com> Message-ID: On Wednesday, August 27, 2003, at 02:50 PM, Dar Scott wrote: > I have a small sockets stack that listens on a UDP port (accept) and > sends datagrams to that port on an IP address. If the address is > broadcast, the behavior is not consistent among platforms tested. > This applies whether the broadcast is general (255.255.255.255) or > subnet specific (for example, 10.99.255.255) > > If the local computer is included in the broadcast specification > (which it always is in the general broadcast), the datagram is > received on Windows XP and on Mac OS 9.2. But it is not on OS X. To clarify, a broadcast from Mac OS 9.2 or Windows XP shows up on OS X and a broadcast from OS X shows up on those. So, OS X can send and receive broadcasts, but not to/from the same computer. (Well, my tests are limited: not from the same program on the same computer.) Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From jswitte at bloomington.in.us Wed Aug 27 18:19:01 2003 From: jswitte at bloomington.in.us (Jim Witte) Date: Wed Aug 27 18:19:01 2003 Subject: Code-editing function stack Message-ID: <805A3E2E-D846-11D7-BB1B-000393BF0854@bloomington.in.us> Hi, Is there any stack out there that has functions that will let you do parsing of C to do such things as isolate functions, determine whitespace, extract function and variable names and types, etc? I'm in the process of writing some code to do this (for a one-time job), and am wondering if it would do anyone else a favor to clean this up and release it, or if I would just be reinventing another wheel.. Jim Witte jswitte at bloomington.in.us From sarahr at genesearch.com.au Wed Aug 27 18:33:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Aug 27 18:33:01 2003 Subject: here's a challenge In-Reply-To: <001701c36ce5$f045e950$6501a8c0@chris1> Message-ID: <340813BE-D8E5-11D7-A5B3-0003937A97B8@genesearch.com.au> You will need to track the mouseMove message in your story field. This gives you the coordinates of the mouse which you can use to position the box (a graphic or as Dar suggested a text style). Here is a script I use to make sure that any scroll results in an exact line i.e. the top of the field shows a complete line, rather than a partial line. It might give you an idea on how to set the text the way you want it. -- fix scroll to an exact line put (the vScroll of me div the textHeight of me) + 1 into tLineNum set the vScroll of me to (tLineNum-1) * the textHeight of me Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On Thursday, August 28, 2003, at 08:14 am, Chris Sheffield wrote: > Well, I think it?s a challenge anyway. > > ? > > I have a field with text from a story.? It?s just basic text split > into one or more paragraphs.? I need to come up with a way to create > what we call a reading guide, which would basically consist of a > rectangular box that follows the mouse pointer up and down will inside > of the text field.? The trick is that the box must ?snap? into place > so to speak, so that the current line of text is vertically centered > within the box.? Students will be reading the text and the box cannot > wander if the mouse pointer is not exactly on the line of text.? I am > using fixedLineHeight for the text field, and I think that will come > into play somewhere (the distance to move the box up and down?).? What > I?m not sure of is which messages I need to handle to create this kind > of behavior. > > ? > > Does anyone have any ideas?? Have I even made sense?? I can try again > to explain it if necessary. > > ? > > Thanks, > > ? > > Chris Sheffield > > Software Development > > Read Naturally From LynnP333 at aol.com Wed Aug 27 18:36:01 2003 From: LynnP333 at aol.com (LynnP333 at aol.com) Date: Wed Aug 27 18:36:01 2003 Subject: OT:Manhole, Osmo in Classic? Message-ID: <5b.3d6e39f9.2c7e98ec@aol.com> In a message dated 8/27/03 3:17:05 PM, use-revolution-request at lists.runrev.com writes: << FWIW, Manhole predated Cosmic Osmo. I still have my copies of both (Osmo is on CD, Manhole originally was on floppy but I may have also bought the CD). Wonder if they'll work in Classic.... has anyone tried? >> Actually, Cosmic Osmo originally came out on disk prior to Manhole. The CD version came out after Manhole. Both the disk version and CD version run in Classic. I tried both this morning on a Mac G4 in a nostalgic moment. :-} Lynn P. From dsc at swcp.com Wed Aug 27 18:38:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 18:38:01 2003 Subject: Getting cross-platform IP address In-Reply-To: Message-ID: On Wednesday, August 27, 2003, at 04:56 PM, Alex Rice wrote: >> I think the goal is to get the primary IP address of the computer not >> of a connection. I may be confused there, too. > > But is there such thing as really a primary IP address? There is a > default gateway for each network interface. There can be priorities > assigned to different routes. However, the particular interface to use > isn't decided until the OS needs to send some particular network > packets and the OS goes- ok little packet: where's that network- > where's that default gateway- what's the route's priority hm.. hm... > you go out this interface. > > Maybe this is why hostAddress requires a socket to be opened- it is > only capable of answering the endpoint IPs of that one socket. That is a very good point. I have some computers with several ethernet adaptors, some over-modem adaptors, and several VPN adaptors. And then there is 127.0.0.1. I have some computers which connect to multiple subnets on the same ethernet adaptor. Which is primary? I think Windows thinks one is primary, but I'm not sure. This is why I like the idea of an adaptors() or ipAddresses() function. Or the ability of hostAddress to take an unopened connection. Now if only hostAddress will take a UDP opened socket... That is really in some sense an unopened connection. Dar Scott From alrice at arcplanning.com Wed Aug 27 18:45:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 18:45:01 2003 Subject: Double arrows no problem-Tinker Tool In-Reply-To: Message-ID: <972024EC-D8E7-11D7-BE14-000393529642@arcplanning.com> On Wednesday, August 27, 2003, at 04:14 PM, Marian Petrides wrote: > I use Tinker Tool in OS X 1.2.6 and just tried to reproduce Barry's > problem in Rev 2.1. I had no problem using Object Inspector's Size & > Position pane. Maybe this is just with Cocktail? Anyone else using > Tinker Tool in OS X 1.2.6 with Rev? Any problems with Object > Inspector? Looks OK to me too. Barry- maybe try TinkerTool instead. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Wed Aug 27 18:58:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 18:58:01 2003 Subject: Cosmic Osmo In-Reply-To: <30007ADD-D8D3-11D7-856A-000393911676@willamette.edu> Message-ID: <83A81000-D8E9-11D7-BE14-000393529642@arcplanning.com> On Wednesday, August 27, 2003, at 03:12 PM, John Tenny wrote: > Ah, yes, Cosmic Osmo - game with no violence. What an idea! Another > gaming idea -- what about a game where you save people and small > animals instead of blowing them to bits? > Here you go (windows only) http://www.dexterity.com/dweep/ Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From monte at sweattechnologies.com Wed Aug 27 19:19:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 27 19:19:00 2003 Subject: here's a challenge In-Reply-To: <001701c36ce5$f045e950$6501a8c0@chris1> Message-ID: *************** Well, I think it's a challenge anyway. I have a field with text from a story. It's just basic text split into one or more paragraphs. I need to come up with a way to create what we call a reading guide, which would basically consist of a rectangular box that follows the mouse pointer up and down will inside of the text field. The trick is that the box must "snap" into place so to speak, so that the current line of text is vertically centered within the box. Students will be reading the text and the box cannot wander if the mouse pointer is not exactly on the line of text. I am using fixedLineHeight for the text field, and I think that will come into play somewhere (the distance to move the box up and down?). What I'm not sure of is which messages I need to handle to create this kind of behavior. Does anyone have any ideas? Have I even made sense? I can try again to explain it if necessary. *************** Hi Chris As long as it's not a scrolling field then you should be able to do something like this: constant kLeft = the left of your box, kRight = the right of your box put (item 2 of the mouseLoc - the top of fld 1) div the lineHeight of fld 1 into tTop set the rect of grc "box" to kLeft,tTop,kRight,tTop+the lineHeight of fld 1 Should work ... Cheers Monte From monte at sweattechnologies.com Wed Aug 27 19:19:35 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 27 19:19:35 2003 Subject: Simple question re: Using Extenals... In-Reply-To: Message-ID: > Hello All... > > I haven't had the need to use an external Revolution, such as > "libSMTP"... > In the past with SuperCard, I could just use ResEdit to move an external > into a new project. libSMTP isn't an external... > > How do I use externals now with Revolution? Is it just a matter > of moving a > project with an external into a certain folder and put a command of "start > using "externalstack?" I've looked through the archives but could not find > anything related...may not have looked very good there are a lot > archives to > go through ;-) The external docs are crap. We should get some good ones soon though. It depends on what platform you are using. It's the same as HC for OS 9. For other platforms check the docs on the externals property. Cheers Monte From xslaugh at hotmail.com Wed Aug 27 19:27:00 2003 From: xslaugh at hotmail.com (Scott Slaugh) Date: Wed Aug 27 19:27:00 2003 Subject: Getting cross-platform IP address References: Message-ID: > > set the itemdel to ":" > > get HostNameToAddress(item 1 of the address) > > > I think the goal is to get the primary IP address of the computer not > of a connection. I may be confused there, too. I do know that if you run the above script on a PC with two network adaptors in it, it returns two network addresses. It does seem to be detecting the fact that there are multiple IP addresses. Scott Slaugh From monte at sweattechnologies.com Wed Aug 27 19:51:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 27 19:51:01 2003 Subject: undocumented feature Message-ID: Hi all Here's a good one: set the htmlText of fld 1 to "

hello world !

" When did this sneak into the engine? Is it possible to alter the style sheet? Cheers Monte From gizmotron at earthlink.net Wed Aug 27 20:14:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Aug 27 20:14:00 2003 Subject: undocumented feature In-Reply-To: Message-ID: <89BBBE93-D8F4-11D7-909A-000A95859272@earthlink.net> Monte Goulding wrote: > set the htmlText of fld 1 to "

hello world !

" Try this: set the htmlText of fld 1 to "

hello world 1

hello world 2

hello world 3

" You will notice that it also creates line breaks for header information just like in HTML. =================== Look at it going back the other way using htmlText of fld 1:

hello world !

hello world !

hello world !

From dsc at swcp.com Wed Aug 27 20:25:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 20:25:00 2003 Subject: Getting cross-platform IP address In-Reply-To: Message-ID: <8C057729-D8F5-11D7-B276-000A9567A3E6@swcp.com> Yay! On Wednesday, August 27, 2003, at 06:13 PM, Scott Slaugh wrote: >>> set the itemdel to ":" >>> get HostNameToAddress(item 1 of the address) >>> >> I think the goal is to get the primary IP address of the computer not >> of a connection. I may be confused there, too. > > I do know that if you run the above script on a PC with two network > adaptors > in it, it returns two network addresses. It does seem to be detecting > the > fact that there are multiple IP addresses. I can't read! I did not read your script right. Thanks for responding to my dumb reply! (In an environment in my dark past, variables were prefixed with 'the' and I kept reading a variable name, not a property.) And this works on my OS X, too. This also provides a hint as to why hostNameToAddress() does not work with my computer name. It needed ".local" after it. Maybe my computer name is not what I thought. I assume you are on Windows. What OS? BTW, on OS X getting the text up to the colon is not needed; it works with all of the address. Now, for Mac OS 9... Dar Scott From monte at sweattechnologies.com Wed Aug 27 20:32:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 27 20:32:01 2003 Subject: undocumented feature In-Reply-To: <89BBBE93-D8F4-11D7-909A-000A95859272@earthlink.net> Message-ID: > > Look at it going back the other way using htmlText of fld 1: > >

>

>

hello world !

>

>

>

>

hello world !

>

>

>

>

hello world !

>

>

> > _______________________________________________ So all we need now is a way to set the style info for translation using inheritance along the object model and I can throw away the style sheet stuff in in libXMLtext ;-) Cheers Monte From monte at sweattechnologies.com Wed Aug 27 21:22:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Aug 27 21:22:00 2003 Subject: [ANN] Democratic Revolution Message-ID: Hi All I just uploaded a new plugin called Democratic Revolution. The idea is you create feature requests and vote on them to give the RunRev team a good idea of what we want. You can vote as many times as you want but try and be honest so that RunRev can take it seriously. There's no link on my website bit I'll put it on RevNet ASAP. For now here's a link: http://www.sweattechnologies.com/rev/DemocraticRevolution.rev Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From dan at shafermedia.com Wed Aug 27 21:39:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Wed Aug 27 21:39:01 2003 Subject: Newbie enquiry re using Revolution for Myst style games In-Reply-To: <200308271601.MAA05379@www.runrev.com> Message-ID: On Wednesday, August 27, 2003, at 09:01 AM, Edwin Gore wrote: > It's too bad that the market these days doesn't really seem to have > any place for brilliant, imaginative, playful software like those > original Cyan games. > I'm not so sure. I spent some time last weekend watching my 13-year-old granddaughter using the Web. Quite a few of the sites she visited have what I'd call atmospheric games. They are more Web-aware, have multi-player options, build in instant messaging and community aspects, and are *somewhat* less graphically rich (living within the confines of the browser.) I think a compelling atmospheric game a la Myst built in Revolution in a way that was Web-aware and overcame the browser's limitations would in fact make a potentially huge product. I have a friend who's building a 3-D online adventure game using Adobe's Atmosphere technology so that it runs over the Web. I don't know how much success he's had so far, but I know he's working actively on it. He's checking out Rev right now as a possible new way to handle the front end because the UI surrounding the 3D stuff doesn't feel compelling in a browser. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From xslaugh at hotmail.com Wed Aug 27 21:39:33 2003 From: xslaugh at hotmail.com (Scott Slaugh) Date: Wed Aug 27 21:39:33 2003 Subject: Getting cross-platform IP address Message-ID: >Yay! >I did not read your script right. Thanks for responding to my dumb reply! >(In an environment in my dark past, variables were prefixed with 'the' and >I kept reading a variable name, not a property.) > >And this works on my OS X, too. That's good to know. > >This also provides a hint as to why hostNameToAddress() does not work with >my computer name. It needed ".local" after it. Maybe my computer name is >not what I thought. > >I assume you are on Windows. What OS? I usually work on Windows XP. But I have also tested that script on Windows 98. > >BTW, on OS X getting the text up to the colon is not needed; it works with >all of the address. I noticed that once when I was on a Mac. However, I usually still have it get the text before the colon to make it cross-platform. Scott Slaugh _________________________________________________________________ Get MSN 8 and enjoy automatic e-mail virus protection. http://join.msn.com/?page=features/virus From dsc at swcp.com Wed Aug 27 21:45:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 21:45:00 2003 Subject: Getting cross-platform IP address In-Reply-To: <8C057729-D8F5-11D7-B276-000A9567A3E6@swcp.com> Message-ID: On Wednesday, August 27, 2003, at 07:18 PM, Dar Scott wrote: > On Wednesday, August 27, 2003, at 06:13 PM, Scott Slaugh wrote: > >>>> set the itemdel to ":" >>>> get HostNameToAddress(item 1 of the address) ... > Now, for Mac OS 9... Rats! It doesn't work for my Mac OS 9.2. Dar Scott From anthonyk at fastq.com Wed Aug 27 21:53:01 2003 From: anthonyk at fastq.com (Anthony Kouvousis) Date: Wed Aug 27 21:53:01 2003 Subject: Lost Rev. icons in my stacks (Windows XP platfoem) References: <200308272259.SAA28911@www.runrev.com> Message-ID: <3F4D6D32.53AB4961@fastq.com> On windows XP using the uninstaller, I uninstalled Rev 1.1.1, Rev 2.0, and Rev 2.01, BUT kept the rev 2.02 folder. I did so to save disk space and I thought that it is good practice to keep the latest version only on my computer. Result: I lost all the Rev icons of my stacks. Further more, when I double click on a stack, the stack doesn't open and I get this weird message that Windows cannot open this file and to choose an application to open this file from a Windows list (in which Rev is not there). It offers me the option to go to the web to find the application. I go to the web and the answer I get is file type: unknown (because Rev doesn't belong to some file association...) Frustrated, I reinstalled Rev 2.0 but still the icons are of a little square with six color dots inside. Question: How do I get back the Rev icons for my stacks? This is important because I want to be able to double click on the stack (which is inside the Rev 2.02 folder) so that I can open it. I also hate to see my stacks having a non-Rev icon! Finally, I installed Rev. 2.1 and placed my stacks inside this folder. Still I don't have the Rev. icon in any of the stacks! Is this a Windows problem or Rev. problem? I will appreciate any help.. Regards, Anthony Kouvoussis From joel at alpsgiken.gr.jp Wed Aug 27 22:01:01 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Wed Aug 27 22:01:01 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: References: <6B77C638-D8D3-11D7-B0EA-000393BBDD30@dkhglaw.com> Message-ID: <20030828115217.C859.JOEL@alpsgiken.gr.jp> > >> Where did you put the Revolution folder? > > In Applications > > I'm a little confused about the applications in my user folder and the > one in the boot drive. Maybe they are related in some way. Which did > you actually drag to? It's the same folder, but you can't write to it unless you're logged in as an admin user. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp From sarahr at genesearch.com.au Wed Aug 27 22:02:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Aug 27 22:02:00 2003 Subject: Finding the disk name Message-ID: In the newer version of Revolution, running under OS X, when I get a file name (say from answer file), I get something like this: /Users/sarah/Documents/FolderName/Filename.txt This is fine and Rev reads such a file perfectly. The problem arises when I want to pass a filename to an AppleScript, which requires a full path including the disk name, in this form: Sarah HD:Users:sarah:Documents:FolderName:Filename.txt So far I have been cheating and just getting "line 1 of the volumes" and adding that to the start of the Rev file path, but I can foresee problems. - Is the first line of the volumes always the startup disk? - If the path is on a network drive, I can check for the word "Volumes" at the beginning and find the drive name after that, but what about a partition. Does anyone have a script that can give me the parent drive of any given file? Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From anthonyk at fastq.com Wed Aug 27 22:03:01 2003 From: anthonyk at fastq.com (Anthony Kouvousis) Date: Wed Aug 27 22:03:01 2003 Subject: Lost revMenubar on Windows XP References: <200308272259.SAA28911@www.runrev.com> Message-ID: <3F4D6F78.8E0F6D7@fastq.com> Please help! I open Rev 2.03 on Windows XP and sometimes ONLY the toolbar is visible, the menuBar does not appear anyplace. Obviously is nothing I can do to open even the msg. box and type "show revMenuBar". When this problem occurs, I try to launch Rev again but still no menuBar is appearing - only another toolbar. I then restart the machine but the same problem occurs (no menuBar, only toolBar!) The only solution I have found is to reinstall the program after I shut down the machine. However, I am getting sick and tired in doing a couple of installations every day because the menuBar does not appear when launching Rev. How do I avoid this irritating problem? Why the menuBar is not showing? Is this a Rev or Windows problem? Any help will be greatly appreciated Regards, Anthony Kouvoussis From dan at shafermedia.com Wed Aug 27 22:08:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Wed Aug 27 22:08:01 2003 Subject: use-revolution digest, Vol 1 #1829 - 17 msgs In-Reply-To: <200308271310.JAA29985@www.runrev.com> Message-ID: <1809C3EA-D904-11D7-B77F-0030656FB5D4@shafermedia.com> On Wednesday, August 27, 2003, Martin Pilkington wrote: > Are there any websites out there that have tutorials on how to use > revolution. I'm fairly new to developing and I am finding it hard to > use the > features I want as the online documentation does not describe all the > features in depth. I have gone through the tutorials supplied with > revolution but they can only get you so far and they don't cover > everything. > If someone could point me in the right direction I would be very > greatful > I'm less than two weeks from releasing the eBook version of a relatively completely updated version of my Best-selling HyperTalk Programming book. The book has ballooned to a 3-volume opus thanks to the existence of about 5 times as much "stuff" in Revolution/Transcript as was in HyperTalk. When I launch it, there will also be a community-based Web site behind it. All chapters are drafted and in final editing at the moment. So far, only an electronic version of the book will be available and it will come only by joining the online community, which will also have a number of other benefits. if you want to be notified individually when the first volume is ready for delivery, send me an email off-list: dan at danshafer.com, with the subject "Notify Me When". I will be offering a discount to people who ask for pre-release notification. Also, by the way, you may want to look at Alan Golub's wonderful RevJournal online magazine site at http;//www.revjournal.com. He's creating tutorials, doing interviews, and otherwise providing an ezine-like presence of Revolutionaries. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From gcanyon at inspiredlogic.com Wed Aug 27 22:31:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Aug 27 22:31:01 2003 Subject: merge property profiles? In-Reply-To: <3D79395E-D7EA-11D7-8FAA-000393529642@arcplanning.com> Message-ID: <3E44F818-D907-11D7-BB93-003065683ECC@inspiredlogic.com> If there's code you want to run against a set of controls, then Navigator will allow you to easily do it. There isn't a built-in facility for dealing with profiles, but the command panel lets you run arbitrary code against whatever controls are selected. gc On Tuesday, August 26, 2003, at 10:25 AM, Alex Rice wrote: > I have created hundreds of objects and accidentally edited the objects > with a custom property profile selected. I now want to revert to the > Master profile, but maintain the properties from the other profile to > the master profile. Is this possible? I can't find a way to script a > repeat through the properties of the custom profile. Ugh. Hopefully > I'm just overlooking something. Can revnavigator do this? > regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Wed Aug 27 22:36:14 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Aug 27 22:36:14 2003 Subject: merge property profiles? In-Reply-To: Message-ID: <66451DA8-D907-11D7-BB93-003065683ECC@inspiredlogic.com> Based on my limited understanding of the underlying mechanism, don't you want to set the cREVGeneral[profile] of the object? On Tuesday, August 26, 2003, at 11:47 AM, Alex Rice wrote: > put the cRevGeneral["profileList"] of fld id 2368 into tProfiles > if "SectHead" is among the lines of tProfiles then > set the profile of fld id 2368 to "SectHead" > put the properties of fld id 2368 into tProps > put the keys of tProps -- msg box > set the profile of fld id 2368 to "Master" > set the properties of fld id 2368 to tProps > end if > regards, Geoff Canyon gcanyon at inspiredlogic.com From jtenny at willamette.edu Wed Aug 27 22:37:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Wed Aug 27 22:37:00 2003 Subject: Double arrows no problem-Tinker Tool In-Reply-To: <200308272259.SAA28868@www.runrev.com> Message-ID: <7B28A6B1-D907-11D7-8435-000393911676@willamette.edu> Re double arrows... I'm using Tinker Tool and the only problem is not in Rev. Occasionally the bottom down-arrow doesn't work - this in any scrolling window. The upper down-arrow works fine, and the bottom up-arrow works as well. From soapdog at mac.com Wed Aug 27 22:45:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Aug 27 22:45:01 2003 Subject: Now What??? Where's my rev license? Message-ID: Hi Folks, just bought 199 studio version, now what, the home page just gave me a thank you for your transaction and stoped!!! Where do I get my license? Is this really ugly... Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From speitel at hawaii.edu Wed Aug 27 22:51:00 2003 From: speitel at hawaii.edu (Thomas Speitel) Date: Wed Aug 27 22:51:00 2003 Subject: .mp4 filter Message-ID: <14DC4F5E-D90A-11D7-BF92-0003935B47FC@hawaii.edu> I am having trouble setting up an "answer file" filter that allows .mov and .mp4 Quicktime files to be loaded. Thanks in advance for any help. Tom Speitel From speitel at hawaii.edu Wed Aug 27 22:53:01 2003 From: speitel at hawaii.edu (Thomas Speitel) Date: Wed Aug 27 22:53:01 2003 Subject: .mp4 filter in OSX and windows Message-ID: <67D783B6-D90A-11D7-BF92-0003935B47FC@hawaii.edu> > I forgot to mention that the filter needs to work on OSX and Windows. > I am having trouble setting up an "answer file" filter that allows > .mov and .mp4 Quicktime files to be loaded. Thanks in advance for any > help. > Tom Speitel > > Tom Speitel, Ph.D. Curriculum Research & Development Group College of Education University of Hawaii 1776 University Avenue Honolulu, HI 96822 Phone: 808-956-6855 Fax: 808-956-64933 www.hawaii.edu/crdg From alrice at arcplanning.com Wed Aug 27 22:58:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 22:58:00 2003 Subject: Now What??? Where's my rev license? In-Reply-To: Message-ID: On Wednesday, August 27, 2003, at 09:42 PM, Andre Garzia wrote: > Hi Folks, > > just bought 199 studio version, now what, the home page just gave me a > thank you for your transaction and stoped!!! Where do I get my > license? Is this really ugly... You will receive it in email. I think they don't have 100% automated so you will have to wait a day or so for the actual license. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jacque at hyperactivesw.com Wed Aug 27 23:06:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 27 23:06:00 2003 Subject: Now What??? Where's my rev license? In-Reply-To: References: Message-ID: <3F4D7E40.3080504@hyperactivesw.com> On 8/27/03 10:42 PM, Andre Garzia wrote: > just bought 199 studio version, now what, the home page just gave me a > thank you for your transaction and stoped!!! Where do I get my license? I think they are still sleeping in Scotland right now, but when Heather wakes up and gets to work in a few hours she will send you your license. Revolution licenses are not generated by automated robots, but rather by a real live person who lovingly creates each license personally. But in the meantime, can you restart Rev and continue to work? I haven't ever tried it, but it might work. Or maybe you'd need to reinstall if you want to use it over the next few hours. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Aug 27 23:08:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 27 23:08:01 2003 Subject: Now What??? Where's my rev license? In-Reply-To: Message-ID: <51D6DAE6-D90C-11D7-B276-000A9567A3E6@swcp.com> On Wednesday, August 27, 2003, at 09:42 PM, Andre Garzia wrote: > just bought 199 studio version, now what, the home page just gave me a > thank you for your transaction and stoped!!! Where do I get my > license? Is this really ugly... Well, first check your mail. If it is not there, send Heather a note. She is very, very good at solving these problems. If you're are worried about being double charged or not getting it done before the cut off, mention that, too. My mail client puts your picture up in the corner of mail from you. In that picture you are still smiling! Dar Scott From alrice at arcplanning.com Wed Aug 27 23:18:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 23:18:00 2003 Subject: merge property profiles? In-Reply-To: <66451DA8-D907-11D7-BB93-003065683ECC@inspiredlogic.com> Message-ID: On Wednesday, August 27, 2003, at 09:26 PM, Geoff Canyon wrote: > Based on my limited understanding of the underlying mechanism, don't > you want to set the cREVGeneral[profile] of the object? Geoff - thanks! you gave me just the nudge I needed. I could have sworn: the profile = the revProfile = cREVGeneral[profile] However "the profile" seems to have been a figment of my imagination. This works: > >> put the cRevGeneral["profileList"] of fld id 2368 into tProfiles >> if "SectHead" is among the lines of tProfiles then >> set the profile of fld id 2368 to "SectHead" set the revProfile ... >> put the properties of fld id 2368 into tProps >> put the keys of tProps -- msg box >> set the profile of fld id 2368 to "Master" set the revProfile ... >> set the properties of fld id 2368 to tProps >> end if >> Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From gcanyon at inspiredlogic.com Wed Aug 27 23:19:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Aug 27 23:19:00 2003 Subject: Picture this In-Reply-To: Message-ID: <026BDB07-D90E-11D7-BB93-003065683ECC@inspiredlogic.com> On Tuesday, August 26, 2003, at 06:22 PM, Ken Norris wrote: > Well, I wanted it to scroll simultaneously into view in the box, just > like > the field scrolls, but larger in the box. Like you were holding a > rectangular magnifying glass over the middle of the field. A field > with all > the same text and a larger font wouldn't scroll with the other. It could. If the font of the "magnified" field is twice the font of the main field (and twice as wide so the text wraps identically), something like this would work: on scrollbarDrag set the scroll of fld "field 1" to 2 * the scroll of me end scrollbarDrag regards, Geoff Canyon gcanyon at inspiredlogic.com From alrice at arcplanning.com Wed Aug 27 23:20:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Wed Aug 27 23:20:01 2003 Subject: Now What??? Where's my rev license? In-Reply-To: <3F4D7E40.3080504@hyperactivesw.com> Message-ID: On Wednesday, August 27, 2003, at 10:00 PM, J. Landman Gay wrote: > Revolution licenses are not generated by automated robots, but rather > by a real live person who lovingly creates each license personally. WELL! They need to get some 802.11/airport hubs down at the pub then eh? joking :-) Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From soapdog at mac.com Wed Aug 27 23:23:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Aug 27 23:23:01 2003 Subject: Now What??? Where's my rev license? In-Reply-To: <51D6DAE6-D90C-11D7-B276-000A9567A3E6@swcp.com> Message-ID: <00E0121E-D90F-11D7-A943-00039387AE90@mac.com> On Thursday, August 28, 2003, at 01:01 AM, Dar Scott wrote: > > On Wednesday, August 27, 2003, at 09:42 PM, Andre Garzia wrote: > >> just bought 199 studio version, now what, the home page just gave me >> a thank you for your transaction and stoped!!! Where do I get my >> license? Is this really ugly... > > Well, first check your mail. > > If it is not there, send Heather a note. She is very, very good at > solving these problems. If you're are worried about being double > charged or not getting it done before the cut off, mention that, too. > > My mail client puts your picture up in the corner of mail from you. > In that picture you are still smiling! > > Dar Scott Thanks All for the answers, I thougth it was generated by some robot. Well, Let's wait for the sun rise in Scotland. And Yes, when I discovered how to put that photo on my mail, I smiled all afternoon... it's just a quick .mac trick. Cheers for revolution. Andre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From edgore at shinra.com Wed Aug 27 23:30:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Wed Aug 27 23:30:00 2003 Subject: Newbie enquiry re using Revolution for Myst style games References: Message-ID: <002501c36d1c$29346f80$6701a8c0@ed> You may be right - I mean, I really hope so. It would be great to see a market for this sort of "exploration, click and see what happens" sort of game. And I must apologigize - I got my Dan's momentariliy confused - Shafer wrote the book I love, goodman could tell you Mediavision tales. ----- Original Message ----- From: "Dan Shafer" > I'm not so sure. From gizmotron at earthlink.net Wed Aug 27 23:34:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Aug 27 23:34:01 2003 Subject: undocumented feature In-Reply-To: Message-ID: <57D5CFBC-D910-11D7-845A-000A95859272@earthlink.net> Wednesday, Monte Goulding wrote: > So all we need now is a way to set the style info for translation using > inheritance along the object model and I can throw away the style sheet > stuff in in libXMLtext ;-) > > Cheers > > Monte I was looking at revXMLText(), now that's a handy thing to have available. I couldn't find libXMLtext. My own approach is to throw out XML altogether. I love the way the htmlText parser ignores tag sets it doesn't recognize. You can use any extensible tags you like and include HTML style within the same document. Course that means building simple pull-parser tricks to replace the XMLtree configuration. I guess it comes down to where do you want to do a lot of extra work. By the way if you find a way to throw out style sheets for rendering XML data based on DOM and some kind of universal standard you come up with then you are going to make a lot of DBMS people very happy. Imagine this: <p></p><p></p><p><font size="34"><b>hello world !</b></font></p><p></p><p></p>

What's UP?

Mark From jacque at hyperactivesw.com Wed Aug 27 23:41:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Aug 27 23:41:01 2003 Subject: Now What??? Where's my rev license? In-Reply-To: References: Message-ID: <3F4D866D.5080704@hyperactivesw.com> On 8/27/03 11:13 PM, Alex Rice wrote: > > On Wednesday, August 27, 2003, at 10:00 PM, J. Landman Gay wrote: > >> Revolution licenses are not generated by automated robots, but rather >> by a real live person who lovingly creates each license personally. > > > WELL! They need to get some 802.11/airport hubs down at the pub then eh? > > joking :-) > If they are already at the pub at 5 AM Scotland time, then I think we need to worry... ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gizmotron at earthlink.net Wed Aug 27 23:48:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Aug 27 23:48:01 2003 Subject: Now What? [while the cat's away] In-Reply-To: <3F4D866D.5080704@hyperactivesw.com> Message-ID: <72E0A34A-D912-11D7-845A-000A95859272@earthlink.net> On Wednesday, August 27, 2003, at 09:34 PM, J. Landman Gay wrote: > If they are already at the pub at 5 AM Scotland time, then I think we > need to worry... ;) Maybe not so bad. Perhaps they are still just getting off work from yesterday. From soapdog at mac.com Thu Aug 28 00:11:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Thu Aug 28 00:11:00 2003 Subject: Newbie enquiry re using Revolution for Myst style games In-Reply-To: <6192367D59F8904CA553579EF41FEEA0019F1854@ukcbgx01psge.geips.ge.com> Message-ID: On Tuesday, August 26, 2003, at 06:06 AM, peter9.smith at ps.ge.com wrote: Peter, I am doing the same. I already did little myst like games... it's pretty easy, no I am on a more adventurous task that is to create a SCUMM-like engine, remember scumm games from lucasarts (monkey island series, day of the tentacle, sam & max, indiana jones and the fate of atlantis)... I just bought Rev Studio today, I plan to sprout a little game demo and sdk soon for the comunity, I do belive there's a market for such games if they are cheap. Today market is dominated by 3D games with engines derived from Quake or Unreal, it's really boring and it's saturated, I think market will shift soon, and there will be a demand for 2D games, where thinking and fun are more important then quick reflexes and shooting. If i did not went bankrupt with my last enterprise (A small company dedicated to create web technologies for portals, blogs and the like, before there was this blog rush, and we delivered it all free... oh boy... money ended) I would create a little startup to deliver cross-plataform adventure games made with revolution trying to mimic LucasArts and Sierra old adventures. (but as now, cloning myst is easier!) Cheers Andre > I'd like to take digital pictures and movies of say my house then > create a > poor man's Myst style 'game' which I can send to friends. Revolution > seems > like a good contender to do this in as it's reasonably priced and > cross-platform. > > Any comments on how suitable Revolution is for creating something a > step or > two up from slideshows in DVD format? > > How far does Revolution support Quicktime? Say for things like > transitions? > > How possible is it for a program to generate Revolution code as > opposed to > typing it in? Presumably converting from Hypercard or Supercard to > Revolution requires something along these lines? > > Thanks for any feedback, > > Peter Smith. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From gizmotron at earthlink.net Thu Aug 28 00:34:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Thu Aug 28 00:34:01 2003 Subject: [ANN] Democratic Revolution In-Reply-To: Message-ID: On Wednesday, August 27, 2003, at 07:15 PM, Monte Goulding wrote: > Hi All > > I just uploaded a new plugin called Democratic Revolution. The idea is > you > create feature requests and vote on them to give the RunRev team a > good idea > of what we want. Cool! -- Lobby... [Vote for Me]

Vote for offsetAll()

OffSetAll() works just like offset() only it builds an array of each char location that it finds and puts it into an array as myArray[1], myArray[2], myArray[3] etc... use it like this: put offsetAll("my phrase", stringToSearch) into myArray put myArray[1] -- 123 put myArray[2] -- 1277 put myArray[3] -- 10567 Mark From lists at mangomultimedia.com Thu Aug 28 00:39:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu Aug 28 00:39:01 2003 Subject: Finding the disk name In-Reply-To: Message-ID: On 8/28/03 Sarah wrote >In the newer version of Revolution, running under OS X, when I get a >file name (say from answer file), I get something like this: >/Users/sarah/Documents/FolderName/Filename.txt >This is fine and Rev reads such a file perfectly. The problem arises >when I want to pass a filename to an AppleScript, which requires a full >path including the disk name, in this form: >Sarah HD:Users:sarah:Documents:FolderName:Filename.txt Perhaps using POSIX file in your AppleScript what you need. An example: set myPath to "/Users/trevordevore/desktop/" set myPath to POSIX file myPath display dialog newPath This would display "Macintosh HD:Users:trevordevore:Desktop: Would this solve your problem? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From monte at sweattechnologies.com Thu Aug 28 01:06:06 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 28 01:06:06 2003 Subject: undocumented feature In-Reply-To: <57D5CFBC-D910-11D7-845A-000A95859272@earthlink.net> Message-ID: > > So all we need now is a way to set the style info for translation using > > inheritance along the object model and I can throw away the style sheet > > stuff in in libXMLtext ;-) > > > > Cheers > > > > Monte > > I was looking at revXMLText(), now that's a handy thing to have > available. I couldn't find libXMLtext. My own approach is to throw out > XML altogether. I love the way the htmlText parser ignores tag sets it > doesn't recognize. You can use any extensible tags you like and include > HTML style within the same document. Course that means building simple > pull-parser tricks to replace the XMLtree configuration. I guess it > comes down to where do you want to do a lot of extra work. By the way > if you find a way to throw out style sheets for rendering XML data > based on DOM and some kind of universal standard you come up with then > you are going to make a lot of DBMS people very happy. > > Imagine this: > > > > <p></p><p></p><p><font size="34"><b>hello world > !</b></font></p><p></p><p></p> >

What's UP?

>
>
> LibXMLtext is on my site: http://www.sweattechnologies.com/rev/sweatXMLtext.rev Cheers Monte From jeanne at runrev.com Thu Aug 28 01:44:15 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Aug 28 01:44:15 2003 Subject: Alignment palette In-Reply-To: References: <200308252215.SAA05528@www.runrev.com> Message-ID: At 8:28 PM -0700 8/25/2003, Jim Hurley wrote: >Am I the last to discover that the old alignment palette is still >available in RR 2? > >Select two or more objects. Select "Object inspector" from the >"Object" menu. This brings up a "Multiple object" palette. Select >"Align Objects" from the pull down menu. What else am I missing? Take a look at the section "Where is it?" in the "What's New" file for 2.0.x, or in the topic "What's new in version 2.0-2.0.3" in the Encyclopedia in the docs. -- -- Jeanne DeVoto ~ jeanne at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From mazzapaolo at libero.it Thu Aug 28 02:47:01 2003 From: mazzapaolo at libero.it (mazzapaolo) Date: Thu Aug 28 02:47:01 2003 Subject: image pasting In-Reply-To: <53A33A20-D4CC-11D7-ABD1-000393C3F5BC@canelasoftware.com> Message-ID: <17DC1932-D928-11D7-A30D-000393680A94@libero.it> The point is I am making a paint program with Revolution. It works but copying and pasting transparent images and a free-hand lazo (in Revolution there is only a rectangular selection tool). How can I implement these two features in the program? Ciao, Paolo >> > > To play devils advocate, it would be nice to be able to paste directly > from one app to a Rev app. You might be making a paint program, > layout program, multimedia app, or various other apps where this would > be useful. The pasting and getting extra white space needs to be > Bugzillaed. > > For creating your interface in Rev, you should just import the image > as normal for the time being. Not sure if cutting and pasting from > another app and maintaining transparency is a job for Rev though. I > think that is saved to the file and not in the host app's memory. > > > Best regards, > Mark Talluto > http://www.canelasoftware.com > > _______________________________________________ From helloc66 at hotmail.com Thu Aug 28 03:38:00 2003 From: helloc66 at hotmail.com (Jeremy Smith) Date: Thu Aug 28 03:38:00 2003 Subject: iDevGames Message-ID: I was reading a thread about trying to get a game going in the iDevGames contest to get more recognition for Revolution... Well I have just entered and currently developing a "puzzle" as such game, its quite different from any game I've played or seen (Which I am hoping to score on originality) and (I hope) that anyone else has played either. The problem is the game needs to run in MacOS X, Im a windows user and so unfortuantly unable to test and see if the game runs fine on MacOS X. So I am just wondering if there is any real changes needed or tips to make the best compatabile scripting!? Also the game will be updated regularly on the following website, so feel free to send abuse and comments (either my email directly or on the list). I wil admit my scripting isnt the best, I have come back from a few years of C++ so even suggestions on my scripting would be most welcome. Jeremy. http://www.geocities.com/ausgames2000/ _________________________________________________________________ ninemsn Extra Storage is now available. 30MB of storage on ninemsn Groups - great for sharing photos and documents. Click here http://join.msn.com/ From asgolub at optonline.net Thu Aug 28 04:21:00 2003 From: asgolub at optonline.net (Alan S. Golub) Date: Thu Aug 28 04:21:00 2003 Subject: Revolution 2.1 Installation Problems on OS X In-Reply-To: Message-ID: Sorry - I dragged it to the Applications folder in my User directory. -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Dar Scott Sent: Wednesday, August 27, 2003 6:00 PM To: use-revolution at lists.runrev.com Subject: Re: Revolution 2.1 Installation Problems on OS X On Wednesday, August 27, 2003, at 03:14 PM, Alan Golub wrote: >> Where did you put the Revolution folder? > In Applications I'm a little confused about the applications in my user folder and the one in the boot drive. Maybe they are related in some way. Which did you actually drag to? Dar Scott _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From frodo555 at comcast.net Thu Aug 28 04:22:09 2003 From: frodo555 at comcast.net (Scott Morrow) Date: Thu Aug 28 04:22:09 2003 Subject: OT:Manhole, Osmo in Classic? Message-ID: <3F4D4B1F.6090401@comcast.net> > ...My daughter wanted to make Manhole like games... I teach my third grade students to use HyperCard. The wonderful folks at Cyan donated a case of Cosmic Osmo CDs to my classroom a few years back. Besides sheer fun Cosmic Osmo is a fantastic motivational, inspirational and educational tool. -Scott Morrow http://www.ferndale.wednet.edu/Custer/Staff/Morrow/index.html From reedm at mac.com Thu Aug 28 04:22:52 2003 From: reedm at mac.com (Reed Martin) Date: Thu Aug 28 04:22:52 2003 Subject: Player & Long File Names Message-ID: <6562866.1062052484008.JavaMail.reedm@mac.com> Hi all! I'm a long time MC user, just switched over to Revolution... looks pretty nice! :) I had a quick question: I know that the "Player" object does not support long file names under Mac OS X. This is clearly a major problem for anyone building an app that uses a Player object that allows users to open a QT file, because, essentially, it renders the thing entirely unreliable. So, my question is, does anyone know a way around this? So, does anyone know how to: 1. Get a truncated file name from a long file path 2. Play an audio file other than through a player object I've tried messing with AppleScript and terminal and I can't get anyone to convert between the two, even though it seems like I should be able to have some function that simply says something like: getTruncatedName(tLongFilePath) But I certainly can't figure it out myself... I can't ship my app until this works reliably, as I refuse to have some files work and others not -- it's just not the quality of app I need to ship. (Adding a line in the readme that the user needs to rename their files is hardly user-friendly!) Thanks for your help! :) ReeD. From psahores at easynet.fr Thu Aug 28 04:43:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Thu Aug 28 04:43:00 2003 Subject: Now What??? Where's my rev license? In-Reply-To: References: Message-ID: <1062063371.4227.20.camel@www.kmax.ici> Le jeu 28/08/2003 ? 05:42, Andre Garzia a ?crit : > Hi Folks, > > just bought 199 studio version, now what, the home page just gave me a > thank you for your transaction and stoped!!! Where do I get my license? > Is this really ugly... > > Cheers > Andre Garzia ? 2003 > imac2 ibook p100 e uma torradeira.... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > It's yet the time Rev's team generate the licenses for all the MC to Rev crossgrade users updating to Rev 2.1 (by hand, Jacque ?). The most long time it will take to output the new keys, the most we can believe to be "a little lot", "a middle lot", "a big lot" of rev's customers. I had, yesterday, to wait for my new key in about 12 hours and i just believe it was probably not really long enough... It would be cool to all of us, Rev's Team and its customers community to have to wait, at least, twice this time, next year, is'nt ;-) Best Regards to All. -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From psahores at easynet.fr Thu Aug 28 04:52:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Thu Aug 28 04:52:00 2003 Subject: Newbie enquiry re using Revolution for Myst style games In-Reply-To: References: Message-ID: <1062063930.4226.25.camel@www.kmax.ici> Le jeu 28/08/2003 ? 04:32, Dan Shafer a ?crit : > On Wednesday, August 27, 2003, at 09:01 AM, Edwin Gore wrote: > > > It's too bad that the market these days doesn't really seem to have > > any place for brilliant, imaginative, playful software like those > > original Cyan games. > > > I'm not so sure. > > I spent some time last weekend watching my 13-year-old granddaughter > using the Web. Quite a few of the sites she visited have what I'd call > atmospheric games. They are more Web-aware, have multi-player options, > build in instant messaging and community aspects, and are *somewhat* > less graphically rich (living within the confines of the browser.) > > I think a compelling atmospheric game a la Myst built in Revolution in > a way that was Web-aware and overcame the browser's limitations would > in fact make a potentially huge product. I have a friend who's building > a 3-D online adventure game using Adobe's Atmosphere technology so that > it runs over the Web. I don't know how much success he's had so far, > but I know he's working actively on it. He's checking out Rev right now > as a possible new way to handle the front end because the UI > surrounding the 3D stuff doesn't feel compelling in a browser. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolutionary > Author of forthcoming 3-book set, > "Revolution: Programming at the Speed of Thought" > http://www.revolutionpros.com for More Info > > _______________________________________________ I believe this market is probably under our eyes, firstly in the schools and pedagogic spheres. Bests, Pierre From helloc66 at hotmail.com Thu Aug 28 05:12:01 2003 From: helloc66 at hotmail.com (Jeremy Smith) Date: Thu Aug 28 05:12:01 2003 Subject: Lost revMenubar on Windows XP Message-ID: This problem occurs often to me as well, the solution is to right click on revolution in the task bar select move, then hold down shift and press any of the arrow keys, then move the mouse (while still holding shift) and the menu bar will reappear. Its a bug that sets the location WAYYY off, is anyone fixing this? Cheers. Jeremy >Please help! > >I open Rev 2.03 on Windows XP and sometimes ONLY the toolbar is visible, >the menuBar does not appear anyplace. Obviously is nothing I can do to open >even the msg. box and type "show revMenuBar". > >When this problem occurs, I try to launch Rev again but still no menuBar is >appearing - only another toolbar. > >I then restart the machine but the same problem occurs (no menuBar, only >toolBar!) > >The only solution I have found is to reinstall the program after I shut >down the machine. However, I am getting sick and tired in doing a couple of >installations every day because the menuBar does not appear when launching >Rev. > >How do I avoid this irritating problem? Why the menuBar is not showing? Is >this a Rev or Windows problem? > >Any help will be greatly appreciated > >Regards, > >Anthony Kouvoussis _________________________________________________________________ ninemsn Extra Storage is now available. No account expiration - no need to worry about losing your Hotmail account. Click here http://join.msn.com/ From peter9.smith at ps.ge.com Thu Aug 28 05:58:01 2003 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Thu Aug 28 05:58:01 2003 Subject: Newbie enquiry re using Revolution for Myst style games Message-ID: <6192367D59F8904CA553579EF41FEEA001A4F319@ukcbgx01psge.geips.ge.com> > From: Andre Garzia > > I am doing the same. I already did little myst like games... it's > pretty easy, no I am on a more adventurous task that is to create a > SCUMM-like engine, remember scumm games from lucasarts (monkey island > series, day of the tentacle, sam & max, indiana jones and the fate of > atlantis)... My aims are very modest. On the Scumm front (Day of the Tentacle is one of my favourites) there is ScummVM a free cross-platform engine for playing the old LucasArts etc games. > I just bought Rev Studio today, I plan to sprout a little > game demo and > sdk soon for the comunity, I do belive there's a market for > such games > if they are cheap. Good luck, I'd be interested in keeping in touch with what you're doing. I think there is a market for a cross between interactive stories and multimedia games with an accent on the story-telling. Cyan's "Uru" could be big too (but as there's no Mac client yet I won't be trying that. > (but as now, cloning myst is easier!) Imitation is the sincerest form of flattery. Cheers, Peter. From richmond at mail.maclaunch.com Thu Aug 28 06:22:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Aug 28 06:22:01 2003 Subject: revTools + : NEW VERSION Message-ID: Dear RunRev Afficionados, I have just uploaded a new version of my modified revTools stack to my website: it incorporates Klaus Major's FAVOURITES stack (with his permission). Will try to sort out a new version of the horizontal revTools sometime this afternoon. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From richmond at mail.maclaunch.com Thu Aug 28 06:51:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Aug 28 06:51:00 2003 Subject: some people like to do it HORIZONTALLY Message-ID: Dear RunRev Afficionados, Just uploaded the horizontal version of my modified revTools stack incorporating Klaus Major's FVOURITES stack. go on, I dare you: try it horizontally for a change! Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From helloc66 at hotmail.com Thu Aug 28 07:18:00 2003 From: helloc66 at hotmail.com (Jeremy Smith) Date: Thu Aug 28 07:18:00 2003 Subject: revTools + : NEW VERSION Message-ID: When I click the application browser using revTools is seems to always stay OnTop of the other stacks (unlike selecting it normally from the menu). Just curious if this is a design or bug? Windows XP Rev 2.1 Cheers Jeremy. >Dear RunRev Afficionados, > I have just uploaded a new version of my modified >revTools stack to my website: it incorporates Klaus Major's >FAVOURITES stack (with his permission). > >Will try to sort out a new version of the horizontal >revTools sometime this afternoon. > >Love, Richmond _________________________________________________________________ ninemsn Extra Storage is now available. Get five times more storage - 10MB in your Hotmail account. Click here http://join.msn.com/ From revolution at knowledgeworks.plus.com Thu Aug 28 07:45:01 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Thu Aug 28 07:45:01 2003 Subject: revolution 1.1.1 download availability Message-ID: <20030828133849.knowledgeworks@Plus.Net> I wanted to download copies of all Rev1.1.1 installs, for all the different OSs, and write them to cd. I know it might seem strange, but I still haven't found any compelling reason to use 2.x yet, and I prefer the design old 1.1.1 IDE. I'm entitled under my SBE license to use any of the available IDEs (even good old 1.1.1). Since I work on different hardware and OS at different times I want to have the whole range of development options available. (I'm even in the market for an old HP Unix machine...) I can understand that Rev1.1.1 is not available on the page of "Maintained" downloads, but I think it should still be available for those of us who are licensed to use it and would like to keep a copies for re-installation purposes. Does anyone have a solution for this scenario? Regards Bernard From klaus at major-k.de Thu Aug 28 07:52:01 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Aug 28 07:52:01 2003 Subject: WAV file woes In-Reply-To: Message-ID: <9F4B7188-D955-11D7-9BB0-000A27B49A96@major-k.de> Hi all, i have a slight inconveninece here... I have a WAV file 11.025 KHZ, 8 bit. A valid format, actutally... Works fine: on a Mac on windows using WMP on windows in RR in a player using QT on windows in RR using "play ac ..." When i set "dontuseqt" to true on win: plays with "play ac ..." in RR !!! but does NOT play in a player object !!! Any hints are very appreciated... Can be just a cursed soundfile, of course ;-) Regards Klaus Major klaus at major-k.de www.major-k.de P.S It is not MY file so please forget about suggestions about using another format and other not too helpful hints... ;-) From sims at ezpzapps.com Thu Aug 28 09:00:01 2003 From: sims at ezpzapps.com (sims) Date: Thu Aug 28 09:00:01 2003 Subject: players & TIFF files In-Reply-To: <9F4B7188-D955-11D7-9BB0-000A27B49A96@major-k.de> References: <9F4B7188-D955-11D7-9BB0-000A27B49A96@major-k.de> Message-ID: It seems that the only way to display a TIFF in Rev is with a player. I am using a Mac and it works well. But what happens if someone using a PC that does not have QuickTime installed uses a PC version of my app...will the player object still be able to display the TIFF? TIA sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From janschenkel at yahoo.com Thu Aug 28 09:12:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 28 09:12:01 2003 Subject: revolution 1.1.1 download availability In-Reply-To: <20030828133849.knowledgeworks@Plus.Net> Message-ID: <20030828140608.50086.qmail@web11906.mail.yahoo.com> --- revolution at knowledgeworks.plus.com wrote: > > I wanted to download copies of all Rev1.1.1 > installs, for all the different OSs, and write them > to cd. > > [snip] > > Does anyone have a solution for this scenario? > > Regards > Bernard > Hi Bernard, I recently downloaded them all myself, based on information extracted from the distribution builder. Steer your browser to : The UNIX subdirectory contains the complete UNIX-distributions ; the .gz files are the engines per platform. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From tkuypers at pandora.be Thu Aug 28 09:33:02 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Thu Aug 28 09:33:02 2003 Subject: Lost revMenubar on Windows XP In-Reply-To: Message-ID: Same happens here... Just hit ctrl + M to get the messagebox and type "set the loc of current stack to 400,400" and it is back immediately... Happy coding, Ton Kuypers > From: "Jeremy Smith" > Reply-To: use-revolution at lists.runrev.com > Date: Thu, 28 Aug 2003 10:05:12 +0000 > To: use-revolution at lists.runrev.com > Subject: Re: Lost revMenubar on Windows XP > > This problem occurs often to me as well, the solution is to right click on > revolution in the task bar select move, then hold down shift and press any > of the arrow keys, then move the mouse (while still holding shift) and the > menu bar will reappear. Its a bug that sets the location WAYYY off, is > anyone fixing this? > > Cheers. > Jeremy > > > >> Please help! >> >> I open Rev 2.03 on Windows XP and sometimes ONLY the toolbar is visible, >> the menuBar does not appear anyplace. Obviously is nothing I can do to open >> even the msg. box and type "show revMenuBar". >> >> When this problem occurs, I try to launch Rev again but still no menuBar is >> appearing - only another toolbar. >> >> I then restart the machine but the same problem occurs (no menuBar, only >> toolBar!) >> >> The only solution I have found is to reinstall the program after I shut >> down the machine. However, I am getting sick and tired in doing a couple of >> installations every day because the menuBar does not appear when launching >> Rev. >> >> How do I avoid this irritating problem? Why the menuBar is not showing? Is >> this a Rev or Windows problem? >> >> Any help will be greatly appreciated >> >> Regards, >> >> Anthony Kouvoussis > > _________________________________________________________________ > ninemsn Extra Storage is now available. No account expiration - no need to > worry about losing your Hotmail account. Click here http://join.msn.com/ > > _______________________________________________ > 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 Aug 28 09:47:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Aug 28 09:47:00 2003 Subject: revTools + : NEW VERSION Message-ID: Dear Jeremy Smith, The effect of having the application browser floating onTop was not intentional on my part: it is, however, a consequence of it being loaded as a 'palette' through revTools. All the best, Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.html __________________________________________________ --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From dave at b-i-s.org Thu Aug 28 10:07:01 2003 From: dave at b-i-s.org (dave at b-i-s.org) Date: Thu Aug 28 10:07:01 2003 Subject: revNumberOfRecords ruturns -1 in ODBC Message-ID: <3F4E2447.14868.1590753@localhost> Hi, I've just started using Revolution for a project. I'm using the revNumberOfRecords( RecordSetID) function but this only returns -1 with an ODBC data source. It's ok with MySQL. Am I stuck with this behavior or is there something I'm missing? Thanks for any tips. Regards, Dave Cope, I.T. Office, Biodiversity Information Service. From Roger.E.Eller at sealedair.com Thu Aug 28 10:22:00 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu Aug 28 10:22:00 2003 Subject: [ANN] Democratic Revolution Message-ID: On 8/27/2003 at 10:15PM, Monte Goulding wrote: > Hi All > > I just uploaded a new plugin called Democratic Revolution. The idea is you > create feature requests and vote on them to give the RunRev team a good idea > of what we want. You can vote as many times as you want but try and be > honest so that RunRev can take it seriously. > > There's no link on my website bit I'll put it on RevNet ASAP. For now here's > a link: http://www.sweattechnologies.com/rev/DemocraticRevolution.rev > > Cheers > > Monte Goulding Monte, This stack, as well as others like Go_RevNet.rev works great from a direct internet connection, but from behind a firewall it can't get out without authentication. Could you make it prompt for authentication in this situation? Otherwise I will just have to wait and cast my votes when I get home. I do like the concept of the users guiding RunRev toward future features that we want/need. Kind Regards, Roger Eller roger.e.eller at sealedair.com From john.patten at sbcusd.k12.ca.us Thu Aug 28 10:22:45 2003 From: john.patten at sbcusd.k12.ca.us (John Patten) Date: Thu Aug 28 10:22:45 2003 Subject: Message-ID: Message: 2 From: "Monte Goulding" To: Subject: RE: Simple question re: Using Extenals... Date: Thu, 28 Aug 2003 09:43:24 +0930 Reply-To: use-revolution at lists.runrev.com > Hello All... > > I haven't had the need to use an external Revolution, such as > "libSMTP"... > In the past with SuperCard, I could just use ResEdit to move an external > into a new project. libSMTP isn't an external... Oh... I thought they were. Are the calls made in that project built into Revolution now? Or if not, what would you call the LibSMTP project? TIA! -- John Patten Technology Coordinator San Bernardino City Unified School District John.patten at sbcusd.k12.ca.us 909 381-1208 Fax # 909 386-2540 http://www.sbcusd.k12.ca.us From gregory.lypny at videotron.ca Thu Aug 28 10:46:00 2003 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu Aug 28 10:46:00 2003 Subject: CGI Message-ID: Hi everyone, I'm wondering if there's step-by-step documentation and perhaps an example for using Rev as a CGI in OS X. Regards, Greg From FlexibleLearning at aol.com Thu Aug 28 10:55:05 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu Aug 28 10:55:05 2003 Subject: [ANN] The Scripters Scrapbook v3b4 for RR Message-ID: <12f.3092851b.2c7f7e70@aol.com> To let you know that the final beta of The Scripters Scrapbook is now available at the link below. It's been around since 1985 (for those of us who go back that far), first under HyperCard, then SuperCard, then MetaCard, now Revolution, upgraded each time. What is it? "Designed for scripters to collect their own tips, tricks and trinkets, The Scripters Scrapbook is not only a personal archive tool but also supports links to on-line resources, documents on your computer and email addresses. Any supplied samples are, we believe, public domain." www.flexibleLearning.com/xtalk/scriptersscrapbook/ScriptersScrapBook_v3b4.zip Feel free to delete all the contents and fill with your own... That's what it's designed for. If you wish to give it a spin and let me have some feedback before it is finalised, your support would be much appreciated! Size about 100k as a zip file. /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: mailto:h at flexibleLearning.com Web: www.flexibleLearning.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From themacguy at macosx.com Thu Aug 28 10:59:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Aug 28 10:59:00 2003 Subject: Double arrows In-Reply-To: <200308280435.AAA13108@www.runrev.com> Message-ID: John, The Rev Object Inspector's double-arrows are a "single-set", so to speak, rather than two sets at opposite ends of a scrollbar. It looks like Cocktail is attempting to double-up those arrows so a click doesn't register with the appropriate widget. (I can't believe I wrote that last sentence; is that techno-babble or what?) Once I eliminated the double-arrow "feature", Rev's OI window works fine. Barry On Wednesday, Aug 27, 2003, at 22:35 America/Denver, John wrote: > Message: 2 > Date: Wed, 27 Aug 2003 20:26:58 -0700 > Subject: Double arrows no problem-Tinker Tool > From: John Tenny > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Re double arrows... I'm using Tinker Tool and the only problem is not > in Rev. Occasionally the bottom down-arrow doesn't work - this in any > scrolling window. The upper down-arrow works fine, and the bottom > up-arrow works as well. From mcmultimedia at entelnet.bo Thu Aug 28 11:27:01 2003 From: mcmultimedia at entelnet.bo (ecu) Date: Thu Aug 28 11:27:01 2003 Subject: Acrobat Reader is present? Message-ID: <513BB1E5-D973-11D7-A1B9-0050E410F67A@entelnet.bo> Amigos: Many times you want to check if certain sw is installed in the users computer, this is true for Quicktime (in order to run QT files like QTVR etc), inthat case it is easily tetsted with the result of the function QTVersion(). But what if you want to know if Acrobat is installed? I want to be able to read pdf files directly within RR in the Mac, I can use a player and QT 6.3 but the trick doesn't work with Windows, pdf files can be viewed with the Excelent AltBowser only if the machine has Acrobat. Any ideas? I understand that, in the winboxes there is something like a "Registry" where the system store info about the residing apps. Have a good day, mcmultimedia at entelnet.bo Javier From jacque at hyperactivesw.com Thu Aug 28 11:34:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Aug 28 11:34:01 2003 Subject: Now What??? Where's my rev license? In-Reply-To: <1062063371.4227.20.camel@www.kmax.ici> References: <1062063371.4227.20.camel@www.kmax.ici> Message-ID: <3F4E2DAD.7080902@hyperactivesw.com> On 8/28/03 4:36 AM, Pierre Sahores wrote: > It's yet the time Rev's team generate the licenses for all the MC to Rev > crossgrade users updating to Rev 2.1 (by hand, Jacque ?). Well, by button anyway. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From steve at nexpath.com Thu Aug 28 11:45:02 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Thu Aug 28 11:45:02 2003 Subject: [ANN] The Scripters Scrapbook v3b4 for RR In-Reply-To: <12f.3092851b.2c7f7e70@aol.com> References: <12f.3092851b.2c7f7e70@aol.com> Message-ID: <3F4E322E.8000707@nexpath.com> > www.flexibleLearning.com/xtalk/scriptersscrapbook/ScriptersScrapBook_v3b4.zip > > Feel free to delete all the contents and fill with your own... That's > what it's designed for. > > If you wish to give it a spin and let me have some feedback before it is > finalised, your support would be much appreciated! Size about 100k as a > zip file. I took a look at this, very interesting; I am curious about coding methods and structure that others use. I am trying to figure out the best way to structure an application. One thing I immediately noticed is that ScriptersScrapbook does not seem to behave like a "normal" rev application like I have been creating. I could not seem to use the pointer tool to select objects, although I could by using the application browser. And "lock messages" does not seem to affect this application. Can you explain how the ScriptersScrapbook app is "different"? Also, any other folks that have links to good examples of coding style and methods, I would love to see them. I get the feeling that as powerful as RR is, there are plenty of ways to abuse the language, like Perl. The voices of experience would help here. I.e., is it better to tuck little snippets of code away inside lots of objects, or collect the code all at the main card level (as ScriptersScrapbook seems to have done). -Steve From klaus at major-k.de Thu Aug 28 11:51:00 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Aug 28 11:51:00 2003 Subject: players & TIFF files In-Reply-To: Message-ID: Hi sims, > It seems that the only way to display a TIFF in Rev is with a player. That's true, but only on top of QuickTime... > I am using a Mac and it works well. No wonder... ;-) > But what happens if someone using a PC that does not have QuickTime > installed > uses a PC version of my app...will the player object still be able to > display the > TIFF? Definitively not, sorry... You'll have to stick to JPG or GIF or PNG in that case. ...or BMP on win and PICT on Mac... Maybe someone will write an external for that task, but no way with the build-in tools (at least in the moment of this writing ;-). > TIA > > sims Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Thu Aug 28 12:04:22 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Aug 28 12:04:22 2003 Subject: In-Reply-To: Message-ID: <5812F61E-D978-11D7-9BB0-000A27B49A96@major-k.de> Hi John, > ... > libSMTP isn't an external... > > Oh... I thought they were. Are the calls made in that project built > into > Revolution now? Or if not, what would you call the LibSMTP project? just call it "Sean" :-D (Hi Sean, you're fine? :-) Just kidding. Technically it is a "library" stack. That means this is nothing but a "normal" stack* and you can access/use all the scripts in its stack-script by adding this stack to the message path like in this example-script: *(...that you can save as a substack of your mainstack or keep it as an external file...) on do_email_stuff start using "libSMTP" ## do your mail stuff here ###... ###... ###... stop using "libSMTP" end do_email_stuff This way the stack will only be loaded into memory when needed and removed from memory afterwards... Of course you can "start using xxx" in "openstack" or "preopenstack" etc..., too. Just as you need/like it :-) Hope that helps... > TIA! > > John Patten > Technology Coordinator > San Bernardino City Unified School District > John.patten at sbcusd.k12.ca.us > 909 381-1208 > Fax # 909 386-2540 > http://www.sbcusd.k12.ca.us Regards Klaus Major klaus at major-k.de www.major-k.de From wmb at internettrainer.com Thu Aug 28 12:06:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Aug 28 12:06:01 2003 Subject: Now What??? Where's my rev license? In-Reply-To: <51D6DAE6-D90C-11D7-B276-000A9567A3E6@swcp.com> Message-ID: On Donnerstag, Aug 28, 2003, at 06:01 Europe/Vienna, Dar Scott wrote: > On Wednesday, August 27, 2003, at 09:42 PM, Andre Garzia wrote: > >> just bought 199 studio version, now what, the home page just gave me >> a thank you for your transaction and stoped!!! Where do I get my >> license? Is this really ugly... > > Well, first check your mail. > > If it is not there, send Heather a note. She is very, very good at > solving these problems. If you're are worried about being double > charged or not getting it done before the cut off, mention that, too. Andre buenas noches y espera hasta manana, que Heather se levanta... Heather works very fast, but must sleep some times too...;) regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From revlist at cableone.net Thu Aug 28 12:54:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu Aug 28 12:54:00 2003 Subject: here's a challenge In-Reply-To: Message-ID: <000401c36d8c$946371a0$6501a8c0@chris1> Thanks to Dar, Sarah, and Monte for a solution to this. I was able to use a combination of your suggestions to make it work. If anyone is interested, here's my final script for this: on mouseMove pMouseH, pMouseV -- only if we're timing if the cTiming of this stack and the cShowGuide of this stack then put (pMouseV - the top of fld "myText" + the margins of fld "myText") \ div (the textHeight of fld "myText") into tLineNum if tLineNum is 0 then put 1 into tLineNum end if if tLineNum > (the height of fld "myText" div the textHeight of fld "myText") then put (the height of fld "myText" div the textHeight of fld "myText") into tLineNum end if set the top of grc "ReadingGuide" to the top of fld "myText" + \ (the margins of fld "myText" div 2) + (the textHeight of fld "myText" * (tLineNum-1)) end if end mouseMove Works like a charm. There's still some tweaking to do, but it's looking good. Thanks again. Chris Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From revlist at cableone.net Thu Aug 28 12:56:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu Aug 28 12:56:01 2003 Subject: here's a challenge In-Reply-To: Message-ID: <000001c36d8c$c20125d0$6501a8c0@chris1> Thanks to Dar, Sarah, and Monte for a solution to this. I was able to use a combination of your suggestions to make it work. If anyone is interested, here's my final script for this: on mouseMove pMouseH, pMouseV -- only if we're timing if the cTiming of this stack and the cShowGuide of this stack then put (pMouseV - the top of fld "myText" + the margins of fld "myText") \ div (the textHeight of fld "myText") into tLineNum if tLineNum is 0 then put 1 into tLineNum end if if tLineNum > (the height of fld "myText" div the textHeight of fld "myText") then put (the height of fld "myText" div the textHeight of fld "myText") into tLineNum end if set the top of grc "ReadingGuide" to the top of fld "myText" + \ (the margins of fld "myText" div 2) + (the textHeight of fld "myText" * (tLineNum-1)) end if end mouseMove Works like a charm. There's still some tweaking to do, but it's looking good. Thanks again. Chris Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From FlexibleLearning at aol.com Thu Aug 28 14:12:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu Aug 28 14:12:00 2003 Subject: Scripters Scrapbook Message-ID: <15d.23bce451.2c7fac8b@aol.com> In a message dated 28/08/2003 06:15:21 PM GMT Daylight Time, use-revolution-request at lists.runrev.com writes: > Can you explain how the ScriptersScrapbook app is "different"? Also, any > other folks that have links to good examples of coding style and > methods, I would love to see them. The main window is dynamically set on launch, that's all. It's designed to be a 'use whilst you work' tool, so is designed to be impervious to the authoring environment. Nothing more. > I get the feeling that as powerful as RR is, there are plenty of ways to > abuse the language, like Perl. The voices of experience would help > here. I.e., is it better to tuck little snippets of code away inside > lots of objects, or collect the code all at the main card level (as > ScriptersScrapbook seems to have done). Anything used more than once should have its own code. Easier to maintain, track and manage. Shared handlers at stack level allow background, group and card-level modifications. I collected the following tips and tricks over the years... Feel free to disagree, add or ignore. - Don't trash accepted interface expectations. Refer to the interface section of the Power Tips project bundled with SuperCard, the Mac HIG and Win HIG. - Read the Tech Notes supplied with SuperCard and the Concepts & Techniques stack supplied with MetaCard, and the extensive documentation with Revolution. Lots of useful tips. - Any operation used more than twice should have its own handler. - Balance length of handler with compiling time overhead and the shareability of smaller, more quickly compiled, utility handlers and functions. - Compact code is faster to run, but harder to unravel when you need to analyse it later. Use comments to explain "why" as well as "what", if not "how" as well. - Keep a list of all global variables, and put empty into them when you close the project for clean housekeeping. - Use a consistent naming convention: g_GlobalName, t_LocalName, a_ArrayName. Some folks also name built-in handlers and function with a lowercase initial letter and their own with an uppercase leet eg 'on mouseUp' but 'on ShowItems' so things can be more easily identified. - Collect all the data first, then operate on it rather than collect, operate, collect, operate. - Make handlers and functions as general as possible. You can then re-use them. - Make sure that anything passed to a function or handler can be handled, however unlikely, including empty perameters. - Keep a standard set of navigation handlers eg "goPrev". Adjustments are easier to implement. - The larger the number of items on a card, the slower it opens. - The larger the amount of styled text, the longer any operation on it takes to process. - Use draw objects rather than bitmaps... they load faster. - For a fast transition to a card with a large colour bitmap, put it in a separate window and open it invisible before showing the window. - Lock screen speeds up many operations, but frequent unlocking has a time overhead which increases with the number of items to be redrawn. - Setting lockMenus to true in SC speeds up menu operations by a factor of 20. - Functions with brackets take longer than functions without brackets when you have the choice eg "topWindow()" is slower than "the topWindow" in MC. - Calculate once, and use a variable thereafter. - Add a zero to variable names in calculations to force them into binary format. Subsequent calculations are very much faster since they don't have to be interpreted as text. - Variables are much faster to access than other containers. - The more the variables, the slower the calculation; "add a to b" is faster than "put a+b into c" or "put a+b into b". - Prefix global variables eg g_VarName. They are then easily identified. - Put names in quotes. They are faster to compile since they are not checked as variables first, and you cannot unintentionally confuse them with a variable of the same spelling. - Beware of embedded repeat routines; they slow the execution exponentially. - The fewer the characters, the faster they compile; "num of flds" is quicker than "the number of background fields". - Preferences can be stored in a text file as well as fields. - Just because you can doesn't mean you should. Less is often more, especially with colour. - Try using modal windows rather than popup fields. - Back up regularly, and use version numbers. Three generations of work is better than two. - Differentiate between a comment line (note) and a commented line (disabled) eg ## This is a note... -- get myArray(n,t) ## now defunct ... It helps debugging. /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: mailto:h at flexibleLearning.com Web: www.flexibleLearning.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sanke at hrz.uni-kassel.de Thu Aug 28 14:32:00 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu Aug 28 14:32:00 2003 Subject: Drawer samples stack Message-ID: <3F4E596A.B6CF0C6A@hrz.uni-kassel.de> TReacting to a discussion we had on the Metacard list about the new drawer command and some posts on the use-revolution list I have uploaded a sample stack "drawers2.zip" to "ftp.hrz.uni-kassel.de/pub/uni-kassel/Zentraler.Medienbereich/Sanke/Metacard/MetacardPractice/" The stack does *not* use the new drawer command, therefore the examples could be implemented on any platform and also with older versions of Metacard or Revolution. Two approaches are illustrated - changing the stack size - and even here achieving a real sliding-drawer effect - using substacks or other stacks Modifying the examples - that use substacks - you can create any reasonable number of drawers at any point of the four sides of the base stack that slide out in any direction, i.e. also diagonally. If you wish, you could also go to another card of the drawer stack before it is displayed ( There was a request or a question about this on the list). No "resize"-problems occur as they were reported for the new drawer command on MacOS X: > in 2.1 (Final) the drawer resize problem is here again... [:-(] > > (snip) > > After 5 or 6 times opening/closing that drawer has shrunk to 128 pixel > in height... > Regards, Wilhelm Sanke From castor at brevet.nu Thu Aug 28 14:36:42 2003 From: castor at brevet.nu (=?ISO-8859-1?Q?Benny_Fr=F6din?=) Date: Thu Aug 28 14:36:42 2003 Subject: Drawer in Rev.2.1 In-Reply-To: <200308271917.PAA14117@www.runrev.com> Message-ID: Hi! Does anybody know why the drawer become smaller for each time you open it To make it unresizeable doesnt work Is it a bug? Benny From alrice at arcplanning.com Thu Aug 28 14:50:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Thu Aug 28 14:50:00 2003 Subject: Scripters Scrapbook In-Reply-To: <15d.23bce451.2c7fac8b@aol.com> Message-ID: On Thursday, August 28, 2003, at 01:05 PM, FlexibleLearning at aol.com wrote: > I collected the following tips and tricks over the years... Feel free > to disagree, add or ignore OK! this is definitely going in my revolution tips and tricks folder. > -? Balance length of handler with compiling time overhead and the > shareability of smaller, more quickly compiled, utility handlers and > functions. Does 1 long handler take less time to compile than 10 small handlers? (accomplishing roughly the same task) > -? Keep a list of all global variables, and put empty into them when > you close the project for clean housekeeping. That is interesting. globals persist in the IDE (and I assume in a standalone while running) even after the stack is closed- even if "purged" from memory. I guess that makes sense. Globals are sure... global. > -? Use a consistent naming convention: g_GlobalName, t_LocalName, > a_ArrayName. Some folks also name built-in handlers and function with > a lowercase initial letter and their own with an uppercase leet eg 'on > mouseUp' but 'on ShowItems' so things can be more easily identified. Richard Gaskin's style guide recommends no underscores which I tend to agree with. Following this guide has really helped me clean up my scripting: http://www.fourthworld.com/embassy/articles/scriptstyle.html > -? Setting lockMenus to true in SC speeds up menu operations by a > factor of 20. Speaking of which, why do the Rev docs say "lockMenus" has no effect on Win and Unix? > -? Functions with brackets take longer than functions without brackets > when you have the choice eg "topWindow()" is slower than "the > topWindow" in MC. You mean brackets or parenthesis? Is it correct to state that in Rev only builtin functions can be accessed with either form: topWindow() vs. the topWindow How do they do that, make a handler and a function with the same name? > -? Add a zero to variable names in calculations to force them into > binary format. Subsequent calculations are very much faster since they > don't have to be interpreted as text. Does this work for Rev too? I don't remember seeing that notation before. > -? The fewer the characters, the faster they compile; "num of flds" is > quicker than "the number of background fields". Considering this issue, plus the fact that the Rev distribution builder does not remove comments when building a standalone, a very useful plugin for the distribution builder would be one that makes a copy of the stack, strips comments out of scripts, and replaces object names with compact hex codes, and object references with abbreviations (like bg instead of background) to produce smaller stack sizes and faster runtime compilation. > -? Try using modal windows rather than popup fields. Can you give an example when it would advantageous? Thanks, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From capellan2000 at yahoo.com Thu Aug 28 15:43:41 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu Aug 28 15:43:41 2003 Subject: Ink Effects problem Message-ID: <20030828203511.71796.qmail@web40501.mail.yahoo.com> Thanks to Bj?rnke and Sarah for sending pdf screenshots from their platforms. I guess that the Ink effects are switched on Mac or PC. srcOr becomes srcAnd and viceversa. Anyone from Linux, please? Alejandro ===== Visit my site: http://www.geocities.com/capellan2000/ Search the mail list: http://mindlube.com/cgi-bin/search-use-rev.cgi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From alrice at arcplanning.com Thu Aug 28 15:55:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Thu Aug 28 15:55:00 2003 Subject: [OT] G5, Macs, and Revolution Message-ID: <058D91EC-D999-11D7-ACF8-000393529642@arcplanning.com> To anyone writing externals on OS X, or just wanting to keep up with the cutting edge on Mac OS X developments: IBM has released a free trial of their new XLC compiler for Mac OS X. The G5 optimizations are supposed to be far superior than the GCC compiler being offered by Apple in their Dev tools. http://apple.slashdot.org/apple/03/08/28/ 1746213.shtml?tid=126&tid=137&tid=181 http://www-3.ibm.com/software/awdtools/ccompilers/ Not having a G5 myself-ly yours, Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jperryl at ecs.fullerton.edu Thu Aug 28 16:08:00 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu Aug 28 16:08:00 2003 Subject: Myst In-Reply-To: Message-ID: Somewhere I have a 'hacked' Myst stack that displays some HyperTalk scripts... I did it to prove to my students that Myst was indeed a Hypercard stack... Judy On Tue, 26 Aug 2003, Barry Levine wrote: > IIRC, the genesis of Myst was "The Manhole" which was a HC stack > (multiple stacks due to the elaborate "hyper-linking" of its logic). It > was further developed into a "real" program and, while I haven't been > able to locate the Mac version, I have found the link to the Windows > version: > > http://free-game-downloads.mosw.com/abandonware/pc/educational_games/ > manhole_the.html > > It's "Abandonware" and is now a free download. > > My kids' first experience with a Mac was The Manhole (HC version). I > had it running under HC 1.x in the MacWorks MacPlus emulation > environment on my Lisa. It worked flawlessly and kept my kids > entertained for hours. It also provided much of the "I can do that, > too" attitude that led me down the path to Rev. > > Barry > > On Tuesday, Aug 26, 2003, at 08:56 America/Denver, Alex wrote: > > > I remember reading that somewhere Myst itself began it's life as a > > hypercard stack. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Thu Aug 28 16:11:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu Aug 28 16:11:01 2003 Subject: Myst In-Reply-To: <200308261806.h7QI6nL0088633@shinra.com> Message-ID: I thought that I'd read somewhere that they had an SGI going 24-7 for the 3D work... Not true? Judy On Tue, 26 Aug 2003, Edwin Gore wrote: > (Oh, and all the 3D was done using Strata 3D, also on the Mac) From mcmultimedia at entelnet.bo Thu Aug 28 16:13:01 2003 From: mcmultimedia at entelnet.bo (ecu) Date: Thu Aug 28 16:13:01 2003 Subject: Acrobat Reader is present? Message-ID: <513BB1E5-D973-11D7-A1B9-0050E410F67A@entelnet.bo> Amigos: Many times you want to check if certain sw is installed in the users computer, this is true for Quicktime (in order to run QT files like QTVR etc), inthat case it is easily tetsted with the result of the function QTVersion(). But what if you want to know if Acrobat is installed? I want to be able to read pdf files directly within RR in the Mac, I can use a player and QT 6.3 but the trick doesn't work with Windows, pdf files can be viewed with the Excelent AltBowser only if the machine has Acrobat. Any ideas? I understand that, in the winboxes there is something like a "Registry" where the system store info about the residing apps. Have a good day, mcmultimedia at entelnet.bo Javier From revlist at cableone.net Thu Aug 28 17:04:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu Aug 28 17:04:01 2003 Subject: docs bug in 2.1? Message-ID: <000601c36daf$63165c20$66fea8c0@chris1> Just wondering if anyone else is seeing this problem. Open the Transcript Language Dictionary and select an item from the Show: drop-down list. Does the correct category listing display? Mine doesn't. Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From edgore at shinra.com Thu Aug 28 17:09:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Thu Aug 28 17:09:01 2003 Subject: OT: Myst Message-ID: <200308282203.h7SM30pi035936@shinra.com> For Myst II I believe they did - they went out and blew all the money from Myst one on SGI Onyx's, as I recall. Myst was modeled using a combination of the Strata modeler and (I think) the Amapi modeler, then rendered entirely on Macs using the Strata renderer, which was capable of splitting render jobs across several networked macs. Before Myst came out, the then new Strata Studio Pro shipped with a 10 or 15 minute "Making of Myst" quicktime movie on the install disk. Everyone in the graphics department I worked in sat in slack jawed amazement when they started showing the sample images from this upcoming game nobody had ever heard of before. >----- ------- Original Message ------- ----- >From: Judy Perry >To: >Sent: Thu, 28 Aug 2003 -0700 (PDT) 14:04:51 > >I thought that I'd read somewhere that they had an >SGI going 24-7 for the >3D work... Not true? > >Judy > >On Tue, 26 Aug 2003, Edwin Gore wrote: > >> (Oh, and all the 3D was done using Strata 3D, >also on the Mac) > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From James.Cass at sealedair.com Thu Aug 28 17:25:00 2003 From: James.Cass at sealedair.com (James.Cass at sealedair.com) Date: Thu Aug 28 17:25:00 2003 Subject: OT: Myst In-Reply-To: <200308282203.h7SM30pi035936@shinra.com> Message-ID: > which was capable of splitting render jobs across several networked macs. Now you too can make your own Mac Cluster with "Pooch"! Now you'll have something to do with all those dual G5's you ordered. ;-P http://www.daugerresearch.com/pooch/recipe.html -James |---------+-------------------------------------> | | "Edwin Gore" | | | | | | Sent by: | | | use-revolution-admin at lists| | | .runrev.com | | | | | | | | | 08/28/03 06:03 PM | | | Please respond to | | | use-revolution | |---------+-------------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: use-revolution at lists.runrev.com | | cc: | | Subject: OT: Myst | >------------------------------------------------------------------------------------------------------------------------------| For Myst II I believe they did - they went out and blew all the money from Myst one on SGI Onyx's, as I recall. Myst was modeled using a combination of the Strata modeler and (I think) the Amapi modeler, then rendered entirely on Macs using the Strata renderer, which was capable of splitting render jobs across several networked macs. Before Myst came out, the then new Strata Studio Pro shipped with a 10 or 15 minute "Making of Myst" quicktime movie on the install disk. Everyone in the graphics department I worked in sat in slack jawed amazement when they started showing the sample images from this upcoming game nobody had ever heard of before. >----- ------- Original Message ------- ----- >From: Judy Perry >To: >Sent: Thu, 28 Aug 2003 -0700 (PDT) 14:04:51 > >I thought that I'd read somewhere that they had an >SGI going 24-7 for the >3D work... Not true? > >Judy > >On Tue, 26 Aug 2003, Edwin Gore wrote: > >> (Oh, and all the 3D was done using Strata 3D, >also on the Mac) > >_______________________________________________ >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 Thu Aug 28 18:16:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 28 18:16:01 2003 Subject: local host does not see broadcast on OS X In-Reply-To: <073B20D2-D8D0-11D7-B276-000A9567A3E6@swcp.com> Message-ID: On Wednesday, August 27, 2003, at 02:50 PM, Dar Scott wrote: > I have a small sockets stack that listens on a UDP port (accept) and > sends datagrams to that port on an IP address. If the address is > broadcast, the behavior is not consistent among platforms tested. > This applies whether the broadcast is general (255.255.255.255) or > subnet specific (for example, 10.99.255.255) > > If the local computer is included in the broadcast specification > (which it always is in the general broadcast), the datagram is > received on Windows XP and on Mac OS 9.2. But it is not on OS X. > > To my thinking the OS X behavior is goofy. After looking at 'route get' and netstat and ifconfig, I suspect this may be a routing problem (and perhaps involves politics, philosophy, pragmatics and literacy). If I do a 'route get' on the general broadcast IP address or my local subnet broadcast address, only the ethernet adaptor shows up (en0), the local host does not (lo0). In the host file 255.255.255.255 is routed to broadcasthost whatever that is. I did notice that a device can have a BROADCAST flag set in ifconfig, so broadcasthost might forward to all devices with that flag set. Device lo0 does not have it set. The subnet broadcast is handled elsewhere. A netstat -r shows the subnet broadcast routed to en0 and does not include an entry for lo0. The consistency seems to indicate policy. (A policy that is in violation of the meaning of broadcast addresses.) So... I'm still not sure. Can anyone confirm that this is a routing problem? If so, my strategy is to find a workaround rather than bother RunRev. If I have users fiddle with routing I might break something. Does this also happen on Linux? Dar Scott From jacque at hyperactivesw.com Thu Aug 28 18:18:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Aug 28 18:18:00 2003 Subject: docs bug in 2.1? In-Reply-To: <000601c36daf$63165c20$66fea8c0@chris1> References: <000601c36daf$63165c20$66fea8c0@chris1> Message-ID: <3F4E8C0C.4050605@hyperactivesw.com> On 8/28/03 4:57 PM, Chris Sheffield wrote: > Just wondering if anyone else is seeing this problem. Open the Transcript > Language Dictionary and select an item from the Show: drop-down list. Does > the correct category listing display? Mine doesn't. Mine does (OS X) but someone else on the list said theirs didn't either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From steve at nexpath.com Thu Aug 28 18:27:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Thu Aug 28 18:27:00 2003 Subject: Scripters Scrapbook In-Reply-To: <15d.23bce451.2c7fac8b@aol.com> References: <15d.23bce451.2c7fac8b@aol.com> Message-ID: <3F4E9052.1060905@nexpath.com> Thanks very kindly for taking the time to answer my question and make such a long list of style suggestions. It will probably take me a while to absorb the full meaning of these, but coming from someone experienced, I intend to give them a great deal of consideration. You mention SC and MC, and as a Unix and Windows person, I am not that familiar with these. Are there links still available to these? -Steve FlexibleLearning at aol.com wrote: > In a message dated 28/08/2003 06:15:21 PM GMT Daylight Time, > use-revolution-request at lists.runrev.com writes: > > >>Can you explain how the ScriptersScrapbook app is "different"? Also, any >>other folks that have links to good examples of coding style and >>methods, I would love to see them. > > > The main window is dynamically set on launch, that's all. It's designed to be > a 'use whilst you work' tool, so is designed to be impervious to the > authoring environment. Nothing more. > > >>I get the feeling that as powerful as RR is, there are plenty of ways to >>abuse the language, like Perl. The voices of experience would help >>here. I.e., is it better to tuck little snippets of code away inside >>lots of objects, or collect the code all at the main card level (as >>ScriptersScrapbook seems to have done). > > > Anything used more than once should have its own code. Easier to maintain, > track and manage. Shared handlers at stack level allow background, group and > card-level modifications. > > I collected the following tips and tricks over the years... Feel free to > disagree, add or ignore. > > - Don't trash accepted interface expectations. Refer to the interface > section of the Power Tips project bundled with SuperCard, the Mac HIG and Win HIG. > > - Read the Tech Notes supplied with SuperCard and the Concepts & Techniques > stack supplied with MetaCard, and the extensive documentation with Revolution. > Lots of useful tips. > > - Any operation used more than twice should have its own handler. > > - Balance length of handler with compiling time overhead and the > shareability of smaller, more quickly compiled, utility handlers and functions. > > - Compact code is faster to run, but harder to unravel when you need to > analyse it later. Use comments to explain "why" as well as "what", if not "how" as > well. > > - Keep a list of all global variables, and put empty into them when you > close the project for clean housekeeping. > > - Use a consistent naming convention: g_GlobalName, t_LocalName, > a_ArrayName. Some folks also name built-in handlers and function with a lowercase initial > letter and their own with an uppercase leet eg 'on mouseUp' but 'on > ShowItems' so things can be more easily identified. > > - Collect all the data first, then operate on it rather than collect, > operate, collect, operate. > > - Make handlers and functions as general as possible. You can then re-use > them. > > - Make sure that anything passed to a function or handler can be handled, > however unlikely, including empty perameters. > > - Keep a standard set of navigation handlers eg "goPrev". Adjustments are > easier to implement. > > - The larger the number of items on a card, the slower it opens. > > - The larger the amount of styled text, the longer any operation on it takes > to process. > > - Use draw objects rather than bitmaps... they load faster. > > - For a fast transition to a card with a large colour bitmap, put it in a > separate window and open it invisible before showing the window. > > - Lock screen speeds up many operations, but frequent unlocking has a time > overhead which increases with the number of items to be redrawn. > > - Setting lockMenus to true in SC speeds up menu operations by a factor of > 20. > > - Functions with brackets take longer than functions without brackets when > you have the choice eg "topWindow()" is slower than "the topWindow" in MC. > > - Calculate once, and use a variable thereafter. > > - Add a zero to variable names in calculations to force them into binary > format. Subsequent calculations are very much faster since they don't have to be > interpreted as text. > > - Variables are much faster to access than other containers. > > - The more the variables, the slower the calculation; "add a to b" is faster > than "put a+b into c" or "put a+b into b". > > - Prefix global variables eg g_VarName. They are then easily identified. > > - Put names in quotes. They are faster to compile since they are not checked > as variables first, and you cannot unintentionally confuse them with a > variable of the same spelling. > > - Beware of embedded repeat routines; they slow the execution exponentially. > > - The fewer the characters, the faster they compile; "num of flds" is > quicker than "the number of background fields". > > - Preferences can be stored in a text file as well as fields. > > - Just because you can doesn't mean you should. Less is often more, > especially with colour. > > - Try using modal windows rather than popup fields. > > - Back up regularly, and use version numbers. Three generations of work is > better than two. > > - Differentiate between a comment line (note) and a commented line > (disabled) eg > > ## This is a note... > -- get myArray(n,t) ## now defunct > > ... It helps debugging. > > /H > _________________________________________________ > Hugh Senior > The Flexible Learning Company > Consultant Programming & Software Solutions > Fax/Voice: +44 (0)1483.27 87 27 > Email: mailto:h at flexibleLearning.com > Web: www.flexibleLearning.com > From steve at nexpath.com Thu Aug 28 18:41:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Thu Aug 28 18:41:01 2003 Subject: docs bug in 2.1? In-Reply-To: <3F4E8C0C.4050605@hyperactivesw.com> References: <000601c36daf$63165c20$66fea8c0@chris1> <3F4E8C0C.4050605@hyperactivesw.com> Message-ID: <3F4E939B.6060900@nexpath.com> J. Landman Gay wrote: > On 8/28/03 4:57 PM, Chris Sheffield wrote: > >> Just wondering if anyone else is seeing this problem. Open the >> Transcript >> Language Dictionary and select an item from the Show: drop-down list. >> Does >> the correct category listing display? Mine doesn't. > > > Mine does (OS X) but someone else on the list said theirs didn't either. > Mine is 2-5 positions off on Windows. Varies, depending on where you are at. -Steve From monte at sweattechnologies.com Thu Aug 28 18:43:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 28 18:43:01 2003 Subject: [ANN] Democratic Revolution In-Reply-To: Message-ID: > > On 8/27/2003 at 10:15PM, Monte Goulding wrote: > > Hi All > > > > I just uploaded a new plugin called Democratic Revolution. The idea is > you > > create feature requests and vote on them to give the RunRev team a good > idea > > of what we want. You can vote as many times as you want but try and be > > honest so that RunRev can take it seriously. > > > > There's no link on my website bit I'll put it on RevNet ASAP. For now > here's > > a link: http://www.sweattechnologies.com/rev/DemocraticRevolution.rev > > > > Cheers > > > > Monte Goulding > > Monte, > > This stack, as well as others like Go_RevNet.rev works great from > a direct > internet connection, but from behind a firewall it can't get out without > authentication. Could you make it prompt for authentication in this > situation? Otherwise I will just have to wait and cast my votes > when I get > home. I do like the concept of the users guiding RunRev toward future > features that we want/need. Hmmm... Has anyone got scripts to do this? It would be good to upgrade libURL to handle such situations Cheers Monte From alrice at arcplanning.com Thu Aug 28 18:59:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Thu Aug 28 18:59:00 2003 Subject: Revolution and fonts In-Reply-To: Message-ID: > On Tuesday, August 19, 2003, at 04:30 PM, Richard Gaskin wrote: >> And on most systems, merely setting the textfont to any invalif font >> name (I >> tend to ue "0") will force it to use the default system font, so >> really the >> only platform-specific setting is the textSize. > On Monday, August 25, 2003, at 12:10 AM, Alex Rice wrote: > I was experimenting with this and one must actually put "0" for the > font name, not empty, otherwise the font name will revert and fill > itself in with the default font name "Lucida Grande" on my Mac. This > only happens if one changes the font size as well. Is this a bug? Another possible bug: On Rev 2.1 on Windows, putting "0" for the textFont property in the inspector causes it to ignore the textSize property- it will revert to 10 or 11 pt. On OS X with Rev 2.1 a "0" textFont with a textSize properties behaves as expected: the system font of the specified size. Should I bugzilla either or both of these? If both of these bugs exist, then, what's the best way to maintain the system font xplatform, while also maintaining control over the textSize? Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Thu Aug 28 19:23:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 28 19:23:00 2003 Subject: Revolution and fonts In-Reply-To: Message-ID: <26C8CE42-D9B6-11D7-8532-000A9567A3E6@swcp.com> On Thursday, August 28, 2003, at 05:53 PM, Alex Rice wrote: > On Rev 2.1 on Windows, putting "0" for the textFont property in the > inspector causes it to ignore the textSize property- it will revert to > 10 or 11 pt. On OS X with Rev 2.1 a "0" textFont with a textSize > properties behaves as expected: the system font of the specified size. I think a similar bug concerning size and font had been reported and it turned out to be a feature. You might want to look for that. Memory fading... Dar Scott From dsc at swcp.com Thu Aug 28 19:24:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 28 19:24:01 2003 Subject: External: Throw Message-ID: <5239B646-D9B6-11D7-8532-000A9567A3E6@swcp.com> Is there a way to throw from an external and have it caught in Transcript? Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From monte at sweattechnologies.com Thu Aug 28 19:27:02 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 28 19:27:02 2003 Subject: visual effect between stacks Message-ID: Hi All Is it possible to get smooth transitions and visual effects between stacks? I've been mucking around with this for a while now and it seems that lock screen just doen't work if you are opening or showing a new stack between lock and unlock. Any hints? Cheers Monte From monte at sweattechnologies.com Thu Aug 28 19:43:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 28 19:43:01 2003 Subject: External: Throw In-Reply-To: <5239B646-D9B6-11D7-8532-000A9567A3E6@swcp.com> Message-ID: > > Is there a way to throw from an external and have it caught in > Transcript? > Didn't I ask that a few weeks ago and you said that you would have a transcript interface to the external that would throw errors. Cheers Monte From dsc at swcp.com Thu Aug 28 19:48:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 28 19:48:00 2003 Subject: External: Are any callbacks designed to be threadsafe? Message-ID: Anybody know if the external callbacks are threadsafe or are intended to be threadsafe? I am assuming that all callbacks are safe from the external idle handler. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Thu Aug 28 20:05:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 28 20:05:00 2003 Subject: External: Throw In-Reply-To: Message-ID: <04A15392-D9BC-11D7-8532-000A9567A3E6@swcp.com> On Thursday, August 28, 2003, at 06:36 PM, Monte Goulding wrote: >> Is there a way to throw from an external and have it caught in >> Transcript? >> > > Didn't I ask that a few weeks ago and you said that you would have a > transcript interface to the external that would throw errors. Very likely. Now that I think about it that looks like a very good idea. I'll do that. Dar Scott From yoy at comcast.net Thu Aug 28 20:06:01 2003 From: yoy at comcast.net (yoy) Date: Thu Aug 28 20:06:01 2003 Subject: Scripters Scrapbook References: <15d.23bce451.2c7fac8b@aol.com> Message-ID: <001101c36dc7$23d18900$b2ea5144@fatal7lcf637rj> Hugh, Revolution should implement your list into it's script debugger!? > - Collect all the data first, then operate on it rather than collect, > operate, collect, operate. Many thanks, Andy From shaosean at unitz.ca Thu Aug 28 20:42:01 2003 From: shaosean at unitz.ca (Shao Sean) Date: Thu Aug 28 20:42:01 2003 Subject: Message-ID: <200308290136.VAA13201@bright.unitz.ca> libSMTP is a library stack built completely in transcript... my 'alwaysOnTop' DLL is a windows external.. written in C/C++ -Sean ----- Original Message Follows ----- > Oh... I thought they were. Are the calls made in that > project built into Revolution now? Or if not, what would > you call the LibSMTP project? From briany at qldlearning.com Thu Aug 28 20:44:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Thu Aug 28 20:44:01 2003 Subject: External: Throw In-Reply-To: <5239B646-D9B6-11D7-8532-000A9567A3E6@swcp.com> Message-ID: <642211CD-D9C1-11D7-A5D0-000393AA08D2@qldlearning.com> Externals have both "pass" and "error" arguments passed to their functions. Try setting one (or both) to true- I haven't experimented with them myself, but I assume that one passes the message and the other throws an error. Most of my externals look something like: void magicExternal(char *args[], int nargs, char **retstring, Bool *pass, Bool *error) { char* retstr = (char*)malloc(32); sprintf(retstr, "My favorite number is %d", atol(args[0])); ... cleanup: *error = false; *pass = false; if (retstr == NULL) retstr = (char*)calloc(1,1); *retstring = (char*)calloc(strlen(retstr) + 1 ,1); BlockMoveData(retstr, *retstring, strlen(retstr)); free(retstr); } Try throwing in a "true" for error and see what happens! Brian > Is there a way to throw from an external and have it caught in > Transcript? > > Dar Scott -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1539 bytes Desc: not available URL: From scott at tactilemedia.com Thu Aug 28 21:02:02 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Aug 28 21:02:02 2003 Subject: visual effect between stacks In-Reply-To: Message-ID: Recently, Monte Goulding wrote: > Is it possible to get smooth transitions and visual effects between stacks? > I've been mucking around with this for a while now and it seems that lock > screen just doen't work if you are opening or showing a new stack between > lock and unlock. The built-in visual effects only apply to individual stacks and their contents -- there is no built-in transition that works across multiple stacks. In any event, when you say "smooth" it sounds as if you're using the dissolve transition or similar. Not sure if this is an option but if you're looking for something more than a simple "open" or "go", you might consider progressively changing the rect of a newly opened stack. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From steve at nexpath.com Thu Aug 28 21:12:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Thu Aug 28 21:12:00 2003 Subject: In-Reply-To: <200308290136.VAA13201@bright.unitz.ca> References: <200308290136.VAA13201@bright.unitz.ca> Message-ID: <3F4EB54D.4090003@nexpath.com> Shao Sean wrote: > libSMTP is a library stack built completely in transcript... > my 'alwaysOnTop' DLL is a windows external.. written in > C/C++ Sean: Thanks for your code contributions. I think you should make libSMTP (and all your code for that matter) LGPL or at least GPL, rather than just "public domain". This way, if someone makes improvements, they are compelled to release the improvements it to the community. The LGPL/GPL copyright approaches are very important, IMHO. -Steve From monte at sweattechnologies.com Thu Aug 28 21:38:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 28 21:38:00 2003 Subject: visual effect between stacks In-Reply-To: Message-ID: > Recently, Monte Goulding wrote: > > > Is it possible to get smooth transitions and visual effects > between stacks? > > I've been mucking around with this for a while now and it seems > that lock > > screen just doen't work if you are opening or showing a new > stack between > > lock and unlock. > > The built-in visual effects only apply to individual stacks and their > contents -- there is no built-in transition that works across multiple > stacks. > > In any event, when you say "smooth" it sounds as if you're using the > dissolve transition or similar. Not sure if this is an option > but if you're > looking for something more than a simple "open" or "go", you > might consider > progressively changing the rect of a newly opened stack. > This is a bit frustrating... I'm trying to put together a presentation that includes a number of stacks (each screen is a different stack). I had hoped to use quicktime effects (user selection) to transition between stacks but as you say it seems to be unsupported. I don't think the progrssive rect change will satisfy my clients but thanks for the idea. Thanks Monte From monte at sweattechnologies.com Thu Aug 28 21:41:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 28 21:41:01 2003 Subject: visual effect between stacks In-Reply-To: Message-ID: > > Is it possible to get smooth transitions and visual effects > between stacks? > > I've been mucking around with this for a while now and it seems > that lock > > screen just doen't work if you are opening or showing a new > stack between > > lock and unlock. > > The built-in visual effects only apply to individual stacks and their > contents -- there is no built-in transition that works across multiple > stacks. > > In any event, when you say "smooth" it sounds as if you're using the > dissolve transition or similar. Not sure if this is an option > but if you're > looking for something more than a simple "open" or "go", you > might consider > progressively changing the rect of a newly opened stack. > Hey... it seems the in window modifier for go cd supports visual efects between stacks. Cheers Monte From scott at tactilemedia.com Thu Aug 28 23:38:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Aug 28 23:38:01 2003 Subject: visual effect between stacks In-Reply-To: Message-ID: > Hey... it seems the in window modifier for go cd supports visual efects > between stacks. So it does -- nice catch. You should be good to go. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From monte at sweattechnologies.com Thu Aug 28 23:58:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 28 23:58:00 2003 Subject: visual effect between stacks In-Reply-To: Message-ID: > > Hey... it seems the in window modifier for go cd supports visual efects > > between stacks. > > So it does -- nice catch. You should be good to go. > Not so easy ;-( I've got heaps going on to generate each screen. It's a git tricky but I should be able to get it right in the end. Cheers Monte From rgould8 at aol.com Fri Aug 29 00:02:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Fri Aug 29 00:02:01 2003 Subject: Can I mimic an https forms submit? Message-ID: <3F4EDCB3.4010609@aol.com> An HTML attachment was scrubbed... URL: From alrice at arcplanning.com Fri Aug 29 00:17:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 00:17:00 2003 Subject: Can I mimic an https forms submit? In-Reply-To: <3F4EDCB3.4010609@aol.com> Message-ID: <20485614-D9DF-11D7-9306-000393529642@arcplanning.com> On Thursday, August 28, 2003, at 10:55 PM, Rob Gould wrote: > If I were just passing xml via a POST call, I'd know what to do, > however, this web-page passes it's data via an HTML Form submit, via > https://.? Is there a Revolution equivilant to such a thing? Nope- I think SSL (what's used for https URLS) is on the list of future features possibly. Cast your vote! Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From gcanyon at inspiredlogic.com Fri Aug 29 00:31:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Aug 29 00:31:00 2003 Subject: [ANN] Democratic Revolution In-Reply-To: Message-ID: <23B5450A-D9E1-11D7-BB93-003065683ECC@inspiredlogic.com> function offsetsOf pSearch,pString -- returns a list of the offsets of pSearch in pString put empty into tReturn put 0 into tOffset repeat put offset(pSearch,pString,tOffset) + tOffset into tNewOffset if tNewOffset is tOffset then exit repeat put tNewOffset & space after tReturn put tNewOffset into tOffset end repeat delete char -1 of tReturn return tReturn end offsetsOf On Wednesday, August 27, 2003, at 10:32 PM, Mark Brownell wrote: > > On Wednesday, August 27, 2003, at 07:15 PM, Monte Goulding wrote: > >> Hi All >> >> I just uploaded a new plugin called Democratic Revolution. The idea >> is you >> create feature requests and vote on them to give the RunRev team a >> good idea >> of what we want. > > > Cool! -- Lobby... [Vote for Me] > >

Vote for offsetAll()

> > OffSetAll() works just like offset() only it builds an array of each > char location that it finds and puts it into an array as myArray[1], > myArray[2], myArray[3] etc... > > use it like this: put offsetAll("my phrase", stringToSearch) into > myArray > > put myArray[1] > -- 123 > > put myArray[2] > -- 1277 > > put myArray[3] > -- 10567 > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > regards, Geoff Canyon gcanyon at inspiredlogic.com From alrice at arcplanning.com Fri Aug 29 00:41:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 00:41:01 2003 Subject: External: Throw In-Reply-To: <642211CD-D9C1-11D7-A5D0-000393AA08D2@qldlearning.com> Message-ID: <9ADF4576-D9E2-11D7-9306-000393529642@arcplanning.com> On Thursday, August 28, 2003, at 07:37 PM, Brian Yennie wrote: > Externals have both "pass" and "error" arguments passed to their > functions. > > Try setting one (or both) to true- I haven't experimented with them > myself, but I assume that one passes the message and the other throws > an error. Setting pass to True, then returning from the function, is like the pass command in transcript - like you guessed. But setting error to true, then returning from the function, is not the same as "throw". Setting error to true causes script execution to stop- I believe like "exit to top" in transcript. Here is a comment from external.c in the SDK: /* only set error to true when a syntax error occurs, as it causes the script to stop execution at this point */ *error = True; *retstring = istrdup("printf: must pass 2 arguments"); I sure don't see anything in XCmdGlue.h about throw. Dar how about this? EvalExpr("throw reallyBadExternalCondition", &retvalue); /* untested */ Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Fri Aug 29 00:54:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 00:54:01 2003 Subject: local host does not see broadcast on OS X In-Reply-To: Message-ID: <6628E0B3-D9E4-11D7-9306-000393529642@arcplanning.com> On Thursday, August 28, 2003, at 05:09 PM, Dar Scott wrote: > I'm still not sure. Can anyone confirm that this is a routing problem? Dar, I don't know. I would ask on the macosx-admin mailing list at omnigroup.com. Someone would probably answer definitively there. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From gizmotron at earthlink.net Fri Aug 29 00:54:37 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Aug 29 00:54:37 2003 Subject: [ANN] Democratic Revolution In-Reply-To: <23B5450A-D9E1-11D7-BB93-003065683ECC@inspiredlogic.com> Message-ID: On Thursday, August 28, 2003, at 10:25 PM, Geoff Canyon wrote: > function offsetsOf pSearch,pString -- returns a list of the offsets of > pSearch in pString > put empty into tReturn > put 0 into tOffset > repeat > put offset(pSearch,pString,tOffset) + tOffset into tNewOffset > if tNewOffset is tOffset then exit repeat > put tNewOffset & space after tReturn > put tNewOffset into tOffset > end repeat > delete char -1 of tReturn > return tReturn Like this: from my frogBreath.rev speed test from a few weeks ago... put: go url "http://www.gizmotron.org/frogbreath.rev" into the message window with a active internet connection. on mouseUp global theArray put "" into theArray put the customProperty of button "Button 4" into tZap -------- this gets the XML document from the customProperty put the milliseconds into tStartTime put 0 into tStart put 1 into tElementNum repeat with x = 1 to 235 put offset("",tZap,tStart) into tNum put (tNum + tStart) into tStart if tNum < 1 then exit repeat put tStart into gWordArray1[tElementNum] add 1 to tElementNum end repeat put 0 into tStart put 1 into tElementNum repeat with x2 = 1 to 235 put offset("",tZap,tStart) into tNum put (tNum + tStart) into tStart if tNum < 1 then exit repeat put tStart into gWordArray2[tElementNum] add 1 to tElementNum end repeat repeat with x3 = 1 to 235 put gWordArray1[x3] into zip put gWordArray2[x3] into zap put char (zip + 8) to (zap - 1) of tZap into zapped put zapped into theArray[x3] end repeat put (the milliseconds - tStartTime) into btTwoTime --answer put "PNLP to theArray took -- " & btTwoTime & return into field "mainText" put theArray[1] & return after field "mainText" put theArray[2] & return after field "mainText" put theArray[3] & return after field "mainText" end mouseUp I know that it can be done in transcript. I just want a faster array built in whatever language Revolution is built in. Maybe the string class in C++ has some find char capabilities that can build the arrays real fast without the need for a repeat loop in transcript. This was a wish list item I was looking for. If I needed to do a parallel numerical search of 3 to 10 megabytes of text data then a loop in transcript would start to lag over the speed of a C++ native function. I've proven this with the TextCruncher Xtra for Director. This Xtra was coded using C or C++ to add speed to string searches. It has a feature findAll() and creates an array in half the time as the transcript loop. I'm just looking for some speed here. I've moved on from Director. Mark Brownell From dsc at swcp.com Fri Aug 29 00:59:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 29 00:59:01 2003 Subject: External: Throw In-Reply-To: <9ADF4576-D9E2-11D7-9306-000393529642@arcplanning.com> Message-ID: <0A798CF9-D9E5-11D7-8532-000A9567A3E6@swcp.com> On Thursday, August 28, 2003, at 11:35 PM, Alex Rice wrote: > I sure don't see anything in XCmdGlue.h about throw. Dar how about > this? > EvalExpr("throw reallyBadExternalCondition", &retvalue); /* untested > */ Good idea. I was thinking of SendMCMessage(). I'll experiment with both. Dar Scott From FlexibleLearning at aol.com Fri Aug 29 01:13:04 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri Aug 29 01:13:04 2003 Subject: visual effect between stacks Message-ID: <157.23be05e8.2c80477d@aol.com> >>Hey... it seems the in window modifier for go cd supports visual efects >>between stacks. > Not so easy ;-( > > I've got heaps going on to generate each screen. It's a git tricky but I > should be able to get it right in the end. Monte: You might try having a white card in each stack. To transition from one stack to another, fade to the white card, go to the white card of the next stack, then fade out of it to the destination. Just an idea. /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: mailto:h at flexibleLearning.com Web: www.flexibleLearning.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alrice at arcplanning.com Fri Aug 29 01:53:00 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 01:53:00 2003 Subject: textFont inheritance bug on Windows In-Reply-To: <26C8CE42-D9B6-11D7-8532-000A9567A3E6@swcp.com> Message-ID: <94500D84-D9EC-11D7-9306-000393529642@arcplanning.com> On Thursday, August 28, 2003, at 06:17 PM, Dar Scott wrote: > >> On Rev 2.1 on Windows, putting "0" for the textFont property in the >> inspector causes it to ignore the textSize property- it will revert >> to 10 or 11 pt. On OS X with Rev 2.1 a "0" textFont with a textSize >> properties behaves as expected: the system font of the specified >> size. > > I think a similar bug concerning size and font had been reported and > it turned out to be a feature. You might want to look for that. > Memory fading... Dar you are perhaps thinking of #66, "emptying the textFont also empties textSize and textStyle". It was closed as a feature. What Raney said in bug #66 makes sense. To paraphrase: setting the textFont to empty causes a reset of textFont, textSize and textStyle which are then inherited from the parent object. So don't set textFont to empty unless that's what you want to happen. -- Here is a new bug I just opened on the issue I'm seeing (bug #469): If you set an nonexistent, non empty textFont name then different things happen on OS X vs. Windows. e.g. textFont "0" as in Richard Gaskin's suggestion on use-rev for effectively getting the system's font. 1) Create a stack and set it's textSize to 9 pt 2) Create a field on card 1 and set it's textSize to 24 pt On both Windows and Mac OS X you now have a 24 pt system font showing in the field. 3) Set the textFont of the field to 0 (a nonexistent, not empty font name) On OS X you still see a 24 pt system font in the field. On Windows you see a 9 pt system font with *32 pt textHeight leading* (32 pt leading is appropriate for a 24 pt font.) Changing the textSize of the field subsequently doesn't help except for changing the textHeight leading again. So you are looking at a 9pt font with 32 pt leading when you should be seeing a 24 pt font with 32 pt leading. The nonexistent textFont name seems to muck up the font rendering on Windows but not on OS X. -- Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From FlexibleLearning at aol.com Fri Aug 29 01:55:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri Aug 29 01:55:01 2003 Subject: maxiMin (was: here's a challenge) Message-ID: <168.2332842d.2c805174@aol.com> In a message dated 28/08/2003 10:19:35 PM GMT Daylight Time, use-revolution-request at lists.runrev.com writes: > Thanks to Dar, Sarah, and Monte for a solution to this. I was able to use a > combination of your suggestions to make it work. If anyone is interested, > here's my final script for this: > > on mouseMove pMouseH, pMouseV > -- only if we're timing > if the cTiming of this stack and the cShowGuide of this stack then > put (pMouseV - the top of fld "myText" + the margins of fld "myText") \ > div (the textHeight of fld "myText") into tLineNum > if tLineNum is 0 then > put 1 into tLineNum > end if > if tLineNum >(the height of fld "myText" div the textHeight of fld > "myText") then > put (the height of fld "myText" div the textHeight of fld "myText") > into tLineNum > end if > set the top of grc "ReadingGuide" to the top of fld "myText" + \ > (the margins of fld "myText" div 2) + (the textHeight of fld > "myText" * (tLineNum-1)) > end if Small point: the above needs "the effective textHeight" to avoid an inherited empty textHeight and a div.zero error. A one-liner version is... set the top of grc "ReadingGuide" to max(the top of fld "myText", min(the bottom of fld "myText",item 2 of the mouseLoc)) TIP: max (a, min (b, var) ) ... is a useful general constraining algorithm for all sorts of things where the minimum value is "a" and the maximum value is "b" and the changing value is "var". Useful, for example, in a stack resize with minWidth and maxWidth, or ensuring an object lies between two values like the left of the card and the right of the card. Or when any value has an upper and lower limit. Also very powerful when used in conjuction with setProp. /H _________________________________________________ Hugh Senior The Flexible Learning Company Consultant Programming & Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: mailto:h at flexibleLearning.com Web: www.flexibleLearning.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pixelbird at interisland.net Fri Aug 29 01:59:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri Aug 29 01:59:00 2003 Subject: visual effect between stacks In-Reply-To: <200308290442.AAA27755@www.runrev.com> Message-ID: Hi Monte, > From: "Monte Goulding" > Subject: visual effect between stacks > Date: Fri, 29 Aug 2003 09:48:13 +0930 . > Is it possible to get smooth transitions and visual effects between stacks? > I've been mucking around with this for a while now and it seems that lock > screen just doen't work if you are opening or showing a new stack between > lock and unlock. --------- AFAIK, you can't use transition effects, as such, between stacks. What you can do, however, is: Fade out the card of stack 1 to a blank card. Open stack 2 at a blank card, then fade to the lead card. Or, a more complex method that will include the borders: [Note: I haven't tried this to see if it flickers any, but the idea should work.] 1) Create an in-between stack, stack 2, in a plain (0 decorations) window, the rect of which matches the rect of the decoration frame of stack 1, give it 2 blank cards, and hold it off screen. 2) Take a shot of stack 1 and put it into card 1 of stack 2. 3) Open the destination stack, stack 3, off screen as well, shoot it the same way, and put the shot into card 2 of stack 2. 4) Open stack 2 in the exact location of stack 1 and close stack 1. 5) Make your FX transition from card 1 to card 2 of stack 2. 6) Open your destination stack 3 in the exact location of stack 2, and close stack 2. Just a couple of ideas to kick around :-) HTH. Ken N. From psahores at easynet.fr Fri Aug 29 02:05:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 29 02:05:01 2003 Subject: CGI In-Reply-To: References: Message-ID: <1062140335.2700.10.camel@www.kmax.ici> Usefull to have an eye to the Metacard's cgi documentation and the "echo.mt" example script, about this task. Le jeu 28/08/2003 ? 17:40, Gregory Lypny a ?crit : > Hi everyone, > > I'm wondering if there's step-by-step documentation and perhaps an > example for using Rev as a CGI in OS X. > > Regards, > > Greg > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Fri Aug 29 02:08:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Aug 29 02:08:00 2003 Subject: visual effect between stacks In-Reply-To: <157.23be05e8.2c80477d@aol.com> Message-ID: >>Hey... it seems the in window modifier for go cd supports visual efects >>between stacks. > Not so easy ;-( > > I've got heaps going on to generate each screen. It's a git tricky but I > should be able to get it right in the end. ***** Monte: You might try having a white card in each stack. To transition from one stack to another, fade to the white card, go to the white card of the next stack, then fade out of it to the destination. ***** Actually the in window modifier works well and I've sorted out all hte little issues. Unfortunatly the docs get confused about the ability to specify a mode and a window in the one go statement. That messed me up for a while but I eventually realised that you can't. I'll bugzilla the go docs soon. The offending line is: go to stack "Controls" as palette in stack "Discussion" when you can only use on of as mode or in window. another thing that stuffed me up was that when opening a card in another stack one would think the mode would be inherited from the stack opened in rather than the stack being opened. Cheers Monte From dan at shafermedia.com Fri Aug 29 02:52:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Fri Aug 29 02:52:01 2003 Subject: Something Screwy With File Creation in OS X? Message-ID: OK, I know it's late and I suspect this is something stupid I'm overlooking but I've bashed my head about enough tonight. I have a script: on mouseUp global someVar put someVar into URL "file:foo.txt" end mouseUp Works fine. Returns empty result. From the message box, I can type: get url "file:foo.txt"; put it and I get the expected result. But Finder is completely unable to locate the file. Searches for the file name by every possible criterion come up empty. I want to use a text editor to examine the file for instructional purposes but I can't find the darned thing. OK, I'm ready with the Stupid Stick. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From gcanyon at inspiredlogic.com Fri Aug 29 03:02:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Aug 29 03:02:01 2003 Subject: [ANN] Democratic Revolution In-Reply-To: Message-ID: <37ECDA40-D9F6-11D7-BB93-003065683ECC@inspiredlogic.com> On Thursday, August 28, 2003, at 10:52 PM, Mark Brownell wrote: > This Xtra was coded using C or C++ to add speed to string searches. It > has a feature findAll() and creates an array in half the time as the > transcript loop. Just want to make sure I'm reading this right: you're saying that the native C routine is only twice as fast as the equivalent transcript routine? regards, Geoff Canyon gcanyon at inspiredlogic.com From alrice at arcplanning.com Fri Aug 29 03:05:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 03:05:01 2003 Subject: Something Screwy With File Creation in OS X? In-Reply-To: Message-ID: On Friday, August 29, 2003, at 01:46 AM, Dan Shafer wrote: > But Finder is completely unable to locate the file. Searches for the > file name by every possible criterion come up empty. I want to use a > text editor to examine the file for instructional purposes but I can't > find the darned thing. > > OK, I'm ready with the Stupid Stick. The file should be in "the defaultFolder" put pi into URL "file:foo.txt" put the defaultFolder -> /Applications/Revolution 2.1 there is a file /Applications/Revolution 2.1/foo.txt with 3.14... in it. I never search with Finder, so can't help you there. I text towards Unix stuff so I use locate, find and grep from the command line. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dcragg at lacscentre.co.uk Fri Aug 29 03:33:01 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri Aug 29 03:33:01 2003 Subject: Something Screwy With File Creation in OS X? In-Reply-To: References: Message-ID: At 12:46 am -0700 29/8/03, Dan Shafer wrote: >OK, I know it's late and I suspect this is something stupid I'm >overlooking but I've bashed my head about enough tonight. > >I have a script: > >on mouseUp > global someVar > put someVar into URL "file:foo.txt" >end mouseUp > >Works fine. Returns empty result. From the message box, I can type: > >get url "file:foo.txt"; put it > >and I get the expected result. > >But Finder is completely unable to locate the file. Searches for the >file name by every possible criterion come up empty. I want to use a >text editor to examine the file for instructional purposes but I >can't find the darned thing. > >OK, I'm ready with the Stupid Stick. Any chance you have the Finder set to search in Home (on OS X) or some other limited location? Cheers Dave From dcragg at lacscentre.co.uk Fri Aug 29 03:42:00 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri Aug 29 03:42:00 2003 Subject: textFont inheritance bug on Windows In-Reply-To: <94500D84-D9EC-11D7-9306-000393529642@arcplanning.com> References: <94500D84-D9EC-11D7-9306-000393529642@arcplanning.com> Message-ID: At 12:46 am -0600 29/8/03, Alex Rice wrote: >So you are looking at a 9pt font with 32 pt leading when you should >be seeing a >24 pt font with 32 pt leading. > >The nonexistent textFont name seems to muck up the font rendering on >Windows but >not on OS X. Is it not just that the system font on Windows comes in a single fixed size? In Notepad, the System font is shown as only being available in size 10. (Oddly, the same font doesn't show in Wordpad.) Cheers Dave From macconsult at entelnet.bo Fri Aug 29 05:10:00 2003 From: macconsult at entelnet.bo (ecu) Date: Fri Aug 29 05:10:00 2003 Subject: Acrobat Reader is present? Message-ID: Amigos: Many times you want to check if certain sw is installed in the users computer, this is true for Quicktime (in order to run QT files like QTVR etc), inthat case it is easily tetsted with the result of the function QTVersion(). But what if you want to know if Acrobat is installed? I want to be able to read pdf files directly within RR in the Mac, I can use a player and QT 6.3 but the trick doesn't work with Windows, pdf files can be viewed with the Excelent AltBowser only if the machine has Acrobat. Any ideas? I understand that, in the winboxes there is something like a "Registry" where the system store info about the residing apps. Have a good day, Javier From csheffield at readnaturally.com Fri Aug 29 05:10:56 2003 From: csheffield at readnaturally.com (Chris Sheffield) Date: Fri Aug 29 05:10:56 2003 Subject: docs bug in 2.1? Message-ID: <000501c36dae$545c7b70$66fea8c0@chris1> Is anyone else seeing this? Open the Transcript Language Dictionary and select an item from the Show: menu. Does the correct category listing display? It doesn't for me. Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From ASGolub at dkhglaw.com Fri Aug 29 08:01:01 2003 From: ASGolub at dkhglaw.com (Alan Golub) Date: Fri Aug 29 08:01:01 2003 Subject: docs bug in 2.1? In-Reply-To: <000501c36dae$545c7b70$66fea8c0@chris1> Message-ID: I tried about six different selections from the Show: menu, and they all seem to work for me on Mac OS X 10.2.6 running Rev 2.1. On Thursday, August 28, 2003, at 05:49 PM, Chris Sheffield wrote: > Is anyone else seeing this? Open the Transcript Language Dictionary > and > select an item from the Show: menu. Does the correct category listing > display? It doesn't for me. From gizmotron at earthlink.net Fri Aug 29 09:36:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Aug 29 09:36:01 2003 Subject: [ANN] Democratic Revolution In-Reply-To: <37ECDA40-D9F6-11D7-BB93-003065683ECC@inspiredlogic.com> Message-ID: On Friday, August 29, 2003, at 12:55 AM, Geoff Canyon wrote: > On Thursday, August 28, 2003, at 10:52 PM, Mark Brownell wrote: > >> This Xtra was coded using C or C++ to add speed to string searches. >> It has a feature findAll() and creates an array in half the time as >> the transcript loop. > > Just want to make sure I'm reading this right: you're saying that the > native C routine is only twice as fast as the equivalent transcript > routine? > > regards, > > Geoff Canyon Yes. I might be able to speed the transcript parallel numerical array builder by converting it to a single loop process. The only reason I used the three loop system was that the textCruncher Xtra created the char location arrays in the first place. Director was very slow, in fact so slow that it wasn't practical. My tests using this PNLP technique show that it is just slightly faster than perl regEx in a head to head task in transcript. Like I said I think I can speed it up some. Here is another thing to consider. I tested the textCruncher Xtra on Mac 9.2 classic on my Mac 10; 900 MHz iBook. That means that the speed in classic mode was about 266 MHZ. If I were to get what I'm really looking for it would be: getPNLPelements(startTag, endTag, stringToSearch) used like this to get an array of elements from a structured document like XML: put "" into tEndT put getPNLPelements(tStartT, tEndT, stringToSearch) into myArray used like this: put myArray[1] -- transactionNumber="1234567" firstname="Bob" lastname="Smith">item# abc123 where: item# abc123 were used as the first instance. If I had a fast native transcript capability that extracted the element information between a start tag and an end tag and placed all found instances in an array and did this faster than a transcript loop then I would really have what I wanted. I would settle for offsetAll() while waiting for any speed enhancement in the future. I once referred to this process as a pull parser. Best regards, Mark Brownell From revlist at cableone.net Fri Aug 29 10:00:04 2003 From: revlist at cableone.net (Chris Sheffield) Date: Fri Aug 29 10:00:04 2003 Subject: docs bug in 2.1? In-Reply-To: Message-ID: <001501c36e3d$5a2747d0$65fea8c0@chris1> Apparently this is only a bug in the Windows version. I tried on OS X as well and it works just fine. Thanks. Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Alan Golub Sent: Friday, August 29, 2003 7:02 AM To: use-revolution at lists.runrev.com Subject: Re: docs bug in 2.1? I tried about six different selections from the Show: menu, and they all seem to work for me on Mac OS X 10.2.6 running Rev 2.1. On Thursday, August 28, 2003, at 05:49 PM, Chris Sheffield wrote: > Is anyone else seeing this? Open the Transcript Language Dictionary > and > select an item from the Show: menu. Does the correct category listing > display? It doesn't for me. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From malte.brill at t-online.de Fri Aug 29 10:05:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Fri Aug 29 10:05:01 2003 Subject: Need your help! Plans on promotion Plug In In-Reply-To: <200308290734.DAA02331@www.runrev.com> Message-ID: Hi List, I want to create a Software Promotion plugIn for rev. and need your help. I?m considering writing a stack that helps promoting new software releases. It should have an expandable stackbased Database containing all email adds one would like to send a press release to. I?d like a simple interface with checkboxes for the Os my a shipping program is built for, a field to type the press release text into and a button to send the press release to all relevant Magazines and Newspages. The most parts of it seem doable for me, even though I don?t have worked with LibURL yet. Is it hard to code sending emails from within Rev? Second thing: It?ll be great if you could send me links to your favourite computer pages and the magazines from your country off list. I really need something like this. So if anyone is interested in the results or wants to help, please contact me. Regards, Malte From dsc at swcp.com Fri Aug 29 10:32:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 29 10:32:00 2003 Subject: textFont inheritance bug on Windows In-Reply-To: <94500D84-D9EC-11D7-9306-000393529642@arcplanning.com> Message-ID: <1F208BE4-DA35-11D7-A97B-000A9567A3E6@swcp.com> On Friday, August 29, 2003, at 12:46 AM, Alex Rice wrote: > Dar you are perhaps thinking of #66, "emptying the textFont also > empties textSize and textStyle". It was closed as a feature. What > Raney said in bug #66 makes sense. I was not convinced. I guess the dataflow guy in me was expecting a functional 'effective'. I think the bugs are philosophically related. Changing one property changes the other instead of letting the functional relationships bubble up. Dar Scott From gizmotron at earthlink.net Fri Aug 29 10:39:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Aug 29 10:39:01 2003 Subject: [ANN] Democratic Revolution In-Reply-To: Message-ID: On Friday, August 29, 2003, at 07:34 AM, Mark Brownell wrote: > I might be able to speed the transcript parallel numerical array > builder by converting it to a single loop process. Yep. As a single looping function it builds an array of elements-found about 33% faster. > If I were to get what I'm really looking for it would be: > > getPNLPelements(startTag, endTag, stringToSearch) used like this to > get an array of elements from a structured document like XML: > > put " put "" into tEndT > put getPNLPelements(tStartT, tEndT, stringToSearch) into myArray > > used like this: > put myArray[1] > -- transactionNumber="1234567" firstname="Bob" lastname="Smith">item# > abc123 > > where: > lastname="Smith">item# abc123 > were used as the first instance. I ran this in the frogBreath.rev tester and got 6 to 7 milliseconds while getting 11 to 12 milliseconds using the three loop PNLP method. put getPNLPelements("", "", tZap) into theArray function getPNLPelements 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 getPNLPelements From john.patten at sbcusd.k12.ca.us Fri Aug 29 10:40:56 2003 From: john.patten at sbcusd.k12.ca.us (John Patten) Date: Fri Aug 29 10:40:56 2003 Subject: Libraries, Transcript and Externals cont. Message-ID: Hi All... Sorry about the missing subject previously.... So the libSMTP stack was written in Transcript. I handn't realized that the Transcript was what the autoring script is called in Revolution. So Transcript is equivalent to what hypertalk was/is to Hypercard and Supertalk was/is to SuperCard, and so on... So all the calls that are in libSMTP are actually built into Metacard/Revolution? Thank You! -- John Patten Technology Coordinator San Bernardino City Unified School District John.patten at sbcusd.k12.ca.us 909 381-1208 Fax # 909 386-2540 http://www.sbcusd.k12.ca.us Message: 7 From: "Shao Sean" To: use-revolution at lists.runrev.com Subject: Re: Date: Thu, 28 Aug 2003 21:36:32 -0400 Reply-To: use-revolution at lists.runrev.com libSMTP is a library stack built completely in transcript... my 'alwaysOnTop' DLL is a windows external.. written in C/C++ -Sean ----- Original Message Follows ----- > Oh... I thought they were. Are the calls made in that > project built into Revolution now? Or if not, what would > you call the LibSMTP project? From steve at nexpath.com Fri Aug 29 11:06:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Fri Aug 29 11:06:00 2003 Subject: local host does not see broadcast on OS X In-Reply-To: References: Message-ID: <3F4F7A8C.3030300@nexpath.com> Dar Scott wrote: > > After looking at 'route get' and netstat and ifconfig, I suspect this > may be a routing problem (and perhaps involves politics, philosophy, > pragmatics and literacy). > Maybe it is routing, I don't know, but one other thing that you might check that affects networks is kernel firewalling. I think on BSD it is "ipfw" and "ipfw show" will list any firewall settings. Something like that, anyway. I don't know what Apple is putting in by default these days, but many Linux systems, such as Lindows, are putting up some pretty restrictive firewalls (iptables in Linux). I doubt if this is the issue, but it is always something to check when you are troubleshooting network problems. -Steve From alrice at arcplanning.com Fri Aug 29 11:30:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 11:30:01 2003 Subject: textFont inheritance bug on Windows In-Reply-To: Message-ID: <39EA66F1-DA3D-11D7-8B80-000393529642@arcplanning.com> On Friday, August 29, 2003, at 02:36 AM, Dave Cragg wrote: > At 12:46 am -0600 29/8/03, Alex Rice wrote: > >> So you are looking at a 9pt font with 32 pt leading when you should >> be seeing a >> 24 pt font with 32 pt leading. >> >> The nonexistent textFont name seems to muck up the font rendering on >> Windows but >> not on OS X. > > Is it not just that the system font on Windows comes in a single fixed > size? In Notepad, the System font is shown as only being available in > size 10. (Oddly, the same font doesn't show in Wordpad.) Dave, not the font named "System". The default font in use by the System- e.g. Lucida Grande on a Mac, and I don't know what on Windows. I do concur the font named "System" on Windows appears to be some kind of boldface one pt size only monstrosity. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From jtenny at willamette.edu Fri Aug 29 11:34:03 2003 From: jtenny at willamette.edu (John Tenny) Date: Fri Aug 29 11:34:03 2003 Subject: Hidden Rev? In-Reply-To: <200308281956.PAA12083@www.runrev.com> Message-ID: <69C2AC9C-DA3D-11D7-A9B8-000393911676@willamette.edu> I have Rev Studio 2.0.2 I downloaded the 2.1 beta I opened my stack in 2.1 beta I closed stack and restarted computer I trashed the 2.1 beta I double clicked on my stack It opens in 2.1 I've searched for Revolution and it only shows one application - 2.0.2 How could that be? The answer? (just discovered). I didn't empty the trash. First time I've had a trashed program be able to run. Sys 10.2.6 Trashed emptied and now d-clicking opens in 2.0.2 From alrice at arcplanning.com Fri Aug 29 11:38:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 11:38:01 2003 Subject: local host does not see broadcast on OS X In-Reply-To: <3F4F7A8C.3030300@nexpath.com> Message-ID: <4541B841-DA3E-11D7-8B80-000393529642@arcplanning.com> On Friday, August 29, 2003, at 10:08 AM, Steve Gehlbach wrote: > Maybe it is routing, I don't know, but one other thing that you might > check that affects networks is kernel firewalling. I think on BSD it > is "ipfw" and "ipfw show" will list any firewall settings. Something > like that, anyway. I don't know what Apple is putting in by default > these days, but many Linux systems, such as Lindows, are putting up > some pretty restrictive firewalls (iptables in Linux). I read recently that default OS X installs have firewall turned off, but the network ports are sewn up tight and practically no open ports. Also you can clear all the ipfw rules using the System prefs | Sharing | Filewall > I doubt if this is the issue, but it is always something to check when > you are troubleshooting network problems. Good idea Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Fri Aug 29 11:57:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 11:57:01 2003 Subject: textFont inheritance bug on Windows In-Reply-To: <1F208BE4-DA35-11D7-A97B-000A9567A3E6@swcp.com> Message-ID: <05110D56-DA41-11D7-8B80-000393529642@arcplanning.com> On Friday, August 29, 2003, at 09:26 AM, Dar Scott wrote: >> Dar you are perhaps thinking of #66, "emptying the textFont also >> empties textSize and textStyle". It was closed as a feature. What >> Raney said in bug #66 makes sense. > > I was not convinced. I guess the dataflow guy in me was expecting a > functional 'effective'. > > I think the bugs are philosophically related. They both involve inheritance of the text* properties but since it seems to do the right thing on OS X... > Changing one property changes the other instead of letting the > functional relationships bubble up. I agree. But if Scott thinks there was good reason for implementing it the way he did then. OK! This is a nuance of text properties I sure wasn't aware of until I read the bug report. What other object properties come in clusters like this where setting one property can also change related properties? Scott Raney says: "This is a feature. When any of the font, size, or style are set, the remaining two values are taken from the parent object. Which means there would be no way to clear these values all the way back to fully inheriting from the parent unless setting one of the three to an empty value also cleared the other two. We chose to make setting the textFont to empty perform this operation." Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dan at shafermedia.com Fri Aug 29 12:05:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Fri Aug 29 12:05:01 2003 Subject: Something Screwy With File Creation in OS X? (SOLVED) Message-ID: <24502790-DA42-11D7-B77F-0030656FB5D4@shafermedia.com> This was a good one for me to learn. Because I was having trouble with the licensing code in RR2.1 for some reason, I decided to re-install it. So I moved the old version to the trash, reinstalled, and launched. But because I was launching from the Dock, I inadvertently launched the trashed-but-not-yet-gone version of RunRev. Alex Rice's suggestion that I check defaultFolder led me to tracking down the problem. I deleted the trash and ran the process again and it worked fine. Moral: if you trash the app, trash it or at least remove its icon from the Dock. Back to work on my book. Coming soon, I promise! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From keith at vortex.co.uk Fri Aug 29 12:14:04 2003 From: keith at vortex.co.uk (Keith Martin) Date: Fri Aug 29 12:14:04 2003 Subject: local host does not see broadcast on OS X In-Reply-To: <4541B841-DA3E-11D7-8B80-000393529642@arcplanning.com> References: <4541B841-DA3E-11D7-8B80-000393529642@arcplanning.com> Message-ID: Sometime around 29/8/03 (at 10:31 am -0600) Alex Rice said: >On Friday, August 29, 2003, at 10:08 AM, Steve Gehlbach wrote: >>Maybe it is routing, I don't know, but one other thing that you >>might check that affects networks is kernel firewalling. I think >>on BSD it is "ipfw" and "ipfw show" will list any firewall >>settings. Something like that, anyway. I don't know what Apple is >>putting in by default these days, but many Linux systems, such as >>Lindows, are putting up some pretty restrictive firewalls (iptables >>in Linux). > >I read recently that default OS X installs have firewall turned off, >but the network ports are sewn up tight and practically no open >ports. Which means that the firewall doesn't have to be on at the start. (In a simplistic sense.) Reportedly, OS X has fewer ports open by default than Windows. (Not trying to stir anyone up, just reporting what a colleague has recently read. In too much of a rush to get home to stop and read/write details! :-) k From psahores at easynet.fr Fri Aug 29 14:14:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 29 14:14:00 2003 Subject: New Mainstack item of menu File bug report (Rev 2.1 - Linux x86 Message-ID: <1062176955.4876.329.camel@www.kmax.ici> New Mainstack don't work in all cases (Rev 2.1 - Suse Linux 8.2) 1.1. - Start Revolution 1.2. - Select New Mainstack from menu File --> nothing happen and no new stack window open... 2.1. - Start Revolution 2.2. - Select Open Stack from menu File --> the right selected stack is opened 2.3. - Close or don't close this last opened stack (egal) 2.4. - Select New Mainstack from menu File --> the new stack window opens, as requiered... 2.5. - From here, each new mainstack requiest will work as expected until Rev will be closed. 2.6. - The next time Rev will be launched, the use of procs 2.1 to 2.4 are needed to be able to have menuitem New Mainstack running OK Reproductibility : 100% Hope this help, Kind Regards, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From themacguy at macosx.com Fri Aug 29 14:26:49 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Aug 29 14:26:49 2003 Subject: Licensing & Renewal ?'s Message-ID: <24968405-DA45-11D7-833F-000A95763ABC@macosx.com> I'll ask this on the list in hopes that someone has already found the answer and wants to eMail me off-list: I don't see any renewal costs listed in the -new- pricing schedule on the web. For example: Studio is normally $399 but, for the moment, is $199. I have the SBE license so I can continue to renew at $299/year or switch to Studio for $49. If I switch to Studio, what happens next year? Do I renew or buy anew if I go to Studio? If it's "renew", at what price? Thanks, Barry From rgould8 at aol.com Fri Aug 29 14:27:35 2003 From: rgould8 at aol.com (Rob Gould) Date: Fri Aug 29 14:27:35 2003 Subject: Can Rev mimic http forms submit? Message-ID: <3F4F8B97.4090409@aol.com> An HTML attachment was scrubbed... URL: From rebolask at free.fr Fri Aug 29 14:29:36 2003 From: rebolask at free.fr (rebolask) Date: Fri Aug 29 14:29:36 2003 Subject: I need to unsubscribe but don't see where to do it Message-ID: <20030829172653.C043530003D1@mwinf0201.wanadoo.fr> Hello, Although it is very interesting I don't have time to follow so I need to unsubscribe for a time (I will come back later for sure :) ) : can someone tell me how to do that I don't see any link to do so on the website. Thanks. From dsc at swcp.com Fri Aug 29 14:30:58 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 29 14:30:58 2003 Subject: textFont inheritance bug on Windows In-Reply-To: <05110D56-DA41-11D7-8B80-000393529642@arcplanning.com> Message-ID: On Friday, August 29, 2003, at 10:51 AM, Alex Rice wrote: >> Changing one property changes the other instead of letting the >> functional relationships bubble up. > > I agree. But if Scott thinks there was good reason for implementing > it the way he did then. OK! There is merit in that. I try to strike a balance between respecting another's style and tradition, especially one who's been there and is on the scene, and making a little suggestion now and then. An associate, long gone, would say that a little noise is needed in learning. > This is a nuance of text properties I sure wasn't aware of until I > read the bug report. What other object properties come in clusters > like this where setting one property can also change related > properties? I was wondering the same. Of course, some are related that share the same information such as the text and the htmlText, but Iwonder about others that I would have thought independent. Dar Scott From alrice at arcplanning.com Fri Aug 29 14:33:31 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 14:33:31 2003 Subject: New Mainstack item of menu File bug report (Rev 2.1 - Linux x86 In-Reply-To: <1062176955.4876.329.camel@www.kmax.ici> Message-ID: On Friday, August 29, 2003, at 11:09 AM, Pierre Sahores wrote: > Reproductibility : 100% Pierre , I believe RRev has stated, bug reports can possibly just get lost in the noise on this list. Open a bugzilla report on it as well if you haven't. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Fri Aug 29 14:39:37 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 14:39:37 2003 Subject: heads up: distribution builder now creating different folder names Message-ID: <908B3B1B-DA57-11D7-8B80-000393529642@arcplanning.com> If you are scripting or automating the use of what Distribution Builder produces, be aware that the folder names it's producing seem to have changed. In pre 2.1, it was using folder names of the form: Standalone_PLATFORM_APPNAME, e.g. Standalone_MacOSX_FacilityCa apparently 2.1 is producing folders like this: APPNAME_PLATFORM_Standalone, e.g. FacilityCa_MacOSX_Standalone APPNAME is still truncated at 10 characters. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From mharland at ntlworld.com Fri Aug 29 14:47:01 2003 From: mharland at ntlworld.com (Mike Harland) Date: Fri Aug 29 14:47:01 2003 Subject: converting HyperCard stacks on OSX Message-ID: Hi everybody, Finally managed to afford a real copy of Revolution and not just the Try Out version. As an old HyperCard guy, I have been wanting to revive some of my old stacks and deploy on Windows as well, and Revolution is certainly the solution to all my problems. One thing I am noticing as I do the conversion is that there seems to be a hitch (possibly memory) with importing larger stacks (I am on OSX): the first stack that is opened converts OK and can be saved as a REV - but close it and import another and Revolution instantly crashes. The solution is easy if irksome: do all the importing by opening one stack at a time, saving and then quitting; run Revolution afresh for each stack until all have been converted!! Hope that helps anybody with the same problem. Or am I missing something here? - the RR settings, a bug in my system, ... Cheers, Mike From alrice at arcplanning.com Fri Aug 29 14:59:05 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 14:59:05 2003 Subject: textFont inheritance bug on Windows In-Reply-To: Message-ID: <55999592-DA5A-11D7-8B80-000393529642@arcplanning.com> On Friday, August 29, 2003, at 11:45 AM, Dar Scott wrote: > There is merit in that. I try to strike a balance between respecting > another's style and tradition, especially one who's been there and is > on the scene, and making a little suggestion now and then. I've gone beyond just making a little suggestion now and then. In fact I'm probably outright annoying in bugzilla, from the engineer's perspective. I tend to take a shotgun approach to bug reporting. So I've found some legitimate bugs as well as a lot that have been deemed unimportant or non replicable. I guess it's up to Mark or whoever at Runrev at separate the wheat from the chaff, so to speak. RR: it's not that I try to be annoying or have anything against any one of you. You all are great. I simply want the best care and feeding of the product. And all the little bugs are the ones that add up to form the user's overall impression. > An associate, long gone, would say that a little noise is needed in > learning. Interesting concept > Of course, some are related that share the same information such as > the text and the htmlText, but Iwonder about others that I would have > thought independent. textFont and textHeight definitely are - as they should be. Otherwise we would have to compute the leading on their own each time. There's got to be other examples. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From alrice at arcplanning.com Fri Aug 29 15:16:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 15:16:01 2003 Subject: textFont inheritance bug on Windows In-Reply-To: <55999592-DA5A-11D7-8B80-000393529642@arcplanning.com> Message-ID: On Friday, August 29, 2003, at 01:52 PM, Alex Rice wrote: > textFont and textHeight definitely are - as they should be. Otherwise > we would have to compute the leading on their own each time. There's > got to be other examples. Sorry, I meant textSize and textHeight. This one is discussed in the Transcript dictionary and so should be generally known already. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From dsc at swcp.com Fri Aug 29 15:31:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 29 15:31:01 2003 Subject: textFont inheritance bug on Windows In-Reply-To: <55999592-DA5A-11D7-8B80-000393529642@arcplanning.com> Message-ID: On Friday, August 29, 2003, at 01:52 PM, Alex Rice wrote: > RR: it's not that I try to be annoying or have anything against any > one of you. You all are great. I simply want the best care and feeding > of the product. Same here. I think the noisy of us should get out and push in the hilly and muddy parts to make up for the back-seat driving. Well, maybe nothing will make up for that, but we oughta anyway. Dar Scott From rgmiller at pacbell.net Fri Aug 29 15:45:01 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Fri Aug 29 15:45:01 2003 Subject: visual effect between stacks References: <200308290442.AAA27755@www.runrev.com> Message-ID: <3F4FB9E0.2050106@pacbell.net> From: Scott Rossi > > Recently, Monte Goulding wrote: > > >>Is it possible to get smooth transitions and visual effects between stacks? >>I've been mucking around with this for a while now and it seems that lock >>screen just doen't work if you are opening or showing a new stack between >>lock and unlock. > > > The built-in visual effects only apply to individual stacks and their > contents -- there is no built-in transition that works across multiple > stacks. > > In any event, when you say "smooth" it sounds as if you're using the > dissolve transition or similar. Not sure if this is an option but if you're > looking for something more than a simple "open" or "go", you might consider > progressively changing the rect of a newly opened stack. > Or you could: lock screen put stack BB into window AA -- where AA is open unlock screen with visual iris open Of course, stack BB would need to be the same rect as stack AA, or you could adjust the size of window AA. Ray G. Miller __________________ Turtlelips Productions 4009 Everett Ave. Oakland, CA 94602 MailTo:rgmiller at pacbell.net (V) 510.530.1971 (F) 510.482.3491 From dsc at swcp.com Fri Aug 29 15:52:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 29 15:52:01 2003 Subject: textFont inheritance bug on Windows In-Reply-To: Message-ID: On Friday, August 29, 2003, at 02:10 PM, Alex Rice wrote: >> textFont and textHeight definitely are - as they should be. Otherwise >> we would have to compute the leading on their own each time. There's >> got to be other examples. > > Sorry, I meant textSize and textHeight. This one is discussed in the > Transcript dictionary and so should be generally known already. If fixedLineHeight is false, then this is computed automatically. If common practice is to leave this true, then there might be a benefit from setting textHeight each time textSize is changed. Even though it should be generally known, it can still jump up and bite somebody. (There is a straightforward dataflow style to resolving this but it may seem simple in only my mind.) Dar Scott From psahores at easynet.fr Fri Aug 29 15:53:06 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 29 15:53:06 2003 Subject: Can Rev mimic http forms submit? In-Reply-To: <3F4F8B97.4090409@aol.com> References: <3F4F8B97.4090409@aol.com> Message-ID: <1062189987.15464.11.camel@www.kmax.ici> Le ven 29/08/2003 ? 19:21, Rob Gould a ?crit : > Can anyone tell me if the Revolution "post" command does the same > thing as what a web-browser does when it has a "form.submit()" action? > > For instance, let's say I have a form on a web-page that contains a > form with some input fields (I've eliminated the tag characters in > hopes that email readers won't parse this code): > > > ---------- > form id="theForm" method="post" > action="http://206.46.136.179/portal/vasp" > input type="hidden" name="SERVICE" value="Login" > input type="text" name="UserName" value="usernamehere" ID="Text1" > taborder="1" > input type="password" name="Password" value="abc123" ID="Password1" > input type="button" id="Login" value="Login" > onclick="theForm.submit();" > form > --------- > > > So when the user hits the button id "Login", the theForm.submit() > javascript action occurs, and the username/password fields are passed > to the server. > > > The question I have is, what is the Revolution call to do this type of > thing? Is it some form of the POST command? If so, how would I > format the post command to pass data like this? Rev is full able to send any kind of "POST Method" formated command. Be just carefull about setting the "httpheaders" global as needed by your form. You can adapt the script below as starter point. > on testconn > put "ee946=941&TTF=azertyytreza" into ttest # replace with your own > post datas > set httpheaders to "Content-type: > application/x-www-form-urlencoded" & return # dont forget the space > after the ":" char > post ttest to url (fld "csrecents") # your server adress > put it # your server reply > end testconn Have fun ! -- Bien cordialement, Pierre Sahores Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" From psahores at easynet.fr Fri Aug 29 15:55:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Aug 29 15:55:01 2003 Subject: New Mainstack item of menu File bug report (Rev 2.1 - Linux x86 In-Reply-To: References: Message-ID: <1062190113.15465.13.camel@www.kmax.ici> Hi Alex, I did it too. Bests, Pierre Le ven 29/08/2003 ? 21:27, Alex Rice a ?crit : > On Friday, August 29, 2003, at 11:09 AM, Pierre Sahores wrote: > > > Reproductibility : 100% > > Pierre , I believe RRev has stated, bug reports can possibly just get > lost in the noise on this list. Open a bugzilla report on it as well if > you haven't. > > Alex Rice, Software Developer > Architectural Research Consultants, Inc. > http://ARCplanning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kaveh at focalimage.com Fri Aug 29 16:10:04 2003 From: kaveh at focalimage.com (Kaveh Bazargan) Date: Fri Aug 29 16:10:04 2003 Subject: Can't open application: Error -43 (newbie) In-Reply-To: References: Message-ID: I can't open an application. Here is the code in a pop-up menu: on menupick theItem set the defaultFolder to "/Applications" launch "Mail" put defaultFolder & " Error: " & the result end menupick and here is the result: /Applications Error: error -43 ============ Mail is directly in the Applications folder. For future, where can I find a list of such errors? -- ------------------------ Kaveh Bazargan Focal Image Ltd http://www.focalimage.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacque at hyperactivesw.com Fri Aug 29 17:16:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Aug 29 17:16:00 2003 Subject: converting HyperCard stacks on OSX In-Reply-To: References: Message-ID: <3F4FCF37.10201@hyperactivesw.com> On 8/29/03 2:41 PM, Mike Harland wrote: > One thing I am noticing as I do the conversion is that there seems to be > a hitch (possibly memory) with importing larger stacks (I am on OSX): > the first stack that is opened converts OK and can be saved as a REV - > but close it and import another and Revolution instantly crashes. > > The solution is easy if irksome: do all the importing by opening one > stack at a time, saving and then quitting; run Revolution afresh for > each stack until all have been converted!! When Rev closes a stack, it doesn't remove it from memory unless you have set the destroystack property to true. After importing your HC stack, open the Stack Inspector (from the Objects menu) and click the checkbox called "purge stack on close". This will remove it from RAM when you close the stack, and should free up memory so you can open another one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alrice at arcplanning.com Fri Aug 29 17:27:01 2003 From: alrice at arcplanning.com (Alex Rice) Date: Fri Aug 29 17:27:01 2003 Subject: converting HyperCard stacks on OSX In-Reply-To: <3F4FCF37.10201@hyperactivesw.com> Message-ID: <19904766-DA6F-11D7-8B80-000393529642@arcplanning.com> On Friday, August 29, 2003, at 04:09 PM, J. Landman Gay wrote: > When Rev closes a stack, it doesn't remove it from memory unless you > have set the destroystack property to true. After importing your HC > stack, open the Stack Inspector (from the Objects menu) and click the > checkbox called "purge stack on close". This will remove it from RAM > when you close the stack, and should free up memory so you can open > another one. Good advice, but on OS X an app should never crash because of low memory (however on OS 7,8,9 yes). OS X has a really good virtual memory system and running out of RAM the worst thing that should happen is a lot of disk activity as the system starts swapping. Mike, what I was going to recommend is putting breakpoints and stepping through all of your startup, openStack, preOpenStack, openCard and preOpenCard handlers. Something in one of them is triggering a crash. Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com From monte at sweattechnologies.com Fri Aug 29 17:36:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Aug 29 17:36:00 2003 Subject: Hidden Rev? In-Reply-To: <69C2AC9C-DA3D-11D7-A9B8-000393911676@willamette.edu> Message-ID: > I have Rev Studio 2.0.2 > I downloaded the 2.1 beta > I opened my stack in 2.1 beta > I closed stack and restarted computer > I trashed the 2.1 beta > I double clicked on my stack > > It opens in 2.1 > > I've searched for Revolution and it only shows one application - 2.0.2 > > How could that be? > > > > > The answer? (just discovered). > > I didn't empty the trash. > First time I've had a trashed program be able to run. > Sys 10.2.6 > > Trashed emptied and now d-clicking opens in 2.0.2 > I've found this happening since 10.1.4! It seems trashing is just not enough. One weird thing is if you trash a folder with an app in it and create a new one (with the dist builder) and you then go and click on the actual app the trashed one will run. Very strange.... Monte From andre.rombauts at win.be Fri Aug 29 19:33:01 2003 From: andre.rombauts at win.be (Andre Rombauts) Date: Fri Aug 29 19:33:01 2003 Subject: revNumberOfRecords ruturns -1 in ODBC References: <3F4E2447.14868.1590753@localhost> Message-ID: <006d01c36df3$7f606490$9e26fea9@piran> I had the same problem. I guess this means that function is not supported. The doc states that all SQL functions are not available on all platform/db environment. Andr? ----- Original Message ----- From: To: Sent: Thursday, August 28, 2003 4:48 PM Subject: revNumberOfRecords ruturns -1 in ODBC > I've just started using Revolution for a project. I'm using the revNumberOfRecords( > RecordSetID) function but this only returns -1 with an ODBC data source. It's ok with > MySQL. Am I stuck with this behavior or is there something I'm missing? From rbarber at yhb.att.ne.jp Fri Aug 29 20:18:00 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Fri Aug 29 20:18:00 2003 Subject: CODE and XFCN resources In-Reply-To: Message-ID: Hi I've had a friend compile some code for me that works fine as an external. He made it a CODE resource with id 1200. That resource runs in both OS 9 and X. However, in OS 9 I added the Valentina vxcmd, also with CODE res id 1200. To accomodate this I renumbered the other CODE and it now refuses to run. In the xfcn/cmd world, renumbering res id did not usually result in problems. Is it different for CODE res? How does one add more than one CODE res on OS 9? Should I have it recompiled as an xfcn or as a CODE res with a different id? Obviously, I'm ignorant in this area and would appreciate some enlightenment. Thanks Ron From briany at qldlearning.com Fri Aug 29 21:27:00 2003 From: briany at qldlearning.com (Brian Yennie) Date: Fri Aug 29 21:27:00 2003 Subject: CODE and XFCN resources In-Reply-To: Message-ID: <9DE1FAD2-DA90-11D7-8A88-000393AA08D2@qldlearning.com> Ron, Two possibilities: 1) See what you renumbered the resource to: MetaCard loads certain resource IDs depending on the platform- this is documented in the README around version 2.4. I would try 1200 and 1300 - two numbers that "mod" to the same thing. 2) If that doesn't help, you could store them in separate stacks and load with "start using" HTH Brian > Hi > > I've had a friend compile some code for me that works fine as an > external. > He made it a CODE resource with id 1200. That resource runs in both OS > 9 and > X. However, in OS 9 I added the Valentina vxcmd, also with CODE res id > 1200. > To accomodate this I renumbered the other CODE and it now refuses to > run. > > In the xfcn/cmd world, renumbering res id did not usually result in > problems. Is it different for CODE res? How does one add more than one > CODE > res on OS 9? Should I have it recompiled as an xfcn or as a CODE res > with a > different id? > > Obviously, I'm ignorant in this area and would appreciate some > enlightenment. > > Thanks > Ron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From soapdog at mac.com Fri Aug 29 22:27:02 2003 From: soapdog at mac.com (Andre Garzia) Date: Fri Aug 29 22:27:02 2003 Subject: XML-RPC Support? In-Reply-To: <469733F3-D2C1-11D7-8354-000A9567A3E6@swcp.com> Message-ID: On Wednesday, August 20, 2003, at 12:49 AM, Dar Scott wrote: > > On Tuesday, August 19, 2003, at 09:34 PM, Andre Garzia wrote: > >> I intend to buy Rev Studio this week, if I do, i'll try to implement >> a simple xml-rpc stack so others may improve upon! > > Cool. Will this be both client and server? That is, will this > emulate a simple HTTP server? > > Dar Scott > I just bought it. I can only implement client side... I did it twice (for REALBasic 3x and 5x), never fiddled with server side.. but it might be easy, can someone provide a sample stack for a web server (something that listen to http request and answers it), then i could try to change it to a xml-rpc server. Also some XML Parsing/Generating sample stacks would be usefull sometimes I get lost with Rev Builtin documentation (but i like it, i am just not used to it) Cheers Andre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From soapdog at mac.com Fri Aug 29 22:37:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Fri Aug 29 22:37:01 2003 Subject: Little questions on Rev as a game plataform (related to: myst) Message-ID: <0BB658DE-DA9B-11D7-A943-00039387AE90@mac.com> Hi all, well my cloning of myst like engine is almost over and I decided to check up with the revGurus on the list if I am on the right track. I cannot present a demo stack now, wait a couple days for my scenery is ugly, I am now generating custom ones with terragen (a nice terrain generator, free for non comercial use). There's the main stack and it does nothing, it just show some nice splash logo and prepare MLE (Myst Like Experience) stack to launch. This MLE substack is the current interpreter. The main stack does have two substacks RESOURCES and MLE, the resources substack is just a collection of often used graphics and sound. The later is structured like this: In the stack's script there are implementations for default responses to game actions. Like if a mouseUp climbs up the food chain, err, message path, then it will be handled by this handle and return to game, also on the stack script are some utility functions to handle game behaviour. It's all done with custom properties. when mouseOver is triggered it looks in it targets for a set of custom properties, for example if there's a music property the interpreter will change the music when mouseover is called, if there's a "lookat" property game will execute script inside it when "look at" game tool is clicked on that target. Game interaction is provided by clicking on the screen, possible actions are: look, walk, take, use, talk. For each action there's a related custom property on the targets. Theres a background picture of the scene and "hotspots" are defined by shapes that cannot be seen by user. Each scene is a card, when card loads (preOpenCard and OpenCard) it setups music and other game low level stuff, after one second after the card is loaded (so that user atention is now focused) a message is sent (Thank You Mr Dar Scott for Message Primer) which trigger animation builded with Animation Builder tool. All game engine functions are inside substack's script, so the only scripts inside a card are related to that card/scene in particular, this proved to be very readable and easy to manage. Utility functions are about music and movie playing. I plan to release this as a contribution for others to improve upon. It's easy to create your own game, just create a substack of MLE and go creating your cards. Documentation will be written and a web page will be set as soon as I am proud enought to allow my figment to roam free on the net. I think it's all explained now, so I as the revGurus out there if they have any advise or best practice to tell me. I am too newbie to rev, my code is probably bad but I will allow everyone to shout at it later, I am trying to get design and implementation advises by now ;-) Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From harrison at all-auctions.com Fri Aug 29 22:42:00 2003 From: harrison at all-auctions.com (Rick Harrison) Date: Fri Aug 29 22:42:00 2003 Subject: Background Color BleedThrough In-Reply-To: Message-ID: <20C75F1E-DA9B-11D7-9722-000393C10758@all-auctions.com> Hi there, If one sets the background color of a card, and then creates a scrolling field with a bunch of text line, I've noticed that when scrolling the field back up, the background color bleeds through in small horizontal lines. Is anyone else having this problem? Thanks in advance. Rick Harrison From briany at qldlearning.com Fri Aug 29 22:58:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Fri Aug 29 22:58:01 2003 Subject: XML-RPC Support? In-Reply-To: Message-ID: <62AC7C98-DA9D-11D7-8A88-000393AA08D2@qldlearning.com> > I just bought it. I can only implement client side... I did it twice > (for REALBasic 3x and 5x), never fiddled with server side.. but it > might be easy, can someone provide a sample stack for a web server > (something that listen to http request and answers it), then i could > try to change it to a xml-rpc server. Try this: ftp://ftp.metacard.com/MetaCard/mchttpd.zip Enjoy. Brian From rbarber at yhb.att.ne.jp Fri Aug 29 23:21:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Fri Aug 29 23:21:01 2003 Subject: CODE and XFCN resources In-Reply-To: <9DE1FAD2-DA90-11D7-8A88-000393AA08D2@qldlearning.com> Message-ID: Thanks a lot, Brian I looked at the Rev docs but didn't think of the MC (which I don't use) docs. You were right, they are in the 'Read Me' for 2.4, included below. I couldn't get 1300 to work but 2400 did. I hope there is not problem with that. I can now load both CODE res. id 1200, and id 2400, stored in the res fork of the same stack. Thanks Ron > Two possibilities: > > 1) See what you renumbered the resource to: MetaCard loads certain > resource IDs depending on the platform- this is documented in the > README around version 2.4. I would try 1200 and 1300 - two numbers that > "mod" to the same thing. From jacque at hyperactivesw.com Fri Aug 29 23:22:02 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Aug 29 23:22:02 2003 Subject: Background Color BleedThrough In-Reply-To: <20C75F1E-DA9B-11D7-9722-000393C10758@all-auctions.com> References: <20C75F1E-DA9B-11D7-9722-000393C10758@all-auctions.com> Message-ID: <3F502508.8010205@hyperactivesw.com> On 8/29/03 10:36 PM, Rick Harrison wrote: > If one sets the background color of a card, and then > creates a scrolling field with a bunch of text line, I've > noticed that when scrolling the field back up, the > background color bleeds through in small horizontal lines. > > Is anyone else having this problem? Everyone, I think, or at least OS X users. It's in the bug database now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Sat Aug 30 00:09:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Aug 30 00:09:00 2003 Subject: Little questions on Rev as a game plataform (related to: myst) In-Reply-To: <0BB658DE-DA9B-11D7-A943-00039387AE90@mac.com> Message-ID: <2EB29510-DAA7-11D7-8E48-000393529642@mindlube.com> On Friday, August 29, 2003, at 09:35 PM, Andre Garzia wrote: > All game engine functions are inside substack's script, so the only > scripts inside a card are related to that card/scene in particular, > this proved to be very readable and easy to manage. Utility functions > are about music and movie playing. I plan to release this as a > contribution for others to improve upon. It's easy to create your own > game, just create a substack of MLE and go creating your cards. > Documentation will be written and a web page will be set as soon as I > am proud enought to allow my figment to roam free on the net. Fantastic! I look forward to learning more about MLE. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From harrison at all-auctions.com Sat Aug 30 01:05:00 2003 From: harrison at all-auctions.com (Rick Harrison) Date: Sat Aug 30 01:05:00 2003 Subject: Background Color BleedThrough In-Reply-To: <3F502508.8010205@hyperactivesw.com> Message-ID: <0A0DFCC2-DAAF-11D7-999F-000393C10758@all-auctions.com> On Saturday, August 30, 2003, at 12:16 AM, J. Landman Gay wrote: > On 8/29/03 10:36 PM, Rick Harrison wrote: > >> If one sets the background color of a card, and then >> creates a scrolling field with a bunch of text line, I've >> noticed that when scrolling the field back up, the >> background color bleeds through in small horizontal lines. >> Is anyone else having this problem? > > Everyone, I think, or at least OS X users. It's in the bug database > now. > > > Jacqueline Landman Gay Thanks! It's a very bad bug! Rick Harrison From ludovic.thebault at laposte.net Sat Aug 30 02:55:00 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat Aug 30 02:55:00 2003 Subject: converting HyperCard stacks on OSX In-Reply-To: References: Message-ID: <20030830094803745392.GyazMail.ludovic.thebault@laposte.net> On Fri, 29 Aug 2003 20:41:33 +0100, Mike Harland wrote: > Or am I missing something here? - the RR settings, a bug in my system, ... Have you try to "close and remove from memory" before importing and other stack ? From kray at sonsothunder.com Sat Aug 30 03:30:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 30 03:30:01 2003 Subject: Acrobat Reader is present? In-Reply-To: <513BB1E5-D973-11D7-A1B9-0050E410F67A@entelnet.bo> Message-ID: <00db01c36ecf$ef221620$6501a8c0@LightningFlash> Javier, Check out: http://www.sonsothunder.com/devres/revolution/revolution.htm?_file001 This has not only code for finding Acrobat, but how to launch it as well (in case you need it). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of ecu > Sent: Thursday, August 28, 2003 11:19 AM > To: use-revolution at lists.runrev.com > Subject: Acrobat Reader is present? > > > Amigos: > Many times you want to check if certain sw is installed in the users > computer, this is true for Quicktime (in order to run QT files like > QTVR etc), inthat case it is easily tetsted with the result of the > function QTVersion(). But what if you want to know if Acrobat is > installed? > > I want to be able to read pdf files directly within RR in the Mac, I > can use a player and QT 6.3 but the trick doesn't work with > Windows, > pdf files can be viewed with the Excelent AltBowser only if > the machine > has Acrobat. > > Any ideas? I understand that, in the winboxes there is > something like a > "Registry" where the system store info about the residing apps. > > Have a good day, > mcmultimedia at entelnet.bo > Javier > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From wmb at internettrainer.com Sat Aug 30 04:57:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Aug 30 04:57:01 2003 Subject: Background Color BleedThrough In-Reply-To: <0A0DFCC2-DAAF-11D7-999F-000393C10758@all-auctions.com> Message-ID: On Samstag, Aug 30, 2003, at 07:58 Europe/Vienna, Rick Harrison wrote: > On Saturday, August 30, 2003, at 12:16 AM, J. Landman Gay wrote: > >> On 8/29/03 10:36 PM, Rick Harrison wrote: >> >>> If one sets the background color of a card, and then >>> creates a scrolling field with a bunch of text line, I've >>> noticed that when scrolling the field back up, the >>> background color bleeds through in small horizontal lines. >>> Is anyone else having this problem? Everybody is having this problem since a long time... It is not only a background color problem. It is a problem of *every* scrollable textfield. Thats mean NOT a minor glitch..! >> >> Everyone, I think, or at least OS X users. It's in the bug database >> now. > > It's a very bad bug! Indeed... the question is now: what can we do that this bug will be finally fixed..? Or, with other words what can we do that it comes on the top of the priority of the bug database..? I m really tired to spend so much time with such old bugs... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From kaveh at deletethisbit.focalimage.com Sat Aug 30 04:59:01 2003 From: kaveh at deletethisbit.focalimage.com (Kaveh Bazargan) Date: Sat Aug 30 04:59:01 2003 Subject: OS X: Can launch app but not file In-Reply-To: <00db01c36ecf$ef221620$6501a8c0@LightningFlash> References: <00db01c36ecf$ef221620$6501a8c0@LightningFlash> Message-ID: This works for me: launch "/Applications/BBEdit 7.0/BBEdit.app" but this doesn't: launch "/Applications/BBEdit 7.0/myfile.txt" with "/Applications/BBEdit 7.0/BBEdit.app" If BBEdit is not running, I get "no such program" If it is running, I get "process already open" Any guidance please. -- Kaveh From wmb at internettrainer.com Sat Aug 30 05:01:02 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Aug 30 05:01:02 2003 Subject: Congratulation... In-Reply-To: <00db01c36ecf$ef221620$6501a8c0@LightningFlash> Message-ID: <9122FEDD-DACF-11D7-9269-003065430226@internettrainer.com> Jeanne, Congratulation to the cookbook in 2.1.!! regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From mharland at ntlworld.com Sat Aug 30 06:35:01 2003 From: mharland at ntlworld.com (Mike Harland) Date: Sat Aug 30 06:35:01 2003 Subject: converting HyperCard stacks In-Reply-To: <200308300323.XAA11389@www.runrev.com> Message-ID: Thanks for the suggestions folks! > On Friday, August 29, 2003, at 04:09 PM, J. Landman Gay wrote: > >> When Rev closes a stack, it doesn't remove it from memory unless you >> have set the destroystack property to true. After importing your HC >> stack, open the Stack Inspector (from the Objects menu) and click the >> checkbox called "purge stack on close". This will remove it from RAM >> when you close the stack, and should free up memory so you can open >> another one. Yes, I was aware of the memory purging but didn't yet know about the Inspector check box, so that is one trick learnt - many thanks. Unfortunately I have applied the check box and saved and then even used the 'Close and remove from Memory' command - I then tried opening another HC stack and crash it goes again! > Alex Rice, Software Developer replied: > > Good advice, but on OS X an app should never crash because of low > memory (however on OS 7,8,9 yes). OS X has a really good virtual memory > system and running out of RAM the worst thing that should happen is a > lot of disk activity as the system starts swapping. Being a form of UNIX that is what I thought - but I also have 768MB RAM on my machine! The above attempt to purge seems to confirm that. > Mike, what I was going to recommend is putting breakpoints and stepping > through all of your startup, openStack, preOpenStack, openCard and > preOpenCard handlers. Something in one of them is triggering a crash. I did think the HC coding might be another problem, as you say, since I have used external functions and password protection on some stacks. But once I have imported the stack and converted to RR there is absolutely no problem with crashing, so I still assume it must be a memory purging or conversion factor. Open RR, import stack, save and Quit - Open RR, import stack, save and Quit - ad infinitum - absolutely no problems! I shall continue to use my work-around as it is no great time loss, but the RR techies might like to take note. Still tons better than the original Hypercard/SuperCard/ToolBook apps I had tried before and far more user-friendly than Director and Authorware which I have battled with endlessly for multimedia authoring projects. Glad to see the great Rinaldi of HC XCmd fame is still around and of the same opinion! Cheers, Mike From dalesvp at qwest.net Sat Aug 30 08:56:01 2003 From: dalesvp at qwest.net (Dale Pond) Date: Sat Aug 30 08:56:01 2003 Subject: HyperCard and Revolution stacks Message-ID: <3F50ACD4.1060505@qwest.net> Hi, Updated the SVP HyperCard and Revolution download pages. Much more to come in the future as we have time to convert and update. http://www.svpvril.com/HC/HC_Scripts.html -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From danjohnson at 37.com Sat Aug 30 09:21:00 2003 From: danjohnson at 37.com (dan johnson) Date: Sat Aug 30 09:21:00 2003 Subject: HyperCard and Revolution stacks Message-ID: <200308301414.h7UEENj11834@mail16.bigmailbox.com> Hi, Updated the SVP HyperCard and Revolution download pages. Much more to come in the future as we have time to convert and update. [snip] Dale Pond Sympathetic Vibratory Physics ============== Dale, Perhaps you can find a justification for blatant commercial advertising on the list, but I don't see it. If you insist on continuing, at least mark the subject line with an obvious identifier (e.g. [ADV] ) so I can readily skip such entries. DJ ------------------------------------------------------------ http://Game.37.com/ <--- Free Games http://newJoke.com/ <--- J O K E S ! ! ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Sat Aug 30 11:04:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 30 11:04:00 2003 Subject: Can't open application: Error -43 (newbie) In-Reply-To: Message-ID: <010901c36f0f$729277e0$6501a8c0@LightningFlash> How about : http://www.appleerrorcodes.com/ You'll note that -43 is the "file not found" error. In OS X you need to specify the ".app" for applications, so you need to do: launch "Mail.app" HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Kaveh Bazargan Sent: Friday, August 29, 2003 4:04 PM To: use-revolution at lists.runrev.com Subject: Can't open application: Error -43 (newbie) I can't open an application. Here is the code in a pop-up menu: on menupick theItem set the defaultFolder to "/Applications" launch "Mail" put defaultFolder & " Error: " & the result end menupick and here is the result: /Applications Error: error -43 ============ Mail is directly in the Applications folder. For future, where can I find a list of such errors? -- ------------------------ Kaveh Bazargan Focal Image Ltd http://www.focalimage.com/ From shaosean at unitz.ca Sat Aug 30 12:04:02 2003 From: shaosean at unitz.ca (Shao Sean) Date: Sat Aug 30 12:04:02 2003 Subject: Libraries, Transcript and Externals cont. Message-ID: <200308301656.MAA07547@bright.unitz.ca> > So the libSMTP stack was written in Transcript. yup.. > So all the calls that are in libSMTP are actually built > into Metacard/Revolution? actually, libSMTP is seperate from MC/RR and isn't included with the distribution (you'll need to download it from my site).. libSMTP is written in 100% in transcript (the scripting language of MC/RR).. -Sean http://shaosean.tk/ From kaveh at deletethisbit.focalimage.com Sat Aug 30 12:07:02 2003 From: kaveh at deletethisbit.focalimage.com (Kaveh Bazargan) Date: Sat Aug 30 12:07:02 2003 Subject: Can't open application: Error -43 (newbie) In-Reply-To: <010901c36f0f$729277e0$6501a8c0@LightningFlash> References: <010901c36f0f$729277e0$6501a8c0@LightningFlash> Message-ID: At 10:57 am -0500 30/8/03, Ken Ray wrote: >How about : > >http://www.appleerrorcodes.com/ > >You'll note that -43 is the "file not found" error. > >In OS X you need to specify the ".app" for applications, so you need to >do: Thanks Ray. I found that out eventually, and that bit works now. Good to have the Apple Error Codes site. I have since uploaded a follow up question under: "OS X: Can launch app but not file" Any ideas on that would be welcome. -- Kaveh From shaosean at unitz.ca Sat Aug 30 12:13:00 2003 From: shaosean at unitz.ca (Shao Sean) Date: Sat Aug 30 12:13:00 2003 Subject: Can Rev mimic http forms submit? Message-ID: <200308301706.NAA08475@bright.unitz.ca> i have written some transcript code that does either a POST or GET command to a web server (needed it to upload files from within RR without the use of FTP).. currently i have a few projects that are needing to be completed before i can get around to cleaning up the code and releasing it.. -Sean From stephenREVOLUTION at barncard.com Sat Aug 30 13:01:00 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Sat Aug 30 13:01:00 2003 Subject: HyperCard and Revolution stacks Message-ID: WHOA, dude, it's just his signature ...such as yours, not unlike many others on this list... sqb >Dale, > >Perhaps you can find a justification for blatant commercial advertising on the >list, but I don't see it. If you insist on continuing, at least mark >the subject >line with an obvious identifier (e.g. [ADV] ) so I can readily skip such >entries. > >DJ > > >------------------------------------------------------------ >http://Game.37.com/ >>Hi, >> >>Updated the SVP HyperCard and Revolution download pages. Much more to come in >>the future as we have time to convert and update. >>[snip] >> >>Dale Pond >>Sympathetic Vibratory Physics >>============== > From bornstein at designeq.com Sat Aug 30 13:39:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Sat Aug 30 13:39:01 2003 Subject: Bugzilla Requesst Message-ID: <200308301833.h7UIX9cT002153@ms-smtp-03.nyroc.rr.com> To the Rev team: It would be very helpful when changing a bugzilla disposition (i.e. fixed, problem not found, etc.) if you would indicate the version of Rev you were using when making your determination. So if a bug was reported under V2.01, it would be helpful to know that it was fixed in V2.03 versus V2.1. That way, we don't have to test it in all the various versions to know where it finally works. Thanks a lot. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From dalesvp at qwest.net Sat Aug 30 13:46:01 2003 From: dalesvp at qwest.net (Dale Pond) Date: Sat Aug 30 13:46:01 2003 Subject: HyperCard and Revolution stacks References: <200308301414.h7UEENj11834@mail16.bigmailbox.com> Message-ID: <3F50F0A6.10101@qwest.net> dan johnson wrote: >Hi, > >Updated the SVP HyperCard and Revolution download pages. Much more to come in >the future as we have time to convert and update. >[snip] > >Dale Pond >Sympathetic Vibratory Physics >============== >Dale, > >Perhaps you can find a justification for blatant commercial advertising on the >list, but I don't see it. > I don't think what I sent was "blatant commerical advertising". Sure some items may be purchased but others may be freely downloaded (I added four more freebies!). So some newbies can see what can be done from HC to Rev. All scripts are open. Why sell software? Lesseee... To pay off my $199 investment in Revolution? To recoup my 15 years investment in HC? To pay the rent, phone and utilities? So I can update my hardware and software? To support Revolution so they won't be "Steved" like HC? Once is enough! So I'm not a burden on society? http://www.svpvril.com/HC/HC_Scripts.html >If you insist on continuing, at least mark the subject >line with an obvious identifier (e.g. [ADV] ) so I can readily skip such >entries. > >DJ > > >------------------------------------------------------------ >http://Game.37.com/ <--- Free Games >http://newJoke.com/ <--- J O K E S ! ! ! > > -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From dsc at swcp.com Sat Aug 30 14:03:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 30 14:03:01 2003 Subject: Bugzilla Requesst In-Reply-To: <200308301833.h7UIX9cT002153@ms-smtp-03.nyroc.rr.com> Message-ID: On Saturday, August 30, 2003, at 12:33 PM, Howard Bornstein wrote: > It would be very helpful when changing a bugzilla disposition (i.e. > fixed, problem not found, etc.) if you would indicate the version of > Rev > you were using when making your determination. Maybe the target field could do double-duty as this. The reviewer setting worksforme could set that version. The fixer could set the targeted version. At version release all fixes with the same target as the release are reviewed and the target changed if the fix did not make it. Any holes? Maybe this is already done. If so, maybe it can be doc'd in the target milestones description. Dar Scott From harrison at all-auctions.com Sat Aug 30 14:11:01 2003 From: harrison at all-auctions.com (Rick Harrison) Date: Sat Aug 30 14:11:01 2003 Subject: Background Color BleedThrough In-Reply-To: Message-ID: On Saturday, August 30, 2003, at 05:47 AM, Wolfgang M. Bereuter wrote: > > Everybody is having this problem since a long time... > It is not only a background color problem. It is a problem of *every* > scrollable textfield. > Thats mean NOT a minor glitch..! >> >> It's a very bad bug! > > Indeed... > the question is now: what can we do that this bug will be finally > fixed..? > Or, with other words what can we do that it comes on the top of the > priority of the bug database..? > > I m really tired to spend so much time with such old bugs... > > regards > Wolfgang M. Bereuter > > If I had known about this bug before, I never would have purchased the new version. I guess I'll have to go back to using 1.1.1 again. Boy am I ticked! Cheer, Rick Harrison From gcanyon at inspiredlogic.com Sat Aug 30 14:42:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Aug 30 14:42:00 2003 Subject: Background Color BleedThrough In-Reply-To: <20C75F1E-DA9B-11D7-9722-000393C10758@all-auctions.com> Message-ID: <367BF768-DB21-11D7-BB93-003065683ECC@inspiredlogic.com> I remember seeing something like this when I was creating Navigator, but now I can't replicate it (2.0.1 on OS X) Any more specific recipe? On Friday, August 29, 2003, at 08:36 PM, Rick Harrison wrote: > Hi there, > > If one sets the background color of a card, and then > creates a scrolling field with a bunch of text line, I've > noticed that when scrolling the field back up, the > background color bleeds through in small horizontal lines. regards, Geoff Canyon gcanyon at inspiredlogic.com From jacque at hyperactivesw.com Sat Aug 30 16:18:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Aug 30 16:18:00 2003 Subject: Background Color BleedThrough In-Reply-To: <367BF768-DB21-11D7-BB93-003065683ECC@inspiredlogic.com> References: <367BF768-DB21-11D7-BB93-003065683ECC@inspiredlogic.com> Message-ID: <3F51133D.8070207@hyperactivesw.com> On 8/30/03 2:36 PM, Geoff Canyon wrote: > I remember seeing something like this when I was creating Navigator, but > now I can't replicate it (2.0.1 on OS X) > > Any more specific recipe? The opaque property of the field must be true. Make a scrolling field, make sure it is opaque, and fill it with text. Scroll to the bottom. Then drag the thumb back up toward the top. The text at the top becomes distorted. This is in version 2.1; I didn't try it in other versions but others have said it exists prior to 2.1. I marked the bug in Bugzilla as "minor" following the critera the team specifies for bug reports. However, given the number of people who are upset about this, hopefully the team will address it as soon as possible. For those who are upset that this bug hasn't been fixed yet: It wasn't in the bug database until I reported it yesterday. The team is unlikely to fix bugs that aren't in the database, so if you see something that is wrong, check to make sure that it has been reported. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Sat Aug 30 16:41:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 30 16:41:01 2003 Subject: Background Color BleedThrough In-Reply-To: <3F51133D.8070207@hyperactivesw.com> Message-ID: On Saturday, August 30, 2003, at 03:12 PM, J. Landman Gay wrote: > For those who are upset that this bug hasn't been fixed yet: It wasn't > in the bug database until I reported it yesterday. The team is > unlikely to fix bugs that aren't in the database, so if you see > something that is wrong, check to make sure that it has been reported. I had reported this (#239) but for some reason used a cryptic description that might not work in a search. I had also reported this by mail mid July. I suspect this does not show up on RunRev's OS X systems so they are having trouble responding. I agree that this is important. There is a workaround but it means reworking stacks that are upgraded to 2.1, sometimes adding graphics. I confess, I didn't do the stack upgrades with the betas because I was sure 2.1 would not be released without this. Dar Scott From jacque at hyperactivesw.com Sat Aug 30 17:04:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Aug 30 17:04:01 2003 Subject: Background Color BleedThrough In-Reply-To: References: Message-ID: <3F511DF0.6070203@hyperactivesw.com> On 8/30/03 4:34 PM, Dar Scott wrote: > > On Saturday, August 30, 2003, at 03:12 PM, J. Landman Gay wrote: > >> For those who are upset that this bug hasn't been fixed yet: It wasn't >> in the bug database until I reported it yesterday. The team is >> unlikely to fix bugs that aren't in the database, so if you see >> something that is wrong, check to make sure that it has been reported. > > > I had reported this (#239) but for some reason used a cryptic > description that might not work in a search. I had also reported this > by mail mid July. I see it now. I'm going to have to change my search habits I think. It is better to search the comments field than the summary field, since there is a better chance of getting a hit that way. Now I need to figure out how to mark my report as a duplicate. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Sat Aug 30 17:13:04 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Aug 30 17:13:04 2003 Subject: Background Color BleedThrough In-Reply-To: <367BF768-DB21-11D7-BB93-003065683ECC@inspiredlogic.com> Message-ID: <4B2C9998-DB36-11D7-8435-000393529642@mindlube.com> On Saturday, August 30, 2003, at 01:36 PM, Geoff Canyon wrote: > I remember seeing something like this when I was creating Navigator, > but now I can't replicate it (2.0.1 on OS X) > > Any more specific recipe? FWIW, the first time I had noticed the bug was just when trying out Monty's new announced stack. URL follows. Running Rev 2.1 on OS X 10.2.6 >> http://www.sweattechnologies.com/rev/DemocraticRevolution.rev Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alex at mindlube.com Sat Aug 30 17:20:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Aug 30 17:20:00 2003 Subject: Background Color BleedThrough In-Reply-To: <4B2C9998-DB36-11D7-8435-000393529642@mindlube.com> Message-ID: <52A747D1-DB37-11D7-8435-000393529642@mindlube.com> On Saturday, August 30, 2003, at 04:07 PM, Alex Rice wrote: > FWIW, the first time I had noticed the bug was just when trying out > Monty's new announced stack. URL follows. Running Rev 2.1 on OS X > 10.2.6 > >>> http://www.sweattechnologies.com/rev/DemocraticRevolution.rev Sorry, that wasn't it. It was the other recent announcement: www.flexibleLearning.com/xtalk/scriptersscrapbook/ ScriptersScrapBook_v3b4.zip Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Sat Aug 30 17:31:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 30 17:31:00 2003 Subject: Background Color BleedThrough In-Reply-To: <3F511DF0.6070203@hyperactivesw.com> Message-ID: On Saturday, August 30, 2003, at 03:58 PM, J. Landman Gay wrote: > Now I need to figure out how to mark my report as a duplicate. That is probably a good thing to know. However, there might be some benefit in letting bug-herder Mark mark it, it being a sort of a gentle reminder of the attention we give it. He might prefer to mark my less clear one as the duplicate, anyway. Dar Scott From gcanyon at inspiredlogic.com Sat Aug 30 17:58:02 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Aug 30 17:58:02 2003 Subject: Background Color BleedThrough -- Fairly Easy Fix In-Reply-To: Message-ID: <8EA85D5C-DB3C-11D7-BB93-003065683ECC@inspiredlogic.com> Now I see it. It does seem to be the same one I saw back when I was starting with Navigator. Oddly, I couldn't replicate in 2.0.1, but I can in 2.1rc1 Setting the borderWidth to 0 fixes the problem. regards, Geoff Canyon gcanyon at inspiredlogic.com From themacguy at macosx.com Sat Aug 30 17:59:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Sat Aug 30 17:59:01 2003 Subject: Showing one image in a hidden group of images Message-ID: I have a group of four images that is invisible until needed. I'd now like to show only one of those images when a user clicks at a certain location. I have no trouble determining when the user has clicked the appropriate spot. I've tried showing and hiding the image alone but, as the group is invisible, the "showing/hiding" is taking place in an invisible object so, of course, you don't see it. I'm wondering if something like the following is the most efficient way of handling this: on mouseUp set the lockScreen to true put the loc of image myImage into myLoc -- for brevity later on copy image myImage to this stack put word 3 of it into myNewID -- tha's the ID# of the newly created image set the loc of image ID myNewID to myLoc -- same loc as the original image show image ID myNewID set the lockScreen to false wait 2 seconds -- or do whatever delete image ID myNewID end mouseUp This seems to work nicely but I'm wondering if I'm heading down a path whereby I'll screw up the carefully placed groups of images. Thanks in advance, Barry PS - Anyone coding this holiday weekend? -------------------------------------------------------- Barry Jay Levine "The Mac Guy" Macintosh Troubleshooting, System Engineering, Training, AppleShare/OSX Server Setup, System Upgrades and Enhancements, Custom Programming for Mac/Windows/Linux/Solaris On-Site service for K20, Business, Consumer Phone/VoiceMail: 915-581-1105 Fax: 915-581-8167 eMail: themacguy at macosx.com -------------------------------------------------------- From steve at nexpath.com Sat Aug 30 18:33:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Sat Aug 30 18:33:01 2003 Subject: bug or feature In-Reply-To: References: Message-ID: <3F5132F3.1010505@nexpath.com> Maybe someone can help me with this simple question: put the long id of field "Test Field" into gField set the foregroundColor of the last line of gField to "red" -- works put "This is a test" after gField -- fails, puts the text into the var It seems as if RR cannot tell from context whether it is a variable or a reference on the last one. Is there a way to do what I am trying to do? Thanks, Steve From gizmotron at earthlink.net Sat Aug 30 18:43:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 30 18:43:01 2003 Subject: bug or feature In-Reply-To: <3F5132F3.1010505@nexpath.com> Message-ID: <6386FD68-DB43-11D7-8A43-000A95859272@earthlink.net> On Saturday, August 30, 2003, at 04:27 PM, Steve Gehlbach wrote: > put "This is a test" after gField -- fails, puts the text into the var It's a feature. It puts the text (the long id of field "Test Field") into the var; like it should Try: put "This is a test" after field gField unless you need: put (the long id of field "Test Field") & "This is a test" in the var gField Mark From gizmotron at earthlink.net Sat Aug 30 19:06:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 30 19:06:00 2003 Subject: bug or feature In-Reply-To: <6386FD68-DB43-11D7-8A43-000A95859272@earthlink.net> Message-ID: On Saturday, August 30, 2003, at 04:40 PM, Mark Brownell wrote: > > On Saturday, August 30, 2003, at 04:27 PM, Steve Gehlbach wrote: > >> put "This is a test" after gField -- fails, puts the text into the var > > It's a feature. It puts the text (the long id of field "Test Field") > into the var; like it should > > Try: put "This is a test" after field gField > > unless you need: > put (the long id of field "Test Field") & "This is a test" in the var > gField > > Mark OOPS!!! I should have tested this first... back to my corner I get the same results as you. If I try: (the long id of field "mainText") put "Test this text" into field id 1003 of card id 1002 of stack ".../examples/FrogBreath.rev" it works. So maybe this is a bug after all. Mark From steve at nexpath.com Sat Aug 30 19:09:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Sat Aug 30 19:09:01 2003 Subject: bug or feature In-Reply-To: <6386FD68-DB43-11D7-8A43-000A95859272@earthlink.net> References: <6386FD68-DB43-11D7-8A43-000A95859272@earthlink.net> Message-ID: <3F513B49.7060206@nexpath.com> Mark Brownell wrote: > >> put "This is a test" after gField -- fails, puts the text into the var > > It's a feature. It puts the text (the long id of field "Test Field") > into the var; like it should > > Try: put "This is a test" after field gField > Thanks, I tried that, but put "This is a test" after field gField doesn't work, since gField contains "field id 1003 of card id 1002 of stack ...". I guess you get "field field" or something like that. Anyway, object not found error. Any other ideas? From gizmotron at earthlink.net Sat Aug 30 19:13:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 30 19:13:01 2003 Subject: bug or feature In-Reply-To: <3F513B49.7060206@nexpath.com> Message-ID: <9DBD0CDE-DB47-11D7-8A43-000A95859272@earthlink.net> On Saturday, August 30, 2003, at 05:03 PM, Steve Gehlbach wrote: > Any other ideas? OOPS!!! how's that for a fast reply... From scott at tactilemedia.com Sat Aug 30 19:17:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Aug 30 19:17:01 2003 Subject: bug or feature In-Reply-To: <3F5132F3.1010505@nexpath.com> Message-ID: Recently, Steve Gehlbach wrote: > put the long id of field "Test Field" into gField > set the foregroundColor of the last line of gField to "red" -- works > put "This is a test" after gField -- fails, puts the text into the var > > It seems as if RR cannot tell from context whether it is a variable or a > reference on the last one. > > Is there a way to do what I am trying to do? do "put" && quote & "This is a test" & quote && "after" && gField Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From scott at tactilemedia.com Sat Aug 30 19:41:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Aug 30 19:41:00 2003 Subject: bug or feature In-Reply-To: Message-ID: >> put the long id of field "Test Field" into gField >> set the foregroundColor of the last line of gField to "red" -- works >> put "This is a test" after gField -- fails, puts the text into the var >> >> It seems as if RR cannot tell from context whether it is a variable or a >> reference on the last one. >> >> Is there a way to do what I am trying to do? > > > do "put" && quote & "This is a test" & quote && "after" && gField An alternate option: put "This is a test" into T do "put T after" && gField Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From jacque at hyperactivesw.com Sat Aug 30 20:44:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Aug 30 20:44:01 2003 Subject: bug or feature In-Reply-To: References: Message-ID: <3F515163.8010409@hyperactivesw.com> Steve Gehlbach wrote: > put the long id of field "Test Field" into gField > set the foregroundColor of the last line of gField to "red" -- works > put "This is a test" after gField -- fails, puts the text into the var > ... > Is there a way to do what I am trying to do? Scott gave you a couple of good ways. Another one, using the short form of the ID, is: put the ID of fld "Test Field" into gField set the foregroundColor of the last line of fld ID gField to "red" put "This is a test" after fld ID gField -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Aug 30 21:11:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 30 21:11:00 2003 Subject: bug or feature In-Reply-To: <3F515163.8010409@hyperactivesw.com> Message-ID: Does this work?: put "This is a test" after the text of gField -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From monte at sweattechnologies.com Sat Aug 30 21:51:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Aug 30 21:51:01 2003 Subject: [ANN] Democratic Revolution Updated Message-ID: Hi All I've had to fix a couple of things on the server side and this has meant that votes and feature requests to date have been lost. I've changed the design so this won't happen again. Sorry about the inconvenience. Regards Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From steve at nexpath.com Sat Aug 30 21:55:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Sat Aug 30 21:55:00 2003 Subject: bug or feature In-Reply-To: References: Message-ID: <3F51625B.4070703@nexpath.com> Richard Gaskin wrote: > Does this work?: > > put "This is a test" after the text of gField > no, but set the text of gField to "This is a test" works. However, I want to add lines to the field, so I can't find a way to do the "after" part. The do " " construct works, and leads me to believe there is something missing from the language, that would tell the interpreter to consider the next variable as a reference to an object. The other constructs force it by syntax to do so; it seems to me that the one we are discussing is ambiguous and that is the problem. The only reason I haven't use the short id is I wanted something general that would work from any stack. Seems like you just need a word, like "object" in front of gField that would do it. The do " " approach seems clunky, and, really unnecessary if the syntax could be worked out. -Steve From gizmotron at earthlink.net Sat Aug 30 21:59:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Aug 30 21:59:01 2003 Subject: [ANN] Democratic Revolution Updated In-Reply-To: Message-ID: On Saturday, August 30, 2003, at 07:45 PM, Monte Goulding wrote: > I've had to fix a couple of things on the server side and this has > meant > that votes and feature requests to date have been lost. I've changed > the > design so this won't happen again. That's good because I clicked on that vote button several times before I realized that it was all counting. I think you need to add an answer Vote again: "Yes" or "No" if you vote more than once. I didn't want to vote so many times for offsetAll() so I added several for the other thing to make it equal. Mark From scott at tactilemedia.com Sat Aug 30 22:01:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Aug 30 22:01:01 2003 Subject: bug or feature In-Reply-To: <3F51625B.4070703@nexpath.com> Message-ID: Recently, Steve Gehlbach wrote: >> Does this work?: >> >> put "This is a test" after the text of gField >> > > no, but > > set the text of gField to "This is a test" > > works. However, I want to add lines to the field, so I can't find a way > to do the "after" part. set the text of gField to (the text of fld gField && "This is a test") Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From scott at tactilemedia.com Sat Aug 30 22:10:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Aug 30 22:10:01 2003 Subject: bug or feature In-Reply-To: Message-ID: Recently, I wrote: > set the text of gField to (the text of fld gField && "This is a test") Oops, the above is wrong ("fld" reference is not needed). Revise: set the text of gField to (the text of gField && "This is a test") Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From gcanyon at inspiredlogic.com Sat Aug 30 23:46:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Aug 30 23:46:00 2003 Subject: Showing one image in a hidden group of images In-Reply-To: Message-ID: <32940A58-DB6D-11D7-BB93-003065683ECC@inspiredlogic.com> How about breaking the group up? Instead of this: Group A object 1 object 2 object 3 object 4 Do this: Group A object 1 Group B object 2 object 3 object 4 That way you can make Group B invisible and then set the visible of object 1 to true or false as you please. On Saturday, August 30, 2003, at 03:54 PM, Barry Levine wrote: > I have a group of four images that is invisible until needed. I'd now > like to show only one of those images when a user clicks at a certain > location. I have no trouble determining when the user has clicked the > appropriate spot. > > I've tried showing and hiding the image alone but, as the group is > invisible, the "showing/hiding" is taking place in an invisible object > so, of course, you don't see it. > regards, Geoff Canyon gcanyon at inspiredlogic.com From alex at mindlube.com Sat Aug 30 23:55:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Aug 30 23:55:00 2003 Subject: OS X: Can launch app but not file In-Reply-To: Message-ID: <5D669DB0-DB6E-11D7-8435-000393529642@mindlube.com> On Saturday, August 30, 2003, at 03:52 AM, Kaveh Bazargan wrote: > This works for me: > > launch "/Applications/BBEdit 7.0/BBEdit.app" > > but this doesn't: > > launch "/Applications/BBEdit 7.0/myfile.txt" with > "/Applications/BBEdit > 7.0/BBEdit.app" > > If BBEdit is not running, I get "no such program" > If it is running, I get "process already open" > > Any guidance please. Kaveh, I think it's a Rev bug. Can you, and others, please add your findings to bugzilla bug #449? I have just changed the bug title to be more general because it seems the "launch DOC with APP" command is broken in more than one way. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From troy at healthwealthintl.com Sat Aug 30 23:55:39 2003 From: troy at healthwealthintl.com (Troy) Date: Sat Aug 30 23:55:39 2003 Subject: New to Revolution Message-ID: <000601c36f7b$67fd2610$12aaa8c0@h2hummer> Hi, I'm new to Revolution, but I am a professional Windows developer with about 10 years of experience mostly in VC++ and VB. I have a couple of questions I was hoping someone could answer: 1) Is it possible to access the Windows API (and the equivalent on other O/S's) from within Revolution? 2) As part of an application we're trying to develop, we would need a text field with word processor-like features. By this I mean: a. Changing font size/type/color/bold/italic/underline of a word or words (without changing the entire field) b. Being able to insert an image right into the text field c. Adding a table d. Having a bulleted list of items (numbered and un-numbered) e. Setting the alignment (left/center/right/justify) for a paragraph independent of the other paragraphs f. Highlighting text I'm just trying to find out if this is possible, first of all, and if someone could possibly point me in the direction of what to look for in the Revolution documentation. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From themacguy at macosx.com Sun Aug 31 00:07:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Aug 31 00:07:01 2003 Subject: Showing one image in a hidden group of images In-Reply-To: <200308310357.XAA17256@www.runrev.com> Message-ID: <3FBAD616-DB70-11D7-9C8C-000A95763ABC@macosx.com> Geoff, I probably was not very complete in my description. Any of the four images must be available to be shown individually. I grouped them in order to make showing them all very quick when the time came to print the stack (and the images needed to be visible for that). My code seems to be fast enough, though, so I'll go with it for now. I do have another question which I'll post separately. Thanks, Barry On Saturday, Aug 30, 2003, at 21:57 America/Denver, Geoff wrote: > Subject: Re: Showing one image in a hidden group of images > From: Geoff Canyon > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > How about breaking the group up? Instead of this: > > Group A > object 1 > object 2 > object 3 > object 4 > > Do this: > > Group A > object 1 > Group B > object 2 > object 3 > object 4 > > That way you can make Group B invisible and then set the visible of > object 1 to true or false as you please. > > On Saturday, August 30, 2003, at 03:54 PM, Barry Levine wrote: > >> I have a group of four images that is invisible until needed. I'd now >> like to show only one of those images when a user clicks at a certain >> location. I have no trouble determining when the user has clicked the >> appropriate spot. >> >> I've tried showing and hiding the image alone but, as the group is >> invisible, the "showing/hiding" is taking place in an invisible object >> so, of course, you don't see it. >> >> -------------------------------------------------------- Barry Jay Levine "The Mac Guy" Macintosh Troubleshooting, System Engineering, Training, AppleShare/OSX Server Setup, System Upgrades and Enhancements, Custom Programming for Mac/Windows/Linux/Solaris On-Site service for K20, Business, Consumer Phone/VoiceMail: 915-581-1105 Fax: 915-581-8167 eMail: themacguy at macosx.com -------------------------------------------------------- From anthonyk at fastq.com Sun Aug 31 00:08:01 2003 From: anthonyk at fastq.com (Anthony Kouvousis) Date: Sun Aug 31 00:08:01 2003 Subject: Limit of chars in a field References: <200308301601.MAA31023@www.runrev.com> Message-ID: <3F51813F.91A8CC8C@fastq.com> I created a field named "myField", I then set the "dont't wrap" to tue, set the font to "courier new" and the fontSize to 12 and run the following handler: on mouseUp put empty into fld "myField" repeat 937 put "blah," after last word of line 1 of temp end repeat put temp into fld "myField" end mouseUp To my surprise when I repeat 936 times then the words "blah," appear on the field. When I increase the number to 937 times or more NOTHING appears inside the field!!!! My application calls for storing in one line the coordinates for a graphic to draw (like set the points of grc x to fld "myField"). I was under the impression that the chars limit of a fld was way above HCs 30000 limit. Here on a single line we have 937 X 5 = 4685 chars and the field can not display them! I know that this is related to the scroll but why? If I change the fontSize to a smaller fond then I can see the data in the field. Is there a limit to the hirozontal scroll? Any help will be greatly appreciated. Anthony Kouvoussis From alex at mindlube.com Sun Aug 31 00:29:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Aug 31 00:29:00 2003 Subject: bug or feature In-Reply-To: <3F51625B.4070703@nexpath.com> Message-ID: <284014D1-DB73-11D7-8435-000393529642@mindlube.com> On Saturday, August 30, 2003, at 08:50 PM, Steve Gehlbach wrote: > The only reason I haven't use the short id is I wanted something > general that would work from any stack. > > Seems like you just need a word, like "object" in front of gField that > would do it. The do " " approach seems clunky, and, really > unnecessary if the syntax could be worked out. I can't answer if it's a bug or feature- I'm too much of a newcomer to xtalk scripting. Just come observations. Making a syntax change might break hypercard language compatibility, which seems to be a huge issue for a lot of folks. (I'm not one of them though) Most commands will accept the long or abbrev forms of the id. long and abbrev both start of with the object type. Like this for example does work: put the long id of btn 1 into tID hide tID -- hides the button Specifically the issue you are seeing seems to be with the "get/put" commands. There is already a keyword "control" that could be used to achieve what you are saying- I would expect it to work this way: put the long id of fld 1 into tID put "hello" into control tID -- error Since "put x into obj" doesn't work for you, in the meantime I would just use the previous suggestion of just setting the text property of the field instead of using the "put into" shortcut. This is what you have to do for all other properties anyways (htmlText, etc) so it might be a better general solution anyways. put the long id of fld 1 into tID set the text of tID to "hello" -- does same as what put "hello" into would do Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From janschenkel at yahoo.com Sun Aug 31 00:30:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Aug 31 00:30:01 2003 Subject: Limit of chars in a field In-Reply-To: <3F51813F.91A8CC8C@fastq.com> Message-ID: <20030831052426.28330.qmail@web11903.mail.yahoo.com> --- Anthony Kouvousis wrote: > I created a field named "myField", I then set the > "dont't wrap" to tue, set the font to > "courier new" and the fontSize to 12 and run the > following handler: > > on mouseUp > > put empty into fld "myField" > repeat 937 > put "blah," after last word of line 1 of temp > end repeat > put temp into fld "myField" > > end mouseUp > > To my surprise when I repeat 936 times then the > words "blah," appear on the field. When > I increase the number to 937 times or more NOTHING > appears inside the field!!!! > > My application calls for storing in one line the > coordinates for a graphic to draw (like > set the points of grc x to fld "myField"). I was > under the impression that the chars > limit of a fld was way above HCs 30000 limit. Here > on a single line we have 937 X 5 = > 4685 chars and the field can not display them! > > I know that this is related to the scroll but why? > If I change the fontSize to a smaller > fond then I can see the data in the field. Is there > a limit to the hirozontal scroll? > > Any help will be greatly appreciated. > > Anthony Kouvoussis > Hi Anthony, The problem isn't in the fact that there are 4685 characters in the field, the problem is that they're all on a single line, and there's a maximum width in terms of pixels that can be displayed -- the data is still there, actually. Unless the information _must_ be displayed on screen, you might consider storing the data in custom properties rather than a field. Hope this helped, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dsc at swcp.com Sun Aug 31 00:32:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 31 00:32:01 2003 Subject: Limit of chars in a field In-Reply-To: <3F51813F.91A8CC8C@fastq.com> Message-ID: <97DD2684-DB73-11D7-8A2B-000A9567A3E6@swcp.com> On Saturday, August 30, 2003, at 11:01 PM, Anthony Kouvousis wrote: > My application calls for storing in one line the coordinates for a > graphic to draw (like > set the points of grc x to fld "myField"). I was under the impression > that the chars > limit of a fld was way above HCs 30000 limit. Here on a single line we > have 937 X 5 = > 4685 chars and the field can not display them! You are limited to almost 64K characters in a line. However, you can only correctly display text that is less than about 64K _pixels_ per line. Consider storing information in a custom property or breaking each point into a line. Dar Scott From janschenkel at yahoo.com Sun Aug 31 00:40:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Aug 31 00:40:01 2003 Subject: New to Revolution In-Reply-To: <000601c36f7b$67fd2610$12aaa8c0@h2hummer> Message-ID: <20030831053403.28945.qmail@web11903.mail.yahoo.com> --- Troy wrote: > Hi, > > I'm new to Revolution, but I am a professional > Windows developer with > about 10 years of experience mostly in VC++ and VB. > I have a couple of > questions I was hoping someone could answer: > > 1) Is it possible to access the Windows API > (and the equivalent on > other O/S's) from within Revolution? > 2) As part of an application we're trying to > develop, we would > need a text field with word processor-like features. > By this I mean: > a. Changing font > size/type/color/bold/italic/underline of a word > or words (without changing the entire field) > b. Being able to insert an image right into > the text field > c. Adding a table > d. Having a bulleted list of items (numbered > and un-numbered) > e. Setting the alignment > (left/center/right/justify) for a > paragraph independent of the other paragraphs > f. Highlighting text > > I'm just trying to find out if this is possible, > first of all, and if > someone could possibly point me in the direction of > what to look for in > the Revolution documentation. > > Thank you > > Hi Troy, The standard fields in Revolution won't satisfy your needs, I'm afraid : text alignment is set for an entire field, and doesn't include justify ; bulleted lists aren't built-in (though this could be mimicked through cleer use of images) ; and tables is a much-requested feature. If you only have to _display_ this type of formatted text on Windows, you could give altBrowser a whirl : But this would not be a solution for editing. Sorry to bring disappointing news, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From janschenkel at yahoo.com Sun Aug 31 00:43:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Aug 31 00:43:00 2003 Subject: Showing one image in a hidden group of images In-Reply-To: Message-ID: <20030831053656.32306.qmail@web11904.mail.yahoo.com> --- Barry Levine wrote: > I have a group of four images that is invisible > until needed. I'd now > like to show only one of those images when a user > clicks at a certain > location. I have no trouble determining when the > user has clicked the > appropriate spot. > > I've tried showing and hiding the image alone but, > as the group is > invisible, the "showing/hiding" is taking place in > an invisible object > so, of course, you don't see it. > > I'm wondering if something like the following is the > most efficient way > of handling this: > > on mouseUp > set the lockScreen to true > put the loc of image myImage into myLoc -- for > brevity later on > copy image myImage to this stack > put word 3 of it into myNewID -- tha's the ID# of > the newly created > image > set the loc of image ID myNewID to myLoc -- same > loc as the original > image > show image ID myNewID > set the lockScreen to false > wait 2 seconds -- or do whatever > delete image ID myNewID > end mouseUp > > This seems to work nicely but I'm wondering if I'm > heading down a path > whereby I'll screw up the carefully placed groups of > images. > > Thanks in advance, > Barry > Hi Barry, How about placing four tranasparent buttons in the currect spots, turning off their showname and autohilite, and setting their 'icon' property ? Just a thought, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From gizmotron at earthlink.net Sun Aug 31 00:43:31 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 31 00:43:31 2003 Subject: Limit of chars in a field In-Reply-To: <20030831052426.28330.qmail@web11903.mail.yahoo.com> Message-ID: On Saturday, August 30, 2003, at 10:24 PM, Jan Schenkel wrote: > Hi Anthony, > > The problem isn't in the fact that there are 4685 > characters in the field, the problem is that they're > all on a single line, and there's a maximum width in > terms of pixels that can be displayed -- the data is > still there, actually. I thought that I saw this somewhere. more on this from: http://lists.runrev.com/pipermail/use-revolution/2003-May/015568.html There are certain limits to how large various structures can be in MetaCard. Most limits are tied to the machine data types used to store them. A uint1 is 255 (8 bits), a uint2 is 65,535 bytes (16 bits/64KB) [snip] Characters per line in a field = uint2 is 65,535 bytes (16 bits/64KB) Mark From themacguy at macosx.com Sun Aug 31 00:45:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Aug 31 00:45:01 2003 Subject: Link text but like the Rev docs Message-ID: <5192874B-DB75-11D7-9C8C-000A95763ABC@macosx.com> Maybe this will be useful. The Rev docs give an example of how to have link text automatically highlight yellow when the mouse passes over it (like the Rev online docs). However, only passing mention of how to make it not -look- like "link text" is given; the reference says that the Property Inspector is used to effect the changes. This is only partially correct. You need to change the "Normal" Link Color to black (or whatever color the rest of the text is). This may be done in the Inspector. But you also need to script or go to the message box with this command: set the underlinelinks of this stack to false Now the link text looks just like the rest of the text in that field. The code that would go into the field script which would make the link text highlight automatically is as follows: -------------------------------------------- local storedHilitedChunk on mouseMove -- first unhighlight the "old" phrase if necessary: if storedHilitedChunk is not empty \ and storedHilitedChunk is not the mouseChunk then do "set the backgroundColor of" && \ storedHilitedChunk && "to empty" put empty into storedHilitedChunk end if -- highlight if the text under the mouse is linked: if the mouseChunk is not empty \ and "link" is in the textStyle of the mouseChunk then set the backgroundColor of the mouseChunk to "yellow" -- saved for later unhighlighting put the mouseChunk into storedHilitedChunk end if pass mouseMove end mouseMove on mouseLeave -- unhighlight any currently highlighted text: if storedHilitedChunk is not empty then do "set the backgroundColor of" && \ storedHilitedChunk && "to empty" put empty into storedHilitedChunk end if pass mouseLeave end mouseLeave -------------------------------------------- The above script is copied from Jeanne's posting of 9/30/02. Yes; it works fine! (and thank you, Jeanne) Regards, Barry From alex at mindlube.com Sun Aug 31 00:53:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Aug 31 00:53:00 2003 Subject: New to Revolution In-Reply-To: <000601c36f7b$67fd2610$12aaa8c0@h2hummer> Message-ID: <89779EA4-DB76-11D7-8435-000393529642@mindlube.com> On Saturday, August 30, 2003, at 10:50 PM, Troy wrote: > I?m new to Revolution, but I am a professional Windows developer with > about 10 years of experience mostly in VC++ and VB. ?I have a couple > of questions I was hoping someone could answer: Welcome! > 1)??????Is it possible to access the Windows API (and the equivalent > on other O/S?s) from within Revolution? Not directly. A couple of ways to go. 1) write your own "external" to connect with the C/C++/whatever APIs of your choice. An "external" in our lingo is a compiled module that defines transcript commands and handlers - the bodies of which are implemented in languages other than transcript. It's not a lot of work do write an external, but the documentation for the SDK is practically nonexistent so far. 2) shell() out and use rundll32.exe See win002 - Using Rundll32 For Administrative Functions http://www.sonsothunder.com/devres/revolution/revolution.htm 3) something else I'm forgetting > 2)??????As part of an application we?re trying to develop, we would > need a text field with word processor-like features.?By this I mean: > > a.??????Changing font size/type/color/bold/italic/underline of a word > or words (without changing the entire field) > b.??????Being able to insert an image right into the text field > c.??????Adding a table > d.??????Having a bulleted list of items (numbered and un-numbered) > e.??????Setting the alignment (left/center/right/justify) for a > paragraph independent of the other paragraphs > f.????????Highlighting text > I?m just trying to find out if this is possible, first of all, and if > someone could possibly point me in the direction of what to look for > in the Revolution documentation. Word processor-like! "-like" being the operative concept there :-) The Rev IDE for example is written in Rev, and the script editor is sort of word processor-like. Take a look at these entries in the transcript dictionary as a start textFont textSize textStyle htmltext rtftext imagesource vgrid, hgrid, showlines chunk expressions You will find that the typesetting capabilities of Rev are not meant to be really word processor-like. For example you can't anchor an image or flow text around an image in a field. Alignment is per field, not per chunk or per paragraph. You probably would have to use multiple fields, buttons and images, arranged on your card, to accomplish the layout you want. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dan at shafermedia.com Sun Aug 31 01:12:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sun Aug 31 01:12:00 2003 Subject: use-revolution digest, Vol 1 #1847 - 16 msgs In-Reply-To: <200308310357.XAA17256@www.runrev.com> Message-ID: <40911DE2-DB79-11D7-975F-0030656FB5D4@shafermedia.com> On Saturday, August 30, 2003, at 08:57 PM, Troy wrote: > 1) Is it possible to access the Windows API (and the equivalent > on > other O/S's) from within Revolution? Not trivial as I understand it. There are some intriguing workaround ideas but the APIs themselves are not, as I understand it, accessible directly from Revolution. > 2) As part of an application we're trying to develop, we would > need a text field with word processor-like features. No way to get this in the current release. I've been distressed over this any number of times. You can do some of the stuff on your list easily, some not easily, but a good bit of it (e.g., specific alignment of individual paragraphs) not at all. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From ambassador at fourthworld.com Sun Aug 31 01:24:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 31 01:24:01 2003 Subject: Limit of chars in a field In-Reply-To: <3F51813F.91A8CC8C@fastq.com> Message-ID: Anthony Kouvousis wrote: > My application calls for storing in one line the coordinates for a graphic to > draw (like > set the points of grc x to fld "myField"). I was under the impression that the > chars > limit of a fld was way above HCs 30000 limit. Here on a single line we have > 937 X 5 = > 4685 chars and the field can not display them! Bad news: While Rev lets you store up to about 4GB per field, it only allows 64k in any given line (this also holds true for the sort command). Good news: Polygon points in Rev are stored with each point on a separate line, so you should have no trouble storing the points list for even complex polygons. But I'm curious: Given the arduousness of editing points from a list, do they need to be displayed? Might tucking them in a custom property suffice? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sun Aug 31 01:33:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 31 01:33:01 2003 Subject: OS X: Can launch app but not file In-Reply-To: <5D669DB0-DB6E-11D7-8435-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > > On Saturday, August 30, 2003, at 03:52 AM, Kaveh Bazargan wrote: > >> This works for me: >> >> launch "/Applications/BBEdit 7.0/BBEdit.app" >> >> but this doesn't: >> >> launch "/Applications/BBEdit 7.0/myfile.txt" with >> "/Applications/BBEdit >> 7.0/BBEdit.app" >> >> If BBEdit is not running, I get "no such program" >> If it is running, I get "process already open" >> >> Any guidance please. > > Kaveh, I think it's a Rev bug. Can you, and others, please add your > findings to bugzilla bug #449? I have just changed the bug title to be > more general because it seems the "launch DOC with APP" command is > broken in more than one way. The Mac OS API's _launch call has been riddled with issues since Mac OS 7, or maybe earlier. This gets funkier in OS X since a .app is not a file, but really a folder. Best to use AppleScript and let the Finder sort it out: tell program "Finder" to open "drive:folder:application.app" -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From alex at mindlube.com Sun Aug 31 02:06:02 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Aug 31 02:06:02 2003 Subject: OS X: Can launch app but not file In-Reply-To: Message-ID: On Sunday, August 31, 2003, at 12:27 AM, Richard Gaskin wrote: > The Mac OS API's _launch call has been riddled with issues since Mac > OS 7, > or maybe earlier. This gets funkier in OS X since a .app is not a > file, but > really a folder. > > Best to use AppleScript and let the Finder sort it out: > > tell program "Finder" to open "drive:folder:application.app" That reminds me. Hugh Senior posted a gem of a launchURL handler last week: http://lists.runrev.com/pipermail/use-revolution/2003-August/021885.html Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kaveh at deletethisbit.focalimage.com Sun Aug 31 03:38:01 2003 From: kaveh at deletethisbit.focalimage.com (Kaveh Bazargan) Date: Sun Aug 31 03:38:01 2003 Subject: OS X: Can launch app but not file In-Reply-To: <5D669DB0-DB6E-11D7-8435-000393529642@mindlube.com> References: <5D669DB0-DB6E-11D7-8435-000393529642@mindlube.com> Message-ID: At 10:48 pm -0600 30/8/03, Alex Rice wrote: [...] >Kaveh, I think it's a Rev bug. Can you, and others, please add your >findings to bugzilla bug #449? I have just changed the bug title to be >more general because it seems the "launch DOC with APP" command is >broken in more than one way. Done -- Kaveh From miscdas at boxfrog.com Sun Aug 31 03:39:02 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sun Aug 31 03:39:02 2003 Subject: HyperCard and Revolution stacks In-Reply-To: References: Message-ID: <20030831083322.69130.qmail@www.boxfrog.com> I'll side with Dan on this one. I checked Dale's site. I see many Hypercard freebies, but not even 1 Rev freebie. Seeing how this is the Revolution list, I think a post to the Rev list that directs one to Revolution products that are all for purchase should be clearly marked as an advertisement. miscdas Stephen Quinn Barncard writes: > WHOA, dude, it's just his signature ...such as yours, not unlike many > others on this list... > > sqb > >> Dale, >> >> Perhaps you can find a justification for blatant commercial advertising >> on the >> list, but I don't see it. If you insist on continuing, at least mark the >> subject >> line with an obvious identifier (e.g. [ADV] ) so I can readily skip such >> entries. >> >> DJ >> >> >> ------------------------------------------------------------ >> http://Game.37.com/ > > >>> Hi, >>> >>> Updated the SVP HyperCard and Revolution download pages. Much more to >>> come in >>> the future as we have time to convert and update. >>> [snip] >>> >>> Dale Pond >>> Sympathetic Vibratory Physics >>> ============== > > >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dalesvp at qwest.net Sun Aug 31 06:46:00 2003 From: dalesvp at qwest.net (Dale Pond) Date: Sun Aug 31 06:46:00 2003 Subject: HyperCard and Revolution stacks References: <20030831083322.69130.qmail@www.boxfrog.com> Message-ID: <3F51DFE7.3020904@qwest.net> miscdas at boxfrog.com wrote: > I'll side with Dan on this one. I checked Dale's site. I see many > Hypercard freebies, but not even 1 Rev freebie. Seeing how this is the > Revolution list, I think a post to the Rev list that directs one to > Revolution products that are all for purchase should be clearly marked > as an advertisement. > miscdas > Yah, simply haven't gotten around to it. Everyone knows simple HC stacks can easily be opened into Revolution. So why not do that? (This might not work if you are running an Intel platform.) Some of the posted HC freebies are copyrighted shareware/freeware from other sources. I do not feel it is legitimate for me to convert then redistribute some one else's property. Though I see no reason why an end user could not convert them for their own use. I will be posting the conversions of my own freebie stacks (Mac only for the time being). -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From dalesvp at qwest.net Sun Aug 31 07:47:00 2003 From: dalesvp at qwest.net (Dale Pond) Date: Sun Aug 31 07:47:00 2003 Subject: HyperCard and Revolution stacks References: <20030831083322.69130.qmail@www.boxfrog.com> <3F51DFE7.3020904@qwest.net> Message-ID: <3F51EE28.7090308@qwest.net> OK. Spent some time converting and uploading a free HC to Revolution conversion (Mac only). Not sure how this works so bear with me. The file is here: http://www.svpvril.com/HC/HC_Scripts.html#Revolution Any suggestions on how to go about this would be appreciated. File is in two formats: hqx and rev Dale Dale Pond wrote: > miscdas at boxfrog.com wrote: > >> I'll side with Dan on this one. I checked Dale's site. I see many >> Hypercard freebies, but not even 1 Rev freebie. Seeing how this is >> the Revolution list, I think a post to the Rev list that directs one >> to Revolution products that are all for purchase should be clearly >> marked as an advertisement. >> miscdas >> > Yah, simply haven't gotten around to it. Everyone knows simple HC > stacks can easily be opened into Revolution. So why not do that? (This > might not work if you are running an Intel platform.) Some of the > posted HC freebies are copyrighted shareware/freeware from other > sources. I do not feel it is legitimate for me to convert then > redistribute some one else's property. Though I see no reason why an > end user could not convert them for their own use. I will be posting > the conversions of my own freebie stacks (Mac only for the time being). > -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From gizmotron at earthlink.net Sun Aug 31 11:40:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 31 11:40:00 2003 Subject: HyperCard and Revolution stacks In-Reply-To: <3F51DFE7.3020904@qwest.net> Message-ID: <78AA9740-DBD1-11D7-BFCB-000A95859272@earthlink.net> On Sunday, August 31, 2003, at 04:45 AM, Dale Pond wrote: > -- > Life, Light, Love and Laughter, > Dale Pond > Sympathetic Vibratory Physics > Sacred Science - Sacred Life > http://www.svpvril.com > SVP Discussion Forum: > http://groups.yahoo.com/group/svpvril/ I don't see the problem with someone's individual footer on their messages that they post. Some of us have our own wacky interests and have the need to share them, some share their professionalism in the craft that can be the interest of this group. In this case this leans closer to something more like the Flat Earth Society's interests. So what. We are entitled to share our interests in our message footers. Like how about those pithy quotations that some add to brighten our days. Not to be contrary I will share an interest of mine that exposes a kind of weakness. I once set out to find a weakness in the game of Roulette and I found it. I tried to explain it and prove its existence using computer games and simulations. I also went on to share it. I learned that trying to communicate this interest I had ended up being far more difficult than creating the computer simulations that showed its existence. So I gave up on sharing it. If I ever have the time to go further with it I will set out to prove it with an AI simulation that proves it and explains step by step what took place. Proving that there is a weakness in distributions among multiple events on a Roulette table over 300 separate spins is not easy to explain. Doing it and making it learnable and known is my far off flat earth quest or dream. I wish to pursue this just to see the mouths drop. This has been sitting right in front of gamblers all along but they just don't see it. Ah that I had more time to play... me From ambassador at fourthworld.com Sun Aug 31 12:10:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 31 12:10:00 2003 Subject: HyperCard and Revolution stacks In-Reply-To: <3F51DFE7.3020904@qwest.net> Message-ID: Dale Pond wrote: > Yah, simply haven't gotten around to it. Everyone knows simple HC stacks > can easily be opened into Revolution. So why not do that? (This might > not work if you are running an Intel platform.) It works great if you binhex them first. If memory serves it even converts the audio resources to au format when importing a binhexed HC stack on Wintel. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From steve at nexpath.com Sun Aug 31 12:36:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Sun Aug 31 12:36:01 2003 Subject: bug or feature In-Reply-To: <284014D1-DB73-11D7-8435-000393529642@mindlube.com> References: <284014D1-DB73-11D7-8435-000393529642@mindlube.com> Message-ID: <3F5230B1.7000700@nexpath.com> Alex Rice wrote: > Specifically the issue you are seeing seems to be with the "get/put" > commands. There is already a keyword "control" that could be used to > achieve what you are saying- I would expect it to work this way: > > put the long id of fld 1 into tID > put "hello" into control tID -- error > > Since "put x into obj" doesn't work for you, in the meantime I would > just use the previous suggestion of just setting the text property of > the field instead of using the "put into" shortcut. This is what you > have to do for all other properties anyways (htmlText, etc) so it might > be a better general solution anyways. > > put the long id of fld 1 into tID > set the text of tID to "hello" -- does same as what put "hello" into > would do I agree, and thanks for the help. RR should make the "control" modifier work as you show. As it turns out, I was seeing some other problems, specifically, where gField holds the long id of a field, and the context is a different stack: set the textColor of the last line of gField to "blue" This was setting the last line to blue, but changing all other lines to the default color. That doesn't happen if you make the call on the same card as the field. So I think there are problems with these long id object references and differing context. I am going to change my design to pass in a message name, and an object ref, and send a message back to the object and let it modify the field locally. All in all, it maybe a better design anyway, but the long id object references make me nervous. I don't want to build a large design on this principle and get screwed with strange behavior after I have 1000 lines of code or something. Easier to change it now. Steve From bvlahos at mac.com Sun Aug 31 13:07:01 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Sun Aug 31 13:07:01 2003 Subject: How to I get clickItem? Message-ID: <1B353960-DBDD-11D7-B282-003065EC5590@mac.com> I have a field in which the itemDelimiter is numToChar(255) instead of return. This allows me to have items with multiple paragraphs in the same item. I can retrieve specific items in the form: set the itemDelimiter to numToChar(255) put item 3 of field "fTest" How can I get the item number when a user clicks on the field? The clickLine correctly returns the line number but that doesn't tell me what item it is. What I want is a clickItem function which doesn't exist (or at least I can't find it). The other thing I've tried without success is to group the text (set textStyle to link). I can get the grouped text fine this way from a click but I can't get the item position. My goal for this is to have a field with data that is structured. The user clicks on the item to edit the contents in another field(s) and replaced when the editing is done. I can't do that if I don't know which item was selected. Bill Vlahos From dalesvp at qwest.net Sun Aug 31 14:18:00 2003 From: dalesvp at qwest.net (Dale Pond) Date: Sun Aug 31 14:18:00 2003 Subject: HyperCard and Revolution stacks References: <78AA9740-DBD1-11D7-BFCB-000A95859272@earthlink.net> Message-ID: <3F524993.5070904@qwest.net> Mark Brownell wrote: > Not to be contrary I will share an interest of mine that exposes a > kind of weakness. I once set out to find a weakness in the game of > Roulette and I found it. I tried to explain it and prove its existence > using computer games and simulations. I also went on to share it. I > learned that trying to communicate this interest I had ended up being > far more difficult than creating the computer simulations that showed > its existence. So I gave up on sharing it. If I ever have the time to > go further with it I will set out to prove it with an AI simulation > that proves it and explains step by step what took place. Proving that > there is a weakness in distributions among multiple events on a > Roulette table over 300 separate spins is not easy to explain. Doing > it and making it learnable and known is my far off flat earth quest or > dream. I wish to pursue this just to see the mouths drop. This has > been sitting right in front of gamblers all along but they just don't > see it. > > Ah that I had more time to play... > Pursuing one's love in life is what we should all be doing more of. Punching a clock so to earn money to give to some one else does not sound like much fun. I tried it and didn't like it. Mark, if you have the roulette thingie figured out why not use it to get yourself some more play time? I'd like to hear about it (off list if need be) as I'm convinced there are no accidents and no chaos anywhere in the universe. We only lack the understanding of universal principles and laws. Which is what I'm really into - what ACTUALLY makes things work as opposed to someone's opinion how they work. -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From gizmotron at earthlink.net Sun Aug 31 14:21:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 31 14:21:00 2003 Subject: How to I get clickItem? In-Reply-To: <1B353960-DBDD-11D7-B282-003065EC5590@mac.com> Message-ID: On Sunday, August 31, 2003, at 11:01 AM, Bill Vlahos wrote: > My goal for this is to have a field with data that is structured. The > user clicks on the item to edit the contents in another field(s) and > replaced when the editing is done. I can't do that if I don't know > which item was selected. > > Bill Vlahos Hi Bill, You could try a Parallel Numerical Lineal Parser in conjunction with the htmlText capability. Not knowing Transcript very well there is probably an easier way but this is how I would do it not knowing for sure. Take your items and put them inside tags sets

&

. You can include

for line breaks inside your items. You then use offset() to make a list of char locations for all instances of "

": Warning untested code: global itemArray2 put yourTextToSearch into tZap put 0 into tStart put 1 into tElementNum repeat put offset("

",tZap,tStart) into tNum put (tNum + tStart) into tStart if tNum < 1 then exit repeat put tStart into itemArray[tElementNum] add 1 to tElementNum end repeat put the number of chars in tZap into xZap put xZap into itemArray[tElementNum + 1] Now you have an array of numerical values for the beginning of each item delimiter, "

". With a little clean up math to remove the number of chars within any tag set you will be left with the same number of characters that are rendered in your field after using the htmlText to present it. Use the array to make a numerically corrected array. You now have a numerical reference to compare the char number (the clickCharChunk) to the range that fits in the new array. In that way you will get the item number you are looking for when a user clicks in your field. array clean up script: put 1 into itemArray2[1] repeat with xy = 1 to tElementNum put itemArray[xy] into get1 put itemArray[xy + 1] into get2 put char get1 to (get2 - 1) of tZap into holdItemWithTags put the htmlText of holdItemWithTags into zip put the number of chars in zip into holdNumZip put holdNumZip into itemArray2[xy + 1] end repeat -- with the already created global itemArray2 -- put this in myField script: on mouseUp global itemArray2 put the clickCharChunk of myField into zap put 1 into z repeat if itemArray2[z] >= zap then put z into itemNumberIs exit repeat end if add 1 to z end repeat end mouseUp -- you now have the item number in itemNumberIs Mark From dalesvp at qwest.net Sun Aug 31 14:24:00 2003 From: dalesvp at qwest.net (Dale Pond) Date: Sun Aug 31 14:24:00 2003 Subject: HyperCard and Revolution stacks References: Message-ID: <3F524B30.1060001@qwest.net> Richard Gaskin wrote: >It works great if you binhex them first. If memory serves it even converts >the audio resources to au format when importing a binhexed HC stack on >Wintel. > > > Richard, The first download item under Revolution "HTML CleanUp" is a .rev file binhexed (not standalone). The second item is a straight .rev file. Not having a Wintel machine I can't verify it. Maybe you or someone with a Wintel machine could try it out? http://www.svpvril.com/HC/HC_Scripts.html#Revolution -- Life, Light, Love and Laughter, Dale Pond Sympathetic Vibratory Physics Sacred Science - Sacred Life http://www.svpvril.com SVP Discussion Forum: http://groups.yahoo.com/group/svpvril/ From gizmotron at earthlink.net Sun Aug 31 14:37:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 31 14:37:01 2003 Subject: HyperCard and Revolution stacks In-Reply-To: <3F524993.5070904@qwest.net> Message-ID: <250955A2-DBEA-11D7-99D6-000A95859272@earthlink.net> On Sunday, August 31, 2003, at 12:16 PM, Dale Pond wrote: > Mark, if you have the roulette thingie figured out why not use it to > get yourself some more play time? One person with a system that works without cheating would get noticed. After being noticed with something that works I would be asked to leave. It takes ten hours to play 300 spins at a Roulette table. Unless I were using large amounts to gamble with it would not be worth the time. If I did I would get noticed. I could build a AI version for internet gambling that gives best chance predictions for real-time internet gamblers. I don't trust any of the internet Roulette games. It to easy to cheat the player and there is no regulations against cheating. So my goal is to open the eyes of the average gambler. That will produce millions of gamblers that will use the trick. You will just have to wait for the AI version. I will not cover ground that has already proven to be a waist of my time. In other words I will not discuss this until the AI version is finished. Mark From dsc at swcp.com Sun Aug 31 14:58:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 31 14:58:01 2003 Subject: bug or feature In-Reply-To: <3F5230B1.7000700@nexpath.com> Message-ID: <98A68A06-DBEC-11D7-8ECD-000A9567A3E6@swcp.com> On Sunday, August 31, 2003, at 11:30 AM, Steve Gehlbach wrote: > As it turns out, I was seeing some other problems, specifically, where > gField holds the long id of a field, and the context is a different > stack: > > set the textColor of the last line of gField to "blue" > > This was setting the last line to blue, but changing all other lines > to the default color. I have a stack that broke in upgrades. I haven't taken time to track it down but it might be related to this. (Or maybe it was an old stack in which I didn't have color appending done right.) Dar Scott From kaveh at deletethisbit.focalimage.com Sun Aug 31 15:04:00 2003 From: kaveh at deletethisbit.focalimage.com (Kaveh Bazargan) Date: Sun Aug 31 15:04:00 2003 Subject: OS X: Can launch app but not file In-Reply-To: References: Message-ID: At 11:27 pm -0700 30/8/03, Richard Gaskin wrote: [...] >The Mac OS API's _launch call has been riddled with issues since Mac OS 7, >or maybe earlier. This gets funkier in OS X since a .app is not a file, but >really a folder. > >Best to use AppleScript and let the Finder sort it out: > > tell program "Finder" to open "drive:folder:application.app" > I am slowly finding my way around. Now how do I send an AppleScript with Rev? In Hypercard you chose AppleScript from a pop-up box. -- Kaveh From tkuypers at pandora.be Sun Aug 31 15:26:00 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Sun Aug 31 15:26:00 2003 Subject: OS X: Can launch app but not file In-Reply-To: Message-ID: Put "tell program " & quote & "Finder" & quote & " to open " & quote & "drive:folder:application.app" & quote into vScript Do vScript as applescript This should do the job ;-) Greetz, Ton Kuypers > From: Kaveh Bazargan > Reply-To: use-revolution at lists.runrev.com > Date: Sun, 31 Aug 2003 20:57:25 +0100 > To: use-revolution at lists.runrev.com > Subject: Re: OS X: Can launch app but not file > > At 11:27 pm -0700 30/8/03, Richard Gaskin wrote: > > [...] > >> The Mac OS API's _launch call has been riddled with issues since Mac OS 7, >> or maybe earlier. This gets funkier in OS X since a .app is not a file, but >> really a folder. >> >> Best to use AppleScript and let the Finder sort it out: >> >> tell program "Finder" to open "drive:folder:application.app" >> > > I am slowly finding my way around. Now how do I send an AppleScript with > Rev? In Hypercard you chose AppleScript from a pop-up box. > -- > Kaveh > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From kaveh at deletethisbit.focalimage.com Sun Aug 31 15:37:01 2003 From: kaveh at deletethisbit.focalimage.com (Kaveh Bazargan) Date: Sun Aug 31 15:37:01 2003 Subject: OS X: Can launch app but not file In-Reply-To: References: Message-ID: At 10:20 pm +0200 31/8/03, tkuypers at pandora.be wrote: >Put "tell program " & quote & "Finder" & quote & " to open " & quote & >"drive:folder:application.app" & quote into vScript >Do vScript as applescript > >This should do the job ;-) Hey thanks. Is there no easier way? :-( -- Kaveh From jacque at hyperactivesw.com Sun Aug 31 15:40:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Aug 31 15:40:01 2003 Subject: How to I get clickItem? In-Reply-To: <1B353960-DBDD-11D7-B282-003065EC5590@mac.com> References: <1B353960-DBDD-11D7-B282-003065EC5590@mac.com> Message-ID: <3F525BA7.6030001@hyperactivesw.com> On 8/31/03 1:01 PM, Bill Vlahos wrote: On 8/31/03 1:01 PM, Bill Vlahos wrote: > I have a field in which the itemDelimiter is numToChar(255) instead > of return. This allows me to have items with multiple paragraphs in > the same item. Items can always have paragraphs in them. Items don't end until either the next item delimiter is encountered or the text runs out. If the itemDelimiter isn't a return character, then many paragraphs can be part of the same item. > How can I get the item number when a user clicks on the field? The > clickLine correctly returns the line number but that doesn't tell me > what item it is. What I want is a clickItem function which doesn't > exist (or at least I can't find it). Like this: get the clickChunk set the itemdelimiter to numToChar(255) put the number of items in char 1 to (word 2 of it) of fld Note that the clickChunk will return 0 if the user clicks in the empty space after the text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com > How can I get the item number when a user clicks on the field? The > clickLine correctly returns the line number but that doesn't tell me > what item it is. What I want is a clickItem function which doesn't exist > (or at least I can't find it). get the clickChunk set the itemdelimiter to numToChar(255) put the number of items in char 1 to (word 2 of it) of me Items don't end at a return character, they only end when the text runs out or another delimiter is returns become part of the item they are in. So this should work fine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tkuypers at pandora.be Sun Aug 31 15:48:00 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Sun Aug 31 15:48:00 2003 Subject: OS X: Can launch app but not file In-Reply-To: Message-ID: Not as far as I know... But once you get the hang of it, it works pretty slick... For scripts with variables in it, you can put them together like this, when using bigger scripts, create them in the script-editor and store them in a custom property and when needing information from the other program, use "put the result in vResult" after the do script part... Cheers, Ton Kuypers > From: Kaveh Bazargan > Reply-To: use-revolution at lists.runrev.com > Date: Sun, 31 Aug 2003 21:30:29 +0100 > To: use-revolution at lists.runrev.com > Subject: Re: OS X: Can launch app but not file > > At 10:20 pm +0200 31/8/03, tkuypers at pandora.be wrote: >> Put "tell program " & quote & "Finder" & quote & " to open " & quote & >> "drive:folder:application.app" & quote into vScript >> Do vScript as applescript >> >> This should do the job ;-) > > Hey thanks. > > Is there no easier way? :-( > -- > Kaveh > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From gizmotron at earthlink.net Sun Aug 31 16:08:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 31 16:08:01 2003 Subject: How to I get clickItem? In-Reply-To: Message-ID: On Sunday, August 31, 2003, at 12:18 PM, Mark Brownell wrote: > on mouseUp > global itemArray2 > put the clickCharChunk of myField into zap > put 1 into z > repeat > if itemArray2[z] >= zap then > put z into itemNumberIs > exit repeat > end if > add 1 to z > end repeat > end mouseUp oops: on mouseUp global itemArray2 put the clickCharChunk of myField into zap put word 2 of zap into zap -- fixed this --------- put 1 into z repeat if itemArray2[z] >= zap then put z - 1 into itemNumberIs -- fixed this --------- exit repeat end if add 1 to z end repeat if itemNumberIs = 0 then put 1 into itemNumberIs end if end mouseUp From mail at richard-hillen.de Sun Aug 31 16:12:00 2003 From: mail at richard-hillen.de (R. Hillen) Date: Sun Aug 31 16:12:00 2003 Subject: Hide minimizeBox - bug? Message-ID: Hello list, Using Mac OSX 10.2.6, Rev 2.1 I wrote: on preopenstack set the decorations of this stack to "default" set the minimizeBox of this stack to false end preopenstack I built standalones for Mac OSX and windows. On OSX it worked as expected; the MinimizeBox became white and was inactive. On Windows 98 SE there was no close box, no zoom box, no minimize box, (so I couldnt quit the application). Any help? Thanx in advance Richard Hillen. From dsc at swcp.com Sun Aug 31 18:02:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 31 18:02:00 2003 Subject: OS X: Can launch app but not file In-Reply-To: Message-ID: <3E11225A-DC06-11D7-8ECD-000A9567A3E6@swcp.com> On Sunday, August 31, 2003, at 02:30 PM, Kaveh Bazargan wrote: > At 10:20 pm +0200 31/8/03, tkuypers at pandora.be wrote: >> Put "tell program " & quote & "Finder" & quote & " to open " & quote & >> "drive:folder:application.app" & quote into vScript >> Do vScript as applescript >> >> This should do the job ;-) > > Hey thanks. > > Is there no easier way? :-( A literal string in the context of a format parameter may use \". Besides, once you make a small handler to go into your bag of tricks, you can forget about how it was done. Dar Scott From sarahr at genesearch.com.au Sun Aug 31 18:04:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 31 18:04:01 2003 Subject: Need your help! Plans on promotion Plug In In-Reply-To: Message-ID: <9DEF8680-DC06-11D7-A5B3-0003937A97B8@genesearch.com.au> > Is it hard to code sending emails from within Rev? > Hi Malte, No, it isn't hard to send emails using Rev. You need to open a socket to the POP server, send & receive the various commands, then send your email, before logging off & closing the socket. I have been working (on & off) on a POP library which is not yet ready for public consumption, but if you want me to send you a POP example stack, just contact me off-list. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From sarahr at genesearch.com.au Sun Aug 31 18:05:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 31 18:05:01 2003 Subject: Finding the disk name In-Reply-To: Message-ID: <09DD57CB-DC06-11D7-A5B3-0003937A97B8@genesearch.com.au> >> In the newer version of Revolution, running under OS X, when I get a >> file name (say from answer file), I get something like this: >> /Users/sarah/Documents/FolderName/Filename.txt >> This is fine and Rev reads such a file perfectly. The problem arises >> when I want to pass a filename to an AppleScript, which requires a >> full >> path including the disk name, in this form: >> Sarah HD:Users:sarah:Documents:FolderName:Filename.txt > > Perhaps using POSIX file in your AppleScript what you need. An > example: > > set myPath to "/Users/trevordevore/desktop/" > set myPath to POSIX file myPath > display dialog newPath > > This would display "Macintosh HD:Users:trevordevore:Desktop: > > Would this solve your problem? > Thanks Trevor, That nearly worked :-) Here is the function I came up with to translate a Rev file path to an AppleScript path: function filePathToAppleScript pFile put "set tFilePath to *file*" & cr & "set tAS to POSIX file tFilePath" \ & cr & "return tAS" & cr into tScript replace "*file*" with quote & pFile & quote in tScript do tScript as Applescript put the result into tASfile delete word 1 of tASfile -- file delete char 1 of tASfile -- quote delete char -1 of tASfile -- quote return tASfile end filePathToAppleScript Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From kaveh at deletethisbit.focalimage.com Sun Aug 31 18:13:01 2003 From: kaveh at deletethisbit.focalimage.com (Kaveh Bazargan) Date: Sun Aug 31 18:13:01 2003 Subject: OS X: Can launch app but not file In-Reply-To: <3E11225A-DC06-11D7-8ECD-000A9567A3E6@swcp.com> References: <3E11225A-DC06-11D7-8ECD-000A9567A3E6@swcp.com> Message-ID: At 4:55 pm -0600 31/8/03, Dar Scott wrote: [...] >A literal string in the context of a format parameter may use \". That helps a lot. :-) > >Besides, once you make a small handler to go into your bag of tricks, >you can forget about how it was done. Sure. I just realized that having AppleScripts all over the place would get in the way of cross platform use! -- Kaveh From alex at mindlube.com Sun Aug 31 18:19:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Aug 31 18:19:01 2003 Subject: window decorations "system,empty" Message-ID: I am using the "system" decoration for a splash screen stack. Seems like a good way to keep the splash screen in front of other stacks that that are subsequently opened during startup. decorations "system,empty" is invalid though. I'm really using the system decoration for it's window Z-ordering, not for the window decorations. How can I get a float-on-top window with no decorations? Just curious if it's possible. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dsc at swcp.com Sun Aug 31 18:26:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 31 18:26:00 2003 Subject: OS X: Can launch app but not file In-Reply-To: Message-ID: On Sunday, August 31, 2003, at 05:05 PM, Kaveh Bazargan wrote: >> Besides, once you make a small handler to go into your bag of tricks, >> you can forget about how it was done. > > Sure. I just realized that having AppleScripts all over the place > would get > in the way of cross platform use! Yikes! Right! Forget about how it was done after you make it cross platform. Dar Scott From bvg at mac.com Sun Aug 31 18:52:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun Aug 31 18:52:00 2003 Subject: how to deselect text in a listfield Message-ID: <3909C3F6-DC0D-11D7-944F-003065AD94A4@mac.com> I was trying to deselect text in a listfield by script , but i was unable to do it. What command does that? From scott at tactilemedia.com Sun Aug 31 18:58:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Aug 31 18:58:01 2003 Subject: how to deselect text in a listfield In-Reply-To: <3909C3F6-DC0D-11D7-944F-003065AD94A4@mac.com> Message-ID: Recently, Bj?rnke von Gierke wrote: > I was trying to deselect text in a listfield by script , but i was > unable to do it. What command does that? Is this what you want? set the hilitedLines of fld myField to 0 Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From bvg at mac.com Sun Aug 31 19:02:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun Aug 31 19:02:01 2003 Subject: how to deselect text in a listfield In-Reply-To: Message-ID: <94FB91B0-DC0E-11D7-944F-003065AD94A4@mac.com> Exactly! I tried so long and never stumbled over this, thank you for your help. On Montag, Sept 1, 2003, at 01:52 Europe/Zurich, Scott Rossi wrote: > set the hilitedLines of fld myField to 0 From harrison at all-auctions.com Sun Aug 31 19:44:00 2003 From: harrison at all-auctions.com (Rick Harrison) Date: Sun Aug 31 19:44:00 2003 Subject: Background Color BleedThrough -- Fairly Easy Fix In-Reply-To: <8EA85D5C-DB3C-11D7-BB93-003065683ECC@inspiredlogic.com> Message-ID: <955988BA-DC14-11D7-8ADA-000393C10758@all-auctions.com> On Saturday, August 30, 2003, at 06:51 PM, Geoff Canyon wrote: > Now I see it. It does seem to be the same one I saw back when I was > starting with Navigator. Oddly, I couldn't replicate in 2.0.1, but I > can in 2.1rc1 > > Setting the borderWidth to 0 fixes the problem. > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com > Geoff, Thanks for the workaround. A border of 0 doesn't look as professional though. I sure wish they'd fix this one quick! Rick Harrison From Neville.Smythe at anu.edu.au Sun Aug 31 20:27:00 2003 From: Neville.Smythe at anu.edu.au (Neville Smythe) Date: Sun Aug 31 20:27:00 2003 Subject: Formatted printing Message-ID: <8E552BB6-DC1A-11D7-A921-000A959CAC58@anu.edu.au> I am trying to do something seemingly very simple and I would have thought quite generic ... can I ask if I really am coming up against what seem to me to be pretty obvious shortcomings in the present implementations of table fields and the printing library? (as a new user, I've had a bit of a look on the archives, and the thread on revPrintText is so long there clearly are many requests for extension of its feature set, no doubt including the following...) I want to be able to print the contents of a formatted field, with column data, above which is a header which is longer than one cell of the column data. The header itself uses styled text and I'd like it to have columns too, tho' I can probably simulate that since its text won't vary much. The data is constructed dynamically from other information in the stack. The printout fills out a whole page, larger than a card size, so print card won't suffice. I'd prefer not to have vertical lines separating the columns of data, but I can live with that. I could do this if any of the following things worked, each of which should IMO be possible 1. I could do it all with revPrintField using a Table field, putting the header stuff into the first few lines, IF I could suppress printing of the vGrid lines, which overprint the header. Because vGrid is overloaded (it flags that the field is a table AND draws the grid lines), and borderFill is also overloaded (controls the field border AND the grid lines BUT does not respond to width 0 for the grid lines!) this won't work. Ideally of course the display style of each cell ought to controllable as in a real spreadsheet, but I can wait for that (Rev version 3?). 2. I could do it with revPrintField if only it supported a header parameter a la revPrintText (why doesn't it?) 3. I could do it with revPrintText using html styling if only more mark-up tags were supported (tabs) 4. I could do it if multiple revPrintField and revPrintText could be used on a single page, ie they conformed to to an open printing/close printing protocol. Am I missing something? The only work-around I can think of is to use monospaced type for the column data. This is really ugly. $@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%? Neville Smythe Neville.Smythe at anu.edu.au Mathematical Sciences Institute Tel: 61-2-6125-2709 Australian National University Fax: 61-2-6125-4984 Canberra ACT 0200 AUSTRALIA Mob: 0414517719 From gizmotron at earthlink.net Sun Aug 31 20:45:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Aug 31 20:45:01 2003 Subject: How to I get clickItem? In-Reply-To: Message-ID: <941CA224-DC1D-11D7-AE61-000A95859272@earthlink.net> On Sunday, August 31, 2003, at 12:18 PM, Mark Brownell wrote: > array clean up script: > put 1 into itemArray2[1] > > repeat with xy = 1 to tElementNum > put itemArray[xy] into get1 > put itemArray[xy + 1] into get2 > put char get1 to (get2 - 1) of tZap into holdItemWithTags > put the htmlText of holdItemWithTags into zip > put the number of chars in zip into holdNumZip > put holdNumZip into itemArray2[xy + 1] > end repeat > > -- with the already created global itemArray2 > > -- put this in myField script: another oops: array clean up script: -- put 1 into itemArray2[1] ----- fixed this ------ -- make sure "" comes up first if you want to count char 1 in the field put 0 into holdNumZip ----- fixed this ------ repeat with xy = 1 to tElementNum put itemArray[xy] into get1 put itemArray[xy + 1] into get2 put char get1 to (get2 - 1) of tZap into holdItemWithTags put the htmlText of holdItemWithTags into zip put the number of chars in zip into zap put zap + holdNumZip into holdNumZip ----- fixed this ------ put holdNumZip into itemArray2[xy + 1] end repeat From themacguy at macosx.com Sun Aug 31 21:03:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Aug 31 21:03:00 2003 Subject: Fast method of setting textStyle Message-ID: <9D1F4D14-DC1F-11D7-844F-000A95763ABC@macosx.com> I have a field on every card of a stack. The text in that field is different on each card. Some words I want to have a textStyle of link. There is no programmatic method of doing this as the text in each card's field is so different. However, I found a method of doing this quickly (more quickly than using the menus). I know I can't be the first to discover this but it's so easy that I felt I should post it for others. Type the following into the message box: set the textStyle of the mouseChunk to link Don't press Enter or Return yet. With the cursor active in the msg box, move your mouse over the word (in the field) that needs to be a link, then press the Enter key. Keep clicking your mouse in the msg box, moving your mouse over the next word, and pressing Enter. Each time the word under the pointer will be transformed to a link The mouseChunk returns the char or chars that make up the word sitting under the mouse pointer and leaves off the spaces or punctuation surrounding the word. BTW - You can combine the textStyle params. In my case, I used: set the textStyle of the mouseChunk to link, bold Every day I am more impressed with how cool Rev is and how much power it gives me. Bwah-hah-hah-hah-hah! Barry -------------------------------------------------------- Barry Jay Levine "The Mac Guy" Macintosh Troubleshooting, System Engineering, Training, AppleShare/OSX Server Setup, System Upgrades and Enhancements, Custom Programming for Mac/Windows/Linux/Solaris On-Site service for K20, Business, Consumer Phone/VoiceMail: 915-581-1105 Fax: 915-581-8167 eMail: themacguy at macosx.com -------------------------------------------------------- From jacque at hyperactivesw.com Sun Aug 31 21:26:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Aug 31 21:26:00 2003 Subject: window decorations "system,empty" In-Reply-To: References: Message-ID: <3F52ACC6.8050803@hyperactivesw.com> On 8/31/03 6:13 PM, Alex Rice wrote: > I'm really using the system decoration for it's window Z-ordering, not > for the window decorations. How can I get a float-on-top window with no > decorations? Just curious if it's possible. set the raisepalettes to true set the decorations of stack "floater" to empty palette "floater" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at inspiredlogic.com Sun Aug 31 22:56:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Aug 31 22:56:00 2003 Subject: Background Color BleedThrough -- Fairly Easy Fix In-Reply-To: <955988BA-DC14-11D7-8ADA-000393C10758@all-auctions.com> Message-ID: <71C8BABA-DC2F-11D7-9B53-003065683ECC@inspiredlogic.com> On Sunday, August 31, 2003, at 05:38 PM, Rick Harrison wrote: > Thanks for the workaround. A border of 0 doesn't look as professional > though. > I sure wish they'd fix this one quick! You can put a rect graphic in and put it around the field. I believe it can be positioned to stand in perfectly for the field border, and yet not leave a mark. regards, Geoff Canyon gcanyon at inspiredlogic.com From cszasz at newwave.net Sun Aug 31 23:41:00 2003 From: cszasz at newwave.net (Charles Szasz) Date: Sun Aug 31 23:41:00 2003 Subject: numbers only field Message-ID: <84E6B48E-DC35-11D7-8F51-000393CCF5D8@newwave.net> I came across in Rev. 2.1 a recipe for a numbers only field but it only allows numerals up to nine. How can I include decimals, e.g. such as .65 and 10.5 as numbers? Charles From harrison at all-auctions.com Sun Aug 31 23:44:01 2003 From: harrison at all-auctions.com (Rick Harrison) Date: Sun Aug 31 23:44:01 2003 Subject: Background Color BleedThrough -- Fairly Easy Fix In-Reply-To: <71C8BABA-DC2F-11D7-9B53-003065683ECC@inspiredlogic.com> Message-ID: <01BA16B6-DC36-11D7-8C81-000393C10758@all-auctions.com> On Sunday, August 31, 2003, at 11:50 PM, Geoff Canyon wrote: > > On Sunday, August 31, 2003, at 05:38 PM, Rick Harrison wrote: > >> Thanks for the workaround. A border of 0 doesn't look as >> professional though. >> I sure wish they'd fix this one quick! > > You can put a rect graphic in and put it around the field. I believe > it can be positioned to stand in perfectly for the field border, and > yet not leave a mark. > > regards, > > Geoff Canyon Geoff, I thought of that one too. It's still a minor pain in the you know what. Thanks again, Rick Harrison