From jacque at hyperactivesw.com Mon Sep 1 00:03:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 1 00:03:01 2003 Subject: Background Color BleedThrough -- Fairly Easy Fix In-Reply-To: <71C8BABA-DC2F-11D7-9B53-003065683ECC@inspiredlogic.com> References: <71C8BABA-DC2F-11D7-9B53-003065683ECC@inspiredlogic.com> Message-ID: <3F52D192.4090009@hyperactivesw.com> On 8/31/03 10:50 PM, Geoff Canyon wrote: > 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. Good for a temporary work-around, but in the long run they need to fix it. On the bright side, I see the bug has been assigned and it is under review. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Mon Sep 1 00:12:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 1 00:12:00 2003 Subject: numbers only field In-Reply-To: <84E6B48E-DC35-11D7-8F51-000393CCF5D8@newwave.net> Message-ID: <20030901050609.48559.qmail@web11903.mail.yahoo.com> --- Charles Szasz wrote: > 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 > Hi Charles, Have a look at the following script I posted last year for this purpose : However, I wrote it before version 2 came along with drag-and-drop support so you'll have to add a dragDrop handler as well to cover all bases : -- on dragDrop put the text of me into sBeforePaste send "checkAfterPaste" to me in 5 milliseconds pass dragDrop end dragDrop -- 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 gizmotron at earthlink.net Mon Sep 1 00:43:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Sep 1 00:43:01 2003 Subject: How to I get clickItem? In-Reply-To: <941CA224-DC1D-11D7-AE61-000A95859272@earthlink.net> Message-ID: I got so tired of guessing at the code that I created a stack to show this. paste this into the message window and press return: go URL "http://www.gizmotron.org/itemTest.rev" 1. Start the browse tool 2. click step 1 3. click step 2 4. click step 3 5. Now click different paragraphs to see what item they belong to. I haven't solved the click on a blank spot problem with this either. All I did was escape the mouseUp if the char was empty. Mark From themacguy at macosx.com Mon Sep 1 01:11:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 1 01:11:01 2003 Subject: Encryption problem? Message-ID: <4D82957D-DC42-11D7-844F-000A95763ABC@macosx.com> I have a stack with a handler in a field's script as follows: on mouseDown put the clickChunk into whatWasClicked put the value of whatWasClicked into theWord if there is an image theWord then set the lockScreen to true put the loc of image theWord into myLoc -- for brevity later in this script copy image theWord to this stack put word 3 of it into myNewImageID -- that should be the ID# of the newly created image set the loc of image ID myNewImageID to myLoc show image ID myNewImageID set the lockScreen to false wait 1.25 seconds -- or do whatever delete image ID myNewImageID select empty end if end mouseDown It all works just fine until I encrypt it with a password at Distribution. I suspect that the name of the image is scrambled somehow as the image I'm copying never appears and the "wait 1.25 seconds" is not occurring. If I open that stack with the IDE, the problem persists. However, if I provide the password when I open a script in that stack, everything begins working until I close (& remove from memory) the stack. I do not have to change anything in the stack for it to begin working; just providing the password makes it work fine. My images are named "mail" or "letter" or "post office", etc.. All paths to the jpegs are properly referenced (myresources/mail.jpeg). I've used this technique (referring to a referenced image by its object name) before and within encrypted stacks. I don't understand what I may have changed to bring on this behavior. Any suggestions will be appreciated. Thanks, Barry From klaus at major-k.de Mon Sep 1 03:39:01 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 1 03:39:01 2003 Subject: numbers only field In-Reply-To: <84E6B48E-DC35-11D7-8F51-000393CCF5D8@newwave.net> Message-ID: Hi Charles > 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? Put this into the field script: on keydown lekey if lekey is in "0123456789." then pass keydown end if end keydown Hope that helps... > Charles Regards Klaus Major klaus at major-k.de www.major-k.de From dave at b-i-s.org Mon Sep 1 04:07:03 2003 From: dave at b-i-s.org (dave at b-i-s.org) Date: Mon Sep 1 04:07:03 2003 Subject: revNumberOfRecords ruturns -1 in ODBC In-Reply-To: <006d01c36df3$7f606490$9e26fea9@piran> Message-ID: <3F5316A8.18789.FFD780D9@localhost> Andre, Yes, I think you are correct. I used a quick workaround instead for a list field containing the records; put the number of lines of the field "Surveys" into NumSurveys This worked of, a bit of a fudge, but hey. Took me a while to work out as I'm new to Revolution and still thinking in "old money". Kind Regards, On 29 Aug 2003 at 8:05, Andre Rombauts wrote: > 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? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVLOLUTION at barncard.com Mon Sep 1 04:25:00 2003 From: stephenREVLOLUTION at barncard.com (Stephen Quinn Barncard) Date: Mon Sep 1 04:25:00 2003 Subject: HyperCard and Revolution stacks Message-ID: WHOA, dude, it's just his signature, not unlike many others on this list...such as yours!! 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 gpvisual at btconnect.com Mon Sep 1 05:06:00 2003 From: gpvisual at btconnect.com (gpvisual) Date: Mon Sep 1 05:06:00 2003 Subject: Are there no help sites? Message-ID: I have asked this question before but no-one replied. As I am fairly new to programming I need more help with using revolution than the manual provides. Has anyone made or know of a tutorial site for new revolution users? Martin Pilkington From jamesjrichards at lineone.net Mon Sep 1 05:47:12 2003 From: jamesjrichards at lineone.net (James Richards) Date: Mon Sep 1 05:47:12 2003 Subject: 2.1 beta doesn't open In-Reply-To: <200308262335.TAA10704@www.runrev.com> Message-ID: on 26/8/03 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 am reluctant to trouble the folks at RR about this and distract them from the task of fixing, so I wondered if anyone on the list could say how we know when a bug has been fixed. Do we just keep checking bugzilla? This is a very bad bug for me. I have RR 2.1 and can't run it at all. I have a 30 day trial licence ticking away (or at least as far as I know it is ticking away) and now an unusable Studio licence as well. Can they be used on earlier versions of Rev which can be opened, or will they only work on this latest release. Sorry if this is a stupid question, but on a 56k modem, downloading versions of Rev is not trivial. Nor are OS upgrades at nearly twice the cost of my Studio licence. Regards James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 From wouter.abraham at pi.be Mon Sep 1 05:52:00 2003 From: wouter.abraham at pi.be (wouter) Date: Mon Sep 1 05:52:00 2003 Subject: The Directory Walker revisited In-Reply-To: <200309010347.XAA24508@www.runrev.com> Message-ID: <5CA01A3A-DC69-11D7-B5E7-000502990960@pi.be> Hi, Upon examining the nice (recursive) directory walking script: file007 at http://www.sonsothunder.com/index2.htm?http://www.sonsothunder.com/ devres/revolution/revolution.htm But I watched it bump into the recursion-limit wall. Following is a non recursive version of this script. Although it is non recursive be careful not to unleash it (without filters) on for example the complete Mac OS X volume or you will be tied up for quite a while seen the amount of files and directories there. First is a bare bones script. Next some additions. on mouseUp put "" into fld "Result" answer folder "Pick a folder you want to walk:" if it = "" then exit mouseUp put it & "/" into tMainFolder put the directory into tOrigDir directoryWalk tMainFolder set the directory to tOrigDir end mouseUp on directoryWalk tDir set the itemDel to "/" put "" into tDirlist repeat if tDir = empty then exit repeat set the directory to tDir put tDir & cr after tHierList if the hilite of btn "theFiles" then put the files into temp repeat for each line x in temp put tDir & x & cr after tHierList end repeat end if put line 2 to -1 of the folders into tTempDirList repeat for each line x in tTempDirList put tDir & x & "/" & cr after tDirList end repeat put line 1 of tDirList into tDir delete line 1 of tDirlist put "" into tTempDirList end repeat sort tHierlist put tHierlist into fld "result" end directoryWalk Now for some condiment. Adapt to your own taste and circumstances: on mouseUp put "" into fld "Result" answer folder "Pick a folder you want to walk:" if it = "" then exit mouseUp put it & "/" into tMainFolder put the directory into tOrigDir directoryWalk tMainFolder set the directory to tOrigDir end mouseUp on directoryWalk tDir set the itemDel to "/" put "" into tDirlist #### to constrain the examination depth of directories if needed get the label of btn "depth" ### option styled btn with none,1,2.....xx as content if it is not a number or it = empty then put empty into tMaxDepth else put it + the number of items in tDir into tMaxDepth repeat if tDir = empty then exit repeat set the directory to tDir put tDir & cr after tHierList #### directories with or without the files if the hilite of btn "theFiles" then put the files into temp repeat for each line x in temp put tDir & x & cr after tHierList end repeat end if put line 2 to -1 of the folders into tTempDirList repeat for each line x in tTempDirList put tDir & x & "/" & cr after tDirList end repeat put line 1 of tDirList into tDir #### check part for constraining the depth of directories to be examined if tMaxDepth <> empty and the number of items in tDir = tMaxDepth then exit repeat delete line 1 of tDirlist put "" into tTempDirList end repeat sort tHierlist if the hilite of btn "ShowHierarchy" then ShowHierarchy tHierlist else put tHierlist into fld "result" end directoryWalk on ShowHierarchy @x if the hilite of btn "theTabs" then ##### tabs or spaces put tab into tIndentContainer put tab into tExtraIndent put 1 into tFactor else put space into tIndentContainer put " " into tExtraIndent put 3 into tFactor end if #### make a string of 128 chars repeat 7 put tIndentContainer after tIndentContainer end repeat #### choose the char you like as indicator if the hilite of btn "dirMarker" then put "?" into tdirMarker else put "" into tdirMarker set the itemdelimiter to "/" put the number of items in line 1 of x into tDepth put tDepth into tPrevDepth repeat for each line i in x get the number of items in i if last char of i = "/" or it <= tPrevDepth then put it into tPrevDepth put "" into tIndent put char 1 to (( it - tDepth) * tFactor) of tIndentContainer into tIndent if last char of i = "/" then put tIndent & item -1 of i && tdirMarker & cr after tList else put tIndent & item -1 of i & cr after tList else put tIndent& tExtraIndent & item -1 of i & cr after tList end repeat put tList into fld "result" #### if tab delimited it can be used in menu buttons if tExtraIndent = tab then put tList into btn "theMenu" end ShowHierarchy Have a nice day, WA From psahores at easynet.fr Mon Sep 1 06:38:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Mon Sep 1 06:38:00 2003 Subject: Rev as CGI - regular lackings... Message-ID: <1062415892.4678.55.camel@www.kmax.ici> Hi List, Scott, In learning how to setup a Rev's sockets listener CGI engine, i get reccurent errors (one for each six calls to the CGI engine). The intereting point is that my test client-side script did'nt get the expected answer from the CGI with a "swiss made" regularity ??! This script send in a repeat loop a sequence of 20 "POST" method calls to the CGI. For five to six times, all works fine : the client-side script get its answer from the CGI script but, the next forcoming time, he only get 19 of the 20 expected answers... Each call lacking in the sequence of 20 calls is : sequence 6 : the call number 2 sequence 12 : the call number 4 sequence 18 : the call number 6 sequence 24 : the call number 8 sequence 30 : the call number 10 sequence 36 : the call number 12 sequence 42 : the call number 14 sequence 48 : the call number 16 sequence 54 : the call number 18 sequence 60 : the call number 20 and then, again sequence 66 : the call number 2 sequence 72 : the call number 4 ... and soo on... Here is the client side script, running from inside an active stack : > on mouseUp > if the shiftkey is down then edit script of me > else testconn > end mouseUp > > on testconn > put the seconds into time1 > set cursor to watch > set the thumbposition of sb "jauge" to "0" > put "10" into aa > put "ee946=941&TTF=azertyytreza" into ttest > repeat with ltr = 1 to 20 > if the seconds - time1 > 10 then exit repeat > set httpheaders to "Content-type: application/x-www-form-urlencoded" & return > # post ttest to url (fld "csrecents") > post ttest to url ("http://localhost/cgi-bin/wmc.rev") > if it contains "ee946=941&TTF=azertyytreza" then add 1 to qconnect > else put ltr & " " after tconnect > set the thumbposition of sb "jauge" to aa > add 10 to aa > end repeat > if qconnect = 20 then > answer "La connexion avec le serveur distant est OK" & return & \ > "(succ?s des tests de" && (qconnect div 20)*100 & "% en" && the seconds - time1 && "secondes)." > else if qconnect > "0" then > set the thumbposition of sb "jauge" to "0" > answer "La connexion avec le serveur distant est instable." & return & return & \ > "V?rifiez votre configuration d'acc?s ? l'internet" & return & "avant de poursuivre." & return & return & \ > "(succ?s des tests de" && qconnect & "/20 (" & char 1 to -2 of tconnect & ")" && "en" && the seconds - time1 && "secondes)" > else if qconnect = "" then > set the thumbposition of sb "jauge" to "0" > answer "La connexion avec le serveur distant est rompue." & return & return & \ > "V?rifiez votre configuration d'acc?s ? l'internet" & return & "avant de poursuivre." & return & return & \ > "(succ?s des tests de" && (qconnect div 20)*100 & "% en" && the seconds - time1 && "secondes)" > end if > end testconn and here the cgi script : > #!mc > > on startup > > start using stack "liburl" -- idem with/without starting it > > if $REQUEST_METHOD is "POST" then > > repeat while the length of buffer < $CONTENT_LENGTH > read from stdin until empty > put it after buffer > end repeat > > else > > put "ERROR: File Not Found" & \ > "

File Not Found

" & \ > "

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

" & \ > "" into buffer > > end if > > put "Content-Type: text/html" & return & "Content-Length:" && \ > the length of buffer & return & return & buffer > > end startup Both the client and cgi are running under the MC 2.5 issue of the engine under Suse-Linux 8.2 Pro. Any idea about solving this (get always 20 replies for each sequence of 20 calls) would be really helpfull. Thanks to All, Best 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 lists at mangomultimedia.com Mon Sep 1 06:51:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Sep 1 06:51:00 2003 Subject: OS X: Can launch app but not file In-Reply-To: Message-ID: On 8/31/03 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? :-( If you want to be able to type scripts in and have them executed you could create a custom property to hold the applescript to run. Create a custom prop called uAppleScript in the stack. Paste the following into it: display dialog "hi" Create a button with the following script: on mouseUp do the uAppleScript of this stack as applescript end mouseUp You should see a dialog box with 'Hi' displayed in it. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From kaveh at deletethisbit.focalimage.com Mon Sep 1 07:11:00 2003 From: kaveh at deletethisbit.focalimage.com (Kaveh Bazargan) Date: Mon Sep 1 07:11:00 2003 Subject: OS X: Can launch app but not file In-Reply-To: References: Message-ID: At 5:45 am -0600 1/9/03, Trevor DeVore wrote: [...] >If you want to be able to type scripts in and have them executed you could >create a custom property to hold the applescript to run. > >Create a custom prop called uAppleScript in the stack. Paste the >following into it: > >display dialog "hi" > >Create a button with the following script: > >on mouseUp > do the uAppleScript of this stack as applescript >end mouseUp > >You should see a dialog box with 'Hi' displayed in it. Wow. I hadn't got to custom properties yet. But that is excellent. I just thought I had been very clever, and put a script in a field, and then said do field "script" as applescript but this one's better! Thanks. -- Kaveh From wmb at internettrainer.com Mon Sep 1 08:06:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Sep 1 08:06:01 2003 Subject: Background Color BleedThrough -- Fairly Easy Fix In-Reply-To: <3F52D192.4090009@hyperactivesw.com> Message-ID: <4AE6EE78-DC78-11D7-92F1-003065430226@internettrainer.com> On Montag, Sep 1, 2003, at 06:56 Europe/Vienna, J. Landman Gay wrote: >> 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. > > Good for a temporary work-around, but in the long run they need to fix > it. On the bright side, I see the bug has been assigned and it is > under review. Thanks Jaquelin, you are completly right. It must be fixed urgently. IMnHO Why this is not a real workaround Geoff... 1) I have hundreds of fields, which must move on click with effect. A work around in this way is impossible or would be worse than a chinese torture. So I had to find another work around in the past. As I said the bug is very old and I have reportet it before bugzilla about 5 or 6 times. And I remmber others, which have reported it too... Why it is not in bugzilla...? I would be really interested why this was not fixed in the last 1,5 years..? My workaround was: change all (bigger) text-controls to the size that you dont need scrolling... (for some of them it was not possible, because the text content are to big, so the ugly lines are still there...) Not an elegant english style,:) A similar problem was that with the double-arrow buttons. I could not move/change any controls with the nudge buttons. Pls RR team imagine that once.!? Not moving a single control, a group of controls, no change in size of a single control, etc... Now I know, thanks to Barry, that the reason is Cocktails double-arrow buttons. But I had this Cocktail Effekt *only* in rev. So I thought thats a rev problem... Therefore finally I think: 1) anybody from RR should still read the list to see what problems are discussed here and actualize/check the db. RR should also listen a bit more to these non scripters (like me). Not all of them are idiots, and they have to pay the same money like the others... 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 Revinfo1155 at aol.com Mon Sep 1 08:06:26 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Mon Sep 1 08:06:26 2003 Subject: Are there no help sites? Message-ID: <16e.2340babb.2c849cb9@aol.com> One place to start is www.revjournal.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From richmond at mail.maclaunch.com Mon Sep 1 08:24:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon Sep 1 08:24:01 2003 Subject: Wilhelm Sanke's Drawers; IMPRESSIVE Message-ID: Wilhelm Sanke has developed DRAWERS without the RR2.1 'drawer' command; but announced this only on the Metacard use-list..... ftp.hrz.uni-kassel.de/pub/uni-kassel/Zentraler.Medienbereich/Sanke/Metacard/MetacardPractice/ this might be a justification for merging the RR and MC use-lists.... 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 jspencer78 at charter.net Mon Sep 1 09:05:01 2003 From: jspencer78 at charter.net (James Spencer) Date: Mon Sep 1 09:05:01 2003 Subject: Newby questions Message-ID: <72F5B839-DC84-11D7-9D02-003065C49F86@charter.net> 1) Is there any convenient way to search the archives of this list other than downloading the entire mess and doing a text search? 2) What I was really looking for: is Menu Builder a one-time only tool. I.e. can you use Menu Builder to edit a menu bar that you have previously created or once you quit Menu Builder do you have to work through the inspector? I can't seem to find a way to get Menu Builder to recognize menus that I've already put in my stack. Spence James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From janschenkel at yahoo.com Mon Sep 1 09:15:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 1 09:15:01 2003 Subject: Newby questions In-Reply-To: <72F5B839-DC84-11D7-9D02-003065C49F86@charter.net> Message-ID: <20030901140920.87223.qmail@web11907.mail.yahoo.com> --- James Spencer wrote: > 1) Is there any convenient way to search the > archives of this list > other than downloading the entire mess and doing a > text search? > > 2) What I was really looking for: is Menu Builder a > one-time only tool. > I.e. can you use Menu Builder to edit a menu bar > that you have > previously created or once you quit Menu Builder do > you have to work > through the inspector? I can't seem to find a way > to get Menu Builder > to recognize menus that I've already put in my > stack. > > Spence > Hi Spence, Welcome to the Revolution, good to see new people joining every day. To ansdwer your questions : 1) Yes, and you have two options : - either via an advanced Google search - or via this search page, courtesy of Mindlube 2) You should be able to edit previouslyh created menubars in your stack : while in the Menu Builder, click the "Edit..." button, and select one you made earlier in the same (or another) stack. 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 Mon Sep 1 09:35:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Sep 1 09:35:01 2003 Subject: Bravo the OSX textborder-bug is fixed! In-Reply-To: Message-ID: Hi I cant believe it: The good old OSX textborder-bug is fixed in 2.1!!! Heureka!!! 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 jemirandav at hotmail.com Mon Sep 1 09:38:00 2003 From: jemirandav at hotmail.com (Javier Miranda V.) Date: Mon Sep 1 09:38:00 2003 Subject: Acrobat Reader is present? Message-ID: Ken, and other people interested in the topic: The solution I found to see if Acrobat is in the user machine use the "SpecialFoderPath" functionalong withone of the Microsoft Windows CSDIL numbers. The solution works in a CP box, but I'm affraid it may not work with all the Windows installations , I would have to check. In the other hand the solution Ken provides query the registry directly and maybe is a better solution. Thanks Ken! Saludos, Javier From jspencer78 at charter.net Mon Sep 1 09:58:01 2003 From: jspencer78 at charter.net (James Spencer) Date: Mon Sep 1 09:58:01 2003 Subject: Newby questions In-Reply-To: <20030901140920.87223.qmail@web11907.mail.yahoo.com> Message-ID: On Monday, September 1, 2003, at 09:09 AM, Jan Schenkel wrote: > 1) Yes, and you have two options : > - either via an advanced Google search > > - or via this search page, courtesy of Mindlube > > > 2) You should be able to edit previouslyh created > menubars in your stack : while in the Menu Builder, > click the "Edit..." button, and select one you made > earlier in the same (or another) stack. > > Hope this helped, Very much; thank you! I have no idea why I didn't figure out the menu editing question but that certainly does work. (Duh!!!) Spence James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From ASGolub at dkhglaw.com Mon Sep 1 10:19:00 2003 From: ASGolub at dkhglaw.com (Alan Golub) Date: Mon Sep 1 10:19:00 2003 Subject: Are there no help sites? In-Reply-To: Message-ID: Martin -- We're just getting started, but the revSchool tutorials at www.revjournal.com are designed to teach programming from the ground up using Revolution. The site also includes articles about, and links to, items of interest to Revolution users of all levels. You might explore some of the links on the revJournal home page to find example stacks, tips, and tricks. I also recommend that you work through the six tutorials that come with Revolution -- they provide an excellent overview. To get them, open the documentation window (Help->Documentation, or click the Documentation icon on the main toolbar), and click Tutorials under the Learning Revolution heading. Dan Shafer is also working on a 3-volume e-book about Revolution, the first volume of which is scheduled to launch within the next few weeks. You can read excerpts that have been posted at the revJournal site. Perhaps the best advice I can give is to think of an app you want to build, then go to it. When you get stuck, ask for help on the user list. The folks here are a friendly bunch, willing and able to provide helpful responses to just about any question you have. Best of luck! Alan S. Golub Publisher, revJournal On Monday, September 1, 2003, at 06:00 AM, gpvisual wrote: > I have asked this question before but no-one replied. > As I am fairly new to programming I need more help with using > revolution > than the manual provides. > Has anyone made or know of a tutorial site for new revolution users? > > Martin Pilkington > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at mindlube.com Mon Sep 1 11:02:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 1 11:02:00 2003 Subject: The Directory Walker revisited In-Reply-To: <5CA01A3A-DC69-11D7-B5E7-000502990960@pi.be> Message-ID: On Monday, September 1, 2003, at 04:45 AM, wouter wrote: > But I watched it bump into the recursion-limit wall. > Following is a non recursive version of this script. I thought we could set the recursion limit in Rev 2.x? 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 Mon Sep 1 11:23:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Mon Sep 1 11:23:00 2003 Subject: Are there no help sites? Message-ID: Martin Pilkington wrote: > As I am fairly new to programming I need more help with using > revolution > than the manual provides. > Has anyone made or know of a tutorial site for new revolution users? > I presume you've gone through the online tutorials. If not, do so. They're pretty darned good. You can particularly learn a lot by going through and then analyzing the Independent Study tutorial. There are quite a few resources available. Here are a few. Alan Golub's ezine, RevJournal (http://www.revjournal.com) has an ongoing RevSchool series of tutorials that are quite good. Chipp Walters has a great meta-resource listing other resources at http://www.fourthworld.com/rev/ I'm building a Revolution Pros site that will be unveiled very soon now, along with the first of three volumes of my eBook, "Programming at the Speed of Thought." The books will tie to the Web site where discussions, examples, shortened tutorials on specific topics extracted from the book and other goodies will be available. Send private email to dan at shafermedia.com with the subject line "Let Me Know When" and I'll...er...let you know when. There's not a huge amount of stuff out yet that's Rev-specific but there is a gathering of momentum. Meanwhile, a lot of what exists for HyperCard and HyperTalk, including the old books by me, Danny Goodman, Jeanne DeVoto (who runs docs for Rev) and others have been suggested by some people to be useful in the early going. Mostly, just ask questions here! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From klaus at major-k.de Mon Sep 1 11:32:01 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 1 11:32:01 2003 Subject: recursion limit In-Reply-To: Message-ID: Hi Alex, > On Monday, September 1, 2003, at 04:45 AM, wouter wrote: > >> But I watched it bump into the recursion-limit wall. >> Following is a non recursive version of this script. > > I thought we could set the recursion limit in Rev 2.x? Sure, but that values represents bytes...? Could you please give a short example on how ordinary scripters like moi can calculate the necessary value? ;-) I admit that i have NO idea how and what can be calculated... > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco Regards Klaus Major klaus at major-k.de www.major-k.de "watch out where the huskies go and don't you eat that yellow snow..." "Nanook rubs it" F.Z. So much for "those pithy quotations that some add to brighten our days" Thanks, Mark :-D From jacque at hyperactivesw.com Mon Sep 1 11:41:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 1 11:41:00 2003 Subject: Are there no help sites? In-Reply-To: References: Message-ID: <3F537529.8070401@hyperactivesw.com> On 9/1/03 5:00 AM, gpvisual wrote: > I have asked this question before but no-one replied. > As I am fairly new to programming I need more help with using revolution > than the manual provides. > Has anyone made or know of a tutorial site for new revolution users? I have a tutorial that isn't really a beginner's site, but it does explain a few concepts that are unique to Revolution. The tutorial is focused toward experienced HyperCard users who want to port their stacks to Revolution, so you probably will want to check out other places first. After you've studied those, you might find something of interest here too: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 1 11:43:02 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 1 11:43:02 2003 Subject: 2.1 beta doesn't open In-Reply-To: References: Message-ID: <3F5375B4.2050803@hyperactivesw.com> On 9/1/03 5:38 AM, James Richards wrote: > I am reluctant to trouble the folks at RR about this and distract them from > the task of fixing, so I wondered if anyone on the list could say how we > know when a bug has been fixed. Do we just keep checking bugzilla? Yes, pretty much. > This is a > very bad bug for me. I have RR 2.1 and can't run it at all. I have a 30 day > trial licence ticking away (or at least as far as I know it is ticking away) > and now an unusable Studio licence as well. This is something you really should "bother" the RR people about. Heather is very helpful and willing to work with you. You have a right to a working license, and her job is to make sure you get one. So, bother her. Don't be shy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pixelbird at interisland.net Mon Sep 1 11:54:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Sep 1 11:54:00 2003 Subject: Are there no help sites? In-Reply-To: <200309011112.HAA02065@www.runrev.com> Message-ID: Hi Martin, > Date: Mon, 01 Sep 2003 11:00:42 +0100 > Subject: Are there no help sites? > From: gpvisual > > I have asked this question before but no-one replied. > As I am fairly new to programming I need more help with using revolution > than the manual provides. > Has anyone made or know of a tutorial site for new revolution users? ---------- Ask and ye shall receive...the Rev online magazine: Have fun. There is an online school there...just click on "School" in the features bar below the header. Other than that, don't be afraid to just ask anything here. That's what this list is for. Ken N. From alex at mindlube.com Mon Sep 1 12:10:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 1 12:10:00 2003 Subject: recursion limit In-Reply-To: Message-ID: <4DBBC61C-DC9E-11D7-9251-000393529642@mindlube.com> On Monday, September 1, 2003, at 10:26 AM, Klaus Major wrote: >> limit in Rev 2.x? > > Sure, but that values represents bytes...? > > Could you please give a short example on how ordinary scripters like > moi > can calculate the necessary value? ;-) > > I admit that i have NO idea how and what can be calculated... After reading the Transcript Dictionary entry for the recursionLimit, it seems to be saying it's really not possible to be calculated ahead of time- because it depends on machine architecture and the number of parameters of the function. If you bump into the limit, increase it. Experimentation required. I think having the limit in bytes is actually better than just an integer of levels of recursion. With the setting as bytes it will be more possible to adjust it to the amount of memory to use for example. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gcanyon at inspiredlogic.com Mon Sep 1 12:21:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Sep 1 12:21:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? Message-ID: How many people use Single-Handler Mode in the Script Editor? How many people ever used it (maybe when getting started? How many people think it is useful for getting started with Revolution? regards, Geoff Canyon gcanyon at inspiredlogic.com From pixelbird at interisland.net Mon Sep 1 12:25:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Sep 1 12:25:01 2003 Subject: Newby questions In-Reply-To: <200309011601.MAA11050@www.runrev.com> Message-ID: Hi James, > Date: Mon, 1 Sep 2003 08:59:05 -0500 > Subject: Newby questions > From: James Spencer > > 1) Is there any convenient way to search the archives of this list > other than downloading the entire mess and doing a text search? ---------- If you're using the digest option, look in the top section before the list of emails. You should see these lines: and search them using this link: HTH, Ken N. From shaosean at unitz.ca Mon Sep 1 12:37:00 2003 From: shaosean at unitz.ca (Shao Sean) Date: Mon Sep 1 12:37:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: Message-ID: <000001c370ae$cc546810$fe42fea9@ciceronvv6jwd4> i switch between single and multiple handler views pretty much all the time.. there are a few things i'd like to change about the single-handler view, but on the whole it's not bad.. never used it when starting with rrev as i didn't even know it was there.. -Sean From bvlahos at mac.com Mon Sep 1 12:54:00 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Mon Sep 1 12:54:00 2003 Subject: How to I get clickItem? In-Reply-To: <3F525BA7.6030001@hyperactivesw.com> Message-ID: <7FF4029B-DCA4-11D7-9D17-0003936A2C42@mac.com> Perfect. That is exactly what I wanted. And it is very simple too. Thanks to the others for their suggestions too. Bill Vlahos On Sunday, August 31, 2003, at 01:33 PM, J. Landman Gay 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 From dsc at swcp.com Mon Sep 1 12:56:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 1 12:56:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: Message-ID: Huh? What's that? -- Dar ;-) From alex at mindlube.com Mon Sep 1 13:03:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 1 13:03:00 2003 Subject: command-line/CGI Revolution engine questions Message-ID: I just downloaded the 2.0 revolution engine for Darwin (OS X) from ftp.runrev.com. 1) It requires installation of nonstandard shared libraries X11 and libdl. The darwin engine "mc" available from metacard.com does not have this problem. Why the difference? I already had X11 installed and compiling libdl right now. I am just surprised I have to compile something to get the revolution engine to work. 2) I tried the following as an experiment. sudo cp revolution /usr/local/bin/mc create mainstack in Rev IDE, save as filename "fu.rev" write a handler in the stack on startup put "hello world" put linefeed end startup # chmod +x fu.rev # ./fu.rev external startup mc: Can't open display mc: Can't load stack or script ./fu.rev Anyone know why the shell script front end that appears in each MC stack does not work on OS X? Does it work on Linux? Maybe I am not understanding the intent of this mini shell script that appears at the beginning of every Rev stack. Here it is. #!/bin/sh # MetaCard 2.4 stack # The following is not ASCII text, # so now would be a good time to q out of more^L exec mc $0 "$@" This, however, does work ok: #!/usr/local/bin/mc on startup put "hello world" put linefeed end startup Now I understand why the previous poster (I'm bad with names) was doing like this #!/usr/local/bin/mc start using stack "some.rev" 3) The 2.1 command-line/CGI engines are not available? 4) Is there an Emacs mode for metacard and/or xtalk languages languages? My version of emacs thinks a .mc script is for M4 macro mode :-/ Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From tkuypers at pandora.be Mon Sep 1 13:36:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Mon Sep 1 13:36:01 2003 Subject: Applescript, slightly off-topic... Message-ID: Could anyone tell me how to search for 3 returns in a textfile and replace them by 2 returns... I am using Revolution, to do some automated layout in Adobe InDesign, but can?t seem to find how to use special characters in a search and replace string using AppleScript... When using the following script, InDesign "unexpectedly quits"... tell application "InDesign 2.0.2" set find preferences to nothing set change preferences to nothing tell active document set vSearch to return & return & return set vReplace to return & return search for vSearch in active document replacing with vReplace end tell end tell Any other search & replace works fine, but how do I get rid of those returns? Any help is welcome, I?m afraid the guys on the Adobe list are sleeping, no reply there at all :-(( Many thanks in advance, Ton Kuypers From ambassador at fourthworld.com Mon Sep 1 13:42:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 1 13:42:00 2003 Subject: Wilhelm Sanke's Drawers; IMPRESSIVE In-Reply-To: Message-ID: Mathewson wrote: > Wilhelm Sanke has developed DRAWERS without the RR2.1 > 'drawer' command; but announced this only on the Metacard > use-list..... > > ftp.hrz.uni-kassel.de/pub/uni-kassel/Zentraler.Medienbereich/Sanke/Metacard/Me > tacardPractice/ > > this might be a justification for merging the RR and MC > use-lists.... Wilhelm's post notwithstanding, there is already a natural migration in progress toward using the Rev list for general discussion while the MC list becomes more and more just a place to discuss the IDE and other MC-specific issues. Since the MC list is needed as a venue for discussing the open source MC IDE development, merging them would be problematic for both. -- 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 Sep 1 13:44:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 1 13:44:00 2003 Subject: Newby questions In-Reply-To: <72F5B839-DC84-11D7-9D02-003065C49F86@charter.net> Message-ID: James Spencer wrote: > 1) Is there any convenient way to search the archives of this list > other than downloading the entire mess and doing a text search? There's a Google trick that few can recall readily (myself included), so a search form is available at my RunRev page to do that for you: -- 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 Sep 1 13:48:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 1 13:48:01 2003 Subject: Are there no help sites? In-Reply-To: <3F537529.8070401@hyperactivesw.com> Message-ID: On 9/1/03 5:00 AM, gpvisual wrote: > I have asked this question before but no-one replied. > As I am fairly new to programming I need more help with using revolution > than the manual provides. > Has anyone made or know of a tutorial site for new revolution users? You have access to dozens of examples and tools in RevNet, included with your RunRev installation. Just select "Go_RevNet" from the "Development->Plugins" menu.... -- 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 Sep 1 13:50:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 1 13:50:01 2003 Subject: Are there no help sites? In-Reply-To: Message-ID: Dan Shafer wrote: > Chipp Walters has a great meta-resource listing other resources at > http://www.fourthworld.com/rev/ Actually that one's mine. :) The contents on that page are also available in RevNet. Chipp's excellent collection is available 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 RunRev at colegroup.com Mon Sep 1 13:59:00 2003 From: RunRev at colegroup.com (David M. Cole) Date: Mon Sep 1 13:59:00 2003 Subject: Applescript, slightly off-topic... In-Reply-To: References: Message-ID: try this ... i'm pretty sure it will work. >tell application "InDesign 2.0.2" > set find preferences to nothing > set change preferences to nothing > tell active document > set vSearch to "^p^p^p" > set vReplace to "^p^p" > search for vSearch in active document replacing with vReplace > end tell >end tell > -- *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ David M. Cole dmc at colegroup.com Editor & Publisher: The Cole Papers; NEWSINC. V: (650) 557-9595 Consultant: The Cole Group F: (650) 557-9696 *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ From dalesvp at qwest.net Mon Sep 1 14:11:00 2003 From: dalesvp at qwest.net (Dale Pond) Date: Mon Sep 1 14:11:00 2003 Subject: Applescript, slightly off-topic... References: Message-ID: <3F5399B6.7040403@qwest.net> Don't know about AppleScript but here is a Rev script that works: -- find and delete eol returns repeat get offset(RETURN, cd fld Text1) if it = 0 then exit repeat put " " into char it of cd fld Text1 end repeat tkuypers at pandora.be wrote: >Could anyone tell me how to search for 3 returns in a textfile and replace >them by 2 returns... > >I am using Revolution, to do some automated layout in Adobe InDesign, but >can?t seem to find how to use special characters in a search and replace >string using AppleScript... > >When using the following script, InDesign "unexpectedly quits"... > >tell application "InDesign 2.0.2" > set find preferences to nothing > set change preferences to nothing > tell active document > set vSearch to return & return & return > set vReplace to return & return > search for vSearch in active document replacing with vReplace > end tell >end tell > >Any other search & replace works fine, but how do I get rid of those >returns? > >Any help is welcome, I?m afraid the guys on the Adobe list are sleeping, no >reply there at all :-(( > >Many thanks in advance, > >Ton Kuypers > > > -- 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 tkuypers at pandora.be Mon Sep 1 14:15:00 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Mon Sep 1 14:15:00 2003 Subject: Applescript, slightly off-topic... In-Reply-To: Message-ID: AAAARGHHHH I was so afraid someone would come up with this... It crashes InDesign :-(( Ton Kuypers > From: "David M. Cole" > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 29 Aug 2003 09:52:53 -0700 > To: use-revolution at lists.runrev.com > Subject: Re: Applescript, slightly off-topic... > > try this ... i'm pretty sure it will work. > >> tell application "InDesign 2.0.2" >> set find preferences to nothing >> set change preferences to nothing >> tell active document >> set vSearch to "^p^p^p" >> set vReplace to "^p^p" >> search for vSearch in active document replacing with vReplace >> end tell >> end tell >> > > > -- > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > David M. Cole dmc at colegroup.com > Editor & Publisher: The Cole Papers; NEWSINC. V: (650) 557-9595 > Consultant: The Cole Group F: (650) 557-9696 > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From steve at nexpath.com Mon Sep 1 14:19:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Mon Sep 1 14:19:00 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: References: Message-ID: <3F539A66.1040902@nexpath.com> Alex Rice wrote: > # chmod +x fu.rev > # ./fu.rev > > external startup > mc: Can't open display > mc: Can't load stack or script ./fu.rev I've never tried it on linux. Check "echo $DISPLAY" and see if the display is set. It can usually be solved by: # export DISPLAY=":0.0" The shell may not like this, so you can also use: # DISPLAY=":0.0"; export DISPLAY The full form is DISPLAY=":0.0" but it will default to the local system if the system name is left out. Nothing will work after the error about not being able to open the display. (This is the way it is done on Linux, I assume OS X is running X-Windows but maybe not!). -Steve From tkuypers at pandora.be Mon Sep 1 14:22:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Mon Sep 1 14:22:01 2003 Subject: Applescript, slightly off-topic... In-Reply-To: Message-ID: It is the replace part that crashes InDesign... When replacing with "???" it works fine, when using the paragraph code it goes wrong... I now will start working on getting the text into InDesign and do the search and replace in there... Hmmmm... Thank you Adobe :-(( > From: "David M. Cole" > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 29 Aug 2003 09:52:53 -0700 > To: use-revolution at lists.runrev.com > Subject: Re: Applescript, slightly off-topic... > > try this ... i'm pretty sure it will work. > >> tell application "InDesign 2.0.2" >> set find preferences to nothing >> set change preferences to nothing >> tell active document >> set vSearch to "^p^p^p" >> set vReplace to "^p^p" >> search for vSearch in active document replacing with vReplace >> end tell >> end tell >> > > > -- > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > David M. Cole dmc at colegroup.com > Editor & Publisher: The Cole Papers; NEWSINC. V: (650) 557-9595 > Consultant: The Cole Group F: (650) 557-9696 > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dsc at swcp.com Mon Sep 1 14:24:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 1 14:24:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: Message-ID: <053D478D-DCB1-11D7-A6FC-000A9567A3E6@swcp.com> On Monday, September 1, 2003, at 11:56 AM, Alex Rice wrote: > This, however, does work ok: > > #!/usr/local/bin/mc > on startup > put "hello world" > put linefeed > end startup > > Now I understand why the previous poster (I'm bad with names) was > doing like this > > #!/usr/local/bin/mc > start using stack "some.rev" That is the direction I would explore. I have noticed that 'send' does work. The engine does not quit until there is no handler running and there are no messages in pending messages. This could be handy for those things that cannot be done in startup. And for allowing library messages to execute. I would expect 'open' to have trouble, but I have not run the experiment. Also on my list of experiments is 'start using' a stack with an external. The above example is outside a script. Does that really work? I think Bill Vlahos talked many months ago about the problems with using a Revolution stack as a deamon; perhaps this would mitigate those problems. > 3) The 2.1 command-line/CGI engines are not available? Perhaps these are under policy review. There was also a question earlier about unix engines which I assume double as command-line/CGI engines. I hope RunRev does not become too concerned about these. Dar Scott From wmb at internettrainer.com Mon Sep 1 14:25:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Sep 1 14:25:01 2003 Subject: what kind of new game is that in 2.1? In-Reply-To: Message-ID: On Montag, Sep 1, 2003, at 16:31 Europe/Vienna, Javier Miranda V. wrote: Hi list, OSX 10.2.6 G4 > 1 Gig Ram starting 2.1 the flash screen hangs up with on loading paterns behind the flash screen the rev errorDisplay is flashing like crazy about 6-7 times per second.. and the old mac black and whit time disk is running like crazy too helped only: force quit... if this is not a new game, than it must be a starting problem, is`n it? (the old 2.0.1 starts correct) I do not know whats that, but ll try to install now rev 2.1 again, because I have to work "sometimes"... 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 clearvisiontech.com Mon Sep 1 14:35:01 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Sep 1 14:35:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: <200309011823.OAA17863@www.runrev.com> Message-ID: I do not use it and never thought it was a valuable feature. -Dan From themacguy at macosx.com Mon Sep 1 14:45:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 1 14:45:00 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: <200309011112.HAA02094@www.runrev.com> Message-ID: <0714FF0F-DCB4-11D7-A333-000A95763ABC@macosx.com> Turns out my problem is the encryption of the stack. I was referring to the names of image objects which, of course, are encrypted with you set the password property to anything other than empty. The encryption yields a host of problems. I was copying an image (already in the stack) to the stack. Nope; can't do this as the stack has become non-modifiable. All of my code works fine as long as I don't have a password set -or- set the passkey when I open the stack. All I want to do is protect my code from view if someone tries to examine my stacks with Rev or with TextEdit. How can I do this? Obviously, this is not the application but a secondary stack (not sub-) whose data gets altered and saved during runtime. I can't ask the user to provide the password as I want to keep it a secret. Suggestions? Thanks, 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 cszasz at newwave.net Mon Sep 1 14:48:01 2003 From: cszasz at newwave.net (Charles Szasz) Date: Mon Sep 1 14:48:01 2003 Subject: Numeric field Message-ID: <3C6E62D6-DCB4-11D7-985B-000393CCF5D8@newwave.net> Thanks to everybody who responded to my plea for help! Being new to Revolution, I really appreciate everyone being so helpful! I am a former REALbasic user who struggle with its complex programing language. Revolution is certainly easier but there is a lot to learn! I also have another question. In my RB project, I used a "container" to serve as a lookup table for correlations between intelligence and achievement tests. Is there similar procedure for Revolution that you can used for a lookup table? Charles From ambassador at fourthworld.com Mon Sep 1 15:07:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 1 15:07:00 2003 Subject: Numeric field In-Reply-To: <3C6E62D6-DCB4-11D7-985B-000393CCF5D8@newwave.net> Message-ID: Charles Szasz wrote: > Thanks to everybody who responded to my plea for help! Being new to > Revolution, I really appreciate everyone being so helpful! I am a > former REALbasic user who struggle with its complex programing > language. Revolution is certainly easier but there is a lot to learn! > I also have another question. In my RB project, I used a "container" to > serve as a lookup table for correlations between intelligence and > achievement tests. Is there similar procedure for Revolution that you > can used for a lookup table? Many options: you could use arrays, fields, custom properties, or variables, each having advantages depending on the specifics of what you want to do. I think you'll find chunk expressions one of the most liberating things about Rev, allowing you to use very simple syntax for rapid parsing of text that would be cumbersome in any non-xTalk language -- here's an example of a simple lookup that has a table stored in a tab-delimited list: function GetStuff pSearchTerm, pLookupTable set the itemdel to tab set the wholematches to true get lineoffset(pSearchTerm, pLookupTable) return item 2 of line it of pLookupTable end GetStuff That last line is key: getting "lines" (return-delimited by default but also user-settable) and "items" (comma-delimited by default but also user-settable as shown above) along with "words" (space-delimited) and "characters" is a snap in Transcript. In lower-level languages you need to walk through the block of text, keeping track of delimiters as you go. But in Transcript (and all other xTalks) this parsing is done dynamically using highly-optimized C in the engine, giving you great ease of use without sacrificing speed. In fact, for many common text operations Transcript benchmarks faster than some lower-level languages, and usually in a fraction of the number of lines of code needed to do the job. Ah, but there are so many ways to do lookups. Can you tell us more about how yours works? -- 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 jimlyons at earthlink.net Mon Sep 1 15:08:01 2003 From: jimlyons at earthlink.net (Jim Lyons) Date: Mon Sep 1 15:08:01 2003 Subject: Help! My Revolution died! Message-ID: <3F53A6B6.40FC81C@earthlink.net> I've been happily using Rev 2.0.2 Studio on OS X for a month or so. A few times it's been flakey, unexpectedly quitting, not responding to Shutdown, getting lost in the IDE somewhere so I have to Force Quit it, and more than once getting in a loop that repeatedly shows and hides the Error window until I abort it and quit. But it's always come back from these snits and worked fine for many sessions. (Has anyone else observed this behavior?) But now, after a Force Quit, when I try to restart it, it freezes mid-launch with the splash screen up, loading plug-ins. I restarted the machine and tried again with the same result. Choosing Force Quit in the Finder actually gets the launch a little further along but the splash screen remains and the cursor is the beach ball. I was just about to show someone my work today! :^/ I still have the download file, so I guess I can just reinstall. On OS X, how do I do this cleanly? Just throw away the Rev application icon, then reinstall? Or should I go ahead and get 2.1 now instead of messing with this anyway? Any words of wisdom, or reassurance? Jim Lyons From briany at qldlearning.com Mon Sep 1 15:18:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Mon Sep 1 15:18:01 2003 Subject: Numeric field In-Reply-To: Message-ID: <9FD91D7A-DCB8-11D7-8D9A-000393AA08D2@qldlearning.com> If your data comes in simple 1-to-1 key/value pairs, you may want to try arrays: put testValue into lookupTable[intelligenceKey] You can also load/unload arrays from text: ## loads comma-delimited lines from a field put fld "myData" into myArray split myArray using return and comma ... put myArray[3] into scoreNumberThree add 6 to myArray[3] etc... ... ## unloads the current contents of the array back into the field combine myArray using return and comma put myArray into field "myData" HTH, Brian >> Thanks to everybody who responded to my plea for help! Being new to >> Revolution, I really appreciate everyone being so helpful! I am a >> former REALbasic user who struggle with its complex programing >> language. Revolution is certainly easier but there is a lot to learn! >> I also have another question. In my RB project, I used a "container" >> to >> serve as a lookup table for correlations between intelligence and >> achievement tests. Is there similar procedure for Revolution that you >> can used for a lookup table? >> ------------------------------------- Brian Yennie Chief Technology Officer QLD Learning, LLC (904)-997-0212 briany at qldlearning.com -------------------------------------- From themacguy at macosx.com Mon Sep 1 15:40:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 1 15:40:00 2003 Subject: Encryption bug - It's really there Message-ID: The following script will not function properly in an encrypted stack whether in a Distribution or the IDE. on mouseUp put the short name of image 1 into theName copy image theName to this stack answer it end mouseUp Try this yourself. Create a stack with one button and one image. Give the stack a password. Save, close & remove from memory, and reopen the stack. The script doesn't work. Provide the passkey. The script now works. The Rev docs say that encryption is supposed to prevent users from changing the stack but that scripts are unaffected. Is this a bug? Barry From RunRev at colegroup.com Mon Sep 1 15:49:00 2003 From: RunRev at colegroup.com (David M. Cole) Date: Mon Sep 1 15:49:00 2003 Subject: Applescript, slightly off-topic... In-Reply-To: References: Message-ID: >I was so afraid someone would come up with this... It crashes InDesign :-(( i'll file a bug report with the proper adobe authorities ... (which doesn't solve your problem right now ...). \dmc -- *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ David M. Cole dmc at colegroup.com Editor & Publisher: The Cole Papers; NEWSINC. V: (650) 557-9595 Consultant: The Cole Group F: (650) 557-9696 *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ From cassj at earthlink.net Mon Sep 1 15:53:01 2003 From: cassj at earthlink.net (James Cass) Date: Mon Sep 1 15:53:01 2003 Subject: Applescript, slightly off-topic... In-Reply-To: Message-ID: <6C73E688-DCBD-11D7-AC53-000393738BF6@earthlink.net> You might want to try posting your question on the Applescript List. You can subscribe here: http://lists.apple.com/mailman/listinfo/applescript-users - James On Monday, September 1, 2003, at 03:16 PM, tkuypers at pandora.be wrote: > It is the replace part that crashes InDesign... When replacing with > "???" it > works fine, when using the paragraph code it goes wrong... > > I now will start working on getting the text into InDesign and do the > search > and replace in there... > Hmmmm... Thank you Adobe :-(( > > > >> From: "David M. Cole" >> Reply-To: use-revolution at lists.runrev.com >> Date: Fri, 29 Aug 2003 09:52:53 -0700 >> To: use-revolution at lists.runrev.com >> Subject: Re: Applescript, slightly off-topic... >> >> try this ... i'm pretty sure it will work. >> >>> tell application "InDesign 2.0.2" >>> set find preferences to nothing >>> set change preferences to nothing >>> tell active document >>> set vSearch to "^p^p^p" >>> set vReplace to "^p^p" >>> search for vSearch in active document replacing with vReplace >>> end tell >>> end tell >>> >> >> >> -- >> *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ >> *+*+*+*+ >> David M. Cole >> dmc at colegroup.com >> Editor & Publisher: The Cole Papers; NEWSINC. V: (650) >> 557-9595 >> Consultant: The Cole Group F: (650) >> 557-9696 >> *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ >> *+*+*+*+ >> _______________________________________________ >> 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 klaus at major-k.de Mon Sep 1 15:54:01 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 1 15:54:01 2003 Subject: no encryption bug - extremely hidden feature ;-) In-Reply-To: Message-ID: Hi Barry, > The following script will not function properly in an encrypted stack > whether in a Distribution or the IDE. > > on mouseUp > put the short name of image 1 into theName > copy image theName to this stack > answer it > end mouseUp > > Try this yourself. Create a stack with one button and one image. Give > the stack a password. > Save, close & remove from memory, and reopen the stack. The script > doesn't work. Provide > the passkey. The script now works. > > The Rev docs say that encryption is supposed to prevent users from > changing the stack > but that scripts are unaffected. Is this a bug? This is a rather undocumented(?) feature. You cannot copy objects from a password protected stack... Hope that helps... > Barry Regards Klaus Major klaus at major-k.de www.major-k.de From janschenkel at yahoo.com Mon Sep 1 15:59:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 1 15:59:01 2003 Subject: Encryption bug - It's really there In-Reply-To: Message-ID: <20030901205259.60318.qmail@web11908.mail.yahoo.com> --- Barry Levine wrote: > The following script will not function properly in > an encrypted stack > whether in a Distribution or the IDE. > > on mouseUp > put the short name of image 1 into theName > copy image theName to this stack > answer it > end mouseUp > > Try this yourself. Create a stack with one button > and one image. Give > the stack a password. Save, close & remove from > memory, and reopen the > stack. The script doesn't work. Provide the passkey. > The script now > works. > > The Rev docs say that encryption is supposed to > prevent users from > changing the stack but that scripts are unaffected. > Is this a bug? > > Barry > I have another nice one in that department : a library stack creates a new stack (no cloning) and tries to set its script (within the 10-line limit) -- worked fine until the stack was encrypted. While encrypted, it would come to a grinding halt at the line 'set the script of...' ; no error indicating what had gone wrong. As I found another way to accomplish the same end-goal that did work in ncrypted form, I didn't pursue the topic. 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 Mon Sep 1 16:04:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Mon Sep 1 16:04:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: References: Message-ID: <1062449893.2699.54.camel@www.kmax.ici> Le lun 01/09/2003 ? 19:56, Alex Rice a ?crit : > I just downloaded the 2.0 revolution engine for Darwin (OS X) from > ftp.runrev.com. > > 1) It requires installation of nonstandard shared libraries X11 and > libdl. The darwin engine "mc" available from metacard.com does not have > this problem. Why the difference? I already had X11 installed and > compiling libdl right now. I am just surprised I have to compile > something to get the revolution engine to work. > > 2) I tried the following as an experiment. > > sudo cp revolution /usr/local/bin/mc > create mainstack in Rev IDE, save as filename "fu.rev" > write a handler in the stack > > on startup > put "hello world" > put linefeed > end startup > > # chmod +x fu.rev > # ./fu.rev > > external startup > mc: Can't open display > mc: Can't load stack or script ./fu.rev To run in the cgi way (console mode - no X display needed at all), "fu.rev" don't have to be saved as a stack but as a .txt file. To get it available as a regular cgi script, a ".rev" (or the other extension of your choice) addhandler entry need to be added to the "httpd.conf" Apache config file, like below : > # To use CGI scripts: > # > #AddHandler cgi-script .cgi > AddHandler cgi-script .rev > Anyone know why the shell script front end that appears in each MC > stack does not work on OS X? Does it work on Linux? Maybe I am not > understanding the intent of this mini shell script that appears at the > beginning of every Rev stack. Here it is. This don't have to do with the way we can start the stack under Linux, as cgi or, even, as long console-mode process at boot time, like below : > #!/bin/sh > # Start/stop WMCASERVER > > case "$1" in > 'start') > killall -1 aserverstart > /usr/local/httpd/celia/aserver/aserverstart & > ;; > 'stop') > killall -1 aserverstart > ;; > *) > echo "Usage: $0 { start | stop }" > ;; > esac > exit 0 where the upon code is stored in a txt file and "aserverstart" is a second txt file containing the code below : > #!/home/oscar/mc > on startup > open stack "/usr/local/httpd/celia/iassd/aserver.mc" > end startup where asserver.mc (work the same way with .rev stacks) is a standard GUI builded stack witch contains the minimal server app code, like below : > on newconnect s # reading the request from a new socket > read from socket s for 1 line with message "serverread" -- socket opened by a cgi, perl or php sockets listener > end newconnect > > on serverread x,y # processing the request > global PostIn,Retour,Lepath > put urldecode(y) into PostIn # donn?es POST re?ues de wmc.xml > put cr into char (length(PostIn))-1 to (length(PostIn)) of PostIn > put "" into Retour > set itemdelimiter to "&" > WASSwitch -- YOUR CUSTOM STATEMENTS GOES THERE > write Retour to socket x > close socket x # x = adresse IP & "|" & n? d'ordre du socket fils re?u de wmc.xml > try > put the hostAddressToName of char 5 to -1 of item 3 of PostIn into ppa > catch errornum > put char 5 to -1 of item 3 of PostIn into ppa > end try > open file Lepath & "logaserver.txt" for append > write the date && the long time && item 1 of PostIn && char 5 to -1 of item -2 of PostIn && line 1 of opensockets() && \ > ppa && "200 OK" & cr to file Lepath & "logaserver.txt" > repeat > if the num of lines in (opensockets()) > 1 > then close socket line 2 of (opensockets()) > else exit repeat > end repeat > end serverread > #!/bin/sh > # MetaCard 2.4 stack > # The following is not ASCII text, > # so now would be a good time to q out of more^L > exec mc $0 "$@" The five line upon are reserved to the private use of the stacks by the engine. > > This, however, does work ok: > > #!/usr/local/bin/mc > on startup > put "hello world" > put linefeed > end startup > > Now I understand why the previous poster (I'm bad with names) was doing > like this > > #!/usr/local/bin/mc > start using stack "some.rev" > > 3) The 2.1 command-line/CGI engines are not available? > > 4) Is there an Emacs mode for metacard and/or xtalk languages > languages? My version of emacs thinks a .mc script is for M4 macro mode > :-/ > > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > 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 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 Mon Sep 1 16:11:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Mon Sep 1 16:11:00 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <053D478D-DCB1-11D7-A6FC-000A9567A3E6@swcp.com> References: <053D478D-DCB1-11D7-A6FC-000A9567A3E6@swcp.com> Message-ID: <1062450282.2699.59.camel@www.kmax.ici> Le lun 01/09/2003 ? 21:18, Dar Scott a ?crit : > On Monday, September 1, 2003, at 11:56 AM, Alex Rice wrote: > > > This, however, does work ok: > > > > #!/usr/local/bin/mc > > on startup > > put "hello world" > > put linefeed > > end startup > > > > Now I understand why the previous poster (I'm bad with names) was > > doing like this > > > > #!/usr/local/bin/mc > > start using stack "some.rev" > > That is the direction I would explore. > > I have noticed that 'send' does work. The engine does not quit until > there is no handler running and there are no messages in pending > messages. This could be handy for those things that cannot be done in > startup. And for allowing library messages to execute. > > I would expect 'open' to have trouble, but I have not run the > experiment. Also on my list of experiments is 'start using' a stack > with an external. > > The above example is outside a script. Does that really work? All the metatalk/transcript syntax works, except "idle" and, of course, the display and graphical dedicated functions/commands. > > I think Bill Vlahos talked many months ago about the problems with > using a Revolution stack as a deamon; perhaps this would mitigate those > problems. > > > > 3) The 2.1 command-line/CGI engines are not available? > > Perhaps these are under policy review. There was also a question > earlier about unix engines which I assume double as command-line/CGI > engines. I hope RunRev does not become too concerned about these. > > Dar Scott > > > > _______________________________________________ > 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 kray at sonsothunder.com Mon Sep 1 16:13:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 1 16:13:01 2003 Subject: The Directory Walker revisited In-Reply-To: <5CA01A3A-DC69-11D7-B5E7-000502990960@pi.be> Message-ID: <005c01c370cc$eabdea60$6501a8c0@LightningFlash> > Upon examining the nice (recursive) directory walking script: > > file007 > at > http://www.sonsothunder.com/index2.htm?http://www.sonsothunder.com/ > devres/revolution/revolution.htm > > But I watched it bump into the recursion-limit wall. > Following is a non recursive version of this script. > Although it is non recursive be careful not to unleash it (without > filters) on for example the complete Mac OS X volume or you will be > tied up for quite a while seen the amount of files and directories > there. > First is a bare bones script. Next some additions. (snip) Good post! I'll update my tip accordingly the next chance I get... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Mon Sep 1 16:17:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 1 16:17:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: Message-ID: <005d01c370cd$7a850390$6501a8c0@LightningFlash> Same here. (But you know that already, Geoff.) ;-) 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: Monday, September 01, 2003 2:38 PM > To: RunRev Mail List > Subject: Re: How many people use Single-Handler Mode in Script Editor? > > > I do not use it and never thought it was a valuable feature. > > -Dan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Mon Sep 1 16:20:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 1 16:20:01 2003 Subject: Applescript, slightly off-topic... In-Reply-To: Message-ID: <005e01c370cd$e848fd50$6501a8c0@LightningFlash> Ton, Any chance you can do it in two steps? I don't know InDesign, but if you can replace one string with another that are NOT returns, perhaps you can replace the three returns with *** and then replace *** with two returns? Just a thought... 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 > tkuypers at pandora.be > Sent: Monday, September 01, 2003 2:17 PM > To: use-revolution at lists.runrev.com > Subject: Re: Applescript, slightly off-topic... > > > It is the replace part that crashes InDesign... When > replacing with "???" it works fine, when using the paragraph > code it goes wrong... > > I now will start working on getting the text into InDesign > and do the search and replace in there... Hmmmm... Thank you > Adobe :-(( > > > > > From: "David M. Cole" > > Reply-To: use-revolution at lists.runrev.com > > Date: Fri, 29 Aug 2003 09:52:53 -0700 > > To: use-revolution at lists.runrev.com > > Subject: Re: Applescript, slightly off-topic... > > > > try this ... i'm pretty sure it will work. > > > >> tell application "InDesign 2.0.2" > >> set find preferences to nothing > >> set change preferences to nothing > >> tell active document > >> set vSearch to "^p^p^p" > >> set vReplace to "^p^p" > >> search for vSearch in active document replacing > with vReplace > >> end tell > >> end tell > >> > > > > > > -- > > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > *+*+*+*+*+*+*+*+ > > David M. Cole > dmc at colegroup.com > > Editor & Publisher: The Cole Papers; NEWSINC. > V: (650) 557-9595 > > Consultant: The Cole Group > F: (650) 557-9696 > > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > *+*+*+*+*+*+*+*+ > > _______________________________________________ > > 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 scott at tactilemedia.com Mon Sep 1 16:27:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Sep 1 16:27:00 2003 Subject: no encryption bug - extremely hidden feature ;-) In-Reply-To: Message-ID: >> The Rev docs say that encryption is supposed to prevent users from >> changing the stack >> but that scripts are unaffected. Is this a bug? > > This is a rather undocumented(?) feature. Well, not exactly undocumented: "If the password is set, the stack?s scripts cannot be modified, its password cannot be changed, and objects cannot be copied." Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From tkuypers at pandora.be Mon Sep 1 16:30:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Mon Sep 1 16:30:01 2003 Subject: Applescript, slightly off-topic... In-Reply-To: <005e01c370cd$e848fd50$6501a8c0@LightningFlash> Message-ID: You might not know InDesign, but you sure know how to think and try to work around bugs ;-) Tried that already, same result however... I am trying to export the text as RTF and let the user do some cleanup in RR... That gives me more options and the search & replace works the way it should work... Thanks anyway. Ton > From: "Ken Ray" > Organization: Sons of Thunder Software > Reply-To: use-revolution at lists.runrev.com > Date: Mon, 1 Sep 2003 16:13:26 -0500 > To: > Subject: RE: Applescript, slightly off-topic... > > Ton, > > Any chance you can do it in two steps? I don't know InDesign, but if you > can replace one string with another that are NOT returns, perhaps you > can replace the three returns with *** and then replace *** with two > returns? > > Just a thought... > > 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 >> tkuypers at pandora.be >> Sent: Monday, September 01, 2003 2:17 PM >> To: use-revolution at lists.runrev.com >> Subject: Re: Applescript, slightly off-topic... >> >> >> It is the replace part that crashes InDesign... When >> replacing with "???" it works fine, when using the paragraph >> code it goes wrong... >> >> I now will start working on getting the text into InDesign >> and do the search and replace in there... Hmmmm... Thank you >> Adobe :-(( >> >> >> >>> From: "David M. Cole" >>> Reply-To: use-revolution at lists.runrev.com >>> Date: Fri, 29 Aug 2003 09:52:53 -0700 >>> To: use-revolution at lists.runrev.com >>> Subject: Re: Applescript, slightly off-topic... >>> >>> try this ... i'm pretty sure it will work. >>> >>>> tell application "InDesign 2.0.2" >>>> set find preferences to nothing >>>> set change preferences to nothing >>>> tell active document >>>> set vSearch to "^p^p^p" >>>> set vReplace to "^p^p" >>>> search for vSearch in active document replacing >> with vReplace >>>> end tell >>>> end tell >>>> >>> >>> >>> -- >>> >> *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ >> *+*+*+*+*+*+*+*+ >>> David M. Cole >> dmc at colegroup.com >>> Editor & Publisher: The Cole Papers; NEWSINC. >> V: (650) 557-9595 >>> Consultant: The Cole Group >> F: (650) 557-9696 >>> >> *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ >> *+*+*+*+*+*+*+*+ >>> _______________________________________________ >>> 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 steve at nexpath.com Mon Sep 1 18:20:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Mon Sep 1 18:20:01 2003 Subject: Help! My Revolution died! In-Reply-To: <3F53A6B6.40FC81C@earthlink.net> References: <3F53A6B6.40FC81C@earthlink.net> Message-ID: <3F53D4BA.3080502@nexpath.com> Jim Lyons wrote: > But now, after a Force Quit, when I try to restart it, it freezes > mid-launch with the splash screen up, loading plug-ins. I wonder if this is not a corrupted preferences file; on Linux it is at components/save/revpreferences.rev. If you could replace this file, it may load. Just a guess, but this is the file that it writes when it exits AFAIK. -Steve From bvlahos at mac.com Mon Sep 1 18:21:01 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Mon Sep 1 18:21:01 2003 Subject: Help! My Revolution died! In-Reply-To: <3F53A6B6.40FC81C@earthlink.net> Message-ID: <11D33B38-DCD2-11D7-9521-0003936A2C42@mac.com> The simplest thing would be to just trash the Rev icon and reinstall and reenter your license key. The whole thing would be done in about a minute. My experience is that all of the 2.x versions of Rev have been stable; particularly 2.1 where I haven't had a single problem. I can't remember the last time I had a crash and I use it in OS X almost exclusively. I would go ahead and upgrade to 2.1 as long as you are at it. Bill On Monday, September 1, 2003, at 01:06 PM, Jim Lyons wrote: > I've been happily using Rev 2.0.2 Studio on OS X for a month or so. A > few times it's been flakey, unexpectedly quitting, not responding to > Shutdown, getting lost in the IDE somewhere so I have to Force Quit it, > and more than once getting in a loop that repeatedly shows and hides > the > Error window until I abort it and quit. But it's always come back from > these snits and worked fine for many sessions. (Has anyone else > observed > this behavior?) > > But now, after a Force Quit, when I try to restart it, it freezes > mid-launch with the splash screen up, loading plug-ins. I restarted the > machine and tried again with the same result. Choosing Force Quit in > the > Finder actually gets the launch a little further along but the splash > screen remains and the cursor is the beach ball. I was just about to > show someone my work today! :^/ > > I still have the download file, so I guess I can just reinstall. On OS > X, how do I do this cleanly? Just throw away the Rev application icon, > then reinstall? Or should I go ahead and get 2.1 now instead of messing > with this anyway? Any words of wisdom, or reassurance? > > Jim Lyons > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Mike at doub.com Mon Sep 1 18:29:01 2003 From: Mike at doub.com (Mike Doub) Date: Mon Sep 1 18:29:01 2003 Subject: Rev CGI Engine and IIS Message-ID: <000101c370e0$060a0110$6400a8c0@fusion> Has anyone be able to use revolution as a cgi engine with IIS? I would appreciate any guidance in setting up the proper configuration. Thanks Mike From dsc at swcp.com Mon Sep 1 19:11:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 1 19:11:01 2003 Subject: The Directory Walker revisited In-Reply-To: <5CA01A3A-DC69-11D7-B5E7-000502990960@pi.be> Message-ID: <2590232C-DCD9-11D7-A6FC-000A9567A3E6@swcp.com> On Monday, September 1, 2003, at 04:45 AM, wouter wrote: > Upon examining the nice (recursive) directory walking script: ... > But I watched it bump into the recursion-limit wall. From the Transcript Dictionary Entry: > By default, the recursionLimit property is set to 1000000. I assume values, context, and most things are not on the stack but are pointed to by internal values on the stack. I could very well be wrong. I would be surprised if a stack entry was 100 bytes but I would think it would be under 1K. That means a depth limit of 1000 calls. This is all speculation. Testing is left for the curious. Now directories nested 1000 deep seems unusual. Perhaps this is running into a first-rest nesting as well. (I haven't looked at the latest of the script.) Even so, that does seem strange. Dar Scott From sarahr at genesearch.com.au Mon Sep 1 19:35:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Sep 1 19:35:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: Message-ID: <7A0D1873-DCDB-11D7-A5B3-0003937A97B8@genesearch.com.au> Not at all, I don't like it. It feels like I'm not in total control of the script and I can't see the comments I put before nearly every handler. Cheers, Sarah On Tuesday, September 2, 2003, at 03:17 am, Geoff Canyon wrote: > How many people use Single-Handler Mode in the Script Editor? How many > people ever used it (maybe when getting started? How many people think > it is useful for getting started with 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 wouter.abraham at pi.be Mon Sep 1 19:45:00 2003 From: wouter.abraham at pi.be (wouter) Date: Mon Sep 1 19:45:00 2003 Subject: The Directory Walker revisited In-Reply-To: <200309011601.MAA11092@www.runrev.com> Message-ID: <1BDE55EA-DCB0-11D7-B5E7-000502990960@pi.be> Sure, but then if you walk directories with the recursive one, do you know in advance how high you have to set the recursionlimit? Anyway why did they set a recursionlimit on recursive function calls and not on repeat loops? The answer is somewhere in the reference on the recursionlimit: < This property allows you to adjust the limit on the depth of recursion for function calls, decreasing it for quicker failure during development, or increasing it if you require more depth to execute a recursive algorithm on a larger data set. The value is the size in bytes of the CPU call stack. The actual function call depth limit will depend on such factors as the CPU type, how functions are called, and the number of parameters passed to each function. > I am sure you can figure out why. Have a nice evening, WA On maandag, sep 1, 2003, at 18:01 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 10 > Date: Mon, 1 Sep 2003 09:56:01 -0600 > Subject: Re: The Directory Walker revisited > From: Alex Rice > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Monday, September 1, 2003, at 04:45 AM, wouter wrote: > >> But I watched it bump into the recursion-limit wall. >> Following is a non recursive version of this script. > > I thought we could set the recursion limit in Rev 2.x? > > Alex Rice | Mindlube Software | http://mindlube.com > From jtenny at willamette.edu Mon Sep 1 20:07:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Mon Sep 1 20:07:00 2003 Subject: variable list? Global var confusion Message-ID: Is there a way to see a list of all variables and current contents in a stack? Some window/chart? I think I'm misusing global variables. I doing a set of timers, each on a different card. Being lazy,I copied the first card and adjusted things, using the same global variables. I used global as there are several buttons on each card that add to the same set of variables/fields (on the same card) Now I discover that I'm changing the variable contents in the other cards as well. My thoughts: 1. go through a hundred or so buttons and change the variable names (a terrible thought) where ever they appear in the scripts 2. ?? move the declarations from outside the handlers to inside the handlers?? This would be quicker as I wouldn't have to edit all the scripts, just cut and paste. What I think I want (but not sure) is a set of variables that work 'globally' on one card, for all the handlers on that card, but no other card. Oh, and I don't want to empty the variables till the program closes as the user will want to print the cards (marked through a button on each card) at the end of the session, just before quitting. Peace, John Flowing Thought Educational Solutions 503-508-3398 From dsc at swcp.com Mon Sep 1 20:11:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 1 20:11:01 2003 Subject: Recursive Limit Behavior (was The Directory Walker revisited) In-Reply-To: <2590232C-DCD9-11D7-A6FC-000A9567A3E6@swcp.com> Message-ID: <7B707755-DCE1-11D7-A6FC-000A9567A3E6@swcp.com> On Monday, September 1, 2003, at 06:05 PM, Dar Scott wrote: > On Monday, September 1, 2003, at 04:45 AM, wouter wrote: >> But I watched it bump into the recursion-limit wall. ... > Testing is left for the curious. OK. I'm more than curious. Yikes! You didn't say the wall was a lock-up! With a small recursive function I hit the wall at about 724 and Revolution locked up. I added some local variables, but that didn't seem to affect it. I expected a simple throw. I'm on Revolution 2.1 on OS X. Dar Scott From dsc at swcp.com Mon Sep 1 20:24:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 1 20:24:00 2003 Subject: The Directory Walker revisited In-Reply-To: <1BDE55EA-DCB0-11D7-B5E7-000502990960@pi.be> Message-ID: <4AB007FC-DCE3-11D7-A6FC-000A9567A3E6@swcp.com> On Monday, September 1, 2003, at 01:11 PM, wouter wrote: > The value is the size in bytes of the CPU call stack. Yikes! My TD words it differently, but it says the same. Well, we know the stack should increase with recursion. We would need to test whether structures add to that. There may also be an offset at the start, too. Dar Scott From sarahr at genesearch.com.au Mon Sep 1 20:25:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Sep 1 20:25:01 2003 Subject: variable list? Global var confusion In-Reply-To: Message-ID: Hi John, If you need a variable that can be accessed by all handlers in a single script e.g. your card script, but NOT by handlers outside that script, then you can declare them as local at the start of your script. For example: local myLocalVar on openCard put 1 into myLocalVar end openCard on clickHere add 1 to myLocalVar end clickHere on displayVar put myLocalVar end displayVar You may have to move some scripts from buttons to the card script for this to work, but I think it will be the easiest way around your problem. BTW, you can list all global variables using either the message box (4th button from the left) or the Variable Watcher. Cheers, Sarah On Tuesday, September 2, 2003, at 11:03 am, John Tenny wrote: > Is there a way to see a list of all variables and current contents in > a stack? Some window/chart? > > I think I'm misusing global variables. > I doing a set of timers, each on a different card. Being lazy,I copied > the first card and adjusted things, using the same global variables. I > used global as there are several buttons on each card that add to the > same set of variables/fields (on the same card) > > Now I discover that I'm changing the variable contents in the other > cards as well. > My thoughts: > 1. go through a hundred or so buttons and change the variable names (a > terrible thought) where ever they appear in the scripts > 2. ?? move the declarations from outside the handlers to inside the > handlers?? This would be quicker as I wouldn't have to edit all the > scripts, just cut and paste. > > What I think I want (but not sure) is a set of variables that work > 'globally' on one card, for all the handlers on that card, but no > other card. > > Oh, and I don't want to empty the variables till the program closes as > the user will want to print the cards (marked through a button on each > card) at the end of the session, just before quitting. From dsc at swcp.com Mon Sep 1 20:27:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 1 20:27:01 2003 Subject: Recursive Limit Behavior (was The Directory Walker revisited) In-Reply-To: <7B707755-DCE1-11D7-A6FC-000A9567A3E6@swcp.com> Message-ID: On Monday, September 1, 2003, at 07:05 PM, Dar Scott wrote: > I expected a simple throw. There is one. Once I put in the try-catch, Revolution didn't crash. It must be in the topmost error handling. I thin Alex may have seen a problem there also. That is a good sign. I'm still curious about folders nested over 700 deep. Dar Scott From dsc at swcp.com Mon Sep 1 20:33:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 1 20:33:00 2003 Subject: variable list? Global var confusion In-Reply-To: Message-ID: <914FD8DE-DCE4-11D7-A6FC-000A9567A3E6@swcp.com> On Monday, September 1, 2003, at 06:59 PM, John Tenny wrote: > What I think I want (but not sure) is a set of variables that work > 'globally' on one card, for all the handlers on that card, but no > other card. Perhaps what you want is script local. That will be visible to all handlers in the card script. If you also want these to be visible to handlers in controls on the card, you can use a set handler and a get function. Or use custom properties. Just put a script local at the top of your script outside handler or function script. (If you are sharing a group among cards and your variable is in the group script, you will need something else. You might try an array indexed by card id or a hidden field that does not share text.) Dar Scott From jacque at hyperactivesw.com Mon Sep 1 20:34:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 1 20:34:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: <7A0D1873-DCDB-11D7-A5B3-0003937A97B8@genesearch.com.au> References: <7A0D1873-DCDB-11D7-A5B3-0003937A97B8@genesearch.com.au> Message-ID: <3F53F216.8030207@hyperactivesw.com> On 9/1/03 7:22 PM, Sarah wrote: > Not at all, I don't like it. It feels like I'm not in total control of > the script and I can't see the comments I put before nearly every handler. That was exactly my reaction to it too: a loss of control. But maybe that's because we've both scripted so long. Beginners may find it easier; we haven't heard from many of them yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 1 20:52:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 1 20:52:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <1062450282.2699.59.camel@www.kmax.ici> References: <053D478D-DCB1-11D7-A6FC-000A9567A3E6@swcp.com> <1062450282.2699.59.camel@www.kmax.ici> Message-ID: <3F53F650.30003@hyperactivesw.com> On 9/1/03 4:05 PM, Pierre Sahores wrote: > All the metatalk/transcript syntax works, except "idle" and, of course, > the display and graphical dedicated functions/commands. Has anyone been able to get "find" to work in a cgi? I think I remember someone said they could, but I have never been able to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 1 20:53:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 1 20:53:00 2003 Subject: Applescript, slightly off-topic... In-Reply-To: <3F5399B6.7040403@qwest.net> References: <3F5399B6.7040403@qwest.net> Message-ID: <3F53F69C.4010803@hyperactivesw.com> On 9/1/03 2:10 PM, Dale Pond wrote: > Don't know about AppleScript but here is a Rev script that works: > > -- find and delete eol returns > repeat > get offset(RETURN, cd fld Text1) > if it = 0 then exit repeat > put " " into char it of cd fld Text1 > end repeat There's a built-in command that's even faster: replace (return & return & return) with return in cd fld "text1" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Sep 1 20:58:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Sep 1 20:58:01 2003 Subject: Recursive Limit Behavior (was The Directory Walker revisited) In-Reply-To: <7B707755-DCE1-11D7-A6FC-000A9567A3E6@swcp.com> Message-ID: >>> But I watched it bump into the recursion-limit wall. > ... >> Testing is left for the curious. FWIW, the directory mapping script failed for me as well on OSX when I tried it eons ago. I always assumed this was because of the mondo number of files present in the system hierarchy (not necessarily deep but perhaps wide). Playing with the recursion settings did not seem to make any difference. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From monte at sweattechnologies.com Mon Sep 1 21:15:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Sep 1 21:15:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: <3F53F216.8030207@hyperactivesw.com> Message-ID: > > > Not at all, I don't like it. It feels like I'm not in total control of > > the script and I can't see the comments I put before nearly > every handler. > > That was exactly my reaction to it too: a loss of control. But maybe > that's because we've both scripted so long. Beginners may find it > easier; we haven't heard from many of them yet. > I feel the same way. However, I think only very explorative beginners would even find it. What may be more interesting/usefull for beginners would be having the handler list full of all the messages an object can get and the user just clicks on one and starts scripting. Perhaps messages with scripts could be listed in bold? Regards Monte From SimPLsol at aol.com Mon Sep 1 22:23:00 2003 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Mon Sep 1 22:23:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? Message-ID: <1a1.19a4e4f3.2c85658f@aol.com> Geoff, I have never used it; don't know why I ever would. Paul Looney -------------- next part -------------- An HTML attachment was scrubbed... URL: From jtenny at willamette.edu Mon Sep 1 22:33:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Mon Sep 1 22:33:00 2003 Subject: Image library import Message-ID: <008A9A66-DCF5-11D7-A9D8-000393911676@willamette.edu> Trying to import an image into the stack library. Went to Development-Image Library to Images tab; I pulled down the drop down to "This Stack - Observation Tools"; then clicked on the only active button "Import File". Nothing happens. So how does one get images into a stack? I also tried to drag and drop into the library, but that didn't work either. Peace, John Peace, John Flowing Thought Educational Solutions 503-508-3398 From themacguy at macosx.com Mon Sep 1 22:41:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 1 22:41:01 2003 Subject: Encryption inconsistency, not a "bug" In-Reply-To: <200309020012.UAA30719@www.runrev.com> Message-ID: <8A7D04E1-DCF6-11D7-A93A-000A95763ABC@macosx.com> However, objects may be cloned. Why cloning doesn't have the same restriction as a "copy", I haven't a clue. In any case, I now stand corrected (and properly chastised - mea culpa). I had been hoping to use the copy or clone command to permit image objects in a hidden group to be shown or hidden individually. However, cloning an object in a group seems to add that new object to the group. Therefore, I can't show or hide it individually. I guess I'll have to -not- group the images and manipulate them individually. *sigh* Barry On Monday, Sep 1, 2003, at 18:12 America/Denver, Scott wrote: > Subject: Re: no encryption bug - extremely hidden feature ;-) > From: Scott Rossi > To: > Reply-To: use-revolution at lists.runrev.com > >>> The Rev docs say that encryption is supposed to prevent users from >>> changing the stack >>> but that scripts are unaffected. Is this a bug? >> >> This is a rather undocumented(?) feature. > > Well, not exactly undocumented: > > "If the password is set, the stack?s scripts cannot be modified, its > password cannot be changed, and objects cannot be copied." From monte at sweattechnologies.com Mon Sep 1 22:48:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Sep 1 22:48:00 2003 Subject: Image library import In-Reply-To: <008A9A66-DCF5-11D7-A9D8-000393911676@willamette.edu> Message-ID: > Trying to import an image into the stack library. > > Went to Development-Image Library to Images tab; I pulled down the drop > down to "This Stack - Observation Tools"; then clicked on the only > active button "Import File". > > Nothing happens. > > So how does one get images into a stack? > > I also tried to drag and drop into the library, but that didn't work > either. > Hi John Unfortunately it's a two step process. First import your image into a stack and select it then open the image library and add the selected image. Don't ask me why runrev never implemented a direct route into the image library. Regards Monte From monte at sweattechnologies.com Mon Sep 1 22:57:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Sep 1 22:57:00 2003 Subject: Encryption inconsistency, not a "bug" In-Reply-To: <8A7D04E1-DCF6-11D7-A93A-000A95763ABC@macosx.com> Message-ID: > > However, objects may be cloned. Why cloning doesn't have the same > restriction as a "copy", I haven't a clue. In any case, I now stand > corrected (and properly chastised - mea culpa). I had been hoping to > use the copy or clone command to permit image objects in a hidden group > to be shown or hidden individually. However, cloning an object in a > group seems to add that new object to the group. Therefore, I can't > show or hide it individually. I guess I'll have to -not- group the > images and manipulate them individually. *sigh* Hi Barry The reason there isn't a restriction on clone is because you can't clone an object into another stack but you can copy one. Why not use a button & icon property to show the images individually? Regards Monte From scott at tactilemedia.com Mon Sep 1 23:03:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Sep 1 23:03:00 2003 Subject: Encryption inconsistency, not a "bug" In-Reply-To: <8A7D04E1-DCF6-11D7-A93A-000A95763ABC@macosx.com> Message-ID: >>>> The Rev docs say that encryption is supposed to prevent users from >>>> changing the stack >>>> but that scripts are unaffected. Is this a bug? >>> >>> This is a rather undocumented(?) feature. >> >> Well, not exactly undocumented: >> >> "If the password is set, the stack?s scripts cannot be modified, its >> password cannot be changed, and objects cannot be copied." > However, objects may be cloned. Why cloning doesn't have the same > restriction as a "copy", I haven't a clue. I'll hazard this guess: because password protecting a stack is intended to protect the contents of stack from being extracted from the stack. Since cloning an object effectively duplicates an object and this action does nothing to extract content from the stack, it is not prevented. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From jperryl at ecs.fullerton.edu Mon Sep 1 23:25:00 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Sep 1 23:25:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: <3F53F216.8030207@hyperactivesw.com> Message-ID: I dunno... I count as a scripting newbie.. and I didn't even know it was there. I like otherwise FWIW... Judy On Mon, 1 Sep 2003, J. Landman Gay wrote: > On 9/1/03 7:22 PM, Sarah wrote: > > > Not at all, I don't like it. It feels like I'm not in total control of > > the script and I can't see the comments I put before nearly every handler. > > That was exactly my reaction to it too: a loss of control. But maybe > that's because we've both scripted so long. Beginners may find it > easier; we haven't heard from many of them yet. > > -- > 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 alex at mindlube.com Mon Sep 1 23:42:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 1 23:42:00 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <1062449893.2699.54.camel@www.kmax.ici> Message-ID: On Monday, September 1, 2003, at 02:58 PM, Pierre Sahores wrote: > To run in the cgi way (console mode - no X display needed at all), > "fu.rev" don't have to be saved as a stack but as a .txt file. To get > it > available as a regular cgi script, a ".rev" (or the other extension of > your choice) addhandler entry need to be added to the "httpd.conf" > Apache config file, like below Thanks for the info, however I'm not writing CGI or a server process- I just wanted to use transcript write some shell scripts for slinging text around and doing some database queries. Seems like a pain so far. Maybe I had better stick to Perl for my shell scripting. >> #!/bin/sh >> # MetaCard 2.4 stack >> # The following is not ASCII text, >> # so now would be a good time to q out of more^L >> exec mc $0 "$@" > > The five line upon are reserved to the private use of the stacks by the > engine. That's surprising. Seems like it could be very useful in a shell scripting environment. 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 Mon Sep 1 23:49:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 1 23:49:00 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <3F539A66.1040902@nexpath.com> Message-ID: On Monday, September 1, 2003, at 01:13 PM, Steve Gehlbach wrote: > I've never tried it on linux. Check "echo $DISPLAY" and see if the > display is set. > > It can usually be solved by: > > # export DISPLAY=":0.0" > > The shell may not like this, so you can also use: > > # DISPLAY=":0.0"; export DISPLAY > > The full form is DISPLAY=":0.0" but it will default to the > local system if the system name is left out. > > Nothing will work after the error about not being able to open the > display. > > (This is the way it is done on Linux, I assume OS X is running > X-Windows but maybe not!). Steve, thanks - I know about the DISPLAY variable and it's function on X11. OS X does not include X11, it uses it's own display and graphics system. X Windows is available as a separate download however 99% of OS X users probably don't even know it exists and have no need for it. I'm kind of dismayed by the state of the Rev OS X command-line engine. It shouldn't require X Windows, or libdl. It should just work. If there needs to be a separate Darwin version of the engine, as well as a OS X version- then so be it. ./fu.rev external startup mc: Can't open display :0.0 mc: Can't load stack or script ./fu.rev Apparently this way of starting a stack is only valid on Linux or other Unix systems running X11. 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 Mon Sep 1 23:56:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 1 23:56:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <1062450282.2699.59.camel@www.kmax.ici> Message-ID: On Monday, September 1, 2003, at 03:05 PM, Pierre Sahores wrote: > All the metatalk/transcript syntax works, except "idle" and, of course, > the display and graphical dedicated functions/commands. If the command-line engine requires X11 libraries, which it apparently does, then why wouldn't display and graphical functions work? I can see why "idle" and other top-level event-related things would differ. Is command-line and CGI usage of the Rev engine documented somewhere? 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 Mon Sep 1 23:57:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 1 23:57:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: Message-ID: <03D0D8B6-DD01-11D7-A6FC-000A9567A3E6@swcp.com> On Monday, September 1, 2003, at 10:35 PM, Alex Rice wrote: > Seems like a pain so far. Maybe I had better stick to Perl for my > shell scripting. How is it harder than Perl? Can you not build upon the hello world you did? Dar Scott From alex at mindlube.com Tue Sep 2 00:05:00 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 2 00:05:00 2003 Subject: The Directory Walker revisited In-Reply-To: <1BDE55EA-DCB0-11D7-B5E7-000502990960@pi.be> Message-ID: <3AB25302-DD02-11D7-917B-000393529642@mindlube.com> On Monday, September 1, 2003, at 01:11 PM, wouter wrote: > I am sure you can figure out why. What is this, a riddle? Actually I can't, which is why I posted my question. Are you saying the recursionLimit is so broken and or unhelpful that you have to rewrite something as without recursion? 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 Tue Sep 2 00:40:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 2 00:40:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <03D0D8B6-DD01-11D7-A6FC-000A9567A3E6@swcp.com> Message-ID: <03E38A96-DD07-11D7-917B-000393529642@mindlube.com> On Monday, September 1, 2003, at 10:50 PM, Dar Scott wrote: > > How is it harder than Perl? Using Rev for shell scripting seems kind of like a mismatch so far. I guess I just got off to a rough start. I worked with it an hour or two today when I could have just done it in Perl and been done in a few minutes. Admittedly I was in a hurry and it wasn't a good setting for the experimentation required. Also it worries me that command-line and CGI usage of Rev seems to be undocumented. People on the list keep saying stuff like "how do you get XYZ to work in the command-line/cgi engine". Pierre just said some graphical related stuff doesn't work but I don't understand why not, or what wouldn't be expected to work. Perl is difficult in it's own ways. But Perl is intended for Unix shell scripting and it has a lot of idioms that make it really useful for that kind of thing. And easy, after you learn it's bizarre syntax. > Can you not build upon the hello world you did? No I could... Speaking of that script, do you know why it's output is wrapped with the lines "external startup", "external exit"? #!/usr/local/bin/mc on startup put "hello world" end startup ./test.sh external startup hello world external exit Those messages are being written to STDERR. It seems to be debugging info. I can get rid of them by IO redirection, but that's a pain because I didn't expect to see those messages in the first place: ./test.sh 2> /dev/null hello world The only mention of "external startup", "external exit" in the list archives is another question: http://lists.runrev.com/pipermail/use-revolution/2003-August/020333.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 jtenny at willamette.edu Tue Sep 2 00:40:26 2003 From: jtenny at willamette.edu (John Tenny) Date: Tue Sep 2 00:40:26 2003 Subject: Image Library Import In-Reply-To: <200309020343.XAA05596@www.runrev.com> Message-ID: Monte - Thanks for the help. I was successful in getting an image into the stack using the "Import as control" under the File menu. then, to get it into the library, I selected the image on the card, opened the library to my stack. The only way I could get it into the library was to select a different library, then back to my stack library and Poof! it appeared. It also works if I click the Objects tab and then back on the Image tab - the image gets imported. 10.2.6 and Rev 2.1 The "import selected' didn't do anything, nor did the "Import file" What does the "Import File..." button do? When is it used? I did get the Place Image to work fine. ============== "Unfortunately it's a two step process. First import your image into a stack and select it then open the image library and add the selected image. Don't ask me why runrev never implemented a direct route into the image library." ============== thanks, John From jtenny at willamette.edu Tue Sep 2 00:50:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Tue Sep 2 00:50:01 2003 Subject: Subject: Re: variable list? Global var confusion In-Reply-To: <200309020343.XAA05596@www.runrev.com> Message-ID: <34522486-DD08-11D7-A9D8-000393911676@willamette.edu> Sarah and Dar Thanks for the clues. What I have is from 2 to 10 buttons on a card, each adding/calculating percent of totals for all the corresponding fields. Right now, I have the scripts in each button, but they all access common variables. Is there a way to put all that scripting into the card script? Or do you mean that I can declare the variables as local in the card script, and then have the handlers in each button as needed? There's no conflict within the individual card, only between different cards. and unrelated -- what's the best way to reply to an individual post within the digest? John ============== Date: Tue, 02 Sep 2003 11:13:42 +1000 From: Sarah Subject: Re: variable list? Global var confusion To: use-revolution at lists.runrev.com Reply-To: use-revolution at lists.runrev.com Hi John, If you need a variable that can be accessed by all handlers in a single script e.g. your card script, but NOT by handlers outside that script, then you can declare them as local at the start of your script. For example: local myLocalVar on openCard put 1 into myLocalVar end openCard on clickHere add 1 to myLocalVar end clickHere on displayVar put myLocalVar end displayVar You may have to move some scripts from buttons to the card script for this to work, but I think it will be the easiest way around your problem. BTW, you can list all global variables using either the message box (4th button from the left) or the Variable Watcher. Cheers, Sarah On Tuesday, September 2, 2003, at 11:03 am, John Tenny wrote: > Is there a way to see a list of all variables and current contents in > a stack? Some window/chart? > > I think I'm misusing global variables. > I doing a set of timers, each on a different card. Being lazy,I copied > the first card and adjusted things, using the same global variables. I > used global as there are several buttons on each card that add to the > same set of variables/fields (on the same card) > > Now I discover that I'm changing the variable contents in the other > cards as well. > My thoughts: > 1. go through a hundred or so buttons and change the variable names (a > terrible thought) where ever they appear in the scripts > 2. ?? move the declarations from outside the handlers to inside the > handlers?? This would be quicker as I wouldn't have to edit all the > scripts, just cut and paste. > > What I think I want (but not sure) is a set of variables that work > 'globally' on one card, for all the handlers on that card, but no > other card. > > Oh, and I don't want to empty the variables till the program closes as > the user will want to print the cards (marked through a button on each > card) at the end of the session, just before quitting. From dsc at swcp.com Tue Sep 2 00:59:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 00:59:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <03E38A96-DD07-11D7-917B-000393529642@mindlube.com> Message-ID: On Monday, September 1, 2003, at 11:33 PM, Alex Rice wrote: > Speaking of that script, do you know why it's output is wrapped with > the lines "external startup", "external exit"? > > #!/usr/local/bin/mc > on startup > put "hello world" > end startup > > ./test.sh > external startup > hello world > external exit New to me. I have been using the Darwin version from MC and don't see that. (Or I stumbled on something.) Dar Scott From monte at sweattechnologies.com Tue Sep 2 01:03:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Sep 2 01:03:01 2003 Subject: Image Library Import In-Reply-To: Message-ID: > Monte - > > Thanks for the help. I was successful in getting an image into the > stack using the "Import as control" under the File menu. > > then, to get it into the library, I selected the image on the card, > opened the library to my stack. The only way I could get it into the > library was to select a different library, then back to my stack > library and Poof! it appeared. It also works if I click the Objects tab > and then back on the Image tab - the image gets imported. > > 10.2.6 and Rev 2.1 > > The "import selected' didn't do anything, nor did the "Import file" > > What does the "Import File..." button do? When is it used? Oops.. spoke too soon. It looks like you can import images directly using that button, however, Standard and Cursor libraries seem to be protected. It only needs an all images in folder button and the ability to change the dimensions of each image box for me to be happy with it now ;-) Cheers Monte From rodneytamblyn at paradise.net.nz Tue Sep 2 01:03:16 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Tue Sep 2 01:03:16 2003 Subject: making stack self contained - auto import images? In-Reply-To: Message-ID: <042DB560-D9E6-11D7-863E-003065F97100@paradise.net.nz> If you've created a stack which uses images you've copied in from other stacks, is there any easy way to make this stack self contained (copy all the images from other stacks it has referenced into it). For example: create stack 1, import image, make a button and set it's icon to the image create stack 2, copy button from stack 1. Button will display with image (as image is available in stack 1). Is there a standard way to make this stack self contained importing the image button requires? Put another way, is there any way to resolve an icon id and determine exactly where the original object is? ~ Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From alex at mindlube.com Tue Sep 2 01:09:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 2 01:09:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: Message-ID: <26036492-DD0B-11D7-885E-000393529642@mindlube.com> On Monday, September 1, 2003, at 11:53 PM, Dar Scott wrote: > New to me. I have been using the Darwin version from MC and don't see > that. (Or I stumbled on something.) OK I was using the runrev.com version. I guess I'll use the metacard version instead. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From monte at sweattechnologies.com Tue Sep 2 01:10:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Sep 2 01:10:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <03E38A96-DD07-11D7-917B-000393529642@mindlube.com> Message-ID: > > > > How is it harder than Perl? > > Using Rev for shell scripting seems kind of like a mismatch so far. I > guess I just got off to a rough start. > > I worked with it an hour or two today when I could have just done it in > Perl and been done in a few minutes. Admittedly I was in a hurry and it > wasn't a good setting for the experimentation required. > > Also it worries me that command-line and CGI usage of Rev seems to be > undocumented. People on the list keep saying stuff like "how do you get > XYZ to work in the command-line/cgi engine". Pierre just said some > graphical related stuff doesn't work but I don't understand why not, or > what wouldn't be expected to work. > > Perl is difficult in it's own ways. But Perl is intended for Unix shell > scripting and it has a lot of idioms that make it really useful for > that kind of thing. And easy, after you learn it's bizarre syntax. > > > Can you not build upon the hello world you did? > > No I could... > > Speaking of that script, do you know why it's output is wrapped with > the lines "external startup", "external exit"? > > #!/usr/local/bin/mc > on startup > put "hello world" > end startup > > ./test.sh > external startup > hello world > external exit Hi Alex The current CGI engines have had the externals imorted in at compile time so they are accessible. I don't know why Tuviah has added the external debugging output??? If you don't want xml parsing or databases then you could always use the older engines from metacard.com. Errors are also written to stderr Regards Monte From dsc at swcp.com Tue Sep 2 01:11:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 01:11:01 2003 Subject: variable list? Global var confusion In-Reply-To: <34522486-DD08-11D7-A9D8-000393911676@willamette.edu> Message-ID: <60C92275-DD0B-11D7-A6FC-000A9567A3E6@swcp.com> On Monday, September 1, 2003, at 11:42 PM, John Tenny wrote: > What I have is from 2 to 10 buttons on a card, each adding/calculating > percent of totals for all the corresponding fields. Right now, I have > the scripts in each button, but they all access common variables. Is > there a way to put all that scripting into the card script? Or do you > mean that I can declare the variables as local in the card script, and > then have the handlers in each button as needed? There's no conflict > within the individual card, only between different cards. One method is to leave each variable as local to the card script and use a function to get it and a handler to set it. Another is to move most of your scripts to the card and have each button call a card script, perhaps with some parameters, perhaps just one with the field name. The script can also use 'the target' to see which button was clicked, but that may not be needed here. (Your aside: Responding to mail in a digest is tedious and prone to errors. I don't have good advice, except to note that I set up mail sorting on my mail client and address the lots-of-mail problem that way, that is, without a digest. The problem is that I get chatty with that scheme.) Dar Scott From sarahr at genesearch.com.au Tue Sep 2 01:16:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Sep 2 01:16:00 2003 Subject: Subject: Re: variable list? Global var confusion In-Reply-To: <34522486-DD08-11D7-A9D8-000393911676@willamette.edu> Message-ID: <71B5D64A-DD0B-11D7-8B8C-0003937A97B8@genesearch.com.au> > Thanks for the clues. What I have is from 2 to 10 buttons on a card, > each adding/calculating percent of totals for all the corresponding > fields. Right now, I have the scripts in each button, but they all > access common variables. Is there a way to put all that scripting into > the card script? Or do you mean that I can declare the variables as > local in the card script, and then have the handlers in each button as > needed? There's no conflict within the individual card, only between > different cards. Move the button scripts into the card script, giving them unique names e.g. buttonOne, buttonTwo. There are really two ways to call them after that: 1. Have a general mouseUp handler that first checks "the target" and then calls various handlers based on the target i.e. the thing clicked. 2. In your buttons, have their mouseUp handler call a card script handler directly. The locals are only available in a single script (card script, button script etc.) so you are going to have to re-structure your scripts a bit. > > and unrelated -- what's the best way to reply to an individual post > within the digest? No special way, just make sure you use the actual subject instead of the digest subject :-) Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From scott at tactilemedia.com Tue Sep 2 02:14:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Sep 2 02:14:01 2003 Subject: window decorations "system,empty" In-Reply-To: Message-ID: Recently, Alex Rice wrote: > 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. Did you find solution for this that works on a systemWindow? (Jacqueline's solution only works for std palette windows.) I've spent a good couple of hours trying to find a way to remove the titlebar from a system window to no avail. Rev Guys, it sure would be nice to be able to do this... Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From briany at qldlearning.com Tue Sep 2 02:31:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Tue Sep 2 02:31:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <26036492-DD0B-11D7-885E-000393529642@mindlube.com> Message-ID: Alex, I think you'll be happy with the Metacard version for simple shell scripts. Just stick it in a directory, create a text file and go. The darwin engine with externals is great in it's own right, but for simplicity grab the old Metacard one and start with: #!mc on startup put "That's better." end startup Good luck! Brian > OK I was using the runrev.com version. I guess I'll use the metacard > version instead. From wouter.abraham at pi.be Tue Sep 2 04:05:03 2003 From: wouter.abraham at pi.be (wouter) Date: Tue Sep 2 04:05:03 2003 Subject: The Directory Walker revisited In-Reply-To: <200309020013.UAA30777@www.runrev.com> Message-ID: On dinsdag, sep 2, 2003, at 02:13 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 10 > Date: Mon, 1 Sep 2003 18:05:22 -0600 > Subject: Re: The Directory Walker revisited > From: Dar Scott > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > snip > On Monday, September 1, 2003, at 04:45 AM, wouter wrote: > >> Upon examining the nice (recursive) directory walking script: > ... >> But I watched it bump into the recursion-limit wall. > > From the Transcript Dictionary Entry: > >> By default, the recursionLimit property is set to 1000000. > > I assume values, context, and most things are not on the stack but are > pointed to by internal values on the stack. I could very well be > wrong. I would be surprised if a stack entry was 100 bytes but I would > think it would be under 1K. That means a depth limit of 1000 calls. > This is all speculation. Testing is left for the curious. > > Now directories nested 1000 deep seems unusual. That is true but the amount of recursion is not equal to the depth of the directories. It is equal to the total amount of directories. And this number can easily surpass 1000. > Perhaps this is running into a first-rest nesting as well. (I haven't > looked at the latest of the script.) Even so, that does seem strange. > > Dar Scott > Have a good morning WA PS I appologize in advance if my responses are redundant because the mail traffic over here seems to be lagging way behind... From richmond at mail.maclaunch.com Tue Sep 2 04:18:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue Sep 2 04:18:01 2003 Subject: Odd-Shaped Drawers Message-ID: Dear RunRev Afficionados, I have just uploaded a new stack to my website ('Y-FRONTS') that attempts to produce the effect of an odd-shaped drawer - howver, as you will see if you examine it, there is a problem with a substack being visible for a split second when the stack loads; not good. I should 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 psahores at easynet.fr Tue Sep 2 04:20:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Sep 2 04:20:00 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: References: Message-ID: <1062494026.2593.70.camel@www.kmax.ici> Le mar 02/09/2003 ? 06:49, Alex Rice a ?crit : > On Monday, September 1, 2003, at 03:05 PM, Pierre Sahores wrote: > > > All the metatalk/transcript syntax works, except "idle" and, of course, > > the display and graphical dedicated functions/commands. I'm not sure i was clear enough about this point : as long as the cgi engine is only dedicated to get the STDIN port input as a sequence of parameters, to do them parsed by the cgi script handlers and to send the result back to the STDOUT port, the work is limited to calculations, without care about how the output reply will be handled and parsed by the client-side app (webbrowser -> html, RR or whatever propretary front-end -> plain text). > If the command-line engine requires X11 libraries, which it apparently > does, then why wouldn't display and graphical functions work? Even if they are available, they are mostly unused in the STDIN to STDOUT paradigm, even if it can probably be found exceptions. > I can see why "idle" and other top-level event-related things would > differ. > > Is command-line and CGI usage of the Rev engine documented somewhere? Mostly not, even if some starter points are available on both the RunRev and Metacard sites. Hope this will be covered by Dan's books ;-) > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- Best 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 psahores at easynet.fr Tue Sep 2 04:39:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Sep 2 04:39:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <3F53F650.30003@hyperactivesw.com> References: <053D478D-DCB1-11D7-A6FC-000A9567A3E6@swcp.com> <1062450282.2699.59.camel@www.kmax.ici> <3F53F650.30003@hyperactivesw.com> Message-ID: <1062495163.2592.85.camel@www.kmax.ici> Le mar 02/09/2003 ? 03:45, J. Landman Gay a ?crit : > On 9/1/03 4:05 PM, Pierre Sahores wrote: > > > All the metatalk/transcript syntax works, except "idle" and, of course, > > the display and graphical dedicated functions/commands. > > Has anyone been able to get "find" to work in a cgi? I think I remember > someone said they could, but I have never been able to. Hi Jacque, Did you try this ? #!mc -- cgi script text file on startup ... start using stack "FindContainer" -- regular IDE builded stack, unlaunched but -- stored in the same directory than the cgi script one go cd 1 of stack "FindContainer" find "azerty" put the target ... end startup This should work ;-) Kind Regards, Pierre From psahores at easynet.fr Tue Sep 2 04:40:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Sep 2 04:40:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: <7A0D1873-DCDB-11D7-A5B3-0003937A97B8@genesearch.com.au> References: <7A0D1873-DCDB-11D7-A5B3-0003937A97B8@genesearch.com.au> Message-ID: <1062495240.2592.87.camel@www.kmax.ici> Le mar 02/09/2003 ? 02:22, Sarah a ?crit : > Not at all, I don't like it. It feels like I'm not in total control of > the script and I can't see the comments I put before nearly every > handler. > > Cheers, > Sarah The same here. Bests, Pierre From psahores at easynet.fr Tue Sep 2 04:45:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Sep 2 04:45:00 2003 Subject: Rev CGI Engine and IIS In-Reply-To: <000101c370e0$060a0110$6400a8c0@fusion> References: <000101c370e0$060a0110$6400a8c0@fusion> Message-ID: <1062495532.2593.93.camel@www.kmax.ici> Le mar 02/09/2003 ? 01:23, Mike Doub a ?crit : > Has anyone be able to use revolution as a cgi engine with IIS? I would > appreciate any guidance in setting up the proper configuration. > > Thanks > Mike > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Hi Mike, I did it four years ago under MC 2.32 + WinNT4 SP5 + IIS4. I reported how it worked on the Metacard at bests archive list (the old one). It should work with some adaptations in using the RR engine. Best Regards, Pierre From malte.brill at t-online.de Tue Sep 2 05:49:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Tue Sep 2 05:49:01 2003 Subject: numbers only field In-Reply-To: <200309020616.CAA12469@www.runrev.com> Message-ID: o.k I?m getting slow. :-) I only want to post this as an addition to Klaus script. It also allows negative numbers. It puts 0. into the field if it is empty and the period key is pressed. In the fields script: on keydown theKey if theKey is in "1234567890" then pass keydown end if if theKey="." and "." is not in me then if me is empty or the number of chars of me=1 and char 1 of me="-" then put "0." after me else pass keydown end if end if if theKey="-" then if me is empty then pass keydown else if the first char of me <>"-" then put "-" before the first char of me put "" after the last char of me else put "" into the first char of me put "" after me end if end if end if end keydown regards, Malte From themacguy at elp.rr.com Tue Sep 2 05:56:01 2003 From: themacguy at elp.rr.com (Barry Levine) Date: Tue Sep 2 05:56:01 2003 Subject: Manipulating an object cloned from a group Message-ID: If I clone an object belonging to an invisible group, the new object belongs to that group. If I'd like to manipulate that object all by its lonesome (make it visible, change its location, and delete it), how would I go about doing this? TIA, Barry From klaus at major-k.de Tue Sep 2 06:14:00 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Sep 2 06:14:00 2003 Subject: Manipulating an object cloned from a group In-Reply-To: Message-ID: Hi Barry, > If I clone an object belonging to an invisible group, the new object > belongs to that group. > If I'd like to manipulate that object all by its lonesome (make it > visible, change its location, > and delete it), how would I go about doing this? You can do this, assumed the name of the cloned grp = "clone" (not very clever, i know ;-) ... set the loc of btn "bill" of grp "clone" to 100,100 ## will distinguish this button from the button with the same name of grp "original" ... delete btn "bill" of grp "clone" ... To make one object of an invisible grp visible i would use a repeat-loop like: ... repeat with i = 1 to the num of controls of grp "clone" hide control i of grp 1 end repeat ### necessary since we have to set the group to visible!!! show btn "bill" of grp "clone" ... Un-/lock screen will speed things up, if you have lots of controls... Hope that helps... > TIA, > Barry Regards Klaus Major klaus at major-k.de www.major-k.de From graham.samuel at wanadoo.fr Tue Sep 2 06:21:01 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Tue Sep 2 06:21:01 2003 Subject: radioBehavior problem Message-ID: <5.2.1.1.0.20030902130754.00c4b370@pop.wanadoo.fr> I have a group of radio buttons which are intended as indicator lights. The radioBehavior of the group is set to true, and this can be confirmed in the message box. However when I set the hilite of one of the buttons in the group to true by script (rather than clicking the button), it doesn't turn off the hilites of the other buttons, and I can end up with all of them hilited. This seems contrary to the TD. A typical line of script is: set the hilite of btn "ReachedLevel2" of cd 1 of stack "Level_Indicators" to true What am I doing wrong? (I should say I'm still using RR 2.0.1 as I try to avoid long downloads in my current location. Roll on broadband in Rural France!) TIA for any explanation Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From post at schlickis-welt.com Tue Sep 2 06:21:17 2003 From: post at schlickis-welt.com (post at schlickis-welt.com) Date: Tue Sep 2 06:21:17 2003 Subject: Minimize to systray Message-ID: Hi, has anybody an idea, how I can minimize the windows version of my runrev-distributions to the systray of windows instead of the task bar? mfg, Daniel From klaus at major-k.de Tue Sep 2 06:44:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Sep 2 06:44:01 2003 Subject: radioBehavior problem In-Reply-To: <5.2.1.1.0.20030902130754.00c4b370@pop.wanadoo.fr> Message-ID: Hi Graham, > I have a group of radio buttons which are intended as indicator lights. > The radioBehavior of the group is set to true, This requires a special syntax, see below... > and this can be confirmed in the message box. However when I set the > hilite > of one of the buttons in the group to true by script (rather than > clicking the button), > it doesn't turn off the hilites of the other buttons, and I can end up > with all of them > hilited. This seems contrary to the TD. > > A typical line of script is: > > set the hilite of btn "ReachedLevel2" of cd 1 of stack > "Level_Indicators" to true > > What am I doing wrong? Do this: set the hilitedbuttonname of grp "your group" of cd 1 of stack "Level_Indicators" to "ReachedLevel2" Should work as exspected :-) I think your syntax will somehow override the "radioBehavior" of that group... Can anyone confirm this? > (I should say I'm still using RR 2.0.1 as I try to avoid long > downloads in my current location. Same in 2.0x and 1.x... > Roll on broadband in Rural France!) > > TIA for any explanation Hope that helps... > Graham > > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France Regards Klaus Major klaus at major-k.de www.major-k.de From shaosean at unitz.ca Tue Sep 2 07:06:00 2003 From: shaosean at unitz.ca (Shao Sean) Date: Tue Sep 2 07:06:00 2003 Subject: window decorations "system,empty" In-Reply-To: Message-ID: <000201c37149$b7fc1c50$fe42fea9@ciceronvv6jwd4> on windows-based machines i wrote a dll that allows for top-level windows.. Sean | http://shaosean.tk/ -----Original Message----- > decorations "system,empty" is invalid though. Did you find solution for this that works on a systemWindow? (Jacqueline's From wouter.abraham at pi.be Tue Sep 2 07:39:00 2003 From: wouter.abraham at pi.be (wouter) Date: Tue Sep 2 07:39:00 2003 Subject: The Directory Walker revisited In-Reply-To: <200309020616.CAA12469@www.runrev.com> Message-ID: <989D6506-DD41-11D7-B5E7-000502990960@pi.be> On dinsdag, sep 2, 2003, at 08:16 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 4 > Date: Mon, 1 Sep 2003 22:59:27 -0600 > Subject: Re: The Directory Walker revisited > From: Alex Rice > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Monday, September 1, 2003, at 01:11 PM, wouter wrote: > >> I am sure you can figure out why. > > What is this, a riddle? Actually I can't, which is why I posted my > question. < The value is the size in bytes of the CPU call stack. The actual function call depth limit will depend on such factors as the CPU type, how functions are called, and the number of parameters passed to each function. > There is a big difference between the mechanism of a recursive handler/routine and a repeat loop. Each handler/routine that calls itself is not finished. So all pointers and params are kept in the stack memory. If the recursive handler has reached the end of its purpos, it has to trace back and eventually finish other statements after the recursive call and finish itself for each instance of itself. This mechanism can grow the heap and stack in memory beyond acceptable limits if there is no recursionLimit. And if memory management in the app and/or in the operating system is not protected, a collision or an overwrite could happen which results in a crash of the app and in the worst case of the operating system. A repeat loop on the contrary has a complete different memory management, does not have to trace back and lives mostly, if not totally, in the heap. > Are you saying the recursionLimit is so broken and or unhelpful that > you have to rewrite something as without recursion? Though recursion can be a very elegant way of programming, only use it if you are sure the amount of recursion is not going to exceed its limit . While using a try-catch structure is preventing the blocking by a error dialog, it sure is no solution to be used in an app that is meant to be used by others as it is not fulfilling its end. > Alex Rice | Mindlube Software | http://mindlube.com Have a nice afternoon, WA PS same as before : I appologize already in advance if the answer is redundant because of the slow mail traffic over here. From alex at mindlube.com Tue Sep 2 08:18:00 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 2 08:18:00 2003 Subject: window decorations "system,empty" In-Reply-To: Message-ID: <0A97FCEA-DD47-11D7-B26C-000393529642@mindlube.com> On Tuesday, September 2, 2003, at 01:08 AM, Scott Rossi wrote: > Did you find solution for this that works on a systemWindow? > (Jacqueline's > solution only works for std palette windows.) No it seems not possible. BTW Jaqueline, thanks for the suggestion: a palette window will work for me. I guess... I'm sure sure what a palette window is :-) I had better reread the docs. > I've spent a good couple of > hours trying to find a way to remove the titlebar from a system window > to no > avail. Rev Guys, it sure would be nice to be able to do this... Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jtenny at willamette.edu Tue Sep 2 08:40:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Tue Sep 2 08:40:01 2003 Subject: Image Library Import In-Reply-To: <200309020615.CAA12397@www.runrev.com> Message-ID: Monte- The Import File... button on my computer is dead. It's a nice blue, but nothing happens. Does it work on yours? And the 'all images in folder button' does, in my computer, have a work around. I made a new card. Went to File-Import as control-All images in folder. Selected a folder and all the images were imported onto that card. Then went to the Image Library window that I already had open (not sure if that makes a difference) to the image tab. Clicked on the Objects tab, then back on the Image tab, and all the images on the card were brought into the library. the bad news is that deleting an image from the image library also deletes it from the card and deleting from the card also deletes from the library. The other bad part is that the library image box is just a window into the original image, and most of the time I can't tell what the image is. It didn't minimize the image enough to identify it. Is that the way it's all supposed to work? Doesn't seem right. John On Monday, September 1, 2003, at 11:15 PM, use-revolution-request at lists.runrev.com wrote: > Send use-revolution mailing list submissions to Oops.. spoke too soon. > It looks like you can import images directly using that button, > however, Standard and Cursor libraries seem to be protected. > It only needs an all images in folder button and the ability to > change the dimensions of each image box for me to be happy with it now > ;-) > > Peace, John Flowing Thought Educational Solutions 503-508-3398 From mdswindell at charter.net Tue Sep 2 08:47:00 2003 From: mdswindell at charter.net (Mark Swindell) Date: Tue Sep 2 08:47:00 2003 Subject: Showing one image in a hidden group of images In-Reply-To: Message-ID: Does the whole group have to be invisible? If there are only four images, why not make the group visible, set the individual images invisible via a repeat when needed, then show the proper one when clicked? Mark 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. From steve at nexpath.com Tue Sep 2 10:37:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Tue Sep 2 10:37:01 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: References: Message-ID: <3F54B9CC.6070403@nexpath.com> Alex Rice wrote: > >> # export DISPLAY=":0.0" >> > Steve, thanks - I know about the DISPLAY variable and it's function on > X11. OS X does not include X11, it uses it's own display and graphics > system. X Windows is available as a separate download however 99% of OS > X users probably don't even know it exists and have no need for it. > Sorry, I keep forgetting who on this list has a Linux background and who doesn't. I was wondering about the Mac having X; too lazy to go downstairs to where the kids have the Mac and check. Anyway, I saw the shell commands at the front of the file, and since I knew "mc" wasn't installed on Linux, I never tried executing a .rev file. I just assumed you had to load it with the IDE or else make a distribution file. I still don't like the binary .rev file format. I could probably get used to it if RR would document the format, but they refuse. I asked. -Steve From alex at mindlube.com Tue Sep 2 11:16:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 2 11:16:01 2003 Subject: The Directory Walker revisited In-Reply-To: <989D6506-DD41-11D7-B5E7-000502990960@pi.be> Message-ID: On Tuesday, September 2, 2003, at 06:33 AM, wouter wrote: > Though recursion can be a very elegant way of programming, only use it > if you are sure the amount of recursion is not going to exceed its > limit . > While using a try-catch structure is preventing the blocking by a > error dialog, it sure is no solution to be used in an app that is > meant to be used by others as it is not fulfilling its end. OK! Thanks for clarifying. Good evening, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jacque at hyperactivesw.com Tue Sep 2 11:18:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 11:18:00 2003 Subject: command-line/CGI Revolution engine questions In-Reply-To: <1062495163.2592.85.camel@www.kmax.ici> References: <053D478D-DCB1-11D7-A6FC-000A9567A3E6@swcp.com> <1062450282.2699.59.camel@www.kmax.ici> <3F53F650.30003@hyperactivesw.com> <1062495163.2592.85.camel@www.kmax.ici> Message-ID: <3F54C15F.6030607@hyperactivesw.com> On 9/2/03 4:32 AM, Pierre Sahores wrote: > Le mar 02/09/2003 ? 03:45, J. Landman Gay a ??crit : > >>Has anyone been able to get "find" to work in a cgi? I think I remember >>someone said they could, but I have never been able to. > > Did you try this ? > > #!mc -- cgi script text file > on startup > ... > start using stack "FindContainer" > -- regular IDE builded stack, unlaunched but > -- stored in the same directory than the cgi script one > go cd 1 of stack "FindContainer" > find "azerty" > put the target > ... > end startup > > This should work ;-) Yes, I did that but it didn't work. I also tried setting the defaultstack after the "start using" command, but it didn't work either. However, I've got an older version of MetaCard on my web site so I should probably install a newer version and see if that fixes it. If anyone else has any tips, I'd like to hear them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Sep 2 11:22:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 11:22:01 2003 Subject: making stack self contained - auto import images? In-Reply-To: <042DB560-D9E6-11D7-863E-003065F97100@paradise.net.nz> References: <042DB560-D9E6-11D7-863E-003065F97100@paradise.net.nz> Message-ID: <3F54C233.2090401@hyperactivesw.com> On 8/29/03 12:59 AM, Rodney Tamblyn wrote: > If you've created a stack which uses images you've copied in from other > stacks, is there any easy way to make this stack self contained (copy > all the images from other stacks it has referenced into it). > > For example: create stack 1, import image, make a button and set it's > icon to the image > create stack 2, copy button from stack 1. Button will display with > image (as image is available in stack 1). Is there a standard way to > make this stack self contained importing the image button requires? > > Put another way, is there any way to resolve an icon id and determine > exactly where the original object is? You could run a script inside Stack2 that loops over all the images and checks their long ID. If the ID doesn't contain the short name of Stack1, it means the image is located elsewhere. In that case, issue the command: copy image ID from stack "Stack1" to this card That should bring them all over. If your images are not all located in Stack1, then you'd need to parse the ID to get the actual name of the stack the image is really in. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at shafermedia.com Tue Sep 2 11:26:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Tue Sep 2 11:26:01 2003 Subject: Keep Your Installation Image Around Message-ID: <5833777A-DD61-11D7-9898-0030656FB5D4@shafermedia.com> I'm not sure what happened, but my copy of Rev 2.1 final absolutely refused to launch completely this morning. It would get to the part of the load process where it was "Loading Menus, Plug Ins..." and just hang. There was a beach-ball cursor, but it was not even spinning. I force-quit, compared the plug-ins folder contents to that of my Rev 2.1 RC1 folder. They were identical except the 2.1 folder had RevTools in it. I removed it and tried again. No joy. Finally, after a good bit of fiddling, I just trashed Rev 2.1 and reinstalled it. It' humming happily along now. Obviously, something got corrupted. But a word to the wise: don't throw away the installer (in this case, the .dmg file for OS X). You may need it! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From dan at shafermedia.com Tue Sep 2 11:33:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Tue Sep 2 11:33:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? Message-ID: <4EED19D7-DD62-11D7-9898-0030656FB5D4@shafermedia.com> I would find single-handler mode a tad bit more usable if it showed the entire script, including the on/function header and the end line. I think newbies could easily be confused by the absence of those lines. So I don't discuss this view in my book, though I do discuss (and use) the two-pane view where the handlers are listed on the left and the code on the right. That view would be more usable if the scrolling were more intelligent (i.e., when I click on a handler, I'd like to see as much of it in the view as possible rather than sometimes having it highlight just the header and have that be the last line in the window. I'd also love it if I could command-click or something on the handler's name and have Rev select its entirety so I could copy and paste it. But on the whole I find the ability to fiddle with different script window views to be a useful idea that may just need a tad more attention in future releases. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From bornstein at designeq.com Tue Sep 2 11:34:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Tue Sep 2 11:34:01 2003 Subject: radioBehavior problem Message-ID: <200309021628.h82GSScT004371@ms-smtp-03.nyroc.rr.com> >A typical line of script is: > >set the hilite of btn "ReachedLevel2" of cd 1 of stack "Level_Indicators" >to true > >What am I doing wrong? Try this: click at the loc of btn "ReachedLevel2" of cd 1 of stack "Level_Indicators" Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From themacguy at macosx.com Tue Sep 2 11:45:02 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Sep 2 11:45:02 2003 Subject: Manipulating an object cloned from a group - no cloning needed In-Reply-To: <200309021219.IAA22647@www.runrev.com> Message-ID: <09DB60FE-DD64-11D7-B151-000A95763ABC@macosx.com> Klaus, I had latched onto the "copy" and "clone" commands as an alternative to failing to make only one specific image in a hidden group of images visible. The answer was found within your reply. Prior to your post I had tried: set the visible of image "mail" to true That didn't work. I then tried the same line but modified like this: set the visible of image "mail" of group "icons" to true That didn't work. However, if I first made the group visible, I could then make the images in that group invisible (following the general thrust of your script). So the script required seems to be this: -- a few lines of code above this determine which image to show -- and place its name into the var myImage set the lockScreen to true show group "icons" -- always named thusly repeat with i = 1 to the number of controls in group "icons" if the short name of control i of group "icons" is myImage then -- do nothing else hide control i of group "icons" end repeat set the lockScreen to false wait 2 seconds -- or the appropriate amount of time set the lockScreen to true repeat with i = 1 to the number of controls in group "icons" show control i of group "icons" -- there are never more than 7 total end repeat hide group "icons" set the lockScreen to false Now I don't need to "copy" or "clone" anything. I had been frustrated by the inability to make visible just one control in that group; of course, I had not been thinking hierarchically - the group was invisible therefore I had to make it visible first before I could make the rest of the objects in that group INvisible. Still, one might wonder: So what? If the group was now visible, how could I make one control in that group behave otherwise? Seems like an inconsistency (and I may be thinking non-hierarchically again). However, I'm not complaining as the problem seems to be resolved in a manner that plays nicely with encryption.Thanks again for your help. I owe you another beer. Regards, Barry On Tuesday, Sep 2, 2003, at 06:19 America/Denver, Klaus illuminated: > Date: Tue, 2 Sep 2003 13:08:14 +0200 > Subject: Re: Manipulating an object cloned from a group > From: Klaus Major > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Hi Barry, > >> If I clone an object belonging to an invisible group, the new object >> belongs to that group. >> If I'd like to manipulate that object all by its lonesome (make it >> visible, change its location, >> and delete it), how would I go about doing this? > > You can do this, assumed the name of the cloned grp = "clone" > (not very clever, i know ;-) > ... > set the loc of btn "bill" of grp "clone" to 100,100 > ## will distinguish this button from the button with the same name of > grp "original" > ... > delete btn "bill" of grp "clone" > ... > > To make one object of an invisible grp visible i would use a > repeat-loop like: > ... > repeat with i = 1 to the num of controls of grp "clone" > hide control i of grp 1 > end repeat > ### necessary since we have to set the group to visible!!! > show btn "bill" of grp "clone" > ... > > Un-/lock screen will speed things up, if you have lots of controls... > > Hope that helps... > Regards > Klaus Major From pixelbird at interisland.net Tue Sep 2 11:54:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 2 11:54:00 2003 Subject: Where docs? In-Reply-To: <200309020615.CAA12418@www.runrev.com> Message-ID: Howdy, I just noticed in the Development Guide that under "Images & Multimedia" the docs appear to be missing. When I click on a line, nothing happens. Where are they (others Dev Guide subjects seem to be OK)? Rev 2.0.1 TIA, Ken N. From pixelbird at interisland.net Tue Sep 2 12:00:02 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 2 12:00:02 2003 Subject: making stack self contained - auto import images? In-Reply-To: <200309020615.CAA12418@www.runrev.com> Message-ID: Hello Rodney, > Date: Fri, 29 Aug 2003 17:59:56 +1200 > Subject: making stack self contained - auto import images? > From: Rodney Tamblyn > > For example: create stack 1, import image, make a button and set it's > icon to the image > create stack 2, copy button from stack 1. Button will display with > image (as image is available in stack 1). Is there a standard way to > make this stack self contained importing the image button requires? ---------- If stack 1 is open, then yes, you can copy and paste the button into stack 2 and it will appear with the icon, because it is getting it from stack 1 (only because it is open and in memory). But if you went to the trouble If you close and remove stack 1, the icon stays on the copied button in stack 2, but that's just a temporary screen image. Perhaps, as a minimum, the engine should make it disappear to let you know the icon image is no longer available, or, at best, the copied button should take the image with it, i.e., import it as a property of the button (this is what should really happen IMHO), but that doesn't happen. However, the image is really no longer available for the icon because it isn't in stack 2. If you close and remove stack 2, then reopen it, the icon will be gone. Does this match your observations? There are several approaches, but the right one depends on how you use your stacks. My first question back to you is: What did you do with the imported image you used as an image for the button icon in stack 1? If you imported it from the menu, then it was imported as a control, you know. If it isn't onscreen, and I assume it's not, then where is it? 1) So there's the first approach. You can make a substack which contains all the imported images you will use as icons. You can batch import...follow the Dev Guide. 2) The other major approach is to keep all your images as separate files and call them as needed. You may want to keep them in the folder with the stacks that need them for easy access. HTH, Ken N. From martin at harbourtown.co.uk Tue Sep 2 12:09:01 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Tue Sep 2 12:09:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? Message-ID: I hadn't tried it until you asked, however it is something I might use sometimes, except it has one or two shortcomings. I felt quite happy with it because it was reminiscent of working in RealBasic. FWIW my first impression was that if it just showed the complete handler I might use it a lot. If a script contains a lot of exisiting handlers and is long, text-editing can become unresponsive, and the single handler view could be handy in that situation. Trying to separate the globals, locals and parameters just seemed a bit superfluous to me. I took a look at an initialisation script of mine that declares 84 globals, needless to say they didn't all fit into the one-line field ;-) Another thing that I would criticise is that without the handler list turned on, the view is actually quite cryptic - what are you looking at ? how do you make a handler ? You type "on mouseup" for instance and then it vanishes, but where does it go to ? From a beginner's point of view this is actually an extra level of confusion I'd have thought. martin > Geoff Canyon asked: >How many people use Single-Handler Mode in the Script Editor? How many >people ever used it (maybe when getting started? How many people think >it is useful for getting started with Revolution? > From kray at sonsothunder.com Tue Sep 2 12:09:17 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 2 12:09:17 2003 Subject: Minimize to systray In-Reply-To: Message-ID: <00c201c37174$0e1f6770$6501a8c0@LightningFlash> Well, you could actually close your Rev app and relaunch it from the systray. Take a look at STSTray for a way to do this: http://www.sonsothunder.com/products/products.htm I've almost got STSTray 2.0 ready for release, so if you do decide to buy it you'll get a free upgrade. 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 > post at schlickis-welt.com > Sent: Tuesday, September 02, 2003 6:17 AM > To: use-revolution at lists.runrev.com > Subject: Minimize to systray > > > Hi, > > has anybody an idea, how I can minimize the windows version of my > runrev-distributions to the systray of windows instead of the > task bar? > > mfg, > > Daniel > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From jacque at hyperactivesw.com Tue Sep 2 12:16:02 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 12:16:02 2003 Subject: CGI and find In-Reply-To: <3F54C15F.6030607@hyperactivesw.com> References: <053D478D-DCB1-11D7-A6FC-000A9567A3E6@swcp.com> <1062450282.2699.59.camel@www.kmax.ici> <3F53F650.30003@hyperactivesw.com> <1062495163.2592.85.camel@www.kmax.ici> <3F54C15F.6030607@hyperactivesw.com> Message-ID: <3F54CF10.8010209@hyperactivesw.com> I wrote: > Has anyone been able to get "find" to work in a cgi? I think I > remember someone said they could, but I have never been able to. I'd like to pursue this some more (again; I've asked about it on the list before.) I just did some testing and am getting weird results. Because I couldn't get "find" to work with a cgi, I had written a script that loops through all the fields of each card looking for a search term. The script creates an html document out of the results, which it places into the variable "buffer", and ends by writing a minimal header like this: put "Content-Type: text/html" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer -- this contains the html text This works fine. But it would be easier and quicker to use "find" to compile the search results. I wrote a "find" routine that works well in the IDE. Everything in this second script is the same as the first script, except that instead of looping with "offset" I use "find" to locate instances of the search term. I get the same search results and the script builds the same html document. I use the same header as above when outputting the results. When I run this "find" script as a cgi, I get a "malformed header" error in the system log: malformed header from script. Bad header=0 0: /Library/WebServer/CGI-Executables/search.mt Why would a header be "malformed" in the second case and not in the first? What difference would it make how the content was collected? Every other part of both scripts is identical. What header should I use? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pixelbird at interisland.net Tue Sep 2 12:40:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 2 12:40:01 2003 Subject: radioBehavior problem In-Reply-To: <200309021219.IAA22638@www.runrev.com> Message-ID: Hi Graham, > Date: Tue, 02 Sep 2003 13:13:52 +0200 > From: Graham > Subject: radioBehavior problem > > I have a group of radio buttons which are intended as indicator lights. The > radioBehavior of the group is set to true, and this can be confirmed in the > message box. However when I set the hilite of one of the buttons in the > group to true by script (rather than clicking the button), it doesn't turn > off the hilites of the other buttons, and I can end up with all of them > hilited. This seems contrary to the TD. > > A typical line of script is: > > set the hilite of btn "ReachedLevel2" of cd 1 of stack "Level_Indicators" > to true > > What am I doing wrong? ---------- Well, I'd say scripting the hilite as you are will actually turn each one off and on separately, which is exactly the type of control you should have with that method, i.e., the ability to manually override the radioBehavior while still keeping the property. Instead, try: click at the loc of btn "ReachedLevel2" of cd 1 of stack "Level_Indicators" Note: This means the stack will need to be open and the buttons available onscreen, so if you have another stack you're working from, then this will probably only work if the stack with the radio buttons is a palette window. HTH, Ken N. From mail at richard-hillen.de Tue Sep 2 12:41:01 2003 From: mail at richard-hillen.de (R. Hillen) Date: Tue Sep 2 12:41:01 2003 Subject: ResizeQuality In-Reply-To: <200309011823.OAA17881@www.runrev.com> Message-ID: Hello list, Edwin Gore wrote about the hidden image-property "ResizeQuality" in Rev 2.1. Setting the ResizeQuality to "best" works fine on Windows, but very slow. But how to reset it? I found that "normal" worked; is that ok? And to save time it would be nice to have a "better" (and quicker) quality. Richard Hillen. From alex at mindlube.com Tue Sep 2 12:50:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 2 12:50:01 2003 Subject: CGI and find In-Reply-To: <3F54CF10.8010209@hyperactivesw.com> Message-ID: <1D37C20E-DD6D-11D7-8E50-000393529642@mindlube.com> On Tuesday, September 2, 2003, at 11:10 AM, J. Landman Gay wrote: > When I run this "find" script as a cgi, I get a "malformed header" > error in the system log: > > malformed header from script. Bad header=0 0: > /Library/WebServer/CGI-Executables/search.mt > > Why would a header be "malformed" in the second case and not in the > first? What difference would it make how the content was collected? > Every other part of both scripts is identical. > > What header should I use? I can't help with the Find question, but re: malformed header or 500 server error messages. I've done a lot of CGI programming and almost always what this means is the script is sending content *before* the http headers are sent. Try moving your "Content-type:" header to immediately after the script starts executing. Don't leave it to the very end. Then you can see any other output your script is sending by mistake, because it will be sent to the browser. You can probably skip the Content-length header. Most web servers are flexible in that regard. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Tue Sep 2 12:51:02 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 2 12:51:02 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: Message-ID: I never do, but - Some time ago I made a MivaScript editor to help me make some modifications to the Miva Merchant XML driving my e-commerce site (if any of you use Miva Merchant and need to modify mmui.mv just me an email and I'll send you the stack). Because Miva's mmui.mv script is very long I needed a way to traverse it easily. What I came up with was not particularly atom-splitting, yet has proven quite a convenience: Just to the left of the main editing field is a narrow list field listing all the handlers handlers in the file. Clicking on any handler in that list scrolls the editing field to show that handler. Conversely, scrolling the main editing field changes the hilitedline in the handler list to select the topmost handler in view in the editing field at that time. For myself, this approach gives me the convenience of something like a single-handler view, but without the cognitive dissonance reported by many here that comes when you remove a handler from its context. -- 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 klaus at major-k.de Tue Sep 2 12:57:00 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Sep 2 12:57:00 2003 Subject: no dolly needed :-) In-Reply-To: <09DB60FE-DD64-11D7-B151-000A95763ABC@macosx.com> Message-ID: <107463E6-DD6E-11D7-9E0D-000A27B49A96@major-k.de> Hi Barry, > Klaus, > > I had latched onto the "copy" and "clone" commands as an alternative > to failing to make > only one specific image in a hidden group of images visible. The > answer was found within > your reply. Prior to your post I had tried: > > set the visible of image "mail" to true > > That didn't work. I then tried the same line but modified like this: > > set the visible of image "mail" of group "icons" to true > > That didn't work. Of course, the group that acts as a "container" for these images is still invisible! > However, if I first made the group visible, I could then make the > images in that group invisible ??? You can hide/show objects in a group NO MATTER if that grp is visible of not!!! Alhough this makes no "visual" sense ;-) > (following the general thrust of your script). So the script required > seems to be this: You can save a few lines and words ;-) > -- a few lines of code above this determine which image to show > -- and place its name into the var myImage lock screen > show group "icons" -- always named thusly > repeat with i = 1 to the number of controls in group "icons" if the short name of control i of group "icons" <> myImage then hide control i of group "icons" > end repeat unlock screen wait 2 seconds with messages ## in case the user should be able to do other things in the meantime lock screen > repeat with i = 1 to the number of controls in group "icons" > show control i of group "icons" -- there are never more than 7 total > end repeat > hide group "icons" lock screen BTW, this script does nothing "display"-wise... ;-) > Now I don't need to "copy" or "clone" anything. I had been frustrated > by the inability to make > visible just one control in that group; of course, I had not been > thinking hierarchically - > the group was invisible therefore I had to make it visible first > before I could make the > rest of the objects in that group INvisible. No no, see above... > Still, one might wonder: So what? If the group was now visible, how > could I make one > control in that group behave otherwise? I have a little handler, which handles exactly that situation: on all_but_one the_bg, the_ctrl lock screen repeat with i = 1 to the num of controls in bg the_bg hide control i of bg the_bg end repeat show control the_ctrl of bg the_bg unlock screen end all_but_one Put this into the stackscript and use it whenever you like... (I refer to the group as "background" so it will always be found ;-) ... all_but_one "name of group/background", "name of object to be shown" ... > Seems like an inconsistency (and I may be thinking non-hierarchically > again). Yo, looks like ;-) > However, I'm not complaining as the problem seems to be resolved in a > manner > that plays nicely with encryption.Thanks again for your help. > I owe you another beer. SOME day i will travel the world an drink ALL of these drinks... (I'm sure my liver will "deboard" somewhere near Palmdale :-D Hope that helps... > Regards, > Barry Best from germany Klaus Major klaus at major-k.de www.major-k.de From graham.samuel at wanadoo.fr Tue Sep 2 13:01:01 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Tue Sep 2 13:01:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? Message-ID: <5.2.1.1.0.20030902193524.02098458@pop.wanadoo.fr> On Mon, 1 Sep 2003 13:30:55 -0400, "Shao Sean" wrote: >i switch between single and multiple handler views pretty much all the >time.. there are a few things i'd like to change about the single-handler >view, but on the whole it's not bad.. > >never used it when starting with rrev as i didn't even know it was there.. I still don't know it's there. I tried searching the docs ('all transcript terms') and didn't come up with anything. What does it do? The problem with RunRev is that there are always things one doesn't know... I know, it's like complaining about being too rich, but sometimes it is amazing and rather tough to hear from the list about some feature that had completely passed me by. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From graham.samuel at wanadoo.fr Tue Sep 2 13:01:12 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Tue Sep 2 13:01:12 2003 Subject: radioBehavior problem Message-ID: <5.2.1.1.0.20030902194957.02098280@pop.wanadoo.fr> On Tue, 2 Sep 2003 13:38:11 +0200, Klaus Major wrote: >Do this: > >set the hilitedbuttonname of grp "your group" of cd 1 of stack >"Level_Indicators" to "ReachedLevel2" > >Should work as exspected :-) > >I think your syntax will somehow override the "radioBehavior" of that >group... >Can anyone confirm this? Thanks Klaus. I don't see why the engine makes such a fuss of this - until you told me what to do, my next guess was to send mouseUp to the appropriate button (I have not yet tested if this will work). It seems that one has to invoke the group directly to make the radioBehavior function. Anyway thanks again - I was not looking forward to scripting this by hand as I have rather a lot of indicator lights! Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From ambassador at fourthworld.com Tue Sep 2 13:15:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 2 13:15:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: <5.2.1.1.0.20030902193524.02098458@pop.wanadoo.fr> Message-ID: Graham wrote: > I still don't know it's there. I tried searching the docs ('all transcript > terms') and didn't come up with anything. Using the Search Docs plugin, I tried "script editor" -- it's there, but there are so many entries it could be overlooked. But searching for "single-handler" returns the most relevant documentation on that feature. -- 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 Tue Sep 2 13:36:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 13:36:01 2003 Subject: CGI and find In-Reply-To: <1D37C20E-DD6D-11D7-8E50-000393529642@mindlube.com> References: <1D37C20E-DD6D-11D7-8E50-000393529642@mindlube.com> Message-ID: <3F54E1BD.6030605@hyperactivesw.com> On 9/2/03 12:44 PM, Alex Rice wrote: > I can't help with the Find question, but re: malformed header or 500 > server error messages. I've done a lot of CGI programming and almost > always what this means is the script is sending content *before* the > http headers are sent. Try moving your "Content-type:" header to > immediately after the script starts executing. Don't leave it to the > very end. Then you can see any other output your script is sending by > mistake, because it will be sent to the browser. Thanks. This did do something. I have no idea what it did though. Now when I execute the "find" script in a cgi, I get pages and pages of this stuff returned in the browser: 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 31 0 32 0 33 0 34 0 35 0 36 0 37 0 38 0 39 0 40 0 41 0 42 0 43 0 44 0 45 0 46 0 47 0 48 0 49 0 50 0 51 0 52 0 53 0 54 0 55 0 56 0 57 0 58 0 59 0 60 0 61 0 62 0 63 0 64 0 65 0 66 0 67 0 68 0 69 0 70 0 71 0 72 0 73 0 74 0 75 0 76 0 77 0 78 0 79 0 80 0 81 0 82 0 83 0 84 0 85 0 86 0 87 0 88 0 89 0 90 0 91 0 92 0 93 0 94 0 95 0 96 0 97 0 98 0 99 0 100 0 101 0 102 0 103 0 104 0 105 0 106 0 107 0 108 0 109 0 110 0 111 0 112 0 113 0 114 0 115 0 116 0 117 0 118 0 119 0 120 0 121 0 122 0 123 0 124 0 125 0 126 0 127 0 128 0 129 0 130 0 131 0 132 0 133 0 134 0 135 0 136 0 137 0 138 0 139 0 140 0 141 0 142 0 143 0 144 0 145 0 146 0 147 0 148 0 149 0 150 0 151 0 152 0 153 0 154 0 155 0 156 0 157 0 158 0 159 0 160 0 161 0 162 0 163 0 164 0 165 0 166 0 167 0 168 0 169 0 170 0 171 0 172 0 173 0 174 0 175 0 176 0 177 0 178 0 179 0 180 0 181 0 182 0 183 0 184 0 185 0 186 0 187 0 188 0 189 0 190 0 191 0 192 0 193 0 194 0 195 0 196 0 197 0 198 0 199 0 200 0 201 0 202 0 203 0 204 0 205 0 206 0 207 0 208 0 209 0 210 0 211 0 212 0 213 0 214 0 215 0 216 0 217 0 218 0 219 0 220 0 221 0 222 0 223 0 224 0 225 0 226 0 227 0 228 0 229 0 230 0 231 0 232 0 233 0 234 0 235 0 236 0 237 0 238 0 239 0 240 0 241 0 242 0 243 0 244 0 245 0 246 0 247 0 248 0 249 0 250 0 251 0 252 0 253 0 254 0 255 0 256 0 257 0 258 0 259 0 260 0 261 0 262 0 263 0 264 0 265 0 266 0 267 0 268 0 269 0 270 0 271 0 272 0 273 0 274 0 275 0 276 0 277 0 278 0 279 0 280 0 281 0 282 0 283 0 284 0 285 0 286 0 287 0 288 0 289 0 290 0 291 0 292 0 293 0 294 0 295 0 296 0 297 0 298 0 299 0 300 0 301 0 302 0 303 0 304 0 305 0 306 0 307 0 308 0 309 0 310 0 311 0 312 0 313 0 314 0 315 0 316 0 317 0 318 0 319 0 320 0 321 0 322 0 323 0 324 0 325 0 326 0 327 0 328 0 329 0 330 0 331 0 332 0 333 0 334 0 335 0 336 0 337 0 338 0 339 0 340 0 341 0 342 0 343 0 344 0 345 0 346 0 347 0 348 0 349 0 350 0 351 0 352 0 353 0 354 0 355 0 356 0 357 0 358 0 359 0 360 0 361 0 362 0 363 0 364 0 365 0 366 0 367 0 368 0 369 0 370 0 371 0 372 0 373 0 374 0 375 0 376 0 377 0 378 0 379 0 380 0 381 0 382 0 383 0 384 0 385 0 386 0 387 0 388 0 389 0 390 0 391 0 392 0 393 0 394 0 395 0 396 0 397 0 398 0 399 0 400 0 401 0 402 0 403 0 404 0 405 0 406 0 407 0 408 0 409 0 410 0 411 0 412 0 413 0 414 0 415 0 416 0 417 0 418 0 419 0 420 0 421 0 422 0 423 0 424 0 425 0 426 0 427 0 428 0 429 0 430 0 431 0 432 0 433 0 434 0 435 0 436 0 437 0 438 0 439 0 440 0 441 0 442 0 443 0 444 0 445 0 446 0 447 0 448 0 449 0 450 0 451 0 452 0 453 0 454 0 455 0 456 0 457 0 458 0 459 0 460 0 461 0 462 0 463 0 464 0 465 0 466 0 467 0 468 0 469 0 470 0 471 0 472 0 473 0 474 0 475 0 476 0 477 0 478 0 479 0 480 0 481 0 482 0 483 0 484 0 485 0 486 0 487 0 488 0 489 0 490 0 491 0 492 0 493 0 494 0 495 0 496 0 497 0 498 0 499 0 500 0 501 0 502 0 503 0 504 0 505 0 506 0 507 0 508 0 509 0 510 0 511 0 512 0 513 0 514 0 515 0 516 0 517 0 518 0 519 0 520 0 521 0 522 0 523 0 524 0 525 0 526 0 527 0 528 0 529 0 530 0 531 0 532 0 533 0 534 0 535 0 536 0 537 0 538 0 539 0 540 0 541 0 542 0 543 0 544 0 545 0 546 0 547 0 548 0 549 0 550 0 551 0 552 0 553 0 554 0 555 0 556 0 557 0 558 0 559 0 560 0 561 0 562 0 563 0 564 0 565 0 566 0 567 0 568 0 569 0 570 0 571 0 572 0 573 0 574 0 575 0 576 0 577 0 578 0 579 0 580 0 581 0 582 0 583 0 584 0 585 0 586 0 587 0 588 0 589 0 590 0 591 0 592 0 593 0 594 0 595 0 596 0 597 0 598 0 599 0 600 0 601 0 602 0 603 0 604 0 605 0 606 0 607 0 608 0 609 0 There is so much of this junk returned that I cancelled the page loading. What is this? Has anyone else ever tried to use "find" in a cgi? Is this weird, or what? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Sep 2 13:41:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 13:41:00 2003 Subject: The Directory Walker revisited In-Reply-To: <989D6506-DD41-11D7-B5E7-000502990960@pi.be> Message-ID: <1E4B7A52-DD74-11D7-B1FB-000A9567A3E6@swcp.com> On Tuesday, September 2, 2003, at 06:33 AM, wouter wrote: >> Are you saying the recursionLimit is so broken and or unhelpful that >> you have to rewrite something as without recursion? > > Though recursion can be a very elegant way of programming, only use it > if you are sure the amount of recursion is not going to exceed its > limit . > While using a try-catch structure is preventing the blocking by a > error dialog, it sure is no solution to be used in an app that is > meant to be used by others as it is not fulfilling its end. This problem occurs whether recursion is used or not. This is a long-time problem that is ignored by compiler writers and language designers. Though hitting the stack limit is definitely behavior it is usually considered outside the scope of language semantics. Even when a language designer says tail recursion optimization is used, that does not mean much in general. If recursion is not used, a compiler might be able to estimate the needed stack. I don't know of one that does. A debugger might fill a stack space with some code so that the max stack depth can be reported, but this is harder in modern memory management system especially with the stack space growing and shrinking. Another method is to check on the depth once in a while. In general all one can do is test a lot with test cases that might maximize the stack for some setting and then set it even higher. If recursion depth depends on outside data, then a either a depth test is needed or a try-catch. As you mentioned, neither does the job. However, if the maximum is very high, few would care. Some folks might prefer an error that says "Maximum folder depth of 1000 exceeded" rather than "too complicated" or "stack limit reached", so depth checking might be better. Even then a high stack size value is needed. An alternative to recursion depth checking is range checking in a wrapper function. Modern hardware and OS's adapt to this by allowing the stack space to grow and shrink. As much as I prefer recursion in simplicity and ease of programming and thus the creation of more reliable code, I have to agree that use of repeat would be less likely to blow the stack with, uh, interesting data. Even so, many 'repeat' methods would require keeping lists that would eventually hit memory limits anyway. I think we are in this mess because schools produce unix-worshiping C programmers instead of computer scientists. There was a greater advance in CS in the quarter century _before_ electronic computers than there has been in the last quarter century. Dar Scott From dsc at swcp.com Tue Sep 2 13:50:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 13:50:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: Message-ID: <62CF846C-DD75-11D7-B1FB-000A9567A3E6@swcp.com> On Monday, September 1, 2003, at 11:14 AM, Geoff Canyon wrote: > How many people use Single-Handler Mode in the Script Editor? How many > people ever used it (maybe when getting started? How many people think > it is useful for getting started with Revolution? Though Single-Handler Mode did not entice me to even try it, I think I would try a structured script editor. Dar Scott From dsc at swcp.com Tue Sep 2 14:07:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 14:07:01 2003 Subject: CGI and find In-Reply-To: <3F54CF10.8010209@hyperactivesw.com> Message-ID: On Tuesday, September 2, 2003, at 11:10 AM, J. Landman Gay wrote: > When I run this "find" script as a cgi, I get a "malformed header" > error in the system log: > > malformed header from script. Bad header=0 0: > /Library/WebServer/CGI-Executables/search.mt > > Why would a header be "malformed" in the second case and not in the > first? What difference would it make how the content was collected? > Every other part of both scripts is identical. Maybe running this as a command line app will allow you to see what is written to stdout. I get the impression from your mail that you are doing this, but I thought I'd mention this. Maybe an error message is written to stdout instead of stderr. Maybe the http server is collecting up both. For example, maybe you have a permissions problem with the stack. Try wrapping the find in a try-catch and put error info in the buffer and see what the web browser displays. This might prevent an error from writing to the stdout and messing up the headers. This might be a good thing to do near the top anyway. Just babbling. Dar Scott From klaus at major-k.de Tue Sep 2 14:15:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Sep 2 14:15:01 2003 Subject: no dolly needed :-) In-Reply-To: <107463E6-DD6E-11D7-9E0D-000A27B49A96@major-k.de> Message-ID: Hi Barry, > ... >> -- a few lines of code above this determine which image to show >> -- and place its name into the var myImage !!! * > ... > BTW, this script does nothing "display"-wise... ;-) * So sorry, i overlooked this line... Regards Klaus Major klaus at major-k.de www.major-k.de From themacguy at macosx.com Tue Sep 2 14:18:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Sep 2 14:18:01 2003 Subject: shell command specifics? Message-ID: <75D3CBAA-DD79-11D7-B151-000A95763ABC@macosx.com> Hoping that I'm not asking a question that requires giving away any trade secrets, I'd like to know how to pass a list of file pathnames to the disc burning software in OSX. Basically, I'd like to add a backup function to my application. Has anyone done this and, if so, do you feel like telling me how? Thanks, Barry From soapdog at mac.com Tue Sep 2 14:21:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Tue Sep 2 14:21:01 2003 Subject: About mixing Database Query Builder with normal database library calls. Message-ID: <5956ADFA-DD7A-11D7-A943-00039387AE90@mac.com> Hi Folks, I have a couple doubts that revGurus our there might clear. I am creating a simple app to manage a couple MySQL tables. Its the common tasks (insertion, modification, deletion), to navigate the database I am using Database Query Builder, filling fields with the data and some buttons to navigate. But I cannot use Query Builder to insert a Record can I? How can I identify what is the current record (so that i can disable the "previous" and "next" buttons when they reach the limits)? Cheers Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From tuviah at runrev.com Tue Sep 2 14:26:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Tue Sep 2 14:26:00 2003 Subject: resizequality References: <200309021737.NAA03474@www.runrev.com> Message-ID: <002d01c37187$40eaf710$afbe040a@user> >Setting the ResizeQuality to "best" works fine on Windows, but very >slow. >But how to reset it? Set it to good. >And to save time it would be nice to have a "better" (and quicker) >quality. We may look into using Bresenham to do image scaling, performance is much better and quality nearly as good. The one we are using now has excellent quality but yes can be very slow (although for some reasons it's actually pretty fast on Linux). Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From alex at mindlube.com Tue Sep 2 14:55:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 2 14:55:01 2003 Subject: shell command specifics? In-Reply-To: <75D3CBAA-DD79-11D7-B151-000A95763ABC@macosx.com> Message-ID: <7815B6D6-DD7E-11D7-8E50-000393529642@mindlube.com> On Tuesday, September 2, 2003, at 01:12 PM, Barry Levine wrote: > Hoping that I'm not asking a question that requires giving away any > trade secrets, I'd like to know how to pass a list of file pathnames > to the disc burning software in OSX. Basically, I'd like to add a > backup function to my application. Has anyone done this and, if so, do > you feel like telling me how? Never done it myself, although used to do shell scripting to create DMG disk images on OS X, before I purchased a license for DropDMG. The same command is used for burning and other disk operations: hdiutil. Open terminal.app and type man hdiutil [return] for the "manual" for hdiutil. Good luck! Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alptex2 at orwell.net Tue Sep 2 15:15:01 2003 From: alptex2 at orwell.net (T. R. Ponn) Date: Tue Sep 2 15:15:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? Message-ID: <3F54F8B2.8010507@orwell.net> Geoff, I don't like it (though I didn't even know it was there 'til now)...it gives me a loss of control. Many times I'll be writing an "on mouseUp" handler and at the same time a function that I'll call from within the mouseUp. Eventually, this function will end up at the stack or card level...shared by many object's mouseUps. But, while writing, it sure is handy to have it just a scroll away. Best Regards, Tim Ponn From dsc at swcp.com Tue Sep 2 15:19:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 15:19:00 2003 Subject: shell command specifics? In-Reply-To: <75D3CBAA-DD79-11D7-B151-000A95763ABC@macosx.com> Message-ID: On Tuesday, September 2, 2003, at 01:12 PM, Barry Levine wrote: > Hoping that I'm not asking a question that requires giving away any > trade secrets, I'd like to know how to pass a list of file pathnames > to the disc burning software in OSX. Basically, I'd like to add a > backup function to my application. Has anyone done this and, if so, do > you feel like telling me how? cp? (No resource fork, I would guess.) Dar Scott From alex at mindlube.com Tue Sep 2 15:34:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 2 15:34:01 2003 Subject: shell command specifics? In-Reply-To: Message-ID: On Tuesday, September 2, 2003, at 02:12 PM, Dar Scott wrote: > > cp? > > (No resource fork, I would guess.) Useful factoid: OS X has a command line app "ditto" which is kind of like cp but preserves resource fork data. 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 Tue Sep 2 15:38:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 15:38:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: <3F54F8B2.8010507@orwell.net> Message-ID: <7DC0D82A-DD84-11D7-B1FB-000A9567A3E6@swcp.com> On Tuesday, September 2, 2003, at 02:08 PM, T. R. Ponn wrote: > But, while writing, it sure is handy to have it just a scroll away. So maybe in some imaginary editor with a tree structure (or other structure) you could click expand on it (along with the mouseUp handler) during initial editing and then drag it to another tree (or branch) later. From jacque at hyperactivesw.com Tue Sep 2 15:43:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 15:43:01 2003 Subject: CGI and find In-Reply-To: References: Message-ID: <3F54FF74.90003@hyperactivesw.com> On 9/2/03 2:01 PM, Dar Scott wrote: > Maybe running this as a command line app will allow you to see what is > written to stdout. I get the impression from your mail that you are > doing this, but I thought I'd mention this. > > Maybe an error message is written to stdout instead of stderr. Maybe > the http server is collecting up both. See my other message about junk being returned. I've made some changes since then though... > For example, maybe you have a permissions problem with the stack. I just downloaded the latest Darwin engine and put that in instead. I set permissions, and the sample "echo.mt" script runs okay. So does my original "offset" script. BTW, both the "find" version and the "offset" version are in the same text document, so they have the same permissions no matter which I run. I just comment out the version I don't want to test. > Try wrapping the find in a try-catch and put error info in the buffer > and see what the web browser displays. This might prevent an error from > writing to the stdout and messing up the headers. This might be a good > thing to do near the top anyway. I moved the header line up to the top which does seem to eliminate the malformed header error. Now that I've installed the newest engine, I don't get the garbage spew. I don't get anything at all, actually -- no error, no nothing, except a "wait" cursor and an indefinite "loading..." message from the browser which stays there until I click the Stop button. Looks like an infinite loop, sort of, except that it isn't infinite when run in the IDE on the same stack. I'm searching for a known search term that has six instances. The offset script finds them all, and the "find" script finds them all in the IDE but not in the cgi, where it appears to hang. If I didn't vaguely recall that someone else was able to use "find" in a cgi, I'd just give up and say it was impossible. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alptex2 at orwell.net Tue Sep 2 16:08:00 2003 From: alptex2 at orwell.net (T. R. Ponn) Date: Tue Sep 2 16:08:00 2003 Subject: How many people use Single-Handler Mode in Script Editor? References: <7DC0D82A-DD84-11D7-B1FB-000A9567A3E6@swcp.com> Message-ID: <3F550543.8080503@orwell.net> Dar, Hmmmmmm.....and you'll have this editor available when? ;-) Best Regards, Tim Ponn Dar Scott wrote: > > On Tuesday, September 2, 2003, at 02:08 PM, T. R. Ponn wrote: > >> But, while writing, it sure is handy to have it just a scroll away. > > > So maybe in some imaginary editor with a tree structure (or other > structure) you could click expand on it (along with the mouseUp > handler) during initial editing and then drag it to another tree (or > branch) later. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dsc at swcp.com Tue Sep 2 16:13:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 16:13:01 2003 Subject: CGI and find In-Reply-To: <3F54FF74.90003@hyperactivesw.com> Message-ID: <7C2E2A48-DD89-11D7-B1FB-000A9567A3E6@swcp.com> On Tuesday, September 2, 2003, at 02:37 PM, J. Landman Gay wrote: > If I didn't vaguely recall that someone else was able to use "find" in > a cgi, I'd just give up and say it was impossible. From the doc: > When the search is successful, the card containing the text appears > and a box is drawn around the found text. One might interpret this as saying 'find' is a gui command. Maybe the garbage seen is a debug output, one of those you should "never" see. (I'd still try 'try'.) Dar Scott From dsc at swcp.com Tue Sep 2 16:15:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 16:15:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? In-Reply-To: <3F550543.8080503@orwell.net> Message-ID: On Tuesday, September 2, 2003, at 03:01 PM, T. R. Ponn wrote: > Hmmmmmm.....and you'll have this editor available when? ;-) Awwwk! Caught me! Naw, I was just scattering seeds that might grow in some other editor. Dar From themacguy at macosx.com Tue Sep 2 16:17:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Sep 2 16:17:01 2003 Subject: Showing/hiding objects in an invisible group - it works Message-ID: <00AA34DA-DD8A-11D7-B151-000A95763ABC@macosx.com> Thought I should post the solution to the problem I posed (and which Klaus & Mark addressed). Here's the handler in the field script: ----- on mouseDown put the clickChunk into whatWasClicked put the value of whatWasClicked into theWord set the lockScreen to true if there is a group "icons" then show group "icons" -- always named thusly repeat with i = 1 to the number of controls in group "icons" if the short name of control i of group "icons" is theWord then -- do nothing else hide control i of group "icons" end if end repeat set the lockScreen to false wait 1.252 seconds -- or the appropriate amount of time set the lockScreen to true repeat with i = 1 to the number of controls in group "icons" show control i of group "icons" -- there are never more than 7 total end repeat hide group "icons" set the lockScreen to false select empty end if end mouseDown ----- The "clickChunk" function works for me as I've previously set individual words or phrases in the field to a style of "link". In order to make it -not- obvious that the text was a link, I also unchecked "Underline links" in the stack's Object Inspector. The images in the group named "icons" have the same names as the words or phrases that have the link property. I know some have complained about the RevDoc's "surprise, this is a link!" yellow hiliting (preferring, instead that the links be underlined - and I'll bet this is possible). However, in my stack, the process of "discovery" aids the interactivity and draws the user into the program. (So I like the non-obvious nature of the yellow hiliting.) Also in the field script is the handler given in the doc's Transcript Cookbook (Recipe for a yellow highlight-marker effect). The hiliting can't be done without that script! BTW - The two repeat loops add nothing to the length of time it takes to show/hide the image when compared to the "copy" and "clone" nonsense I had been trying earlier. Also BTW - This script is released for use by anyone who wants to use it. As it's a compilation of techniques suggested by Klaus, Mark, and the school of hard knocks, it would be absurd for anyone to claim ownership. One final question: I'd like to put this script in the stack rather than in each card's field (25 of them at this point). I imagine I'd substitute the following code in the field script: --------------------- on mouseUp doTheRoutine end mouseUp -------------------- Then I'd rename my mouseUp handler (way above) as "doTheRoutine" and place it into the stack script. Gonna have to upload an example stack of this. Thanks very much to Klaus & Mark (and to Rev for hosting the list). Regards, Barry From themacguy at macosx.com Tue Sep 2 16:37:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Sep 2 16:37:00 2003 Subject: Disc Burning Example? Message-ID: In October of last year I asked the list if there was an example of calling Apple's Disc Burner software from Rev in OSX. Well, you've all had some time to think about this. Any bright ideas? *grin* Barry PS - Shouldn't this be an example stack in the Rev distribution? Most of us are not bare-metal programmers so it would seem that someone from the Rev team might need to step up to the plate here. From dvk at dvkconsult.com.au Tue Sep 2 16:40:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Sep 2 16:40:01 2003 Subject: The Directory Walker revisited In-Reply-To: <200309021219.IAA22606@www.runrev.com> Message-ID: <2C095462-DD8D-11D7-908D-000A95729266@dvkconsult.com.au> On Tuesday, Sep 2, 2003, at 22:19 Australia/Brisbane, wouter wrote: snip >> Now directories nested 1000 deep seems unusual. > > That is true but the amount of recursion is not equal to the depth of > the directories. That rather depends on whether you are using pre-, end- or post-order processing within the recursion. Walking the entire breadth and depth of the directory tree before processing any data would be a bit unusual. > It is equal to the total amount of directories. And this number can > easily surpass 1000. > I did not see the actual walker which started this thread but I and others have posted recursive walkers "years" ago which used a depth-first search with pre- or end-order processing, and have not hit these limits. As Dar suggests, I doubt they would have any problem processing an entire OS X volume. regards David >> > Have a good morning > WA From jacque at hyperactivesw.com Tue Sep 2 17:00:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 17:00:01 2003 Subject: CGI and find In-Reply-To: <7C2E2A48-DD89-11D7-B1FB-000A9567A3E6@swcp.com> References: <7C2E2A48-DD89-11D7-B1FB-000A9567A3E6@swcp.com> Message-ID: <3F551191.4010407@hyperactivesw.com> On 9/2/03 4:07 PM, Dar Scott wrote: > From the doc: > >> When the search is successful, the card containing the text appears >> and a box is drawn around the found text. > > > One might interpret this as saying 'find' is a gui command. I sort of got it to work. If anyone is interested, here's how. I was using this syntax: repeat find theTerm if the result is not empty then exit repeat -- gather card data into a variable here end repeat In the IDE, a "find" command will cycle until it comes back to the first instance that was found, at which point it returns "not found". That means that when the result is not empty, you are done searching. In a cgi, "not found" is returned if the search term does not exist anywhere in the stack, but as far as I can tell, it is never returned if the term does exist and the repeat loop is cycling. It will continue to find the same instances over and over. The above script works in the IDE but loops forever in a cgi. If I take this fragment out of a repeat loop and look for only one instance, "find" does work. I get back a single instance. I can also use "find in fld " and it searches only that field. But it won't work in a loop because it doesn't exit. I changed the syntax to this: mark cards by finding theTerm repeat with x = 1 to the number of marked cds -- gather card data here end repeat This works fine. You can also use "mark cards by finding theTerm in fld ". So my conclusion is that a cgi can't "find" in a repeat loop, but you can get all the instances if you "mark cards by finding". I'm not sure enough of my test results yet to report this as a bug, but it seems to be what is happening. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Sep 2 17:32:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 17:32:01 2003 Subject: CGI and find In-Reply-To: <3F551191.4010407@hyperactivesw.com> Message-ID: <6D385084-DD94-11D7-B1FB-000A9567A3E6@swcp.com> On Tuesday, September 2, 2003, at 03:54 PM, J. Landman Gay wrote: > On 9/2/03 4:07 PM, Dar Scott wrote: > >> From the doc: >>> When the search is successful, the card containing the text appears >>> and a box is drawn around the found text. >> One might interpret this as saying 'find' is a gui command. > > I sort of got it to work. With the Darwin engine from the MC site, I got this... Script: on startup write "Version" && the version & lineFeed to stdout write "before start using" & lineFeed to stdout start using "findtest.rev" write "after start using" & lineFeed to stdout send "delayed" to me in 0 seconds end startup on delayed try write "before find" & lineFeed to stdout find "roger" write "after find" & lineFeed to stdout catch e write "Error:" & e & lineFeed to stdout end try write the result & lineFeed to stdout end delayed Result: Version 2.5 before start using after start using before find ./mc exiting on signal 10 I tried it with and without the try and I tried it with open instead of 'start using'. I tried it with the find in startup instead of the delay handler. Where is your find script? In the library stack? Dar Scott From dsc at swcp.com Tue Sep 2 17:53:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 17:53:01 2003 Subject: CGI and find In-Reply-To: <3F551191.4010407@hyperactivesw.com> Message-ID: <5E13EA1C-DD97-11D7-B1FB-000A9567A3E6@swcp.com> On Tuesday, September 2, 2003, at 03:54 PM, J. Landman Gay wrote: > I'm not sure enough of my test results yet to report this as a bug, > but it seems to be what is happening. Are command-line engines supported? Dar Scott From jacque at hyperactivesw.com Tue Sep 2 17:59:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 17:59:01 2003 Subject: CGI and find In-Reply-To: <6D385084-DD94-11D7-B1FB-000A9567A3E6@swcp.com> References: <6D385084-DD94-11D7-B1FB-000A9567A3E6@swcp.com> Message-ID: <3F551F44.2030001@hyperactivesw.com> On 9/2/03 5:25 PM, Dar Scott wrote: > Where is your find script? In the library stack? My setup (OS X) is: MC Darwin engine in /Library/WebServer/CGI-Executables/ A text file called "search.mt" containing the script in the same folder A stack called "searchStack.mc" in the same folder Elsewhere on disk, I have an html form where I can enter the search terms. Its contents are sent with a "get" directive in the action statement. I load the html form from disk into my browser, fill out the search terms, and hit the Send button. The script in the search.mt text file looks like this (watch for line wrap): on startup put "Content-Type: text/html" & cr & cr put the ticks into theStart put urlDecode($QUERY_STRING) into theTerm if $REQUEST_METHOD is "GET" then delete char 1 to offset("=",theTerm) of theTerm put "" into buffer put "searchStack.mc" into theStack if theTerm = "" then put "No query submitted." after buffer else if there is no stack theStack then put "Data stack cannot be found." after buffer else start using stack theStack set the defaultstack to "fictionwise" -- not sure if you need this put 0 into theCt mark cds by finding theTerm repeat with x = 1 to the number of marked cds put "" & fld "title" of marked cd x & "

" & cr after buffer -- other stuff here add 1 to theCt end repeat stop using stack theStack end if put the ticks - theStart && "ticks" into theETime put theNumHits && "found" into theNumHits put url ("file:header.txt") & "

Results for " "e& theTerm "e& colon \ & "

"& theCt && "found" && "

 

" before buffer put cr&cr& "

 

Execution time: " & theETime & " " after buffer put buffer end startup This works and is pretty fast. All "put" statments that don't go into variables get automatically written to stdout; you don't need "write" statements. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Sep 2 18:02:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 18:02:01 2003 Subject: CGI and find In-Reply-To: <6D385084-DD94-11D7-B1FB-000A9567A3E6@swcp.com> References: <6D385084-DD94-11D7-B1FB-000A9567A3E6@swcp.com> Message-ID: <3F552022.4050609@hyperactivesw.com> On 9/2/03 5:25 PM, Dar Scott wrote: > ./mc exiting on signal 10 Oh, and also, what's a "signal 10"? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Tue Sep 2 18:09:00 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 2 18:09:00 2003 Subject: Disc Burning Example? In-Reply-To: Message-ID: <9E272FBA-DD99-11D7-B236-000393529642@mindlube.com> On Tuesday, September 2, 2003, at 03:31 PM, Barry Levine wrote: > In October of last year I asked the list if there was an example of > calling Apple's Disc Burner software from Rev in OSX. > > Well, you've all had some time to think about this. Any bright ideas? I've been meaning to answer as soon as this darn DVD-R disk finishes burning. Remind me in another month. ;-) Seriously: search google.com for +hdiutil -man +burn for some example commands. After figuring out how to do it from the OS X command line then I would call the same commands via transcript shell() and/or process() instead of via the command line. Maybe there is an applescript interface as well. > PS - Shouldn't this be an example stack in the Rev distribution? Most > of us are not bare-metal programmers so it would seem that someone > from the Rev team might need to step up to the plate here. I don't think so. To me it's a Mac OS X question, advanced command-line usage, and not a Rev or transcript question. It's an interesting question- but not something I would expect Runrev to provide a script for in their distribution. 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 Tue Sep 2 18:15:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 18:15:00 2003 Subject: CGI and find In-Reply-To: <3F552022.4050609@hyperactivesw.com> Message-ID: <6AFC248B-DD9A-11D7-B1FB-000A9567A3E6@swcp.com> On Tuesday, September 2, 2003, at 04:56 PM, J. Landman Gay wrote: > On 9/2/03 5:25 PM, Dar Scott wrote: > >> ./mc exiting on signal 10 > > Oh, and also, what's a "signal 10"? Crash. Memory access fault I would guess. I looked a little more. I was getting this on a value that would not be found. For a value that would be found I got "not found" as the result. I'm currently at a variation where I can't get the engine to exit. Dar Scott From monte at sweattechnologies.com Tue Sep 2 18:20:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Sep 2 18:20:01 2003 Subject: Image Library Import In-Reply-To: Message-ID: > Monte- > > The Import File... button on my computer is dead. It's a nice blue, but > nothing happens. Does it work on yours? > > And the 'all images in folder button' does, in my computer, have a work > around. It seems to only work for user created libraries and not for teh "This Stack" option. > > I made a new card. Went to File-Import as control-All images in folder. > Selected a folder and all the images were imported onto that card. > > Then went to the Image Library window that I already had open (not sure > if that makes a difference) to the image tab. Clicked on the Objects > tab, then back on the Image tab, and all the images on the card were > brought into the library. > > the bad news is that deleting an image from the image library also > deletes it from the card and deleting from the card also deletes from > the library. Create a new library and import them there. That way the images will be independant of your stack. > > The other bad part is that the library image box is just a window into > the original image, and most of the time I can't tell what the image > is. It didn't minimize the image enough to identify it. That's what I meant about changing the dimensions of each image box. > > Is that the way it's all supposed to work? Doesn't seem right. > Regards Monte From dvk at dvkconsult.com.au Tue Sep 2 19:06:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Sep 2 19:06:01 2003 Subject: OS X - documentation of drawer command Message-ID: <943EEDD8-DDA1-11D7-908D-000A95729266@dvkconsult.com.au> The documentation on the Drawer command (applicable only to OS X) says only that the drawer is opened with (e.g.): drawer stack "someList" at right and closed with: close stack "someList" However, what if you want to allow the user to open and close the drawer multiple times? I found that when the above pair of commands was repeated then the drawer become a line smaller in height each time it was opened. Once the drawer has been opened, it can be closed (as noted recently by Jacque) with: hide stack "someList" and reopened with: show stack "someList" all with proper sliding and with no diminution of its stature. To manage this, I created a Script Local variable to hold the drawer's state - zero if never previously opened and otherwise switching between 1 and 2. In this way I could use the correct command. The drawer stack is finally closed automatically when the stack to which it is attached is closed. Perhaps these latter points should be documented as well or, alternatively, the shrinkage unshrunk. regards David From jacque at hyperactivesw.com Tue Sep 2 19:34:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 19:34:00 2003 Subject: CGI and find In-Reply-To: <6AFC248B-DD9A-11D7-B1FB-000A9567A3E6@swcp.com> References: <6AFC248B-DD9A-11D7-B1FB-000A9567A3E6@swcp.com> Message-ID: <3F553597.2070403@hyperactivesw.com> On 9/2/03 6:08 PM, Dar Scott wrote: > I looked a little more. I was getting this on a value that would not be > found. For a value that would be found I got "not found" as the result. Hm. Backwards. Post a script? > I'm currently at a variation where I can't get the engine to exit. Been there, done that. It worked if I didn't use a repeat loop though. What happens if you do a single hard-coded find, like "find 'roger'"? That works for me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Sep 2 19:38:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 2 19:38:00 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: <0714FF0F-DCB4-11D7-A333-000A95763ABC@macosx.com> Message-ID: Barry Levine wrote: > All I want to do is protect my code from view if someone tries to > examine my stacks with Rev or with TextEdit. How can I do this? Separate your code from your interface, putting your protected code in a substack in the message path with "start using". -- 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 Neville.Smythe at anu.edu.au Tue Sep 2 20:07:01 2003 From: Neville.Smythe at anu.edu.au (Neville Smythe) Date: Tue Sep 2 20:07:01 2003 Subject: Print dialog bug Message-ID: <19B4772A-DDAA-11D7-A921-000A959CAC58@anu.edu.au> A strange bug ... The print dialog in Rev 2.1 suddenly stopped showing me all the printing options (HP4100 printer, OS X) ... the "Copies and Pages" option and a couple of others disappeared, the pop-up menu starting from "Layout". Some code in the stack I am developing (presumably revShowPrintDialog) must have kicked it off, but it persisted in Rev when I closed the stack, although other apps show the full menu (which is reasonable, the print dialog object is re-used by the application after its first instantiation). Difficult to register as a bug since I can't reproduce it; on quitting Rev and relaunching the dialog returned to normal. $@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%? 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 michaell at unimelb.edu.au Tue Sep 2 20:16:01 2003 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Tue Sep 2 20:16:01 2003 Subject: How many people use Single-Handler Mode in Script Editor? Message-ID: I never noticed that it was there. On looking at the view menu (which is different to the view menu that is present when not editing a script) I found the Show handler name option. I love that one! I think I will try the single-handler mode because it makes things look a little more clear... My handler descriptions are sometimes before the handler name and sometimes after. Clearly after works well with single-handler mode. I don't see how any scripter control is lost. Regards, -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From ambassador at fourthworld.com Tue Sep 2 20:43:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 2 20:43:01 2003 Subject: CGI and find In-Reply-To: <3F553597.2070403@hyperactivesw.com> Message-ID: I may have missed something from earlier, but might it be simpler and fasterto use offset into a block of text rather than marking cards in a stack? -- 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 pixelbird at interisland.net Tue Sep 2 21:18:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 2 21:18:00 2003 Subject: radioBehavior problem In-Reply-To: <200309021737.NAA03460@www.runrev.com> Message-ID: Hi Graham, > Date: Tue, 02 Sep 2003 19:53:22 +0200 > From: Graham > Subject: Re: radioBehavior problem > > my next guess was to send mouseUp to the > appropriate button (I have not yet tested if this will work). ---------- Nope. that won't work. Why can't you: click at the loc of btn "ReachedLevel2" of cd 1 of stack "Level_Indicators" ??? If the style of stack "Level_Indicators" is palette, you can work the buttons from anywhere. Ken N. From rodneytamblyn at paradise.net.nz Tue Sep 2 22:41:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Tue Sep 2 22:41:00 2003 Subject: debug checkpoint from hell Message-ID: <4729258D-DA9B-11D7-863E-003065F97100@paradise.net.nz> Has anyone else run across the situation where you set a checkpoint in a script, then clear it, but the debugger keeps on stopping at the script location anyway? Nothing seems to fix it, not "clear all breakpoints", quit and restart, nothing except turning debug mode off. Suggestion GREATFULLY received! ~ R. -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From jacque at hyperactivesw.com Tue Sep 2 23:09:02 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 2 23:09:02 2003 Subject: CGI and find In-Reply-To: References: Message-ID: <3F556810.70407@hyperactivesw.com> On 9/2/03 8:37 PM, Richard Gaskin wrote: > I may have missed something from earlier, but might it be simpler and > fasterto use offset into a block of text rather than marking cards in a > stack? Yeah, you're a little behind. ;) Apologies to those who are tired of this thread... I want to search a whole stack for a series of words. Last year I couldn't get "find" to work in a cgi, so I did write an offset script that plodded through each field on each card looking for the words. It was limited to returning only those cards where the whole phrase was in a field because that's all offset can easily do. Today I decided to muck around again with "find" in a cgi. This time I sort of got it to work, with some limitations -- mainly, plain old "find" doesn't exit a repeat loop properly in a cgi, but marking by finding seems to mostly work. This allows my script more flexibility, in theory, because I can use "find whole" or "find" or "find string", etc. (Except that I'm now having some problems with finding cards containing all the words if they aren't together in a field, but that's something I haven't worked through yet. Maybe it is related to the same thing that causes regular "find" to fail.) As far as speed goes, my offset routines take about twice as long as marking cards and then gathering data from those cards. I assume the extra time is due to the double repeat loop I have to use to look at every field on every card. The script does exit the inner repeat loop if it finds even one instance of the search phrase, so not every field necessarily gets examined. But even so, offset takes longer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rodneytamblyn at paradise.net.nz Tue Sep 2 23:18:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Tue Sep 2 23:18:01 2003 Subject: debug checkpoint from hell - more Message-ID: <7E1604FC-DAA0-11D7-863E-003065F97100@paradise.net.nz> It may be caused by clearing a checkpoint (red dot) while the debugger is executing (ie clicking on a red dot to clear checkpoint, while in debugger). Revolution must store checkpoints in a variable or preference, if someone knows offhand where these are set, let me know, otherwise I may have a look myself (assuming the debugging stack/script editor isn't locked) R. -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From dsc at swcp.com Tue Sep 2 23:36:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 2 23:36:00 2003 Subject: CGI and find In-Reply-To: <3F553597.2070403@hyperactivesw.com> Message-ID: <4DD07CE4-DDC7-11D7-B1FB-000A9567A3E6@swcp.com> On Tuesday, September 2, 2003, at 06:28 PM, J. Landman Gay wrote: >> I looked a little more. I was getting this on a value that would not >> be found. For a value that would be found I got "not found" as the >> result. > > Hm. Backwards. Post a script? I was mixed up. Any non-empty query got a crash and 'find empty' with idiomatic meaning did not. >> I'm currently at a variation where I can't get the engine to exit. > > Been there, done that. It worked if I didn't use a repeat loop though. > What happens if you do a single hard-coded find, like "find 'roger'"? > That works for me. That will crash. If I 'start using' and then 'find' in startup, I get no crash. If I do that in a delayed handler, I get no crash. If I 'start using' in startup and then 'find' in a delayed handler, I get a crash. Here is a stripped-down example of one that does not crash: on startup start using "findtest.rev" set the defaultStack to "findtest" find "roger" end startup It does bother me that this would crash if start and find are in different handlers. Dar Scott From ambassador at fourthworld.com Tue Sep 2 23:43:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 2 23:43:01 2003 Subject: CGI and find In-Reply-To: <3F556810.70407@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > I want to search a whole stack for a series of words. Last year I > couldn't get "find" to work in a cgi, so I did write an offset script > that plodded through each field on each card looking for the words. It > was limited to returning only those cards where the whole phrase was in > a field because that's all offset can easily do. Ah yes, It's easy to forget that the find command supports so many options, esp. since most apps' find feature is limited to simple whole-string searches which offset does well. While I've written apps years ago that supported HC-style find options, for myself I'll admit I've rarely had a need for them, or in all honesty it may simply be that I've been thinking too much in terms of whole-string serches and have overlooked some useful power there. What sorts of situations have you found the "characters" or "words" options useful for? While offset is indeed slower than mark for finding all occurances in fields across multiple cards, if the data were in a delimited list I'd be surprised if whole-string matches were not faster using offset (that is, provided a whole-string search is what you're after ). I have a subjective feeling of vague "muckiness" when using fields for raw data storage, with the object and style-run overhead.... -- 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 Sep 2 23:49:00 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Tue Sep 2 23:49:00 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: <0714FF0F-DCB4-11D7-A333-000A95763ABC@macosx.com> Message-ID: <0DD65018-DDC9-11D7-80D5-000393C3F5BC@canelasoftware.com> On Monday, September 1, 2003, at 12:39 PM, Barry Levine wrote: > Turns out my problem is the encryption of the stack. I was referring > to the names of image objects which, of course, are encrypted with you > set the password property to anything other than empty. > > The encryption yields a host of problems. I was copying an image > (already in the stack) to the stack. Nope; can't do this as the stack > has become non-modifiable. > > All of my code works fine as long as I don't have a password set -or- > set the passkey when I open the stack. > > All I want to do is protect my code from view if someone tries to > examine my stacks with Rev or with TextEdit. How can I do this? > Obviously, this is not the application but a secondary stack (not > sub-) whose data gets altered and saved during runtime. I can't ask > the user to provide the password as I want to keep it a secret. > > Suggestions? > > Thanks, > Barry > Set the passkey when the stack is opened. Then set the password before saving the data stack again. Best regards, Mark Talluto http://www.canelasoftware.com From cszasz at newwave.net Tue Sep 2 23:58:00 2003 From: cszasz at newwave.net (Charles Szasz) Date: Tue Sep 2 23:58:00 2003 Subject: Numerice field Message-ID: <47F110AC-DDCA-11D7-B8E0-000393CCF5D8@newwave.net> > In my RB project, I used a "container" to > serve as a lookup table for correlations between intelligence and > achievement tests. Is there similar procedure for Revolution that you > can used for a lookup table? In my project, I have created a popup menu that has 22 choices of combinations of IQ and achievement tests. Each selection has one IQ and one achievement test. My lookup table would require a correlation for scores from both tests plus reliability coefficients for each IQ and achievement score. In addition to the above requirements for each popup selection, I want to have radio buttons appear representing on my card so the user can select a radio button and enter the score the radio it represents for the IQ test. Also, the areas of the achievement tests (with a place to enter each achievement or subachievement score) would be displayed depending on the IQ and achievement combo selected. It is possible to set up a popup menu to do the above using an array? I do have another question, how do you make the popup menu reset itself after a selection is made and then you quit the program and then restarted it? Charles From janschenkel at yahoo.com Wed Sep 3 01:54:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 3 01:54:00 2003 Subject: About mixing Database Query Builder with normal database library calls. In-Reply-To: <5956ADFA-DD7A-11D7-A943-00039387AE90@mac.com> Message-ID: <20030903064841.88472.qmail@web11906.mail.yahoo.com> --- Andre Garzia wrote: > Hi Folks, > > I have a couple doubts that revGurus our there might > clear. I am > creating a simple app to manage a couple MySQL > tables. Its the common > tasks (insertion, modification, deletion), to > navigate the database I > am using Database Query Builder, filling fields with > the data and some > buttons to navigate. But I cannot use Query Builder > to insert a Record > can I? How can I identify what is the current record > (so that i can > disable the "previous" and "next" buttons when they > reach the limits)? > > Cheers > Andre Alves Garzia ??? 2003 ??? BRAZIL > http://www.soapdog.org > Hi Andre, You can execute any query (INSERT, DELETE, ...) on the database an existing query connects to, by means of the following command : revExecuteWithQuery , Example : put "UPDATE customers SET something=123456 ;" into \ tSQLQuery revExecuteWithQuery "MyCustomerQuery", tSQLQuery -- As for checking if the current record is the first or last of the cursor corresponding to a query, use : revDBQueryIsBOF( revDBQueryIsEOF( -- If you want to learn more of the hidden features of the database query manager and its linked fields and buttons : - open the message box - use the button at the top of the window to go the Frontscripts section - click on the checkbox "Show Revolution UI frontscripts" to hilite it - in the list above, you'll see a line 'revDatabase' - double-click it, or select and click the 'Edit this script' button at the bottom right Note that it requires a good knowledge of the RevDB commands and functions, and familiarity with the message path and how frontScripts intervene. 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 scott at tactilemedia.com Wed Sep 3 02:01:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Sep 3 02:01:00 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: <0DD65018-DDC9-11D7-80D5-000393C3F5BC@canelasoftware.com> Message-ID: On 9/2/03 9:42 PM, "Mark Talluto" wrote: >> All I want to do is protect my code from view if someone tries to >> examine my stacks with Rev or with TextEdit. How can I do this? >> Obviously, this is not the application but a secondary stack (not >> sub-) whose data gets altered and saved during runtime. I can't ask >> the user to provide the password as I want to keep it a secret. > Set the passkey when the stack is opened. Then set the password before > saving the data stack again. I don't believe you need to set the password after setting the passkey. The passkey allows you access to the stack during the current editing session; to remove a password from a stack you'd need to set the password to empty. Thus, once you set the passkey of a stack, the stack can be edited as needed, saved, and closed. Once it is closed, it will be protected as before. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From derekbronston at earthlink.net Wed Sep 3 03:00:00 2003 From: derekbronston at earthlink.net (derek bronston) Date: Wed Sep 3 03:00:00 2003 Subject: playing sound Message-ID: <70115066-DD7C-11D7-80C7-0030657FA6E8@earthlink.net> I have a question re: playing sound with Revolution, I am new to Revolution, but I am an experienced programmer in PHP/FLASH . I am having problems with the play command play "something.mp3" it just creates alot of static , in both OSX and Windows '98 thanks derek From Robert_Wynne at adp.com Wed Sep 3 03:00:14 2003 From: Robert_Wynne at adp.com (Robert Wynne) Date: Wed Sep 3 03:00:14 2003 Subject: Telnet in Rev? Message-ID: Hi, Does anyone have a stack or sample code for a simple telnet implementation that would allow a connection from a Rev stack to a telnet server? I just want to send a simple command string to a remote server. I found references to "telnet.mc" on the net, but haven't been able to locate it anywhere. Thanks. - Robert -------------------- Robert Wynne Portland, Oregon -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeanne at runrev.com Wed Sep 3 03:00:20 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Sep 3 03:00:20 2003 Subject: Where docs? In-Reply-To: References: Message-ID: At 9:54 AM -0400 9/2/2003, Ken Norris wrote: >I just noticed in the Development Guide that under "Images & Multimedia" the >docs appear to be missing. When I click on a line, nothing happens. Where >are they (others Dev Guide subjects seem to be OK)? This section is showing up for me OK in 2.0.1. Which OS are you using? Do the topic names show up in the list on the right, or is it blank? -- -- 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 jeanne at runrev.com Wed Sep 3 03:00:26 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Sep 3 03:00:26 2003 Subject: OS X - documentation of drawer command In-Reply-To: <943EEDD8-DDA1-11D7-908D-000A95729266@dvkconsult.com.au> References: <943EEDD8-DDA1-11D7-908D-000A95729266@dvkconsult.com.au> Message-ID: At 10:00 AM +1000 9/3/2003, David Vaughan wrote: >However, what if you want to allow the user to open and close the >drawer multiple times? I found that when the above pair of commands >was repeated then the drawer become a line smaller in height each >time it was opened. That's a bug. (It's in bugzilla as bug # 488.) -- -- 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 jeanne at runrev.com Wed Sep 3 03:00:33 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Sep 3 03:00:33 2003 Subject: Image Library Import In-Reply-To: References: Message-ID: At 6:32 AM -0700 9/2/2003, John Tenny wrote: >The Import File... button on my computer is dead. It's a nice blue, >but nothing happens. Does it work on yours? Known bug. >the bad news is that deleting an image from the image library also >deletes it from the card and deleting from the card also deletes >from the library. There isn't a separate "image library" object as such - the image library window is just a way of viewing all the images in a stack. (The built-in image libraries are simply stacks full of images.) >The other bad part is that the library image box is just a window >into the original image, and most of the time I can't tell what the >image is. It didn't minimize the image enough to identify it. You might want to report this as a feature request - I'm not sure about simply shrinking the images (because shrinking an image on Unix or Windows gives you terrible results), but there may be some way of dealing better with the case of large images. -- -- 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 mcdomi at free.fr Wed Sep 3 03:23:00 2003 From: mcdomi at free.fr (Dom) Date: Wed Sep 3 03:23:00 2003 Subject: New Rev Buyers, did you receive your unlocking key? Message-ID: <1g0pfwf.1tyrso9xb03buM%mcdomi@free.fr> I am a "last minute buyer" -- 31 Aug, a while before midnight ;-)) I am looking for my unlocking key since there... I am aware that Heather is certainly overwhelmed by a number of new licensees... -- New Photos : http://cooldomi.free.fr/CP/Barcelonnette/ From xbury.cs at clearstream.com Wed Sep 3 03:34:00 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed Sep 3 03:34:00 2003 Subject: New Rev Buyers, did you receive your unlocking key? Message-ID: 72hrs after, I am still waiting... I just sent her a reminder that we were told that the license would arrive within 24 hours... ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 mcdomi at free.fr (Dom) Sent by: use-revolution-admin at lists.runrev.com 03/09/03 10:17 Please respond to use-revolution To: use-revolution at lists.runrev.com (Liste Rev) cc: ^ Subject: New Rev Buyers, did you receive your unlocking key? I am a "last minute buyer" -- 31 Aug, a while before midnight ;-)) I am looking for my unlocking key since there... I am aware that Heather is certainly overwhelmed by a number of new licensees... -- New Photos : http://cooldomi.free.fr/CP/Barcelonnette/ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter9.smith at ps.ge.com Wed Sep 3 04:03:02 2003 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Wed Sep 3 04:03:02 2003 Subject: Newbie question: how to tell if inside the IDE Message-ID: <6192367D59F8904CA553579EF41FEEA001B03A4E@ukcbgx01psge.geips.ge.com> Sorry but I couldn't find anything in the archives or documentation - probably not knowing what to look for. I've just rendered a fortunately throwaway stack uneditable by causing the preopenstack handler to always execute quit. How can I tell inside Transcript if I'm running inside the IDE? Thanks for advice on this first of many questions, Peter Smith. From malte.brill at t-online.de Wed Sep 3 04:46:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Wed Sep 3 04:46:01 2003 Subject: Newbie question: how to tell if inside the IDE In-Reply-To: <200309030702.DAA32075@www.runrev.com> Message-ID: Hi Peter, welcome to the revolution. you might want to take a look at "environment" in the Transscript Dictionary. >I've just rendered a fortunately throwaway stack uneditable by causing the >preopenstack handler to always execute quit. You can lock messages (by clicking on the messages envelope symbol) before opening the stack and you will be able to open it again. Regards, Malte From klaus at major-k.de Wed Sep 3 04:59:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Sep 3 04:59:01 2003 Subject: playing sound In-Reply-To: <70115066-DD7C-11D7-80C7-0030657FA6E8@earthlink.net> Message-ID: <6B42A497-DDF4-11D7-A357-000A27B49A96@major-k.de> Hi Derek, > I have a question re: playing sound with Revolution, I am new to > Revolution, > but I am an experienced programmer in PHP/FLASH . > > I am having problems with the play command > > play "something.mp3" > > it just creates alot of static , in both OSX and Windows '98 The "play ac xxx" command will only play these formats: AIF and WAV, both uncompressed!!! And the AU format.... All other sound-formats will have to be placed into a player-object, which actually gives you much more control about the sound... Hope that helps... > thanks > > derek Regards Klaus Major klaus at major-k.de www.major-k.de From wouter.abraham at pi.be Wed Sep 3 06:21:00 2003 From: wouter.abraham at pi.be (wouter) Date: Wed Sep 3 06:21:00 2003 Subject: The Directory Walker revisited In-Reply-To: <200309030044.UAA21662@www.runrev.com> Message-ID: On woensdag, sep 3, 2003, at 02:44 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 2 > Date: Wed, 3 Sep 2003 07:34:02 +1000 > Subject: Re: The Directory Walker revisited > From: David Vaughan > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Tuesday, Sep 2, 2003, at 22:19 Australia/Brisbane, wouter > wrote: > > snip > >>> Now directories nested 1000 deep seems unusual. >> >> That is true but the amount of recursion is not equal to the depth of >> the directories. > > That rather depends on whether you are using pre-, end- or post-order > processing within the recursion. Walking the entire breadth and depth > of the directory tree before processing any data would be a bit > unusual. Yes but that is precisely what will make the recursive handlers meet their limit if it a directory tree is a really wide and/ or deep. It is the amount of recursion that counts. It is not realy a question of the "possibility" of using recursive handlers on directories (the answer will be yes up to the recursionLimit). The question is : are recursive handlers efficient enough to be used for this kind of work if they can bump into a recursionLimit before ending their task. Personally I like recursive handlers and will use them if possible, but not in this case. > >> It is equal to the total amount of directories. And this number can >> easily surpass 1000. >> > I did not see the actual walker which started this thread but I and http://www.sonsothunder.com/devres/metacard/tips/file007.htm > others have posted recursive walkers "years" ago which used a > depth-first search with pre- or end-order processing, and have not hit > these limits. As Dar suggests, I doubt they would have any problem > processing an entire OS X volume. I have been searching for this recursive walkers from "years" ago but couldn't find those with "depth-first search with pre- or end-order processing". Can you please post the url. The other recursive ones are "all" bumping into the recursionLimit. Except one you mentioned at : http://lists.runrev.com/pipermail/use-revolution/2002-May/004353.html which points to Ben Rubinstein's directory walking function. Which is not a real recursive handler, but a repeat loop buried in a function. Only this script as it is, will not work and has to be corrected. > regards > David Greetings WA From graham.samuel at wanadoo.fr Wed Sep 3 08:15:00 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Wed Sep 3 08:15:00 2003 Subject: Radio buttons as indicator lights Message-ID: <5.2.1.1.0.20030903130020.00c4bb58@pop.wanadoo.fr> Thanks to several people who put me on the right track to get radio buttons to work via scripting. I've now got another problem. I admit I'm slightly abusing the radio button idea: normally the user clicks on one button and that turns off any hilited one in the set. In my case, I **only** want this effect via scripting, since the user is just seeing the buttons as indicator lights - in other words I want there to be no effect if the user clicks on a button. This turns out to be more difficult than I thought. I have turned off everything I can think of (apart from visibility!) in the individual buttons in the group, put dummy 'mouseUp' and (even) 'mouseDown' messages in the buttons and in the group itself to 'soak up' the mouse clicks, but I still get a residual effect, which is that when the user clicks on a non-hilited button, then the hilited button turns off. This is the same as if I'd set the hilitedButton of the group to zero via script. Further clicks have no effect. I just want to zap this last effect but I don't know how to do it. If I can't find a solution, I will have to stand down the whole radio button idea and do it all by scripting - perfectly possible, but a pain. TIA for any advice. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From kkaufman at snet.net Wed Sep 3 08:20:00 2003 From: kkaufman at snet.net (KURT KAUFMAN) Date: Wed Sep 3 08:20:00 2003 Subject: playing sound Message-ID: <20030903131321.77395.qmail@web80309.mail.yahoo.com> "...The "play ac xxx" command will only play these formats: AIF and WAV, both uncompressed!!! And the AU format.... All other sound-formats will have to be placed into a player-object, which actually gives you much more control about the sound..." Keep in mind that when using the player object with audio files on Mac OS X, there is currently (Rev 2.x) a problem whereby the controller is not properly updated. This isn't important if the user does not have to start/stop the sound, since you'd likely not use the controller in that case anyway. I understand that this is a known issue and will hopefully be addressed soon. -Kurt -------------- next part -------------- An HTML attachment was scrubbed... URL: From kkaufman at snet.net Wed Sep 3 08:26:00 2003 From: kkaufman at snet.net (KURT KAUFMAN) Date: Wed Sep 3 08:26:00 2003 Subject: apologies-markup Message-ID: <20030903132006.89554.qmail@web80302.mail.yahoo.com> Sorry about the html in my last message; I am trying out a web-based mail program. -Kurt From yoy at comcast.net Wed Sep 3 08:34:00 2003 From: yoy at comcast.net (yoy) Date: Wed Sep 3 08:34:00 2003 Subject: Radio buttons as indicator lights References: <5.2.1.1.0.20030903130020.00c4bb58@pop.wanadoo.fr> Message-ID: <000a01c3721f$0005f950$b2ea5144@fatal7lcf637rj> Graham, Ungroup the radio buttons. > I've now got another problem. I admit I'm slightly abusing the radio button > idea: normally the user clicks on one button and that turns off any hilited > one in the set. In my case, I **only** want this effect via scripting, > since the user is just seeing the buttons as indicator lights - in other > words I want there to be no effect if the user clicks on a button. From scott at tactilemedia.com Wed Sep 3 08:59:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Sep 3 08:59:00 2003 Subject: The Directory Walker revisited In-Reply-To: Message-ID: >> others have posted recursive walkers "years" ago which used a >> depth-first search with pre- or end-order processing, and have not hit >> these limits. As Dar suggests, I doubt they would have any problem >> processing an entire OS X volume. > > I have been searching for this recursive walkers from "years" ago but > couldn't find those with "depth-first search with pre- or end-order > processing". Can you please post the url. Here's one from the archives that works for me (added a simple busy cursor indicator): global gHierList on mouseUp put empty into gHierList put empty into field 1 answer folder "Pick a folder you want to walk:" if it is empty then exit mouseUp set lockCursor to true set cursor to watch directoryWalk it sort gHierList put gHierList into field 1 put number of lines of fld 1 set lockCursor to false end mouseUp on directoryWalk whatFolder set the defaultFolder to whatFolder put the files into temp repeat for each line x in temp put whatFolder & "/" & x & return after gHierList end repeat put the folders into tDirList repeat with x = 2 to the number of lines of tDirList directoryWalk (whatFolder & "/" & (line x of tDirList)) end repeat end directoryWalk I believe the script posted on Ken Ray's tips site (which is also in the archives) will run into the recursion limit problem. Ken - maybe you can update your tips page with a revised script. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From kray at sonsothunder.com Wed Sep 3 09:02:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 3 09:02:01 2003 Subject: Radio buttons as indicator lights In-Reply-To: <5.2.1.1.0.20030903130020.00c4bb58@pop.wanadoo.fr> Message-ID: <009e01c37223$027f12d0$6501a8c0@LightningFlash> Graham, The problem comes from using the "radioBehavior" of a group of radio buttons. Turn that off by selecting the group and unchecking "Hilite one radio button at a time" in the properties palette. Then, script it yourself by setting the "hilitedButton" or "hilitedButtonName" of the group, as in: set the hilitedButton of group "indicators" to 2 OR set the hilitedButtonName of group "indicators" to "My Button" Nothing happens when the user clicks, but you can set it in a script. 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 Graham > Sent: Wednesday, September 03, 2003 8:07 AM > To: RunRev Users List > Subject: Radio buttons as indicator lights > > > Thanks to several people who put me on the right track to get > radio buttons > to work via scripting. > > I've now got another problem. I admit I'm slightly abusing > the radio button > idea: normally the user clicks on one button and that turns > off any hilited > one in the set. In my case, I **only** want this effect via > scripting, > since the user is just seeing the buttons as indicator lights > - in other > words I want there to be no effect if the user clicks on a button. > > This turns out to be more difficult than I thought. I have turned off > everything I can think of (apart from visibility!) in the individual > buttons in the group, put dummy 'mouseUp' and (even) > 'mouseDown' messages > in the buttons and in the group itself to 'soak up' the mouse > clicks, but I > still get a residual effect, which is that when the user clicks on a > non-hilited button, then the hilited button turns off. This > is the same as > if I'd set the hilitedButton of the group to zero via script. Further > clicks have no effect. > > I just want to zap this last effect but I don't know how to > do it. If I > can't find a solution, I will have to stand down the whole > radio button > idea and do it all by scripting - perfectly possible, but a pain. > > TIA for any advice. > > 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 Wed Sep 3 09:06:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 3 09:06:01 2003 Subject: debug checkpoint from hell - more In-Reply-To: <7E1604FC-DAA0-11D7-863E-003065F97100@paradise.net.nz> Message-ID: <009f01c37223$932d57b0$6501a8c0@LightningFlash> You should be able to remove it by showing the Rev items (View menu -> Revolution UI Elements in Lists), then selecting the object that has the errant breakpoint, show Custom Properties in the Properties palette, select the "cRevGeneral" set, and deleting or clearing the "breakpoints" custom property. 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 > Rodney Tamblyn > Sent: Friday, August 29, 2003 11:15 PM > To: use-revolution at lists.runrev.com > Subject: debug checkpoint from hell - more > > > It may be caused by clearing a checkpoint (red dot) while the > debugger > is executing (ie clicking on a red dot to clear checkpoint, while in > debugger). > > Revolution must store checkpoints in a variable or preference, if > someone knows offhand where these are set, let me know, > otherwise I may > have a look myself (assuming the debugging stack/script editor isn't > locked) > > R. > -- > 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 > From jhurley at infostations.com Wed Sep 3 09:16:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Wed Sep 3 09:16:00 2003 Subject: debug checkpoint from hell In-Reply-To: <200309030701.DAA31783@www.runrev.com> References: <200309030701.DAA31783@www.runrev.com> Message-ID: > >Message: 2 >Date: Sat, 30 Aug 2003 15:37:27 +1200 >Subject: debug checkpoint from hell >From: Rodney Tamblyn >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > >Has anyone else run across the situation where you set a checkpoint in >a script, then clear it, but the debugger keeps on stopping at the >script location anyway? Nothing seems to fix it, not "clear all >breakpoints", quit and restart, nothing except turning debug mode off. >Suggestion GREATFULLY received! > > >~ R. >-- >Rodney Tamblyn Rodney, Yes, I have seen this as well. Once you have tainted your script with the red menace it is there to stay, seen or unseen. The only way I have found to clear a checkpoint (red dot) is to insert a comment line where the checkpoint used to be. I have found the best way is to go back to the old system inserting "breakpoint" and not using the checkpoints at all. I like the idea of the checkpoints, but until this bug is fixed, go back to "breakpoint." Jim From bvlahos at mac.com Wed Sep 3 09:21:01 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Wed Sep 3 09:21:01 2003 Subject: Radio buttons as indicator lights In-Reply-To: <5.2.1.1.0.20030903130020.00c4bb58@pop.wanadoo.fr> Message-ID: <05300534-DE19-11D7-888A-0003936A2C42@mac.com> Graham, I would suggest simply using a button with different icons. You could simply turn the hilite of the button on or off. There are some nice icons in the image library you could use for this. If you really wanted to get fancy you could create a small circle (or other shape) image and change the fill color. This would give you an almost unlimited range of states instead of just ON or OFF. Bill Vlahos On Wednesday, September 3, 2003, at 06:07 AM, Graham wrote: > Thanks to several people who put me on the right track to get radio > buttons to work via scripting. > > I've now got another problem. I admit I'm slightly abusing the radio > button idea: normally the user clicks on one button and that turns off > any hilited one in the set. In my case, I **only** want this effect > via scripting, since the user is just seeing the buttons as indicator > lights - in other words I want there to be no effect if the user > clicks on a button. > > This turns out to be more difficult than I thought. I have turned off > everything I can think of (apart from visibility!) in the individual > buttons in the group, put dummy 'mouseUp' and (even) 'mouseDown' > messages in the buttons and in the group itself to 'soak up' the mouse > clicks, but I still get a residual effect, which is that when the user > clicks on a non-hilited button, then the hilited button turns off. > This is the same as if I'd set the hilitedButton of the group to zero > via script. Further clicks have no effect. > > I just want to zap this last effect but I don't know how to do it. If > I can't find a solution, I will have to stand down the whole radio > button idea and do it all by scripting - perfectly possible, but a > pain. > > TIA for any advice. > > 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 revlists at canelasoftware.com Wed Sep 3 09:35:02 2003 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed Sep 3 09:35:02 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: Message-ID: On Tuesday, September 2, 2003, at 11:55 PM, Scott Rossi wrote: > On 9/2/03 9:42 PM, "Mark Talluto" wrote: > >>> All I want to do is protect my code from view if someone tries to >>> examine my stacks with Rev or with TextEdit. How can I do this? >>> Obviously, this is not the application but a secondary stack (not >>> sub-) whose data gets altered and saved during runtime. I can't ask >>> the user to provide the password as I want to keep it a secret. > >> Set the passkey when the stack is opened. Then set the password >> before >> saving the data stack again. > > I don't believe you need to set the password after setting the > passkey. The > passkey allows you access to the stack during the current editing > session; > to remove a password from a stack you'd need to set the password to > empty. > Thus, once you set the passkey of a stack, the stack can be edited as > needed, saved, and closed. Once it is closed, it will be protected as > before. > > You are right Scott. Once it is set, it is set. This is unless you set it to empty and save it. Best regards, Mark Talluto http://www.canelasoftware.com From gregory.lypny at videotron.ca Wed Sep 3 09:42:00 2003 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed Sep 3 09:42:00 2003 Subject: Radio buttons as indicator lights In-Reply-To: <200309031307.JAA13135@www.runrev.com> Message-ID: Hi Graham, Layer the radio buttons under a transparent (invisible) graphic. Greg > > Message: 7 > Date: Wed, 03 Sep 2003 15:07:24 +0200 > To: RunRev Users List > From: Graham > Subject: Radio buttons as indicator lights > Reply-To: use-revolution at lists.runrev.com > > Thanks to several people who put me on the right track to get radio > buttons > to work via scripting. > > I've now got another problem. I admit I'm slightly abusing the radio > button > idea: normally the user clicks on one button and that turns off any > hilited > one in the set. In my case, I **only** want this effect via scripting, > since the user is just seeing the buttons as indicator lights - in > other > words I want there to be no effect if the user clicks on a button. > > This turns out to be more difficult than I thought. I have turned off > everything I can think of (apart from visibility!) in the individual > buttons in the group, put dummy 'mouseUp' and (even) 'mouseDown' > messages > in the buttons and in the group itself to 'soak up' the mouse clicks, > but I > still get a residual effect, which is that when the user clicks on a > non-hilited button, then the hilited button turns off. This is the > same as > if I'd set the hilitedButton of the group to zero via script. Further > clicks have no effect. > > I just want to zap this last effect but I don't know how to do it. If I > can't find a solution, I will have to stand down the whole radio button > idea and do it all by scripting - perfectly possible, but a pain. > > TIA for any advice. > > Graham From pixelbird at interisland.net Wed Sep 3 09:51:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Sep 3 09:51:01 2003 Subject: Where docs? In-Reply-To: <200309030701.DAA31769@www.runrev.com> Message-ID: Hi Jeanne, > Date: Tue, 2 Sep 2003 22:45:09 -0700 > From: "Jeanne A. E. DeVoto" > Subject: Re: Where docs? > > At 9:54 AM -0400 9/2/2003, Ken Norris wrote: >> I just noticed in the Development Guide that under "Images & Multimedia" the >> docs appear to be missing. When I click on a line, nothing happens. Where >> are they (others Dev Guide subjects seem to be OK)? > > > This section is showing up for me OK in 2.0.1. Which OS are you > using? Do the topic names show up in the list on the right, or is it > blank? ---------- OS 9.2.1 The topics are there, but nothing happens when you click on them. Ken N. From pixelbird at interisland.net Wed Sep 3 09:58:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Sep 3 09:58:00 2003 Subject: playing sound In-Reply-To: <200309030701.DAA31769@www.runrev.com> Message-ID: Hi Derek, > Date: Tue, 2 Sep 2003 12:34:15 -0700 > Subject: re:playing sound > From: derek bronston > > I have a question re: playing sound with Revolution, I am new to > Revolution, but I am an experienced programmer in PHP/FLASH . > > I am having problems with the play command > > play "something.mp3" > > it just creates alot of static , in both OSX and Windows '98 ---------- Where is the file? You didn't include a filepath. HTH, Ken N. From klaus at major-k.de Wed Sep 3 10:00:00 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Sep 3 10:00:00 2003 Subject: Radio buttons as indicator lights In-Reply-To: Message-ID: <843AEB6D-DE1E-11D7-A357-000A27B49A96@major-k.de> Hi Graham and Gregory, >> Really smart Gregory wrote: > Hi Graham, > > Layer the radio buttons under a transparent (invisible) graphic. > > Greg AHHHH, YES :-D The most simple solution is always the best one :-) Create a borderless and filled grc, put it on top of your group and set the ink of the graphic to "noop"... Et voila, a click-protected bunch'o'radiobuttons... Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Wed Sep 3 10:02:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Sep 3 10:02:01 2003 Subject: playing sound In-Reply-To: Message-ID: Hi Ken, > Hi Derek, > >> Date: Tue, 2 Sep 2003 12:34:15 -0700 >> Subject: re:playing sound >> From: derek bronston >> I have a question re: playing sound with Revolution, I am new to >> Revolution, but I am an experienced programmer in PHP/FLASH . >> >> I am having problems with the play command >> >> play "something.mp3" >> >> it just creates alot of static , in both OSX and Windows '98 > ---------- > Where is the file? You didn't include a filepath. If the path was not correct, he wouldn't hear that evil noise ;-) > HTH, > Ken N. Regards Klaus Major klaus at major-k.de www.major-k.de From steve at nexpath.com Wed Sep 3 10:33:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Wed Sep 3 10:33:00 2003 Subject: debug checkpoint from hell In-Reply-To: References: <200309030701.DAA31783@www.runrev.com> Message-ID: <3F560A45.3010707@nexpath.com> Jim Hurley wrote: >> Has anyone else run across the situation where you set a checkpoint in >> a script, then clear it, but the debugger keeps on stopping at the >> script location anyway? Nothing seems to fix it, not "clear all >> breakpoints", quit and restart, nothing except turning debug mode off. >> Suggestion GREATFULLY received! >> >> > I have found the best way is to go back to the old system inserting > "breakpoint" and not using the checkpoints at all. > Just clicking on the red dot, in the left margin of the script editor, to turn it off, and then "clear all breakpoints", worked for me. But "clear all breakpoints" with the red dot in place fails. -Steve From jhurley at infostations.com Wed Sep 3 10:51:01 2003 From: jhurley at infostations.com (Jim Hurley) Date: Wed Sep 3 10:51:01 2003 Subject: debug checkpoint from hell - more In-Reply-To: <200309031307.JAA13190@www.runrev.com> References: <200309031307.JAA13190@www.runrev.com> Message-ID: > >Message: 13 >From: "Ken Ray" >To: >Subject: RE: debug checkpoint from hell - more >Date: Wed, 3 Sep 2003 08:59:08 -0500 >Organization: Sons of Thunder Software >Reply-To: use-revolution at lists.runrev.com > >You should be able to remove it by showing the Rev items (View menu -> >Revolution UI Elements in Lists), then selecting the object that has the >errant breakpoint, show Custom Properties in the Properties palette, >select the "cRevGeneral" set, and deleting or clearing the "breakpoints" >custom property. > >HTH, > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ Another thing you can do is clear all checkpoints, duplicate the the button (control) and then delete the original. The duplicate doesn't seem to carry the (hidden) checkpoint with it. Jim From dan at clearvisiontech.com Wed Sep 3 11:03:01 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed Sep 3 11:03:01 2003 Subject: OS X - documentation of drawer command In-Reply-To: <200309030701.DAA31783@www.runrev.com> Message-ID: I did find a work-around... Just set the size of the stack to be the drawer before you open it: Set the height of stack "drawerStack" to (the height of stack "Main" - 50) Drawer stack "drawerStack" at left of stack "Main" > At 10:00 AM +1000 9/3/2003, David Vaughan wrote: >> However, what if you want to allow the user to open and close the >> drawer multiple times? I found that when the above pair of commands >> was repeated then the drawer become a line smaller in height each >> time it was opened. > > That's a bug. (It's in bugzilla as bug # 488.) From klaus at major-k.de Wed Sep 3 11:09:00 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Sep 3 11:09:00 2003 Subject: OS X - documentation of drawer command In-Reply-To: Message-ID: <2D9EE39F-DE28-11D7-A357-000A27B49A96@major-k.de> Hi Dan, > I did find a work-around... Just set the size of the stack to be the > drawer > before you open it: > > Set the height of stack "drawerStack" to (the height of stack "Main" - > 50) > Drawer stack "drawerStack" at left of stack "Main" coooooool, thanks a lot :-) >> At 10:00 AM +1000 9/3/2003, David Vaughan wrote: >>> However, what if you want to allow the user to open and close the >>> drawer multiple times? I found that when the above pair of commands >>> was repeated then the drawer become a line smaller in height each >>> time it was opened. >> >> That's a bug. (It's in bugzilla as bug # 488.) That's my bug ;-) Regards Klaus Major klaus at major-k.de www.major-k.de From dsc at swcp.com Wed Sep 3 11:27:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 3 11:27:00 2003 Subject: starting a process on OS X Message-ID: <94C25752-DE2A-11D7-8DB0-000A9567A3E6@swcp.com> I'm trying to start a process on OS X. I think 'open process ... for neither' is out; it returns an error code. (The 'open process' is not ready on OS X.) I tried shell. This may be the way to go, but I don't know enough about shells to make this work. I tried using '&' but shell() seems to wait for all processes to complete. Dar Scott From klaus at major-k.de Wed Sep 3 11:38:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Sep 3 11:38:01 2003 Subject: imagesource and url In-Reply-To: <2D9EE39F-DE28-11D7-A357-000A27B49A96@major-k.de> Message-ID: <1A7C1278-DE2C-11D7-A357-000A27B49A96@major-k.de> Hi all, has anybody succesfully tried this in 2.1? set the imagesource of char 1 of fld 1 to "http://www.xyz.de/images/bild.jpg" ### VALID image-url!!! setting the filename of an image to it works fine... This always crashed (unexspectedly quits) RR on my OS X 10.2.6. Anyone else seen this? (...before i bugreport it) Thanks in advance... Regards Klaus Major klaus at major-k.de www.major-k.de From scott at tactilemedia.com Wed Sep 3 11:45:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Sep 3 11:45:01 2003 Subject: starting a process on OS X In-Reply-To: <94C25752-DE2A-11D7-8DB0-000A9567A3E6@swcp.com> Message-ID: Recently, "Dar Scott" wrote: > I'm trying to start a process on OS X. > > I think 'open process ... for neither' is out; it returns an error > code. (The 'open process' is not ready on OS X.) The following works for me... on mouseUp answer file "Locate app:" if it is empty then exit mouseUp open process it for neither end mouseUp Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kevin at runrev.com Wed Sep 3 11:48:00 2003 From: kevin at runrev.com (Kevin Miller) Date: Wed Sep 3 11:48:00 2003 Subject: Snapshot / Success stories Message-ID: Hi, Has anyone got a really nice looking Revolution application that uses metal/drawers that we could take a screenshot of to show off in some marketing materials? If so, please contact me off list. Also, if you have a Revolution success story that we could publish, please send it to me off list. Many thanks, Kevin Kevin Miller ~ kevin 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 Wed Sep 3 11:56:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 3 11:56:01 2003 Subject: starting a process on OS X In-Reply-To: Message-ID: On Wednesday, September 3, 2003, at 10:39 AM, Scott Rossi wrote: > open process it for neither I'm getting 'error -43' in the result when I do this in my code. Maybe I have a path problem. Dar Scott From kaveh at deletethisbit.focalimage.com Wed Sep 3 12:12:01 2003 From: kaveh at deletethisbit.focalimage.com (Kaveh Bazargan) Date: Wed Sep 3 12:12:01 2003 Subject: starting a process on OS X In-Reply-To: References: Message-ID: At 10:50 am -0600 3/9/03, Dar Scott wrote: >On Wednesday, September 3, 2003, at 10:39 AM, Scott Rossi wrote: > >> open process it for neither > >I'm getting 'error -43' in the result when I do this in my code. Maybe >I have a path problem. This helped me the other day. Maybe it'll help here too: At 10:57 am -0500 30/8/03, Ken Ray wrote: >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" -- Kaveh From dcragg at lacscentre.co.uk Wed Sep 3 12:17:00 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed Sep 3 12:17:00 2003 Subject: shell command specifics? In-Reply-To: References: Message-ID: At 2:27 pm -0600 2/9/03, Alex Rice wrote: >On Tuesday, September 2, 2003, at 02:12 PM, Dar Scott wrote: >> >> cp? >> >> (No resource fork, I would guess.) > >Useful factoid: OS X has a command line app "ditto" which is kind of >like cp but preserves resource fork data. Warning! I heard this once, and eagerly tried ditto to copy a *large* bunch of files without first checking the man pages. Seeing the files had been copied, I deleted the originals. Minutes later, I discovered the copies were all missing their resource forks. Then I found out you need to use the -rsrcFork option with the ditto command to preserve the resource forks. Wiser but poorer for the experience. Cheers Dave From dsc at swcp.com Wed Sep 3 12:28:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 3 12:28:01 2003 Subject: starting a process on OS X In-Reply-To: Message-ID: <1708EB0E-DE33-11D7-8DB0-000A9567A3E6@swcp.com> On Wednesday, September 3, 2003, at 11:05 AM, Kaveh Bazargan wrote: > This helped me the other day. Maybe it'll help here too: > > At 10:57 am -0500 30/8/03, Ken Ray wrote: >> 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" But I'm not going for an app, I'm going for a program down in /usr/bin/ or /sbin/ and such. In thrashing I sometimes get error -50. Where do I find these errors? Dar Scott From jacque at hyperactivesw.com Wed Sep 3 12:33:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Sep 3 12:33:01 2003 Subject: CGI and find In-Reply-To: References: Message-ID: <3F562483.4070205@hyperactivesw.com> On 9/2/03 11:36 PM, Richard Gaskin wrote: > While I've written apps years ago that supported HC-style find options, for > myself I'll admit I've rarely had a need for them, or in all honesty it may > simply be that I've been thinking too much in terms of whole-string serches > and have overlooked some useful power there. What sorts of situations have > you found the "characters" or "words" options useful for? All the "find" options are pretty useful. Suppose I am searching for "good dog": find "good dog" -- finds any card which contains "good" and "dog" at the beginning of words, not necessarily together and not necessarily even in the same field. For example, will tag "goodly dogma" as a match but not "good underdog". Will tag "dog is good" as a match even though they are in a different order. Will tag a card if "dogma" is in one field and "good" is in another. This is hugely handy. For example, if I remember someone's first name and the city they live in, I can find them by seraching for "john san francisco" and even though the name and address are in different fields, the card will be found. find whole "good dog" -- finds only the whole phrase, and only where the phrase is made up of whole words. I.e., won't find "good dogma". Similar to the "offset" solution, except that it won't tag matches if they aren't comprised of exactly the words in the search phrase. find words "good dog" -- finds only whole words, but they can be in any order and not necessarily in the same field. Will tag a card as a match if one field contains "good eating" and another field contains "hot dog". Would not match if the second field contains "hot dogs" though, because "dogs" isn't the word we're looking for. find string "goo do" -- I don't use this much because it takes too long. But it can be handy if you need to look for a specific sequence of characters, including the spaces and punctuation in the sequence. This one would not match "good dog", but would match "mr. magoo does it". The string does not have to be at the beginning of a word. find chars "goo do" -- find each string of characters comprising each part of the search phrase. In other words, find any sequence of "goo" and any sequence of "do", not necessarily together and not necessarily at the beginning of words. Would tag "does magoo" as a match, even if the two words were in different fields. This variation is also time-consuming to run, but can be invaluable if you need to find partial strings that may be located in different fields anywhere on a card. > While offset is indeed slower than mark for finding all occurances in fields > across multiple cards, if the data were in a delimited list I'd be surprised > if whole-string matches were not faster using offset (that is, provided a > whole-string search is what you're after ). In my cgi, I want to find a variety of matches, not just whole strings. But on the other hand, "find" wouldn't work at all if the delimited list isn't in a field somewhere. If a stack has only a single list to search, then putting that list into a variable and running an offset script on it would surely be faster. But if you have many lists scattered across many cards, "find" and its variations is a viable solution, and allows for a great deal of exacting control over what gets tagged. Add to this the ability to set the dontsearch property of fields, cards, and groups, and you can really narrow down what gets searched and how fast it happens. If you don't want to search any of the fields in an entire background, just set its dontsearch to true and all the text in the background will be ignored. Handy. > I have a subjective feeling of vague "muckiness" when using fields for raw > data storage, with the object and style-run overhead.... I don't think the objects get in the way too much when the engine is running in non-GUI mode, but even in the IDE it works pretty well for what I'm doing. This particular stack is not very large though, only about 300 cards. There is no text styling anywhere, it's just a small database. The find/mark process in my tests was much faster than using offset to go through all the fields; a simple find/mark/process cards returns in 6 ticks. When I was using offset, the same search took 18-20 ticks and I was more limited in what I could search for, since I could only get whole string matches. This isn't to say that storing data in stacks is always a great idea. For larger data sets the engine breaks down and you need a real database. But for smaller data sets -- under 1000-2000 cards or so -- I have found stack-based storage to be easier to set up, easier to maintain, easier to script, quick to search and navigate, and supported by a large number of native commands in the language. I think it is an overlooked solution. I don't feel the need to put my little personal address book into an SQL database. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Sep 3 12:36:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 3 12:36:00 2003 Subject: starting a process on OS X In-Reply-To: Message-ID: <3D677783-DE34-11D7-8DB0-000A9567A3E6@swcp.com> On Wednesday, September 3, 2003, at 11:05 AM, Kaveh Bazargan wrote: > This helped me the other day. Maybe it'll help here too: > > At 10:57 am -0500 30/8/03, Ken Ray wrote: >> 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" From the docs: > Note: On OS X systems, you can use the open process command to > start up an application, but not a Unix process. To work with a Unix > process, use the shell function instead. I guess I need a shell solution. I don't know why & does not seem to work. Maybe it does and I'm doing something else wrong. Dar Scott From jacque at hyperactivesw.com Wed Sep 3 12:45:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Sep 3 12:45:01 2003 Subject: imagesource and url In-Reply-To: <1A7C1278-DE2C-11D7-A357-000A27B49A96@major-k.de> References: <1A7C1278-DE2C-11D7-A357-000A27B49A96@major-k.de> Message-ID: <3F562722.30401@hyperactivesw.com> On 9/3/03 11:31 AM, Klaus Major wrote: > Hi all, > > has anybody succesfully tried this in 2.1? > > set the imagesource of char 1 of fld 1 to > "http://www.xyz.de/images/bild.jpg" > ### VALID image-url!!! setting the filename of an image to it works fine... > > This always crashed (unexspectedly quits) RR on my OS X 10.2.6. > > Anyone else seen this? (...before i bugreport it) I haven't had any problems with it, but just as a guess, is the fixedlineheight of the field set to false? If it is true and the image is too high, there may be a conflict. It is still a bug though, because the engine should never crash. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Sep 3 12:49:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Sep 3 12:49:01 2003 Subject: imagesource and url In-Reply-To: <3F562722.30401@hyperactivesw.com> Message-ID: <1594C358-DE36-11D7-A357-000A27B49A96@major-k.de> Hi Jacqueline, > On 9/3/03 11:31 AM, Klaus Major wrote: > >> Hi all, >> has anybody succesfully tried this in 2.1? >> set the imagesource of char 1 of fld 1 to >> "http://www.xyz.de/images/bild.jpg" >> ### VALID image-url!!! setting the filename of an image to it works >> fine... >> This always crashed (unexspectedly quits) RR on my OS X 10.2.6. >> Anyone else seen this? (...before i bugreport it) > > I haven't had any problems with it, but just as a guess, is the > fixedlineheight of the field set to false? Yes, ma'm... :-) > If it is true and the image is too high, there may be a conflict. > It is still a bug though, because the engine should never crash. Exactly, will bugzilla it... > -- > 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 themacguy at macosx.com Wed Sep 3 12:52:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Sep 3 12:52:00 2003 Subject: Encrypted stack behavior...etc. In-Reply-To: <200309031557.LAA21474@www.runrev.com> Message-ID: <97027F6A-DE36-11D7-9EDA-000A95763ABC@macosx.com> Okay, folks. I'd better put a stop to this thread I started. The problem was not the encryption but the fact that I was attempting to do something that isn't permitted in an encrypted stack ("copy"). And that problem was brought about by my misunderstanding of the hierarchical nature of a group's objects' property inheritance (*whew* say -that- fast!). Once I realized that I had to make the group visible before I could make the images contained therein invisible and visible (without having to ungroup them - and that was a relief), the need to copy or clone the individual images simply went away. Therefore the encryption stays in and my stacks are secure. Richard Gaskin offered a suggestion that I separate the user interface from the code using an encrypted substack for the code (with a "start using" command in the openStack handler of the main stack). This would provide a means (going further) to utilize libraries of common code to which short handlers in the interface elements would refer. It might also, it seems, remove some of the restrictions (copy, etc.) other wise present in an encrypted stack. As my days coding Business Basic have shaped my coding "style", so to speak, I have much to internalize in the way of Rev's object-oriented, inheritance-based approach (in spite of 8 years working with HyperCard). However, with the right tools (Rev) and support (this list), I know it will happen. Thanks to everyone, Barry On Wednesday, Sep 3, 2003, at 09:57 America/Denver, Mark wrote: > Subject: Re: Encrypted stack doesn't behave properly - oops; yes it > does. > From: Mark Talluto > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Tuesday, September 2, 2003, at 11:55 PM, Scott Rossi wrote: > >> On 9/2/03 9:42 PM, "Mark Talluto" wrote: >> >>>> All I want to do is protect my code from view if someone tries to >>>> examine my stacks with Rev or with TextEdit. How can I do this? >>>> Obviously, this is not the application but a secondary stack (not >>>> sub-) whose data gets altered and saved during runtime. I can't ask >>>> the user to provide the password as I want to keep it a secret. >> >>> Set the passkey when the stack is opened. Then set the password >>> before >>> saving the data stack again. >> >> I don't believe you need to set the password after setting the >> passkey. The >> passkey allows you access to the stack during the current editing >> session; >> to remove a password from a stack you'd need to set the password to >> empty. >> Thus, once you set the passkey of a stack, the stack can be edited as >> needed, saved, and closed. Once it is closed, it will be protected as >> before. >> >> > > You are right Scott. Once it is set, it is set. This is unless you > set it to empty and save it. > > > Best regards, > Mark Talluto > http://www.canelasoftware.com From kaveh at deletethisbit.focalimage.com Wed Sep 3 12:56:01 2003 From: kaveh at deletethisbit.focalimage.com (Kaveh Bazargan) Date: Wed Sep 3 12:56:01 2003 Subject: starting a process on OS X In-Reply-To: <1708EB0E-DE33-11D7-8DB0-000A9567A3E6@swcp.com> References: <1708EB0E-DE33-11D7-8DB0-000A9567A3E6@swcp.com> Message-ID: At 11:21 am -0600 3/9/03, Dar Scott wrote: [...] >In thrashing I sometimes get error -50. Where do I find these errors? Again, I got the answer here recently: http://www.appleerrorcodes.com/ -- Kaveh From kray at sonsothunder.com Wed Sep 3 13:05:03 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 3 13:05:03 2003 Subject: Radio buttons as indicator lights In-Reply-To: <843AEB6D-DE1E-11D7-A357-000A27B49A96@major-k.de> Message-ID: <00e001c37245$09933ca0$6501a8c0@LightningFlash> > > Layer the radio buttons under a transparent (invisible) graphic. > > > > Greg > > AHHHH, YES :-D > > The most simple solution is always the best one :-) Even simpler. Turn off the radioBehavior of the group. :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Sep 3 13:08:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 3 13:08:00 2003 Subject: starting a process on OS X In-Reply-To: <1708EB0E-DE33-11D7-8DB0-000A9567A3E6@swcp.com> Message-ID: <00e101c37245$699cf5f0$6501a8c0@LightningFlash> > In thrashing I sometimes get error -50. Where do I find these errors? www.appleerrorcodes.com Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Wed Sep 3 13:15:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 3 13:15:00 2003 Subject: CGI and find In-Reply-To: <3F562483.4070205@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > All the "find" options are pretty useful. Suppose I am searching for > "good dog": > > find "good dog" -- finds any card which contains "good" and "dog" at the > beginning of words, not necessarily together and not necessarily even in > the same field. For example, will tag "goodly dogma" as a match but not > "good underdog". Will tag "dog is good" as a match even though they are > in a different order. Will tag a card if "dogma" is in one field and > "good" is in another. This is hugely handy. For example, if I remember > someone's first name and the city they live in, I can find them by > seraching for "john san francisco" and even though the name and address > are in different fields, the card will be found. > > find whole "good dog" -- finds only the whole phrase, and only where the > phrase is made up of whole words. I.e., won't find "good dogma". Similar > to the "offset" solution, except that it won't tag matches if they > aren't comprised of exactly the words in the search phrase. > > find words "good dog" -- finds only whole words, but they can be in any > order and not necessarily in the same field. Will tag a card as a match > if one field contains "good eating" and another field contains "hot > dog". Would not match if the second field contains "hot dogs" though, > because "dogs" isn't the word we're looking for. > > find string "goo do" -- I don't use this much because it takes too long. > But it can be handy if you need to look for a specific sequence of > characters, including the spaces and punctuation in the sequence. This > one would not match "good dog", but would match "mr. magoo does it". The > string does not have to be at the beginning of a word. > > find chars "goo do" -- find each string of characters comprising each > part of the search phrase. In other words, find any sequence of "goo" > and any sequence of "do", not necessarily together and not necessarily > at the beginning of words. Would tag "does magoo" as a match, even if > the two words were in different fields. This variation is also > time-consuming to run, but can be invaluable if you need to find partial > strings that may be located in different fields anywhere on a card. Most excellent description of the Find command I've come across yet. Thank you! -- 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 Wed Sep 3 14:09:02 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 14:09:02 2003 Subject: starting a process on OS X In-Reply-To: <3D677783-DE34-11D7-8DB0-000A9567A3E6@swcp.com> Message-ID: <44298816-DE41-11D7-A0B2-000393529642@mindlube.com> On Wednesday, September 3, 2003, at 11:29 AM, Dar Scott wrote: > > I guess I need a shell solution. I don't know why & does not seem to > work. Maybe it does and I'm doing something else wrong. It is confusing. Why not just have one command instead of "launch", "shell" or "open process"? I don't advocate anyone switching Ruv for Perl but one neat thing about Perl is that it's open() function works on a filename or a shell command. It accomplishes this by specifying a "mode" for the open, using the symbols <, >, >>, +<, +>, +>>, or |, around the name to be opened. The mode specifies read, write, append, create, or clobber for files and/or commands. Transcript has picked up Perl regular expressions, so maybe it could pickup it's filehandle and process opening semantics as well? :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ASGolub at dkhglaw.com Wed Sep 3 14:18:11 2003 From: ASGolub at dkhglaw.com (Alan Golub) Date: Wed Sep 3 14:18:11 2003 Subject: revJournal reQuest for Content Message-ID: <76A3DCF2-DE43-11D7-99EE-000393BBDD30@dkhglaw.com> First, thanks to all on this list who have visited, contributed to, and otherwise supported, revJournal.com. We're happy to host as many of you as will come. As many of you know, we've added two new editors to our staff (Sarah and Bj?rnke --thanks so much for your awesome help!) in an effort to keep the content as fresh and as frequent as possible. Guests like Dan Shafer and Richard Gaskin have also made appearances, and the feedback from these cameos suggest that our readers find them invaluable, and want to see more of the same. Thus, I'd like to elicit some more help/participation from you revGurus out there. I have a few article ideas I'll throw out to you in a minute, but I once again invite any and all of you to consider writing an article about: (a) something you have particular expertise in; (b) a Revolution tool or utility you use regularly; (c) relatively undocumented features of Revolution; (d) success stories of how Revolution has changed your business/life, etc.; or (e) programming in general. Here are some suggestions for articles I'd love to see: 1. A database primer. One of the coolest things about the stack/card design is that you get a sort of simple database capability for free. But a true relational database is much more powerful, and I'd love to see an article about how Revolution can, and in some cases, should, be used as a front-end for a separate RDMS. What is a database? When/why would you use one? How to you connect to one from Rev? What are the strengths/weaknesses of the various RDMSs that work with Rev? Ideally, an extended series of articles on this topic would be extremely interesting and helpful. 2. OOP. A recent thread on the lists discussed adding true OOP capabilities to Rev. Very interesting. But I'd love more! What is OOP? What are its advantages? How does Rev's object-based paradigm compare? What are we missing? What do we stand to gain/lose? 3. CGI. Lots of questions on this, but this is sophisticated stuff for the inexperienced. What is it, why would you use it, how does Revolution support it? 4. XML. Basically the same comments made above about CGI. 5. Algorithms and Data Structures -- Although I plan on covering this on an as-needed basis in my revSchool lessons, wouldn't it be neat to have a periodic column covering how to implement a relatively standard data structure in Transcript? Anyway, these are some non-exclusive suggestions -- I'm open to anything you'd like to write about, the only criteria being that it is somehow relevant to the Revolution developer community. If you think you can contribute, or have additional ideas for topics you'd like to see covered, please contact me off-list at publisher @revjournal.com. As you can tell from the site content, our publishing schedule is on an as-able basis -- there's no real pressure or deadline other than wanting to get good stuff up for everyone as soon as reasonably possible. In other words, please consider writing even if you think you'll need a lengthy period of time to get a draft in to me. Thanks as always for you encouragement and support. Keep on revvin'! Alan S. Golub -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 3200 bytes Desc: not available URL: From janschenkel at yahoo.com Wed Sep 3 14:20:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 3 14:20:01 2003 Subject: Telnet in Rev? In-Reply-To: Message-ID: <20030903191429.85398.qmail@web11908.mail.yahoo.com> --- Robert Wynne wrote: > Hi, > > Does anyone have a stack or sample code for a simple > telnet > implementation that would allow a connection from a > Rev stack to a > telnet server? I just want to send a simple command > string to a remote > server. I found references to "telnet.mc" on the > net, but haven't been > able to locate it anywhere. > > Thanks. > > - Robert > Hi Robert, I recently downloaded it from : However, when I tested it, it didn't work ; so maybe someone else can lend you a hand to get it to work ? Hope this helped nonetheless, 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 rgmiller at pacbell.net Wed Sep 3 14:30:00 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Wed Sep 3 14:30:00 2003 Subject: Radio buttons as indicator lights References: <200309031307.JAA13173@www.runrev.com> Message-ID: <3F563FC6.2040803@pacbell.net> From: Graham > I just want to zap this last effect but I don't know how to do it. If I can't find a solution, I will have to stand down the whole radio button idea and do it all by scripting - perfectly possible, but a pain. Graham, If the user has no control over the radio buttons, the user will be fustrated... It's an incorrect user interface. Change to something else. How about colored oval graphics? create an filled dark-gray oval to indicate one situation (like off) and one which is colored deep green, when a condition is met then: on chooseThisOne grafName lock screen -- the graphics are named: "test.1", "test.2", etc. -- without the quotes repeat with x = 1 to 5 -- the number of indicators (graphics) put "test." & x into grafTempName set the backGroundColor of graphic grafTempName to "100,100,100" -- gray -- or -- set the backGroundColor of graphic grafTempName to "white" -- white end repeat set the backGroundColor of graphic grafName to "51,102,51" -- green unlock screen end chooseThisOne This way the user is never confusing radio btns with indicators. 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 ambassador at fourthworld.com Wed Sep 3 14:47:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 3 14:47:00 2003 Subject: strategies for the default "answer file" Message-ID: Ostensibly, when Rev boots the default directory is set the folder the engine or standalone is in, and "answer file" will default to that directory. However I've had widely varying reports of just which folder first appears when calling "answer file" with no default directory specified. Complicating matters further, if memory serves there was some discussion here about the specified default directory being overridden by som OSes under some circumstances, but I can't recall the details. I just need to reliably present a file selection dialog and a folder selection dialog to a specific directory on all supported platforms. What are the rules? -- 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 Wed Sep 3 15:07:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed Sep 3 15:07:00 2003 Subject: APPLE EXPO PARIS Message-ID: <623B696A-DE49-11D7-A8AF-000393533246@skynet.be> Hello Heather I send my questino againbecause de D-Day is coming soon : do you plan to have a stand at the APPLE EXPO PARIS as previous year ? I know you cannot be present for this year but perhaps do you plan some other persons from the team being at Paris ? I send this question to the list because it may have some interests for other users present on the list. Greetings. Yves COPPE yvescoppe at skynet.be From alex at mindlube.com Wed Sep 3 15:20:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 15:20:01 2003 Subject: strategies for the default "answer file" In-Reply-To: Message-ID: <2291F0B9-DE4B-11D7-A0B2-000393529642@mindlube.com> On Wednesday, September 3, 2003, at 01:40 PM, Richard Gaskin wrote: > > I just need to reliably present a file selection dialog and a folder > selection dialog to a specific directory on all supported platforms. > What > are the rules? Sorry to chime in your thread with additional questions, but what would folks expect to happen with this transcript code? answer file "pick a file" with specialFolderPath("unknown ID") Where the unknown ID is not defined for a particular platform. (e.g. "Documents" not working on MacOS platform, even though OS X has a Documents folder). I was seeing some bizarre behavior by the open dialog, so I just removed the folder path and resigned to answer file "pick a file" Haven't had time to really troubleshoot it yet. 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 Wed Sep 3 15:51:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 3 15:51:01 2003 Subject: starting a process on OS X In-Reply-To: <44298816-DE41-11D7-A0B2-000393529642@mindlube.com> Message-ID: <724B49CE-DE4F-11D7-8DB0-000A9567A3E6@swcp.com> On Wednesday, September 3, 2003, at 01:03 PM, Alex Rice wrote: > It is confusing. Why not just have one command instead of "launch", > "shell" or "open process"? I think there might be merit for launch to be separate. It is not a technical reason, but a documentation and pedagogical reason. There might be good reason to keep "launch" documentation uncluttered. Dar Scott From ambassador at fourthworld.com Wed Sep 3 15:52:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 3 15:52:01 2003 Subject: strategies for the default "answer file" In-Reply-To: <2291F0B9-DE4B-11D7-A0B2-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > Sorry to chime in your thread with additional questions, but what would > folks expect to happen with this transcript code? > > answer file "pick a file" with specialFolderPath("unknown ID") > > Where the unknown ID is not defined for a particular platform. (e.g. > "Documents" not working on MacOS platform, even though OS X has a > Documents folder). Use: put specialfolderpath("docs") A list of Apple constants for "special" folders is 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 scott at tactilemedia.com Wed Sep 3 15:59:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Sep 3 15:59:01 2003 Subject: strategies for the default "answer file" In-Reply-To: Message-ID: Recently, "Richard Gaskin" wrote: > I just need to reliably present a file selection dialog and a folder > selection dialog to a specific directory on all supported platforms. What > are the rules? Can't say this for certain about Windows but I was *told* that a file selection dialog should start at "c:" thus allowing the user the navigate into the main drive hierarchy. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jperryl at ecs.fullerton.edu Wed Sep 3 16:07:01 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed Sep 3 16:07:01 2003 Subject: New Rev Buyers, did you receive your unlocking key? In-Reply-To: <1g0pfwf.1tyrso9xb03buM%mcdomi@free.fr> Message-ID: Dom, I'm still waiting patiently. I figure a bunch of us waited until the last minute (but not, unfortunately, my students, whom I wish to beat with a large stick...) Judy On Wed, 3 Sep 2003, Dom wrote: > I am a "last minute buyer" > -- 31 Aug, a while before midnight ;-)) > > I am looking for my unlocking key since there... > > I am aware that Heather is certainly overwhelmed by a number of new > licensees... > > -- > New Photos : > http://cooldomi.free.fr/CP/Barcelonnette/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Wed Sep 3 16:11:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Sep 3 16:11:00 2003 Subject: Radio buttons as indicator lights In-Reply-To: <200309031307.JAA13173@www.runrev.com> Message-ID: Hi Ken an Graham, > From: "Ken Ray" > Subject: RE: Radio buttons as indicator lights > Date: Wed, 3 Sep 2003 08:55:15 -0500 > Organization: Sons of Thunder Software > > Nothing happens when the user clicks, but you can set it in a script. ---------- I tried the method and the above turned out NOT to be true, I.e., you can still click on the radio buttons manually and they will hilite. So, you additionally must set the autoHilite of ALL the buttons to false. Then everything Graham asked for appears to work OK in my short test. Ken N. From pixelbird at interisland.net Wed Sep 3 16:11:12 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Sep 3 16:11:12 2003 Subject: Radio buttons as indicator lights In-Reply-To: <200309031307.JAA13173@www.runrev.com> Message-ID: Hello yoy, > From: "yoy" > Subject: Re: Radio buttons as indicator lights > Date: Wed, 3 Sep 2003 09:26:29 -0400 > > Ungroup the radio buttons. ---------- I don't think so. That should kill the radio button behavior which he still wants from scripting, and the user can still click one and it will hilite, which he doesn't want. Setting all the buttons' autoHilite to false will help. Then they can still be hilited with radio behavior via script, but yet they won't hilite by manually clicking. When I tried Ken Ray's idea, i.e., unchecking "Hilite one radio button at a time" in the group, then setting hilitedButton of group "Indicators" to x, it worked fine, except you could still hilite each by manually clicking. Setting the autoHilite of all the buttons to false fixed it. repeat with x = 1 to (the number of buttons in group "Indicators") set the autoHilite of btn x of group "Indicators" to false end repeat Ken N. From cszasz at newwave.net Wed Sep 3 16:50:00 2003 From: cszasz at newwave.net (Charles Szasz) Date: Wed Sep 3 16:50:00 2003 Subject: Array using a Popup window question Message-ID: In my project, I have created a popup menu that has 22 choices of combinations of IQ and achievement tests. Each selection has one IQ and one achievement test. Each test such as an IQ may have four to five scores, while each achievement test may have as many as 10 scores. Each combination of tests in the popup window has a different set of scores. In other words, they are not always equal. My lookup table would require a correlation for scores from both tests plus reliability coefficients for each IQ and achievement score. In addition to the above requirements for each popup selection, I want to have radio buttons appear representing on my card so the user can select a radio button and enter the score the radio it represents for the IQ test. Also, the areas of the achievement tests (with a place to enter each achievement or subachievement score) would be displayed depending on the IQ and achievement combo selected. It is possible to set up a popup menu to do the above using an array? I do have another question, how do you make the popup menu reset itself after a selection is made and then you quit the program and then restarted it? Charles From wouter.abraham at pi.be Wed Sep 3 16:59:01 2003 From: wouter.abraham at pi.be (wouter) Date: Wed Sep 3 16:59:01 2003 Subject: The Directory Walker revisited In-Reply-To: <200309031307.JAA13257@www.runrev.com> Message-ID: See below... On woensdag, sep 3, 2003, at 15:07 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 11 > Date: Wed, 03 Sep 2003 06:53:13 -0700 > Subject: Re: The Directory Walker revisited > From: Scott Rossi > To: > Reply-To: use-revolution at lists.runrev.com > snip > Here's one from the archives that works for me (added a simple busy > cursor > indicator): > > global gHierList > on mouseUp > put empty into gHierList > put empty into field 1 > answer folder "Pick a folder you want to walk:" > if it is empty then exit mouseUp > set lockCursor to true > set cursor to watch > directoryWalk it > sort gHierList > put gHierList into field 1 > put number of lines of fld 1 > set lockCursor to false > end mouseUp > > on directoryWalk whatFolder > set the defaultFolder to whatFolder > put the files into temp > repeat for each line x in temp > put whatFolder & "/" & x & return after gHierList > end repeat > put the folders into tDirList > repeat with x = 2 to the number of lines of tDirList > directoryWalk (whatFolder & "/" & (line x of tDirList)) > end repeat > end directoryWalk > > I believe the script posted on Ken Ray's tips site (which is also in > the > archives) will run into the recursion limit problem. Ken - maybe you > can > update your tips page with a revised script. > > Regards, > > Scott Rossi > Creative Director > > Tactile Media, Multimedia & Design > Email: scott at tactilemedia.com > Web: www.tactilemedia.com > I am very sorry to inform you that this one you adapted from David Vaughn, is also bumping into the recursionLimit. So as everybody is really liking recursive handlers I cooked something up which you could call a recursive handler (as it is calling itself). And which will NOT run into the recursionLimit by allowing it to end itself before starting a new instance of itself. Here it is : local lDirList,lHierList on mouseUp put "" into fld "Result" answer folder "Pick a folder you want to walk:" if it = "" then exit mouseUp put it & "/" into tMainFolder set the itemDel to "/" put "" into lDirlist put "" into lHierList directoryWalk tMainFolder end mouseUp on directoryWalk tDir set the directory to tDir put tDir & cr after lHierList if the hilite of btn "theFiles" then put the files into temp repeat for each line x in temp put tDir & x & cr after lHierList end repeat end if put line 2 to -1 of the folders into tTempDirList repeat for each line x in tTempDirList put tDir & x & "/" & cr after lDirList end repeat put line 1 of lDirList into tDir delete line 1 of lDirlist #### comment out -- in 0.5 millisecs and it will run into the recursionLimit ##### if tDir <> empty then send "directoryWalk" && tDir to me in 0.5 millisecs else sort lHierlist put lHierlist into fld "result" put the number of lines in fld "result" end if end directoryWalk Try commenting out the "in 0.5 millisecs" and see what happens. And please use a disk with wide (and/or deep) enough directories to run a test :^) The added benefit of this one is that it will kind of run in the background without locking up Revolution/Metacard. Greetings to you all, WA From alex at mindlube.com Wed Sep 3 17:08:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 17:08:01 2003 Subject: strategies for the default "answer file" In-Reply-To: Message-ID: <506C99A6-DE5A-11D7-AFC7-000393529642@mindlube.com> On Wednesday, September 3, 2003, at 02:45 PM, Richard Gaskin wrote: > Alex Rice wrote: >> >> answer file "pick a file" with specialFolderPath("unknown ID") > Use: put specialfolderpath("docs") > > A list of Apple constants for "special" folders is at: > Folder_Manager/fo > lder_manager_ref/constant_6.html#//apple_ref/doc/uid/TP30000238/ > C006889> Thanks. Really I was asking- should "answer file" degrade gracefully if I messed up on the specialFolderpath? I was seeing behavior where sometimes it would allow files to be selected, sometimes not. Anyone else seen something like this? 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 Wed Sep 3 17:25:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 3 17:25:01 2003 Subject: The Directory Walker revisited In-Reply-To: Message-ID: On Wednesday, September 3, 2003, at 03:52 PM, wouter wrote: >> repeat with x = 2 to the number of lines of tDirList >> directoryWalk (whatFolder & "/" & (line x of tDirList)) >> end repeat ... > I am very sorry to inform you that this one you adapted from David > Vaughn, is also bumping into the recursionLimit. Very strange. I assume you don't have folders nested 700 deep. Maybe something in the script increases the stack frame size. > So as everybody is really liking recursive handlers I cooked something > up which you could call a recursive handler (as it is calling itself). > And which will NOT run into the recursionLimit by allowing it to end > itself before starting a new instance of itself. Cool! Dar Scott From alex at mindlube.com Wed Sep 3 17:33:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 17:33:01 2003 Subject: OS X standalones: 2 questions Message-ID: 1) Has the size of the OS X engine grown in recent versions? A hello world stack compiled with Rev 2.1 on Windows 2K results in a standalone size of: 2.06 MB Windows 4.43 MB Mac OS X (4.29 MB = executable, remainder is app package) OS X builds have always been larger, but not 2.4 MB larger!?? 2) The same hello world app: the windows standalone starts OK, but when I FTP the test.app folder over to my OS X box, it won't start: Sep 3 16:22:20 localhost WindowServer[968]: ERROR! execle(/Volumes/scsi_internal_18G/alex/test_MacOSX_Standalone/test.app/ Contents/MacOS/Revolution) returned, err=22 Anyone else seeing this problem? I don't usually build on Windows- so if it needs to be bugzilla'd someone else should do it. Thanks, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From psahores at easynet.fr Wed Sep 3 17:36:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Sep 3 17:36:01 2003 Subject: CGI and find In-Reply-To: <3F562483.4070205@hyperactivesw.com> References: <3F562483.4070205@hyperactivesw.com> Message-ID: <1062628194.3068.55.camel@www.kmax.ici> Le mer 03/09/2003 ? 19:27, J. Landman Gay a ?crit : > On 9/2/03 11:36 PM, Richard Gaskin wrote: > > This isn't to say that storing data in stacks is always a great idea. > For larger data sets the engine breaks down and you need a real > database. But for smaller data sets -- under 1000-2000 cards or so -- I > have found stack-based storage to be easier to set up, easier to > maintain, easier to script, quick to search and navigate, and supported > by a large number of native commands in the language. I think it is an > overlooked solution. I don't feel the need to put my little personal > address book into an SQL database. Jacque, About SQL : If you really try it, you will see that it's not a language but just a subset of xtalk-like commands dedicated to manage big collections of datas. Before using Postgresql as backend of my web driven apps, i had to write lots and lots of code to manage in Metatalk/Transcript what SQL does natively (searches, inserts, updates, deletes). An appp using 2.9 Mo of scripting to handle a flat-files based database can be replaced by a 500 Ko one just by using SQL calls instead of offset searches, read, writes... As in Rev/MC, the only difficulty in using PostgreSQL (or, at least, MySQL-Max 4.xx, the 3.23 issue is not really a sure db system) is to think what and how to code. I'm sure you would be really happy in using it. Thanks a lot for sharing with us your last "find cgi" related post about your "mark cards by finding..." proposal. Elegant, usefull, impressive. :-) Kind Regards, Pierre From ambassador at fourthworld.com Wed Sep 3 17:45:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 3 17:45:01 2003 Subject: OS X standalones: 2 questions In-Reply-To: Message-ID: Alex Rice wrote: > Has the size of the OS X engine grown in recent versions? A hello > world stack compiled with Rev 2.1 on Windows 2K results in a standalone > size of: > > 2.06 MB Windows > 4.43 MB Mac OS X (4.29 MB = executable, remainder is app package) > > OS X builds have always been larger, but not 2.4 MB larger!?? What's inside the .app? A lot of apps look really huge in OS X (Calculator was about 8k in Classic, and is 1MB in OS X), in large part because he migration away from the resource fork requires the .app folder to be filled with lots of tiny files, and with file allocation being what it is a file with 300 bytes will occupy at least 4k on a modest drive, more on larger drives. -- 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 k.r.hauge at east.uio.no Wed Sep 3 17:45:13 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Wed Sep 3 17:45:13 2003 Subject: Workaround for adding Unicode text to a field Message-ID: The problem of adding Unicode text to a field was discussed by several exasperated list members this summer. I have now found a partial workaround that solves at least my particular problem: I want the user to be able to select (by clicking or dragging) a word in a field and then click a button to add it, on a new line, at the end of another field (for the purpose of building a vocabulary list). This is the button script: on mouseup put the selectedText into stuff select after field 3 type return set the clipboarddata["Unicode"] to stuff select after field 3 paste end mouseup This works fine with single words, but if you have a multiword selection, every second word gets turned into CJK - fun to look at but not very useful. The added operation of typing the return is necessary - merely adding the return to the variable "stuff" does not effect a new line. However, it does leave *something* there - when I changed the secondlast line to "select after line 4 of field 3" these dormant returns seemed to be recognised. -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From jacque at hyperactivesw.com Wed Sep 3 17:46:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Sep 3 17:46:01 2003 Subject: OS X standalones: 2 questions In-Reply-To: References: Message-ID: <3F566DC1.4090005@hyperactivesw.com> On 9/3/03 5:26 PM, Alex Rice wrote: > 1) Has the size of the OS X engine grown in recent versions? A hello > world stack compiled with Rev 2.1 on Windows 2K results in a standalone > size of: > > 2.06 MB Windows > 4.43 MB Mac OS X (4.29 MB = executable, remainder is app package) I have noticed an odd tendency for the standalone builder to insert two copies of the engine in OS X builds. One copy is directly inside the app bundle, and the second copy is in app/Contents/MacOS/. Deleting the one just inside the app bundle doesn't seem to hurt anything and will halve the size of the build. I haven't quite got it nailed down yet, but I think it may have something to do with building a new standalone on top of an existing one (that is, the new one replaces the old one on disk.) If someone can verify that, we could bugzilla it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Wed Sep 3 17:56:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 3 17:56:01 2003 Subject: The Directory Walker revisited In-Reply-To: Message-ID: On Wednesday, September 3, 2003, at 04:19 PM, Dar Scott wrote: > Maybe something in the script increases the stack frame size. Yep, the repeat. This makes sense. One way to implement this is the way it is in PostScript and Joy. A function is called with some looping parameters, perhaps a context and a chunk of code. For a very simple loop (repeat with i = 1 to 1) this drops the max recursion call depth (for default) to 537 in my tests. Adding a simple 'if' drops it to 487 in my tests. I expect we would see this in all structures. Dar Scott From alex at mindlube.com Wed Sep 3 18:01:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 18:01:00 2003 Subject: OS X standalones: 2 questions In-Reply-To: Message-ID: <9F53C805-DE61-11D7-AFC7-000393529642@mindlube.com> On Wednesday, September 3, 2003, at 04:39 PM, Richard Gaskin wrote: > What's inside the .app? By "4.29 MB = executable, remainder is app package" I meant that the executable file, inside the app bundle, is 4.29 MB in actual size. The remainder of the app bundle takes approx 200KB which is not unreasonable. Sizes in K bytes: # du -k test.app 4396 test.app/Contents/MacOS 152 test.app/Contents/Resources 4560 test.app/Contents 4560 test.app Sizes in bytes: test.app/Contents: -rw-r----- 1 alex staff 1369 Sep 3 16:46 Info.plist drwxr-x--- 3 alex staff 102 Sep 3 16:41 MacOS -rw-r----- 1 alex staff 8 Sep 3 16:46 PkgInfo drwxr-x--- 5 alex staff 170 Sep 3 16:41 Resources -rw-r----- 1 alex staff 280 Sep 3 16:46 pbdevelopment.plist test.app/Contents/MacOS: -rw-r----- 1 alex staff 4498655 Sep 3 16:46 Revolution test.app/Contents/Resources: -rw-r----- 1 alex staff 58576 Sep 3 16:46 Revolution.icns -rw-r----- 1 alex staff 34431 Sep 3 16:46 Revolution.rsrc -rw-r----- 1 alex staff 53427 Sep 3 16:46 RevolutionDoc.icns > A lot of apps look really huge in OS X (Calculator was about 8k in > Classic, > and is 1MB in OS X), in large part because he migration away from the > resource fork requires the .app folder to be filled with lots of tiny > files, > and with file allocation being what it is a file with 300 bytes will > occupy > at least 4k on a modest drive, more on larger drives. I understand, and I always expect OS X apps to be larger, but there are only a dozen files in this app bundle - which doesn't explain the 2 MB+ difference. 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 Wed Sep 3 18:03:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 18:03:01 2003 Subject: OS X standalones: 2 questions In-Reply-To: <3F566DC1.4090005@hyperactivesw.com> Message-ID: On Wednesday, September 3, 2003, at 04:40 PM, J. Landman Gay wrote: > I have noticed an odd tendency for the standalone builder to insert > two copies of the engine in OS X builds. One copy is directly inside > the app bundle, and the second copy is in app/Contents/MacOS/. > Deleting the one just inside the app bundle doesn't seem to hurt > anything and will halve the size of the build. > > I haven't quite got it nailed down yet, but I think it may have > something to do with building a new standalone on top of an existing > one (that is, the new one replaces the old one on disk.) If someone > can verify that, we could bugzilla it. I'm not seeing that. There is 1 "Revolution" file in the app bundle, and it's 4.2MB. But thanks for the warning I'll keep an eye out for what you describe if my app suddenly jumps to 8 or 10 MB. 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 Wed Sep 3 18:19:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 3 18:19:01 2003 Subject: OS X standalones: 2 questions In-Reply-To: Message-ID: <3CAEB583-DE64-11D7-8DB0-000A9567A3E6@swcp.com> On Wednesday, September 3, 2003, at 04:56 PM, Alex Rice wrote: >> I haven't quite got it nailed down yet, but I think it may have >> something to do with building a new standalone on top of an existing >> one (that is, the new one replaces the old one on disk.) If someone >> can verify that, we could bugzilla it. > > I'm not seeing that. There is 1 "Revolution" file in the app bundle, > and it's 4.2MB. > > But thanks for the warning I'll keep an eye out for what you describe > if my app suddenly jumps to 8 or 10 MB. Or if that one file jumps to 6.3 MB! Dar Scott From alex at mindlube.com Wed Sep 3 18:24:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 18:24:00 2003 Subject: OS X standalone: can't strip it Message-ID: Any C programmers out there know why this command fails on OS X standalone engine? # strip test.app/Contents/MacOS/Revolution strip: the __LINKEDIT segment does not cover the end of the file (can't be processed) in: test.app/Contents/MacOS/Revolution On most executables, the strip command will remove debug symbols, if there are any, thus reducing the filesize of the executable. Sometimes this can reduce filesize by as much as 50%. man strip LIMITATIONS Not every layout of a Mach-O file can be stripped by this program. But all layouts produced by the Apple compiler system can be stripped. I thought the Rev OS X engines were being built with Apple PB/gcc now but I don't know for a fact. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From monte at sweattechnologies.com Wed Sep 3 18:26:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 3 18:26:00 2003 Subject: strategies for the default "answer file" In-Reply-To: Message-ID: > I just need to reliably present a file selection dialog and a folder > selection dialog to a specific directory on all supported platforms. What > are the rules? > From dvk at dvkconsult.com.au Wed Sep 3 18:41:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Sep 3 18:41:01 2003 Subject: use-revolution digest, Vol 1 #1865 - 13 msgs In-Reply-To: <200309031307.JAA13126@www.runrev.com> Message-ID: <2C735FD3-DE67-11D7-908D-000A95729266@dvkconsult.com.au> On Wednesday, Sep 3, 2003, at 23:07 Australia/Brisbane, wouter wrote: snip > > I have been searching for this recursive walkers from "years" ago but > couldn't find those with "depth-first search with pre- or end-order > processing". Can you please post the url. > The other recursive ones are "all" bumping into the recursionLimit. > Except one you mentioned at : > http://lists.runrev.com/pipermail/use-revolution/2002-May/004353.html > which points to Ben Rubinstein's directory walking function. Which is > not a real recursive handler, but a repeat loop buried in a function. > Only this script as it is, will not work and has to be corrected. > Your comments above puzzle me. I have no need to post the URL because you just did. When I click on the url you posted I go to the routine I wrote and published myself. It does not mention, point to, and is not derived from, anything by Ben. While always a theoretical possibility, it is nigh-impossible in practice that this will bump into a limit, the default recursion depth allowing for over 700 directories deep, as Dar has mentioned. Further, it is a real recursive handler, pre-order, depth-first. The fact it is a function is normal for a recursive routine which returns data. The repeat loops within it simply list the files within the directory at which you have just arrived (pre-order process) and steps through the immediate sub-folders for depth-first recursive searching. What here is "not real"? Finally, it works without "correction". I know because (a) I just copied and pasted the code into a test stack and ran it successfully and (b) it is the code I already use in other stacks anyway; with zero problems of course. I appreciate your interest in the topic but not the mis-statements about recursion or my code. regards David From ambassador at fourthworld.com Wed Sep 3 18:54:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 3 18:54:00 2003 Subject: use-revolution digest, Vol 1 #1865 - 13 msgs In-Reply-To: <2C735FD3-DE67-11D7-908D-000A95729266@dvkconsult.com.au> Message-ID: David Vaughan wrote: > I know because (a) I just > copied and pasted the code into a test stack and ran it successfully > and (b) it is the code I already use in other stacks anyway; with zero > problems of course. > > I appreciate your interest in the topic but not the mis-statements > about recursion or my code. Wou you mind reposting it? There have been so many variants here I can no longer keep track of the proven and unproven algorithms. -- 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 dvk at dvkconsult.com.au Wed Sep 3 19:19:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Sep 3 19:19:01 2003 Subject: Directory Walker revisited In-Reply-To: <200309032255.SAA11061@www.runrev.com> Message-ID: <4589C94F-DE6C-11D7-908D-000A95729266@dvkconsult.com.au> On Thursday, Sep 4, 2003, at 08:55 Australia/Brisbane, Richard Gaskin wrote: > > Wou you mind reposting it? There have been so many variants here I > can no > longer keep track of the proven and unproven algorithms. Richard here is my original posting, from http://lists.runrev.com/pipermail/use-revolution/2002-May/004353.html -- This recursive function expects a folder path. -- It returns a file list for that folder and for each -- sub-folder it contains (pre-order search) -- Invisible files are excluded. function walkDir dirPath put empty into tList set defaultFolder to dirPath put the long files into fList repeat for each line fLine in fList if char 1 of fLine <> "." then put item 1 of fLine & comma & last item of fLine into fData put dirPath & "/" & fData & return after tList end if end repeat get the folders repeat for each line x in it if char 1 of x <> "." then put walkDir(dirPath & "/" & x) after tList end if end repeat return tList end walkDir I use this on folders within the user volume and on small (few GB) external volumes. Search depths noted were up to about 10 in those cases (I added some code to display the maxDepth). I believe that total frame space, affected by repeat and if statements as Dar notes, will impose limits if you try it on a large volume including Apps and the OS folders. regards David -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1534 bytes Desc: not available URL: From dsc at swcp.com Wed Sep 3 19:54:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 3 19:54:01 2003 Subject: Directory Walker revisited In-Reply-To: <4589C94F-DE6C-11D7-908D-000A95729266@dvkconsult.com.au> Message-ID: <6F488834-DE71-11D7-8DB0-000A9567A3E6@swcp.com> On Wednesday, September 3, 2003, at 06:11 PM, David Vaughan wrote: > get the folders > repeat for each line x in it > if char 1 of x <> "." then > put walkDir(dirPath & "/" & x) after tList > end if > end repeat ... > I use this on folders within the user volume and on small (few GB) > external volumes. Search depths noted were up to about 10 in those > cases (I added some code to display the maxDepth). I believe that > total frame space, affected by repeat and if statements as Dar notes, > will impose limits if you try it on a large volume including Apps and > the OS folders. That about 700 was a handler. A function is hit harder. I tested with a function with a repeat and an if and got about 400 (on OS X with IDE with Revolution 2.1). BTW, what this means is that the above function might be more resistant to recursion problems if the "." lines are stripped before the loop. This suggests a way to get around the 'if' impact in typical recursive functions: put the terminating return in the 'if' body and put the recursion afterward. I have seen something strange. The length of the error text given to the catch varies by a factor of 1 to 20 each time. The lines are repeated, of course, but the repetition seems to be wrong. I'm a tiny bit worried that hitting the recursion limit with the directory walker might be indicative of something surprising that is going to jump up and bite me later. Dar Scott From monte at sweattechnologies.com Wed Sep 3 20:44:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 3 20:44:01 2003 Subject: Directory Walker revisited In-Reply-To: <6F488834-DE71-11D7-8DB0-000A9567A3E6@swcp.com> Message-ID: > I'm a tiny bit worried that hitting the recursion limit with the > directory walker might be indicative of something surprising that is > going to jump up and bite me later. Some supprising Results on the following test: Result: 0.931,0.915 (on my My Documents directory which is quite big) Note it's even faster if you do a direct call instad of send but I've used send because one would assume it would avoid recursion issues. So it would seem the handler version is faster local lList = "" on mouseUp answer folder "" put it into tFolder put the long seconds into tSeconds get walkDir(tFolder) put the long seconds-tSeconds into tFunction put the long seconds into tSeconds hWalkDir tFolder put the long seconds-tSeconds into tHandler put tFunction,tHandler end mouseUp -- This recursive function expects a folder path. -- It returns a file list for that folder and for each -- sub-folder it contains (pre-order search) -- Invisible files are excluded. function walkDir dirPath put empty into tList set defaultFolder to dirPath put the long files into fList repeat for each line fLine in fList if char 1 of fLine <> "." then put item 1 of fLine & comma & last item of fLine into fData put dirPath & "/" & fData & return after tList end if end repeat get the folders repeat for each line x in it if char 1 of x <> "." then put walkDir(dirPath & "/" & x) after tList end if end repeat return tList end walkDir -- This recursive function expects a folder path. -- It returns a file list for that folder and for each -- sub-folder it contains (pre-order search) -- Invisible files are excluded. on hWalkDir dirPath set defaultFolder to dirPath put the long files into fList repeat for each line fLine in fList if char 1 of fLine <> "." then put item 1 of fLine & comma & last item of fLine into fData put dirPath & "/" & fData & return after lList end if end repeat get the folders repeat for each line x in it if char 1 of x <> "." then send hWalkDir && dirPath & "/" & x to me end if end repeat end hWalkDir From steve at nexpath.com Wed Sep 3 22:10:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Wed Sep 3 22:10:00 2003 Subject: undo broken in script editor In-Reply-To: References: Message-ID: <3F56ABE9.3000504@nexpath.com> Has the lame (and broken) function of the undo command in the script editor been reported as a bug? By my memory, it did not work in 2.0 nor now in 2.1. Appears to be only one action deep (pretty minimal by today's standards, even vi has multi-level), there doesn't seem to be a re-do, and when you delete a selection, the undo doesn't work at all. I don't know if this is just low on the priority list or maybe other people are using a different editor. I searched bugzilla and couldn't find an entry which is surprising. I did see entries about the colorizing working unevenly. -Steve From alex at mindlube.com Wed Sep 3 22:24:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 22:24:00 2003 Subject: undo broken in script editor In-Reply-To: <3F56ABE9.3000504@nexpath.com> Message-ID: <6A4D74F6-DE86-11D7-BEC4-000393529642@mindlube.com> On Wednesday, September 3, 2003, at 09:05 PM, Steve Gehlbach wrote: > Has the lame (and broken) function of the undo command in the script > editor been reported as a bug? > > By my memory, it did not work in 2.0 nor now in 2.1. Appears to be > only one action deep (pretty minimal by today's standards, even vi has > multi-level), there doesn't seem to be a re-do, and when you delete a > selection, the undo doesn't work at all. > > I don't know if this is just low on the priority list or maybe other > people are using a different editor. I searched bugzilla and couldn't > find an entry which is surprising. > > I did see entries about the colorizing working unevenly. Bug #30 looks relevant. I selected query options product: Revolution, component: Script Editor, Status: all Just thinking out loud: so how does something that is marked as RESOLVED LATER, like #30, actually get take care of and fixed in a future version? Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From pixelbird at interisland.net Wed Sep 3 22:37:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Sep 3 22:37:01 2003 Subject: Radio buttons as indicator lights In-Reply-To: <200309032100.RAA04474@www.runrev.com> Message-ID: Hi Ray, > Date: Wed, 03 Sep 2003 12:23:50 -0700 > From: "Ray G. Miller" > Subject: Re: Radio buttons as indicator lights > > If the user has no control over the radio buttons, the user will be > fustrated... It's an incorrect user interface. --------- Dunno about the frustration part, but the other part is right on. Sorry I didn't mention it before. Good catch, IMO. ---------snip > This way the user is never confusing radio btns with indicators. ---------- That's right. Using radio buttons for something other than their intended use could be confusing, especially if you have a prefs dialog with radio buttons which are used in the normal way. I wish I knew what the indicator interface is for. That way we could, perhaps, help make a better call on the right type of visual to use. Ken N. From soapdog at mac.com Wed Sep 3 22:39:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Sep 3 22:39:01 2003 Subject: Req: Rev SOAP Example. Message-ID: <2B19AF8D-DE89-11D7-A943-00039387AE90@mac.com> Hi revs, I want to know if there's any SOAP example out there... Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From steve at nexpath.com Wed Sep 3 22:50:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Wed Sep 3 22:50:01 2003 Subject: undo broken in script editor In-Reply-To: <6A4D74F6-DE86-11D7-BEC4-000393529642@mindlube.com> References: <6A4D74F6-DE86-11D7-BEC4-000393529642@mindlube.com> Message-ID: <3F56B522.6040101@nexpath.com> Alex Rice wrote: > > On Wednesday, September 3, 2003, at 09:05 PM, Steve Gehlbach wrote: > >> Has the lame (and broken) function of the undo command in the script >> editor been reported as a bug? >> > Bug #30 looks relevant. I selected query options product: Revolution, > component: Script Editor, Status: all > > Just thinking out loud: so how does something that is marked as RESOLVED > LATER, like #30, actually get take care of and fixed in a future version? > Hmm... clearly I missed this; I did search on undo. Anyway, it looks like it was ducked, ie, they basically said they are going to ignore it for now. To me this is bad; I have lost a lot of work due to this (and my uncontrollable fingers). A good editor is important since using one outside of the IDE is a hassle. -Steve From monte at sweattechnologies.com Wed Sep 3 22:55:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 3 22:55:00 2003 Subject: undo broken in script editor In-Reply-To: <3F56ABE9.3000504@nexpath.com> Message-ID: > Has the lame (and broken) function of the undo command in the script > editor been reported as a bug? > > By my memory, it did not work in 2.0 nor now in 2.1. Appears to be only > one action deep (pretty minimal by today's standards, even vi has > multi-level), there doesn't seem to be a re-do, and when you delete a > selection, the undo doesn't work at all. > > I don't know if this is just low on the priority list or maybe other > people are using a different editor. I searched bugzilla and couldn't > find an entry which is surprising. > > I did see entries about the colorizing working unevenly. Hi Steve The undo menu just uses the undo command (which you can about read in the docs). It's very limited. Using it twice is the same as redo. It get's reset whenever anything is done via script and seeing as there's heaps of stuff scripted in the script editor field it hardly ever works. It's not a bug seeing as it's documented properly but it's a reasonable feature request. It'd probably be reasonably easy to maintain undo and redo stacks in the background during scripting. Perhaps apply and revert clear them? The simplest method (a bit of a memory hog) would be to copy the whole script into an array element representing the change on closeField. Then maintain a pointer to the key in the array that represents the current script. When you undo the pointer is moved back, therefore creating a redo stack. When you make a change the redo stack is deleted. Come to think of it it's probably only about 10 minutes work ;-) Cheers Monte From monte at sweattechnologies.com Wed Sep 3 22:56:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 3 22:56:00 2003 Subject: Rev SOAP Example. In-Reply-To: <2B19AF8D-DE89-11D7-A943-00039387AE90@mac.com> Message-ID: > Hi revs, > > I want to know if there's any SOAP example out there... > There's an example stack that comes with Rev 2.x Regards Monte From alex at mindlube.com Wed Sep 3 23:00:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 23:00:01 2003 Subject: Req: Rev SOAP Example. In-Reply-To: <2B19AF8D-DE89-11D7-A943-00039387AE90@mac.com> Message-ID: <75D535CC-DE8B-11D7-BEC4-000393529642@mindlube.com> On Wednesday, September 3, 2003, at 09:37 PM, Andre Garzia wrote: > Hi revs, > > I want to know if there's any SOAP example out there... Look in the distribution folder. There is a real nice tutorial stack Revolution x.x/Sample Stacks/SOAP_toolbox.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 Wed Sep 3 23:02:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 3 23:02:01 2003 Subject: undo broken in script editor In-Reply-To: <3F56B522.6040101@nexpath.com> Message-ID: On Wednesday, September 3, 2003, at 09:44 PM, Steve Gehlbach wrote: >> Bug #30 looks relevant. I selected query options product: Revolution, >> component: Script Editor, Status: all >> Just thinking out loud: so how does something that is marked as >> RESOLVED LATER, like #30, actually get take care of and fixed in a >> future version? > > Hmm... clearly I missed this; I did search on undo. Gotta be careful searching because by default only certain of the Status values are selected, which excludes bugs with other status. > Anyway, it looks like it was ducked, ie, they basically said they are > going to ignore it for now. To me this is bad; I have lost a lot of > work due to this (and my uncontrollable fingers). A good editor is > important since using one outside of the IDE is a hassle. About #30- I agree with you. I don't understand Kevin's explanation of it either. Put in a feature/enhancement request! Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From soapdog at mac.com Wed Sep 3 23:04:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Sep 3 23:04:01 2003 Subject: Rev SOAP Example. In-Reply-To: Message-ID: <969D0D48-DE8C-11D7-A943-00039387AE90@mac.com> On Thursday, September 4, 2003, at 12:49 AM, Monte Goulding wrote: > >> Hi revs, >> >> I want to know if there's any SOAP example out there... >> > There's an example stack that comes with Rev 2.x > > Regards > > Monte Thanks Monte, I just forgot to look at the folder... Cheers > > _______________________________________________ > 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 ambassador at fourthworld.com Thu Sep 4 00:23:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 4 00:23:00 2003 Subject: strategies for the default "answer file" In-Reply-To: <506C99A6-DE5A-11D7-AFC7-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > Really I was asking- should "answer file" degrade gracefully if > I messed up on the specialFolderpath? I was seeing behavior where > sometimes it would allow files to be selected, sometimes not. Anyone > else seen something like this? Not allowing selection? That does seem weird. What exactly happens? Is the Select button disabled? -- 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 rodneytamblyn at paradise.net.nz Thu Sep 4 00:26:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Thu Sep 4 00:26:01 2003 Subject: Valentina - can mix direct cmds with Rev support Message-ID: <4837FF47-DB71-11D7-A7D1-003065F97100@paradise.net.nz> Does anyone know if its possible to mix direct calls to the Valentina library with the Revolution internally supported commands? For example, could I open a Valentina database using revOpenDatabase() then access that database later using "Valentina" to implement something not supported by Revolution database commands? There are some things Valentina implements which are not yet accessible via the Revolution database API. Will experiment and see, but if anyone else has tried, would be interested to know your experiences. R. -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From ambassador at fourthworld.com Thu Sep 4 00:26:09 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 4 00:26:09 2003 Subject: OS X standalones: 2 questions In-Reply-To: <9F53C805-DE61-11D7-AFC7-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > I always expect OS X apps to be larger, but there are > only a dozen files in this app bundle - which doesn't explain the 2 MB+ > difference. Nor do the new features; as impressive as they are, I can't imagine they've doubled the code size. Bad compiler settings? Tuv? Scott? -- 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 Thu Sep 4 00:46:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Thu Sep 4 00:46:01 2003 Subject: undo broken in script editor In-Reply-To: References: Message-ID: <3F56D085.80905@nexpath.com> Monte Goulding wrote: >>Has the lame (and broken) function of the undo command in the script >>editor been reported as a bug? > > The undo menu just uses the undo command (which you can about read in the > docs). It's very limited. Using it twice is the same as redo. It get's reset > whenever anything is done via script and seeing as there's heaps of stuff > scripted in the script editor field it hardly ever works. > Okay, good point, I read the docs, and it does say it undoes "typing", and the Backspace key is typing. I have a habit of highlighting text and hitting the Backspace key to delete it. The undo does not work on this key. However, it does work (sort of) on the Del key, but adds an extra return or linefeed. This is true on Windows and Linux. But I agree everything else seem to work for one level. I still say a 21st century editor (particularly where you are trapped in an IDE and can't conveniently use anything else) that does not have multilevel undo, is lame. -Steve From xbury.cs at clearstream.com Thu Sep 4 01:07:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu Sep 4 01:07:01 2003 Subject: undo broken in script editor Message-ID: Hopefully, now that I got a RR license, I will be able to furnish a good editor that does all this! ;) I already undoes the search-replace functions which most editors dont... Do you also have a problem with loosing the selection and the scrollvalue changing when switching windows? cheers ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 Steve Gehlbach Sent by: use-revolution-admin at lists.runrev.com 04/09/03 07:41 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Re: undo broken in script editor Monte Goulding wrote: >>Has the lame (and broken) function of the undo command in the script >>editor been reported as a bug? > > The undo menu just uses the undo command (which you can about read in the > docs). It's very limited. Using it twice is the same as redo. It get's reset > whenever anything is done via script and seeing as there's heaps of stuff > scripted in the script editor field it hardly ever works. > Okay, good point, I read the docs, and it does say it undoes "typing", and the Backspace key is typing. I have a habit of highlighting text and hitting the Backspace key to delete it. The undo does not work on this key. However, it does work (sort of) on the Del key, but adds an extra return or linefeed. This is true on Windows and Linux. But I agree everything else seem to work for one level. I still say a 21st century editor (particularly where you are trapped in an IDE and can't conveniently use anything else) that does not have multilevel undo, is lame. -Steve _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at mindlube.com Thu Sep 4 01:12:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 4 01:12:01 2003 Subject: strategies for the default "answer file" In-Reply-To: Message-ID: On Wednesday, September 3, 2003, at 11:17 PM, Richard Gaskin wrote: > Not allowing selection? That does seem weird. What exactly happens? > Is > the Select button disabled? I can't replicate it, but I was watching a coworker try to pick a file, and the same handler would sometimes allow her to select a ".rev" file and sometimes it would not let her select the same file: the "Open" button would remain disabled. It's almost as if "answer file" was applying a filter when it should not have been. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From rbarber at yhb.att.ne.jp Thu Sep 4 02:06:01 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Thu Sep 4 02:06:01 2003 Subject: Workaround for adding Unicode text to a field In-Reply-To: Message-ID: Hi Kjetil I do a similar thing with Japanese text, viz add words to a list to build vocabularies, etc. > The problem of adding Unicode text to a field was discussed by > several exasperated list members this summer. I have now found a > partial workaround that solves at least my particular problem: I want > the user to be able to select (by clicking or dragging) a word in a > field and then click a button to add it, on a new line, at the end of > another field (for the purpose of building a vocabulary list). This > is the button script: > > on mouseup > put the selectedText into stuff > select after field 3 > type return > set the clipboarddata["Unicode"] to stuff > select after field 3 > paste > end mouseup Have you tried simply 'copy' instead of 'put the selectedtext into stuff' and then 'set the clipboarddata["unicode"]'? > This works fine with single words, but if you have a multiword > selection, every second word gets turned into CJK - fun to look at > but not very useful. what does the htmltext of the resulting text look like? this might help diagnose the problem. Ron From wouter.abraham at pi.be Thu Sep 4 03:10:00 2003 From: wouter.abraham at pi.be (wouter) Date: Thu Sep 4 03:10:00 2003 Subject: The Directory Walker revisited In-Reply-To: <200309032255.SAA11142@www.runrev.com> Message-ID: <51FB0FD9-DEAE-11D7-BEF9-000502990960@pi.be> On donderdag, sep 4, 2003, at 00:55 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 2 > Date: Wed, 3 Sep 2003 16:19:16 -0600 > Subject: Re: The Directory Walker revisited > From: Dar Scott > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Wednesday, September 3, 2003, at 03:52 PM, wouter wrote: > >>> repeat with x = 2 to the number of lines of tDirList >>> directoryWalk (whatFolder & "/" & (line x of tDirList)) >>> end repeat > ... >> I am very sorry to inform you that this one you adapted from David >> Vaughn, is also bumping into the recursionLimit. > > Very strange. I assume you don't have folders nested 700 deep. Maybe > something in the script increases the stack frame size. :^)) You keep persitent on the deepness of the directory. I used my root Library folder on a Mac OS X volume to run tests and the deepest folder is 18 levels deep. The recursiveLimit has only to do by how many times the handler calls itself from within itself without ending itself (nested calls) before its starts running itself again (kind of an egocentric handler) That's why if you do the "send ... to me in time" it will allow the handler to go to the "end directoryWalk" before starting itself again. Comment out the "in time" and you will bump into the recursionLimit. Btw I pushed the experiment a little further and can run it safely with the "send to me time" set to 0.0001 millisecs. May be tweaking this for each platform is necessary. And not blocking the rest of the application is a real benefit. >> So as everybody is really liking recursive handlers I cooked something >> up which you could call a recursive handler (as it is calling itself). >> And which will NOT run into the recursionLimit by allowing it to end >> itself before starting a new instance of itself. > > Cool! > > Dar Scott Good Morning, WA From wouter.abraham at pi.be Thu Sep 4 03:53:00 2003 From: wouter.abraham at pi.be (wouter) Date: Thu Sep 4 03:53:00 2003 Subject: The Directory Walker revisited In-Reply-To: <200309032255.SAA11142@www.runrev.com> Message-ID: <51E1E854-DEB4-11D7-BEF9-000502990960@pi.be> On donderdag, sep 4, 2003, at 00:55 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 14 > Date: Thu, 04 Sep 2003 09:34:33 +1000 > From: David Vaughan > Subject: Re: use-revolution digest, Vol 1 #1865 - 13 msgs > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > snip > Your comments above puzzle me. I have no need to post the URL because > you just did. When I click on the url you posted I go to the routine I > wrote and published myself. It does not mention, point to, and is not > derived from, anything by Ben. > > While always a theoretical possibility, it is nigh-impossible in > practice that this will bump into a limit, the default recursion depth > allowing for over 700 directories deep, as Dar has mentioned. > > Further, it is a real recursive handler, pre-order, depth-first. The > fact it is a function is normal for a recursive routine which returns > data. > > The repeat loops within it simply list the files within the directory > at which you have just arrived (pre-order process) and steps through > the immediate sub-folders for depth-first recursive searching. What > here is "not real"? > > Finally, it works without "correction". I know because (a) I just > copied and pasted the code into a test stack and ran it successfully > and (b) it is the code I already use in other stacks anyway; with zero > problems of course. > > I appreciate your interest in the topic but not the mis-statements > about recursion or my code. First let me appologize because you seem to be a bit offended by my statements. Please forgive me as English is not my native language. But the part : < which points to Ben Rubinstein's directory walking function. Which is not a real recursive handler, but a repeat loop buried in a function. Only this script as it is, will not work and has to be corrected. > does not point to you or your code. As a matter of fact your code works perfectly up to the recursionLimit (I am already sorry for saying this). It points to the handler of Ben Rubinstein. And I am not accusing him either (please give me some slack). The problem with his handler is the following line: if char 1 of x <> "." then put ("/" & subPath) & return after folders2do #### problem line end if If you step trhough the code you will see why. Then there is the problem of the use of the term "recursion". A repeat loop is recursive and a handler can be recursive if it calls itself. But here are 2 different mechanisms at work. And that's why there is a huge difference between the 2. So I know the function is using recursion inside the repeat loop but is not recursing by calling itself. That's why I did call it a non recursive "handler/function". No offense meant. > regards > David Greetings, WA From k.r.hauge at east.uio.no Thu Sep 4 04:08:01 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Thu Sep 4 04:08:01 2003 Subject: Workaround for adding Unicode text to a field In-Reply-To: References: Message-ID: >At 16:00 +0900 04-09-03, Ron wrote: >> >Hi Kjetil > >I do a similar thing with Japanese text, viz add words to a list to build >vocabularies, etc. > >[...] > >Have you tried simply 'copy' instead of 'put the selectedtext into stuff' >and then 'set the clipboarddata["unicode"]'? Never thought of that simple solution - but it works, no Japanese intrusion! Thanks a lot! > > This works fine with single words, but if you have a multiword >> selection, every second word gets turned into CJK - fun to look at >> but not very useful. > >what does the htmltext of the resulting text look like? this might help >diagnose the problem. > This is how a group of the three first letters of the Cyrillic alphabet, repeated four times ("abv abv abv abv") comes out:

абв 〄㄄㈠абв 〄㄄㈠абв

-- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From sims at ezpzapps.com Thu Sep 4 04:32:00 2003 From: sims at ezpzapps.com (sims) Date: Thu Sep 4 04:32:00 2003 Subject: Metal OS X In-Reply-To: <51FB0FD9-DEAE-11D7-BEF9-000502990960@pi.be> References: <51FB0FD9-DEAE-11D7-BEF9-000502990960@pi.be> Message-ID: Using Rev 2.1 on a Mac 10.2.1 with 384 MB RAM I tried the metal texture today for the first time and was dismayed that all buttons, fields, and even the minimize & close btns (everything!) became non-functional! When I unchecked the metal texture all went back to working order. Is there some trick to using the metal texture feature??? Are others having problems with metal texture?? Not happy! sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From yvescoppe at skynet.be Thu Sep 4 04:47:01 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu Sep 4 04:47:01 2003 Subject: Metal OS X In-Reply-To: Message-ID: Le jeudi, 4 sep 2003, ? 11:21 Europe/Brussels, sims a ?crit : > Using Rev 2.1 on a Mac 10.2.1 with 384 MB RAM > > I tried the metal texture today for the first time and was dismayed > that all buttons, fields, and even the minimize & close btns > (everything!) became > non-functional! When I unchecked the metal texture all went back to > working order. > > Is there some trick to using the metal texture feature??? > Are others having problems with metal texture?? > > Not happy! > > and when I use a btn as "default btn", there is a black strip around the btn when the texture is "metal" like you , very disapointed... Greetings. Yves COPPE yvescoppe at skynet.be From xbury.cs at clearstream.com Thu Sep 4 04:47:17 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu Sep 4 04:47:17 2003 Subject: Metal OS X Message-ID: Didn't do nothing on Winblows even though it's enabled! ;)) ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 sims Sent by: use-revolution-admin at lists.runrev.com 04/09/03 11:21 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Metal OS X Using Rev 2.1 on a Mac 10.2.1 with 384 MB RAM I tried the metal texture today for the first time and was dismayed that all buttons, fields, and even the minimize & close btns (everything!) became non-functional! When I unchecked the metal texture all went back to working order. Is there some trick to using the metal texture feature??? Are others having problems with metal texture?? Not happy! sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From rjb at rz.uni-potsdam.de Thu Sep 4 04:51:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Sep 4 04:51:00 2003 Subject: subject matter In-Reply-To: <623B696A-DE49-11D7-A8AF-000393533246@skynet.be> References: <623B696A-DE49-11D7-A8AF-000393533246@skynet.be> Message-ID: A plea to all: please, please don't change the subject when replaying in the same thread. It's not easy to follow the discussion or archive some interesting things. Change only when you start a new discussion thread. Robert From graham.samuel at wanadoo.fr Thu Sep 4 06:24:00 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Thu Sep 4 06:24:00 2003 Subject: Radio buttons as indicator lights Message-ID: <5.2.1.1.0.20030903233511.00c4be58@pop.wanadoo.fr> Thanks to all who replied on this one - talk about a quick response! Not all the solutions offered solved my specific problem, which is to allow the radioBehavior of a group of buttons (seen by the user as a row of indicator lights) to be used by the scripter (me) but not to be affected by the user. In particular Bill's idea of one light with many states wouldn't suit my application (this is a simulation of a real-world situation where rows of lights are the normal setup). Initially I thought that Ken's idea of turning off the radioBehavior would have made more work for me, since I want to ensure that only one or zero lights are on in the row. However, the radio behavior (rather than the property of that name) apparently persists even when the property is turned off, in the sense that a script set the hilitedButtonName of group "indicators" to "My Button" Still turns off any button in the group that happens to be on, apart from "My Button"! I would never have guessed this, but it is so. Thus I can get the effect I want by grouping a series of radio buttons whose keyboard focus and autohilite is turned off. I can then use Ken's solution to hilite one button at a time, while automatically turning off any previously hilited button. AFAIK Yoy's suggestion to ungroup the buttons would also leave me without radio Behavior as described above (because there would be no group to contain the property). Greg Lypny's idea to Layer the radio buttons under a transparent (invisible) graphic. was fine, but I think Ken's was neater. thanks again Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From wouter.abraham at pi.be Thu Sep 4 06:28:01 2003 From: wouter.abraham at pi.be (wouter) Date: Thu Sep 4 06:28:01 2003 Subject: The Directory Walker revisited In-Reply-To: <200309032255.SAA11142@www.runrev.com> Message-ID: <05674A95-DECA-11D7-BEF9-000502990960@pi.be> On donderdag, sep 4, 2003, at 00:55 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 14 > Date: Thu, 04 Sep 2003 09:34:33 +1000 > From: David Vaughan > Subject: Re: use-revolution digest, Vol 1 #1865 - 13 msgs > snip > I appreciate your interest in the topic but not the mis-statements > about recursion or my code. It were no mis-statements only a mis-url-ment caused by burning to much midnight oil : this should be the right one (I hope) http://lists.runrev.com/pipermail/use-revolution/2002-May/004354.html > regards > David > apologies and bows, WA From rodneytamblyn at paradise.net.nz Thu Sep 4 06:35:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Thu Sep 4 06:35:01 2003 Subject: variables by reference - script style suggestion Message-ID: I find it useful to indicate in the handler name (by appending "V") when it uses variables by reference. Alternatively you could prepend/append the "v" to the variable name if you prefer. My eye scans the handler names faster than the variables so I find it better this way. Eg: on mouseUp local tFocus maeGetDocFocusV tFocus #V indicates function uses variables by reference answer tFocus #hello end mouseup is equivalent to on mouseUp local tFocus put maeGetDocFocus() into tFocus answer tFocus #hello end mouseup #here are the function handlers... on maeGetDocFocusV @pDoc put maeGetDocFocus() into pDoc end maeGetDocFocusV function maeGetDocFocus return "hello" end maeGetDocFocus -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From wmb at internettrainer.com Thu Sep 4 07:13:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Sep 4 07:13:00 2003 Subject: New Rev Buyers, did you receive your unlocking key? In-Reply-To: Message-ID: On Mittwoch, Sep 3, 2003, at 23:00 Europe/Vienna, Judy Perry wrote: > I'm still waiting patiently. I figure a bunch of us waited until the > last > minute (but not, unfortunately, my students, whom I wish to beat with > a large stick...) Me too I m wainting for a new license, because the one I got was wrong, since about a week. Only Heathers robot is answering. Usually she answers very fast! I hope she is not ill..? 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 tuviah at runrev.com Thu Sep 4 07:15:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 4 07:15:00 2003 Subject: OS X standalones: 2 questions References: <200309040848.EAA28723@www.runrev.com> Message-ID: <000f01c372dd$67a52180$0100a8c0@user> > > I always expect OS X apps to be larger, but there are > > only a dozen files in this app bundle - which doesn't explain the 2 MB+ > > difference. > > Nor do the new features; as impressive as they are, I can't imagine they've > doubled the code size. Bad compiler settings? Tuv? Scott? I've just started doing the release builds so I may need to adjust the compiler settings or sync the project settings with Scotts. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From tuviah at runrev.com Thu Sep 4 07:18:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 4 07:18:00 2003 Subject: Metal OS X References: <200309040848.EAA28723@www.runrev.com> Message-ID: <001301c372dd$e0d59b20$0100a8c0@user> >I tried the metal texture today for the first time and was dismayed >that all buttons, fields, and even the minimize & close btns >(everything!) became >non-functional! When I unchecked the metal texture all went back to >working order. Works here. What kind of stack is it? Can you send me a sample offlist. try typing the following in the message box set the metal of this stack to true it should not disable the minimize or closebox buttons. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From tuviah at runrev.com Thu Sep 4 07:24:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 4 07:24:00 2003 Subject: Metal OS X References: <200309040848.EAA28723@www.runrev.com> Message-ID: <001701c372de$c5f4d950$0100a8c0@user> Default buttons are only supported on modal dialogs. Metal is not supported for modal dialogs (OS limitation not ours). Still please file this as a bug report...I was off most of the week but plan to go bug fixing first thing next week and resolve any issues. >and when I use a btn as "default btn", there is a black strip around >the btn when the texture is "metal" >like you , very disapointed... Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From tuviah at runrev.com Thu Sep 4 07:27:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 4 07:27:01 2003 Subject: Metal OS X References: <200309040848.EAA28723@www.runrev.com> Message-ID: <001b01c372df$2450bb90$0100a8c0@user> >Didn't do nothing on Winblows even though it's enabled! ;)) Well it's not impossible to support, but we would have to write our own code to draw brushed metal. Wouldn't be surprised if it is faster than OSXs:-) Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From sims at ezpzapps.com Thu Sep 4 07:30:00 2003 From: sims at ezpzapps.com (sims) Date: Thu Sep 4 07:30:00 2003 Subject: Metal OS X In-Reply-To: <001301c372dd$e0d59b20$0100a8c0@user> References: <200309040848.EAA28723@www.runrev.com> <001301c372dd$e0d59b20$0100a8c0@user> Message-ID: > >I tried the metal texture today for the first time and was dismayed >>that all buttons, fields, and even the minimize & close btns >>(everything!) became >>non-functional! When I unchecked the metal texture all went back to >>working order. >Works here. What kind of stack is it? Can you send me a sample offlist. > >try typing the following in the message box > >set the metal of this stack to true > >it should not disable the minimize or closebox buttons. Made a new stack...did as you asked above with message box... minimize or closebox buttons are non-functional. That did not fix the problem. sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From tuviah at runrev.com Thu Sep 4 07:32:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 4 07:32:01 2003 Subject: Workaround for adding Unicode text to a field References: <200309040848.EAA28723@www.runrev.com> Message-ID: <001f01c372df$c1c12540$0100a8c0@user> >This is how a group of the three first letters of the Cyrillic >alphabet, repeated four times ("abv abv abv abv") comes out: Yep we use russian because you need to specify a language and there is no code for cyrillic. >

lang="ru">абвlang="ja"> 〄㄄㈠абв 〄㄄㈠face="Lucida Grande" lang="ru">абв

Looks like a bug please report it. We plan to improve unicode support and resolve all issues very shortly. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From xbury.cs at clearstream.com Thu Sep 4 07:32:09 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu Sep 4 07:32:09 2003 Subject: New Rev Buyers, did you receive your unlocking key? Message-ID: I got mine yesterday around 13h00. Bought it Sunday afternoon... ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 "Wolfgang M. Bereuter" Sent by: use-revolution-admin at lists.runrev.com 04/09/03 14:03 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Re: New Rev Buyers, did you receive your unlocking key? On Mittwoch, Sep 3, 2003, at 23:00 Europe/Vienna, Judy Perry wrote: > I'm still waiting patiently. I figure a bunch of us waited until the > last > minute (but not, unfortunately, my students, whom I wish to beat with > a large stick...) Me too I m wainting for a new license, because the one I got was wrong, since about a week. Only Heathers robot is answering. Usually she answers very fast! I hope she is not ill..? 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 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From xbury.cs at clearstream.com Thu Sep 4 07:43:02 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu Sep 4 07:43:02 2003 Subject: Metal OS X Message-ID: wouldn't a simple template background pattern do? ;)) Anything is faster than Aqua, even a Mac128K! ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 "Tuviah Snyder" Sent by: use-revolution-admin at lists.runrev.com 04/09/03 14:21 Please respond to use-revolution To: cc: ^ Subject: Re: Metal OS X >Didn't do nothing on Winblows even though it's enabled! ;)) Well it's not impossible to support, but we would have to write our own code to draw brushed metal. Wouldn't be surprised if it is faster than OSXs:-) Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From tmalloroy at cox.net Thu Sep 4 07:47:01 2003 From: tmalloroy at cox.net (Tim Malloroy) Date: Thu Sep 4 07:47:01 2003 Subject: Externals Message-ID: <000001c372e1$ca992cb0$0c00a8c0@ourfamily> I can't seem to find any information on writing externals. I want to adapt SQLite for use in Revolution 2.1. Can anyone give me pointers or hints on where to start? BTW, SQLite is a free database engine that uses a subset of SQL. Regards, Tim Malloroy tmalloroy at nospam.cox.net From tuviah at runrev.com Thu Sep 4 08:06:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 4 08:06:01 2003 Subject: Metal OS X References: <200309041144.HAA03156@www.runrev.com> Message-ID: <003501c372e4$a47c10d0$0100a8c0@user> >wouldn't a simple template background pattern do? >Anything is faster than Aqua, even a Mac128K! Possibly for Windows, and Unix. However the way a brushed metal window looks depends on it's size (play around with resizing a metal window). It's like trying to simulate a gradient with a background pattern. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From wouter.abraham at pi.be Thu Sep 4 08:19:01 2003 From: wouter.abraham at pi.be (wouter) Date: Thu Sep 4 08:19:01 2003 Subject: Recursive Handlers/Functions Message-ID: <8BB6F293-DED9-11D7-BEF9-000502990960@pi.be> Hi, Just to illustrate the point about recursive "handlers/functions" without being bothered by "directories" no more, run the following test if you want to, please? 2 buttons and 1 field in a new stack and paste the following scripts into each of the buttons: button 1 Local lCount on mouseUp put 1 into lCount doTheRecursiveDance end mouseUp on doTheRecursiveDance add 1 to lCount put lCount if lCount < 10000 then send "doTheRecursiveDance" to me end doTheRecursiveDance button 2 Local lCount on mouseUp put 1 into lCount doTheRecursiveDance end mouseUp on doTheRecursiveDance add 1 to lCount put lCount if lCount < 10000 then send "doTheRecursiveDance" to me in 0.0001 millisecs end doTheRecursiveDance While running the handlers try typing in the field and observe what happens. I rest my case and will have some recursive drinks, Greetings, WA From xbury.cs at clearstream.com Thu Sep 4 08:28:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu Sep 4 08:28:01 2003 Subject: Metal OS X Message-ID: What a waste of development time IMOHO... Sorry but I dont have OSX (too slow, too expensive, not enaf advantages...) Besides, I dont see what more detail you need from a pattern! OK, it doesn't rust ;) I did my own plastic-metal-camouflage pattern in my Clipperx (clip manager) stack http://www.monsieurx.com/modules.php?name=News&file=article&sid=86 (info, preview and download) and it resizes very nicely! It's even animates itself without any scripting! (Just pull any corner in the window to see it...) What was really offending though was seeing a WinXP window in the properties panel! YUK! cheers ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 "Tuviah Snyder" Sent by: use-revolution-admin at lists.runrev.com 04/09/03 15:01 Please respond to use-revolution To: cc: ^ Subject: Re: Metal OS X >wouldn't a simple template background pattern do? >Anything is faster than Aqua, even a Mac128K! Possibly for Windows, and Unix. However the way a brushed metal window looks depends on it's size (play around with resizing a metal window). It's like trying to simulate a gradient with a background pattern. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Thu Sep 4 09:13:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 4 09:13:01 2003 Subject: The Directory Walker revisited In-Reply-To: <51FB0FD9-DEAE-11D7-BEF9-000502990960@pi.be> Message-ID: <0E7CF412-DEE1-11D7-8F27-000A9567A3E6@swcp.com> On Thursday, September 4, 2003, at 02:03 AM, wouter wrote: >> On Wednesday, September 3, 2003, at 03:52 PM, wouter wrote: >> >>>> repeat with x = 2 to the number of lines of tDirList >>>> directoryWalk (whatFolder & "/" & (line x of tDirList)) >>>> end repeat >> ... >>> I am very sorry to inform you that this one you adapted from David >>> Vaughn, is also bumping into the recursionLimit. >> >> Very strange. I assume you don't have folders nested 700 deep. Maybe >> something in the script increases the stack frame size. > > :^)) You keep persitent on the deepness of the directory. :-) I think it key. > I used my root Library folder on a Mac OS X volume to run tests > and the deepest folder is 18 levels deep. > The recursiveLimit has only to do by how many times the handler > calls itself from within itself without ending itself (nested calls) > before > its starts running itself again (kind of an egocentric handler) Then I am concerned. From looking at that code and similar code, the handler calls itself only 19 times. That should not hit the recursion limit. Something else is wrong. What Rev version and OS are you using? Maybe some beta versions went out as debug builds. Even so, I doubt this would be enough to cause this. Something is wrong. I would not be surprised if my apps without recursion would hit 19 deep. Many of my recursive functions typically hit 32. Dar Scott From dsc at swcp.com Thu Sep 4 09:18:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 4 09:18:00 2003 Subject: Recursive Handlers/Functions In-Reply-To: <8BB6F293-DED9-11D7-BEF9-000502990960@pi.be> Message-ID: On Thursday, September 4, 2003, at 07:13 AM, wouter wrote: > While running the handlers try typing in the field > and observe what happens. I have made some of these and I expect David has. Your above example is limited to 10000. With an 'if' statement included, I hit the limit around 700. Both are way above 19. Does the above test really fail at low numbers? Would, say, 50 cause trouble? Revolution locks up for me when the limit is hit and a try-catch is not used, so I use one in my tests. Dar Scott From ambassador at fourthworld.com Thu Sep 4 10:18:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 4 10:18:01 2003 Subject: OS X standalones: 2 questions In-Reply-To: <000f01c372dd$67a52180$0100a8c0@user> Message-ID: Tuviah Snyder wrote: >>> I always expect OS X apps to be larger, but there are >>> only a dozen files in this app bundle - which doesn't explain the 2 MB+ >>> difference. >> >> Nor do the new features; as impressive as they are, I can't imagine > they've >> doubled the code size. Bad compiler settings? Tuv? Scott? > I've just started doing the release builds so I may need to adjust the > compiler settings or sync the project settings with Scotts. My products are all downloadable so unfortunately I can't use the new version for commercial work until a new build is available. :( -- 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 Thu Sep 4 10:24:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Thu Sep 4 10:24:01 2003 Subject: undo broken in script editor In-Reply-To: References: Message-ID: <3F575994.4070307@nexpath.com> xbury.cs at clearstream.com wrote: > > Hopefully, now that I got a RR license, I will be able to furnish a good > editor that does all this! ;) > I already undoes the search-replace functions which most editors dont... > > Do you also have a problem with loosing the selection and the > scrollvalue changing when switching > windows? Selection is not a problem for me, the scrollvalue is a little more annoying but I can probably live with it. -Steve From gcanyon at inspiredlogic.com Thu Sep 4 10:38:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu Sep 4 10:38:01 2003 Subject: Recursive Handlers/Functions In-Reply-To: <8BB6F293-DED9-11D7-BEF9-000502990960@pi.be> Message-ID: I'm coming late to the party (I haven't read everything in the directory walker thread) but this isn't recursive code: On Thursday, September 4, 2003, at 06:13 AM, wouter wrote: > on doTheRecursiveDance > add 1 to lCount > put lCount > if lCount < 10000 then send "doTheRecursiveDance" to me in 0.0001 > millisecs > end doTheRecursiveDance When you send something in time, the call stack is cleared as soon as the routine exits. There is no limit to how far this routine could go. regards, Geoff Canyon gcanyon at inspiredlogic.com From mcdomi at free.fr Thu Sep 4 10:46:01 2003 From: mcdomi at free.fr (Dom) Date: Thu Sep 4 10:46:01 2003 Subject: New Rev Buyers, did you receive your unlocking key? In-Reply-To: <1g0pfwf.1tyrso9xb03buM%mcdomi@free.fr> Message-ID: <1g0rvck.n2ssf083hpfkM%mcdomi@free.fr> Dom wrote: > I am looking for my unlocking key since there... I got it today :-) Tested immediately with a MC stack "Tables". "Tables" is a multiplication tables test for kids. It runs with no modification under Rev. Sure, it has no "revxxxx" function/handler ;-) You can get it at: http://domiscript.free.fr/Rev/ Only a french version at this time; but I can translate it. Some questions from a MetaCard migrant: -- with MC I am able to open a single file, without launching the development environment... With rev I cannot do that; unless there is some parameter which rules that? -- From alex at mindlube.com Thu Sep 4 10:52:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 4 10:52:01 2003 Subject: OS X standalones: 2 questions In-Reply-To: <000f01c372dd$67a52180$0100a8c0@user> Message-ID: On Thursday, September 4, 2003, at 06:09 AM, Tuviah Snyder wrote: > I've just started doing the release builds so I may need to adjust the > compiler settings or sync the project settings with Scotts. Tuviah- just a guess: debug symbols are turned on, and/or you are statically linking with something where not necessary. How about the second question in my post: Unable to run a hello world "test.app" built on Windows, after copying the file over to Mac OS X? 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 Thu Sep 4 10:55:00 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 4 10:55:00 2003 Subject: Metal OS X In-Reply-To: Message-ID: <49A36CFC-DEEF-11D7-AEDD-000393529642@mindlube.com> On Thursday, September 4, 2003, at 06:36 AM, xbury.cs at clearstream.com wrote: > > wouldn't a simple template background pattern do? > > ?;)) > > Anything is faster than Aqua, even a Mac128K! There is absolutely no point in trying to run a "metal" background on Windows. It's a Mac OS feature that people try to emulate. It's tricky because as Tuviah said it's weird combination of pattern and gradient. (for some reason) I don't like the appearance myself to want to emulate it in my apps. By why are you posting this? Just couldn't resist an opportunity to bash OS X? That's kinda funny because there are numerous OS X users on this list, and if you look at runrev.com, all the screenshots are of OS X. Go figure! Yeah it must really suck. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Thu Sep 4 10:57:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 4 10:57:01 2003 Subject: Metal OS X In-Reply-To: <003501c372e4$a47c10d0$0100a8c0@user> Message-ID: Tuviah Snyder wrote: >> wouldn't a simple template background pattern do? >> Anything is faster than Aqua, even a Mac128K! > Possibly for Windows, and Unix. However the way a brushed metal window looks > depends on it's size (play around with resizing a metal window). It's like > trying to simulate a gradient with a background pattern. A little pespective: Apple's HIG sez of "textured windows" - This window style has been designed specifically for use by ? and is therefore best suited to ? applications that provide an interface for a digital peripheral, such as a camera, or an interface for managing data shared with digital peripherals, such as the Address Book application. This appearance may also be appropriate for applications that strive to re-create a familiar physical device?the Calculator application, for example. Avoid using the textured window appearance in applications or utilities that are unrelated to digital peripherals or to the data associated with these devices. In summary: most apps will never need it. And even if every OS X app were to disregard Apple's recommendation (as apparently Apple themselves are doing with Safari and the Panther Finder), the sum of all affected users would total only about 1% of all computer users (a generous estimate of 50% adoption of OS X among Apple's 2.4% market share). Meanwhile we still don't have native appearances for the OS most widely used, XP. I recognize that there's a certain "wow" factor with metal far disproportionate to its true usage, and in the emotion-driven world of marketing I appreciate making its implementation in OS X a priority. But please, before any effort is expended in migrating an Apple-specific novelty appearance to other OSes, we need native appearances for XP (or even features or bug fixes affecting all platforms). If a novel "look and feel" is desired, what's needed to roll your own has been in the engine since the addition of the windowShape property, which is probably a better bet anyway: just as Mac users get fidgety with apps that are obvious sloppy ports from Windows, making Windows users use Apple appearances may affect perceptions in that audience opposite the developer's intention. What we find "wow" others may think "ugh!". -- 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 Sep 4 11:04:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 4 11:04:01 2003 Subject: Externals In-Reply-To: <000001c372e1$ca992cb0$0c00a8c0@ourfamily> Message-ID: <8F579FFC-DEF0-11D7-8F27-000A9567A3E6@swcp.com> On Thursday, September 4, 2003, at 06:40 AM, Tim Malloroy wrote: > I can't seem to find any information on writing externals. I want to > adapt > SQLite for use in Revolution 2.1. Can anyone give me pointers or hints > on > where to start? Windows or Linux? Or are you adapting SQLite for OS X? Some place I have notes on struggling through my first one on Windows using Visual C/C++, but from memory... Start with the externals folder that came with the earlier versions. I think it can be downloaded. That should include some source files, a DLL definition file, a readme and a stack. I don't remember if it had a make file. Wrap your project around that and try it. Copy the DLL to the same folder as the Revolution executable. Open the stack. If you change the DLL, close & purge the stack and reopen it. If you make your own external, remember to set the externals in the stack and reopen it. Then comes the hard part. Look at the examples for callback testing and variable access. Look at what they call. Look at the basic setup for adding commands and functions. Try that. You might want to add comments and make some notes. Much of this you can infer from the code; the rest may need testing or conservative usage. Dar Scott From tkuypers at pandora.be Thu Sep 4 11:04:17 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Thu Sep 4 11:04:17 2003 Subject: Unicode RTF export Message-ID: A client supplies RTF-files saved from MS-Word (Mac & PC) with all kind of special characters in it. I'm able to import this RTF in my app, getting all specs and all special chars are maintained in this text. When editing this text and exporting it as an RTF-file, all special chars are gone when reopening the file in Word. After looking into the specs of the RTF-format, as mentioned in the RR documentation, I found that there are special control-chars in the RTF format to use Unicode-files, and thus maintaining all special chars. Is there a way to export Unicode text as RTF, or is there another way to keep all special chars when exporting text-files? Warm regards, Ton Kuypers From alex at mindlube.com Thu Sep 4 11:07:00 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 4 11:07:00 2003 Subject: Metal OS X In-Reply-To: <49A36CFC-DEEF-11D7-AEDD-000393529642@mindlube.com> Message-ID: On Thursday, September 4, 2003, at 09:48 AM, Alex Rice wrote: > and if you look at runrev.com, all the screenshots are of OS X. Oops, not any more. They've updated the site and apparently doing screenshots of the various supported platforms. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From cspenner at att.net Thu Sep 4 11:07:08 2003 From: cspenner at att.net (cspenner at att.net) Date: Thu Sep 4 11:07:08 2003 Subject: distribution builder Message-ID: <200309041505.LAA10790@www.runrev.com> I just purchased the studio license a few days ago. I downloaded Version 2.1. The only Mac build distribution that's active for me is for MAC OS X. I would like to be able to use the other Mac versions as well. Can someone help me with this? From psahores at easynet.fr Thu Sep 4 11:13:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Thu Sep 4 11:13:01 2003 Subject: New Rev Buyers, did you receive your unlocking key? In-Reply-To: References: Message-ID: <1062691602.2562.88.camel@www.kmax.ici> Le jeu 04/09/2003 ? 14:25, xbury.cs at clearstream.com a ?crit : > I got mine yesterday around 13h00. Bought it Sunday afternoon... > > > ---------------------=--------------------- > Xavier Bury > TNS NT LAN Server > ext 6465 > > Look like there were lots of last time buyers. Cool ;-) Pierre From dsc at swcp.com Thu Sep 4 11:13:10 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 4 11:13:10 2003 Subject: Recursive Handlers/Functions In-Reply-To: Message-ID: On Thursday, September 4, 2003, at 09:31 AM, Geoff Canyon wrote: > I'm coming late to the party (I haven't read everything in the > directory walker thread) but this isn't recursive code: Yeah. He was showing a recursive-like alternative that avoided the recursion problems. BTW, I noticed that Tuviah (in response to size concerns and comments in another thread) mentioned that he is adjusting the settings for the build used in the release. It might be that on some platforms the current settings create a huge call overhead, maybe 40K per call. Or maybe something else is at work here. Also, I hope it is clear that I think a non-recursion solution is great; I just think the recursion version should be OK and if it is hitting a recursion limit, something is wrong. Dar Scott From kray at sonsothunder.com Thu Sep 4 11:17:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 4 11:17:01 2003 Subject: Valentina - can mix direct cmds with Rev support In-Reply-To: <4837FF47-DB71-11D7-A7D1-003065F97100@paradise.net.nz> Message-ID: <00dd01c372ff$09b6aea0$6501a8c0@LightningFlash> You can, Rodney, but you can't use the same reference number retrieved when opening a database. You'd need to make two separate "open database" calls, one for Valentina and one for Rev. I've done it and it works. Personally, though, since I manipulate and repost the contents of cursors a lot, I just use the Valentina commands directly. 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 Tamblyn > Sent: Sunday, August 31, 2003 12:09 AM > To: use-revolution at lists.runrev.com > Subject: Valentina - can mix direct cmds with Rev support > > > Does anyone know if its possible to mix direct calls to the Valentina > library with the Revolution internally supported commands? For > example, could I open a Valentina database using > revOpenDatabase() then > access that database later using "Valentina" to implement > something not > supported by Revolution database commands? There are some things > Valentina implements which are not yet accessible via the Revolution > database API. > > Will experiment and see, but if anyone else has tried, would be > interested to know your experiences. > > R. > -- > 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 > From ambassador at fourthworld.com Thu Sep 4 11:28:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 4 11:28:01 2003 Subject: Metal OS X In-Reply-To: <49A36CFC-DEEF-11D7-AEDD-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > By why are you posting this? Just couldn't resist an opportunity to > bash OS X? > > That's kinda funny because there are numerous OS X users on this list, > and if you look at runrev.com, all the screenshots are of OS X. Go > figure! Yeah it must really suck. Actually, aside from shots of OS X-specific features they seem to have them available for most supported platforms. In all fairness to Xavier, while his post might have been worded more gently his point is relevant, as I quantified in my last post. We need to keep in mind the critical distinction between the developer and the end-user. While its appropriate for RunRev's site to focus on the developer, and even to acknowledge that a disproportionate number of Rev users are Mac folk, priorities for the engine itself are best served by focusing on the end-user. Rev provides true platform independence. The OS a developer uses is largely irrelevant in the bigger picture -- it's all about the end-user. I'm writing this on OS X, and with yesterday's announcement from Microsoft about the discovery of five more security holes in their Win32 products I'm pretty happy with what I'm using. But I don't matter. Only my customers matter. In my work, I am nothing more than a conduit between the engine and the end-user. Their needs define the features I build, and the capabilities of the engine determine the order in which they are implemented. People use Windows. I may believe this puts them at unnecessary risk, but like I said, I don't matter. By this time next year, most analysts predict Linux will be #2 on the desktop; some even predict a 10% market share, which would be four times Apple's. We have no native appearances for either. Rev's support for Aqua looks great. IMNSHO, it's time to address native appearances for the other 97.5% of the people who ultimately pay the rent for all of us including RunRev, our end-users. > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco Great quote. I love Ani! I hope having her own label makes her as wealthy as she could ever want to be (sure beats making $0.05 on every $15 CD like most labels pay their artists ). -- 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 Thu Sep 4 11:29:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 4 11:29:01 2003 Subject: distribution builder In-Reply-To: <200309041505.LAA10790@www.runrev.com> Message-ID: <13F3FF92-DEF4-11D7-AEDD-000393529642@mindlube.com> On Thursday, September 4, 2003, at 10:00 AM, cspenner at att.net wrote: > I just purchased the studio license a few days ago. I downloaded > Version > 2.1. The only Mac build distribution that's active for me is for MAC > OS X. > I would like to be able to use the other Mac versions as well. Can > someone > help me with this? Sorry, I think you are SOL. The Windows IDE cannot build for Mac OS < 10. You'll need to do Mac OS builds with Rev on Mac OS X or Mac OS Classic. Maybe requiring an additional license. The reason is that Windows and Linux don't support the forked-metadata-resource file layout that is used by Mac OS files - or something related to that. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From Roger.E.Eller at sealedair.com Thu Sep 4 11:45:00 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu Sep 4 11:45:00 2003 Subject: Metal OS X Message-ID: > By why are you posting this? Just couldn't resist an opportunity to > bash OS X? The way you humans have grown emotionally attached to your favorite OS' amuses me. ;-) Roger Eller (Amiga owner/fanatic back in the early 90's) roger.e.eller at sealedair.com From alex at mindlube.com Thu Sep 4 11:52:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 4 11:52:01 2003 Subject: Metal OS X In-Reply-To: Message-ID: <548E5A78-DEF7-11D7-AEDD-000393529642@mindlube.com> On Thursday, September 4, 2003, at 10:21 AM, Richard Gaskin wrote: > Rev's support for Aqua looks great. IMNSHO, it's time to address > native > appearances for the other 97.5% of the people who ultimately pay the > rent > for all of us including RunRev, our end-users. I totally agree. As an OS X user I of course enjoy the level of support for new Aqua features but hope that the Windows and Linux engines do not get neglected. Now off to google for IMNSHO. That's a new one for me :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From scott at tactilemedia.com Thu Sep 4 11:54:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Sep 4 11:54:01 2003 Subject: Metal OS X In-Reply-To: Message-ID: Recently, Richard Gaskin wrote: > Meanwhile we still don't have native appearances for the OS most widely > used, XP. Perhaps this might need to be qualified a bit? I don't have any statistics handy but I would guess the above statement is probably more true for business and professional users; I've been told by more than one client that with consumers (non-pro) the largest installed base is Windows 98... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From themacguy at macosx.com Thu Sep 4 12:07:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Sep 4 12:07:00 2003 Subject: shutDownRequest fails to work? Message-ID: <80ADA22B-DEF9-11D7-BFE0-000A95763ABC@macosx.com> I have an OSX stack that, when part of an app, is using the following handler in the stack script to intercept the Quit command: on shutDownRequest if the platform is "MacOS" then answer information "Are you sure you want to quit?" \ with "Quit" or "Don't Quit" if it is "Quit" then pass shutDownRequest end if end shutDownRequest The first time I select "Quit" from the app menu this handler is called and I can cancel the Quit. However, the next time I select "Quit" from the app menu (during the same session), the app just quits without the intervening dialog. Any ideas? (OSX 10.2.6, Rev 2.0.2) Thanks, Barry From alex at mindlube.com Thu Sep 4 12:24:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 4 12:24:01 2003 Subject: [OT] was Re: Metal OS X In-Reply-To: Message-ID: On Thursday, September 4, 2003, at 10:33 AM, Roger.E.Eller at sealedair.com wrote: > The way you humans have grown emotionally attached to your favorite OS' > amuses me. ;-) > > Roger Eller (Amiga owner/fanatic back in the early 90's) That's me. It's always a surprise when I run across a MS Windows user that is fanatical about their OS. They are usually not so fanatical as Mac/Linux/Amiga/whatever users. check out this fun Mac ad parody: > Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From themacguy at macosx.com Thu Sep 4 12:34:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Sep 4 12:34:00 2003 Subject: correction: shutDownRequest HANDLER fails to work Message-ID: <2FA9B20A-DEFD-11D7-BFE0-000A95763ABC@macosx.com> I'm re-posting this because of an inaccuracy in the subject -AND- add'l information. I have an OSX (10.2.6, Rev 2.0.2) stack that, when part of an app, is using the following handler in the stack script to intercept the Quit command: on shutDownRequest if the platform is "MacOS" then answer information "Are you sure you want to quit?" \ with "Quit" or "Don't Quit" if it is "Quit" then pass shutDownRequest end if end shutDownRequest The first time I select "Quit" from the app menu this handler is called and I can cancel the Quit. However, the next time I select "Quit" from the app menu (during the same session), the app just quits without the intervening dialog. The Rev engine seems to be ignoring the handler after the first time it is called. I have the same app in a Windows build. In that app, the handler shown above is commented out and I rely upon the File menu's "Quit" command which I have intercepted with a dialog, as well. In that case (WinXP, Rev 2.0.2) canceling the Quit confirmation dialog always works properly. Thanks, Barry From ambassador at fourthworld.com Thu Sep 4 12:34:22 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 4 12:34:22 2003 Subject: Metal OS X In-Reply-To: <548E5A78-DEF7-11D7-AEDD-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > Now off to google for IMNSHO "in my not-so-humble opinion" (I realize I get curmudgeonly at times ) -- 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 Sep 4 12:38:04 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 4 12:38:04 2003 Subject: Metal OS X In-Reply-To: Message-ID: Scott Rossi wrote: > Recently, Richard Gaskin wrote: > >> Meanwhile we still don't have native appearances for the OS most widely >> used, XP. > > Perhaps this might need to be qualified a bit? I don't have any statistics > handy but I would guess the above statement is probably more true for > business and professional users; I've been told by more than one client that > with consumers (non-pro) the largest installed base is Windows 98... That may be, and it's encouraging as MC's emulation of the Win95 look is pretty good. But even if we revise that line to the more easily supportable "orders of magnitude more users than OS X", we're splitting hairs with regard to the larger point. ;) -- 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 Sep 4 12:53:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 4 12:53:00 2003 Subject: [OT] was Re: Metal OS X In-Reply-To: Message-ID: <00ea01c3730c$8e2c5e20$6501a8c0@LightningFlash> > check out this fun Mac ad parody: > > ROFLOL! Thanks, Alex! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at mindlube.com Thu Sep 4 13:08:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 4 13:08:01 2003 Subject: survey: improving the script editor Message-ID: I have a couple of ideas for plugins to enhance the Rev IDE. I can't decide which direction I want to go myself, so thought I could solicit some feedback. 2 ideas: a) An external + plugin that would enable external editor apps (Emacs, Vi, BBEdit, Notepad, etc.) to be used for script editing in the IDE. (anyone: if it already exists, let me know) b) A plugin for enhancing the existing IDE script editor. Enhancements would be: macro expansions that are customizable by user, and context-sensitive code completion at the insertion point while editing. Completions would include: transcript keywords, transcript constructs, handler names, variable names and property names. (Geoff: if this is planned for Rev's script editor, let me know) If you would find one of these useful, send email to: rev-plugin at mindlube.com *** Use a Subject line of just "a" or "b" to vote for item a or b shown above. *** If you have an opinion about whether these should be shareware, commercial, or open-source, let me know that too, in the message body. If shareware or commercial let me know a $ you would honestly value it at. Otherwise leave the message body blank. Thanks, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jperryl at ecs.fullerton.edu Thu Sep 4 13:53:00 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu Sep 4 13:53:00 2003 Subject: New Rev Buyers, did you receive your unlocking key? In-Reply-To: Message-ID: Got mine this morning (or maybe late last night). Am a very happy camper... Judy On Thu, 4 Sep 2003 xbury.cs at clearstream.com wrote: > I got mine yesterday around 13h00. Bought it Sunday afternoon... > > > ---------------------=--------------------- > Xavier Bury > TNS NT LAN Server > ext 6465 > > > > > "Wolfgang M. Bereuter" > Sent by: use-revolution-admin at lists.runrev.com > 04/09/03 14:03 > Please respond to use-revolution > > > To: use-revolution at lists.runrev.com > cc: ^ > Subject: Re: New Rev Buyers, did you receive your unlocking key? > > > > > On Mittwoch, Sep 3, 2003, at 23:00 Europe/Vienna, Judy Perry wrote: > > > I'm still waiting patiently. I figure a bunch of us waited until the > > last > > minute (but not, unfortunately, my students, whom I wish to beat with > > a large stick...) > > Me too I m wainting for a new license, because the one I got was wrong, > since about a week. Only Heathers robot is answering. Usually she > answers very fast! I hope she is not ill..? > > 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. > > The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. > > END OF DISCLAIMER > From kevin at runrev.com Thu Sep 4 13:59:01 2003 From: kevin at runrev.com (Kevin Miller) Date: Thu Sep 4 13:59:01 2003 Subject: New Rev Buyers, did you receive your unlocking key? In-Reply-To: <1g0rvck.n2ssf083hpfkM%mcdomi@free.fr> Message-ID: On 4/9/03 4:40 pm, Dom wrote: >> I am looking for my unlocking key since there... > > I got it today :-) Sorry for the delay, everyone is overloaded - lots of people waited until the last minute on the offer - and we have a number of people on holiday (not Heather, fortunately!). > Tested immediately with a MC stack "Tables". > "Tables" is a multiplication tables test for kids. > It runs with no modification under Rev. > Sure, it has no "revxxxx" function/handler ;-) > > You can get it at: > > http://domiscript.free.fr/Rev/ > > Only a french version at this time; but I can translate it. > > Some questions from a MetaCard migrant: > -- with MC I am able to open a single file, without launching the > development environment... With rev I cannot do that; unless there is > some parameter which rules that? Yes, hold down control (Windows) or command (Mac) during start up. Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From jtenny at willamette.edu Thu Sep 4 15:48:00 2003 From: jtenny at willamette.edu (John Tenny) Date: Thu Sep 4 15:48:00 2003 Subject: windows conversion In-Reply-To: Message-ID: Group: I have need of someone talented on the Windows side of rev to do some finishing touches on a pre-commercial/research tool stack of mine. I've done my work with Studio on a Mac, and know nearly nothing about the problems with distributing on Windows; and I'm running out of time. Nothing in the stack is tricky, but needs the following worked out: 1. print or email marked cards. The part I don't know about is how to deal with the data entry being done on a portable not connected to a printer/email system, so something that would store the data until the user gets to a printer or email connection. 2. menus -- I've heard there is a difference between Mac and Windows and need that accomodiated 3. fonts - I'm just using Ariel so maybe no problems, but.... 4. buttons - resolve any appearance problems. 5. adding serial number/password protection 6. and I'm sure open to improving the crude and cumbersome way I've done things as a newcomer to all this. I've got the basics done of what the program needs to do. The stack is a series of timers and counters used during observation of others. Of course I'd want a professional relationship with guarantees of confidentality and my full ownership of the final product. I know several of you do this for a living, and I'd like to hear from you regarding cost and timelines. It's best to reply off line, I'm sure. Reasonable cost is a priority. Peace, John jtenny at willamette.edu From dvk at dvkconsult.com.au Thu Sep 4 16:53:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Sep 4 16:53:01 2003 Subject: Directory Walker revisited In-Reply-To: <200309041144.HAA03047@www.runrev.com> Message-ID: <49D587EF-DF21-11D7-908D-000A95729266@dvkconsult.com.au> On Thursday, Sep 4, 2003, at 21:44 Australia/Brisbane, wouter wrote: > snip > >> I appreciate your interest in the topic but not the mis-statements >> about recursion or my code. > > It were no mis-statements only a mis-url-ment caused by burning to > much midnight oil : That is, your comments addressed Ben's code, not mine. Thank you for almost clarifying the issue :-) regards David From dvk at dvkconsult.com.au Thu Sep 4 17:02:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Sep 4 17:02:01 2003 Subject: The Directory Walker revisited In-Reply-To: <200309041505.LAA10688@www.runrev.com> Message-ID: <07D98F29-DF22-11D7-908D-000A95729266@dvkconsult.com.au> On Friday, Sep 5, 2003, at 01:05 Australia/Brisbane, Dar Scott wrote: > > Then I am concerned. > > From looking at that code and similar code, the handler calls itself > only 19 times. That should not hit the recursion limit. Something > else is wrong. > > What Rev version and OS are you using? Maybe some beta versions went > out as debug builds. > > Even so, I doubt this would be enough to cause this. Something is > wrong. > > I would not be surprised if my apps without recursion would hit 19 > deep. Many of my recursive functions typically hit 32. Dar, I have had time only for a preliminary test but it appeared that the apparent depth blew up past a relatively low limit, so, even though no error is declared until later, there is a problem perhaps as low as 20-50 leading to exploding false calls and an error at 700. I am using 2.1 on OS X. If this has not been resolved by someone else by tomorrow I will have a better look. regards David > > Dar Scott From rjb at rz.uni-potsdam.de Thu Sep 4 18:09:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Sep 4 18:09:01 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: References: Message-ID: >On Tuesday, September 2, 2003, at 11:55 PM, Scott Rossi wrote: > >>On 9/2/03 9:42 PM, "Mark Talluto" wrote: >> >>>>All I want to do is protect my code from view if someone tries to >>>>examine my stacks with Rev or with TextEdit. How can I do this? >>>>Obviously, this is not the application but a secondary stack (not >>>>sub-) whose data gets altered and saved during runtime. I can't ask >>>>the user to provide the password as I want to keep it a secret. >> >>>Set the passkey when the stack is opened. Then set the password before >>>saving the data stack again. >> >>I don't believe you need to set the password after setting the passkey. The >>passkey allows you access to the stack during the current editing session; >>to remove a password from a stack you'd need to set the password to empty. >>Thus, once you set the passkey of a stack, the stack can be edited as >>needed, saved, and closed. Once it is closed, it will be protected as >>before. >> > >You are right Scott. Once it is set, it is set. This is unless you >set it to empty and save it. > > >Best regards, >Mark Talluto >http://www.canelasoftware.com > But is it possible to unlock the stack for the duration of a given script only? Assume a handler that needs to do sth that requires a stack to be unlocked. It sets the passkey and does its business. However, it seems that this unlocks the stack until it is closed, thus opening it potentially for mischief. Is the a way to lock the stack back before the handler ends? It would be logical if setting a password did that trick, but does it? Robert From Revinfo1155 at aol.com Thu Sep 4 18:49:02 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Thu Sep 4 18:49:02 2003 Subject: Questions on the Drawers feature Message-ID: Been experimenting with the drawers feature on rev 2.1-osx. Question 1- couldn't get the message box to find text in a scrolling field on the drawer stack. It searched on the parent stack only. Any way to resolve this. Question 2- Couldn't control the size of the drawer stack. It resized the stack window and made the scrollbar on the scrollfield unreachable. any ideas. thanks for the help. jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From tuviah at runrev.com Thu Sep 4 18:52:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 4 18:52:01 2003 Subject: unicode rtf support References: <200309041601.MAA16226@www.runrev.com> Message-ID: <00df01c3733e$dfb20ba0$0100a8c0@user> > A client supplies RTF-files saved from MS-Word (Mac & PC) with all kind of > special characters in it. > I'm able to import this RTF in my app, getting all specs and all special > chars are maintained in this text. > > When editing this text and exporting it as an RTF-file, all special chars > are gone when reopening the file in Word. > > After looking into the specs of the RTF-format, as mentioned in the RR > documentation, I found that there are special control-chars in the RTF > format to use Unicode-files, and thus maintaining all special chars. > > Is there a way to export Unicode text as RTF, or is there another way to > keep all special chars when exporting text-files? Yes just get the rtftext of a field and it should export the unicode characters as hexidecimal, multibyte characters which should display fine in other programs. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From scott at tactilemedia.com Thu Sep 4 18:58:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Sep 4 18:58:01 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: Message-ID: Recently, "Robert Brenstein" wrote: > But is it possible to unlock the stack for the duration of a given > script only? Assume a handler that needs to do sth that requires a > stack to be unlocked. It sets the passkey and does its business. > However, it seems that this unlocks the stack until it is closed, > thus opening it potentially for mischief. Is the a way to lock the > stack back before the handler ends? It would be logical if setting a > password did that trick, but does it? I don't believe this is an issue. Rev loads a stack into memory before running, and it doesn't save anything to the drive until you tell it to do so. Thus if your stack was password protected on the drive, it will stay that way until you save it without a password. Also, keep in mind that setting a passkey allows you to edit scripts until the stack is closed; it does not remove the password from the stack. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From tmalloroy at cox.net Thu Sep 4 19:54:01 2003 From: tmalloroy at cox.net (Tim Malloroy) Date: Thu Sep 4 19:54:01 2003 Subject: Externals In-Reply-To: <200309041505.LAA10718@www.runrev.com> Message-ID: <001101c37347$59173030$0c00a8c0@ourfamily> Thanks Dar, that is exactly the start I needed. I will be creating an external for OS X, Linux, and Windows. When finished, I plan to submit it as a user contribution for all to use. Tim Malloroy --__--__-- Message: 14 Date: Thu, 4 Sep 2003 09:58:00 -0600 Subject: Re: Externals From: Dar Scott To: use-revolution at lists.runrev.com Reply-To: use-revolution at lists.runrev.com On Thursday, September 4, 2003, at 06:40 AM, Tim Malloroy wrote: > I can't seem to find any information on writing externals. I want to > adapt > SQLite for use in Revolution 2.1. Can anyone give me pointers or hints > on > where to start? Windows or Linux? Or are you adapting SQLite for OS X? Some place I have notes on struggling through my first one on Windows using Visual C/C++, but from memory... Start with the externals folder that came with the earlier versions. I think it can be downloaded. That should include some source files, a DLL definition file, a readme and a stack. I don't remember if it had a make file. Wrap your project around that and try it. Copy the DLL to the same folder as the Revolution executable. Open the stack. If you change the DLL, close & purge the stack and reopen it. If you make your own external, remember to set the externals in the stack and reopen it. Then comes the hard part. Look at the examples for callback testing and variable access. Look at what they call. Look at the basic setup for adding commands and functions. Try that. You might want to add comments and make some notes. Much of this you can infer from the code; the rest may need testing or conservative usage. Dar Scott --__--__-- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution End of use-revolution Digest From dsc at swcp.com Thu Sep 4 20:42:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 4 20:42:00 2003 Subject: Externals In-Reply-To: <001101c37347$59173030$0c00a8c0@ourfamily> Message-ID: <45EA11B3-DF41-11D7-8F27-000A9567A3E6@swcp.com> On Thursday, September 4, 2003, at 06:47 PM, Tim Malloroy wrote: > Thanks Dar, that is exactly the start I needed. I will be creating an > external for OS X, Linux, and Windows. When finished, I plan to submit > it as > a user contribution for all to use. On OS X, I build with the dev system that comes with it. Dar Scott From dsc at swcp.com Thu Sep 4 23:04:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 4 23:04:01 2003 Subject: The Directory Walker revisited In-Reply-To: <07D98F29-DF22-11D7-908D-000A95729266@dvkconsult.com.au> Message-ID: <22CDB50D-DF55-11D7-8F27-000A9567A3E6@swcp.com> On Thursday, September 4, 2003, at 03:52 PM, David Vaughan wrote: > Dar, I have had time only for a preliminary test but it appeared that > the apparent depth blew up past a relatively low limit, so, even > though no error is declared until later, there is a problem perhaps as > low as 20-50 leading to exploding false calls and an error at 700. I > am using 2.1 on OS X. > If this has not been resolved by someone else by tomorrow I will have > a better look. Permissions! -- needs 3 fields; try /Users in field "Path" on mouseUp set the cursor to watch put empty into field "Log" put -1 into field "Depth" put the defaultFolder into temp try listfolders field "Path" catch e put LF & "thrown error!" & LF after field "Log" end try set the defaultFolder to temp end mouseUp on listFolders path indent put max( length(indent)/2, field "Depth") into field "Depth" set the defaultfolder to path if the defaultFolder is not path then -- ! put indent & "Can't set: "& path & LF after field "Log" -- ! exit listFolders -- ! end if -- ! put the folders into folderList repeat for each line f in folderList if char 1 of f is not "." then put indent & f & LF after field "Log" set the scroll of field "Log" to 9999999 listFolders (path & "/" & f), indent & " " end if end repeat end listFolders It seems if the defaultFolder cannot be set, it is unchanged. Most of what we have seen needs this check. Recursion has been vindicated!!! Uh, I'll sit down now. Dar Scott From dsc at swcp.com Thu Sep 4 23:14:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 4 23:14:00 2003 Subject: The Directory Walker revisited In-Reply-To: <22CDB50D-DF55-11D7-8F27-000A9567A3E6@swcp.com> Message-ID: <95243E02-DF56-11D7-8F27-000A9567A3E6@swcp.com> minor update On Thursday, September 4, 2003, at 09:57 PM, Dar Scott wrote: > put the folders into folderList if char -1 of path is "/" then delete char -1 of path > repeat for each line f in folderList > if char 1 of f is not "." then > put indent & f & LF after field "Log" > set the scroll of field "Log" to 9999999 > listFolders (path & "/" & f), indent & " " > end if > end repeat From dsc at swcp.com Thu Sep 4 23:54:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 4 23:54:00 2003 Subject: The Directory Walker revisited In-Reply-To: <22CDB50D-DF55-11D7-8F27-000A9567A3E6@swcp.com> Message-ID: <2DD47BDC-DF5C-11D7-8F27-000A9567A3E6@swcp.com> On Thursday, September 4, 2003, at 09:57 PM, Dar Scott wrote: > It seems if the defaultFolder cannot be set, it is unchanged. From the TD: > If you set the defaultFolder to a folder that doesn't exist, the > result is set to?"can't open directory"?and the value of the > defaultFolder does not change. Checking the result is probably a better test. I wasn't expecting a change in 'the result' in set. Dar Scott From tuviah at runrev.com Fri Sep 5 00:23:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Fri Sep 5 00:23:00 2003 Subject: externals References: <200309041505.LAA10753@www.runrev.com> Message-ID: <002801c3736d$22861d30$0100a8c0@user> > I can't seem to find any information on writing externals. I want to adapt > SQLite for use in Revolution 2.1. Can anyone give me pointers or hints on > where to start? > > BTW, SQLite is a free database engine that uses a subset of SQL. You can contact me off-list for some header files which you can use to design your own RevDB database driver. This way it will work with our database syntax and tools. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From gcanyon at inspiredlogic.com Fri Sep 5 00:52:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Sep 5 00:52:00 2003 Subject: The Directory Walker revisited In-Reply-To: <51FB0FD9-DEAE-11D7-BEF9-000502990960@pi.be> Message-ID: <49C20D16-DF64-11D7-BEDE-003065683ECC@inspiredlogic.com> On Thursday, September 4, 2003, at 01:03 AM, wouter wrote: > Btw I pushed the experiment a little further and can run it safely with > the "send to me time" set to 0.0001 millisecs. Setting values like .0001 milliseconds doesn't help; the internal timer doesn't slice that finely (nowhere near, in fact). On the other hand, there's nothing wrong with: send tMessage to me in 0 milliseconds which will still give you the safety you're looking for, and run as fast as possible. regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Fri Sep 5 01:22:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Sep 5 01:22:00 2003 Subject: The Directory Walker revisited In-Reply-To: <51FB0FD9-DEAE-11D7-BEF9-000502990960@pi.be> Message-ID: <6789B703-DF68-11D7-BEDE-003065683ECC@inspiredlogic.com> On Tuesday, September 2, 2003, at 01:59 AM, wouter wrote: > That is true but the amount of recursion is not equal to the depth of > the directories. > It is equal to the total amount of directories. And this number can > easily surpass 1000. Again, sorry for the delayed response, but I just realized that the recursive code behind this conversation is mine, and I feel the need to defend my code ;-) The above isn't correct; the recursion involved only reaches the depth of the directory structure. So if your folders are nested twenty deep, the greatest recursion depth will be twenty as well. It doesn't matter how "wide" the directory structure is, just how deep. On Thursday, September 4, 2003, at 01:03 AM, wouter wrote: > :^)) You keep persitent on the deepness of the directory. > I used my root Library folder on a Mac OS X volume to run tests > and the deepest folder is 18 levels deep. > The recursiveLimit has only to do by how many times the handler > calls itself from within itself without ending itself (nested calls) > before > its starts running itself again (kind of an egocentric handler) The problem here isn't with recursion. The setting/getting of directories, or maybe the overall data size, is involved as well. I ran a test without using actual directories, instead just generating fake ones. I've run tests that went as deep as 131 levels of recursion, 8308 directory and file entries, and an output of 1,243,170 bytes, without a problem. In a pure recursive method I went to a depth of 600 without problem. regards, Geoff Canyon gcanyon at inspiredlogic.com From mcdomi at free.fr Fri Sep 5 01:23:00 2003 From: mcdomi at free.fr (Dom) Date: Fri Sep 5 01:23:00 2003 Subject: Rev to cannibalize MC ;-) Message-ID: <1g0szdw.md7ppium50o8M%mcdomi@free.fr> I tempted to copy some data from a MC stack to a Rev stack... It appears that Rev considers that the MC doc was one of his docs, and it changed it to a Rev one -- the extension staying "mc" ! -- From ambassador at fourthworld.com Fri Sep 5 01:41:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 5 01:41:01 2003 Subject: Rev to cannibalize MC ;-) In-Reply-To: <1g0szdw.md7ppium50o8M%mcdomi@free.fr> Message-ID: Dom wrote: > I tempted to copy some data from a MC stack to a Rev stack... > > It appears that Rev considers that the MC doc was one of his docs, and > it changed it to a Rev one -- the extension staying "mc" ! If you hadn't saved your MC stack I'd flag that as a bug. -- 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 mcdomi at free.fr Fri Sep 5 02:01:00 2003 From: mcdomi at free.fr (Dom) Date: Fri Sep 5 02:01:00 2003 Subject: New Rev Buyers, did you receive your unlocking key? In-Reply-To: Message-ID: <1g0t11u.13hrnhc1r7mqgkM%mcdomi@free.fr> Kevin Miller wrote: > > -- with MC I am able to open a single file, without launching the > > development environment... With rev I cannot do that; unless there is > > some parameter which rules that? > > Yes, hold down control (Windows) or command (Mac) during start up. Thanx a lot :-) -- From rbarber at yhb.att.ne.jp Fri Sep 5 02:06:00 2003 From: rbarber at yhb.att.ne.jp (Ron) Date: Fri Sep 5 02:06:00 2003 Subject: Unicode RTF export In-Reply-To: Message-ID: Hi Ton > A client supplies RTF-files saved from MS-Word (Mac & PC) with all kind of > special characters in it. > I'm able to import this RTF in my app, getting all specs and all special > chars are maintained in this text. > > When editing this text and exporting it as an RTF-file, all special chars > are gone when reopening the file in Word. > > After looking into the specs of the RTF-format, as mentioned in the RR > documentation, I found that there are special control-chars in the RTF > format to use Unicode-files, and thus maintaining all special chars. > > Is there a way to export Unicode text as RTF, or is there another way to > keep all special chars when exporting text-files? Have you tried htmltext? I use this with unicode text to save formatting and special chars. (it is much easier to export formatted unicode text to a variable than to import it and add formatting through tagging, but it can be done once you get the sequence right) After you import your client's file into your app and do your editing you can simply put the htmltext of the fld into a variable and then paste it into WORD or whatever. HTH Ron From tkuypers at pandora.be Fri Sep 5 02:11:00 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Fri Sep 5 02:11:00 2003 Subject: unicode rtf support In-Reply-To: <00df01c3733e$dfb20ba0$0100a8c0@user> Message-ID: Nope, it doesn't... I'll maill you offlist a word-file, the word RTF and the RR rtf, so you will see what happens... Regards, Ton Kuypers > From: "Tuviah Snyder" > Reply-To: use-revolution at lists.runrev.com > Date: Thu, 4 Sep 2003 19:46:42 -0400 > To: > Subject: re: unicode rtf support > >> A client supplies RTF-files saved from MS-Word (Mac & PC) with all kind of >> special characters in it. >> I'm able to import this RTF in my app, getting all specs and all special >> chars are maintained in this text. >> >> When editing this text and exporting it as an RTF-file, all special chars >> are gone when reopening the file in Word. >> >> After looking into the specs of the RTF-format, as mentioned in the RR >> documentation, I found that there are special control-chars in the RTF >> format to use Unicode-files, and thus maintaining all special chars. >> >> Is there a way to export Unicode text as RTF, or is there another way to >> keep all special chars when exporting text-files? > Yes just get the rtftext of a field and it should export the unicode > characters as hexidecimal, multibyte characters which should display fine in > other programs. > > Tuviah Snyder > Runtime Revolution Limited - Software at the Speed of Thought > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mcdomi at free.fr Fri Sep 5 02:31:00 2003 From: mcdomi at free.fr (Dom) Date: Fri Sep 5 02:31:00 2003 Subject: Rev to cannibalize MC ;-) In-Reply-To: Message-ID: <1g0t2d5.ewbm9b1nrgwosM%mcdomi@free.fr> Richard Gaskin wrote: > > It appears that Rev considers that the MC doc was one of his docs, and > > it changed it to a Rev one -- the extension staying "mc" ! > > If you hadn't saved your MC stack I'd flag that as a bug. I answered "NO" at the prompt, when i tempted to close the MC stack -- but the prompt was a "Rev" prompt! The stack was given a Rev icon. and the info said that this doc has to be opened with Rev (default). The extension being always "mc". In the info dialog, I reverted to open with "MetaCard 2.5 (Default)" all the docs with a "mc" extension. -- From tkuypers at pandora.be Fri Sep 5 02:47:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Fri Sep 5 02:47:01 2003 Subject: Unicode RTF export In-Reply-To: Message-ID: Sorry Ron, the idea is ok, but I need to import this data into an InDesign layout automatically, nu user will touch this file after correcting it in my app... So it needs to be RTF or native Word... RTF it will be, as long as the correct export can be done... Ton > From: Ron > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 05 Sep 2003 16:00:47 +0900 > To: > Subject: Re: Unicode RTF export > > Hi Ton > >> A client supplies RTF-files saved from MS-Word (Mac & PC) with all kind of >> special characters in it. >> I'm able to import this RTF in my app, getting all specs and all special >> chars are maintained in this text. >> >> When editing this text and exporting it as an RTF-file, all special chars >> are gone when reopening the file in Word. >> >> After looking into the specs of the RTF-format, as mentioned in the RR >> documentation, I found that there are special control-chars in the RTF >> format to use Unicode-files, and thus maintaining all special chars. >> >> Is there a way to export Unicode text as RTF, or is there another way to >> keep all special chars when exporting text-files? > > Have you tried htmltext? I use this with unicode text to save formatting and > special chars. (it is much easier to export formatted unicode text to a > variable than to import it and add formatting through tagging, but it can be > done once you get the sequence right) After you import your client's file > into your app and do your editing you can simply put the htmltext of the fld > into a variable and then paste it into WORD or whatever. > > HTH > Ron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From thierry.arbellot at wanadoo.fr Fri Sep 5 03:34:00 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Fri Sep 5 03:34:00 2003 Subject: correction: shutDownRequest HANDLER fails to work In-Reply-To: <2FA9B20A-DEFD-11D7-BFE0-000A95763ABC@macosx.com> Message-ID: Hi Barry, I use the shutdownRequest handler in my app (OSX 10.2.6, Rev since v 2.0) and it does work fine every-time. I put the handler in the main stack, to be sure to intercept the Quit command from any substack. Regards. Thierry. On Thursday, September 4, 2003, at 07:02 PM, Barry Levine wrote: > I'm re-posting this because of an inaccuracy in the subject -AND- > add'l information. > > I have an OSX (10.2.6, Rev 2.0.2) stack that, when part of an app, is > using the following handler in the stack script to intercept the Quit > command: > > on shutDownRequest > if the platform is "MacOS" then > answer information "Are you sure you want to quit?" \ > with "Quit" or "Don't Quit" > if it is "Quit" then pass shutDownRequest > end if > end shutDownRequest > > The first time I select "Quit" from the app menu this handler is > called and I can cancel the Quit. However, the next time I select > "Quit" from the app menu (during the same session), the app just quits > without the intervening dialog. The Rev engine seems to be ignoring > the handler after the first time it is called. > > I have the same app in a Windows build. In that app, the handler shown > above is commented out and I rely upon the File menu's "Quit" command > which I have intercepted with a dialog, as well. In that case (WinXP, > Rev 2.0.2) canceling the Quit confirmation dialog always works > properly. > > Thanks, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Fri Sep 5 03:56:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri Sep 5 03:56:00 2003 Subject: Radio buttons as indicator lights In-Reply-To: <200309041144.HAA03100@www.runrev.com> Message-ID: Hi Graham, Just so you know, there are two Ken's actively on this list. Ken Ray's the pro, but I'm getting better at getting around Rev. ---------- > Date: Thu, 04 Sep 2003 13:16:31 +0200 > From: Graham > Subject: Re: Radio buttons as indicator lights > > Thus I can get the effect I > want by grouping a series of radio buttons whose keyboard focus and > autohilite is turned off. I can then use Ken's solution to hilite one > button at a time, while automatically turning off any previously hilited > button. ---------- Yes, but the _user_ can still click on any other one and it will _also_ hilite if the autoHilite property is true. I know you want to prevent this, so you _also_ must shut off autoHilite of all the Radio buttons (you can do it by using the multi-line Message in the Msg Box, which I posted earlier), and just let the script control them. This is a better solution, IMO, than covering them with a grc. However, I would again caution against using Radio Buttons for something they aren't intended. It'll have the HIG folks shaking their heads. Alternative solution: In the multi-line msg box, write a script to change all your buttons to style "round", set the hiliteColor to your choice, and give them all a family number, probably "1" (see the "family" keyword in the Transcript Dictionary). NOW, you can put a noop grc over the top of all of them to intercept mouse clicks, thus blocking the user from clicking them. This family of buttons will take on radioBehavior characteristics, i.e., you can only set the hilite of one at a time, even by script, thus: set the hilite of button x to true ...will set the hilite of _only_ that button to true, meaning whatever the hiliteColor of that button is will show that color while all the rest are blank (clear). I made a little stack with 30 of these things (all of them green, but they could each have been a different color, any of 256 colors) in it that lighted randomly. Reminded me of those TV depictions of computers back in the '50's. Now I just need to add wierd little sounds to complete the effect. ;-) Ken N. From graham.samuel at wanadoo.fr Fri Sep 5 04:03:03 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Fri Sep 5 04:03:03 2003 Subject: OT: Trying to get hold of Ken Norris Message-ID: <5.2.1.1.0.20030905105437.00c4bd78@pop.wanadoo.fr> Apologies to list members - please ignore. On Wed, 03 Sep 2003 20:37:33 -0400, Ken Norris wrote [a message which I planned to reply to privately] Ken, my message bounced, and the site which is supposed to explain why is unavailable. Any way I can email you? Please reply off list. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From pixelbird at interisland.net Fri Sep 5 04:19:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri Sep 5 04:19:01 2003 Subject: OT--Who's On First/21st Century In-Reply-To: <200309041144.HAA03100@www.runrev.com> Message-ID: You folks have to read this. I fell off my seat twice laughing. Gets funnier everytime I read it. Got it from the MacMin list: Abbott & Costello take on the 21st century and computers......... ABBOTT: Computer Support Group. Can I help you? COSTELLO: Thanks. I'm setting up a home office in the den, and I'm thinking of buying a computer. ABBOTT: Mac? COSTELLO: No, the name is Lou. ABBOTT: Your computer? COSTELLO: I don't own a computer. I want to buy one. ABBOTT: Mac? COSTELLO: I told you, my name is Lou. ABBOTT: What about Windows? COSTELLO: Why? Does it get stuffy? ABBOTT: Do you want a computer with Windows? COSTELLO: I don't know. What do I see when I look out the windows? ABBOTT: Wallpaper. COSTELLO: Never mind the windows. I need a computer and software. ABBOTT: Software that runs on Windows? COSTELLO: No, on the computer! I need something I can use to write proposals, track expenses. You know, run a business. What have you got? ABBOTT: Office. COSTELLO: Yeah, for my office. Can you recommend anything? ABBOTT: I just did. COSTELLO: You just did what? ABBOTT: Recommended something. COSTELLO: You recommended something? ABBOTT: Yes. COSTELLO: For my office? ABBOTT: Yes. COSTELLO: Okay, what did you recommend for my office? ABBOTT: Office. COSTELLO: Yes, for my office. ABBOTT: Office for Windows. COSTELLO: I already have an office and it already has windows! Let's say I'm sitting at my computer, and I want to type a proposal. What do I need? ABBOTT: Word. COSTELLO: If I'm writing a proposal, I'm going to need lots of words. But what program do I load? ABBOTT: Word. COSTELLO: What word? ABBOTT: The Word in Office. COSTELLO: The only word in office is office. ABBOTT: The Word in Office for Windows. COSTELLO: Which word in "office for windows?" ABBOTT: The Word you get when you click the blue W. COSTELLO: I'm going to click your big W if you don't give me a straight answer. Let's forget about words for a minute. What do I need if I want to watch a movie over the Internet? ABBOTT: RealOne. COSTELLO: Maybe a real movie, maybe a cartoon. What I watch is none of your business. But what do I need to watch it? ABBOTT: RealOne. COSTELLO: If it's a long movie I'll also want to watch reels two, three and four. Can I watch reel four? ABBOTT: Of course. COSTELLO: Great! With what? ABBOTT: RealOne. COSTELLO: Okay, so I'm sitting at my computer and I want to watch a movie. What do I do? ABBOTT: You click the blue 1. COSTELLO: I click the blue one what? ABBOTT: The blue 1. COSTELLO: Is that different from the blue W? ABBOTT: Of course it is. The blue 1 is RealOne. The blue W is Word. COSTELLO: What word? ABBOTT: The Word in Office for Windows. COSTELLO: But there's three words in "office for windows!" ABBOTT: No, just one. But it's the most popular Word in the world. COSTELLO: It is? ABBOTT: Yes, although to be fair there aren't many other Words left. It pretty much wiped out all the other Words. COSTELLO: And that word is the real one? ABBOTT: No. RealOne has nothing to do with Word. RealOne isn't even part of Office. COSTELLO: Never mind; I don't want to get started with that again. But I also need something for bank accounts, loans, and so on. What do you have to help me track my money? ABBOTT: Money. COSTELLO: That's right. What do you have? ABBOTT: Money. COSTELLO: I need money to track my money? ABBOTT: No, not really. It comes bundled with your computer. COSTELLO: What comes bundled with my computer? ABBOTT: Money. COSTELLO: Money comes bundled with my computer? ABBOTT: Exactly. No extra charge. COSTELLO: I get a bundle of money with my computer at no extra charge? How much money do I get? ABBOTT: Just one copy. COSTELLO: I get a copy of money. Isn't that illegal? ABBOTT: No. We have a license from Microsoft to make copies of Money. COSTELLO: Microsoft can license you to make money? ABBOTT: Why not? They own it. COSTELLO: Well, it's great that I'm going to get free money, but I'll still need to track it. Do you have anything for managing your money? ABBOTT: Managing Your Money? That program disappeared years ago. COSTELLO: Well, what do you sell in its place? ABBOTT: Money. COSTELLO: You sell money? ABBOTT: Of course. But if you buy a computer from us, you get it for free. COSTELLO: That's all very wonderful, but I'll be running a business. Do you have any software for, you know, accounting? ABBOTT: Simply Accounting. COSTELLO: Probably, but it might get a little complicated. ABBOTT: If you don't want Simply Accounting, you might try M.Y.O.B. COSTELLO: M.Y.O.B.? What does that stand for? ABBOTT: Mind Your Own Business. COSTELLO: I beg your pardon? ABBOTT: No, that would be I.B.Y.P. I said M.Y.O.B. COSTELLO: Look, I just need to do some accounting for my home business. You know--accounting? You do it with money. ABBOTT: Of course you can do accounting with Money. But you may need more. COSTELLO: More money? ABBOTT: More than Money. Money can't do everything. COSTELLO: I don't need a sermon! Okay, let's forget about money for the moment. I'm worried that my computer might...what's the word? Crash. And if my computer crashes, what can I use to restore my data? ABBOTT: GoBack. COSTELLO: Okay. I'm worried about my computer smashing and I need something to restore my data. What do you recommend? ABBOTT: GoBack. COSTELLO: How many times do I have to repeat myself? ABBOTT: I've never asked you to repeat yourself. All I said was GoBack. COSTELLO: How can I go back if I haven't even been anywhere? Okay, I'll go back. What do I need to write a proposal? ABBOTT: Word. COSTELLO: But I'll need lots of words to write a proposal. ABBOTT: No, you only need one Word-the Word in Office for Windows. COSTELLO: But there's three words in...Oh, never mind. ABBOTT: Hello? Hello? Customers! Why do they always hang up on me? Oh, well. (ring) Computer Support Group. Can I help you? From rjb at rz.uni-potsdam.de Fri Sep 5 04:47:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Sep 5 04:47:00 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: References: Message-ID: >Recently, "Robert Brenstein" wrote: > > > But is it possible to unlock the stack for the duration of a given > > script only? Assume a handler that needs to do sth that requires a >> stack to be unlocked. It sets the passkey and does its business. >> However, it seems that this unlocks the stack until it is closed, >> thus opening it potentially for mischief. Is the a way to lock the >> stack back before the handler ends? It would be logical if setting a >> password did that trick, but does it? > >I don't believe this is an issue. Rev loads a stack into memory before >running, and it doesn't save anything to the drive until you tell it to do >so. Thus if your stack was password protected on the drive, it will stay >that way until you save it without a password. > >Also, keep in mind that setting a passkey allows you to edit scripts until >the stack is closed; it does not remove the password from the stack. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design Yes, all true but that was not my issue. Take 2. Is it possible to unlock the stack for the duration of a given script only? In other words, is it possible to restore locked state without closing the stack? I don't think so. I have tested a number of options and can't seem to be able to relock the stack once it is unlocked. The issue is that once the passkey is set, the scripts are no longer protected. This means that a user may see what they may not be supposed to see. Remember that password protecting the stack has been advocated here not only to protect scripts but also sensitive data. However, dynamic scripting usually requires unlocking the stack to succeed. Since setting password to empty removes protection, a logical extension would be that setting passkey to empty relocks the stack. I have just entered this into bugzilla as a suggestion (#546). Robert Brenstein From derekbronston at earthlink.net Fri Sep 5 04:50:01 2003 From: derekbronston at earthlink.net (derek bronston) Date: Fri Sep 5 04:50:01 2003 Subject: playing sound In-Reply-To: Message-ID: <7426ED04-DE4A-11D7-80C7-0030657FA6E8@earthlink.net> It is in the same directory as the app, can i not use a relative path? thanks On Wednesday, September 3, 2003, at 04:58 AM, Ken Norris wrote: > Hi Derek, > >> Date: Tue, 2 Sep 2003 12:34:15 -0700 >> Subject: re:playing sound >> From: derek bronston >> >> I have a question re: playing sound with Revolution, I am new to >> Revolution, but I am an experienced programmer in PHP/FLASH . >> >> I am having problems with the play command >> >> play "something.mp3" >> >> it just creates alot of static , in both OSX and Windows '98 > ---------- > Where is the file? You didn't include a filepath. > > HTH, > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From derekbronston at earthlink.net Fri Sep 5 04:50:14 2003 From: derekbronston at earthlink.net (derek bronston) Date: Fri Sep 5 04:50:14 2003 Subject: play an mp3? Message-ID: <963AD726-DE4C-11D7-80C7-0030657FA6E8@earthlink.net> I see how to play an AIFF or wav file , but how can i play an MP3 or AAC file?, i keep getting an awful static sound? thanks derek From derekbronston at earthlink.net Fri Sep 5 04:50:25 2003 From: derekbronston at earthlink.net (derek bronston) Date: Fri Sep 5 04:50:25 2003 Subject: MP3 In-Reply-To: <45EA11B3-DF41-11D7-8F27-000A9567A3E6@swcp.com> Message-ID: <65FA1679-DF6C-11D7-A47A-0030657FA6E8@earthlink.net> > Anyone have any helpful info on playing MP3's in Revolution? > Thanks derek From klaus at major-k.de Fri Sep 5 05:07:00 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 5 05:07:00 2003 Subject: play an mp3? In-Reply-To: <963AD726-DE4C-11D7-80C7-0030657FA6E8@earthlink.net> Message-ID: Hi Derek, > I see how to play an AIFF or wav file , but how can i play an MP3 or > AAC file?, > i keep getting an awful static sound? > > thanks > derek Please read this (again ;-): > Am Mittwoch, 03.09.03 um 11:53 Uhr schrieb Klaus Major: >> Hi Derek, >> >> The "play ac xxx" command will only play these formats: !!! >> AIF and WAV, both uncompressed!!! >> And the AU format.... >> >> All other sound-formats will have to be placed into a player-object, Use a player! Create a player-object, set its filename to your MP3 and just play it :-) Like: ... start player "harold" ... stop player "harold" ... etc... >> which actually gives you much more control about the playback... >> >> Hope that helps... Regards (again ;-) Klaus Major klaus at major-k.de www.major-k.de From joel at alpsgiken.gr.jp Fri Sep 5 06:06:00 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Fri Sep 5 06:06:00 2003 Subject: embedding graphics in text? Message-ID: <20030905200004.3579.JOEL@alpsgiken.gr.jp> Newbie sort of question, but I'm a newb, so here goes -- Converting a hypercard stack, have a graphics layover and space in the text where images in the layover are supposed to end up, but font differences and so forth and the images are not where they should be, relative to the text. So I would like to be able to cut the images out of the layover and embed them into the text, the way it can be done with html. Does revolution support such a thing? (Having trouble thinking of where to look this up in the docs.) -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) From klaus at major-k.de Fri Sep 5 06:44:01 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 5 06:44:01 2003 Subject: embedding graphics in text? In-Reply-To: <20030905200004.3579.JOEL@alpsgiken.gr.jp> Message-ID: <58ABFAEE-DF95-11D7-8C98-000A27B49A96@major-k.de> Konichi-wa Rees-san, (its noon here in germany ;-) > Newbie sort of question, but I'm a newb, so here goes -- > > Converting a hypercard stack, have a graphics layover and space in the > text where images in the layover are supposed to end up, but font > differences and so forth and the images are not where they should be, > relative to the text. > > So I would like to be able to cut the images out of the layover and > embed them into the text, the way it can be done with html. Does > revolution support such a thing? HTNL is one solution, but you are probably looking for "imagesource" > (Having trouble thinking of where to look this up in the docs.) Setting the "imagesource" of a char in a field, this char will be replaced with that image... Examples: set the imagesource of char 1 of fld 1 to 1003 ## the ID of an image set the imagesource of char 1 of fld 1 to "hotpix" ### name of an image set the imagesource of char 1 of fld 1 to "binfile:image.jpg" ## path to an imagefile set the imagesource of char 1 of fld 1 to "http://www.myserver.com/a_folder/an_image.gif" Hope that helps... > -- > Joel Rees, programmer, Systems Group > Altech Corporation (Alpsgiken), Osaka, Japan > http://www.alpsgiken.co.jp Sayonara Klaus Major klaus at major-k.de www.major-k.de From dvk at dvkconsult.com.au Fri Sep 5 06:54:00 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Sep 5 06:54:00 2003 Subject: The Directory Walker revisited In-Reply-To: <200309050648.CAA07635@www.runrev.com> Message-ID: On Friday, Sep 5, 2003, at 16:48 Australia/Brisbane, Dar Scott wrote: > > Permissions! Good work Dar. Thanks. I'll add the path test for future safety. regards David From steve at messimercomputing.com Fri Sep 5 07:43:04 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Fri Sep 5 07:43:04 2003 Subject: rev based installer Message-ID: Hi Anybody know if there is a rev-based installer for sale out there? Thanks 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 tuviah at runrev.com Fri Sep 5 07:53:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Fri Sep 5 07:53:01 2003 Subject: Externals References: <200309050648.CAA07677@www.runrev.com> Message-ID: <003701c373ab$eec95680$0100a8c0@user> >Thanks Dar, that is exactly the start I needed. I will be creating an >external for OS X, Linux, and Windows. When finished, I plan to submit it as >a user contribution for all to use. Again contact me offlist, so you can use the RevDB headers..so you don't have to reinvent the wheel and only have to implement those methods specific to your database. Going forward it's important that all database drivers using the same API, it enabled use to integrate database support into the language and develop tools like the query manager. The actual database driver becomes just that the middle man between Rev and the database, allowing platform and database independance. I would also be happy to help with this, I was planning to implement support for SQLite, but fixing bugs takes priority. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From xbury.cs at clearstream.com Fri Sep 5 07:55:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri Sep 5 07:55:01 2003 Subject: rev based installer Message-ID: what features are you looking for? ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 Stephen Messimer Sent by: use-revolution-admin at lists.runrev.com 05/09/03 14:37 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: rev based installer Hi Anybody know if there is a rev-based installer for sale out there? Thanks 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 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at tactilemedia.com Fri Sep 5 09:22:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Sep 5 09:22:00 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: Message-ID: >> I don't believe this is an issue. Rev loads a stack into memory before >> running, and it doesn't save anything to the drive until you tell it to do >> so. Thus if your stack was password protected on the drive, it will stay >> that way until you save it without a password. >> >> Also, keep in mind that setting a passkey allows you to edit scripts until >> the stack is closed; it does not remove the password from the stack. > Yes, all true but that was not my issue. > > Take 2. Is it possible to unlock the stack for the duration of a > given script only? In other words, is it possible to restore locked > state without closing the stack? I don't think so. I have tested a > number of options and can't seem to be able to relock the stack once > it is unlocked. > > The issue is that once the passkey is set, the scripts are no longer > protected. This means that a user may see what they may not be > supposed to see. Remember that password protecting the stack has been > advocated here not only to protect scripts but also sensitive data. > However, dynamic scripting usually requires unlocking the stack to > succeed. > > Since setting password to empty removes protection, a logical > extension would be that setting passkey to empty relocks the stack. I > have just entered this into bugzilla as a suggestion (#546). Are you planning to distribute a script editor with your stacks? Through what means can a user gain access to your scripts? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From FlexibleLearning at aol.com Fri Sep 5 11:21:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri Sep 5 11:21:00 2003 Subject: Launch in a new Browser window Message-ID: <57.21b016f8.2c8a1077@aol.com> Someone asked a while ago how to launch a URL in a new Browser window, rather than launch in the existing Browser window... If you are using Windows and the 'get shell("start" && tApp && quote & tURL & quote)' system, hold the SHIFT key down and the URL will open in a new window. /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 Fri Sep 5 11:25:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Sep 5 11:25:01 2003 Subject: correction: shutDownRequest HANDLER fails to work In-Reply-To: <200309051154.HAA17243@www.runrev.com> Message-ID: Thierry, I also tried putting the shutDownRequest handler in the main stack but it is ignored completely. I ran more tests last night and found that the only way the request is handled -past- the first time it is called is to make the stack that contains the menu (and the handler) the "main" stack in the distribution. I can't do this as this stack's data must remain modifiable. I'd be happy to send you the three stacks if you'd like to examine them. So far, I can see nothing that would be causing this problem. Could there be something in the way I have set up my menu? In other words: My main stack (where the engine is attached) and the secondary stack (a "sign-in" stack) have no menus. Only the third stack (the main one from the user's perspective) has been given a menu. The shutDownRequest handler is in that stack's stack script. It works the first time it is called but it is ignored the second time; that app just quits without the shutDownRequest handler executing. Barry On Friday, Sep 5, 2003, at 05:54 America/Denver, use-revolution-request at lists.runrev.com wrote: > Subject: Re: correction: shutDownRequest HANDLER fails to work > From: Thierry Arbellot > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Hi Barry, > > I use the shutdownRequest handler in my app (OSX 10.2.6, Rev since v > 2.0) and it does work fine every-time. > > I put the handler in the main stack, to be sure to intercept the Quit > command from any substack. From tuviah at runrev.com Fri Sep 5 11:47:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Fri Sep 5 11:47:01 2003 Subject: MySQL license and revolution Message-ID: <00ae01c373cc$b1d2ca10$0100a8c0@user> The MySQL database driver does not use the MySQL Connector drivers. So for those wondering whether you will have to pay a license fee you don't. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at shafermedia.com Fri Sep 5 12:10:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Fri Sep 5 12:10:01 2003 Subject: embedding graphics in text? Message-ID: <0286C836-DFC3-11D7-95A3-0030656FB5D4@shafermedia.com> Klaus Major offered a helpful idea to Joel Rees on how to embed graphics in a text field. I thought it might be helpful to mention: 1. You want to set the fixedLineHeight of the text field to false or you'll probably be unhappy at the result. 2. This method of embedding graphics in text has the same limitations that HTML 1.0 had: the image cannot be located relative to the surrounding text. Wrapping text around images is, as far as I can tell, impossible in Rev without using the htmlText property of a field (and I haven't fully tested that approach, for that matter). My belief so far -- and I'm eager and willing to be disabused of this notion -- is that if you want to embed rich media stuff in your Rev apps, you're almost certainly going to want to us an external tool and then stuff the result into a player object for display and/or manipulation. At least all my attempts to find clever Rev-only ways around this have proven futile so far. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From jacque at hyperactivesw.com Fri Sep 5 12:14:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Sep 5 12:14:00 2003 Subject: Encrypted stack doesn't behave properly - oops; yes it does. In-Reply-To: References: Message-ID: <3F58C2F3.6070801@hyperactivesw.com> On 9/5/03 4:35 AM, Robert Brenstein wrote: > The issue is that once the passkey is set, the scripts are no longer > protected. This means that a user may see what they may not be supposed > to see. Remember that password protecting the stack has been advocated > here not only to protect scripts but also sensitive data. However, > dynamic scripting usually requires unlocking the stack to succeed. I've never come across a situation where a protected stack didn't just work without a need to unlock it. I don't protect too many stacks though, so my experience may be limited. What are you trying to do that would require unlocking the stack? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revlist at cableone.net Fri Sep 5 12:25:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Fri Sep 5 12:25:00 2003 Subject: MySQL license and revolution In-Reply-To: <00ae01c373cc$b1d2ca10$0100a8c0@user> Message-ID: <000001c373d1$c8c66470$65fea8c0@chris1> So does this mean that we can use MySQL with Rev for free, even for commercial software? What about cases where users would have to install the server files on their servers? 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 Tuviah Snyder Sent: Friday, September 05, 2003 10:42 AM To: use-revolution at lists.runrev.com Subject: MySQL license and revolution The MySQL database driver does not use the MySQL Connector drivers. So for those wondering whether you will have to pay a license fee you don't. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at messimercomputing.com Fri Sep 5 12:54:02 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Fri Sep 5 12:54:02 2003 Subject: rev-based installer In-Reply-To: <200309051601.MAA22798@www.runrev.com> Message-ID: <256B6190-DFC9-11D7-9E7D-000A27D75508@messimercomputing.com> Basically, I want to be able to place a stack in the Rev plug-ins folder and two stacks in the Rev program folder. I've looked at commercial installers and they all seem pretty expensive, costs being based on the number of installs projected for a product. That is pretty much out of the question for me at this point. I was just hoping someone here on the list was building one. Steve > Message: 1 > From: xbury.cs at clearstream.com > To: use-revolution at lists.runrev.com > Subject: Re: rev based installer > Date: Fri, 5 Sep 2003 14:48:18 +0200 > Reply-To: use-revolution at lists.runrev.com > > This is a multipart message in MIME format. > --=_alternative 0046584FC1256D98_= > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > what features are you looking for? > Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available soon! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 From alex at mindlube.com Fri Sep 5 12:58:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 5 12:58:00 2003 Subject: MySQL license and revolution In-Reply-To: <000001c373d1$c8c66470$65fea8c0@chris1> Message-ID: On Friday, September 5, 2003, at 11:18 AM, Chris Sheffield wrote: > So does this mean that we can use MySQL with Rev for free, even for > commercial software?? What about cases where users would have to > install the server files on their servers? You should read this: http://www.mysql.com/products/licensing.html I am not a lawyer, but here is my understanding: If you are *distributing to others* MySQL server code or binaries, then you ARE required to pay. If you are just *using* the mysql server via client connections then you are NOT required to pay, even in commercial apps. If you GPL your software you are NEVER required to pay. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From revlist at cableone.net Fri Sep 5 13:04:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Fri Sep 5 13:04:01 2003 Subject: rev-based installer In-Reply-To: <256B6190-DFC9-11D7-9E7D-000A27D75508@messimercomputing.com> Message-ID: <000e01c373d7$48629910$65fea8c0@chris1> If you want to build an actual installer, and you're working on Windows, check out InnoSetup (www.innosetup.com). It's free and very powerful. If you're working on Mac OS X, you can use the built-in installer builder. If it's OS 9, you might be better off just creating your own with Rev. Hope that helps. 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 Stephen Messimer Sent: Friday, September 05, 2003 11:48 AM To: use-revolution at lists.runrev.com Subject: Re: rev-based installer Basically, I want to be able to place a stack in the Rev plug-ins folder and two stacks in the Rev program folder. I've looked at commercial installers and they all seem pretty expensive, costs being based on the number of installs projected for a product. That is pretty much out of the question for me at this point. I was just hoping someone here on the list was building one. Steve > Message: 1 > From: xbury.cs at clearstream.com > To: use-revolution at lists.runrev.com > Subject: Re: rev based installer > Date: Fri, 5 Sep 2003 14:48:18 +0200 > Reply-To: use-revolution at lists.runrev.com > > This is a multipart message in MIME format. > --=_alternative 0046584FC1256D98_= > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > what features are you looking for? > Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorToolsT -- Public Beta available soon! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at cableone.net Fri Sep 5 13:10:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Fri Sep 5 13:10:01 2003 Subject: MySQL license and revolution In-Reply-To: Message-ID: <000f01c373d8$2d33b740$65fea8c0@chris1> That is my understanding as well, so I was a little confused by Tuviah's post. Thanks for the info. 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 Alex Rice Sent: Friday, September 05, 2003 11:52 AM To: use-revolution at lists.runrev.com Subject: Re: MySQL license and revolution On Friday, September 5, 2003, at 11:18 AM, Chris Sheffield wrote: > So does this mean that we can use MySQL with Rev for free, even for > commercial software?? What about cases where users would have to > install the server files on their servers? You should read this: http://www.mysql.com/products/licensing.html I am not a lawyer, but here is my understanding: If you are *distributing to others* MySQL server code or binaries, then you ARE required to pay. If you are just *using* the mysql server via client connections then you are NOT required to pay, even in commercial apps. If you GPL your software you are NEVER required to pay. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Fri Sep 5 13:23:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 5 13:23:00 2003 Subject: rev-based installer In-Reply-To: <256B6190-DFC9-11D7-9E7D-000A27D75508@messimercomputing.com> Message-ID: <2BB9256D-DFCD-11D7-A4BC-000A9567A3E6@swcp.com> On Friday, September 5, 2003, at 11:48 AM, Stephen Messimer wrote: > I was just hoping someone here on the list was building one. If you need to build it yourself, think 'URL binfile' and custom property. I don't know what kind of ownership/permissions problems might come up. Dar From mcdomi at free.fr Fri Sep 5 13:33:01 2003 From: mcdomi at free.fr (Dom) Date: Fri Sep 5 13:33:01 2003 Subject: Rev to cannibalize MC ;-) In-Reply-To: <1g0t2d5.ewbm9b1nrgwosM%mcdomi@free.fr> Message-ID: <1g0tx5x.11dhhocg54a58M%mcdomi@free.fr> Dom wrote: > The extension being always "mc". I tempted to reproduce the so-called "bug"... Under OS X: 1- launch Rev (and open a Rev stack) You are in the development environment 2-open a MC stack => instead of MC, it is Revolution which is "in charge" of the MC stack MC is never launched... the opened MC stack appears under the "Window" menu in Rev 3- Do NOTHING but simply close the "MC" stack => the mc extension is not changed... nor the ICON BUT, upon examining under FileExaminer, one can see that type/crea is CHANGED from MSTK/MCRD to RSTK/Revo! So, if the ICON is not changed, certainly it's a Finder's fault ;-) OS 10.2.4 Rev 2.1 MC 2.5 -- From lafourcade.romain at numericable.fr Fri Sep 5 13:36:00 2003 From: lafourcade.romain at numericable.fr (Romain Lafourcade) Date: Fri Sep 5 13:36:00 2003 Subject: use-revolution digest, Vol 1 #1878 - 5 msgs In-Reply-To: <200309051601.MAA22814@www.runrev.com> Message-ID: Hello Revolutionaries ! I'm looking for informations on how to sell my 1st app as a Shareware. Could you please point me to some good directions ? Payment (Kagi ?), legal issues... Thanks. -- Romain Lafourcade http://perso.numericable.fr/lafourcade/ From efrericks at imaginatics.com Fri Sep 5 13:45:00 2003 From: efrericks at imaginatics.com (Eric Frericks) Date: Fri Sep 5 13:45:00 2003 Subject: rev-based installer Message-ID: Im assuming this is for Mac because of the mention of a per install cost. 4-D offers crossplatform installer,at least they were a year ago. If I remember correctly, it was a yearly licensing fee. Just a suggestion -----Original Message----- From: Stephen Messimer [mailto:steve at messimercomputing.com] Sent: Friday, September 05, 2003 12:48 PM To: use-revolution at lists.runrev.com Subject: Re: rev-based installer Basically, I want to be able to place a stack in the Rev plug-ins folder and two stacks in the Rev program folder. I've looked at commercial installers and they all seem pretty expensive, costs being based on the number of installs projected for a product. That is pretty much out of the question for me at this point. I was just hoping someone here on the list was building one. Steve > Message: 1 > From: xbury.cs at clearstream.com > To: use-revolution at lists.runrev.com > Subject: Re: rev based installer > Date: Fri, 5 Sep 2003 14:48:18 +0200 > Reply-To: use-revolution at lists.runrev.com > > This is a multipart message in MIME format. > --=_alternative 0046584FC1256D98_= > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > what features are you looking for? > Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available soon! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Sep 5 13:46:50 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 5 13:46:50 2003 Subject: Rev to cannibalize MC ;-) In-Reply-To: <1g0tx5x.11dhhocg54a58M%mcdomi@free.fr> Message-ID: Dom wrote: > Under OS X: > > 1- launch Rev (and open a Rev stack) > You are in the development environment > > 2-open a MC stack > => instead of MC, it is Revolution which is "in charge" of the MC stack > MC is never launched... the opened MC stack appears under the "Window" > menu in Rev > > 3- Do NOTHING but simply close the "MC" stack > => the mc extension is not changed... nor the ICON > BUT, upon examining under FileExaminer, one can see that type/crea is > CHANGED from MSTK/MCRD to RSTK/Revo! > So, if the ICON is not changed, certainly it's a Finder's fault ;-) > > OS 10.2.4 > Rev 2.1 > MC 2.5 Good report, but this is not Bugzilla. Rev's Bugzilla is located 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 alex at mindlube.com Fri Sep 5 13:55:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 5 13:55:01 2003 Subject: 1st app as a Shareware In-Reply-To: Message-ID: On Friday, September 5, 2003, at 12:32 PM, Romain Lafourcade wrote: > Hello Revolutionaries ! > > I'm looking for informations on how to sell my 1st app as a Shareware. > > Could you please point me to some good directions ? > > Payment (Kagi ?), legal issues... Here are some starters. Good luck! http://www.dexterity.com/articles/ (it says "for game developers" but it's helpful for any developer) https://www.paypal.com/ http://www.esellerate.net/ http://www.innosetup.com/ download.com, tucows.com, etc. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Fri Sep 5 13:59:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 5 13:59:00 2003 Subject: rev-based installer In-Reply-To: Message-ID: Stephen Messimer wrote: > Basically, I want to be able to place a stack in the Rev plug-ins > folder and two stacks in the Rev program folder. I've looked at > commercial installers and they all seem pretty expensive, costs being > based on the number of installs projected for a product. That is pretty > much out of the question for me at this point. Only Mac installer vendors punish you like that (part of the "Mac tax", the hidden cost of choosing a more secure OS). Windows installer products, even those from vendors who also sell Mac installers, pretty much all just have a one-time cost without consideration for the number of products you ship. But in your case using even InstallerVise, nice as it is, seems overkill. Using binfile to tuck your stack files into custom props is simple and smaller, since you already have the Rev engine running, and you can get the paths to the locations you need in Transcript. You could make the deliverable even smaller by run your embedded stackfile data through the compress function. I've had stack files reduced by at least half, and sometimes to one-sixth of the original size. RevNet uses compressed stacks for everything except the GoRevNet plugin that accesses 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 alex at mindlube.com Fri Sep 5 14:07:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 5 14:07:01 2003 Subject: 1st app as a Shareware In-Reply-To: Message-ID: <5283C23F-DFD3-11D7-B50A-000393529642@mindlube.com> The Do's and Don'ts of Shareware (3 part) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From tuviah at runrev.com Fri Sep 5 14:17:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Fri Sep 5 14:17:01 2003 Subject: MySQL license and revolution References: <200309051757.NAA29555@www.runrev.com> Message-ID: <00e101c373e1$93adc2a0$0100a8c0@user> Right. >You should read this: >http://www.mysql.com/products/licensing.html >I am not a lawyer, but here is my understanding: >If you are *distributing to others* MySQL server code or binaries, then >you ARE required to pay. >If you are just *using* the mysql server via client connections then >you are NOT required to pay, even in commercial apps. >If you GPL your software you are NEVER required to pay. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From alex at mindlube.com Fri Sep 5 14:19:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 5 14:19:01 2003 Subject: MySQL license and revolution In-Reply-To: <000f01c373d8$2d33b740$65fea8c0@chris1> Message-ID: <06026B48-DFD5-11D7-B50A-000393529642@mindlube.com> On Friday, September 5, 2003, at 12:04 PM, Chris Sheffield wrote: > That is my understanding as well, so I was a little confused by > Tuviah's > post. Thanks for the info. I think he may been referring to some other commercial tool, ODBC+JDBC libs?, that Mysql sells as "Connector". Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From wouter.abraham at pi.be Fri Sep 5 14:21:01 2003 From: wouter.abraham at pi.be (Wouter) Date: Fri Sep 5 14:21:01 2003 Subject: The Directory Walker revisited In-Reply-To: <200309050648.CAA07710@www.runrev.com> Message-ID: Hi, As I already unintentionally treaded some toes in this thread, please put on the metal tipped safety shoes for the following, because now I am puzzled... On Friday, Sep 5, 2003, at 08:48 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 9 > Date: Thu, 4 Sep 2003 23:15:53 -0700 > Subject: Re: The Directory Walker revisited > From: Geoff Canyon > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > On Tuesday, September 2, 2003, at 01:59 AM, wouter wrote: > >> That is true but the amount of recursion is not equal to the depth of >> the directories. >> It is equal to the total amount of directories. And this number can >> easily surpass 1000. > > Again, sorry for the delayed response, but I just realized that the > recursive code behind this conversation is mine, and I feel the need to > defend my code ;-) Please do :-) > > The above isn't correct; Following are the puzzling lines: > the recursion involved only reaches the depth > of the directory structure. So if your folders are nested twenty deep, > the greatest recursion depth will be twenty as well. It doesn't matter > how "wide" the directory structure is, just how deep. I hope this is your code (anyway the recursive ones kind of all boil down to this): on directoryWalk whatFolder set the defaultFolder to whatFolder put the files into temp repeat for each line x in temp put whatFolder & "/" & x & return after gHierList end repeat #### here it gets a list of directories in the whatFolder directory put the folders into tDirList #### and here it starts recursing for each line in the tDirlist #### and does the same for each recursion repeat with x = 2 to the number of lines of tDirList directoryWalk (whatFolder & "/" & (line x of tDirList)) end repeat end directoryWalk So can you enlighten me on the following; > So if your folders are nested twenty deep, the greatest recursion > depth will be twenty as well. I can see that the "depth" attained will be equal to twenty in this case. > It doesn't matter how "wide" the directory structure is, just how deep. But as far as I can see the total amount of recursions to attain this depth will be far greater than 20, because it recurses on every folder it encounters on its quest to the deepsest level. To me this means that wideness in this handler does matter. May be the problem is only in the terminology. . . snip > The problem here isn't with recursion. The setting/getting of > directories, or maybe the overall data size, is involved as well. It seems kind of a weird to me to take the problem off the recursion as it is exactly the use of recursive handlers that bumps into this problem. That "The setting/getting of directories, or maybe the overall data size, is involved as well" would be a limiting factor is not certain, because of 2 different tests that showed me the contrary. The first test was running the directoryWalker with a counter. The other test was only recursing with a counter and nothing else. The only data moved around here was the counter itself. The recursive directoryWalker bumped into the recursionLimit at count 1355 and the simple pure recursing one at count 578 (and I repeated this tests several times with the same outcome. But I realize that mileage can/will differ on other computers/platforms as your tests showed a different result) On my computer this tests indicated that the manipulation of more data and directory settings/gettings actually augmented the count. > I ran a test without using actual directories, instead just > generating fake > ones. I've run tests that went as deep as 131 levels of recursion, 8308 > directory and file entries, and an output of 1,243,170 bytes, without a > problem. > > In a pure recursive method I went to a depth of 600 without problem. I only wanted to point out that recursive handlers can bump into the recursionLimit (and they do in certain cases) and thereby are not fit for certain jobs. But the entanglement with the folders/directories handlers complicated the problem proposed (and for sure also the fact that I am not a professional programmer and as such mostly don't wield the correct terminology. And I am not the only one (comforting thought)) > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com Hoping not to have mashed toes, greetings and thanx to all that participated in this thread, Yours puzzling, WA From tuviah at runrev.com Fri Sep 5 14:22:30 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Fri Sep 5 14:22:30 2003 Subject: MySQL license and revolution References: <200309051757.NAA29555@www.runrev.com> Message-ID: <00e501c373e2$2d8af370$0100a8c0@user> It says: >If you include one of the MySQL drivers in your non Open Source application (so that your application can run with >MySQL), you need a commercial licence for the driver(s) in question. The MySQL drivers currently include an >ODBC driver, a JDBC driver and the C language library. So will we have to remove the libmysql.dll driver from the Revolution distribution? The revdb database driver just links to this library at runtime. I thought MySQL was open source, doesn't sound open and free to me. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From wouter.abraham at pi.be Fri Sep 5 14:24:02 2003 From: wouter.abraham at pi.be (Wouter) Date: Fri Sep 5 14:24:02 2003 Subject: The Directory Walker revisited In-Reply-To: <200309050648.CAA07710@www.runrev.com> Message-ID: <5E01610C-DFD5-11D7-A361-003065CC999E@pi.be> Hi, As I already unintentionally treaded some toes in this thread, please put on the metal tipped safety shoes for the following, because now I am puzzled... On Friday, Sep 5, 2003, at 08:48 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 9 > Date: Thu, 4 Sep 2003 23:15:53 -0700 > Subject: Re: The Directory Walker revisited > From: Geoff Canyon > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > On Tuesday, September 2, 2003, at 01:59 AM, wouter wrote: > >> That is true but the amount of recursion is not equal to the depth of >> the directories. >> It is equal to the total amount of directories. And this number can >> easily surpass 1000. > > Again, sorry for the delayed response, but I just realized that the > recursive code behind this conversation is mine, and I feel the need to > defend my code ;-) Please do :-) > > The above isn't correct; Following are the puzzling lines: > the recursion involved only reaches the depth > of the directory structure. So if your folders are nested twenty deep, > the greatest recursion depth will be twenty as well. It doesn't matter > how "wide" the directory structure is, just how deep. I hope this is your code (anyway the recursive ones kind of all boil down to this): on directoryWalk whatFolder set the defaultFolder to whatFolder put the files into temp repeat for each line x in temp put whatFolder & "/" & x & return after gHierList end repeat #### here it gets a list of directories in the whatFolder directory put the folders into tDirList #### and here it starts recursing for each line in the tDirlist #### and does the same for each recursion repeat with x = 2 to the number of lines of tDirList directoryWalk (whatFolder & "/" & (line x of tDirList)) end repeat end directoryWalk So can you enlighten me on the following; > So if your folders are nested twenty deep, the greatest recursion > depth will be twenty as well. I can see that the "depth" attained will be equal to twenty in this case. > It doesn't matter how "wide" the directory structure is, just how deep. But as far as I can see the total amount of recursions to attain this depth will be far greater than 20, because it recurses on every folder it encounters on its quest to the deepsest level. To me this means that wideness in this handler does matter. May be the problem is only in the terminology. . . snip > The problem here isn't with recursion. The setting/getting of > directories, or maybe the overall data size, is involved as well. It seems kind of a weird to me to take the problem off the recursion as it is exactly the use of recursive handlers that bumps into this problem. That "The setting/getting of directories, or maybe the overall data size, is involved as well" would be a limiting factor is not certain, because of 2 different tests that showed me the contrary. The first test was running the directoryWalker with a counter. The other test was only recursing with a counter and nothing else. The only data moved around here was the counter itself. The recursive directoryWalker bumped into the recursionLimit at count 1355 and the simple pure recursing one at count 578 (and I repeated this tests several times with the same outcome. But I realize that mileage can/will differ on other computers/platforms as your tests showed a different result) On my computer this tests indicated that the manipulation of more data and directory settings/gettings actually augmented the count. > I ran a test without using actual directories, instead just > generating fake > ones. I've run tests that went as deep as 131 levels of recursion, 8308 > directory and file entries, and an output of 1,243,170 bytes, without a > problem. > > In a pure recursive method I went to a depth of 600 without problem. I only wanted to point out that recursive handlers can bump into the recursionLimit (and they do in certain cases) and thereby are not fit for certain jobs. But the entanglement with the folders/directories handlers complicated the problem proposed (and for sure also the fact that I am not a professional programmer and as such mostly don't wield the correct terminology. And I am not the only one (comforting thought)) > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com Hoping not to have mashed toes, greetings and thanx to all that participated in this thread, Yours puzzling, WA From dsc at swcp.com Fri Sep 5 14:41:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 5 14:41:01 2003 Subject: The Directory Walker revisited In-Reply-To: Message-ID: <02C5E4A2-DFD8-11D7-A4BC-000A9567A3E6@swcp.com> On Friday, September 5, 2003, at 01:20 PM, Wouter wrote: >> It doesn't matter how "wide" the directory structure is, just how >> deep. > > But as far as I can see the total amount of recursions to attain this > depth will be far greater than 20, because it recurses on every folder > it encounters on its quest to the deepsest level. To me this means > that wideness in this handler does matter. > May be the problem is only in the terminology. Yes the problem may be terminology. Though the use of a repeat loop does add a little to the stack, the number of repetitions do not. (Not in Revolution, it might in other environments.) Dar From FlexibleLearning at aol.com Fri Sep 5 14:42:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri Sep 5 14:42:00 2003 Subject: correction: shutDownRequest HANDLER fails to work Message-ID: <9b.3d861637.2c8a3f85@aol.com> [snip]The > shutDownRequest handler is in that stack's stack script. It works > the > first time it is called but it is ignored the second time; that app just > quite > without the shutDownRequest handler executing. Barry, have you tried putting the shutdownRequest handler in the frontScript? It may be that, as in the case of closeStackRequest, shutdownRequest is only actioned when the closeBox is actioned. If so, trap on final stack closure. hth /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 byront at mac.com Fri Sep 5 14:43:01 2003 From: byront at mac.com (Byron Turner) Date: Fri Sep 5 14:43:01 2003 Subject: path names to CD across platforms Message-ID: <42E07C39-DFD8-11D7-A3A1-000A95A088D2@mac.com> Forgive me if this gets posted twice, the first was held up and this is urgent. How would I compensate for the differences in file path names when deploying to OS 9, OS X and Windows? For example a movie resides on a CD . . how do we have one app that can be built for multiple platforms that can find the file regardless? Thanks, Byron From rgmiller at pacbell.net Fri Sep 5 14:47:01 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Fri Sep 5 14:47:01 2003 Subject: OT--Who's On First/21st Century References: <200309051154.HAA17229@www.runrev.com> Message-ID: <3F58E6F2.2000905@pacbell.net> From: Ken Norris > You folks have to read this. I fell off my seat twice laughing. Gets funnier > everytime I read it. Got it from the MacMin list: > > Abbott & Costello take on the 21st century and > computers......... > Good stuff, Ken. 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 alex at mindlube.com Fri Sep 5 14:49:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 5 14:49:01 2003 Subject: MySQL license and revolution In-Reply-To: <00e501c373e2$2d8af370$0100a8c0@user> Message-ID: <1893D4CF-DFD9-11D7-B50A-000393529642@mindlube.com> On Friday, September 5, 2003, at 01:15 PM, Tuviah Snyder wrote: > > So will we have to remove the libmysql.dll driver from the Revolution > distribution? I hope not! I doubt it- Rev is a vehicle for them to get more MySQL users so I think they wouldn't bother you. That is a guess though. > I thought MySQL was open source, doesn't sound open and free to me. Mysql actually started out as 100% commercial software, however the source code was always freely available. Wasn't until '98 or '99 (?) they they went to the dual licensing with GPL or Commercial. There was an interesting article recently about the BSD licensing used by PostgreSQL Inc. (pgsql.com) Their strategy is to develop software and market it commercially for a 24 month period. After that, they release it under a BSD license, which is wide-open for even for competing commercial usages. Most recent example being a DB Replication Server. I wish I could find that article URL. Maybe it was just a press release. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From scott at tactilemedia.com Fri Sep 5 15:10:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Sep 5 15:10:00 2003 Subject: [OT] More Parody Message-ID: > check out this fun Mac ad parody: > http://www.waveworks.net/mac.html On a related note: http://www.i-view.net/parody/switched.mov (Note: 3.3MB) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Fri Sep 5 15:13:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 5 15:13:01 2003 Subject: MySQL license and revolution In-Reply-To: <00e501c373e2$2d8af370$0100a8c0@user> Message-ID: Tuviah Snyder wrote: > It says: > >> If you include one of the MySQL drivers in your non Open Source application > (so that your application can run with >MySQL), you need a commercial > licence for the driver(s) in question. The MySQL drivers currently include > an >ODBC driver, a JDBC driver and the C language library. > So will we have to remove the libmysql.dll driver from the Revolution > distribution? The revdb database driver just links to this library at > runtime. > > I thought MySQL was open source, doesn't sound open and free to me. There's the insideous seduction of the GPL: you can us free stuff only in free stuff. It becomes commercial stuff when used in commercial stuff. That's why the BSD license is considered more "business friendly", and why Raymond and Stallman don't get along. ;) I've been thinking of releasing components under GPL specifically for that reason: they gain noteriety but pose no commercial threat, at least until someone comes along with enough money to be able to afford building something with it on uncompensated time. The irony of GPL is that it can unfairly favor the wealthy: common workers need to eat and pay rent, leaving only those with sufficient wealth for significant leisure projects able to work on GPL stuff. Once this wealth is applied to an application category, "free" can have the same effect as the antitrust violation of "dumping", driving working people out of the market leaving only the product driven by unrelated wealth. Sorry Mr. Stallman, but that's what happens in a "gift economy" when programmers are the only ones gifting while landlords and grocers still expect to be paid. ;) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From thierry.arbellot at wanadoo.fr Fri Sep 5 15:16:01 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Fri Sep 5 15:16:01 2003 Subject: correction: shutDownRequest HANDLER fails to work In-Reply-To: Message-ID: you can try the following: Create one shutdownRequest handler in the substack and another in the main stack. Change the answer message to know which handler is run. The first time you try to quit, the handler in the substack is run, but from the 2nd time, the handler in the main stack is run. Hope it helps. Thierry. On Friday, September 5, 2003, at 06:19 PM, Barry Levine wrote: > Thierry, > > I also tried putting the shutDownRequest handler in the main stack but > it is ignored completely. I ran more tests last night and found that > the only way the request is handled -past- the first time it is called > is to make the stack that contains the menu (and the handler) the > "main" stack in the distribution. I can't do this as this stack's data > must remain modifiable. > > I'd be happy to send you the three stacks if you'd like to examine > them. So far, I can see nothing that would be causing this problem. > Could there be something in the way I have set up my menu? In other > words: My main stack (where the engine is attached) and the secondary > stack (a "sign-in" stack) have no menus. Only the third stack (the > main one from the user's perspective) has been given a menu. The > shutDownRequest handler is in that stack's stack script. It works the > first time it is called but it is ignored the second time; that app > just quits without the shutDownRequest handler executing. > > Barry > > On Friday, Sep 5, 2003, at 05:54 America/Denver, > use-revolution-request at lists.runrev.com wrote: > >> Subject: Re: correction: shutDownRequest HANDLER fails to work >> From: Thierry Arbellot >> To: use-revolution at lists.runrev.com >> Reply-To: use-revolution at lists.runrev.com >> >> Hi Barry, >> >> I use the shutdownRequest handler in my app (OSX 10.2.6, Rev since v >> 2.0) and it does work fine every-time. >> >> I put the handler in the main stack, to be sure to intercept the Quit >> command from any substack. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From graham.samuel at wanadoo.fr Fri Sep 5 15:16:10 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Fri Sep 5 15:16:10 2003 Subject: Radio buttons as indicator lights Message-ID: <5.2.1.1.0.20030905204534.00c4bed0@pop.wanadoo.fr> On Fri, 05 Sep 2003 01:57:22 -0400, Ken Norris wrote: >Hi Graham, > >Just so you know, there are two Ken's actively on this list. Ken Ray's the >pro, but I'm getting better at getting around Rev. Yes, in fact I do know - Ken Ray has been giving me excellent advice since my SuperCard days... >[...] >Alternative solution: > >In the multi-line msg box, write a script to change all your buttons to >style "round", set the hiliteColor to your choice, and give them all a >family number, probably "1" (see the "family" keyword in the Transcript >Dictionary). > >NOW, you can put a noop grc over the top of all of them to intercept mouse >clicks, thus blocking the user from clicking them. > >This family of buttons will take on radioBehavior characteristics, i.e., you >can only set the hilite of one at a time, even by script, thus: > >set the hilite of button x to true > >...will set the hilite of _only_ that button to true, meaning whatever the >hiliteColor of that button is will show that color while all the rest are >blank (clear). > >I made a little stack with 30 of these things (all of them green, but they >could each have been a different color, any of 256 colors) in it that >lighted randomly. Reminded me of those TV depictions of computers back in >the '50's. Now I just need to add wierd little sounds to complete the >effect. That's really cool, Ken! I didn't know about 'family' (you can't set it using the property inspector, so it's hard to see how anyone would find out about it). I will have a lot of families, I guess, but the feature is worth using. No idea why it goes with backgroundBehavior - I can imagine this could be a showstopper in some situations, tho' not the one I'm working on. I'm sure I could provide you with a whole repertoire of wierd little sounds... Back to the grindstone. Thanks Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From alex at mindlube.com Fri Sep 5 15:36:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 5 15:36:00 2003 Subject: MySQL license and revolution In-Reply-To: Message-ID: On Friday, September 5, 2003, at 02:05 PM, Richard Gaskin wrote: > Sorry Mr. Stallman, but that's what happens in a "gift economy" when > programmers are the only ones gifting while landlords and grocers still > expect to be paid. ;) Stallman is a trip. I saw him speak at the University here and he claimed that O'Reilly (the book publisher) was "parasitic" because they publish a lot of titles about Open Source software. Socialism, meet Capitalism. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Fri Sep 5 15:36:26 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 5 15:36:26 2003 Subject: Radio buttons as indicator lights In-Reply-To: <5.2.1.1.0.20030905204534.00c4bed0@pop.wanadoo.fr> Message-ID: <01e301c373ec$80b6de10$6501a8c0@LightningFlash> > >Just so you know, there are two Ken's actively on this list. > Ken Ray's > >the pro, but I'm getting better at getting around Rev. > > Yes, in fact I do know - Ken Ray has been giving me excellent > advice since > my SuperCard days... Aw, shucks... (blush) :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From derekbronston at earthlink.net Fri Sep 5 15:38:01 2003 From: derekbronston at earthlink.net (derek bronston) Date: Fri Sep 5 15:38:01 2003 Subject: play an mp3? In-Reply-To: Message-ID: <2C1633C6-DFB5-11D7-A47A-0030657FA6E8@earthlink.net> I tried this: set the filename of player "My Player" to "anyways.mp3" start player "My Player" am i missing something? On Friday, September 5, 2003, at 03:01 AM, Klaus Major wrote: > Hi Derek, > >> I see how to play an AIFF or wav file , but how can i play an MP3 or >> AAC file?, >> i keep getting an awful static sound? >> >> thanks >> derek > > Please read this (again ;-): > >> Am Mittwoch, 03.09.03 um 11:53 Uhr schrieb Klaus Major: >>> Hi Derek, >>> >>> The "play ac xxx" command will only play these formats: > > !!! > >>> AIF and WAV, both uncompressed!!! >>> And the AU format.... >>> >>> All other sound-formats will have to be placed into a player-object, > > Use a player! > > Create a player-object, set its filename to your MP3 and just play it > :-) > > Like: > ... > start player "harold" > ... > stop player "harold" > ... > etc... > >>> which actually gives you much more control about the playback... >>> >>> Hope that helps... > > Regards (again ;-) > > 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 byront at mac.com Fri Sep 5 15:38:14 2003 From: byront at mac.com (Byron Turner) Date: Fri Sep 5 15:38:14 2003 Subject: path name issue for deploying for mac and pc on CD Message-ID: <83AF145A-DFD7-11D7-A3A1-000A95A088D2@mac.com> How would I compensate for the differences in file path names when deploying to OS 9, OS X and Windows? For example a movie resides on a CD . . how do we have one app that can be built for multiple platforms that can find the file regardless? From lafourcade.romain at numericable.fr Fri Sep 5 15:49:02 2003 From: lafourcade.romain at numericable.fr (Romain Lafourcade) Date: Fri Sep 5 15:49:02 2003 Subject: 1st app as a shareware In-Reply-To: <200309051911.PAA02757@www.runrev.com> Message-ID: Thank you Alex, it wil help me for sure... -- Romain Lafourcade http://perso.numericable.fr/lafourcade/ From capellan2000 at yahoo.com Fri Sep 5 15:54:01 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri Sep 5 15:54:01 2003 Subject: [ANN] Graphic_Tools_v01beta Message-ID: <20030905204722.54322.qmail@web40507.mail.yahoo.com> Hi Developers: Download the file: http://www.geocities.com/capellan2000/Graphic_Tools_v01beta.zip This stack shows how to edit a polygon graphic with diverse tools. Notice, this is a Beta, so expect some rough edges... ;) The only tool that I want that you check is Convert shape. It looks like this: /\ I think this is the shape of the convert point tool of Adobe Ilustrator. This tool lets you change the shape of a line segment between 2 selected points of a polygon graphic. In fact, what you are doing is replacing the points between with the points of the line that you just created. To reshape a polygon graphic: 1- Select the Convert Shape tool ( /\ ) 2- Click on the first point of the Polygon graphic. It's better if you have selected before the polygon graphic and had checked the button "Show Markers". In that way, the marker points will be already visible... Notice, if you checked the button "Audible Feedback" (Beep) then you will hear a beep ONLY if you clicked on a marker point of the polygon graphic. 3- Click the second point of the polygon and 2 GREEN dots, 2 RED dots under them and a line appears over the two points that you CLICKED before... 4- Move the green dots to reshape the bezier line and when you are done... DOUBLECLICK one of the green dots. Not clicking the red dots or the line, please. Notice, NO ERROR HANDLING. Any error or deviation on this steps will produce errors without any doubts... :(( 5- The Red Dots, Green dots and the line dissapear, (go back to the left corner) and the segment takes the shape of the line. Comments and fixes are welcome, as always. Later I'll comment over the other tools, but you'll read the code and test your guessings powers too!!! ;)) Thanks in advance. 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 klaus at major-k.de Fri Sep 5 16:00:00 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 5 16:00:00 2003 Subject: play an mp3? In-Reply-To: <2C1633C6-DFB5-11D7-A47A-0030657FA6E8@earthlink.net> Message-ID: <152A50A6-DFE3-11D7-8C98-000A27B49A96@major-k.de> Hi Derek, > I tried this: > > set the filename of player "My Player" to "anyways.mp3" > start player "My Player" > > am i missing something? your script will only work if the mp3 is in the current directory... type this into the message box and hit enter: answer file "Please choose a mp3 file:"; set the filename of player "My Player" to it This will let you select a file and sets the filename to the absolute path to your mp3. Now the filename is set and "start player My Player" should work... Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Fri Sep 5 16:14:00 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 5 16:14:00 2003 Subject: path name issue for deploying for mac and pc on CD In-Reply-To: <83AF145A-DFD7-11D7-A3A1-000A95A088D2@mac.com> Message-ID: <05B2135A-DFE5-11D7-8C98-000A27B49A96@major-k.de> Hi Byron, > How would I compensate for the differences in file path names when > deploying to > OS 9, OS X and Windows? For example a movie resides on a CD . . how > do we > have one app that can be built for multiple platforms that can find > the file regardless? Short question: will the app also be on the cd? Or on the users hd? Regards Klaus Major klaus at major-k.de www.major-k.de From dan at clearvisiontech.com Fri Sep 5 16:52:00 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri Sep 5 16:52:00 2003 Subject: path names to CD across platforms In-Reply-To: <200309051911.PAA02721@www.runrev.com> Message-ID: Byron, Try this... (This assumes that you pass a movie path without the drive name/letter, and the CD (for the Mac) is named "myCDROM")... put getMoviePath("datafiles/movies/movie001.mov") into mPath function getMoviePath fileName if the platform = "MacOS" then if there is a file ("myCDROM/" & fileName) then return ("myCDROM/" & fileName) end if else if there is a file ("D:/" & fileName) then return ("D:/" & fileName) else if there is a file ("E:/" & fileName) then --just incase they mapped the CD drive to "E" return ("E:/" & fileName) end if end if -- you might put some kind of warning or error -- routine here. Probably don't want to continue -- if the movie was not found return false end getMoviePath There's probably a better way to do this, but it should work (I didn't test it!). Hope it helps, Dan > Message: 10 > Date: Fri, 5 Sep 2003 12:36:35 -0700 > Subject: path names to CD across platforms > From: Byron Turner > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Forgive me if this gets posted twice, the first was held up and this is > urgent. How would I compensate for the differences in file path names > when deploying to OS 9, OS X and Windows? For example a movie resides > on a CD . . how do we have one app that can be built for multiple > platforms that can find the file regardless? > > Thanks, > > Byron From steve at nexpath.com Fri Sep 5 17:39:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Fri Sep 5 17:39:01 2003 Subject: MySQL license and revolution In-Reply-To: <1893D4CF-DFD9-11D7-B50A-000393529642@mindlube.com> References: <1893D4CF-DFD9-11D7-B50A-000393529642@mindlube.com> Message-ID: <3F591137.5080203@nexpath.com> Alex Rice wrote: > There was an interesting article recently about the BSD licensing used > by PostgreSQL Inc. (pgsql.com) Their strategy is to develop software and > market it commercially for a 24 month period. After that, they release > it under a BSD license, which is wide-open for even for competing > commercial usages. Most recent example being a DB Replication Server. I > wish I could find that article URL. Maybe it was just a press release. I am a big fan of postgresql for other reasons, it is a far more sophisitcated database. I am an old SQL hack from big Unix days, and I could not suffer under mySQL's simple implementation. It may have gotten better in the last few years, but I think postgres has moved forward too. If you want referential integrity, inner and outer joins, etc, postgres is the ticket. I think mySQL has caught on for people with only causual familiarity with SQL, and is a little simpler to setup and understand. SQL can be a goofy language to get used to, that's for sure. -Steve From monte at sweattechnologies.com Fri Sep 5 17:46:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 5 17:46:00 2003 Subject: MySQL license and revolution In-Reply-To: <00e501c373e2$2d8af370$0100a8c0@user> Message-ID: > It says: > > >If you include one of the MySQL drivers in your non Open Source > application > (so that your application can run with >MySQL), you need a commercial > licence for the driver(s) in question. The MySQL drivers currently include > an >ODBC driver, a JDBC driver and the C language library. > So will we have to remove the libmysql.dll driver from the Revolution > distribution? The revdb database driver just links to this library at > runtime. > > I thought MySQL was open source, doesn't sound open and free to me. > You could always make the database drivers open source under LGPL and separate downloads from your site. As long as revdb is closed source I'm sure it wouldn't harm you commercially now that database restrictions aren't part of your licensing policy, while it might help to provide an example for other database drivers to be developed. Cheers Monte From alex at mindlube.com Fri Sep 5 18:15:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 5 18:15:00 2003 Subject: MySQL license and revolution In-Reply-To: <3F591137.5080203@nexpath.com> Message-ID: On Friday, September 5, 2003, at 04:41 PM, Steve Gehlbach wrote: > I am a big fan of postgresql for other reasons, it is a far more > sophisitcated database. I am an old SQL hack from big Unix days, and > I could not suffer under mySQL's simple implementation. It may have > gotten better in the last few years, but I think postgres has moved > forward too. If you want referential integrity, inner and outer > joins, etc, postgres is the ticket. I think mySQL has caught on for > people with only causual familiarity with SQL, and is a little simpler > to setup and understand. SQL can be a goofy language to get used to, > that's for sure. Yep- mention "foreign key" to a MySQL user and get a blank stare back :-) Not a snub: myself I learned SQL on MySQL. I've since done some mapping work with PostGIS, the spatial extension to PostgreSQL. As well as being a good SQL db, Pgsql is object-relational and extensible. Thanks for the PostgreSQL db drivers, Runrev! Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From revolution at knowledgeworks.plus.com Fri Sep 5 18:18:01 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Fri Sep 5 18:18:01 2003 Subject: MySQL license and revolution Message-ID: <20030906001141.knowledgeworks@Plus.Net> >> I thought MySQL was open source, doesn't sound open and free to me. [snip] >Sorry Mr. Stallman, but that's what happens in a "gift economy" when >programmers are the only ones gifting while landlords and grocers still >expect to be paid. ;) MySQL is open source and free, but it is just that the position of the free software movement is more complex than it appears. Stallman is more interested in the idea that software is free as in "unchained" ('free speech' not 'free beer'), and Stallman is not even opposed to people charging money for "fred" software: "'Free software' does not mean 'non-commercial'. A free program must be available for commercial use, commercial development, and commercial distribution." (http://www.gnu.org/philosophy/free-sw.html) "Actually we encourage people who redistribute free software to charge as much as they wish or can. " (http://www.gnu.ai.mit.edu/philosophy/selling.html) "Except for one special situation, the GNU General Public License (20k characters) (GNU GPL) has no requirements about how much you can charge for distributing a copy of free software. You can charge nothing, a penny, a dollar, or a billion dollars. " (http://www.gnu.org/philosophy/selling.html) I don't believe he is contradictory. His position is quite subtle. And I'm sure that a programmer of his massive ability with a different philosophical position would be massively richer than Stallman. Some Linux people object to calling it "GNU/Linux", but there is quite a strong case for him and his project being given that credit. This is the position followed by Debian, one of the most highly-respected GNU/Linux distributions. Regards, Bernard From revolution at knowledgeworks.plus.com Fri Sep 5 18:42:00 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Fri Sep 5 18:42:00 2003 Subject: MySQL license and revolution Message-ID: <20030906003528.knowledgeworks@Plus.Net> >I am a big fan of postgresql for other reasons, it is a far more >sophisitcated database. I am an old SQL hack from big Unix days, and I >could not suffer under mySQL's simple implementation. It may have >gotten better in the last few years, but I think postgres has moved >forward too. If you want referential integrity, inner and outer joins, >etc, postgres is the ticket. ... and indeed there is an other great open-source relational database - Firebird. It has a history going back to mainframes, yet a tiny footprint and requires virtually no maintenance, and is (pound for pound) as SQL-92 compliant as PostgreSQL. It is available for Win32, Linux, Mac OSX, Darwin, FreeBSD, HPUX, Solaris, AIX (and WinCE, but it looks like there was not much interest in that!) (Perfect for Revolution apps, indeed in it's former life Firebird was often distributed as the database 'embedded' in standalone applications.) There are a massive range of tools around for working with it (both "free as in beer" and commercial). Firebird is not distributed under the GPL, but under the Interbase Public License (http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_ipl). Use and distribution of the Firebird RDBMS is royalty-free according to the license, and any larger work in which it is incorporated does NOT itself fall under the IPL. About a year ago I suggested on this forum that Runrev look into providing closer integration with Firebird but nothing much came of my suggestion. Firebird is the open-source version of Interbase, maintained and developed by Borland. Interbase is still available for purchase, which may be useful in some circumstances. Regards, Bernard. From steve at nexpath.com Fri Sep 5 18:44:00 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Fri Sep 5 18:44:00 2003 Subject: MySQL license and revolution In-Reply-To: References: Message-ID: <3F59207F.4040007@nexpath.com> Alex Rice wrote: > Thanks for the PostgreSQL db drivers, Runrev! > I agree, and although I have yet to use the db interface, I have used similar ones with perl, perl/tk, and php. RR is a perfect match for in-house application software for MIS purposes. And the beauty of it is, if the office uses the Mac, Accounting uses Windows, and Engineering uses Linux, it doesn't matter! Everyone can fill out their timecard, write po's, query inventory status, etc. I know a lot of people are using browsers, javascript, and php to do this. But after being burned over and over again on browser compatiblity, crashes, memory hog problems, etc, I am not a big fan of browsers anymore. The user interface/programming paradigm with html is limited. And don't get me started on java, it's as big of a menace as browsers. Great teaching language, though. -Steve From byront at mac.com Fri Sep 5 18:46:01 2003 From: byront at mac.com (Byron Turner) Date: Fri Sep 5 18:46:01 2003 Subject: path name issue for deploying for mac and pc on CD In-Reply-To: <05B2135A-DFE5-11D7-8C98-000A27B49A96@major-k.de> Message-ID: <58369B14-DFFA-11D7-B316-000A95A088D2@mac.com> Good short question. The DVD version should work either way, the CD version will be installed on the hard drive. Thanks, Byron On Friday, September 5, 2003, at 02:07 PM, Klaus Major wrote: > Hi Byron, > >> How would I compensate for the differences in file path names when >> deploying to >> OS 9, OS X and Windows? For example a movie resides on a CD . . how >> do we >> have one app that can be built for multiple platforms that can find >> the file regardless? > > Short question: will the app also be on the cd? > Or on the users hd? > > > 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 byront at mac.com Fri Sep 5 18:51:00 2003 From: byront at mac.com (Byron Turner) Date: Fri Sep 5 18:51:00 2003 Subject: path names to CD across platforms In-Reply-To: Message-ID: Thanks, according to our programmer, the platform returns MacOS in both classic and OSX so this fails. He says he has a solution which we'll test today. If it indeed does work, I'll ask him to post his method. Thanks for everyone's help. Byron On Friday, September 5, 2003, at 02:54 PM, Dan Friedman wrote: > Byron, > > Try this... (This assumes that you pass a movie path without the drive > name/letter, and the CD (for the Mac) is named "myCDROM")... > > > put getMoviePath("datafiles/movies/movie001.mov") into mPath > > > function getMoviePath fileName > if the platform = "MacOS" then > if there is a file ("myCDROM/" & fileName) then > return ("myCDROM/" & fileName) > end if > else > if there is a file ("D:/" & fileName) then > return ("D:/" & fileName) > else if there is a file ("E:/" & fileName) then > --just incase they mapped the CD drive to "E" > return ("E:/" & fileName) > end if > end if > > -- you might put some kind of warning or error > -- routine here. Probably don't want to continue > -- if the movie was not found > > return false > end getMoviePath > > > There's probably a better way to do this, but it should work (I didn't > test > it!). Hope it helps, > > Dan > > >> Message: 10 >> Date: Fri, 5 Sep 2003 12:36:35 -0700 >> Subject: path names to CD across platforms >> From: Byron Turner >> To: use-revolution at lists.runrev.com >> Reply-To: use-revolution at lists.runrev.com >> >> Forgive me if this gets posted twice, the first was held up and this >> is >> urgent. How would I compensate for the differences in file path names >> when deploying to OS 9, OS X and Windows? For example a movie resides >> on a CD . . how do we have one app that can be built for multiple >> platforms that can find the file regardless? >> >> Thanks, >> >> Byron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Fri Sep 5 19:04:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 5 19:04:00 2003 Subject: path names to CD across platforms In-Reply-To: Message-ID: <01fb01c37409$7734c2e0$6501a8c0@LightningFlash> Dan's idea is a good one, but I'd check D: through Z: in Windows (you never know where they might have their CD installed). 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: Friday, September 05, 2003 4:55 PM > To: RunRev Mail List > Subject: Re: path names to CD across platforms > > > Byron, > > Try this... (This assumes that you pass a movie path without > the drive name/letter, and the CD (for the Mac) is named "myCDROM")... > > > put getMoviePath("datafiles/movies/movie001.mov") into mPath > > > function getMoviePath fileName > if the platform = "MacOS" then > if there is a file ("myCDROM/" & fileName) then > return ("myCDROM/" & fileName) > end if > else > if there is a file ("D:/" & fileName) then > return ("D:/" & fileName) > else if there is a file ("E:/" & fileName) then > --just incase they mapped the CD drive to "E" > return ("E:/" & fileName) > end if > end if > > -- you might put some kind of warning or error > -- routine here. Probably don't want to continue > -- if the movie was not found > > return false > end getMoviePath > > > There's probably a better way to do this, but it should work > (I didn't test it!). Hope it helps, > > Dan > > > > Message: 10 > > Date: Fri, 5 Sep 2003 12:36:35 -0700 > > Subject: path names to CD across platforms > > From: Byron Turner > > To: use-revolution at lists.runrev.com > > Reply-To: use-revolution at lists.runrev.com > > > > Forgive me if this gets posted twice, the first was held up > and this > > is urgent. How would I compensate for the differences in file path > > names when deploying to OS 9, OS X and Windows? For > example a movie > > resides on a CD . . how do we have one app that can be built for > > multiple platforms that can find the file regardless? > > > > Thanks, > > > > Byron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From ambassador at fourthworld.com Fri Sep 5 19:08:03 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 5 19:08:03 2003 Subject: MySQL license and revolution In-Reply-To: <20030906001141.knowledgeworks@Plus.Net> Message-ID: revolution at knowledgeworks.plus.com wrote: > I don't believe he [Stallman] is contradictory. His position is quite subtle. Section 2.b of the GPL sez: You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. The widely held interpretation of this is that you can indeed sell your program for any price you like, provided you also give it away for free under the GPL. Even if no one makes a GPL-governed derivative work, your source is required to be publicly available "at no charge to all third parties", with nothing between you and Johnny Cochran to ensure that your algorithms, data structures, and processes (potentially patentable but beyond the scope of copyright protection) are not used to your disadvantage. With articles at gnu.org titled "Why Software Should Not Have Owners", Stallman may too subtle for many of us. I'll accept that I just may not have the intellectual capacity to follow all of his logic. Even so, he seems like a generally amiable fellow and he would be welcome in my home any time. What great dinner conversation that would be.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dvk at dvkconsult.com.au Fri Sep 5 19:56:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Sep 5 19:56:01 2003 Subject: The Directory Walker revisited In-Reply-To: <200309051911.PAA02688@www.runrev.com> Message-ID: On Saturday, Sep 6, 2003, at 05:11 Australia/Brisbane, Wouter wrote: > Hi, > > As I already unintentionally treaded some toes in this thread, please > put on the metal tipped safety shoes for the following, because now I > am puzzled...ect; > Following are the puzzling lines: > >> the recursion involved only reaches the depth >> of the directory structure. So if your folders are nested twenty deep, >> the greatest recursion depth will be twenty as well. It doesn't matter >> how "wide" the directory structure is, just how deep. > > I hope this is your code (anyway the recursive ones kind of all boil > down to this): > > on directoryWalk whatFolder > set the defaultFolder to whatFolder > put the files into temp > repeat for each line x in temp > put whatFolder & "/" & x & return after gHierList > end repeat > #### here it gets a list of directories in the whatFolder directory > put the folders into tDirList > #### and here it starts recursing for each line in the tDirlist > #### and does the same for each recursion > repeat with x = 2 to the number of lines of tDirList > directoryWalk (whatFolder & "/" & (line x of tDirList)) > end repeat > end directoryWalk > > So can you enlighten me on the following; > >> So if your folders are nested twenty deep, the greatest recursion >> depth will be twenty as well. > > I can see that the "depth" attained will be equal to twenty in this > case. > >> It doesn't matter how "wide" the directory structure is, just how >> deep. > > But as far as I can see the total amount of recursions to attain this > depth will be far greater than 20, because it recurses on every folder > it encounters on its quest to the deepsest level. To me this means > that wideness in this handler does matter. > May be the problem is only in the terminology. > WA Not in the terminology but in reading of recursive code. The process above is indeed depth-first and will recurse only to the maxDepth. The next folder at the same level will not be processed until all lower folders have been processed, and that statement is of course (recursively) true for each lower folder. Thus, depth matters, breadth is irrelevant. You can test this by walking a small tree while displaying depth and breadth in real time. If the processing were post-order rather than pre-order then breadth would count but in Geoff's and my code it does not. I think this is where the principal confusion has arisen. regards David > Hoping not to have mashed toes, greetings and thanx to all that > participated in this thread, > Yours puzzling, > WA From themacguy at macosx.com Fri Sep 5 21:21:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Sep 5 21:21:00 2003 Subject: shurDownRequest handler works only first time In-Reply-To: <200309051911.PAA02721@www.runrev.com> Message-ID: <0007EA19-E010-11D7-8C2E-000A95763ABC@macosx.com> Hugh, The shutDownRequest is the method specifically designated as the way to handle the user selecting "Quit" from an OSX app menu. I quote from the docs: > On OS X systems, the ?Quit? menu item is part of the Application menu, > which is displayed by the operating system rather than by the > application. Because of this, choosing ?Quit? on OS X systems does not > send a menuPick message, so you cannot handle quitting in a menuPick > handler. > > Instead, choosing ?Quit? sends an Apple Event (class ?aevt?, ID > ?quit?) to the application. If you don?t intercept this Apple Event in > an appleEvent handler, Revolution sends a shutdownRequest message in > response to the Apple Event. To respond to the user choosing ?Quit?, > handle either of these messages. > > Tip: For easiest cross-platform development, place all the code you > want to execute on quitting in a shutdownRequest handler. So I placed the code to confirm whether the user wanted to quit with a shutDownRequest handler and the confirmation occurs only once - the first time the user selects "Quit" from the OSX app menu -or- uses "Command-Q". If the user cancels the quit, the program continues running. However, the next time the user attepts to quit, the app just quits with no confirmation. The shutDownRequest handler is not executed. I have the menu in the same stack as the shutDownRequest handler. That stack is the only one open (although the "main" stack that contains the engine is hidden because it must stay running, of course). I tried moving the shutDownRequest handler to the "main" stack but it is then ignored completely. What do you mean "trap on final stack closure"? Should I add a "start using" command of some kind? How have you implemented multi-stack (multi-file) apps? Must there always be a menu implemented for every stack? My first two stacks (a splash and a sign-in) have no menu specifically created for them. (And that's another issue because a splash screen shouldn't have an menu active anyway, right? Any ideas are appreciated. Regards, Barry On Friday, Sep 5, 2003, at 13:11 America/Denver, use-revolution-request at lists.runrev.com wrote: > [snip]The > shutDownRequest handler is in that stack's stack script. > It works >> the >> first time it is called but it is ignored the second time; that app >> just >> quite >> without the shutDownRequest handler executing. > > Barry, have you tried putting the shutdownRequest handler in the > frontScript? > > It may be that, as in the case of closeStackRequest, shutdownRequest > is only > actioned when the closeBox is actioned. If so, trap on final stack > closure. -------------------------------------------------------- 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 themacguy at macosx.com Fri Sep 5 21:31:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Sep 5 21:31:00 2003 Subject: correction: shutDownRequest HANDLER fails to work In-Reply-To: <200309052216.SAA10055@www.runrev.com> Message-ID: <5E225CB4-E011-11D7-8C2E-000A95763ABC@macosx.com> Thierry, I've done exactly that. The main stack (the one where the engine is attached) never executes that handler. I've tried it two ways: 1. shutDownRequest handler in main stack only. Result: totally ignored. 2. shutDownRequest handler in both main stack and "third" stack where the Quit item would be chosen. Result: first time handler runs (from substack); second time, totally ignored in both stacks. 3. Compile Distribution with "third" stack only. (Note I do not use the term "substack because these are separate files - each with its own main stack. When I compile, I make the splash stack the "main" one, and then added in the "sign-in" stack which then calls the "third" stack (the "main one" from the user's perspective as that is where he sits 99% of the time.) The shutDownReuest handler in in the stack script of this stack. Result: Works perfectly. When I compile this for Windows, the menu is in the window, of course. The menuPick handler has EXACTLY the same code as the OSX app's shutDownRequest handler (which, of course, has been commented out when I do this for Windows). Result with all three stack files in the manner I require for my app: Perfection. I have another suspicion which I will test now. Regards, Barry On Friday, Sep 5, 2003, at 16:16 America/Denver, Thierry wrote: > Subject: Re: correction: shutDownRequest HANDLER fails to work > From: Thierry Arbellot > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > you can try the following: > > Create one shutdownRequest handler in the substack > and another in the main stack. > Change the answer message to know which handler is run. > > The first time you try to quit, the handler in the substack is run, but > from the 2nd time, the handler in the main stack is run. > > Hope it helps. > > Thierry. From gcanyon at inspiredlogic.com Fri Sep 5 22:48:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Sep 5 22:48:00 2003 Subject: The Directory Walker revisited In-Reply-To: Message-ID: <2CDB65CE-E01C-11D7-92C3-003065683ECC@inspiredlogic.com> On Friday, September 5, 2003, at 05:47 PM, David Vaughan wrote: > Not in the terminology but in reading of recursive code. The process > above is indeed depth-first and will recurse only to the maxDepth. The > next folder at the same level will not be processed until all lower > folders have been processed, and that statement is of course > (recursively) true for each lower folder. Thus, depth matters, breadth > is irrelevant. You can test this by walking a small tree while > displaying depth and breadth in real time. > > If the processing were post-order rather than pre-order then breadth > would count but in Geoff's and my code it does not. I think this is > where the principal confusion has arisen. In fact, I did write exactly such a counter, just to be certain I wasn't mistaken. regards, Geoff Canyon gcanyon at inspiredlogic.com From pixelbird at interisland.net Fri Sep 5 22:52:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri Sep 5 22:52:01 2003 Subject: Radio buttons as indicator lights In-Reply-To: <200309052216.SAA10025@www.runrev.com> Message-ID: Hi Graham, > Date: Fri, 05 Sep 2003 22:06:34 +0200 > From: Graham > Subject: Re: Radio buttons as indicator lights > > That's really cool, Ken! I didn't know about 'family' (you can't set it > using the property inspector, so it's hard to see how anyone would find out > about it). ---------- It's probably about HyperCard compatibility, but who cares?! I just wanted you to see another possibility that doesn't involve using Radio Buttons. ---------- > No idea why it goes with backgroundBehavior. ---------- Hmmm. I didn't set backgroundBehavior. They're all on one card. ---------- > i'm sure I could provide you with a whole repertoire of wierd little sounds... ---------- OK, thanks. Although...I just received a Griffin iMic adapter in the mail and bought a new dynamic unidirectional mic, so now I'll get out my tinfoil, bubblepak, squeezetoys, horns, whistles, and such, and have some fun. I'll be looking on eBay for an echo-chamber too. ...if I can ever get it to record something that plays back through both speakers (it only plays back through the left one, so it may only be recording on the left side...I dunno). This iMic seems to have a lot of wierd built-in stuff which seems to make it difficult to tell how it's supposed to behave. In the meantime, I'm working on an idea for a set of grc's that will act as input volume level indicators in realtime. Ken N. From dvk at dvkconsult.com.au Sat Sep 6 01:03:00 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat Sep 6 01:03:00 2003 Subject: The Directory Walker revisited - closure? In-Reply-To: <200309060249.WAA16005@www.runrev.com> Message-ID: On Saturday, Sep 6, 2003, at 12:49 Australia/Brisbane, Geoff Canyon wrote: > > On Friday, September 5, 2003, at 05:47 PM, David Vaughan wrote: > >> Not in the terminology but in reading of recursive code. The process >> above is indeed depth-first and will recurse only to the maxDepth. >> The next folder at the same level will not be processed until all >> lower folders have been processed, and that statement is of course >> (recursively) true for each lower folder. Thus, depth matters, >> breadth is irrelevant. You can test this by walking a small tree >> while displaying depth and breadth in real time. >> >> If the processing were post-order rather than pre-order then breadth >> would count but in Geoff's and my code it does not. I think this is >> where the principal confusion has arisen. > > In fact, I did write exactly such a counter, just to be certain I > wasn't mistaken. > > regards, > > Geoff Canyon > Below is my code (essentially the same as Geoff's independent work) fixed in accord with Dar's discovery that it was permissions (leading to endless recycling) which were blowing up the code, not depth (nor, of course, breadth). Within it are some depth-checking lines commented out. I used it (returning counts rather than files) to count the major directories on my OS X system of 20GB content, with the following results: Folder maxDepth files Applications 16 100535 System (OS X) 17 59356 Library 13 38937 Users 10 15475 System Folder (OS 9) 5 1373 regards David -- This recursive function expects a folder path. -- It returns a file list for that folder and for each -- sub-folder it contains (pre-order search) -- Invisible files are excluded. function walkDir dirPath -- add 1 to isDepth -- if isDepth > limitDepth then -- put isDepth into limitDepth -- put limitDepth -- end if put empty into tList set defaultFolder to dirPath -- Dar's discovery. Check permissions were ok get the Result if it is not empty then -- subtract 1 from isDepth return empty end if put the long files into fList repeat for each line fLine in fList if char 1 of fLine <> "." then put item 1 of fLine & comma & last item of fLine into fData put dirPath & "/" & fData & return after tList end if end repeat get the folders repeat for each line x in it if char 1 of x <> "." then put walkDir(dirPath & "/" & x) after tList end if end repeat -- subtract 1 from isDepth return tList end walkDir From dsc at swcp.com Sat Sep 6 01:24:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 6 01:24:01 2003 Subject: The Directory Walker revisited - closure? In-Reply-To: Message-ID: On Friday, September 5, 2003, at 11:57 PM, David Vaughan wrote: > Below is my code (essentially the same as Geoff's independent work) > fixed in accord with Dar's discovery that it was permissions (leading > to endless recycling) which were blowing up the code, not depth (nor, > of course, breadth). Closure. Pass the script on to the tips wranglers? Dar Scott From kray at sonsothunder.com Sat Sep 6 01:26:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Sep 6 01:26:00 2003 Subject: path names to CD across platforms In-Reply-To: Message-ID: <022901c3743e$e9822240$6501a8c0@LightningFlash> You can test for the OS version by checking the systemVersion, something like: set the itemDel to "." if (item 1 of the systemVersion >=10) then -- you're in OS X else -- your're not end if If someone is running a Classic app inside OS X, you can check the currently running processes for a line that says "Classic Environment" (I believe). The tip to get a list of processes is at my site: http://www.sonsothunder.com/devres/revolution/revolution.htm?_proc002 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 > Byron Turner > Sent: Friday, September 05, 2003 6:45 PM > To: use-revolution at lists.runrev.com > Subject: Re: path names to CD across platforms > > > Thanks, according to our programmer, the platform returns > MacOS in both > classic and OSX so this fails. He says he has a solution which we'll > test today. If it indeed does work, I'll ask him to post his method. > > Thanks for everyone's help. > > Byron > > On Friday, September 5, 2003, at 02:54 PM, Dan Friedman wrote: > > > Byron, > > > > Try this... (This assumes that you pass a movie path without the > > drive name/letter, and the CD (for the Mac) is named "myCDROM")... > > > > > > put getMoviePath("datafiles/movies/movie001.mov") into mPath > > > > > > function getMoviePath fileName > > if the platform = "MacOS" then > > if there is a file ("myCDROM/" & fileName) then > > return ("myCDROM/" & fileName) > > end if > > else > > if there is a file ("D:/" & fileName) then > > return ("D:/" & fileName) > > else if there is a file ("E:/" & fileName) then > > --just incase they mapped the CD drive to "E" > > return ("E:/" & fileName) > > end if > > end if > > > > -- you might put some kind of warning or error > > -- routine here. Probably don't want to continue > > -- if the movie was not found > > > > return false > > end getMoviePath > > > > > > There's probably a better way to do this, but it should > work (I didn't > > test > > it!). Hope it helps, > > > > Dan > > > > > >> Message: 10 > >> Date: Fri, 5 Sep 2003 12:36:35 -0700 > >> Subject: path names to CD across platforms > >> From: Byron Turner > >> To: use-revolution at lists.runrev.com > >> Reply-To: use-revolution at lists.runrev.com > >> > >> Forgive me if this gets posted twice, the first was held > up and this > >> is > >> urgent. How would I compensate for the differences in > file path names > >> when deploying to OS 9, OS X and Windows? For example a > movie resides > >> on a CD . . how do we have one app that can be built for multiple > >> platforms that can find the file regardless? > >> > >> Thanks, > >> > >> Byron > > > > _______________________________________________ > > 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 psahores at easynet.fr Sat Sep 6 03:16:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Sep 6 03:16:00 2003 Subject: MySQL license and revolution In-Reply-To: <3F591137.5080203@nexpath.com> References: <1893D4CF-DFD9-11D7-B50A-000393529642@mindlube.com> <3F591137.5080203@nexpath.com> Message-ID: <1062835812.2736.41.camel@www.kmax.ici> Le sam 06/09/2003 ? 00:41, Steve Gehlbach a ?crit : > Alex Rice wrote: > > > > There was an interesting article recently about the BSD licensing used > > by PostgreSQL Inc. (pgsql.com) Their strategy is to develop software and > > market it commercially for a 24 month period. After that, they release > > it under a BSD license, which is wide-open for even for competing > > commercial usages. Most recent example being a DB Replication Server. I > > wish I could find that article URL. Maybe it was just a press release. > > I am a big fan of postgresql for other reasons, it is a far more > sophisitcated database. I am an old SQL hack from big Unix days, and I > could not suffer under mySQL's simple implementation. It may have > gotten better in the last few years, but I think postgres has moved > forward too. If you want referential integrity, inner and outer joins, > etc, postgres is the ticket. I think mySQL has caught on for people > with only causual familiarity with SQL, and is a little simpler to setup > and understand. SQL can be a goofy language to get used to, that's for > sure. > > -Steve > Hi There, 100% agreed,... and PostgreSQL is on stage since years : it's full free usable by evry one how can use it "as this" and with commercial "PostgreSQL inc" add-ons if you need them. A free model + a clean commercial business model : here are the two legs of the PostgreSQL success story. I'm, now, using MC driven PostgreSQL 24/7 production solutions since about two years - via shell() to psql calls and, in the near weeks, i hope, via the RevDB library - and i never had a PG engine crash, even in doing unsecure development-grade testings or bad SQL syntax mistakes. Because PostgreSQL is full ACID compliant, it's one of the most unbreakable databases server available today. Firebird seems to be full ACID compliant too but i have no experience in using it. Beside those kind of tools, MySQL 3.23 is dangerously unable to handle more than 10-15 write-mode operations per seconds. MySQL 4.0.1* is lots more clean about this kind of tasks and MySQL 5.xx could become a real professional grade ACID compliant db server, including most of the SAPDB features (ACID compliant server - recently brought by SAP AG to MySQL AG). For yet, and because "the grass is not always greener other ways !", i just fell me very lucky to be able to mix the Rev's and PG powers in bulding cool and powerfull networked solutions. Bests, Pierre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wouter.abraham at pi.be Sat Sep 6 07:20:00 2003 From: wouter.abraham at pi.be (Wouter) Date: Sat Sep 6 07:20:00 2003 Subject: The Directory Walker revisited In-Reply-To: <200309060249.WAA16061@www.runrev.com> Message-ID: <5040454B-E064-11D7-A361-003065CC999E@pi.be> On Saturday, Sep 6, 2003, at 04:49 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 8 > Date: Sat, 06 Sep 2003 10:47:04 +1000 > From: David Vaughan > Subject: Re: The Directory Walker revisited > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > snip > > Not in the terminology but in reading of recursive code. The process > above is indeed depth-first and will recurse only to the maxDepth. The > next folder at the same level will not be processed until all lower > folders have been processed, and that statement is of course > (recursively) true for each lower folder. Thus, depth matters, breadth > is irrelevant. You can test this by walking a small tree while > displaying depth and breadth in real time. If I may ask just a little practical question to be able to completely understand your explanation : A folder "a" contains 3 folders "a1","b1","c1" and each of this folders contains another folder : "a1" contains folder "a2", folder "b1" contains folder "b2" and folder "c1" contains folder "c2". How many times your recursive handler is recursing? > > If the processing were post-order rather than pre-order then breadth > would count but in Geoff's and my code it does not. I think this is > where the principal confusion has arisen. > > regards > David > Tnx in advance. Greetings WA From rodneytamblyn at paradise.net.nz Sat Sep 6 07:47:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sat Sep 6 07:47:01 2003 Subject: Debugging on dragdrop Message-ID: I don't know if it's been noted before, but the following is a very good idea. I find debugging inside a dragdrop handler is liable to hang Revolution. local sDrag #not safe to debug on dragDrop #get whatever you are interested in out of dragdata & store in local var, eg put line 1 of dragData["files"] into sDrag if sDrag <> empty then send completeDrag to me in .5 seconds end if end dragDrop #safe to debug on completeDrag breakpoint #add script actions here put "received:"&&sDrag end completeDrag Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From thierry.arbellot at wanadoo.fr Sat Sep 6 09:24:00 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sat Sep 6 09:24:00 2003 Subject: correction: shutDownRequest HANDLER fails to work In-Reply-To: <5E225CB4-E011-11D7-8C2E-000A95763ABC@macosx.com> Message-ID: Barry, The way to handle the quit process is quite different in Windows and OSX. Windows (also MacOS 9) : when the "Quit" item is selected, the engine sends a "menuPick" message to the menu, that is processed within the "menuPick" handler. MacOS X : the engine doesn't send a "menuPick" but a "shutdownRequest" message to the current stack. It seems in your stack configuration - stacks in separate files-, there is a problem to receive the "shutdownRequest" message. I don't have experience in such configuration - I put stack & substacks in the same file - and I don't know enough about RR to solve this problem. Regards, Thierry. On Saturday, September 6, 2003, at 04:25 AM, Barry Levine wrote: > Thierry, > > I've done exactly that. The main stack (the one where the engine is > attached) never executes that handler. I've tried it two ways: > > 1. shutDownRequest handler in main stack only. Result: totally ignored. > > 2. shutDownRequest handler in both main stack and "third" stack where > the Quit item would be chosen. Result: first time handler runs (from > substack); second time, totally ignored in both stacks. > > 3. Compile Distribution with "third" stack only. (Note I do not use > the term "substack because these are separate files - each with its > own main stack. When I compile, I make the splash stack the "main" > one, and then added in the "sign-in" stack which then calls the > "third" stack (the "main one" from the user's perspective as that is > where he sits 99% of the time.) The shutDownReuest handler in in the > stack script of this stack. Result: Works perfectly. > > When I compile this for Windows, the menu is in the window, of course. > The menuPick handler has EXACTLY the same code as the OSX app's > shutDownRequest handler (which, of course, has been commented out when > I do this for Windows). Result with all three stack files in the > manner I require for my app: Perfection. > > I have another suspicion which I will test now. > > Regards, > Barry > > On Friday, Sep 5, 2003, at 16:16 America/Denver, Thierry wrote: > >> Subject: Re: correction: shutDownRequest HANDLER fails to work >> From: Thierry Arbellot >> To: use-revolution at lists.runrev.com >> Reply-To: use-revolution at lists.runrev.com >> >> you can try the following: >> >> Create one shutdownRequest handler in the substack >> and another in the main stack. >> Change the answer message to know which handler is run. >> >> The first time you try to quit, the handler in the substack is run, >> but >> from the 2nd time, the handler in the main stack is run. >> >> Hope it helps. >> >> Thierry. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sat Sep 6 11:00:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Sep 6 11:00:01 2003 Subject: Debugging on dragdrop In-Reply-To: Message-ID: <025201c3748f$07e52930$6501a8c0@LightningFlash> Rodney, you should probably log this into BugZilla if you haven't already... 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 Tamblyn > Sent: Sunday, September 07, 2003 7:43 AM > To: use-revolution at lists.runrev.com > Subject: Debugging on dragdrop > > > I don't know if it's been noted before, but the following is a very > good idea. I find debugging inside a dragdrop handler is liable to > hang Revolution. > > > local sDrag > > #not safe to debug > on dragDrop > #get whatever you are interested in out of dragdata & store in local > var, eg > put line 1 of dragData["files"] into sDrag > if sDrag <> empty then > send completeDrag to me in .5 seconds > end if > end dragDrop > > #safe to debug > on completeDrag > breakpoint > #add script actions here > put "received:"&&sDrag > end completeDrag > > > 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 > From dsc at swcp.com Sat Sep 6 11:27:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 6 11:27:00 2003 Subject: The Directory Walker revisited In-Reply-To: <5040454B-E064-11D7-A361-003065CC999E@pi.be> Message-ID: <32629C0B-E086-11D7-BDE0-000A9567A3E6@swcp.com> On Saturday, September 6, 2003, at 06:19 AM, Wouter wrote: > If I may ask just a little practical question to be able to completely > understand your explanation : > > A folder "a" contains 3 folders "a1","b1","c1" and each of this > folders contains another folder : "a1" contains folder "a2", folder > "b1" contains folder "b2" and folder "c1" contains folder "c2". > > How many times your recursive handler is recursing? I'll respond while David is sleeping. The calls will be like this: walkDir("/a") walkDir("/a/a1") walkDir("/a/a1/a2") walkDir("/a/b1") walkDir("/a/b1/b2") walkDir("/a/c1") walkDir("/a/c1/c2") Total Calls = 7 Total Depth = 3 The depth of 3 is hit three times. The last case of a depth of 3 is in the call walkDir("/a/c1/c2"). During this the stack looks like this: Engine top routines. The mouseUp handler data, perhaps. The walkDir("/a") data. The walkDir("/a/c1") data. The walkDir("/a/c1/c2") data. The data for current built-in command and expressions routines. The cpu stack grows and shrinks as needed, so that the data for walkDir("/a/c1") is in the space previously occupied by the data for walkDir("/a/b1"). It is those walkDir() lines in the middle that potentially could cause the cpu stack to grow excessively. It is the depth that matters in the recursion limit, not the total number of calls. A call to a simple handler might be in a repeat loop and called many times, but it would not hit the recursion limit if it does not the first time. So... > How many times your recursive handler is recursing? I would use "recursing" as related to the depth, not the total number of calls. Based on that, I would say the number of times is 3 or 2 depending on whether the first call is counted. Dar Scott From mcdomi at free.fr Sat Sep 6 11:28:01 2003 From: mcdomi at free.fr (Dom) Date: Sat Sep 6 11:28:01 2003 Subject: Putting stacks on a web site: doc or standalone? Message-ID: <1g0vmi9.w2fixnlx2chyM%mcdomi@free.fr> The question is in the subject ;-) When one puts a stack on a web site, there are two choices: -- a simple stack but the web site visitor has to download a runtime* to run the stack -- a standalone but the size will be very large, sometimes for a simple utility (I don't like real basic apps for this very reason ;->) * as for the runtime, can I redirect visitors to Revolution web site, or ?? -- From scott at tactilemedia.com Sat Sep 6 11:34:02 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Sep 6 11:34:02 2003 Subject: Putting stacks on a web site: doc or standalone? In-Reply-To: <1g0vmi9.w2fixnlx2chyM%mcdomi@free.fr> Message-ID: Recently, Dom wrote: > The question is in the subject ;-) > > When one puts a stack on a web site, there are two choices: > > -- a simple stack > but the web site visitor has to download a runtime* to run the stack > > -- a standalone > but the size will be very large, sometimes for a simple utility > (I don't like real basic apps for this very reason ;->) > > * as for the runtime, can I redirect visitors to Revolution web site, > or ?? If you want to offer multiple stacks/utilities to the same users, I would say stacks are a good way to go. Create your own stack player as a standalone for download and configure it run stacks downloaded from the Web, or directly from a server location. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From klaus at major-k.de Sat Sep 6 11:43:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Sep 6 11:43:01 2003 Subject: Putting stacks on a web site: doc or standalone? In-Reply-To: <1g0vmi9.w2fixnlx2chyM%mcdomi@free.fr> Message-ID: <70C47675-E088-11D7-BC62-000A27B49A96@major-k.de> Hi Domi, > The question is in the subject ;-) > > When one puts a stack on a web site, there are two choices: > > -- a simple stack > but the web site visitor has to download a runtime* to run the stack > > -- a standalone > but the size will be very large, sometimes for a simple utility > (I don't like real basic apps for this very reason ;->) definitively stacks. Couldn't have said it better than Scott R. :-) > * as for the runtime, can I redirect visitors to Revolution web site, > or ?? Please remember that RR unfortunately changed the behaviour of the app when doubleclicking a *.rev file... In version >=2 this will lauch the complete IDE. Hold the cmd-key when doubleclicking a rev-file and only this file will be shown... Don't know why they changed it, but it makes using RR as a "player"-app a bit harder... Oooops ;-), this thought IS obsolete at all, since there is no free StarteKit anymore... Regards Klaus Major klaus at major-k.de www.major-k.de From alex at mindlube.com Sat Sep 6 11:46:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 6 11:46:01 2003 Subject: Putting stacks on a web site: doc or standalone? In-Reply-To: <1g0vmi9.w2fixnlx2chyM%mcdomi@free.fr> Message-ID: On Saturday, September 6, 2003, at 10:22 AM, Dom wrote: > -- a standalone > but the size will be very large, sometimes for a simple utility > (I don't like real basic apps for this very reason ;->) > > * as for the runtime, can I redirect visitors to Revolution web site, > or ?? > A 2 MB standalone will compress down to < 1MB. A lot of users won't even try software that requires a player or runtime to be downloaded or installed. And if it doesn't come with an installer... I guess it depends on who the audience is! Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From bvg at mac.com Sat Sep 6 12:16:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Sep 6 12:16:00 2003 Subject: problem with deleting buttons in a loop Message-ID: i am deleting buttons in a loop, but somehow there is always a button that does not get deleted, and I cant find out why. There is one other button in the group. Can anyone explain this behaviour? Is this a bug, or am I making a stupid mistake? put the number of buttons in group "points" into a repeat with x = a down to 1 if word one of the short name of button x = "point" then delete button x end if end repeat Thank you in advance Bjoernke From jacque at hyperactivesw.com Sat Sep 6 12:32:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Sep 6 12:32:01 2003 Subject: path names to CD across platforms In-Reply-To: <022901c3743e$e9822240$6501a8c0@LightningFlash> References: <022901c3743e$e9822240$6501a8c0@LightningFlash> Message-ID: <3F5A18BD.1040104@hyperactivesw.com> On 9/6/03 1:19 AM, Ken Ray wrote: > If someone is running a Classic app inside OS X, you can check the > currently running processes for a line that says "Classic Environment" > (I believe). It's even better than that. If you are running under Classic emulation, the systemversion returns "9.xx". So you don't even need to check. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Sep 6 12:44:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Sep 6 12:44:00 2003 Subject: problem with deleting buttons in a loop In-Reply-To: References: Message-ID: <3F5A1B74.5000908@hyperactivesw.com> On 9/6/03 12:09 PM, Bj?rnke von Gierke wrote: > i am deleting buttons in a loop, but somehow there is always a button > that does not get deleted, and I cant find out why. There is one other > button in the group. > Can anyone explain this behaviour? Is this a bug, or am I making a > stupid mistake? > > put the number of buttons in group "points" into a > repeat with x = a down to 1 > if word one of the short name of button x = "point" then > delete button x > end if > end repeat > Change two lines: if word one of the short name of button x of group "points" = "point" then delete button x of group "points" As it is written originally, the scripts looks at and deletes buttons regardless of whether they are in a group or not. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at shafermedia.com Sat Sep 6 12:46:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sat Sep 6 12:46:01 2003 Subject: Putting stacks on a web site: doc or standalone? In-Reply-To: <200309061601.MAA28835@www.runrev.com> Message-ID: <2A228F41-E091-11D7-B23F-0030656FB5D4@shafermedia.com> >> In response to a question from Dom, Alex Rice wrote: >> -- a standalone >> but the size will be very large, sometimes for a simple utility >> (I don't like real basic apps for this very reason ;->) >> >> * as for the runtime, can I redirect visitors to Revolution web site, >> or ?? >> > A 2 MB standalone will compress down to < 1MB. A lot of users won't > even try software that requires a player or runtime to be downloaded or > installed. And if it doesn't come with an installer... > > I guess it depends on who the audience is! I agree with Alex here. I'd use a compressed standalone if the intent is for users to download and run the product/application from the Web. I have a sort of minimalist-case app that is 2MB uncompressed but which Stuffs to 784K. Another app that weighs in at 3.7MB as a standalone stuffs down to 1MB. Even at 56K, a 1MB file isn't onerous as a download. It's important to note, too, that when you build a standalone (I'm sure you already know this, but some others here might not) you want to strip out all of the inclusions that you don't need. You do this on the final panel of the distribution builder interface at the Inclusions tab. This can have a relatively significant (300-500K) impact on application size. Incidentally, Stuffing for OS X produces files that are slightly smaller than Zipping for Windows, but it appears to me to be only about 10% or so. HTH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 Sat Sep 6 13:41:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Sep 6 13:41:00 2003 Subject: The Directory Walker revisited In-Reply-To: <5040454B-E064-11D7-A361-003065CC999E@pi.be> Message-ID: 253-4121 On Saturday, September 6, 2003, at 05:19 AM, Wouter wrote: > If I may ask just a little practical question to be able to completely > understand your explanation : > > A folder "a" contains 3 folders "a1","b1","c1" and each of this > folders contains another folder : "a1" contains folder "a2", folder > "b1" contains folder "b2" and folder "c1" contains folder "c2". > > How many times your recursive handler is recursing? So if I understand you, this is the structure we're talking about: a |-a1 | |-a2 |-b1 | |-b2 |-c1 | |-c2 By the way, that's the actual order they would be processed in by the recursion routines we've been discussing. So the recursion routine (RR for short) gets called for a. In processing a, RR would come to a1, and process that. In processing a1, RR would come to a2, and process that. At this point we're three recursions deep: RR is processing a, a1, and a2. Now RR finishes a2, so we're only two recursions deep: a and a1. RR finishes a2, and we're only one level deep. RR moves on to b1, and now we're two deep. RR starts on b2, and we're three deep. RR finishes b2, finishes b1, and we're one level deep again. RR moves on to c1, and now we're two deep. RR starts on c2, and we're three deep. RR finishes c2, finishes c1, and we're one level deep again. Finally, RR has finished everything in a, and exits. So RR has been called seven times: once for each directory in the list. But the deepest level of recursion reached was three levels: the deepest nesting of directories in the tree. regards, Geoff Canyon gcanyon at inspiredlogic.com From pbsi at mac.com Sat Sep 6 13:45:01 2003 From: pbsi at mac.com (Brian K. Maher) Date: Sat Sep 6 13:45:01 2003 Subject: Fwd: No Shell on OS X? Message-ID: <686BF00C-E099-11D7-B784-000393020FF0@mac.com> > Hi Folks, > > I am trying to use the shell() function on OS X (Rev 2.1, OS X 10.2.6) > and am getting the following error: > > Handler: can't find handler > Object: Button 1 > Line: shell("ls -l") > Hint: shell > > Does anyone have any ideas why this will not work? > > Thanks, Brian From capellan2000 at yahoo.com Sat Sep 6 13:52:01 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat Sep 6 13:52:01 2003 Subject: [ANN] PC_MAC_dartmove Message-ID: <20030906184554.72077.qmail@web40512.mail.yahoo.com> Hi Developers: Download the file: http://www.geocities.com/capellan2000/PC_MAC_dartmove.zip This stack shows an animated gif (a Dart) that revolves around itself, controled by the Numeric keyboard at the right of your extended keyboard. To start, click on the image of the dart. If you keep pressing the same key, the background moves the distance of the field "speed" in the current direction of the Dart. The Background was imported with the EPSimport stack, that you could find in my webpage. Add your own sounds, animations and interactions and have fun! Alejandro Tejada ===== 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 alex at mindlube.com Sat Sep 6 13:55:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 6 13:55:00 2003 Subject: No Shell on OS X? In-Reply-To: <686BF00C-E099-11D7-B784-000393020FF0@mac.com> Message-ID: On Saturday, September 6, 2003, at 12:39 PM, Brian K. Maher wrote: >> >> I am trying to use the shell() function on OS X (Rev 2.1, OS X >> 10.2.6) and am getting the following error: >> >> Handler: can't find handler >> Object: Button 1 >> Line: shell("ls -l") >> Hint: shell >> >> Does anyone have any ideas why this will not work? >> Try get shell("ls -l") put shell("ls -l") shell() is a function, and transcript won't let you ignore the return value of a function. hope this helps Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Sat Sep 6 14:09:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Sep 6 14:09:01 2003 Subject: path names to CD across platforms In-Reply-To: <3F5A18BD.1040104@hyperactivesw.com> Message-ID: <026d01c374a9$753c7fa0$6501a8c0@LightningFlash> Cool! I didn't know that (since I can't run Classic on my desktop Mac for some reason...) 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: Saturday, September 06, 2003 12:26 PM > To: use-revolution at lists.runrev.com > Subject: Re: path names to CD across platforms > > > On 9/6/03 1:19 AM, Ken Ray wrote: > > > If someone is running a Classic app inside OS X, you can check the > > currently running processes for a line that says "Classic > Environment" > > (I believe). > > It's even better than that. If you are running under Classic > emulation, > the systemversion returns "9.xx". So you don't even need to check. :) > > -- > 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 soapdog at mac.com Sat Sep 6 16:19:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Sat Sep 6 16:19:01 2003 Subject: REQ: Calendar control. Message-ID: <7E172935-E0AF-11D7-A9BD-00039387AE90@mac.com> Hi Folks, trying no to reinvent the whell, did anyone here implemented a calendar control? like thoose little boxes where you can pick a date, week or month. Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From klaus at major-k.de Sat Sep 6 16:37:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Sep 6 16:37:01 2003 Subject: REQ: Calendar control. In-Reply-To: <7E172935-E0AF-11D7-A9BD-00039387AE90@mac.com> Message-ID: <69622286-E0B1-11D7-BC62-000A27B49A96@major-k.de> Buenos tardes Andre > Hi Folks, > > trying no to reinvent the whell, did anyone here implemented a > calendar control? > like thoose little boxes where you can pick a date, week or month. Check this out: http://dark.unitz.ca/~shaosean/development/index.html There you find the wonderful calendar object... Isn't Sean nice?! ;-) > Cheers > Andre Garzia ? 2003 > imac2 ibook p100 e uma torradeira.... Regards Klaus Major klaus at major-k.de www.major-k.de From kray at sonsothunder.com Sat Sep 6 16:53:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Sep 6 16:53:00 2003 Subject: REQ: Calendar control. In-Reply-To: <69622286-E0B1-11D7-BC62-000A27B49A96@major-k.de> Message-ID: <028f01c374c0$4a0329d0$6501a8c0@LightningFlash> > Isn't Sean nice?! ;-) Yes, she is. I especially like libSMTP... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From soapdog at mac.com Sat Sep 6 16:53:33 2003 From: soapdog at mac.com (Andre Garzia) Date: Sat Sep 6 16:53:33 2003 Subject: REQ: Calendar control. In-Reply-To: <69622286-E0B1-11D7-BC62-000A27B49A96@major-k.de> Message-ID: <4578EF4E-E0B4-11D7-A9BD-00039387AE90@mac.com> On Saturday, September 6, 2003, at 06:31 PM, Klaus Major wrote: > >> Hi Folks, >> >> trying no to reinvent the whell, did anyone here implemented a >> calendar control? >> like thoose little boxes where you can pick a date, week or month. > > Check this out: > > http://dark.unitz.ca/~shaosean/development/index.html > > There you find the wonderful calendar object... > > Isn't Sean nice?! ;-) Thank you for the answer, it's a lovely object! i thought Sean was a saint because of LibSMTP , now I know he is up for the revGuru of the year prize! :D just wait, one day my XML-RPC stack will be stable and usefull too!!!! Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From soapdog at mac.com Sat Sep 6 17:34:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Sat Sep 6 17:34:01 2003 Subject: REQ: Calendar control. In-Reply-To: <028f01c374c0$4a0329d0$6501a8c0@LightningFlash> Message-ID: <222EBC0F-E0BA-11D7-A9BD-00039387AE90@mac.com> On Saturday, September 6, 2003, at 06:46 PM, Ken Ray wrote: > >> Isn't Sean nice?! ;-) > > Yes, she is. I especially like libSMTP... :-) She... oh boy, I commited a major error in my mail... I am Brazilian, I have trouble with name endings in foreing languages... i am sorry, i am sorry!!!!!! > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From kray at sonsothunder.com Sat Sep 6 18:00:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Sep 6 18:00:00 2003 Subject: REQ: Calendar control. In-Reply-To: <222EBC0F-E0BA-11D7-A9BD-00039387AE90@mac.com> Message-ID: <029701c374c9$b7aca7a0$6501a8c0@LightningFlash> I would bet that Sean gets it all the time (Sean is a more common male name here in the States than female). I honestly didn't know until I downloaded libSMTP and read her about box. I have a friend Chris who has run into the same situation... 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 > Andre Garzia > Sent: Saturday, September 06, 2003 5:33 PM > To: use-revolution at lists.runrev.com > Subject: Re: REQ: Calendar control. > > > > On Saturday, September 6, 2003, at 06:46 PM, Ken Ray wrote: > > > > >> Isn't Sean nice?! ;-) > > > > Yes, she is. I especially like libSMTP... :-) > > She... oh boy, I commited a major error in my mail... I am > Brazilian, I > have trouble with name endings in foreing languages... > > i am sorry, i am sorry!!!!!! > > > > > > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > > 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 > From pbsi at mac.com Sat Sep 6 18:11:00 2003 From: pbsi at mac.com (Brian K. Maher) Date: Sat Sep 6 18:11:00 2003 Subject: No Shell on OS X? In-Reply-To: Message-ID: <85317FB4-E0BE-11D7-B8F8-000393020FF0@mac.com> Hi Alex, Thanks. That was it. I am a newbie at Revolution and misread the documentation for the shell function (it shows just using shell(...) and also states that the result (combination of stdout & stderr) are placed into the result variable). Based on this I expected to be able to simply say shell(...) followed by some code that checked the result variable. Brian From soapdog at mac.com Sat Sep 6 18:23:15 2003 From: soapdog at mac.com (Andre Garzia) Date: Sat Sep 6 18:23:15 2003 Subject: XML-RPC Stack almost there. Message-ID: Hi Folks, I am now able to call methods on remote machines via xml-rpc, the problem is: I can call the methods and retrieve the answers, but the xml parsing is not done yet. I need some tutorial or easy stack example on xml creation and parsing. For now you must provide a valid xml-rpc call in a text field, I want to create help functions to generate this xml, and also to parse the result xml... it's not much use if you must generate xml and parse it on your own. cheers Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From kray at sonsothunder.com Sat Sep 6 18:52:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Sep 6 18:52:00 2003 Subject: XML-RPC Stack almost there. In-Reply-To: Message-ID: <02a101c374d1$00760fb0$6501a8c0@LightningFlash> Although Rev has an XML external, you might want to look at my XML Library as a possible alternative; comes with full docs and examples: http://www.sonsothunder.com/products/metacard/xmllib.htm 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 > Andre Garzia > Sent: Saturday, September 06, 2003 6:22 PM > To: use-revolution at lists.runrev.com > Subject: XML-RPC Stack almost there. > > > Hi Folks, > > I am now able to call methods on remote machines via xml-rpc, the > problem is: I can call the methods and retrieve the answers, but the > xml parsing is not done yet. I need some tutorial or easy > stack example > on xml creation and parsing. For now you must provide a valid xml-rpc > call in a text field, I want to create help functions to > generate this > xml, and also to parse the result xml... it's not much use if > you must > generate xml and parse it on your own. > > cheers > Andre Alves Garzia ? 2003 ? BRAZIL > http://www.soapdog.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From soapdog at mac.com Sat Sep 6 19:02:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Sat Sep 6 19:02:00 2003 Subject: XML-RPC Stack almost there. In-Reply-To: <02a101c374d1$00760fb0$6501a8c0@LightningFlash> Message-ID: <6A2063C0-E0C6-11D7-A9BD-00039387AE90@mac.com> On Saturday, September 6, 2003, at 08:45 PM, Ken Ray wrote: > Although Rev has an XML external, you might want to look at my XML > Library as a possible alternative; comes with full docs and examples: > > http://www.sonsothunder.com/products/metacard/xmllib.htm > > Ken Ray > Sons of Thunder Software > Ken, Thanks, i am looking!!! If you folks at Sons of Thunder ever want to localize a app to portuguese, tell me. Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From soapdog at mac.com Sat Sep 6 19:16:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Sat Sep 6 19:16:00 2003 Subject: On the topic of XML-RPC, input needed... (Long and Related to: XML-RPC Stack almost there) Message-ID: <39F88D5E-E0C8-11D7-A9BD-00039387AE90@mac.com> Hi Folks, I want to spawn in this list a discussion on what sould the best way to create the server part of a xml-rpc implementation. The client part is easy and straight forward, it's almost done, in one week or two i'll release it to the community. The server part is the tricky one. I never implemented the server part before (i did implement the client on a couple plataforms, thats why i choose to do it first). The client part will enable us to call lot's of cool public avaiable methods on the net (like spell checkers, blog apis, storage systems) and talk to proprietary apps that export this kind of stuff (MyST for example). But, if we want to serve methods, how should us procced? For thoose unfamiliar with the xml-rpc spec the url is: http://www.xmlrpc.com The specs are pretty easy, and there's a document called "Xml-Rpc for newbies" which will cover any info you might need. Now let's get back to our topic. What we will receive from a client is an HTTP POST Request with XML content detailing what he wants to do (It's a method call and it's parameters inside the xml). What xml-rpc call methods is similiar to what revolution call function, so what the client is trying to do is make a remote call to a function and retrieve it's results. To implement this behaviour we can decide to follow two very different aproaches: Aproach #1: The Hard Way. Implement a custom HTTP Server that will listen to xml-rpc requests. Implement the xml-rpc server layer on top of it. There's a MetaCard HTTPd stack that fills the HTTP server part, just need to plug the xml-rpc part in it. Advantages of this aproach are: Make an app self-contained and not depend of any other thing to serve xml-rpc methods (thats a huge advantage). Disadvantages: More work to do, must fiddle with raw sockets and stuff to implement a HTTP Server thats fail-proof. Aproach #2: The Easy Way. Set up a middleware, a simple CGI Stack in revolution that would gather the call, and deliver it to the correct stack. This middleware is easy to do for it must not know about HTTP or raw sockets, it must know only how to gather post data from it's CGI Enviroment, parse it, make the call, present the results. Since everything after the CGI Enviroment data parsing must be implmented by both solutions, This aproach is a quick, very quick solution and it's code could be reused in aproach #1. Advantages: Very quick to implement. Disadvantages: Our apps would need an external webserver (Apache, IIS, Xitami...). I am thinking of making aproach two, and then, maybe trying aproach one altought I do think I am not good enought to create my own HTTP Server stack. But let's talk about what is common to both aproaches, the XML-RPC Layer. As told before, what we will receive is a simple XML with a function and it's parameters. Let me quote an example in here: examples.getStateName 23 See, what is the method: "example.getStateName", what is the paramenter: the number 23. This call on http://betty.userland.com would return the state name of the 23 state of the united states of america. The params part can hold an array (or struct) of parameters, each parameter receive it's own node with name and value. The types allowed are the commons ones (string, boolean, date, integer...). A sample answer would be: Minnesota See, the 23th state is called Minnesota. This xml were extracted from my xml-rpc stack, they are real. It's easier than SOAP, it's straight and simple. But again, let's get back to the topic. What I am thinking about? I am thinking of how to relay the xml call to the correct function on a stack, it's more theory than practice now. I am thinking of this: MainStack.addToField All your remote methods are belong to us This call would be sent to function call "addToField" of your mainstack. The first part before the dot could be the stack, the second part the method. we could go further to use even .. structure (Ex: MainStack.report.addToReport), if the stack is not present in memory, it would search for a file with the same name, load it and send the function call to it... the return would be echoed to remote client. Since rev function can return only one parameter, we could create help functions to assemble everything we want to return in one huge string (Thats what base64 is for) and decode it on client. That would make possible to rev stacks running in different computers to share data across the internet and bypass all firewall for no one sane blocks port 80. For thoose that read this far and are yet to see the benefits of XML-RPC in their app let me try to clarify the advantages: * our only viable alternative is SOAP and SOAP is simple an annoying, strange, complex piece of burocracy. But it's already implemented in Rev. * With XML-RPC and it's simplicity, you can make your cross plataform data sharing a dream. You'll be able to make a Mac app for your design department that actually will talk to the Linux app in your network administration department and both will talk to your account management department using windows, all this with no harm to your firewalls policies. * Please read "Beyond the Browser" Article in Fourth World Embassy (http://www.fourthworld.com/embassy/articles/netapps.html), it's about rediscovering the desktop after the web boom. It's a very good reading, and will make you think about how your apps can make this networking dream come true. I dream some day to be able to write: send "Example.GetStateName 41" to URL http://betty.userland.com/RPC2 and it would travel the network just as easy as it travels my stacks, but until that day come, we must settle good founding stones. I am just a Revolution Newbie, my Studio License arrived only couple weeks ago... There are lots of RevGurus (and RevGuruess if this word exists) that could offer their two cents of code in making this protocol implementation come true. I want to know from users out there how they want it done so that we can make a success from the start and not keeping reinventing the wheel evey time we need some feature added. Cheers Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From revolution at knowledgeworks.plus.com Sat Sep 6 20:21:01 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Sat Sep 6 20:21:01 2003 Subject: On the topic of XML-RPC, input needed... Message-ID: <20030907021435.knowledgeworks@Plus.Net> Hi Andre, I applaud your momentum on this. I followed the discussions on XML-RPC vs SOAP a couple of years ago, and I have a lot of sympathy for the use of XML-RPC too. Apropos the two choices for a Rev XML-RPC server as a) a Rev http daemon or b) a CGI process. On the side of the CGI approach: a) there are many webservers available (and some are small and fast, like thttpd), and this approach will offer the most permutations in terms of other requirements one might have from such a process (maybe the functionality they want is only available with a particular web server). b) it seems like writing a http daemon in Rev is re-inventing the wheel. Advocates of differing programming languages produce demos of such functionality - often in a few lines - just to show that they can do it. But these demos are always very limited. If one wants to incorporate more bells and whistles into this Rev http daemon, that is going to be a lot more work (e.g. security issues, performance) On the side of doing it as a daemon: a) pure Rev, so (theoretically) we don't have to understand or configure any other software to use it b) truly cross-platform I think your enthusiasm for "rediscovering the desktop after the web boom" is one that is shared by many people here. In my opinion, what you are doing is very significant. I'll offer you any assistance I can, although I am a long way from being a Rev guru -- or guruess :-) Whichever way this goes, we will all learn a lot (about XML-RPC and either sockets or cgi) Regards, Bernard From gizmotron at earthlink.net Sat Sep 6 21:52:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Sep 6 21:52:00 2003 Subject: On the topic of XML-RPC, input needed... (Long and Related to: XML-RPC Stack almost there) In-Reply-To: <39F88D5E-E0C8-11D7-A9BD-00039387AE90@mac.com> Message-ID: <0918DBD4-E0DE-11D7-8A94-000A95859272@earthlink.net> On Saturday, September 6, 2003, at 05:14 PM, Andre Garzia wrote: Andre, Here is my contribution. It comes in the form of the simplicity of using a pull-parser. Kindest regards, Mark Brownell From lower down: > * our only viable alternative is SOAP and SOAP is simple an annoying, > strange, complex piece of burocracy. But it's already implemented in > Rev. From higher up: > > > examples.getStateName > > > 23 > > > > --========================= > > > > > Minnesota > > > > --========================= > > > MainStack.addToField > > > All your remote methods are belong to > us > > > > > This call would be sent to function call "addToField" of your > mainstack. The first part before the dot could be the stack, the > second part the method. we could go further to use even stack>.. structure (Ex: > MainStack.report.addToReport), if the stack is not present in memory, > it would search for a file with the same name, load it and send the > function call to it... the return would be echoed to remote client. > Since rev function can return only one parameter, we could create help > functions to assemble everything we want to return in one huge string > (Thats what base64 is for) and decode it on client. [snip] > > I dream some day to be able to write: > > send "Example.GetStateName 41" to URL http://betty.userland.com/RPC2 --===================================================== OK, my two cents, This looks just like MTML: > .. ...even though I understand it is descriptive of the parts. > > examples.getStateName > > > Andre does the hat trick. If you don't have to comply with XML-RPC you could use an MTML pull-parser with MTML and if you want to you can even send multi-lined source code for sending process with data. -- Although your data can be well-formed XML-RPC it would be parsed as MTML. -- As MTML you could drop multi-lined source code within a tag set. -- You could also pass encrypted data inside the tag set. -- send your message or array of calls to create a list, -- & put your MTML or XML-RPC structured message into tPullThis put PNLPgetElement("", "", tPullThis) into tMethodCall or put PNLPgetElement("", "", tPullThis) into tMethodResponse put PNLPgetElement("", "", tMethodCall) into tMethodName -- tMethodName = "MainStack.addToField" put getPNLPelements("", "", tMethodCall) into theParamArray -- this function creates an array of all instances of "", "" -- you could extract values from the param array with: put PNLPgetElement("", "", theParamArray[1]) into tValue -- tValue = "Andre does the hat trick." 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 function PNLPgetElement tStTag, tEdTag, stngToSch put empty into zapped put the number of chars in tStTag into dChars put offset(tStTag,stngToSch) into tNum1 put offset(tEdTag,stngToSch) into tNum2 if tNum1 < 1 then return "error" exit PNLPgetElement end if if tNum2 < 1 then return "error" exit PNLPgetElement end if put char (tNum1 + dChars) to (tNum2 - 1) of stngToSch into zapped return zapped end PNLPgetElement -- Example: put PNLPgetAttribute("name", tZap) into theAttribute function PNLPgetAttribute tAttribute, strngToSearch put empty into zapA put quote into Qx put tAttribute & "=" & Qx into tAttributeX put the number of chars in tAttributeX into dChars put offset(tAttributeX,strngToSearch) into tNum1 if tNum1 < 1 then return "error" exit PNLPgetAttribute end if put tNum1 + 1 into tNum2 put offset(Qx,strngToSearch,tNum2) into tNum3 put offset("=",strngToSearch,tNum2) into tNum4 if tNum3 < 1 then return "error" exit PNLPgetAttribute end if if tNum4 < tNum3 then return "error" exit PNLPgetAttribute end if put char (tNum2 + 1) to (tNum3 - 1) of stngToSch into zapA return zapA end PNLPgetAttribute From alex at mindlube.com Sat Sep 6 22:20:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 6 22:20:00 2003 Subject: No Shell on OS X? In-Reply-To: <85317FB4-E0BE-11D7-B8F8-000393020FF0@mac.com> Message-ID: <63C745FC-E0E1-11D7-9BC0-000393529642@mindlube.com> On Saturday, September 6, 2003, at 05:04 PM, Brian K. Maher wrote: > Hi Alex, > > Thanks. That was it. I am a newbie at Revolution and misread the > documentation for the shell function (it shows just using shell(...) > and also states that the result (combination of stdout & stderr) are > placed into the result variable). Based on this I expected to be able > to simply say shell(...) followed by some code that checked the result > variable. The example code is not always complete, often it's just code snippets. In Rev 2.1 the shell function in the transcript dictionary says "the result" is set to the command's exit code, which is probably going to be 0 or 1, not the actual stdout of the command. But I understand what you mean about learning revolution: sometimes you have to check "it", sometimes check "the result" and sometimes pass variable to get the value into, and sometimes get a value back directly :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gizmotron at earthlink.net Sat Sep 6 22:35:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Sep 6 22:35:01 2003 Subject: On the topic of XML-RPC, input needed... (Long and Related to: XML-RPC Stack almost there) In-Reply-To: <0918DBD4-E0DE-11D7-8A94-000A95859272@earthlink.net> Message-ID: -- XML-RPC / MTML comparison -- XML-RPC >> >> >> examples.getStateName >> >> >> 23 >> >> >> -- MTML examples.getStateName 23 examples.getStateName Minnesota From rodneytamblyn at paradise.net.nz Sat Sep 6 22:47:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sat Sep 6 22:47:00 2003 Subject: how to detect stack needs to be saved Message-ID: What property do you check to determine if a stack needs to be saved (ie has been modified in memory)? ~ R -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From rgould8 at aol.com Sat Sep 6 23:23:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Sat Sep 6 23:23:00 2003 Subject: faking https? Message-ID: <3F5AB140.9080908@aol.com> An HTML attachment was scrubbed... URL: From briany at qldlearning.com Sun Sep 7 00:20:01 2003 From: briany at qldlearning.com (Brian Yennie) Date: Sun Sep 7 00:20:01 2003 Subject: faking https? In-Reply-To: <3F5AB140.9080908@aol.com> Message-ID: <28CFCD72-E0F2-11D7-B4FE-000393AA08D2@qldlearning.com> Rob, If you just need this to work on OS X, I would check out the "curl" shell command. Just jump into the terminal app and type "man curl". Once you get the command you need in there, you can call it with shell(). You'll find HTTPS and POST support in there along with just about anything else you could ever want. I'd imagine there are also Windows binaries of curl, but on OS X it's there by default. Brian > Just want to verify that there's no way to fake an HTTPS POST with the > present version of Rev on Mac OS X.? I'm really in need of https for a > project I'd like to work on for a client.? (Basically I'm posting a > username/password, and the server sends me back an encrypted string.)? > I was trying to think of other ways to do this, and the only thing I > could come up with is to have Rev control IE via Applescript and have > it retrieve the html source upon receiving communcation from the > server.? (While hiding IE from the user)? I don't suppose anyone's > written an HTTPS plug-in for Rev? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1045 bytes Desc: not available URL: From ludovic.thebault at laposte.net Sun Sep 7 00:31:00 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun Sep 7 00:31:00 2003 Subject: play an mp3? In-Reply-To: <152A50A6-DFE3-11D7-8C98-000A27B49A96@major-k.de> References: <152A50A6-DFE3-11D7-8C98-000A27B49A96@major-k.de> Message-ID: <20030907072428427255.GyazMail.ludovic.thebault@laposte.net> On Fri, 5 Sep 2003 22:54:03 +0200, Klaus Major wrote: > This will let you select a file and sets the filename to the absolute > path to your > mp3. Now the filename is set and "start player My Player" should work... Recently i want also to play mp3, but i've got problem : I've a bad noise when i want to play directly (without player) an mp3. Don't try : play "/Macintosh HD/Users/ludo/Music/iTunes/my.mp3" if you want to keep your ears ! And when i use a player i need to delete first item of the path : /Macintosh HD/Users/ludo/Music/iTunes/my.mp3 -- the player doesn't "recognize" the path /Users/ludo/Music/iTunes/my.mp3 -- the player works. From themacguy at macosx.com Sun Sep 7 01:01:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Sep 7 01:01:01 2003 Subject: shutDownRequest ignored - yes, it -is- a reproducible bug Message-ID: Consider the following two handlers. Both allegedly will intercept the "Quit" when selected from the OSX app menu. In both cases, with multi-stack apps, either handler (I only use one or the other) will only be executed the first time it is called. --------------------------------------------------------------- on shutDownRequest answer information "Are you sure you want to quit?" with "Quit" or "Don't Quit" as sheet if it is "Quit" then pass shutDownRequest end shutDownRequest --------------------------------------------------------------- on appleEvent theClass,theID if theClass is "aevt" and theID is "quit" then answer information "Are you sure you want to quit?" with "Quit" or "Don't Quit" as sheet if it is "Quit" then pass appleEvent end if end appleEvent --------------------------------------------------------------- I can reproduce this "works only the first time" behavior. Here is how I did it: 1. Create a stack. Let's call it "splashtest". Save it as "splashtest.rev". Add this handler to the stack script: on openStack wait 2 seconds -- so we can see we're here hide this stack go stack "maintest.rev" end openStack 2. Save and close the stack. 3. Now create that "maintest" stack and save it in a file named "maintest.rev". Add this handler to the stack script: on shutDownRequest answer information "Quit?" with "Quit" or "Cancel" if it is "Quit" then pass shutDownRequest end onShutDownRequest 4. Save and close the stack. 5. Create a Distribution using "splashtest.rev" as the main stack to which the engine will be attached. Add "maintest.rev" to the distribution, as well. Make sure you check the Answer Dialog inclusion. Build it. 6. Run the app. Select "Quit" from the app menu. You'll get the confirmation dialog. Click "Cancel" and the app will stay running. Select "Quit" from the app menu again. The app will just quit. QED. This is an OSX bug. I have the stacks and the compiled app I can eMail to anyone who is interested. Barry From kray at sonsothunder.com Sun Sep 7 01:35:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 7 01:35:01 2003 Subject: how to detect stack needs to be saved In-Reply-To: Message-ID: <02c401c37509$4714b240$6501a8c0@LightningFlash> There isn't one, AFAIK. It would be nice to have a "lastModified" property that would provide the date/time of last modification and if it were empty you'd know it hadn't been modified at all... 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 Tamblyn > Sent: Sunday, September 07, 2003 10:44 PM > To: use-revolution at lists.runrev.com > Subject: how to detect stack needs to be saved > > > What property do you check to determine if a stack needs to be saved > (ie has been modified in memory)? > > ~ R > -- > 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 > From rodneytamblyn at paradise.net.nz Sun Sep 7 02:44:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sun Sep 7 02:44:00 2003 Subject: how to detect stack needs to be saved In-Reply-To: <02c401c37509$4714b240$6501a8c0@LightningFlash> Message-ID: This is an obvious one to add to the request list I think! Will bugzilla it. ~ Rodney On Sunday, September 7, 2003, at 06:27 PM, Ken Ray wrote: > There isn't one, AFAIK. It would be nice to have a "lastModified" > property that would provide the date/time of last modification and if > it > were empty you'd know it hadn't been modified at all... > > 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 Tamblyn >> Sent: Sunday, September 07, 2003 10:44 PM >> To: use-revolution at lists.runrev.com >> Subject: how to detect stack needs to be saved >> >> >> What property do you check to determine if a stack needs to be saved >> (ie has been modified in memory)? >> >> ~ R >> -- >> 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 >> > > > _______________________________________________ > 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 rodneytamblyn at paradise.net.nz Sun Sep 7 02:48:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sun Sep 7 02:48:00 2003 Subject: about backgroundbehaviour and message passing Message-ID: <5406592A-E1D0-11D7-A22E-003065F97100@paradise.net.nz> Setting the backgroundbehaviour of a group to true causes it to be added to the message passing hierarchy after the card. As a result it receives all the card events such as opencard, preopencard, closecard etc. The events opengroup and closegroup (as well as openbackground & closebackground which are included for Hypercard compatability) are only sent to groups who backgroundbehaviour is set to true. I think that opengroup and closegoup should be sent to all groups. In the situation where you want groups that only respond to events generated by controls that are amongst it's children, you must manually send events such as opencard, opengroup etc if you need them. Therefore I've found it best to set backgroundbehaviour to false, and have a handlers (at stack or library level) which respond to opencard, closecard, preopencard etc, gets the groups of the card, and sends it the desired event. To ensure groups receive initiator messages (such as opencard, preopencard) while still preventing them from receiving events originated by objects which are not their children do the following: Place a handler on preclosecard which inspects the groups on the card and determines which should receive events (eg by checking name or a custom property). For those that need to receive events, set the backgroundbehaviour to true. Now the opencard message will propagate up through the card, through the groups (which now have backgroundbehaviour enabled), and when it reaches the stack level, the reverse handler will set the backgroundbehaviour to false - ensuring the group only receives events generated by it's children and not other objects on the card. In stack script, all groups have now received opencard, check which shouldn't have backgroundbehaviour In stack script: groups won't receive this, so send it to them on preclosecard #use whatever mechanism you need to work out which grps need this done repeat for each line x in the customPropertySets of the target #ie the card if there is a group x then set the backgroundbehaviour of group x to false #could also send them a preclose msg here, probably best not to send them preclosecard, use grppreclose or #something else end repeat end preclosecard on opencard set the backgroundbehaviour of me to false #removes grp from message heirarchy pass opencard end opencard One side effect is that when you create new cards the groups will be placed on them, which may well be what you want anyway - but you need to bear this in mind. Your comments on the above solution & whether there is a better way to achieve what I want would be of interest. Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From klaus at major-k.de Sun Sep 7 05:58:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 7 05:58:00 2003 Subject: REQ: Calendar control. In-Reply-To: <222EBC0F-E0BA-11D7-A9BD-00039387AE90@mac.com> Message-ID: <4E0C4F6D-E121-11D7-B0D9-000A27B49A96@major-k.de> Hi Andre and Ken and all, > On Saturday, September 6, 2003, at 06:46 PM, Ken Ray wrote: > >>> Isn't Sean nice?! ;-) >> >> Yes, she is. I especially like libSMTP... :-) > > She... oh boy, I commited a major error in my mail... I am Brazilian, > I have trouble with name endings in foreing languages... > > i am sorry, i am sorry!!!!!! Stay cool... ;-) I don't think that i will tell a secret but Sean is a boy (Its a boy!) :-) Regards Klaus Major klaus at major-k.de www.major-k.de From thierry.arbellot at wanadoo.fr Sun Sep 7 08:20:01 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sun Sep 7 08:20:01 2003 Subject: shutDownRequest ignored - yes, it -is- a reproducible bug In-Reply-To: Message-ID: Barry, I have tried your example and I can make it work : I just added the shutdownRequest handler in BOTH stacks. The first time I select the "Quit" menu, the "shutdownRequest" message is sent to the "maintest" stack. But, from the 2nd time, the message is sent to the "splashtest" stack. Actually, it's a bug. The documentation says the "shutdownRequest" message is sent to the current stack, that is defined by the defaultStack property. The defaultStack property is always sets to "maintest". Then the "shutdownRequest" message should always be sent to the "maintest" stack. Hope it helps. Thierry On Sunday, September 7, 2003, at 07:56 AM, Barry Levine wrote: > Consider the following two handlers. Both allegedly will intercept the > "Quit" when selected from the OSX app menu. In both cases, with > multi-stack apps, either handler (I only use one or the other) will > only be executed the first time it is called. > --------------------------------------------------------------- > on shutDownRequest > answer information "Are you sure you want to quit?" with "Quit" or > "Don't Quit" as sheet > if it is "Quit" then pass shutDownRequest > end shutDownRequest > --------------------------------------------------------------- > on appleEvent theClass,theID > if theClass is "aevt" and theID is "quit" then > answer information "Are you sure you want to quit?" with "Quit" or > "Don't Quit" as sheet > if it is "Quit" then pass appleEvent > end if > end appleEvent > --------------------------------------------------------------- > > I can reproduce this "works only the first time" behavior. Here is how > I did it: > > 1. Create a stack. Let's call it "splashtest". Save it as > "splashtest.rev". Add this handler to the stack script: > > on openStack > wait 2 seconds -- so we can see we're here > hide this stack > go stack "maintest.rev" > end openStack > > 2. Save and close the stack. > > 3. Now create that "maintest" stack and save it in a file named > "maintest.rev". Add this handler to the stack script: > > on shutDownRequest > answer information "Quit?" with "Quit" or "Cancel" > if it is "Quit" then pass shutDownRequest > end onShutDownRequest > > 4. Save and close the stack. > > 5. Create a Distribution using "splashtest.rev" as the main stack to > which the engine will be attached. Add "maintest.rev" to the > distribution, as well. Make sure you check the Answer Dialog > inclusion. Build it. > > 6. Run the app. Select "Quit" from the app menu. You'll get the > confirmation dialog. Click "Cancel" and the app will stay running. > Select "Quit" from the app menu again. The app will just quit. > > QED. This is an OSX bug. I have the stacks and the compiled app I can > eMail to anyone who is interested. > > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From psahores at easynet.fr Sun Sep 7 08:36:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Sep 7 08:36:00 2003 Subject: REQ: Calendar control. In-Reply-To: <4E0C4F6D-E121-11D7-B0D9-000A27B49A96@major-k.de> References: <4E0C4F6D-E121-11D7-B0D9-000A27B49A96@major-k.de> Message-ID: <1062941426.2709.18.camel@www.kmax.ici> Plaese Friends, it's enough with this thread ! As long as we know something about the beauty of life and sharing the best we can with each other, there are no one diffrence between girls and boys able to make them as diffrent as it would be best to be a girl or a boy. Both, we are first human persons and we need, before any other consideration, to respect us for our humanity (elegance), our complementarity and our differences. Any other idea is directly driving us to be back just poor and stupid animals. Regards, Pierre Sahores Le dim 07/09/2003 ? 12:51, Klaus Major a ?crit : > Hi Andre and Ken and all, > > > On Saturday, September 6, 2003, at 06:46 PM, Ken Ray wrote: > > > >>> Isn't Sean nice?! ;-) > >> > >> Yes, she is. I especially like libSMTP... :-) > > > > She... oh boy, I commited a major error in my mail... I am Brazilian, > > I have trouble with name endings in foreing languages... > > > > i am sorry, i am sorry!!!!!! > > Stay cool... ;-) > > I don't think that i will tell a secret but Sean is a boy (Its a boy!) > :-) > > > 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 anncopal at mac.com Sun Sep 7 09:17:00 2003 From: anncopal at mac.com (Annemieke Copal) Date: Sun Sep 7 09:17:00 2003 Subject: Novice developer: problem with Buidl Distribution... Message-ID: Hello, I'm a novice user of Revolution version 2.0, which came with de magazine MacWorld. I tried to build a simple standalone programe for MacOSX, which contains a textfield, a button and an image. The only thing the programe should do, is make the image visible and invisible. I tried the programe in "Browse" mode, and it worked.. so i wanted to try to build the distribution. I followed the 3 steps, but when compiling, the following massage appeared: Can't open destination standalonefile /Macintosh HD/Users/[my username]/Documents/[custom made directory]/Revolution 2.0.1/[another custom made directory]/Standalone_MacOSX_testje/Testje.app/Contents/MacOS/Revelution The only files in the directory Standalone_MacOSX_testje are the subdir Data (which is empty because I had only one stack), and the mainstackfile klik.rev I do not understand what went wrong, and I can't find a clue in the documentation. Can somebody please help me with this problem, because I would like to explore te prossibilities of Revolution, but without runnen programes that's not possible.. Greetings, Annemieke Copal -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1168 bytes Desc: not available URL: From plsntbreez at mac.com Sun Sep 7 09:17:22 2003 From: plsntbreez at mac.com (Brian K. Maher) Date: Sun Sep 7 09:17:22 2003 Subject: No Shell on OS X? Message-ID: <9494BDB2-E098-11D7-B784-000393020FF0@mac.com> Hi Folks, I am trying to use the shell() function on OS X (Rev 2.1, OS X 10.2.6) and am getting the following error: Handler: can't find handler Object: Button 1 Line: shell("ls -l") Hint: shell Does anyone have any ideas why this will not work? Thanks, Brian From derekbronston at earthlink.net Sun Sep 7 09:17:31 2003 From: derekbronston at earthlink.net (derek bronston) Date: Sun Sep 7 09:17:31 2003 Subject: MP3 on WIndows In-Reply-To: <026d01c374a9$753c7fa0$6501a8c0@LightningFlash> Message-ID: <96FC7CBA-E0B9-11D7-B284-0030657FA6E8@earthlink.net> Is it possible to play an MP3 on a windows box? that doesn't have quicktime installed? Thanks derek From cc129 at wanadoo.fr Sun Sep 7 09:17:42 2003 From: cc129 at wanadoo.fr (Charles COHN) Date: Sun Sep 7 09:17:42 2003 Subject: How to translate some default dialogs ? Message-ID: everything works now. I have an othe question for you :I?d like to translate some dialogs in french, i.e when i create a text file with the ask file command and this file already exists. I then have a dialog in english like ? a file with this name aleady exists, would you like to replace it... Where can I intercept and/or modify this text. I?ve tried to look at the doc and the revStacks, but didn?t find it. Could you help me ? I?m running on MacOs X -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Sun Sep 7 09:41:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Sep 7 09:41:01 2003 Subject: about backgroundbehaviour and message passing In-Reply-To: <5406592A-E1D0-11D7-A22E-003065F97100@paradise.net.nz> Message-ID: <759BE181-E140-11D7-A67C-000A9567A3E6@swcp.com> On Monday, September 8, 2003, at 01:44 AM, Rodney Tamblyn wrote: > Your comments on the above solution & whether there is a better way to > achieve what I want would be of interest. I think this is a general problem for all controls, whether groups or not, whether shared or not. You might consider 'send "openControl" to * in -1' in preOpenCard at the stack script where * doesn't work but reminds you to make a loop. This means that groups get them more than once and the target should be checked in their handlers (if they have them). This way your 'list' is those controls with the defined handler. I don't know if these will execute before or after openCard. (BTW, some groups do not see the background behind the card in the message path.) Dar Scott From klaus at major-k.de Sun Sep 7 09:44:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 7 09:44:01 2003 Subject: No Shell on OS X? In-Reply-To: <9494BDB2-E098-11D7-B784-000393020FF0@mac.com> Message-ID: Hi Brian, > Hi Folks, > > I am trying to use the shell() function on OS X (Rev 2.1, OS X 10.2.6) > and am getting the following error: > > Handler: can't find handler > Object: Button 1 > Line: shell("ls -l") > Hint: shell > > Does anyone have any ideas why this will not work? The correct syntax is: put shell("ls -l") into fld 1 or get shell("ls -l") etc... Hope that helps... > Thanks, Brian Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Sun Sep 7 09:47:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 7 09:47:01 2003 Subject: MP3 on WIndows In-Reply-To: <96FC7CBA-E0B9-11D7-B284-0030657FA6E8@earthlink.net> Message-ID: <41BB0A3D-E141-11D7-B0D9-000A27B49A96@major-k.de> Hi Derek, > Is it possible to play an MP3 on a windows box? that doesn't have > quicktime installed? Put it into a player object and it will surely work :-) (Hint: No controller available! This is a QT-only feature!) WMP (Windoze Media Player) >= 6.4 has to be installed on the pc. Chances are good that it already is ;-) Just check it out, worked here for me on my win2000 Pro box... And on win98SE, if i remember well... > Thanks > > derek Regards Klaus Major klaus at major-k.de www.major-k.de From revolution at knowledgeworks.plus.com Sun Sep 7 10:24:00 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Sun Sep 7 10:24:00 2003 Subject: On the topic of XML-RPC, input needed... Message-ID: <20030907161810.knowledgeworks@Plus.Net> Hi Andre I couldn't remember if anyone had pointed this out to you , but you can search the archive of this list (and the Metacard list). You might find some useful stuff on CGI or the Metacard httpd there... http://mindlube.com/cgi-bin/search-use-rev.cgi I don't think that the mindlube site searches the Metacard archive, but you can search that here: http://www.google.com/advanced_search?q=site:lists.runrev.com I searched the archives and couldn't find anything to suggest that these search facilities had been pointed out to you. Regards, Bernard From klaus at major-k.de Sun Sep 7 10:28:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 7 10:28:00 2003 Subject: Novice developer: problem with Buidl Distribution... In-Reply-To: Message-ID: <019FC6C6-E147-11D7-B0D9-000A27B49A96@major-k.de> Dag Annemieke, > Hello, > > I'm a novice user of Revolution version 2.0, which came with de > magazine MacWorld. I tried to build a simple standalone programe for > MacOSX, which contains a textfield, a button and an image. The only > thing the programe should do, is make the image visible and invisible. > I tried the programe in "Browse" mode, and it worked.. so i wanted to > try to build the distribution. I followed the 3 steps, but when > compiling, the following massage appeared: > > Can't open destination standalonefile /Macintosh HD/Users/[my > username]/Documents/[custom made directory]/Revolution 2.0.1/[another > custom made > directory]/Standalone_MacOSX_testje/Testje.app/Contents/MacOS/ > Revelution > > The only files in the directory Standalone_MacOSX_testje are the > subdir Data (which is empty because I had only one stack), and the > mainstackfile klik.rev > I do not understand what went wrong, and I can't find a clue in the > documentation. Can somebody please help me with this problem, because > I would like to explore te prossibilities of Revolution, but without > runnen programes that's not possible.. Quick thought: Are you sure there are no "special" (?) chars like german umlauts or accents etc... in the pathname. In that case you will get that error... This was my offending foldername: .../MMRR f?r alle/... After renaming it to: .../MMRR for all/... i had no more trouble with the standalonebuilder... Its a bug and already "bugzilla"-d.. One of my two personal bugs :-) Hope that helps... > Greetings, > Annemieke Copal Regards Klaus Major klaus at major-k.de www.major-k.de From rcozens at pon.net Sun Sep 7 10:31:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Sun Sep 7 10:31:01 2003 Subject: Novice developer: problem with Buidl Distribution... In-Reply-To: References: Message-ID: >The only files in the directory Standalone_MacOSX_testje are the >subdir Data (which is empty because I had only one stack), and the >mainstackfile klik.rev >I do not understand what went wrong, and I can't find a clue in the >documentation. Can somebody please help me with this problem, >because I would like to explore te prossibilities of Revolution, but >without runnen programes that's not possible.. Hi Annemieke, Hold down , click on the standalone, select "Show Package Contents", and open the nested folders you find there...all will be revealed. Note: there are path name issues here when locating files and folders in your standalone on OS X vs another platform. Here's how I work around this [posted 25 Aug]: >> 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. << BTW, one CAN explore without building a standalone: create your stack, select "Suspend Development Tools" from from the Development menu, and your stack will behave virtually identically to the standalone. If you encounter an error, you can turn on the Dev environment, change your handlers and/or add new controls, turn the Dev environment off, and continue testing. [Except when using locally-declared variables...which always get reset when a handler referencing them is modified.*] Bottom line, unlike C, FORTRAN, & other traditional approaches to app building, one does NOT have to compile one's code before testing it. * Kevin, et al: I hope fixing this is getting somewhere up your ToDo List, as it continues to be a major slowdown when I'm testing to have to purge everything and run the app back to the the state it was in when I opened the editor. -- 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 Sun Sep 7 10:39:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 7 10:39:00 2003 Subject: REQ: Calendar control. In-Reply-To: <1062941426.2709.18.camel@www.kmax.ici> Message-ID: <7D59F86E-E148-11D7-B0D9-000A27B49A96@major-k.de> Bon jour Pierre, > Plaese Friends, it's enough with this thread ! > > As long as we know something about the beauty of life and sharing the > best we can with each other, there are no one diffrence between girls > and boys able to make them as diffrent as it would be best to be a girl > or a boy. > > Both, we are first human persons and we need, before any other > consideration, to respect us for our humanity (elegance), our > complementarity and our differences. > > Any other idea is directly driving us to be back just poor and stupid > animals. > > Regards, Pierre Sahores You cannot mean this seriously! Can someone please supply the french words for "fun", "funny", "joke", "light hearted", "kidding", "enjoy" etc...? Merci beaucoup/thanks a lot... Regards Klaus Major klaus at major-k.de www.major-k.de From pbsi at mac.com Sun Sep 7 10:40:00 2003 From: pbsi at mac.com (Brian K. Maher) Date: Sun Sep 7 10:40:00 2003 Subject: No Shell on OS X? In-Reply-To: Message-ID: Oops ... sorry folks, this was a duplicate email From shaosean at unitz.ca Sun Sep 7 11:09:01 2003 From: shaosean at unitz.ca (Shao Sean) Date: Sun Sep 7 11:09:01 2003 Subject: REQ: Calendar control. In-Reply-To: <1062941426.2709.18.camel@www.kmax.ici> Message-ID: <000a01c37559$82f52970$fe42fea9@ciceronvv6jwd4> mind you, she does make a nice calendar control ;-) -----Original Message----- Please Friends, it's enough with this thread ! From sims at ezpzapps.com Sun Sep 7 11:45:07 2003 From: sims at ezpzapps.com (sims) Date: Sun Sep 7 11:45:07 2003 Subject: REQ: Calendar control. In-Reply-To: <000a01c37559$82f52970$fe42fea9@ciceronvv6jwd4> References: <000a01c37559$82f52970$fe42fea9@ciceronvv6jwd4> Message-ID: >mind you, she does make a nice calendar control ;-) ...and email library! atb sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From shaosean at unitz.ca Sun Sep 7 11:51:01 2003 From: shaosean at unitz.ca (Shao Sean) Date: Sun Sep 7 11:51:01 2003 Subject: REQ: Calendar control. In-Reply-To: Message-ID: <000b01c3755f$4693f370$fe42fea9@ciceronvv6jwd4> actually, i'm not too overly happy with it.. it probably has to do more with my lack of understanding of transcript than with the smtp protocol =/ i still need to figure out how to get all the unicode support added in *sigh* lots of work, but am taking a small break to work on a nice new library (as mentioned on my website ;-) -Sean -----Original Message----- ...and email library! From mcdomi at free.fr Sun Sep 7 11:55:01 2003 From: mcdomi at free.fr (Dom) Date: Sun Sep 7 11:55:01 2003 Subject: Putting stacks on a web site: doc or standalone? In-Reply-To: <70C47675-E088-11D7-BC62-000A27B49A96@major-k.de> Message-ID: <1g0xgu5.1j4720d2t6o0M%mcdomi@free.fr> Klaus Major wrote: > this thought IS obsolete at all, since there is no free StarteKit > anymore... All right! Thus, the lack of a Player is obvious.... -- From mcdomi at free.fr Sun Sep 7 11:55:10 2003 From: mcdomi at free.fr (Dom) Date: Sun Sep 7 11:55:10 2003 Subject: Putting stacks on a web site: doc or standalone? In-Reply-To: Message-ID: <1g0xgwy.wyo20u1pgjx3cM%mcdomi@free.fr> Alex Rice wrote: > A lot of users won't even try software that requires a player or runtime > to be downloaded or installed. And if it doesn't come with an installer... You're right! As I can read in the news groups, people are often searching for a "software"... ready to use. > I guess it depends on who the audience is! Totally newbies, for a part; other MC/Rev users, for another part. -- From mcdomi at free.fr Sun Sep 7 11:55:19 2003 From: mcdomi at free.fr (Dom) Date: Sun Sep 7 11:55:19 2003 Subject: Putting stacks on a web site: doc or standalone? In-Reply-To: <2A228F41-E091-11D7-B23F-0030656FB5D4@shafermedia.com> Message-ID: <1g0xi66.1l37wtrgi0xjM%mcdomi@free.fr> Dan Shafer wrote: > I agree with Alex here. I'd use a compressed standalone if the intent > is for users to download and run the product/application from the Web. OK... a download stack, such as "tmpanel", plus standalone capabilites? -- From graham.samuel at wanadoo.fr Sun Sep 7 12:39:00 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Sun Sep 7 12:39:00 2003 Subject: Why does my hilitedIcon stop flashing? Message-ID: <5.2.1.1.0.20030907170338.00c4bd70@pop.wanadoo.fr> I created a square button and chose its hilitedIcon to be one of the standard icons - the little flashing alarm triangle. I hilited the button from the message box and it flashed for a bit then stopped. I can't see why - nothing I can find in the docs. The other moving icons seem to work OK. Obviously I can make my own animated GIF, but maybe I'm doing something wrong - has anyone else seen this? Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From themacguy at macosx.com Sun Sep 7 13:05:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Sep 7 13:05:00 2003 Subject: shutDownRequest ignored - yes, it -is- a reproducible bug - Workaround works! In-Reply-To: <200309071342.JAA28466@www.runrev.com> Message-ID: <24780D2A-E15D-11D7-A755-000A95763ABC@macosx.com> Thierry, Thanks -very- much for your assistance. I added the same handler to the splash stack but, in each handler, added something to tell me which stack's handler was executing. As you've said, from the second time and beyond, the handler in the splash stack (the "engine") is executing while the other stack's handler is ignored. And it does appear that the addition of the handler to the "engine" stack is a good workaround. (fine minutes later) I just tried the solution on my "real" app and it works fine. I'll add to my bug report (#536). I salute you! Thanks again. Regards, Barry On Sunday, Sep 7, 2003, at 07:42 America/Denver, Thierry wrote: > Date: Sun, 7 Sep 2003 15:03:57 +0200 > Subject: Re: shutDownRequest ignored - yes, it -is- a reproducible bug > From: Thierry Arbellot > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Barry, > > I have tried your example and I can make it work : > I just added the shutdownRequest handler in BOTH stacks. > > The first time I select the "Quit" menu, the "shutdownRequest" message > is sent to the "maintest" stack. > But, from the 2nd time, the message is sent to the "splashtest" stack. > > Actually, it's a bug. > > The documentation says the "shutdownRequest" message is sent to the > current stack, that is defined by the defaultStack property. > The defaultStack property is always sets to "maintest". > Then the "shutdownRequest" message should always be sent to the > "maintest" stack. > > Hope it helps. > > Thierry > > On Sunday, September 7, 2003, at 07:56 AM, Barry Levine wrote: > >> Consider the following two handlers. Both allegedly will intercept the >> "Quit" when selected from the OSX app menu. In both cases, with >> multi-stack apps, either handler (I only use one or the other) will >> only be executed the first time it is called. >> --------------------------------------------------------------- >> on shutDownRequest >> answer information "Are you sure you want to quit?" with "Quit" or >> "Don't Quit" as sheet >> if it is "Quit" then pass shutDownRequest >> end shutDownRequest >> --------------------------------------------------------------- >> on appleEvent theClass,theID >> if theClass is "aevt" and theID is "quit" then >> answer information "Are you sure you want to quit?" with "Quit" or >> "Don't Quit" as sheet >> if it is "Quit" then pass appleEvent >> end if >> end appleEvent >> --------------------------------------------------------------- >> >> I can reproduce this "works only the first time" behavior. Here is how >> I did it: >> >> 1. Create a stack. Let's call it "splashtest". Save it as >> "splashtest.rev". Add this handler to the stack script: >> >> on openStack >> wait 2 seconds -- so we can see we're here >> hide this stack >> go stack "maintest.rev" >> end openStack >> >> 2. Save and close the stack. >> >> 3. Now create that "maintest" stack and save it in a file named >> "maintest.rev". Add this handler to the stack script: >> >> on shutDownRequest >> answer information "Quit?" with "Quit" or "Cancel" >> if it is "Quit" then pass shutDownRequest >> end onShutDownRequest >> >> 4. Save and close the stack. >> >> 5. Create a Distribution using "splashtest.rev" as the main stack to >> which the engine will be attached. Add "maintest.rev" to the >> distribution, as well. Make sure you check the Answer Dialog >> inclusion. Build it. >> >> 6. Run the app. Select "Quit" from the app menu. You'll get the >> confirmation dialog. Click "Cancel" and the app will stay running. >> Select "Quit" from the app menu again. The app will just quit. >> >> QED. This is an OSX bug. I have the stacks and the compiled app I can >> eMail to anyone who is interested. >> >> 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 klaus at major-k.de Sun Sep 7 13:13:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 7 13:13:01 2003 Subject: Why does my hilitedIcon stop flashing? In-Reply-To: <5.2.1.1.0.20030907170338.00c4bd70@pop.wanadoo.fr> Message-ID: Hi Graham, > I created a square button and chose its hilitedIcon to be one of the > standard icons - the little flashing alarm triangle. I hilited the > button from the message box and it flashed for a bit then stopped. I > can't see why - nothing I can find in the docs. The other moving icons > seem to work OK. Obviously I can make my own animated GIF, but maybe > I'm doing something wrong - has anyone else seen this? DON'T PANIC!!! ;-) That image is definitively a "bluff package" ;-) A deeper look in ImageReady affirmed my first guess: The gif-file is supposed to only blink about 10 times and then yellow and nada... Bad case of "blinkenlights" :-) Hope that helps... > Graham > > --------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France Regards Klaus Major klaus at major-k.de www.major-k.de From thierry.arbellot at wanadoo.fr Sun Sep 7 13:28:00 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sun Sep 7 13:28:00 2003 Subject: How to translate some default dialogs ? In-Reply-To: Message-ID: <1BDB3D4C-E160-11D7-AFBF-000A27E40768@wanadoo.fr> bonjour Charles, I have a solution to have all system messages, menus (like App menu, Quit, Help), file selection dialog, etc.. in your preferred language, the one you have defined in the system preferences : Quit Revolution Open the Revolution folder Select the Revolution app and show the package contents Open the Contents then the Resources folder Create inside the Resources folder a new folder, name it "French.lproj" From now, your copy of Revolution should display some menus and messages in French. Rebuild your app (Revolution will copy the French.lproj folder in your app package) Your app should display systems menus, messages in French. Hope it answers your question. Bonne chance. Thierry. On Sunday, September 7, 2003, at 10:28 AM, Charles COHN wrote: > everything works now. > I have an othe question for you :I?d like to translate some dialogs in > french, i.e when i create a text file with the ask file command and > this file already exists. > I then have a dialog in english like ? a file with this name aleady > exists, would you like to replace it... > Where can I intercept and/or modify this text. > I?ve tried to look at the doc and the revStacks, but didn?t find it. > Could you help me ? > I?m running on MacOs X -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1302 bytes Desc: not available URL: From pixelbird at interisland.net Sun Sep 7 14:48:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Sep 7 14:48:00 2003 Subject: MP3 on WIndows In-Reply-To: <200309071602.MAA02463@www.runrev.com> Message-ID: Hello Klaus & Derek, > Date: Sun, 7 Sep 2003 16:40:42 +0200 > Subject: Re: MP3 on WIndows > From: Klaus Major > > Hi Derek, > >> Is it possible to play an MP3 on a windows box? that doesn't have >> quicktime installed? > > Put it into a player object and it will surely work :-) > (Hint: No controller available! This is a QT-only feature!) ---------- So, why not install QT? It's easy and free. Ken N. From yvescoppe at skynet.be Sun Sep 7 15:12:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun Sep 7 15:12:00 2003 Subject: MenuBar in Mac OS X Message-ID: Hello list, Working on Mac OS X 10.2.6 FR with Rev 2.1 I will ask something it has already been discussed before but I don't find a solution. I've made a simple stack with Rev 2.1. Metal decorations. Buid distribution. Good. Now i'd like to add a menuBar when I build the distribution app, and open my app afterwards, the stack's height is truncated of the height of the menubar's height. how can I retrieve my normal stack's height. I've tried : on preopenstack set the height of stack "xxx" to "yyy" end preopenstack but it doesn't work fine. Thanks. Greetings. Yves COPPE yvescoppe at skynet.be From pixelbird at interisland.net Sun Sep 7 15:35:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Sep 7 15:35:00 2003 Subject: Putting stacks on a web site: doc or standalone? In-Reply-To: <200309071602.MAA02463@www.runrev.com> Message-ID: Hi Dom, > Subject: Re: Putting stacks on a web site: doc or standalone? > From: mcdomi at free.fr (Dom) > Date: Sun, 7 Sep 2003 18:49:25 +0200 > > Dan Shafer wrote: > >> I agree with Alex here. I'd use a compressed standalone if the intent >> is for users to download and run the product/application from the Web. > > OK... a download stack, such as "tmpanel", plus standalone capabilites? ---------- Sort of. Make a standalone *anything* and it will have the runtime engine. When you open it, the engine runs and you can open other stacks. Any standalone app *is* a player, so there is no need for a separate player. It's one of the first things I realized about Rev. You want a player? Make a standalone that says "WhatChaMaCallIt PLAYER" on the first card if you like, then send the window offscreen after a few seconds. That's all. Your RR/MC engine is running. Of course, everyone here mostly uses the standalone to put up their own splash window with RR and other credits, and initializing processes while it's onscreen. Anyway, all you have to do is have your users download a folder with the standalone and stacks, and a doc that tells them where to put the stacks, or an installer module that does it the first time from the app, according to platform requirements. Having a separate "Player" is unnecessary. Ken N. From klaus at major-k.de Sun Sep 7 15:47:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 7 15:47:00 2003 Subject: MP3 on WIndows In-Reply-To: Message-ID: <92AABFDC-E173-11D7-B0D9-000A27B49A96@major-k.de> Hi Ken, > Hello Klaus & Derek, > >> Date: Sun, 7 Sep 2003 16:40:42 +0200 >> Subject: Re: MP3 on WIndows >> From: Klaus Major >> >> Hi Derek, >> >>> Is it possible to play an MP3 on a windows box? that doesn't have >>> quicktime installed? >> >> Put it into a player object and it will surely work :-) >> (Hint: No controller available! This is a QT-only feature!) > ---------- > So, why not install QT? It's easy and free. No question ;-) But there are still some people who won't install QT for whatever reason... > Ken N. Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Sun Sep 7 15:51:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 7 15:51:01 2003 Subject: How to translate some default dialogs ? In-Reply-To: <1BDB3D4C-E160-11D7-AFBF-000A27E40768@wanadoo.fr> Message-ID: <119F41FD-E174-11D7-B0D9-000A27B49A96@major-k.de> Bon soir Thierry, > bonjour Charles, > > I have a solution to have all system messages, menus (like App menu, > Quit, Help), > file selection dialog, etc.. in your preferred language, the one you > have defined in the system preferences : > > Quit Revolution > Open the Revolution folder > Select the Revolution app and show the package contents > Open the Contents then the Resources folder > Create inside the Resources folder a new folder, name it "French.lproj" > > From now, your copy of Revolution should display some menus and > messages in French. > > Rebuild your app (Revolution will copy the French.lproj folder in your > app package) > > Your app should display systems menus, messages in French. > > Hope it answers your question. This is waaaaaaay coooool :-) Thanks a lot for sharing this jewel. Works also fine with a "German.lproj" :-) I didn't know about this "dummy" folder... Now at last i have a german "Beenden" instead of "Quit" :-) > Bonne chance. > > Thierry. Regards Klaus Major klaus at major-k.de www.major-k.de From rodneytamblyn at paradise.net.nz Sun Sep 7 15:59:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sun Sep 7 15:59:01 2003 Subject: about backgroundbehaviour and message passing In-Reply-To: <759BE181-E140-11D7-A67C-000A9567A3E6@swcp.com> Message-ID: On Monday, September 8, 2003, at 02:34 AM, Dar Scott wrote: > > On Monday, September 8, 2003, at 01:44 AM, Rodney Tamblyn wrote: > >> Your comments on the above solution & whether there is a better way >> to achieve what I want would be of interest. > > I think this is a general problem for all controls, whether groups or > not, whether shared or not. Yes but it's particularly relevant to groups I think, because they represent logical collections of controls. > > You might consider 'send "openControl" to * in -1' in preOpenCard at > the stack script where * doesn't work but reminds you to make a loop. > This means that groups get them more than once and the target should > be checked in their handlers (if they have them). Yes this is a variation on the approach I used until now. I removed discussing this from my posting because it was already getting long and complicated! I think that temporarily setting backgroundbehavour is superior because you avoid the duplicate message scenario. > This way your 'list' is those controls with the defined handler. I > don't know if these will execute before or after openCard. > > (BTW, some groups do not see the background behind the card in the > message path.) Yes, all groups that do not have their backgroundbehavour enabled, right? Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From yoy at comcast.net Sun Sep 7 16:16:01 2003 From: yoy at comcast.net (yoy) Date: Sun Sep 7 16:16:01 2003 Subject: Replicate w/ rotate of graphic item doesn't work. Message-ID: <000801c37584$479adc50$b2ea5144@fatal7lcf637rj> I've drawn a line (graphic object) and it's selected. I go to Edit->Replicate menu to replicate it three times with 0 offsets, and want to rotate each replication 45 degrees (a simple "scope" crosshair indicator) but the Rotate field is dimmed. What's wrong here (Win2k/Rev 2.1)? TIA, Andy From klaus at major-k.de Sun Sep 7 16:26:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 7 16:26:01 2003 Subject: Replicate w/ rotate of graphic item doesn't work. In-Reply-To: <000801c37584$479adc50$b2ea5144@fatal7lcf637rj> Message-ID: Hi Andy, > I've drawn a line (graphic object) and it's selected. I go to > Edit->Replicate menu to replicate it three times with 0 offsets, and > want to > rotate each replication 45 degrees (a simple "scope" crosshair > indicator) > but the Rotate field is dimmed. Change the style of the grc to "polygon", THEN it can also be rotated. "line" graphics cannot be rotated. > What's wrong here (Win2k/Rev 2.1)? Nothing so far ;-) Hope that helps... > TIA, > > Andy Regards Klaus Major klaus at major-k.de www.major-k.de From themacguy at macosx.com Sun Sep 7 16:35:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Sep 7 16:35:01 2003 Subject: Disable OSX App's menu? Message-ID: <787CE965-E17A-11D7-AFB8-000A95763ABC@macosx.com> How does one disable the app menu in OSX? It doesn't look like "disable menu 1" does anything for OSX. TIA, Barry From kray at sonsothunder.com Sun Sep 7 16:48:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 7 16:48:01 2003 Subject: Disable OSX App's menu? In-Reply-To: <787CE965-E17A-11D7-AFB8-000A95763ABC@macosx.com> Message-ID: <033c01c37588$e3b9c2f0$6501a8c0@LightningFlash> Uh, why would you want to disable the app menu? Wouldn't that sort of be the same as hiding the menubar? Just looking for what you're trying to do here... 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: Sunday, September 07, 2003 4:30 PM > To: use-revolution at lists.runrev.com > Subject: Disable OSX App's menu? > > > How does one disable the app menu in OSX? It doesn't look > like "disable > menu 1" does anything for OSX. > > TIA, > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From pixelbird at interisland.net Sun Sep 7 17:32:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Sep 7 17:32:00 2003 Subject: Replicate w/ rotate of graphic item doesn't work. In-Reply-To: <200309072050.QAA11188@www.runrev.com> Message-ID: Hi Yoy, > From: "yoy" > Subject: Replicate w/ rotate of graphic item doesn't work. > Date: Sun, 7 Sep 2003 17:09:03 -0400 > > I've drawn a line (graphic object) and it's selected. I go to > Edit->Replicate menu to replicate it three times with 0 offsets, and want to > rotate each replication 45 degrees (a simple "scope" crosshair indicator) > but the Rotate field is dimmed. > > What's wrong here (Win2k/Rev 2.1)? ---------- Nothing is wrong. Replicate or Duplicate means creating a copy or multiples of the same exact thing. Duplicate, rotate it 45 degrees, Duplicate that and rotate it 45 degrees, etc. If you have lots of them to make, then you should write a script or multiline messsage. HTH, Ken N. From pixelbird at interisland.net Sun Sep 7 17:54:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Sep 7 17:54:01 2003 Subject: Replicate w/ rotate of graphic item doesn't work. In-Reply-To: <200309072050.QAA11188@www.runrev.com> Message-ID: > Date: Sun, 7 Sep 2003 23:19:20 +0200 > Subject: Re: Replicate w/ rotate of graphic item doesn't work. > From: Klaus Major > Change the style of the grc to "polygon", THEN it can also be rotated. > > "line" graphics cannot be rotated. ---------- ??? I can rotate lines here. But that's not the problem. The problem is that replicated grc's are just that. They can't be rotated until _after_ you make them. A grc has to exist before you can manipulate it. Ken N. From themacguy at macosx.com Sun Sep 7 18:05:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Sep 7 18:05:01 2003 Subject: Disable OSX App's menu? - have to do it; it's another bug In-Reply-To: <200309072050.QAA11202@www.runrev.com> Message-ID: <0C5573E0-E187-11D7-AFB8-000A95763ABC@macosx.com> Ken, I've uncovered another bug in the way Rev handles the OSX App menu. If you execute a script that brings up an "ask" dialog (which is modal, of course), Rev permits you to select an item from the app menu. If the user selects "Quit", nothing happens (presumably because you're in the middle of something modal). You then complete the original handler by either entering data or canceling. At that point, you can't quit from the app even if the app brings you to other stacks with their own shutDownRequest handlers. The shutDownRequest handler never receives the signal. This is exactly the opposite problem I encountered two days ago with the "quit in spite of the handler's presence" problem. So, until this latest bug is stamped out by Rev, I have to find a way to disable that menu. Thanks, Barry On Sunday, Sep 7, 2003, at 14:50 America/Denver, Ken wrote: > From: "Ken Ray" > Uh, why would you want to disable the app menu? Wouldn't that sort of > be > the same as hiding the menubar? Just looking for what you're trying to > do here... > >> Barry Levine >> Sent: Sunday, September 07, 2003 4:30 PM >> To: use-revolution at lists.runrev.com >> Subject: Disable OSX App's menu? >> >> >> How does one disable the app menu in OSX? It doesn't look >> like "disable menu 1" does anything for OSX. >> >> Barry >> From wouter.abraham at pi.be Sun Sep 7 20:36:01 2003 From: wouter.abraham at pi.be (Wouter) Date: Sun Sep 7 20:36:01 2003 Subject: The Directory Walker revisited In-Reply-To: <200309062224.SAA06853@www.runrev.com> Message-ID: On Sunday, Sep 7, 2003, at 00:24 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 5 > Date: Sat, 6 Sep 2003 11:34:58 -0700 > Subject: Re: The Directory Walker revisited > From: Geoff Canyon > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com snip > So RR has been called seven times: once for each directory in the list. > But the deepest level of recursion reached was three levels: the > deepest nesting of directories in the tree. > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com > Thank you very much for answering for I see my confusion now. But the excellent recursive function from David Vaughn has encountered an other limit. It crashes Metacard/Revolution at about 20303 to 20335 iterations on my computer (tested on the complete Mac OS X volume which seems to have > 100000 folders, didn't go further by lack of time). Makes you think about what is more preferable, though this is an extreme condition. But it's probably something for the Metacard-engine coders to solve. Greetings, WA From cszasz at newwave.net Sun Sep 7 22:49:00 2003 From: cszasz at newwave.net (Charles Szasz) Date: Sun Sep 7 22:49:00 2003 Subject: Setting up a popup menu with an array Message-ID: <699932A4-E1AE-11D7-AFD0-000393CCF5D8@newwave.net> Are there any examples of setting up a popup menu with an array? I am new to Revolution and need some guidance on how to set this up. Charles From ambassador at fourthworld.com Sun Sep 7 23:10:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 7 23:10:01 2003 Subject: Setting up a popup menu with an array In-Reply-To: <699932A4-E1AE-11D7-AFD0-000393CCF5D8@newwave.net> Message-ID: Charles Szasz wrote: > Are there any examples of setting up a popup menu with an array? I am > new to Revolution and need some guidance on how to set this up. See the combine command. -- 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 Sep 7 23:17:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Sep 7 23:17:01 2003 Subject: Why does my hilitedIcon stop flashing? In-Reply-To: <5.2.1.1.0.20030907170338.00c4bd70@pop.wanadoo.fr> Message-ID: <827683F6-E1B2-11D7-8430-000393529642@mindlube.com> On Sunday, September 7, 2003, at 09:10 AM, Graham wrote: > I created a square button and chose its hilitedIcon to be one of the > standard icons - the little flashing alarm triangle. I hilited the > button from the message box and it flashed for a bit then stopped. I > can't see why - nothing I can find in the docs. The other moving icons > seem to work OK. Obviously I can make my own animated GIF, but maybe > I'm doing something wrong - has anyone else seen this? As Klaus said, it's just that particular icon. I'm using it in one of my apps too, and actually I kinda like that it stops blinking after a few seconds because it could get annoying otherwise. 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 Sun Sep 7 23:26:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Sep 7 23:26:01 2003 Subject: Disable OSX App's menu? - have to do it; it's another bug In-Reply-To: <0C5573E0-E187-11D7-AFB8-000A95763ABC@macosx.com> Message-ID: On Sunday, September 7, 2003, at 05:00 PM, Barry Levine wrote: > Ken, > > I've uncovered another bug in the way Rev handles the OSX App menu. If > you execute a script that brings up an "ask" dialog (which is modal, > of course), Rev permits you to select an item from the app menu. If > the user selects "Quit", nothing happens (presumably because you're in > the middle of something modal). You then complete the original handler > by either entering data or canceling. At that point, you can't quit > from the app even if the app brings you to other stacks with their own > shutDownRequest handlers. The shutDownRequest handler never receives > the signal. > > This is exactly the opposite problem I encountered two days ago with > the "quit in spite of the handler's presence" problem. So, until this > latest bug is stamped out by Rev, I have to find a way to disable that > menu. Barry, I haven't tried this, but can you disable in particular the Quit menu item in the app menu? I just looked in Mail.app (what I'm using right now of course), and with a model dialog open, Mail.app does allow it's app menu to be opened, however almost all of the menu items are disabled, including Quit. The general rule is: the developer is required to enable/disable menu items as appropriate. Not even Cocoa (Apple's own application framework) will disable the Quit menu automatically for you. 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 Sep 7 23:27:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Sep 7 23:27:01 2003 Subject: about backgroundbehaviour and message passing In-Reply-To: Message-ID: On Monday, September 8, 2003, at 02:55 PM, Rodney Tamblyn wrote: >> (BTW, some groups do not see the background behind the card in the >> message path.) > Yes, all groups that do not have their backgroundbehavour enabled, > right? That's what I remember. Dar Scott From xbury.cs at clearstream.com Mon Sep 8 02:10:00 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon Sep 8 02:10:00 2003 Subject: rev-based installer Message-ID: Stephen, You can try my Script Editor X installer's source (open-source). It worksf or substacks for MC (so far) but it can be adapted to RR no prob. It has previous install testing, install - uninstall, renaming, checking,b ackups, and logging of errors... http://www.monsieurx.com/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=42 (you need to log in to download but it's free, bannerless and ad-free) ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 Stephen Messimer Sent by: use-revolution-admin at lists.runrev.com 05/09/03 19:48 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Re: rev-based installer Basically, I want to be able to place a stack in the Rev plug-ins folder and two stacks in the Rev program folder. I've looked at commercial installers and they all seem pretty expensive, costs being based on the number of installs projected for a product. That is pretty much out of the question for me at this point. I was just hoping someone here on the list was building one. Steve > Message: 1 > From: xbury.cs at clearstream.com > To: use-revolution at lists.runrev.com > Subject: Re: rev based installer > Date: Fri, 5 Sep 2003 14:48:18 +0200 > Reply-To: use-revolution at lists.runrev.com > > This is a multipart message in MIME format. > --=_alternative 0046584FC1256D98_= > Content-Type: text/plain; charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > what features are you looking for? > Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available soon! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin at harbourtown.co.uk Mon Sep 8 02:53:00 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Mon Sep 8 02:53:00 2003 Subject: MenuBar in Mac OS X Message-ID: Dear Yves, I too have a problem with this for a long time. Scott Raney doubts this is a bug but I'm not convinced. I only get this problem in *substacks* that have a menubar - never yet with mainstacks - is your problem with a substack or a mainstack ? First point, as you have discovered, you cannot fix this by resizing the script in a preopenstack handler. The engine itself is busy resizing the stack at that point and if your script tries to resize it as well it will just make confusion. I've found 2 ways to deal with it: ## 1) In my case it is only my substacks that are affected. So if it is possible to make the problem stacks into separate mainstacks (instead of being substacks), you may find the problem stops happening. ## or 2) (This is a bit more complicated but for some reason it seems to work) In the substacks that have menubars I put this: on savestackrequest set the height of me to x ### (x = the wanted height in pixels) pass savestackrequest end savestackrequest Then immediately before building the app I run this script (which is in a utility stack that isn't part of the build) # pre-build save, first open all put the substacks of stack "themainstack" into sslist repeat for each line i in sslist if i is not in the windows then open stack i end if end repeat put the menustacklist of field "stacklist" of stack "utilitystack" into data # menustacklist is just a custom property that # holds the names of the substacks that have menubars if data is not empty then repeat for each line i in data save stack i #( this runs the savestackrequest handler # and sets the stacks height correctly) end repeat end if # now save all the substacks repeat for each line i in sslist save stack i end repeat # now close all the substacks repeat for each line i in sslist close stack i end repeat put "Pre - Build Prep Done" After this I close the mainstack by hand, quit, restart, and build All of this is "empirical" rather than "scientific" But for me it works reliably. martin baxter Yves COPPE wrote: >To: Use Rev >Reply-To: use-revolution at lists.runrev.com > >Hello list, > >Working on Mac OS X 10.2.6 FR with Rev 2.1 > >I will ask something it has already been discussed before but I don't >find a solution. > >I've made a simple stack with Rev 2.1. Metal decorations. Buid >distribution. >Good. > >Now i'd like to add a menuBar > >when I build the distribution app, and open my app afterwards, the >stack's height is truncated of the height of the menubar's height. > >how can I retrieve my normal stack's height. >I've tried : > >on preopenstack >set the height of stack "xxx" to "yyy" >end preopenstack > >but it doesn't work fine. > >Thanks. > >Greetings. >Yves COPPE > >yvescoppe at skynet.be From rodney_tamblyn at yahoo.com Mon Sep 8 04:11:02 2003 From: rodney_tamblyn at yahoo.com (Rodney Tamblyn) Date: Mon Sep 8 04:11:02 2003 Subject: how to detect stack needs to be saved In-Reply-To: <02c401c37509$4714b240$6501a8c0@LightningFlash> Message-ID: On Sunday, September 7, 2003, at 06:27 PM, Ken Ray wrote: > There isn't one, AFAIK. It would be nice to have a "lastModified" > property that would provide the date/time of last modification and if > it > were empty you'd know it hadn't been modified at all... > Haven't tried it yet, but one possibility might be to save the stack to a temporary file, read it in, do an md5digest, and check this against a digest of the original stack. ~ Rodney From heilandrew at attbi.com Mon Sep 8 04:11:28 2003 From: heilandrew at attbi.com (Andrew Heil) Date: Mon Sep 8 04:11:28 2003 Subject: Revolution 2.1 IDE speed/performance issues - normal? Message-ID: <001301c375c7$c8295700$0300a8c0@attbi.com> I'm evaluating v2.1 of Revolution on Win98SE. Any window in the IDE - looks like they're all forms, apparently - hangs for approximately 6-8 seconds when it first comes up. Scripting windows, new form windows, property ("inspector") windows, documentation windows - doesn't matter. Automatic 6-8 second hang before they can be used, dragged, closed, whatever. When I click on a button or menu item the IDE's main bar to bring up a window, such as an Inspector or Script window, it takes approx. 15 seconds to appear - and then there's the same 6-8 second delay after it's displayed, on top of it. Let's not even talk about how long it takes compiled apps to run. Is this normal? Granted, I've got an old, slow CPU (500MHz AMD K6-2) but, somehow, this seems odd. Thanks for your help - Andrew H. From alex at mindlube.com Mon Sep 8 04:45:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 04:45:00 2003 Subject: Revolution 2.1 IDE speed/performance issues - normal? In-Reply-To: <001301c375c7$c8295700$0300a8c0@attbi.com> Message-ID: <5DA70D84-E1E0-11D7-8430-000393529642@mindlube.com> On Sunday, September 7, 2003, at 11:12 PM, Andrew Heil wrote: > Let's not even talk about how long it takes compiled apps to run. > > Is this normal? > > Granted, I've got an old, slow CPU (500MHz AMD K6-2) but, somehow, > this seems > odd. > Not normal! I use Rev on equivalent machines as you and it's very fast. The property inspector, script editor, app browser all open up in <= 1 second. Compiled apps are quick as well. Mac G4/466 Mhz 500 Mhz x86 laptop One possible gotcha to watch out for is that opening up or searching in the Documentation window in the Rev IDE uses significant amount of RAM. Other than that I have no ideas right now- sorry, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From FlexibleLearning at aol.com Mon Sep 8 05:08:05 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon Sep 8 05:08:05 2003 Subject: [ANN] The Scripters Scrapbook 3.0b5 Message-ID: <9.187821cb.2c8dad79@aol.com> The Scripters Scrapbook Thanks to all those who have provided feedback over the past few weeks, including import/export, publishing to web pages, history management and interface enhancements. All your requests have been included in the version now available for both Revolution and MetaCard at http://www.flexiblelearning.com/xtalk.htm A deal of work, but hopefully worth the effort if you find it useful. Feel free to delete all and begin again with your own resources, links and entries as you wish. SCRIPTERS SCRAPBOOK v3.0b5 The personal archive program for scripters Desription A utility for keeping, sorting and identifying all those useful tips, FAQs and bits of code you come across and then forget. Facility to identify language compatibility and create links to people, places and resources. Lots already included. /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 yvescoppe at skynet.be Mon Sep 8 05:13:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon Sep 8 05:13:00 2003 Subject: MenuBar in Mac OS X In-Reply-To: Message-ID: <4E73B4EA-E1E4-11D7-B588-003065E14B04@skynet.be> Le lundi, 8 sep 2003, ? 09:38 Europe/Brussels, Martin Baxter a ?crit : > Dear Yves, > > I too have a problem with this for a long time. Scott Raney doubts > this is > a bug but I'm not convinced. > I only get this problem in *substacks* that have a menubar - never yet > with > mainstacks - is your problem with a substack or a mainstack ? > > First point, as you have discovered, you cannot fix this by resizing > the > script in a preopenstack handler. The engine itself is busy resizing > the > stack at that point and if your script tries to resize it as well it > will > just make confusion. > > I've found 2 ways to deal with it: > > ## 1) In my case it is only my substacks that are affected. > So if it is possible to make the problem stacks into separate > mainstacks > (instead of being substacks), you may find the problem stops happening. > > ## or 2) (This is a bit more complicated but for some reason it seems > to work) > > In the substacks that have menubars I put this: > > on savestackrequest > set the height of me to x > ### (x = the wanted height in pixels) > pass savestackrequest > end savestackrequest > > Then immediately before building the app I run this script (which is > in a > utility stack that isn't part of the build) > > # pre-build save, first open all > put the substacks of stack "themainstack" into sslist > repeat for each line i in sslist > if i is not in the windows then > open stack i > end if > end repeat > put the menustacklist of field "stacklist" of stack "utilitystack" > into > data > # menustacklist is just a custom property that > # holds the names of the substacks that have menubars > if data is not empty then > repeat for each line i in data > save stack i > #( this runs the savestackrequest handler > # and sets the stacks height correctly) > end repeat > end if > # now save all the substacks > repeat for each line i in sslist > save stack i > end repeat > # now close all the substacks > repeat for each line i in sslist > close stack i > end repeat > put "Pre - Build Prep Done" > > After this I close the mainstack by hand, quit, restart, and build > > All of this is "empirical" rather than "scientific" But for me it works > reliably. > > martin baxter > > It does also work here !!! thank you. Greetings. Yves COPPE yvescoppe at skynet.be From xbury.cs at clearstream.com Mon Sep 8 05:31:00 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon Sep 8 05:31:00 2003 Subject: how to detect stack needs to be saved Message-ID: Why not read the detailed files and pick the date and time from there? Seems so obvious, I thought it useless to say it... Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From dvk at dvkconsult.com.au Mon Sep 8 05:43:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon Sep 8 05:43:01 2003 Subject: Deep Space (was: The Directory Walker revisited) In-Reply-To: <200309080812.EAA26078@www.runrev.com> Message-ID: <3E3DEEFB-E1E8-11D7-99C9-000A95729266@dvkconsult.com.au> On Monday, Sep 8, 2003, at 18:12 Australia/Brisbane, Wouter wrote: > > Thank you very much for answering for I see my confusion now. > But the excellent recursive function from David Vaughn has encountered > an other limit. It crashes Metacard/Revolution at about 20303 to 20335 > iterations > on my computer (tested on the complete Mac OS X volume which seems to > have > 100000 folders, didn't go further by lack of time). Makes you > think about > what is more preferable, though this is an extreme condition. > But it's probably something for the Metacard-engine coders to solve. Hmm. I have now encountered the same problem. As I wrote before, I had no difficulty with 100,000 files and directories 17 deep, but the same folders examined from their parent (the volume name) lead to a far higher depth count (should have been only 18) and did not finish after 30 minutes. There was no crash, per se, just endless processing. The amount of work being done makes this a bad one to try to trace. I am wondering if this is a problem arising from the amount of data (roughly estimated at 10MB considering a full path for every file) being returned on the stack as the function nears the top. The alternative might be some trigger into circularity, which is what happened with permissions. Perhaps it is OSX-specific. Is the same issue encountered on Windows or Linux please? Seems worth some work given the code should work for virtually any situation. regards David (Vaughan) > > Greetings, > WA From mcdomi at free.fr Mon Sep 8 07:21:01 2003 From: mcdomi at free.fr (Dom) Date: Mon Sep 8 07:21:01 2003 Subject: MenuBar in Mac OS X In-Reply-To: Message-ID: <1g0ytpg.1jiq3iy1epl8xsM%mcdomi@free.fr> Yves COPPE wrote: > when I build the distribution app, and open my app afterwards, the > stack's height is truncated of the height of the menubar's height. This one is a classical ;-) Go in the list archives -- or take a glance at: http://domiscript/MC/STAKS/calepinmc.mc (you may encounter a mix of french and english language there ;-)) Those notes are relevant for MC, but also for RR. PS: perhaps I'd better to provide you with a: ;-)) Nonetheless, my advice is to go with a substack, dedicated to the menu bar. This works well for MetaCard -- i duplicated the original menu bar stack, and adapted/translated to my needs. It remains to see if the same way is good for RR... -- From xbury.cs at clearstream.com Mon Sep 8 07:49:00 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon Sep 8 07:49:00 2003 Subject: MenuBar in Mac OS X Message-ID: >PS: perhaps I'd better to provide you with a: > Perhaps a working URL would be nice! tried the domiscript.fr and com... ;( ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 mcdomi at free.fr (Dom) Sent by: use-revolution-admin at lists.runrev.com 08/09/03 14:15 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Re: MenuBar in Mac OS X Yves COPPE wrote: > when I build the distribution app, and open my app afterwards, the > stack's height is truncated of the height of the menubar's height. This one is a classical ;-) Go in the list archives -- or take a glance at: http://domiscript/MC/STAKS/calepinmc.mc (you may encounter a mix of french and english language there ;-)) Those notes are relevant for MC, but also for RR. PS: perhaps I'd better to provide you with a: ;-)) Nonetheless, my advice is to go with a substack, dedicated to the menu bar. This works well for MetaCard -- i duplicated the original menu bar stack, and adapted/translated to my needs. It remains to see if the same way is good for RR... -- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From thierry.arbellot at wanadoo.fr Mon Sep 8 08:15:01 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Mon Sep 8 08:15:01 2003 Subject: How to translate some default dialogs ? In-Reply-To: <119F41FD-E174-11D7-B0D9-000A27B49A96@major-k.de> Message-ID: <89476454-E1FD-11D7-8C5B-000A27E40768@wanadoo.fr> Actually, it's not a dummy folder, but the way OSX manages multi-languages app. For each language supported by the app, a folder - which name is the language name - is created and all translated resources are copied inside this folder. You can have as many folders as you like in the same app. OSX will use the default language you have defined in the system preferences - international. Even if the folder is empty - that means no resource was localized - OSX will display at last the system messages, menus... in this language. This feature is used by Apple app, like Mail and Safari. You can open the packages to see how it's done. Regards, Thierry. On Sunday, September 7, 2003, at 10:44 PM, Klaus Major wrote: > Bon soir Thierry, > >> bonjour Charles, >> >> I have a solution to have all system messages, menus (like App menu, >> Quit, Help), >> file selection dialog, etc.. in your preferred language, the one you >> have defined in the system preferences : >> >> Quit Revolution >> Open the Revolution folder >> Select the Revolution app and show the package contents >> Open the Contents then the Resources folder >> Create inside the Resources folder a new folder, name it >> "French.lproj" >> >> From now, your copy of Revolution should display some menus and >> messages in French. >> >> Rebuild your app (Revolution will copy the French.lproj folder in >> your app package) >> >> Your app should display systems menus, messages in French. >> >> Hope it answers your question. > > This is waaaaaaay coooool :-) > > Thanks a lot for sharing this jewel. > > Works also fine with a "German.lproj" :-) > I didn't know about this "dummy" folder... > > Now at last i have a german "Beenden" instead of "Quit" :-) > >> Bonne chance. >> >> Thierry. > > 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 rcozens at pon.net Mon Sep 8 09:15:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 8 09:15:01 2003 Subject: How to translate some default dialogs ? In-Reply-To: <89476454-E1FD-11D7-8C5B-000A27E40768@wanadoo.fr> References: <89476454-E1FD-11D7-8C5B-000A27E40768@wanadoo.fr> Message-ID: >This feature is used by Apple app, like Mail and Safari. Thierry, et al: What does this do for Non-Mac users? If you would like an example of cross-platform, multi-lingual, AND user translatable apps in Transcript, check out Serendipity_Library, . (Client/server version coming soon.) -- 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 yoy at comcast.net Mon Sep 8 09:17:01 2003 From: yoy at comcast.net (yoy) Date: Mon Sep 8 09:17:01 2003 Subject: Replicate w/ rotate of graphic item doesn't work. References: Message-ID: <000401c37612$ca8af8a0$b2ea5144@fatal7lcf637rj> Klaus, Thanks again! All the best, Andy Burns ----- Original Message ----- From: "Klaus Major" To: Sent: Sunday, September 07, 2003 5:19 PM Subject: Re: Replicate w/ rotate of graphic item doesn't work. > Hi Andy, > > > I've drawn a line (graphic object) and it's selected. I go to > > Edit->Replicate menu to replicate it three times with 0 offsets, and > > want to > > rotate each replication 45 degrees (a simple "scope" crosshair > > indicator) > > but the Rotate field is dimmed. > > Change the style of the grc to "polygon", THEN it can also be rotated. > > "line" graphics cannot be rotated. > > > What's wrong here (Win2k/Rev 2.1)? > > Nothing so far ;-) > > Hope that helps... > > > TIA, > > > > 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 themacguy at macosx.com Mon Sep 8 09:25:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 8 09:25:00 2003 Subject: Disable OSX App's menu? - have to do it; it's another bug In-Reply-To: <200309080812.EAA26139@www.runrev.com> Message-ID: <942A9F88-E207-11D7-BC76-000A95763ABC@macosx.com> Alex, When you select "Quit" (with a modal dialog in the foreground - and the "ask" or "answer" command has always been modal), the app does not quit -but- it won't respond to that menu item ever again (during that session). In other words, you have to force-quit the app. > Barry, I haven't tried this, but can you disable in particular the Quit > menu item in the app menu? No. That's part of the problem: Rev doesn't let you disable the "Quit" item because it's not part of the Rev menubar; it's OSX's. Well, technically I guess it does belong to Rev because of what Rev automatically does to the File menu (removing the last two items) in OSX. > > I just looked in Mail.app (what I'm using right now of course), and > with a model dialog open, Mail.app does allow it's app menu to be > opened, however almost all of the menu items are disabled, including > Quit. I'm using Mail now. When I bring up the Print dialog, for example (which comes down as a sheet), all items in the Mail menu are selectable (and "Hide Mail" does, indeed, hide the program), but "Quit" has no effect which, of course, is exactly the correct functionality you would expect. We're in the middle of a modal dialog; Quitting is inappropriate. I'm being forced to hide the menubar (which looks like hell). > > The general rule is: the developer is required to enable/disable menu > items as appropriate. Generally, yes. However, a modal dialog is a special case. By definiftion, it's "modal" and everything else related to that app should be put on hold, so to speak. Go back to HyperCard, call up the "answer" dialog, and see if HC will let you select the Quit menuitem. No way. You may "hide" the app (even in OS9). Nevertheless, if this is what I must do, I'll do it...once Rev has a means to do so. Remember: in OSX, Rev removes your ability to do anything with the "last two items" in the File menu because it removes those last two items and creates them in the app menu. But these are NOT the items from your File menu that you so carefully crafted; they are Rev's creation and you have no control over them (so it seems). You have to add your own "shutDownRequest" handler to the stack to take care of the OSX Quit item even if you had such a handler in your menu (because the last two items in your file menu are ignored including their handlers!). > Not even Cocoa (Apple's own application framework) will disable the > Quit menu automatically for you. If you do any Cocoa development, create an app with a modal dialog. When that dialog is "up", see if you can quit. I'll bet you can't. You can "hide" the app, of course, but quitting is an inappropriate action in the middle of a modal activity. I filed bug report #567 over this issue. Regards, Barry From kray at sonsothunder.com Mon Sep 8 09:47:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 8 09:47:00 2003 Subject: how to detect stack needs to be saved In-Reply-To: Message-ID: <005801c37617$2cef1fe0$6501a8c0@LightningFlash> Actually, I was thinking of reading the lastMod date from *inside* the stack file I'm running, not trying to check the last mod of another stack file on disk. Something like: if the lastModified of this stack is empty then -- hasn't been modified yet this session else -- it has been modified this session end if I don't know if the detailed files are updated while the stack is open or whether they are only updated when it closes... 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 xbury.cs at clearstream.com Sent: Monday, September 08, 2003 5:12 AM To: use-revolution at lists.runrev.com Subject: Re: how to detect stack needs to be saved Why not read the detailed files and pick the date and time from there? Seems so obvious, I thought it useless to say it... Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Mon Sep 8 10:25:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 8 10:25:01 2003 Subject: Deep Space (was: The Directory Walker revisited) In-Reply-To: <3E3DEEFB-E1E8-11D7-99C9-000A95729266@dvkconsult.com.au> Message-ID: On Monday, September 8, 2003, at 04:36 AM, David Vaughan wrote: > Hmm. I have now encountered the same problem. As I wrote before, I had > no difficulty with 100,000 files and directories 17 deep, but the same > folders examined from their parent (the volume name) lead to a far > higher depth count (should have been only 18) and did not finish after > 30 minutes. There was no crash, per se, just endless processing. The > amount of work being done makes this a bad one to try to trace. From the root is /volumes/, so you will see your other drives. > I am wondering if this is a problem arising from the amount of data > (roughly estimated at 10MB considering a full path for every file) > being returned on the stack as the function nears the top. I suspect only a pointer is on the stack and the data elsewhere. However, there is a higher copy cost in passing strings to functions and returning them if they are very large. You can get rid of the parameter copy with a reference variable. Also, the fastest way to accumulate in a string is with 'put after'; there seems to be about 10% to 15% growing room in large strings and this seems to exploit that. At some point there might be a virtual memory cost. I wouldn't be surprised if there are some surprises here. > The alternative might be some trigger into circularity, which is what > happened with permissions. I looked at /dev/, aliases and even named pipes, and none of those show circularity in the structure as seen from folders(). I might have goofed, and they might take looking at again. There might also be some unix file type that could cause trouble. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From mcdomi at free.fr Mon Sep 8 10:38:01 2003 From: mcdomi at free.fr (Dom) Date: Mon Sep 8 10:38:01 2003 Subject: MenuBar in Mac OS X In-Reply-To: Message-ID: <1g0z9wp.xia0b17dvigwM%mcdomi@free.fr> wrote: > Perhaps a working URL would be nice! tried the domiscript.fr and com... ;( Oh, pardon !!! The good one: Sorry, again... -- From rcozens at pon.net Mon Sep 8 10:39:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 8 10:39:01 2003 Subject: How to translate some default dialogs ? In-Reply-To: References: <89476454-E1FD-11D7-8C5B-000A27E40768@wanadoo.fr> Message-ID: >If you would like an example of cross-platform, multi-lingual, AND >user translatable apps in Transcript, check out Serendipity_Library, >. Currently supporting Dutch, English, French, German, and Spanish. Translators for other languages are shamelessly solicited. Serendipity Library is free to all...the next version released here will be completely open source; so your efforts would be on behalf of the entire Revolution community. Anyone interested should download the Library, read the sections on translation in Serendipity Reference, and explore the Library's Load Message File and Translate Message File menuItems. If you then wish to translate the message file (currently 256 lines), please contact me privately. -- Rob Cozens, CCW Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee." From "The Triple Foole" by John Donne 1573-1631 From alex at mindlube.com Mon Sep 8 11:24:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 11:24:00 2003 Subject: Disable OSX App's menu? - have to do it; it's another bug In-Reply-To: <942A9F88-E207-11D7-BC76-000A95763ABC@macosx.com> Message-ID: <02638C9A-E218-11D7-85AE-000393529642@mindlube.com> On Monday, September 8, 2003, at 08:20 AM, Barry Levine wrote: > Alex, > > When you select "Quit" (with a modal dialog in the foreground - and > the "ask" or "answer" command has always been modal), the app does not > quit -but- it won't respond to that menu item ever again (during that > session). In other words, you have to force-quit the app. OK so there are two possible different issues here 1) disabling the Quit menu item when appropriate, and 2) not being able to quit the app in a particular situation. > If you do any Cocoa development, create an app with a modal dialog. > When that dialog is "up", see if you can quit. I'll bet you can't. You > can "hide" the app, of course, but quitting is an inappropriate action > in the middle of a modal activity. I looked in a Cocoa app I wrote and while a modal dialog up, the Quit menu item is *enabled*, but has no effect. That is what I would expect because I haven't coded anything to disable the Quit menu item. No problems quitting afterwards. > I filed bug report #567 over this issue. Good. I simply am wondering if it's realistic for runrev to disable the quit menu item for you, if Cocoa doesn't even do it. On the other hand, not being able to quit your app would seem to be a bug :-) 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 Mon Sep 8 11:33:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 11:33:01 2003 Subject: How to translate some default dialogs ? In-Reply-To: Message-ID: <42E5898A-E219-11D7-85AE-000393529642@mindlube.com> On Monday, September 8, 2003, at 08:07 AM, Rob Cozens wrote: >> This feature is used by Apple app, like Mail and Safari. > > Thierry, et al: > > What does this do for Non-Mac users? Rob, by modifying the app bundle as they have done by creating a lang.lproj subfolder, the OS will then localize the system dialogs and messages created by the app. That's important otherwise the user will be getting some dialogs in English and others in whatever language the Rev stack is sending. It could be done in combination with other methods for localizing the app's content, such as yours. So they are complementary methods. > If you would like an example of cross-platform, multi-lingual, AND > user translatable apps in Transcript, check out Serendipity_Library, > . > (Client/server version coming soon.) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jacque at hyperactivesw.com Mon Sep 8 11:36:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 8 11:36:00 2003 Subject: how to detect stack needs to be saved In-Reply-To: <005801c37617$2cef1fe0$6501a8c0@LightningFlash> References: <005801c37617$2cef1fe0$6501a8c0@LightningFlash> Message-ID: <3F5CAE85.8090205@hyperactivesw.com> wrote: > Why not read the detailed files and pick the date and time from there? > > Seems so obvious, I thought it useless to say it... The disk info is only updated after the stack is saved, so it won't help. The question is: how to determine if the stack needs to be saved in the first place. There isn't a generic method that I know of, except to track everything that could change the content of a stack and set a dirty flag. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bornstein at designeq.com Mon Sep 8 11:39:01 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Sep 8 11:39:01 2003 Subject: Videograbber--does it work? Message-ID: <290AD83C-E21A-11D7-9FF8-000A95909E26@designeq.com> I'm trying some preliminary tests with the videograbber commands in Rev 2.1. I can't get anywhere with them. I've got an iBot firewire web cam attached to my 17" Powerbook G4. It works with BTV, so I can confirm the video drivers are present and correct. When I use the videograbber commands, they don't work and generate non-specific errors (i.e. the error box flashes over and over again until I make it stop with cmd-period). If I take the example for initializing the video grabber right from the docs and enter it into the msg box (revInitializeVideoGrabber "QT","100,100,200,200"), I get an error message: Message execution error: Error description: send: error in message expression Can't get beyond this point. Has anyone gotten the videograbber software to work in Rev? Any clues or tips? Thanks, Howard Bornstein ---------------------- D E S I G N E Q www.designeq.com From derekbronston at earthlink.net Mon Sep 8 11:47:07 2003 From: derekbronston at earthlink.net (derek bronston) Date: Mon Sep 8 11:47:07 2003 Subject: dynamic menus Message-ID: Hello, anyone have a tutorial or something describing creating dynamic menus? Basically what I am doing is creating a playlist for an MP3 player. I am opening an external text file that contains the song info . I am turning this info into an array in revolution and want to loop through and print it to the stack each as a clickable text , or a button.?? any ideas thanks derek From revlist at cableone.net Mon Sep 8 12:09:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Mon Sep 8 12:09:01 2003 Subject: Rev IDE crashing Message-ID: <002901c37621$79a15380$65fea8c0@chris1> If the Rev IDE crashes, is there any way to find out why? Like a log file or something that is written to? I'm working on OS X 10.2.6. I've got a main stack that opens another stack via the go command. I've debugged it and Rev crashes every time on the line with the go command. I cannot figure out what's going on, and I can't debug any further because it crashes. I'm not sure if I've got bad code in the handlers of the new stack or not. But the exact same thing runs fine under Windows. I've tried placing breakpoints in my preOpenStack and preOpenCard handlers to no avail. It seems like the go command is actually what's failing. Can anyone think of anything else I could check for or do? Thanks, Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From scott at tactilemedia.com Mon Sep 8 12:11:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Sep 8 12:11:01 2003 Subject: Internal Player Reference? In-Reply-To: <00ea01c3730c$8e2c5e20$6501a8c0@LightningFlash> Message-ID: Did anyone figure out if it was possible to set the filename of a player to an imported file reference (as opposed to a disk resident file)? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at mindlube.com Mon Sep 8 12:22:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 12:22:01 2003 Subject: Rev IDE crashing In-Reply-To: <002901c37621$79a15380$65fea8c0@chris1> Message-ID: <1D7B9D5F-E220-11D7-8468-000393529642@mindlube.com> On Monday, September 8, 2003, at 09:54 AM, Chris Sheffield wrote: > If the Rev IDE crashes, is there any way to find out why? Like a log > file > or something that is written to? > > I'm working on OS X 10.2.6. I've got a main stack that opens another > stack > via the go command. I've debugged it and Rev crashes every time on > the line > with the go command. I cannot figure out what's going on, and I can't > debug > any further because it crashes. I'm not sure if I've got bad code in > the > handlers of the new stack or not. But the exact same thing runs fine > under > Windows. I've tried placing breakpoints in my preOpenStack and > preOpenCard > handlers to no avail. It seems like the go command is actually what's > failing. > > Can anyone think of anything else I could check for or do? File bug with bugzilla, but before doing so, get a crash trace to include in the bug report. Go to Console.app, and in it's prefs turn on crash reporting. This information will be useful for the engine developers, but perhaps useless in terms of your transcript code. If you include a sample stack and the crash trace then the engine developers should be able to fix it. (the engine or IDE should never crash because of something you do in transcript) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jacque at hyperactivesw.com Mon Sep 8 12:28:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 8 12:28:00 2003 Subject: Revolution 2.1 IDE speed/performance issues - normal? In-Reply-To: <001301c375c7$c8295700$0300a8c0@attbi.com> References: <001301c375c7$c8295700$0300a8c0@attbi.com> Message-ID: <3F5CBACF.8030401@hyperactivesw.com> On 9/8/03 12:12 AM, Andrew Heil wrote: > I'm evaluating v2.1 of Revolution on Win98SE. Any window in the IDE - looks > like they're all forms, apparently - hangs for approximately 6-8 seconds when it > first comes up. Do you have a virus checker installed, and if so, is it set to scan documents before they open? This was a common problem on Macs running HyperCard stacks in the past. Turning off auto-scanning corrects it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Mon Sep 8 12:37:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 8 12:37:01 2003 Subject: Rev IDE crashing In-Reply-To: <002901c37621$79a15380$65fea8c0@chris1> Message-ID: <20030908173127.37169.qmail@web11908.mail.yahoo.com> --- Chris Sheffield wrote: > If the Rev IDE crashes, is there any way to find out > why? Like a log file > or something that is written to? > > I'm working on OS X 10.2.6. I've got a main stack > that opens another stack > via the go command. I've debugged it and Rev > crashes every time on the line > with the go command. I cannot figure out what's > going on, and I can't debug > any further because it crashes. I'm not sure if > I've got bad code in the > handlers of the new stack or not. But the exact > same thing runs fine under > Windows. I've tried placing breakpoints in my > preOpenStack and preOpenCard > handlers to no avail. It seems like the go command > is actually what's > failing. > > Can anyone think of anything else I could check for > or do? > > Thanks, > > Chris Sheffield > Hi Chris, Alex gave you instructions on how to log the crash. In the meantime, what is the exact 'go' statement ? There is/was a bug that could cause a crash with : go stack "Foobar" in window of this stack if the stacks have different stack modes (topLevel, modal,...) If that's the case, then try changing the modes to match first. 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 revlist at cableone.net Mon Sep 8 12:56:02 2003 From: revlist at cableone.net (Chris Sheffield) Date: Mon Sep 8 12:56:02 2003 Subject: Rev IDE crashing In-Reply-To: <20030908173127.37169.qmail@web11908.mail.yahoo.com> Message-ID: <002e01c37631$b1cf8c30$65fea8c0@chris1> I'm not even specifying modes. It simply reads 'go stack "RNStories"'. What I've got is a custom handler 'GoStories' that is called from a mouseUp handler of a button. It looks like this: on GoStories lock screen go stack "RNStories" set the visible of stack "RNLogin" to false unlock screen end GoStories Is there anything unusual there? The thing that's really strange is that this same code has been working for months now with different versions of Rev on OS X, and it still works fine under Windows with Rev 2.1. It wasn't until I moved the stack to OS X and Rev 2.1 that I've had this problem. I'm going to keep playing with it a bit. I logged the crash like Alex said, and it appears that my code is trying to access some area of memory that it shouldn't. I could be wrong about that, though. I'm not familiar with Mac programming other than in Rev, but I've seen similar messages in a C debugger on Windows. If I can't figure anything out I'll go ahead and bug report it. Thanks to you and Alex. 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 Jan Schenkel Sent: Monday, September 08, 2003 11:31 AM To: use-revolution at lists.runrev.com Subject: Re: Rev IDE crashing --- Chris Sheffield wrote: > If the Rev IDE crashes, is there any way to find out > why? Like a log file > or something that is written to? > > I'm working on OS X 10.2.6. I've got a main stack > that opens another stack > via the go command. I've debugged it and Rev > crashes every time on the line > with the go command. I cannot figure out what's > going on, and I can't debug > any further because it crashes. I'm not sure if > I've got bad code in the > handlers of the new stack or not. But the exact > same thing runs fine under > Windows. I've tried placing breakpoints in my > preOpenStack and preOpenCard > handlers to no avail. It seems like the go command > is actually what's > failing. > > Can anyone think of anything else I could check for > or do? > > Thanks, > > Chris Sheffield > Hi Chris, Alex gave you instructions on how to log the crash. In the meantime, what is the exact 'go' statement ? There is/was a bug that could cause a crash with : go stack "Foobar" in window of this stack if the stacks have different stack modes (topLevel, modal,...) If that's the case, then try changing the modes to match first. 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 wouter.abraham at pi.be Mon Sep 8 12:57:04 2003 From: wouter.abraham at pi.be (Wouter) Date: Mon Sep 8 12:57:04 2003 Subject: Deep Space (was: The Directory Walker revisited) In-Reply-To: <200309081318.JAA00707@www.runrev.com> Message-ID: On Monday, Sep 8, 2003, at 15:18 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 6 > Date: Mon, 08 Sep 2003 20:36:02 +1000 > From: David Vaughan > Subject: Re: Deep Space (was: The Directory Walker revisited) > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > snip > > Hmm. I have now encountered the same problem. As I wrote before, I had > no difficulty with 100,000 files and directories 17 deep, but the same > folders examined from their parent (the volume name) lead to a far > higher depth count (should have been only 18) and did not finish after > 30 minutes. There was no crash, per se, just endless processing. The > amount of work being done makes this a bad one to try to trace. > > I am wondering if this is a problem arising from the amount of data > (roughly estimated at 10MB considering a full path for every file) > being returned on the stack as the function nears the top. > > The alternative might be some trigger into circularity, which is what > happened with permissions. Indeed :^). There is an endless loop because of etc - aliases in folder: //etc/X11/xkb/compiled/ Because it is your code you have the honor :^) > > Perhaps it is OSX-specific. Is the same issue encountered on Windows or > Linux please? > > Seems worth some work given the code should work for virtually any > situation. > > regards > David (Vaughan) Greetings, WA From themacguy at macosx.com Mon Sep 8 13:15:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 8 13:15:01 2003 Subject: Disable OSX App's menu? - no; but at least handle the "Quit during modal" properly In-Reply-To: <200309081602.MAA07106@www.runrev.com> Message-ID: Alex, Yes, perhaps "disable" is inappropriate given that it's not disabled in other OSX apps. However (and as we've both seen), selecting "Quit" from the app menu in the middle of a modal dialog should not prevent the app from quitting later on. I'm sure this is another symptom of the bug #536 I reported earlier. I've also eMailed the support at runrev.com link for assistance as this is, certainly, a major bug that would prevent me from releasing my app. Telling the customer "don't do that" is not an acceptable workaround. Regards, Barry On Monday, Sep 8, 2003, at 10:02 America/Denver, Alex wrote: > I looked in a Cocoa app I wrote and while a modal dialog up, the Quit > menu item is *enabled*, but has no effect. That is what I would expect > because I haven't coded anything to disable the Quit menu item. No > problems quitting afterwards. > >> I filed bug report #567 over this issue. > > Good. I simply am wondering if it's realistic for runrev to disable the > quit menu item for you, if Cocoa doesn't even do it. > > On the other hand, not being able to quit your app would seem to be a > bug :-) > From janschenkel at yahoo.com Mon Sep 8 13:17:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 8 13:17:00 2003 Subject: dynamic menus In-Reply-To: Message-ID: <20030908181055.43918.qmail@web11908.mail.yahoo.com> --- derek bronston wrote: > Hello, anyone have a tutorial or something > describing creating dynamic > menus? > > Basically what I am doing is creating a playlist for > an MP3 player. I > am opening an external text file that contains the > song info . I am > turning this info into an array in revolution and > want to loop through > and print it to the stack each as a clickable text , > or a button.?? > > any ideas > > thanks > > derek > Hi Derek, Why don't you have a look at the list-field control ? Judging by your description above, you want to build a list of mp3-files, and play them one by one, or play one upon a double-click. First create a player control, through which you'll play the MP3 files -- call it "MP3Player". Then make a field "MP3List", and set its list-behaviour to true via the Inspector palette. You'll also want a button "AddMP3" to add files Set the script of the "AddMP3" button to : -- on mouseUp answer file "Please select an MP3 file" if it is empty then exit mouseUp if field "MP3List" is empty then put it into field "MP3List" else put return & it after field "MP3List" end mouseUp -- Give the list field the following script : -- on mouseDoubleUp put line (the hilitedLine of me) into tFile stop player "MP3Player" set the fileName of player "MP3Player" to tFile start player "MP3Player" end mouseDoubleUp -- Saving the list to a file is easy as well ; add a button "SaveList" and set its script to : -- on mouseUp ask file "Save MP3 playlist as :" if it is empty then exit mouseUp put field "MP3List" into URL ("file:" & it) end mouseUp -- Reading the list from a file is just as easy ; add a button "LoadList" and set its script to : -- on mouseUp answer file "Load MP3 playlist from :" if it is empty then exit mouseUp put URL ("file:" & it) into field "MP3List" end mouseUp -- The rest I leave up to you as an exercise ; of course, if you have mor questions, dobn't hesitate to post them on th list -- that's what we're here for :-) 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 alex at mindlube.com Mon Sep 8 13:17:15 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 13:17:15 2003 Subject: Rev IDE crashing In-Reply-To: <002e01c37631$b1cf8c30$65fea8c0@chris1> Message-ID: On Monday, September 8, 2003, at 11:50 AM, Chris Sheffield wrote: > on GoStories > lock screen > go stack "RNStories" > set the visible of stack "RNLogin" to false > unlock screen > end GoStories > > Is there anything unusual there? I believe you can leave out the "unlock screen" because it will only remain locked for the duration of the handler. But that shouldn't have anything to do with crashing. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From FlexibleLearning at aol.com Mon Sep 8 13:20:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon Sep 8 13:20:01 2003 Subject: dynamic menus Message-ID: <171.2374f8ed.2c8e20d0@aol.com> Hello, anyone have a tutorial or something describing creating dynamic menus? Basically what I am doing is creating a playlist for an MP3 player. I am opening an external text file that contains the song info . I am turning this info into an array in revolution and want to loop through and print it to the stack each as a clickable text , or a button.?? any ideas Parse the title and path into two line-matched variables, or use an array. Set the text of btn "PlayList" to tVarTitles, then On menuPick which, get the menuHistory of me, play line it of tVarSourcePaths. 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 x at monsieurx.com Mon Sep 8 13:32:02 2003 From: x at monsieurx.com (MisterX) Date: Mon Sep 8 13:32:02 2003 Subject: dynamic menus In-Reply-To: <171.2374f8ed.2c8e20d0@aol.com> Message-ID: you can build your menu in the mousedown or mouseenter handler on mousedown get mymenu() put it into me end mousedown on menupick... -----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, September 08, 2003 20:14 To: use-revolution at lists.runrev.com Subject: Re: dynamic menus Hello, anyone have a tutorial or something describing creating dynamic menus? Basically what I am doing is creating a playlist for an MP3 player. I am opening an external text file that contains the song info . I am turning this info into an array in revolution and want to loop through and print it to the stack each as a clickable text , or a button.?? any ideas Parse the title and path into two line-matched variables, or use an array. Set the text of btn "PlayList" to tVarTitles, then On menuPick which, get the menuHistory of me, play line it of tVarSourcePaths. 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 x at monsieurx.com Mon Sep 8 13:35:01 2003 From: x at monsieurx.com (MisterX) Date: Mon Sep 8 13:35:01 2003 Subject: how to detect stack needs to be saved In-Reply-To: <3F5CAE85.8090205@hyperactivesw.com> Message-ID: That's one way but dont forget a style or a script or a control's rect may change... have fun for each card for each cd control for each property for each group for each group's card for each control for each property ... > -----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: Monday, September 08, 2003 18:30 > To: use-revolution at lists.runrev.com > Subject: Re: how to detect stack needs to be saved > > > wrote: > > > Why not read the detailed files and pick the date and time from there? > > > > Seems so obvious, I thought it useless to say it... > > The disk info is only updated after the stack is saved, so it won't > help. The question is: how to determine if the stack needs to be saved > in the first place. > > There isn't a generic method that I know of, except to track everything > that could change the content of a stack and set a dirty flag. > > -- > 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 FlexibleLearning at aol.com Mon Sep 8 13:46:07 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon Sep 8 13:46:07 2003 Subject: [ANN: upadate] The Scripters Scrapbook 3.0b6 Message-ID: In case anyone has already downloaded the Scripters Scrapbook, please collect an update from http://www.flexiblelearning.com/xtalk.htm /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Mon Sep 8 13:52:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 8 13:52:01 2003 Subject: how to detect stack needs to be saved In-Reply-To: Message-ID: <20030908184610.62130.qmail@web11904.mail.yahoo.com> --- MisterX wrote: > That's one way but dont forget a style or a script > or a control's rect may > change... > have fun > > for each card > for each cd control > for each property > for each group > for each group's card > for each control > for each property > ... > I would say it depends on the type of stack you're building ; if you're merely trying to keep track of whether or not the user changed some data in the fields, it can be as simple as adding the following to the mainStack script : -- on closeField -- first determine what stack to flag put the long ID of the target into tTargetID -- the long ID of a field is of the form -- fld ID 123 of card ID 123 of stack "Foo" -- of stack "c:\bar.rev" [if saved to disk] -- fld ID 123 of card ID 123 of stack "Foo" -- [if not yet saved] if word -4 of tTargetID is "stack" then put word -3 to -4 of tTargetID into tStackRef else put word -2 to -1 of tTargetID into tStackRef -- now flag the stack as dirty set the uDirty of tStackRef to true end closeField -- Now when you can check the uDirty property of the stack to determine if there are changes to save. 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 Roger.E.Eller at sealedair.com Mon Sep 8 14:07:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Mon Sep 8 14:07:01 2003 Subject: Passing windows authentication from Rev Message-ID: I am trying to pass windows authentication to establish a network connection to a folder located on a server on our LAN. It works for servers that reside in the building, but for others in far away places (these require authentication), it will not prompt for user/pass. So I tried the syntax that the ftp command uses. It doesn't work either. revGoUrl("file://ServerName/path/to/folder") -- works as expected for local servers. revGoUrl("file:username:password@//ServerName/path/to/folder") -- opens explorer window with errors (no authentication passed). I have tried these methods as well: get shell("\\ServerName\path\to\folder") -- command shell opens, but nothing happens. launch "C:/Documents and Settings/My_Name/Desktop/RemoteShortcut" -- This points to a windows shortcut to the remote folder. -- It never opened the folder either. Thanks for any advice. Roger Eller roger.e.eller at sealedair.com From wouter.abraham at pi.be Mon Sep 8 14:32:00 2003 From: wouter.abraham at pi.be (Wouter) Date: Mon Sep 8 14:32:00 2003 Subject: Deep Space (was: The Directory Walker revisited) In-Reply-To: <200309081734.NAA13902@www.runrev.com> Message-ID: <15DF4FBA-E233-11D7-97BD-003065CC999E@pi.be> On Monday, Sep 8, 2003, at 19:56 Europe/Brussels, Wouter wrote: > > Indeed :^). > There is an endless loop because of etc - aliases in folder: > //etc/X11/xkb/compiled/ > Because it is your code you have the honor :^) Correction: In this case it is the compiled_alias_folder at //etc/X11/xkb/compiled/ And you still have the honor. ReGreetings, WA From vikramsingh at mailandnews.com Mon Sep 8 15:05:01 2003 From: vikramsingh at mailandnews.com (Vikram Singh) Date: Mon Sep 8 15:05:01 2003 Subject: Internal Player Reference? Message-ID: <3F5CC16A@mailandnews.com> you could build a qucik and dirty web server, and the player calling for the file as an http URL and the server (the same stack having the player, or a substack) serving the binary data from a variable or whatever. Vikram ---------------------------------------------- Did anyone figure out if it was possible to set the filename of a player to an imported file reference (as opposed to a disk resident file)? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rgould8 at aol.com Mon Sep 8 15:27:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Mon Sep 8 15:27:00 2003 Subject: Strange script tags retrieved with PUT URL calls on PC Message-ID: <3F5CE4A0.4000100@aol.com> I'm getting some strange script tags (below) being retrieved from Revolution's PUT URL command (but only on PC). If I run this same Revolution stack on a Mac, I do not get these lines of code within my app. I've tried this on Rev 2.03 and Rev 2.1. The data is consistantly being retrieved, whether I'm running as a standalone stack, or within authoring mode, but ONLY on Windows. Even if I do a put URL "http://www.apple.com", I get this code, or google.com, or anywhere I'd go. Any idea why I'm seeing this? Do I need to deactivate some http header-display flag when authoring for windows? What I'm seeing, below: From thierry.arbellot at wanadoo.fr Mon Sep 8 16:53:01 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Mon Sep 8 16:53:01 2003 Subject: Videograbber--does it work? In-Reply-To: <290AD83C-E21A-11D7-9FF8-000A95909E26@designeq.com> Message-ID: <13D1375B-E237-11D7-90A3-000A27E40768@wanadoo.fr> the "video_input.rev" sample stack is provided with RR (in the "Sample Stacks" folder). You can learn from this stack how to use the video grabber. The documentation is wrong, the correct syntax of the command is : revInitializeVideoGrabber the short name of this stack, "QT","100,100,200,200" Regards. Thierry On Monday, September 8, 2003, at 06:33 PM, Howard Bornstein wrote: > I'm trying some preliminary tests with the videograbber commands in > Rev 2.1. I can't get anywhere with them. > > I've got an iBot firewire web cam attached to my 17" Powerbook G4. It > works with BTV, so I can confirm the video drivers are present and > correct. > > When I use the videograbber commands, they don't work and generate > non-specific errors (i.e. the error box flashes over and over again > until I make it stop with cmd-period). > > If I take the example for initializing the video grabber right from > the docs and enter it into the msg box (revInitializeVideoGrabber > "QT","100,100,200,200"), I get an error message: > > Message execution error: > Error description: send: error in message expression > > Can't get beyond this point. > > Has anyone gotten the videograbber software to work in Rev? Any clues > or tips? > > Thanks, > > 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 > From thierry.arbellot at wanadoo.fr Mon Sep 8 16:53:58 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Mon Sep 8 16:53:58 2003 Subject: Disable OSX App's menu? - no; but at least handle the "Quit during modal" properly In-Reply-To: Message-ID: <64BFAECE-E241-11D7-90A3-000A27E40768@wanadoo.fr> Barry, I've tried to reproduce the bug, but I can't get it. Everything I tested with modal dialog (answer, ask, ask file) allows me to quit afterwards. Please, could you give more detail on how to reproduce this bug. Regards. Thierry. On Monday, September 8, 2003, at 08:10 PM, Barry Levine wrote: > Alex, > > Yes, perhaps "disable" is inappropriate given that it's not disabled > in other OSX apps. However (and as we've both seen), selecting "Quit" > from the app menu in the middle of a modal dialog should not prevent > the app from quitting later on. I'm sure this is another symptom of > the bug #536 I reported earlier. > > I've also eMailed the support at runrev.com link for assistance as this > is, certainly, a major bug that would prevent me from releasing my > app. Telling the customer "don't do that" is not an acceptable > workaround. > > Regards, > Barry > > On Monday, Sep 8, 2003, at 10:02 America/Denver, Alex wrote: > >> I looked in a Cocoa app I wrote and while a modal dialog up, the Quit >> menu item is *enabled*, but has no effect. That is what I would expect >> because I haven't coded anything to disable the Quit menu item. No >> problems quitting afterwards. >> >>> I filed bug report #567 over this issue. >> >> Good. I simply am wondering if it's realistic for runrev to disable >> the >> quit menu item for you, if Cocoa doesn't even do it. >> >> On the other hand, not being able to quit your app would seem to be a >> bug :-) >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at knowledgeworks.plus.com Mon Sep 8 17:04:01 2003 From: revolution at knowledgeworks.plus.com (revolution at knowledgeworks.plus.com) Date: Mon Sep 8 17:04:01 2003 Subject: Strange script tags retrieved with PUT URL calls on PC Message-ID: <20030908225735.knowledgeworks@Plus.Net> Hello Rob First, apologies for the HTML below (this is what I get from pur url "http://www.google.com" Second, there is no mention of "NoError", so I took "PrxRealOpen" and typed into Google. I would guess you are running the "Proxomitron" popup blocker on your PC? Regards, Bernard Google
Google

 Web Images Groups Directory News 

 
 • Advanced Search
 • Preferences
 • Language Tools


Advertise with Us - Business Solutions - Services & Tools - Jobs, Press, & Help

©2003 Google - Searching 3,307,998,701 web pages

>> "Rob Gould" Sent by: use-revolution-admin at lists.runrev.com 08/09/2003 21:20 Please respond to use-revolution To: "use-revolution use-revolution" cc: Subject: Strange script tags retrieved with PUT URL calls on PC I'm getting some strange script tags (below) being retrieved from Revolution's PUT URL command (but only on PC). If I run this same Revolution stack on a Mac, I do not get these lines of code within my app. I've tried this on Rev 2.03 and Rev 2.1. The data is consistantly being retrieved, whether I'm running as a standalone stack, or within authoring mode, but ONLY on Windows. Even if I do a put URL "http://www.apple.com", I get this code, or google.com, or anywhere I'd go. Any idea why I'm seeing this? Do I need to deactivate some http header-display flag when authoring for windows? What I'm seeing, below: 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: Monday, September 08, 2003 3:21 PM > To: use-revolution use-revolution > Subject: Strange script tags retrieved with PUT URL calls on PC > > > I'm getting some strange script tags (below) being retrieved from > Revolution's PUT URL command (but only on PC). If I run this same > Revolution stack on a Mac, I do not get these lines of code within my > app. I've tried this on Rev 2.03 and Rev 2.1. > > The data is consistantly being retrieved, whether I'm running as a > standalone stack, or within authoring mode, but ONLY on > Windows. Even > if I do a > > put URL "http://www.apple.com", I get this code, or google.com, or > anywhere I'd go. Any idea why I'm seeing this? Do I need to > deactivate > some http header-display flag when authoring for windows? > > What I'm seeing, below: > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Mon Sep 8 17:23:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 8 17:23:01 2003 Subject: Passing windows authentication from Rev In-Reply-To: Message-ID: <001001c37656$df0f9030$6501a8c0@LightningFlash> Roger, Try: get URL "file://" & urlencode(userName) & ":" & urlencode(password) \ & "@//ServerName/path/to/folder" and see what that does... 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 > Roger.E.Eller at sealedair.com > Sent: Monday, September 08, 2003 1:55 PM > To: use-revolution at lists.runrev.com > Subject: Passing windows authentication from Rev > > > I am trying to pass windows authentication to establish a network > connection to a folder located on a server on our LAN. It works for > servers that reside in the building, but for others in far > away places > (these require authentication), it will not prompt for > user/pass. So I > tried the syntax that the ftp command uses. It doesn't work either. > > revGoUrl("file://ServerName/path/to/folder") > -- works as expected for local servers. > > revGoUrl("file:username:password@//ServerName/path/to/folder") > -- opens explorer window with errors (no authentication passed). > > I have tried these methods as well: > get shell("\\ServerName\path\to\folder") > -- command shell opens, but nothing happens. > > launch "C:/Documents and Settings/My_Name/Desktop/RemoteShortcut" > -- This points to a windows shortcut to the remote folder. > -- It never opened the folder either. > > Thanks for any advice. > > Roger Eller > roger.e.eller at sealedair.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From rgould8 at aol.com Mon Sep 8 17:29:12 2003 From: rgould8 at aol.com (Rob Gould) Date: Mon Sep 8 17:29:12 2003 Subject: Strange script tags retrieved with PUT URL calls on PC - solved In-Reply-To: <20030908225735.knowledgeworks@Plus.Net> References: <20030908225735.knowledgeworks@Plus.Net> Message-ID: <3F5D0152.1040100@aol.com> Stupid me! Yes, that is indeed the problem - - - I've got Promomitron running on my PC. Once again, Revolution is fine - - user error on my end. revolution at knowledgeworks.plus.com wrote on 9/8/03, 5:57 PM: > > Hello Rob > > First, apologies for the HTML below (this is what I get from pur url > "http://www.google.com" > > Second, there is no mention of "NoError", so I took "PrxRealOpen" and > typed into Google. I would guess you are running the "Proxomitron" > popup blocker on your PC? > > Regards, > Bernard From revlist at cableone.net Mon Sep 8 17:30:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Mon Sep 8 17:30:01 2003 Subject: Rev IDE crashing In-Reply-To: <000a01c37655$df759a70$6501a8c0@LightningFlash> Message-ID: <004501c37658$0480b7d0$65fea8c0@chris1> Yes, I can. As long as I lock messages first. But it opens right up without problems. 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 Ken Ray Sent: Monday, September 08, 2003 4:09 PM To: use-revolution at lists.runrev.com Subject: RE: Rev IDE crashing Chris, Can you open the stack "RNStories" manually in the Rev IDE without a crash? 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 > Chris Sheffield > Sent: Monday, September 08, 2003 12:50 PM > To: use-revolution at lists.runrev.com > Subject: RE: Rev IDE crashing > > > I'm not even specifying modes. It simply reads 'go stack > "RNStories"'. > > What I've got is a custom handler 'GoStories' that is called > from a mouseUp handler of a button. It looks like this: > > on GoStories > lock screen > go stack "RNStories" > set the visible of stack "RNLogin" to false > unlock screen > end GoStories > > Is there anything unusual there? The thing that's really > strange is that this same code has been working for months > now with different versions of Rev on OS X, and it still > works fine under Windows with Rev 2.1. It wasn't until I > moved the stack to OS X and Rev 2.1 that I've had this problem. > > I'm going to keep playing with it a bit. I logged the crash > like Alex said, and it appears that my code is trying to > access some area of memory that it shouldn't. I could be > wrong about that, though. I'm not familiar with Mac > programming other than in Rev, but I've seen similar messages > in a C debugger on Windows. If I can't figure anything out > I'll go ahead and bug report it. Thanks to you and Alex. > > Chris Sheffield > Software Development > Read Naturally > csheffield at readnaturally.com > > > From alex at mindlube.com Mon Sep 8 17:56:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 17:56:00 2003 Subject: Programming runrev-externals with realbasic In-Reply-To: Message-ID: On Monday, September 8, 2003, at 04:01 PM, Thomas Fuerstner wrote: > I know this sounds a little bit heretically but is it possible to write > externals with realbasic? Theoretically it should be possible because > realbasic is a compiled language. > > It would be pretty cool to combine the advantages of both development > environments especially under mac os x. Old hypercard manuals mention Pascal for building externals. If Pascal was possible, I suppose realbasic should be possible. You would have to get realbasic to call C functions, and produce a library file (.bundle or .dll) and instead of an executable. IMHO if it were possible, there would be little benefit to using realbasic to author Rev externals. Runrev is also a compiled language, but it compiles at run-time, similarly to Java with it's "JIT" and "hotspot" compilation. In my experience, realbasic is no speed demon. Hope this helps, 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 Mon Sep 8 18:29:04 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 18:29:04 2003 Subject: Programming runrev-externals with realbasic In-Reply-To: Message-ID: <69403C32-E253-11D7-8468-000393529642@mindlube.com> On Monday, September 8, 2003, at 04:50 PM, Alex Rice wrote: > Runrev is also a compiled language, but it compiles at run-time, > similarly to Java with it's "JIT" and "hotspot" compilation. OK I was just double-checking my facts because I couldn't remember where I picked that up. The runrev docs and website don't have any technical information about the compiler and engine! Here is something I found on metacard.com : "There were two major areas of development for the [metacard engine] 2.0 release. The first was a complete rewrite of the language execution system to improve performance and add features not available in other xTalk languages. The resulting "virtual compiler" technology offers performance comparable to byte-code interpreted languages like Perl and Java, and which is at least 5 times faster than the partial compilation compilers used in comparable tools including HyperCard and SuperCard. It is up to 30 times faster than languages that rely on conventional interpreters like JavaScript and the UNIX shell languages." In Java, the standard runtime was byte-code interpreted. That being awfully slow especially for GUI apps, lots of companies developed "just-in-time"/ JIT compilation, Sun coming up with the name "hotspot" for it. So where does the Rev engine fall in these categories? Just curious. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From themacguy at macosx.com Mon Sep 8 19:27:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 8 19:27:00 2003 Subject: modal dialogs and Quit problem In-Reply-To: <200309082120.RAA22584@www.runrev.com> Message-ID: Thierry, I can reproduce it with the stacks that have been causing the problem. I've been eliminating parts of the stacks - sometimes leaving out one of the three stacks or another of the three. In all cases, so far, I've been able to reproduce the bug. However, when taking three small stacks I've created simply to test this problem, I've been unable to reproduce it. So I must assume that there's either something corrupted in one (or more) of the stacks, or I've got some totally unique combination of parts that is bringing this on. In any case, the failure of Rev to intercept the Quit selection from the OSX app menu when in the middle of a modal dialog is the basis of the problem and, if it were handling this properly, I wouldn't be having the problem at all. I'll report back when I have something definitive. Thanks, Barry On Monday, Sep 8, 2003, at 15:20 America/Denver, use-revolution-request at lists.runrev.com wrote: > Barry, > > I've tried to reproduce the bug, but I can't get it. > Everything I tested with modal dialog (answer, ask, ask file) allows me > to quit afterwards. > > Please, could you give more detail on how to reproduce this bug. > > Regards. > > Thierry. From dvk at dvkconsult.com.au Mon Sep 8 20:09:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon Sep 8 20:09:01 2003 Subject: Deep Space In-Reply-To: <200309082120.RAA22517@www.runrev.com> Message-ID: <39C9E1A1-E261-11D7-8B91-000A95729266@dvkconsult.com.au> On Tuesday, Sep 9, 2003, at 07:20 Australia/Brisbane, Wouter wrote: > > Correction: > In this case it is the compiled_alias_folder at > //etc/X11/xkb/compiled/ > And you still have the honor. No, I have no such folder, not having compiled X11. I'll keep looking. regards David > > ReGreetings, > WA From themacguy at macosx.com Mon Sep 8 20:15:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 8 20:15:01 2003 Subject: modal dialogs and Quit problem Message-ID: <56FB425A-E262-11D7-A982-000A95763ABC@macosx.com> Thierry, The problem seems to be centered in the OSX version of Rev. When I create an OSX distribution from WindowsXP (using 2.0.1), the app -can- be quit; shutDownRequest is called every time (whether interrupting a modal dialog or not). However, this nonsense of Rev permitting a modal dialog to be interrupted is, well, I can't use such a word on this list. There is no excuse for this kind of app behavior except that it's a very bad bug or, heaven forbid!, a design choice. A modal dialog is either modal in it's environment (the app) or it isn't. And -that- is a cross-platform problem; the modal dialog can also be interrupted in WinXP. Even there, it's a HIG faux pas. I will have to backup my Mac system, re-initialize the drive, and reinstall Rev in order to see if the force-quit problem is a glitch in my system or something that's part of the OSX Rev 2.x release. Regards, Barry From sarahr at genesearch.com.au Mon Sep 8 20:27:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Sep 8 20:27:01 2003 Subject: Novice developer: problem with Buidl Distribution... In-Reply-To: Message-ID: The path may just be too long (OS X & Rev have some funny inconsistencies there). Try building the app into a folder with a shorter path e.g. your desktop. Cheers, Sarah On Monday, September 8, 2003, at 12:14 am, Annemieke Copal wrote: > Hello, > > I'm a novice user of Revolution version 2.0, which came with de > magazine MacWorld. I tried to build a simple standalone programe for > MacOSX, which contains a textfield, a button and an image. The only > thing the programe should do, is make the image visible and invisible. > I tried the programe in "Browse" mode, and it worked.. so i wanted to > try to build the distribution. I followed the 3 steps, but when > compiling, the following massage appeared: > > Can't open destination standalonefile /Macintosh HD/Users/[my > username]/Documents/[custom made directory]/Revolution 2.0.1/[another > custom made > directory]/Standalone_MacOSX_testje/Testje.app/Contents/MacOS/ > Revelution From sarahr at genesearch.com.au Mon Sep 8 20:35:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Sep 8 20:35:00 2003 Subject: Rev IDE crashing In-Reply-To: <004501c37658$0480b7d0$65fea8c0@chris1> Message-ID: <9B99193C-E263-11D7-A4BE-0003937A97B8@genesearch.com.au> That would seem to indicate that the problem is in a handler in RNStories. Perhaps openStack, preOpenStack, openCard or preOpenCard. Fix RNStories first, so that you can open it without locking messages, then try your original stack again. Sarah >> Yes, I can. As long as I lock messages first. But it opens right up >> without problems. > > Chris, > > Can you open the stack "RNStories" manually in the Rev IDE without a > crash? From sarahr at genesearch.com.au Mon Sep 8 20:47:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Sep 8 20:47:00 2003 Subject: how to detect stack needs to be saved In-Reply-To: <02c401c37509$4714b240$6501a8c0@LightningFlash> Message-ID: <6CC40182-E266-11D7-A4BE-0003937A97B8@genesearch.com.au> Checking the back scripts (from the Message Box - check "Show Revolution UI Back scripts"), in the button "revBackScript", there is handler called revSaveCheck which has the following line: if gREVStackStatus[pStack] is "edited" then Whether this would work only in the IDE I can't tell, but you could test it anyway. Cheers, Sarah On Sunday, September 7, 2003, at 04:34 pm, Ken Ray wrote: > There isn't one, AFAIK. It would be nice to have a "lastModified" > property that would provide the date/time of last modification and if > it > were empty you'd know it hadn't been modified at all... > > 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 Tamblyn >> Sent: Sunday, September 07, 2003 10:44 PM >> To: use-revolution at lists.runrev.com >> Subject: how to detect stack needs to be saved >> >> >> What property do you check to determine if a stack needs to be saved >> (ie has been modified in memory)? >> >> ~ R >> -- >> 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 >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From alex at mindlube.com Mon Sep 8 21:05:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 21:05:01 2003 Subject: Disable OSX App's menu? - no; but at least handle the "Quit during modal" properly In-Reply-To: Message-ID: <449D1498-E269-11D7-8468-000393529642@mindlube.com> On Monday, September 8, 2003, at 12:10 PM, Barry Levine wrote: > Alex, > > Yes, perhaps "disable" is inappropriate given that it's not disabled > in other OSX apps. Actually, I was mistaken. In Mail.app and Internet Explorer.app, bring up the Save As dialog. The Quit menu item is disabled on both apps. Those Save As dialogs are not sheets. I was looking at a Sheet modal dialog before, when I saw a non-disabled Quit item, albeit with no action to it apparently. 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 Mon Sep 8 21:09:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 21:09:00 2003 Subject: modal dialogs and Quit problem In-Reply-To: <56FB425A-E262-11D7-A982-000A95763ABC@macosx.com> Message-ID: On Monday, September 8, 2003, at 07:10 PM, Barry Levine wrote: > However, this nonsense of Rev permitting a modal dialog to be > interrupted is, well, I can't use such a word on this list. There is > no excuse for this kind of app behavior except that it's a very bad > bug or, heaven forbid!, a design choice. A modal dialog is either > modal in it's environment (the app) or it isn't. And -that- is a > cross-platform problem; the modal dialog can also be interrupted in > WinXP. Even there, it's a HIG faux pas. Barry, Except in Apple's HIG because in OS X they have introduced document-modal dialogs aka sheets. Can you explain what you mean "permitting a modal dialog to be interrupted"? If Rev's modal dialogs are somehow not really modal that would of course I would be concerned too... I just don't understand the argument now. I just skimmed through bug #536, and still don't get it. Thanks, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From bornstein at designeq.com Mon Sep 8 21:47:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Sep 8 21:47:00 2003 Subject: Videograbber--does it work? In-Reply-To: <13D1375B-E237-11D7-90A3-000A27E40768@wanadoo.fr> Message-ID: <2602754A-E26F-11D7-9FF8-000A95909E26@designeq.com> > the "video_input.rev" sample stack is provided with RR (in the "Sample > Stacks" folder). > You can learn from this stack how to use the video grabber. > > The documentation is wrong, the correct syntax of the command is : > revInitializeVideoGrabber the short name of this stack, > "QT","100,100,200,200" > Thanks, I just found out about the video_input.rev stack. I'll take a look. Has the documentation bug been bugzillaed? -Howard From sarahr at genesearch.com.au Mon Sep 8 21:59:02 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Sep 8 21:59:02 2003 Subject: Numerice field In-Reply-To: <47F110AC-DDCA-11D7-B8E0-000393CCF5D8@newwave.net> Message-ID: <88ACF57B-E270-11D7-A4BE-0003937A97B8@genesearch.com.au> On Wednesday, September 3, 2003, at 02:54 pm, Charles Szasz wrote: > I do have another question, how do you make the popup menu reset > itself after a selection is made and then you quit the program and > then restarted it? > I can't see that this bit has been answered yet: set the menuhistory of the button to the line you want to start on. This checks the line AND sends a menuPick message. Sarah From soapdog at mac.com Mon Sep 8 22:17:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Mon Sep 8 22:17:01 2003 Subject: I know this is newbie... it's about Arrays. Message-ID: <00095F8D-E274-11D7-9B53-00039387AE90@mac.com> Hi Folks, In the proccess of implementing XML-RPC in Revolution I decided to put all parameters inside an Array just to discover that I know nothing about arrays in Rev. I know they can have keyed items or numbered Items, thats all. My Rev online documentation says to me: "Check About Arrays and Matrixes" but this article is non existant. I need to know how to append an item to the array and how to count elements in it... I know this is silly for someone trying to implement a hole advanced remote procedure calling protocol, but life is like that, I am now able to place all my calls and almost parse them, but i just don't know how to append items in a array, is there a function for that? cheers Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From alex at mindlube.com Mon Sep 8 22:46:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 8 22:46:00 2003 Subject: I know this is newbie... it's about Arrays. In-Reply-To: <00095F8D-E274-11D7-9B53-00039387AE90@mac.com> Message-ID: <6465FDCE-E277-11D7-8468-000393529642@mindlube.com> On Monday, September 8, 2003, at 09:16 PM, Andre Garzia wrote: > In the proccess of implementing XML-RPC in Revolution I decided to put > all parameters inside an Array just to discover that I know nothing > about arrays in Rev. I know they can have keyed items or numbered > Items, thats all. Arrays in Rev are like dictionary / shelf / hash / associative arrays in other languages. If you need a sequential data structure I would recommend using a chunk expression, like a newline separated list (this is just my personal preference) instead of an array. AFAIK you cannot do real integer indexing of items in Rev arrays. Your an integer index is converted to a string and used as the key. Consequently there is no insert or append function for arrays. Chunk expressions are really convenient. This kind of thing put tItem & comma after tList put the number of items into tCount -- itemDelimiter is comma by default put item 3 of tList into tLookup > My Rev online documentation says to me: "Check About Arrays and > Matrixes" but this article is non existant. Bugzilla it as a docs problem! Here are a couple of starting points though 1) All Documentation By Category | Values & Properties | containers, variables and sources of value | (scroll 40% down) Array Variables. ** 2) Transcript Dictionary, [] keyword ** If you do bugzilla it, also add a comment this topic doesn't exist: "For more information about array variables, see the topic ``About arrays and matrixes.`` " Thanks :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From themacguy at macosx.com Mon Sep 8 23:07:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 8 23:07:00 2003 Subject: modal dialogs and Quit problem In-Reply-To: <200309090200.WAA32757@www.runrev.com> Message-ID: <66784BBC-E27A-11D7-A982-000A95763ABC@macosx.com> (alex wrote): > Can you explain what you mean "permitting a modal dialog to be > interrupted"? If Rev's modal dialogs are somehow not really modal that > would of course I would be concerned too... I just don't understand the > argument now. I just skimmed through bug #536, and still don't get it. Alex, Okay; fair question. By definition, a "modal" dialog box requires the user to dismiss it before -any- other activity can proceed within that application. To quote from the Rev docs: "The modal command pauses the running handler until the modal dialog box is dismissed." The "ask" and "answer" commands are also modal. Again, to quote the docs: "Use the ask command when a handler needs to get information from the user before continuing." and "Use the answer command to get information or a confirmation from the user before continuing. The user must click one of the buttons to dismiss the dialog box." There is no program running on the Mac (or Windows, for that matter) following the Human Interface Guidelines that would permit a modal dialog box to be interrupted unless it was highly specific and backtrackable; I'll suggest the "Print" dialog in Windows and Mac which has potentially many buttons to bring up little "sub-dialogs" about "options" or "printer setup" issues. However, in this case, the sub-dialogs return you to the "main" dialog and back out to the app in a "last in - last out" fashion. You would never be permitted to select "Quit" while in the middle of such a dialog (or nest of dialogs). Look at Excel, Word, PowerPoint, AppleWorks, Final Cut, Mail, Explorer, Communicator, Toast, Nero, Entourage, Outlook, you name it. It's just plain wrong and violates important rules about user expectations and leading the user down the path of least danger. Consider this scenario: You've created a word processing application. The user selects "Save" and you present a modal dialog to facilitate the saving. However, Rev permits the user to then select "Quit" and the application will quit without saving the document. Okay; so you add a little shutdownRequest handler to confirm the quit action. It would still occur while the Save dialog was present! Can you think of -any- application that would permit you to quit in the middle of such a dialog without first dismissing it? It's absurd. In the case of Rev for OSX -and- Windows, it is possible to select the Quit command and have a shutDownRequest execute while you are in the middle of a modal dialog ("ask" or "answer" or even "open stack modal"). In other words, the "modal dialog" is not modal at all! If you are not forced to first dismiss the dialog, it's not modal. (Read that sentence again.) You can't have it both ways. So I hope you really mean it when you say that you "would be concerned too" if the modal dialogs are "not really modal" because I have shown you that they are, indeed, not modal by the only standard that counts: Can you do something else that subverts the intent of the modal dialog while the modal dialog is present? If so, it's not modal. Can you nest modal dialogs? Of course; but you must dismiss them in a last in - last out method (as in the "Print" dialog discussed above). In Rev's case, there is a routine missing that screws up how an app is supposed to behave. Now, someone wrote (and I don't remember who) that it's the developer's responsibility to disable the Quit menu item. Fair enough. Show me how that can be done in OSX and I'll have a workaround. But the ultimate responsibility to get this right rests with the Rev folks. Regards, Barry From gizmotron at earthlink.net Mon Sep 8 23:14:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Sep 8 23:14:01 2003 Subject: I know this is newbie... it's about Arrays. In-Reply-To: <00095F8D-E274-11D7-9B53-00039387AE90@mac.com> Message-ID: <27D36175-E27B-11D7-A6E9-000A95859272@earthlink.net> On Monday, September 8, 2003, at 08:16 PM, Andre Garzia wrote: > Hi Folks, > > In the proccess of implementing XML-RPC in Revolution I decided to put > all parameters inside an Array just to discover that I know nothing > about arrays in Rev. I know they can have keyed items or numbered > Items, thats all. My Rev online documentation says to me: "Check About > Arrays and Matrixes" but this article is non existant. I need to know > how to append an item to the array and how to count elements in it... > I know this is silly for someone trying to implement a hole advanced > remote procedure calling protocol, but life is like that, I am now > able to place all my calls and almost parse them, but i just don't > know how to append items in a array, is there a function for that? I create my arrays with numbered keys. I store the number entries of the current state of each array in a global array that I can call from any handler or function that needs to know how many items there are in each array. It just hit me... I'm going to create a function that can manipulate all my numerical keyed arrays so that it will allow me to sort my arrays, append my arrays, and use "myArray[4]" to get and put the information in the forth position in the myArray. It will allow me to use code like these examples: appendArray(myArray, "12 Monkeys") -- adds "12 Monkeys" to end of myArray appendArray(myArray, 1234) -- adds 1234 to end of myArray deleteArray(myArray, 2) -- deletes all existence of 2 and reduces all the rest by one sortArray(myArray) -- sorts numerically and/or alphabetically myArray addAtArray(myArray[3], "10 Monkeys") -- use this instead of ( put "10 Monkeys" into myArray[3] ) -- just in case myArray only contained 2 -- this is to keep track of the number of items in an each array. Now that I know how to save arrays into a customProperties file I can add this function to my FrogBreath.rev example. Seems like an nice addition. If I get this done I will post it here. Mark From yvescoppe at skynet.be Tue Sep 9 01:03:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue Sep 9 01:03:00 2003 Subject: MenuBar in Mac OS X In-Reply-To: <1g0z9wp.xia0b17dvigwM%mcdomi@free.fr> Message-ID: <7E07CB16-E28A-11D7-83D7-003065E14B04@skynet.be> Le lundi, 8 sep 2003, ? 17:32 Europe/Brussels, Dom a ?crit : > wrote: > >> Perhaps a working URL would be nice! tried the domiscript.fr and >> com... ;( > > Oh, pardon !!! > > The good one: > > > > Hello, i've tried many solutions. I think the easiest way is to remove the grp of each card. Thank you Greetings. Yves COPPE yvescoppe at skynet.be From alex at mindlube.com Tue Sep 9 01:05:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 9 01:05:01 2003 Subject: modal dialogs and Quit problem In-Reply-To: <66784BBC-E27A-11D7-A982-000A95763ABC@macosx.com> Message-ID: <812D9833-E28A-11D7-91EB-000393529642@mindlube.com> On Monday, September 8, 2003, at 10:02 PM, Barry Levine wrote: > Now, someone wrote (and I don't remember who) that it's the > developer's responsibility to disable the Quit menu item. Fair enough. > Show me how that can be done in OSX and I'll have a workaround. re: disabling the Quit menu item. (that was me) Sorry, "disable menu" is not working for the App's menu. Menu 1 is apparently mapped to the menu after the App's menu; the File menu. Menu "appName" doesn't exist. Docs say: "On Mac OS systems, the Apple menu does not have a number and cannot be enabled or disabled. Menu numbering starts with the menu to the right of the Apple menu." On OS X the menu item after the Apple menu is the application menu. runrev: Is this a docs bug, or an engine bug? In either case, one cannot disable the Quit menu item. IMHO sneakily moving menu items (quit, preferences) from other menus to the Application menu really seems like a poor solution. We need full control over the App menu on OS X. In Apple's Project Builder, the App menu is fully editable and is no different than other menus in terms of creation and event handling. I'm sure the current behavior of Rev is in the interest of making menu objects cross-platform. This seems like feature request material. re: replicating your problem report I made a new stack and set it's menu bar as the mac os menu bar, causing the Quit menu item to be moved from the File menu into the App's menu. Built standalone. Here are my findings: 1 - during an "answer file", the the quit menu item IS disabled. It's OK after all. 2 - during an "answer info", the the quit menu item is *enabled*. that's not good because it does also send a shutdownRequest message. this should be bugzilla'd. (maybe covered in your bug report?) 3 - shutdownRequest always got sent. couldn't replicate that bug. 4 - didn't look at any other modal dialogs re: miserable workaround for problem 2 hide menubar answer info "..." -- or other modal dialog show menubar re: possible other workaround for problem 2 shutdownRequest is also coincident with an apple event that's described in the docs. I would check to make sure that the apple event has the same bug as the shutdownRequest (gets sent during modal dialog). If the apple event for some reason doesn't suffer the same bug then that opens up a better workaround possibility. You seem to have found at least 2 bugs here Barry! It's hard to tell because of the connection between the Quit menu item and the shutdownRequest message + apple event message. Anyone know how we can we look into that connection and see how it's implemented? is it transcript or part of the OS X engine? I learned a lot about Rev menus tonight- thanks! Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Tue Sep 9 02:39:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 9 02:39:00 2003 Subject: modal dialogs and Quit problem In-Reply-To: <812D9833-E28A-11D7-91EB-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > IMHO sneakily moving menu items (quit, preferences) from other menus to > the Application menu really seems like a poor solution. One man's "sneakily" is another man's "conveniently". I find Rev's solution to be the simplest of truly platform-independent menu systems I've worked with by far. Keep in mind that the problem is the disabling of a menu item, not that Rev automates dealing with Apple's inconsistencies between Classic and OS X (and differences with Linux and Windows as well). It seems submitting a bug report requesting the ability to disable the Quit item when a modal is open on OS X should suffice. I hope Rev doesn't take away the unprecedented convenience it offers for platform-independent menu handling. -- 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 dvk at dvkconsult.com.au Tue Sep 9 02:42:00 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Sep 9 02:42:00 2003 Subject: Deep Space (was: The Directory Walker revisited) In-Reply-To: <200309081318.JAA00595@www.runrev.com> Message-ID: <00080451-E298-11D7-8B91-000A95729266@dvkconsult.com.au> On Monday, Sep 8, 2003, at 23:18 Australia/Brisbane, David Vaughan wrote: > > Hmm. I have now encountered the same problem. As I wrote before, I had > no difficulty with 100,000 files and directories 17 deep, but the same > folders examined from their parent (the volume name) lead to a far > higher depth count (should have been only 18) snip > > The alternative might be some trigger into circularity, which is what > happened with permissions. Found it folks! On OS X systems the folder //Network contains a reference to the local computer, which is where you started, so round you go again. I made a specific adjustment at the beginning of the handler, thus: function walkDir dirPath if dirPath contains "//Network" then return empty end if -- etc as before Running this worked across the entire root volume, returning over 230,000 files in a 24MB list (maxDepth 18 as expected), no problems. The same circularity will equally affect an iterative routine, not only a recursive approach, so whatever you do you need to protect against the specific problem or simply not allow a user to walk from root. The point of this exercise was to confirm that stack size did not limit a recursive approach. Note also WA's apparent problem with an X11 sub-folder, although aliases did not appear to have added any circularity in my testing. Any routine should also be tested specifically on a Linux or Windows platform if it will be deployed there. The testing code comprises displaying the current path every time you hit a new maxDepth. regards David From wouter.abraham at pi.be Tue Sep 9 04:13:01 2003 From: wouter.abraham at pi.be (Wouter) Date: Tue Sep 9 04:13:01 2003 Subject: Deep Space (9?) In-Reply-To: <200309090200.WAA00316@www.runrev.com> Message-ID: On Tuesday, Sep 9, 2003, at 04:00 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 7 > Date: Tue, 09 Sep 2003 11:02:03 +1000 > From: David Vaughan > Subject: Re: Deep Space > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Tuesday, Sep 9, 2003, at 07:20 Australia/Brisbane, Wouter > wrote: >> >> Correction: >> In this case it is the compiled_alias_folder at >> //etc/X11/xkb/compiled/ >> And you still have the honor. > > No, I have no such folder, not having compiled X11. > > I'll keep looking. > > regards > David Forgive me my incompleteness. This directory comes from a X11 installation on my tibook < http://www.apple.com/macosx/x11/ > But thank to this I discovered a difference in the alias folders. Try for yourself: Type in the msg box : set the directory to "/etc";put the directories You get the directories in which you see "etc" as a directory. After this use "open" in the file menu and you will see that the etc folder is in fact an aliased folder. Make an aliased folder yourself and do: set the directory to "/wherever_your_aliased_folder_is";put the detailed files you see the aliased folder is actually a file with a creator and type code of MACSfdrp. If you do: set the directory to "/wherever_your_aliased_folder_is";put the folders you won't see a directory called as your aliased folder name. if you do: set the directory to "/";put the detailed directories the etc "aliased" folder's creator an file type is ???????? This means that if if the directory walker stumbles on an aliased folder from the first kind pointing to its parentdirectory you get the loop which makes the recursinglevel go to its limit. The problem is to recognize the special aliases. I made an incomplete solution to circumvent this problem and stumbled into yet another problem, but I have to investigate this a bit further before releasing it on the list. Excuse me for this appletalk but may be something similar can be found on the other platforms. Greetings, WA From klaus at major-k.de Tue Sep 9 05:06:01 2003 From: klaus at major-k.de (Klaus Major) Date: Tue Sep 9 05:06:01 2003 Subject: How to translate some default dialogs ? In-Reply-To: <89476454-E1FD-11D7-8C5B-000A27E40768@wanadoo.fr> Message-ID: <5B0FEF0C-E2AC-11D7-8B5B-000A27B49A96@major-k.de> Bonjour Thierry, > Actually, it's not a dummy folder, but the way OSX manages > multi-languages app. I know about NIBS and stuff (actually i made the german localization of ExhibitionX ;-) i was just wondering because that even works (partially) with an EMPTY (thus "dummy") folder ;-) > For each language supported by the app, a folder - which name is the > language name - is created > and all translated resources are copied inside this folder. > You can have as many folders as you like in the same app. > OSX will use the default language you have defined in the system > preferences - international. > Even if the folder is empty - that means no resource was localized - > OSX will display at last the system messages, menus... in this > language. > > This feature is used by Apple app, like Mail and Safari. > You can open the packages to see how it's done. > > Regards, > > Thierry. Regards Klaus Major klaus at major-k.de www.major-k.de From wouter.abraham at pi.be Tue Sep 9 05:10:00 2003 From: wouter.abraham at pi.be (Wouter) Date: Tue Sep 9 05:10:00 2003 Subject: Deep Space In-Reply-To: <200309090200.WAA00316@www.runrev.com> Message-ID: On Tuesday, Sep 9, 2003, at 04:00 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 7 > Date: Tue, 09 Sep 2003 11:02:03 +1000 > From: David Vaughan > Subject: Re: Deep Space > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com Concerning the other problem : After the directory walk putting the result into a field. only tested on Mac OS X 10.2.6 Try this little gem in Metacard 2.4.3 or Revolution with this version of the engine and in Metacard 2.5.1B3 or Revolution with this version of the engine and see the difference. Caution: do not try this at the same time when you have unsaved work open in the IDE. on mouseUp put "Whatever text you really...." & cr into tFiller repeat 21 ---- 2097152 lines put tFiller after tFiller end repeat put tFiller into fld 1 put the number of lines in fld 1 end mouseUp Sneak preview : The 2.4.3 engine will accomplish the feat, be it slow. The 2.5.1 engine will lock up. Don't know about the other platforms. Greetings, WA From rjb at rz.uni-potsdam.de Tue Sep 9 07:32:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Sep 9 07:32:01 2003 Subject: Deep Space (was: The Directory Walker revisited) In-Reply-To: <00080451-E298-11D7-8B91-000A95729266@dvkconsult.com.au> References: <00080451-E298-11D7-8B91-000A95729266@dvkconsult.com.au> Message-ID: >On Monday, Sep 8, 2003, at 23:18 Australia/Brisbane, David Vaughan > wrote: >> >>Hmm. I have now encountered the same problem. As I wrote before, I >>had no difficulty with 100,000 files and directories 17 deep, but >>the same folders examined from their parent (the volume name) lead >>to a far higher depth count (should have been only 18) >snip >> >>The alternative might be some trigger into circularity, which is >>what happened with permissions. > >Found it folks! > >On OS X systems the folder //Network contains a reference to the >local computer, which is where you started, so round you go again. > >I made a specific adjustment at the beginning of the handler, thus: > > function walkDir dirPath > if dirPath contains "//Network" then > return empty > end if > -- etc as before > >Running this worked across the entire root volume, returning over >230,000 files in a 24MB list (maxDepth 18 as expected), no problems. > >The same circularity will equally affect an iterative routine, not >only a recursive approach, so whatever you do you need to protect >against the specific problem or simply not allow a user to walk from >root. The point of this exercise was to confirm that stack size did >not limit a recursive approach. > >Note also WA's apparent problem with an X11 sub-folder, although >aliases did not appear to have added any circularity in my testing. >Any routine should also be tested specifically on a Linux or Windows >platform if it will be deployed there. The testing code comprises >displaying the current path every time you hit a new maxDepth. > >regards >David Hmm, actually, when one walks directories, shouldn't one walk only the true directories and treat aliases as files (which they are)? Robert From themacguy at macosx.com Tue Sep 9 09:43:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Sep 9 09:43:00 2003 Subject: modal dialogs and Quit problem In-Reply-To: <200309091133.HAA12489@www.runrev.com> Message-ID: <3894B1AC-E2D3-11D7-8A72-000A95763ABC@macosx.com> Alex, The problem is the same for the apple event. BTW - The problem I am experiencing with the force-quit being necessary when compiling my app in OSX -for- OSX is gone with I compile on WinXP -for- OSX. I'm in the process of wiping a HD for a clean OSX / Rev install and will report if this resolves the problem. I can, however, generate a small app (on OSX -for- OSX) using a new 3-stack structure without the force-quit issue being present. There is something about my "problem app" that the OSX Rev IDE doesn't like. There really is only one problem although it seems it can be exhibited using a number of methods: Rev is not disabling the Quit menu item when it is appropriate to do so. Everything else about this problem (the force-quit issue I am experiencing, the necessity to trap for the shutDownRequest or AppleEvent, etc.) is brought about by what is probably one or two missing lines of code in the engine. Now, there is one additional issue -but- it would not be a problem if the first one didn't exist: You can't disable the Quit menu item in OSX. This tells me that the issue discussed in the previous paragraph is really the issue because, if that problem did not exist, we wouldn't be looking for a means to disable the Quit menu. Regards, Barry On Tuesday, Sep 9, 2003, at 05:33 America/Denver, Alex wrote: > shutdownRequest is also coincident with an apple event that's described > in the docs. I would check to make sure that the apple event has the > same bug as the shutdownRequest (gets sent during modal dialog). If the > apple event for some reason doesn't suffer the same bug then that opens > up a better workaround possibility. > From revlist at cableone.net Tue Sep 9 09:57:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Tue Sep 9 09:57:00 2003 Subject: Rev IDE crashing In-Reply-To: <9B99193C-E263-11D7-A4BE-0003937A97B8@genesearch.com.au> Message-ID: <000001c376e1$e3ae8390$64fea8c0@chris1> Sarah, It's not really so much that I can't open it without locking messages, it's just that's what I do when I want to make changes to that stack. That stack depends upon the first one. "RNLogin" is just that, a stack for the user to log in. Certain initialization takes place there: connecting to a database, initialization of some global variables, etc. Without that, the "RNStories" stack will not run correctly. So maybe I should amend my previous answer. I can open "RNStories" by itself even without messages locked. I just get error messages because handlers aren't found or variables aren't set to the appropriate values, etc. What doesn't work is going from "RNLogin" to "RNStories". Rev crashes every time on the line 'go stack "RNStories"'. I'm definitely going to Bugzilla this. I've been told that Rev should never crash in that way. That it should always close gracefully. 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 Sarah Sent: Monday, September 08, 2003 7:19 PM To: use-revolution at lists.runrev.com Subject: Re: Rev IDE crashing That would seem to indicate that the problem is in a handler in RNStories. Perhaps openStack, preOpenStack, openCard or preOpenCard. Fix RNStories first, so that you can open it without locking messages, then try your original stack again. Sarah >> Yes, I can. As long as I lock messages first. But it opens right up >> without problems. > > Chris, > > Can you open the stack "RNStories" manually in the Rev IDE without a > crash? _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Sep 9 10:49:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 9 10:49:01 2003 Subject: Rev IDE crashing In-Reply-To: <000001c376e1$e3ae8390$64fea8c0@chris1> Message-ID: <00c401c376e8$ff409a60$6501a8c0@LightningFlash> Chris, Try an alternative, like 'open stack "RNStories"' instead. Perhaps it is related to the "go" command (although my understanding is that the two are synonymous). 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 > Chris Sheffield > Sent: Tuesday, September 09, 2003 9:52 AM > To: use-revolution at lists.runrev.com > Subject: RE: Rev IDE crashing > > > Sarah, > > It's not really so much that I can't open it without locking > messages, it's just that's what I do when I want to make > changes to that stack. That stack depends upon the first > one. "RNLogin" is just that, a stack for the user to log in. > Certain initialization takes place there: connecting to a > database, initialization of some global variables, etc. > Without that, the "RNStories" stack will not run correctly. > > So maybe I should amend my previous answer. I can open > "RNStories" by itself even without messages locked. I just > get error messages because handlers aren't found or variables > aren't set to the appropriate values, etc. What doesn't work > is going from "RNLogin" to "RNStories". Rev crashes every > time on the line 'go stack "RNStories"'. > > I'm definitely going to Bugzilla this. I've been told that > Rev should never crash in that way. That it should always > close gracefully. > > 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 Sarah > Sent: Monday, September 08, 2003 7:19 PM > To: use-revolution at lists.runrev.com > Subject: Re: Rev IDE crashing > > That would seem to indicate that the problem is in a handler in > RNStories. Perhaps openStack, preOpenStack, openCard or preOpenCard. > Fix RNStories first, so that you can open it without locking > messages, > then try your original stack again. > > Sarah > > > >> Yes, I can. As long as I lock messages first. But it > opens right up > >> without problems. > > > > Chris, > > > > Can you open the stack "RNStories" manually in the Rev IDE > without a > > crash? > > _______________________________________________ > 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 joel.guillod at net2000.ch Tue Sep 9 10:55:00 2003 From: joel.guillod at net2000.ch (Jo=?ISO-8859-1?B?6w==?=l Guillod) Date: Tue Sep 9 10:55:00 2003 Subject: Why does my hilitedIcon stop flashing? In-Reply-To: <200309072050.QAA11210@www.runrev.com> Message-ID: Graham, Do the following: 1) in the message box type: copy img id 200954 of stack "revGeneralIcons" to this cd (200954 is the image id you chose for your button, i.e. the flashing alert triangle). 2) select the new copy of the image, open the property palette and set its property "Repeat" to -1 (or type in the msg box: set the repeat of last img to -1). 3) then, use this new clone of the image for your button and dont remember to number your icon to a private ID >300'000 (see comment of the Transcript docs under "ID" property). Did this help you fix your problem? Joel Guillod From joel.guillod at net2000.ch Tue Sep 9 11:11:01 2003 From: joel.guillod at net2000.ch (Jo=?ISO-8859-1?B?6w==?=l Guillod) Date: Tue Sep 9 11:11:01 2003 Subject: XML Library and diacritics: how to? In-Reply-To: <200309071602.MAA02521@www.runrev.com> Message-ID: How can I set the value of an attribute when this value contains non *pure* ASCII characters, i.e. diacritics? For instance: revSetXMLAttribute docid,theNode,"Jo?l" -- does not work revSetXMLAttribute docid,theNode,uniEncode("Jo?l","UTF-8") -- does not work revSetXMLAttribute docid,theNode,fld "containing Jo?l" -- does not work This works but is not convenient: revSetXMLAttribute docid,theNode,the htmltext of fld "containing Jo?l" What is the clue? Should the uniEncode() use some other language than UTF-8? Thanks for actual answer! Jo?l Guillod From wmb at internettrainer.com Tue Sep 9 11:33:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Sep 9 11:33:01 2003 Subject: Rev IDE crashing In-Reply-To: <000001c376e1$e3ae8390$64fea8c0@chris1> Message-ID: <64DCD714-E2E2-11D7-BBED-003065430226@internettrainer.com> On Dienstag, Sep 9, 2003, at 16:51 Europe/Vienna, Chris Sheffield wrote: > It's not really so much that I can't open it without locking messages, > it's > just that's what I do when I want to make changes to that stack. That > stack > depends upon the first one. "RNLogin" is just that, a stack for the > user to > log in. Certain initialization takes place there: connecting to a > database, > initialization of some global variables, etc. Without that, the > "RNStories" > stack will not run correctly. I had a similar problem with "go in the window of this stack" some rev version before. But there was another thing which made rev crash. Check in the prefs: Files&Memory: if destroy stack is flase, when closing last stack in file I had checked: Close this file.. if you have checked this too, try to set it back to default (1): dont close this file. Maybe this 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 Roger.E.Eller at sealedair.com Tue Sep 9 13:54:00 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue Sep 9 13:54:00 2003 Subject: Passing windows authentication from Rev Message-ID: Ken, I tried your suggestion, but still no luck. I don't like using mapped network drives because the letter assignment can be anything, thus making it hard to manage on various machines. But I may have to resort to that for this situation. If you (or anyone else) think of any other possibilities please post your ideas to the list. Thanks. Roger Eller roger.e.eller at sealedair.com On 09/08/2003 at 06:16 PM Ken Ray responded: > Roger, > > Try: > > get URL "file://" & urlencode(userName) & ":" & urlencode(password) \\ > & "@//ServerName/path/to/folder" > > and see what that does... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > >> -----Original Message----- >> I am trying to pass windows authentication to establish a network >> connection to a folder located on a server on our LAN. It works for >> servers that reside in the building, but for others in far >> away places (these require authentication), it will not prompt for >> user/pass. So I >> tried the syntax that the ftp command uses. It doesn't work either. >> >> revGoUrl("file://ServerName/path/to/folder") >> -- works as expected for local servers. >> >> revGoUrl("file:username:password@//ServerName/path/to/folder") >> -- opens explorer window with errors (no authentication passed). >> >> I have tried these methods as well: >> get shell("\\ServerName\path\to\folder\") >> -- command shell opens, but nothing happens. >> >> launch "C:/Documents and Settings/My_Name/Desktop/RemoteShortcut" >> -- This points to a windows shortcut to the remote folder. >> -- It never opened the folder either. >> >> Thanks for any advice. >> >> Roger Eller >> roger.e.eller at sealedair.com From scott at tactilemedia.com Tue Sep 9 14:37:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Sep 9 14:37:01 2003 Subject: Workaround Option Request In-Reply-To: Message-ID: Howdy List: I have a not-so-complicated situation but am having a complicated time trying to solve it. I am dragging an image around on a card that is supposed to act as if it is illuminating an image on a lower layer (a flashlight). The biggest problem I've run into is drag performance with translucent objects. I've tried using a large PNG image that has a small transparent spot in the middle: dragging response is OK, but not good. I've tried using a small PNG and bordering the PNG with a draw graphic that has a blend ink effect applied (this dynamically resizes in relation to the location of the PNG), but the blend ink effect is Mac only. I doubt dynamically changing the alphaData of a large PNG would be fast enough to keep up with the mouseLoc... Ideally I (we) need to be able to apply the blendLevel to draw graphics but since the Rev folks probably won't get to this any time soon, has anyone found a creative way to build an irregularly shaped translucent object? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From capellan2000 at yahoo.com Tue Sep 9 15:38:00 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue Sep 9 15:38:00 2003 Subject: Workaround Option Request Message-ID: <20030909203156.45182.qmail@web40508.mail.yahoo.com> on Tue Sep 9 14:37:01 2003 Scott Rossi wrote: > I am dragging an image around on a card that is > supposed to act as if it is illuminating an image >on a lower layer (a flashlight). I've seen this effect in Director, but when I try to replicate it in this platform, arise the problem of cross platform differences with the Ink effects. >The biggest problem I've run into is drag >performance with translucent objects. Does this happen even with the Alwaysbuffer set to true? Maintaining the fuzzy edges could be another real problem. There is stack in the Runrev users contributions area that shows how to use a small graphic inside an image to show parts of a large image. Like the pane windows of Photoshop. Maybe two stacks could do the same effect... >I've tried using a large PNG image that has a small >transparent spot in the middle: dragging response is >OK, but not good. I've tried using a small PNG >and bordering the PNG with a draw graphic that >has a blend ink effect applied (this dynamically >resizes in relation to the location of the PNG), >but the blend ink effect is Mac only. Could you resize images in this way too? >I doubt dynamically changing the alphaData of a >large PNG would be fast enough to keep up with the >mouseLoc... That could be an interesting sight. ;-) >Ideally I (we) need to be able to apply the blendLevel >to draw graphics but since the Rev folks >probably won't get to this any time soon, That probably will require to deal with the bitmap representation of vector graphics on the screen. Maybe SVG and Flash engines could provide to the RunRev team inspiration for this task. >Has anyone found a creative way to build an >irregularly shaped translucent object? Some time ago, I try to create a polygon graphic in a hidden (or out of sight) stack (this works), then take the imagedata of the windows of this hidden stack to create an image, (this works too), (see Ken Ray site) but when I try to set the transparency of the newly created image all I get is a crash. I left it for a while. If this method will work someday, then It could be possible to have infinite shapes for our stacks, because the vector polygon data is small compared to the bitmaps of images. 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 dvk at dvkconsult.com.au Tue Sep 9 17:16:00 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Sep 9 17:16:00 2003 Subject: Deep Space In-Reply-To: <200309091133.HAA12453@www.runrev.com> Message-ID: On Tuesday, Sep 9, 2003, at 21:33 Australia/Brisbane, Robert Brenstein wrote: snip > > Hmm, actually, when one walks directories, shouldn't one walk only the > true directories and treat aliases as files (which they are)? Yes. As I intimated in my previous post, and have now verified again by experiment, the walker is *not* fooled by an alias. I created this structure on a separate volume called "sliver": tmp a real file, called "CRS BC Report.mell" a real directory, called "parent of fake" an alias to "tmp" On being asked to walk this, the handler returned two files as follows: /Volumes/sliver/tmp/CRS+BC+Report.mell /Volumes/sliver/tmp/parent of fake/tmp with maxDepth of 2, and did not loop. This is correct behaviour. The problem I described in my previous post does not arise from an alias, but from a reference in //Networks to "[your computer name].local." which kicks off the cycling. regards David > > Robert From dvk at dvkconsult.com.au Tue Sep 9 17:38:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Sep 9 17:38:01 2003 Subject: Deep Space In-Reply-To: <200309091133.HAA12453@www.runrev.com> Message-ID: <8840AB74-E315-11D7-BF2F-000A95729266@dvkconsult.com.au> On Tuesday, Sep 9, 2003, at 21:33 Australia/Brisbane, Wouter wrote: WA > > But thank to this I discovered a difference in the alias folders. > Try for yourself: > Type in the msg box : > set the directory to "/etc";put the directories > You get the directories in which you see "etc" as a directory. > After this use "open" in the file menu and you will see that > the etc folder is in fact an aliased folder. > Make an aliased folder yourself and do: > set the directory to "/wherever_your_aliased_folder_is";put the > detailed files > you see the aliased folder is actually a file with a creator and type > code of MACSfdrp. > If you do: > set the directory to "/wherever_your_aliased_folder_is";put the > folders > you won't see a directory called as your aliased folder name. > if you do: > set the directory to "/";put the detailed directories > the etc "aliased" folder's creator an file type is ???????? > This means that if if the directory walker stumbles on > an aliased folder from the first kind pointing to its parentdirectory > you get the loop which makes the recursinglevel go to its limit. No you don't. You are being fooled by doing this in the message box. I have no alias to /etc within /etc but if I did then it would not matter. What is happening to you is as follows: You set the directory to /etc -- success You set the directory to /etc/etc -- fails, and the directory remains set to /etc, but you do not see this in the message box You list the files and lo! you appear to have circularity because you have listed /etc again. If you run my most recent actual code (including Dar's permissions fix) on your /etc you will see that it works correctly, listing the alias as a file and not cycling. No additional special cases need to be checked for aliases. See also my response to Robert Brenstein, who recognised that this error should not occur. hope this clarifies it. regards David > The problem is to recognize the special aliases. > I made an incomplete solution to circumvent this problem and > stumbled into yet another problem, but I have to investigate > this a bit further before releasing it on the list. > > Excuse me for this appletalk but may be something > similar can be found on the other platforms. > > Greetings, > WA From wouter.abraham at pi.be Tue Sep 9 21:09:01 2003 From: wouter.abraham at pi.be (Wouter) Date: Tue Sep 9 21:09:01 2003 Subject: Deep Space In-Reply-To: <200309091133.HAA12512@www.runrev.com> Message-ID: <484F6A6C-E319-11D7-8506-003065CC999E@pi.be> Hi, Receiving no use-revolution-digest because of pop server maintenance over here I am sorry posting if I got already corrected. Several corrections on my previous posting. The shell() method is returning chars like numtochar(196) into something as numtochar(198) & numtochar(146) (my mail app is not showing them) As I don't know this kind of encoding yet, I did a simple replace for this character. This means that languages which use diacriticals can't use this version of the directory walker until the conversion is solved. on mouseUp put empty into field "result" answer folder "Pick a folder you want to walk:" if it is empty then exit mouseUp if last char of it <> "/" then put "/" after it put walkDir(it) into field "result" end mouseUp -- This recursive function expects a folder path. -- It returns a file list for that folder and for each -- sub-folder it contains (pre-order search) -- Invisible files are excluded. function walkDir dirPath #### to have something to read while waiting put dirPath -- add 1 to isDepth -- if isDepth > limitDepth then -- put isDepth into limitDepth -- put limitDepth -- end if put empty into tList set defaultFolder to dirPath -- Dar's discovery. Check permissions were ok get the Result if it is not empty then -- subtract 1 from isDepth return empty end if put the long files into fList ### instead of the if statement in the repeat loop filter fList with "[!.]*" repeat for each line fLine in fList put dirPath & item 1 of fLine & comma & last item of fLine & return after tList end repeat #### change to eliminate the aliases get shell("ls -F") filter it with "*[/]" #### shell() returns ? for ? used in some cases to #### designate a folder replace "?" with "?" in it -- added set the itemDel to "/" #### to eliminate the apps -- changed #### comment out if not needed repeat for each line x in it if last item of dirpath = "Contents" and "MacOS" is in it and "Resources" is in it then put dirPath & x & return after tList next repeat end if put walkDir(dirPath & x) after tList end repeat -- subtract 1 from isDepth return tList end walkDir Greetings, WA -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2351 bytes Desc: not available URL: From soapdog at mac.com Tue Sep 9 21:30:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Tue Sep 9 21:30:00 2003 Subject: Rendevouz in Revolution. Message-ID: <971153B8-E336-11D7-8CE1-00039387AE90@mac.com> Does anyone here is up to implement Rendevouz in Revolution? It would benefit our stacks of automatic service broadcasting and instant networking. It's not available for Macs only, PCs can do it easily too!!!! You can check the specs in http://www.zeroconf.com If anyone here want to try, there's a Java implementation with source for you to take clues its called jRendevouz... Cheers Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From dsc at swcp.com Tue Sep 9 21:55:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 9 21:55:01 2003 Subject: Rendevouz in Revolution. In-Reply-To: <971153B8-E336-11D7-8CE1-00039387AE90@mac.com> Message-ID: <5AF9C478-E339-11D7-AF6F-000A9567A3E6@swcp.com> On Tuesday, September 9, 2003, at 08:29 PM, Andre Garzia wrote: > Does anyone here is up to implement Rendevouz in Revolution? It would > benefit our stacks of automatic service broadcasting and instant > networking. It's not available for Macs only, PCs can do it easily > too!!!! You can check the specs in http://www.zeroconf.com If anyone > here want to try, there's a Java implementation with source for you to > take clues its called jRendevouz... I get the impression this is best done with system calls to sign up for Rendevouz. And if that wont work, it will take multicasting. It might be possible to send a multicast message from Revolution, but I know of no way to sign up for receiving them. However, the IPC group is working on an alternate discovery method just for IPC for revolution. Not standard, but maybe a stopgap. Dar Scott From soapdog at mac.com Tue Sep 9 22:11:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Tue Sep 9 22:11:01 2003 Subject: Chunk Expressions (see if my solutions is bad) Message-ID: <4186F0CD-E33C-11D7-8CE1-00039387AE90@mac.com> Hi Folks, In the quest of finding some way to store an arbitary number of parameters for my XML-RPC Stack I decided to use Chunk Expressions. I decided to store each parameter as a line. I have a function that accept two paramenters pType which is the type of the parameter (string, boolean, integer...) and the other is the pParam which holds the actual value. My function assemble them in the format value so that become easy to assemble the XML Later, just pull the lines of gParam and loop. The first bug I thought I might have was the fact that the paramenters could have linefeeds inside them breaking my sweet poor man system. So I decide do Base64 Encode them just to take thoose linefeeds out. But I think Base64 wraps at 72 chars so this return-character-apearing-where-I-do-not-want-problem still possible. Should I change lineDelimiter? Should I store as item? Any advise? Cheers Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From wouter.abraham at pi.be Tue Sep 9 22:28:00 2003 From: wouter.abraham at pi.be (Wouter) Date: Tue Sep 9 22:28:00 2003 Subject: Deep Space In-Reply-To: Message-ID: <6AFA15EA-E31D-11D7-8506-003065CC999E@pi.be> On Wednesday, Sep 10, 2003, at 01:24 Europe/Brussels, Wouter wrote: Hi, Last post, too much midnight oil again Big mistake, pasted a intermediary script. Terribly sorry. Hope I got it right now. Good night, WA > on mouseUp > put empty into field "result" > answer folder "Pick a folder you want to walk:" > if it is empty then exit mouseUp > if last char of it <> "/" then put "/" after it > put walkDir(it) into field "result" > end mouseUp > > -- This recursive function expects a folder path. > -- It returns a file list for that folder and for each > -- sub-folder it contains (pre-order search) > -- Invisible files are excluded. > > function walkDir dirPath > #### to have something to read while waiting > put dirPath > -- add 1 to isDepth > -- if isDepth > limitDepth then > -- put isDepth into limitDepth > -- put limitDepth > -- end if > put empty into tList > set defaultFolder to dirPath > -- Dar's discovery. Check permissions were ok > get the Result > if it is not empty then > -- subtract 1 from isDepth > return empty > end if > put the long files into fList > ### instead of the if statement in the repeat loop > filter fList with "[!.]*" > repeat for each line fLine in fList > put dirPath & item 1 of fLine & comma & last item of fLine & > return after tList > end repeat > #### change to eliminate the aliases > get shell("ls -F") > filter it with "*[/]" > #### shell() returns ? for ? used in some cases to > #### designate a folder > replace "?" with "?" in it -- added > set the itemDel to "/" > #### to eliminate the apps -- changed > #### comment out if not needed repeat for each line x in it if x = "Contents/" then set the directory to dirpath & x put the folders into a if "Resources" is in a and "MacOS" is in a then put char 1 to -2 of dirPath & return after tList next repeat end if end if put walkDir(dirPath & x) after tList end repeat > -- subtract 1 from isDepth > return tList > end walkDir -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2193 bytes Desc: not available URL: From terry at discovery.nl Tue Sep 9 22:37:00 2003 From: terry at discovery.nl (Terry Vogelaar) Date: Tue Sep 9 22:37:00 2003 Subject: System language In-Reply-To: <20030908183628.48052.qmail@web11908.mail.yahoo.com> Message-ID: <296E41C0-E33F-11D7-89BE-0030656FD666@discovery.nl> I must admit I didn't really follow this thread, but I know a silly way to find out (maybe it is not mentioned before): get the system weekdaynames if "sunday" is among the words of it then put "English" into the SysLang if "zondag" is among the words of it then put "Dutch" into the SysLang Don't expect sunday to always be the first line; Australian systems sometimes start with saturday. Terry From dvk at dvkconsult.com.au Tue Sep 9 22:49:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Sep 9 22:49:01 2003 Subject: Deep Space In-Reply-To: <200309100229.WAA31802@www.runrev.com> Message-ID: On Wednesday, Sep 10, 2003, at 12:29 Australia/Brisbane, Wouter wrote: snip > > This means that languages which use diacriticals > can't use this version of the directory walker until > the conversion is solved. > It works as is. There is no problem because... > #### change to eliminate the aliases > get shell("ls -F") > filter it with "*[/]" > #### shell() returns ? for ? used in some cases to > #### designate a folder is not necessary to deal with aliases, as explained in the digest in which your above note appeared and which I trust you will receive shortly. Character encoding problems do not arise on reading the directory alone. Hoping this is clear now. regards David > > Greetings, > WA -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 957 bytes Desc: not available URL: From xslaugh at hotmail.com Tue Sep 9 22:55:00 2003 From: xslaugh at hotmail.com (Scott Slaugh) Date: Tue Sep 9 22:55:00 2003 Subject: Workaround Option Request Message-ID: >Ideally I (we) need to be able to apply the blendLevel to draw graphics but >since the Rev folks probably won't get to this any time soon, has anyone >found a creative way to build an irregularly shaped translucent object? I'm not so sure how this would work with an irregular object, but I have a solution that works very well with a circle, which would seem to me to be what you want with a flashlight beam. To get this to work, you need to create a circle graphic. Then go into the property inspector, and change the width and height of it to something well in excess of the screen size (I'm using 3000 for both the width and height for this example). Then go back to the Basic Properties of the inspector window for the graphic. Set the opaque of the graphic to false, and then play with the border size until you get the size of hole that you want. For example, if you set the border size of a 3000x3000 circle to 1400, you get a 400 pixel wide hole. Anything under the border can't be seen, but anything under the hole shows through. The drag speed seems to work fine on this graphic. Now, I wasn't quite sure if this is what you wanted to do from reading your email, but if you want the "flashlight" to be semi-transparent instead of completely transparent, you could simply place a PNG at the desired transparency level on the layer right below the flashlight graphic. I have a stack I've made that demos this "flashlight" effect that I could email to anyone interested. Just send me a quick note, and I'll try to get it to you relatively quickly. Scott Slaugh _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com From soapdog at mac.com Tue Sep 9 22:58:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Tue Sep 9 22:58:01 2003 Subject: Rendevouz in Revolution. In-Reply-To: <5AF9C478-E339-11D7-AF6F-000A9567A3E6@swcp.com> Message-ID: On Tuesday, September 9, 2003, at 11:49 PM, Dar Scott wrote: > I get the impression this is best done with system calls to sign up > for Rendevouz. And if that wont work, it will take multicasting. It > might be possible to send a multicast message from Revolution, but I > know of no way to sign up for receiving them. > > However, the IPC group is working on an alternate discovery method > just for IPC for revolution. Not standard, but maybe a stopgap. > > Dar Scott Hi mr Dar Scott, I know nothing of raw sockets or the layers of TCP/IP.... All I Want is a discovery method for stacks running in LAN... What is this IPC Group, does IPC stands for Interprocess Communication? Can you point me to some website or the like... Cheers Andre > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From alex at mindlube.com Tue Sep 9 22:59:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 9 22:59:01 2003 Subject: modal dialogs and Quit problem In-Reply-To: Message-ID: <506A79BE-E342-11D7-865C-000393529642@mindlube.com> On Tuesday, September 9, 2003, at 01:32 AM, Richard Gaskin wrote: > It seems submitting a bug report requesting the ability to disable the > Quit > item when a modal is open on OS X should suffice. I hope Rev doesn't > take > away the unprecedented convenience it offers for platform-independent > menu > handling. It's convenient but limiting. A lot of OS X apps make good use of the App menu. Typically one sees "check for updates" or "license information" there. That menu is just off limits to us, as I understand it. For OS X support this seems at least as important as sheets and metal, IMO :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From themacguy at macosx.com Tue Sep 9 23:03:02 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Sep 9 23:03:02 2003 Subject: Workaround to lack of modality when quitting in OSX Message-ID: In earlier posts, I described a bug (filed at bugzilla) that would permit an OSX app to be quit (using the Quit item from the OSX app menu) while in the middle of a modal dialog. I narrowed down the bug to the OSX Rev engine. If you compile in Windows (-for- OSX), the bug isn't present. Glad I kept my SBE subscription! BTW - The shutDownRequest (and the apple event associated with it) is not sent when quitting the app in OSX using the Quit menu item. This is present no matter whether compiling in OSX or Windows. That bug report has also been filed. In the meantime, remember that any data you wish to have saved had better -be- saved before your user selects Quit! Barry From dsc at swcp.com Tue Sep 9 23:26:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 9 23:26:01 2003 Subject: Rendevouz in Revolution. In-Reply-To: Message-ID: <18A20073-E346-11D7-AF6F-000A9567A3E6@swcp.com> On Tuesday, September 9, 2003, at 09:57 PM, Andre Garzia wrote: > What is this IPC Group, does IPC stands for Interprocess > Communication? Can you point me to some website or the like... Look here: http://groups.yahoo.com/group/revolution_ipc/ Progress has been slow. Discovery is very incomplete. There is a demo toy, though. Dar Scott From ambassador at fourthworld.com Tue Sep 9 23:43:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 9 23:43:00 2003 Subject: modal dialogs and Quit problem In-Reply-To: <506A79BE-E342-11D7-865C-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > On Tuesday, September 9, 2003, at 01:32 AM, Richard Gaskin wrote: >> It seems submitting a bug report requesting the ability to disable the >> Quit >> item when a modal is open on OS X should suffice. I hope Rev doesn't >> take >> away the unprecedented convenience it offers for platform-independent >> menu >> handling. > > It's convenient but limiting. A lot of OS X apps make good use of the > App menu. Typically one sees "check for updates" or "license > information" there. That menu is just off limits to us, as I understand > it. For OS X support this seems at least as important as sheets and > metal, IMO :-) There may be a way to support OS-specific niceties without losing the unprecedented platform-independent convenience we've been enjoying for years. I would advocate we explore those.... -- 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 bvg at mac.com Tue Sep 9 23:57:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue Sep 9 23:57:00 2003 Subject: cgi-engine does not run Message-ID: <4F6CA452-E34A-11D7-B950-003065AD94A4@mac.com> I am having trouble getting the CGI-engine to run on mac OS X. I am always getting an Internal server error. I chmoded the engine to 755, and are now trying to run my cgi. I also tried to put different versions of the license.rev stack into the cgi directory, it reads here that i should do so: "http://gladstone.uoregon.edu/~tfurukaw/RunRev/developer.html" I am using LF as line delimiter becuase this wepage says I should do so on OS X: "http://www.eclecticity.com/danshafer/chapter21.rtf" The read me says I should run the engine from the terminal, but it doesn't say how. The read me also says I should download something from "http://www.opendarwin.org/projects/dlcompat/" but that server does not exist. the cgi reads: #!revolution on startup put "Content-type: text/html" & crlf put "everything is ok" & crlf end startup it gets generated with this: on mouseUp repeat for each line theLine in field 1 put theLine & return after output end repeat put output into url "binfile:/Library/WebServer/CGI-Executables/test.cgi" put shell("chmod 755 /Library/WebServer/CGI-Executables/test.cgi") end mouseUp From alex at mindlube.com Wed Sep 10 00:14:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 10 00:14:00 2003 Subject: modal dialogs and Quit problem In-Reply-To: Message-ID: On Tuesday, September 9, 2003, at 10:37 PM, Richard Gaskin wrote: > There may be a way to support OS-specific niceties without losing the > unprecedented platform-independent convenience we've been enjoying for > years. I would advocate we explore those.... How about: set a property for menu items specifying that should get moved into the App menu on OS X. The property could be an integer: the menu item's number (placement) in the app menu. If the property is empty or zero, it would not get moved to the App menu. This would be more like other the platform specific features of rev, in that other platforms don't suffer, developer is not inconvenienced, but we are not prevented from using it. Does this same problem apply for Mac OS too, or just OS X? Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From wouter.abraham at pi.be Wed Sep 10 00:25:00 2003 From: wouter.abraham at pi.be (Wouter) Date: Wed Sep 10 00:25:00 2003 Subject: Deep Space In-Reply-To: <200309091133.HAA12512@www.runrev.com> Message-ID: On Tuesday, Sep 9, 2003, at 13:33 Europe/Brussels, use-revolution-request at lists.runrev.com wrote: > Message: 8 > Date: Tue, 9 Sep 2003 17:34:09 +1000 > Subject: Re: Deep Space (was: The Directory Walker revisited) > From: David Vaughan > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > snip > > Found it folks! > > On OS X systems the folder //Network contains a reference to the local > computer, which is where you started, so round you go again. > > I made a specific adjustment at the beginning of the handler, thus: > > function walkDir dirPath > if dirPath contains "//Network" then > return empty > end if > -- etc as before > > Running this worked across the entire root volume, returning over > 230,000 files in a 24MB list (maxDepth 18 as expected), no problems. > > The same circularity will equally affect an iterative routine, not only > a recursive approach, so whatever you do you need to protect against > the specific problem or simply not allow a user to walk from root. The > point of this exercise was to confirm that stack size did not limit a > recursive approach. > > Note also WA's apparent problem with an X11 sub-folder, although > aliases did not appear to have added any circularity in my testing. Any > routine should also be tested specifically on a Linux or Windows > platform if it will be deployed there. The testing code comprises > displaying the current path every time you hit a new maxDepth. > > regards > David Hi, If this post is redundant don't read it. My workaround "OS X only": on mouseUp put empty into field "result" answer folder "Pick a folder you want to walk:" if it is empty then exit mouseUp if last char of it <> "/" then put "/" after it put walkDir(it) into field "result" end mouseUp -- This recursive function expects a folder path. -- It returns a file list for that folder and for each -- sub-folder it contains (pre-order search) -- Invisible files are excluded. function walkDir dirPath #### could take a long time so to give something to read meantime put dirPath -- add 1 to isDepth -- if isDepth > limitDepth then -- put isDepth into limitDepth -- put limitDepth -- end if put empty into tList set defaultFolder to dirPath -- Dar's discovery. Check permissions were ok get the Result if it is not empty then -- subtract 1 from isDepth return empty end if put the long files into fList put dirPath & return after tList ### to eliminate invisible files filter fList with "[!.]*" repeat for each line fLine in fList put dirPath & item 1 of fLine & comma & last item of fLine & return after tList end repeat #### change to eliminate the aliases get shell("ls -F") filter it with "*[/]" #### decoment to eliminate #### apps folder investigation /* repeat for each line l in it set the directory to dirPath &l&"/"&"Contents" put the folders into a if "MacOS" is in a and "Resources" is in a then --put dirPath &"/"&l & return after tList put dirPath & l & return after tList put l &cr after tList2Delete end if end repeat repeat for each line l in tList2Delete delete line lineoffset(l,it) of it end repeat */ repeat for each line x in it put walkDir(dirPath & x) after tList end repeat -- subtract 1 from isDepth return tList end walkDir Greetings WA From alex at mindlube.com Wed Sep 10 00:25:17 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 10 00:25:17 2003 Subject: cgi-engine does not run In-Reply-To: <4F6CA452-E34A-11D7-B950-003065AD94A4@mac.com> Message-ID: <62212B7D-E34E-11D7-97E7-000393529642@mindlube.com> On Tuesday, September 9, 2003, at 10:50 PM, Bj?rnke von Gierke wrote: > I am having trouble getting the CGI-engine to run on mac OS X. I am > always getting an Internal server error. Try the metacard.com version instead. Even after you get X11 AND dlcompat compiled and installed, the runrev.com cgi engine is broken on Mac OS X. For details see bugzilla bug #36. It was closed but last week I have requested the bug be re-opened. If you concur with it, please sign onto it with your notes and request it be re-opened. I'm actually not doing CGI development with Revolution. However I do have a lot of experience with CGI and Unix shell scripting. So I am just facilitating the bugs reported here with a bugzilla someone else opened previously. If you still get "server error" with the metacard.com engine then check your web server logs for further details. There are several conditions that can cause 500 server error. 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 Wed Sep 10 00:50:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 10 00:50:01 2003 Subject: cgi-engine does not run In-Reply-To: <62212B7D-E34E-11D7-97E7-000393529642@mindlube.com> Message-ID: On Tuesday, September 9, 2003, at 11:19 PM, Alex Rice wrote: > Try the metacard.com version instead. Even after you get X11 AND > dlcompat compiled and installed, the runrev.com cgi engine is broken > on Mac OS X. Darn! Sorry, I'm mistaken. The runrev.com cgi engine prints debugging information to STDERR. Messages like "external startup". I mistakenly assumed that those STDERR messages would cause a 500 server error. However that's not true, at least on Apache. On Apache they just get sent to the error_log, so one will just see logs of entries like this in the error log: external startup external exit external startup external exit Bj?rnke, here is my test script which works OK. Note that TWO crlf are required per the http spec. You only have one crlf after the content type. #!/usr/local/bin/revolution on startup put "Content-type: text/plain" & crlf & crlf put "hello world" end startup 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 Wed Sep 10 01:05:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 10 01:05:00 2003 Subject: cgi-engine does not run In-Reply-To: <4F6CA452-E34A-11D7-B950-003065AD94A4@mac.com> Message-ID: On Tuesday, September 9, 2003, at 10:50 PM, Bj?rnke von Gierke wrote: > > The read me says I should run the engine from the terminal, but it > doesn't say how. Open terminal.app and type ./path/to/revolution -h [RETURN] You should see some info like this, if revolution thinks your system libraries are OK. external startup MetaCard 2.5G1 Copyright 1992-2001 MetaCard Corporation ... more stuff ... If instead you see errors, then you are missing X11 and/or dlcompat libraries. > The read me also says I should download something from > "http://www.opendarwin.org/projects/dlcompat/" but that server does > not exist. Easier at this point to get the metacard.com engine because it's got less library dependencies I believe. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From dvk at dvkconsult.com.au Wed Sep 10 01:38:01 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Sep 10 01:38:01 2003 Subject: Deep Space In-Reply-To: <200309100506.BAA05384@www.runrev.com> Message-ID: <604CAD44-E358-11D7-BF2F-000A95729266@dvkconsult.com.au> On Wednesday, Sep 10, 2003, at 15:06 Australia/Brisbane, Wouter wrote: > > Hi, > If this post is redundant don't read it. > My workaround "OS X only": > snip > > #### change to eliminate the aliases > get shell("ls -F") > filter it with "*[/]" > Redundant perhaps. More importantly, just wrong. Please read my previous posts on this, lest newbies be misled. The code and advice in my posts stands. It may be less confusing if you do not reply :-) cheers David > > Greetings > WA From FlexibleLearning at aol.com Wed Sep 10 01:38:23 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed Sep 10 01:38:23 2003 Subject: URL-based updates [was: Deep Space] Message-ID: <184.201dc6da.2c901f75@aol.com> Once David and Wouter have established an agreed version for Mac and PC, perhaps you would post it to a website? I am well and truly lost trying to keep up with the 'correct' version! Which makes me ponder how to manage such 'shared' codes and their interim updates... Would it be useful to have The Scripters Scrapbook be able to update a record on demand from a given web url? As changes are posted, the record could then keep itself up to date simply by clicking an 'update me' button. Or would this be a proliferation of an existing solution? /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephenREVOLUTION at barncard.com Wed Sep 10 02:21:01 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Wed Sep 10 02:21:01 2003 Subject: reveal file/folder in Finder Message-ID: Does anyone have the recipe for 'revealing' a folder in the Finder (OSX) from a Rev script? This used to be a snap in Apple Events. I can't find the syntax anywhere.... thanks stephen barncard From peter9.smith at ps.ge.com Wed Sep 10 02:47:00 2003 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Wed Sep 10 02:47:00 2003 Subject: Revolution IDE: How to finish drawing polygons? Message-ID: <6192367D59F8904CA553579EF41FEEA001B98900@ukcbgx01psge.geips.ge.com> As a newbie I've managed to start drawing a polygon by selecting polygon on the tool palette, getting a cross-hair cursor, clicking on the card to draw the shape I want. However how you complete drawing the polygon is not obvious (to me) and nothing I tried worked. Help. I have tried the Rev docs and Google first. Thanks for any enlightenment, Peter Smith. From janschenkel at yahoo.com Wed Sep 10 02:58:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 10 02:58:00 2003 Subject: Revolution IDE: How to finish drawing polygons? In-Reply-To: <6192367D59F8904CA553579EF41FEEA001B98900@ukcbgx01psge.geips.ge.com> Message-ID: <20030910075157.71872.qmail@web11901.mail.yahoo.com> --- peter9.smith at ps.ge.com wrote: > As a newbie I've managed to start drawing a polygon > by selecting polygon on > the tool palette, getting a cross-hair cursor, > clicking on the card to draw > the shape I want. However how you complete drawing > the polygon is not > obvious (to me) and nothing I tried worked. > > Help. I have tried the Rev docs and Google first. > > Thanks for any enlightenment, Peter Smith. > Hi Peter, You can end adding new lines to the polygon by double-clicking. And you can use the Inspector palette to fine-tune the positions of individual points, so it's no biggie if you don't get it just right the first time :-) 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 Wed Sep 10 04:02:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Wed Sep 10 04:02:00 2003 Subject: Fuzzy Copyright Message-ID: A while ago I submitted a stack that was a port of 3 reference stacks from the RR reference set..... At the time I was unaware of violating any rules as those stacks were not contained within the RR 'Home' stack...... On the MC use-list there has been a recent discussion about a possible port of the RR2.1. Transcript Dictfor MC users....... would I be breaking laws, copyrights, whatever, were I to prepare a port? I should be grateful for an official ruling from the RR high-heid-yuns before I plough my efforts into a port. 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 richmond at mail.maclaunch.com Wed Sep 10 04:30:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Wed Sep 10 04:30:00 2003 Subject: System Language Message-ID: Dear RunRev afficionados, I have just uploaded to my website an incredibly goofy little stack that tells you the weekday strings stored in your operating system: totally ripped-off from Terry Vogelaar - Thanks Terry. It's called "DAYS OF THE WEEK" (noted for my obscure titling policy). 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 sims at ezpzapps.com Wed Sep 10 04:54:00 2003 From: sims at ezpzapps.com (sims) Date: Wed Sep 10 04:54:00 2003 Subject: Snapshot / Success stories In-Reply-To: References: Message-ID: >Hi, > >Has anyone got a really nice looking Revolution application that uses >metal/drawers that we could take a screenshot of to show off in some >marketing materials? If so, please contact me off list. > >Also, if you have a Revolution success story that we could publish, please >send it to me off list. Kevin, I am within a few weeks of updating my popular shareware app Kartolina to version 2.0. This new version will include some very important revisions, the most interesting is the interaction with Apple's iPhoto. All iPhoto albums are made available through a selection window...the iPhoto images load in far less time than it actually takes to start up iPhoto itself. http://ezpzapps.com/k2.jpg (The text & photos shown will not be the release 'card') This is the first in a series of apps which will be focused around digital photography. I am not able to get the metal feature of Rev to work here, have asked the list about it but have had no feedback on if it works for anyone. As I am making an app which 'rides' on iPhoto, having the metal feature would be VERY useful. Obviously I would like to implement the metal feature - but I cannot wait too long as my shareware pays my bills. So, if using my app's release would be of interest to you please get in touch. If you have a way I can implement the metal feature - please let me know soon! Whole number releases (2.0) get the most press and I am going to market this app in a lot of ways...if rev can benefit from this exposure please let me know your thoughts. Kind regards, sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From sims at ezpzapps.com Wed Sep 10 05:04:01 2003 From: sims at ezpzapps.com (sims) Date: Wed Sep 10 05:04:01 2003 Subject: Snapshot / Success stories Message-ID: Yikes...meant to end to Kevin directly. Please ignore. sims From bvg at mac.com Wed Sep 10 07:43:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed Sep 10 07:43:00 2003 Subject: cgi-engine does not run In-Reply-To: <62212B7D-E34E-11D7-97E7-000393529642@mindlube.com> Message-ID: <7387F7AD-E38B-11D7-B950-003065AD94A4@mac.com> On Mittwoch, Sept 10, 2003, at 07:19 Europe/Zurich, Alex Rice wrote: > If you still get "server error" with the metacard.com engine then > check your web server logs for further details. I was able to get it running using the mc engine. Looking at the server log is a cruel advice! The server log seems to be hidden behind the seven mountains at the seven dwarfs. I can't find it, where is that stupid thing under mac OS X? From wouter.abraham at pi.be Wed Sep 10 08:02:01 2003 From: wouter.abraham at pi.be (Wouter) Date: Wed Sep 10 08:02:01 2003 Subject: Deep Space Message-ID: <3F5CA270-E37A-11D7-8506-003065CC999E@pi.be> > From: David Vaughan > Subject: Re: Deep Space (was: The Directory Walker revisited) > Date: Tue, 09 Sep 2003 00:38:27 -0700 > Found it folks! > > On OS X systems the folder //Network contains a reference to the local > computer, which is where you started, so round you go again. > From: David Vaughan > Subject: Re: Deep Space > Date: Tue, 09 Sep 2003 23:34:01 -0700 > > > >> #### change to eliminate the aliases >> get shell("ls -F") >> filter it with "*[/]" > > Redundant perhaps. More importantly, just wrong. Please read my > previous posts on this, lest newbies be misled. The code and advice in > my posts stands. It may be less confusing if you do not reply :-) Hi, I'm truly sorry of my previous posting as I didn't receive any digests anymore, I couldn't heed the advice above. So I hope this won't add to the confusion created by me. The correct name for what I called "another kind of alias" is "symbolic link". In the man pages for ls : -F Display a slash (/) immediately after each pathname that is a directory, an asterisk (*) after each that is executable, an at sign (@) after each symbolic link, a percent sign (%) after each whiteout, an equal sign (=) after each socket, and a vertical bar (|) after each that is a FIFO. The /Network/Servers/ directory contains such a symbolic link. The metacard-engine considers a symbolic link as a true directory. But "ls -F" can show these symbolic links. Retreating, deeply ashamed, Greetings, WA -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1758 bytes Desc: not available URL: From keith at vortex.co.uk Wed Sep 10 08:21:01 2003 From: keith at vortex.co.uk (Keith Martin) Date: Wed Sep 10 08:21:01 2003 Subject: inactive field after setting htmlText Message-ID: First of all, I apologise for asking a question which relates to Rev 1.1.1. I'm writing a tutorial and for certain reasons it has to work in that version. (Although I will of course be suggesting version 2.x at the appropriate moments!) Right, I've set the htmlText of a field to the contents of a variable, originally read from a file from disk. When this is done the field acts partially disabled. The scroll button, borders and even text shows as grey/disabled, although I can force scrolling to happen by clicking and drag-selecting far enough. This state only changes when I switch to the Pointer tool and resize or nudge the field. I don't get this behaviour if I set the text of the field, only if I set the htmlText of the field. Any ideas? Is there a solution? What's the cleanest workaround that I could use for a tutorial? Is there a neat way to side-step this problem entirely? k -- +++++++++++++++++ ++++++++++++++++++++++++++++++++++ Keith Martin Technical Editor, MacUser magazine MacUser Help mailto:help at macuser.co.uk personal > mailto:keith at vortex.co.uk Web http://www.vortex.co.uk direct (work) +44 (0)20 7907 6360 mobile 0790 954 1365 eFax +44 (0)870 831 7752 From wouter.abraham at pi.be Wed Sep 10 08:40:01 2003 From: wouter.abraham at pi.be (Wouter) Date: Wed Sep 10 08:40:01 2003 Subject: Deep space, the frontier Message-ID: <3F390A77-E394-11D7-9DC6-003065CC999E@pi.be> >> From: David Vaughan >> Subject: Re: Deep Space (was: The Directory Walker revisited) >> Date: Tue, 09 Sep 2003 00:38:27 -0700 >> Found it folks! >> >> On OS X systems the folder //Network contains a reference to the >> local computer, which is where you started, so round you go again. > >> From: David Vaughan >> Subject: Re: Deep Space >> Date: Tue, 09 Sep 2003 23:34:01 -0700 >> >> >> >>> #### change to eliminate the aliases >>> get shell("ls -F") >>> filter it with "*[/]" >> >> Redundant perhaps. More importantly, just wrong. Please read my >> previous posts on this, lest newbies be misled. The code and advice >> in my posts stands. It may be less confusing if you do not reply :-) > snip > > Retreating, deeply ashamed, > Greetings, > WA But I can't resist some temptations : the shortest recursive directorywalker ever in rev/mc : on mouseUp put empty into field "result" answer folder "Pick a folder you want to walk:" if it is empty then exit mouseUp if last char of it <> "/" then put "/" after it put walkDir(it) into field "result" end mouseUp function walkDir dirPath set the directory to dirPath return shell("ls -R") end walkDir Even more deeply ashamed now, Greetings WA -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1540 bytes Desc: not available URL: From janschenkel at yahoo.com Wed Sep 10 08:48:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 10 08:48:01 2003 Subject: inactive field after setting htmlText In-Reply-To: Message-ID: <20030910134207.56266.qmail@web11905.mail.yahoo.com> --- Keith Martin wrote: > [snip] > > Right, I've set the htmlText of a field to the > contents of a > variable, originally read from a file from disk. > > When this is done the field acts partially disabled. > The scroll > button, borders and even text shows as > grey/disabled, although I can > force scrolling to happen by clicking and > drag-selecting far enough. > > [snip] > > Any ideas? Is there a solution? What's the cleanest > workaround that I > could use for a tutorial? Is there a neat way to > side-step this > problem entirely? > > k > -- Hi Keith, A golden oldie :-) The quickest workaround : set the htmlText of fld "Foobvar" to tStuff -- changing the locktext forces redraw repeat 2 set the lockText of fld "Foobar" to \ not the lockText of fld "Foobar" end repeat 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 Wed Sep 10 08:59:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 10 08:59:00 2003 Subject: Fuzzy Copyright In-Reply-To: Message-ID: Mathewson wrote: > On the MC use-list there has been a recent discussion about > a possible port of the RR2.1. Transcript Dictfor MC > users....... > > would I be breaking laws, copyrights, whatever, were I to > prepare a port? I have no opinion on copyright issues, but to bypass such discussions altogether I've been advocating a non-content approach for distributing alternative shells for the TD. Here's an interim solution for MC folks that I posted to the MC list this morning: ----------------------------------------------------------- Paste this in the Message Box: go url "http://fourthworld.com/rev/channel/4wTranscriptDict.mc" It's a very basic shell for the contents of the Transcript Dictionary. It has a Builder button that has you point to Rev's Transcript Dictionary, and then it pulls the content out and builds something that sorta looks like MC's MetaTalk Reference but more complete. Being a shell only it contains no copyrighted content, relying on the content you already have on your drive. And by migrating the content without the code, no complicated glue routines are needed as would be if you tried to open Rev's Transcript Dictionary in MC. It ain't pretty, but it's functional, small, and was assembled with minimal effort. I've been using it all day and helps me appreciate Jeanne's writing that much more... -- 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 keith at vortex.co.uk Wed Sep 10 09:28:01 2003 From: keith at vortex.co.uk (Keith Martin) Date: Wed Sep 10 09:28:01 2003 Subject: inactive field after setting htmlText In-Reply-To: <20030910134207.56266.qmail@web11905.mail.yahoo.com> References: <20030910134207.56266.qmail@web11905.mail.yahoo.com> Message-ID: > > Right, I've set the htmlText of a field to the >> contents of a >> variable, originally read from a file from disk. >> > > When this is done the field acts partially disabled. >A golden oldie :-) The quickest workaround : > > set the htmlText of fld "Foobvar" to tStuff > -- changing the locktext forces redraw > repeat 2 > set the lockText of fld "Foobar" to \ > not the lockText of fld "Foobar" > end repeat Excellent, thanks! I think I'll do the simpler "set the lockText of field 1 to true" "set the lockText of field 1 to false" with an explanation of why it is there. Better than having to explain repeat structures and self-referencing boolean statements at the point where this has to be handled. ;-) k From themacguy at macosx.com Wed Sep 10 09:48:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Sep 10 09:48:00 2003 Subject: modal dialogs and Quit problem - also a doc contradiction In-Reply-To: <200309100506.BAA05435@www.runrev.com> Message-ID: <0BAF89F4-E39D-11D7-A6C0-000A95763ABC@macosx.com> Alex, I haven't tested the OS9 package yet but I would doubt that the problem exists anywhere but in OSX specifically because of how Rev creates the Quit item in the App menu (and ignores the last two items - one being the divider line above Quit - of the File menu you've crafted in the menu builder). Here's what the docs say (I've added one comment in CAPS): - - - - - - Special menu items A few menu items on Mac OS and OS X are handled directly by the operating system. To accommodate these special menu items while allowing you to create a fully cross-platform menu bar, Revolution treats the last two menu items of the Help menu (for Mac OS and OS X), the File menu (OS X), and the Edit menu (OS X) differently. By following these guidelines, you can make sure your menus will appear properly on all operating systems without having to write special code or create platform-specific menu bars. The Help menu and the ?About This Application? menu item: When Revolution sets up the Mac OS menu bar, it automatically makes the last button the Help menu (regardless of the button?s name). The standard Help menu items, such as ?About Balloon Help? and ?Show Balloons? on Mac OS, are included for you automatically; you don?t need to include them in your Help menu button, and you can?t eliminate them from the Help menu. Revolution moves the last menu item in the Help menu to the ?About This Application? position. (On Mac OS systems, this is the first menu item in the Apple menu. On OS X systems, it?s the first menu item in the Application menu.) Therefore, the last menu item in your Help menu button should be an appropriate ?About? item. The menu item above it must be a divider line (a dash), and above that must be at least one menu item to be placed in the Help menu. The File menu and the ?Quit? menu item: On OS X systems, the ?Quit? menu item is normally placed in the Application menu (which is maintained by the operating system) rather than in the File menu as is standard on other platforms. To acccommodate this user-interface standard, Revolution removes the last two menu items of the File menu when a standalone application is running on an OS X system. Therefore, the last menu item in your File menu button should be ?Quit?. The menu item above it should be a divider line (a dash). The Edit menu and the ?Preferences? menu item: On OS X systems, the ?Preferences? menu item is also normally placed in the Application menu. To acccommodate this user-interface standard, Revolution removes the last two menu items of the Edit menu when a standalone application is running on an OS X system. Therefore, the last menu item in your Edit menu button should be ?Preferences?. The menu item above it should be a divider line (a dash). Note: The Preferences menu item is treated in this special way only if its name starts with the string ?Preferences?. Choosing the special menu items: When the user chooses any of these special menu items, a menuPick message is sent to the button that the menu item is contained in. This ensures that your button scripts will work on all platforms, even if Revolution displays a menu item in a different menu to comply with user-interface guidelines. (THIS CONTRADICTS OTHER DOCUMENTATION IN REV; SEE QUOTED TEXT IMMEDIATELY BELOW.) > On OS X systems, the ?Quit? menu item is part of the Application menu, > which is displayed by the operating system rather than by the > application. Because of this, choosing ?Quit? on OS X systems does not > send a menuPick message, so you cannot handle quitting in a menuPick > handler. > > Instead, choosing ?Quit? sends an Apple Event (class ?aevt?, ID > ?quit?) to the application. If you don?t intercept this Apple Event in > an appleEvent handler, Revolution sends a shutdownRequest message in > response to the Apple Event. To respond to the user choosing ?Quit?, > handle either of these messages. > > Tip: For easiest cross-platform development, place all the code you > want to execute on quitting in a shutdownRequest handler. (THE PROBLEM IS THAT BOTH THE SHUTDOWNREQUEST HANDLER AND APPLEENVENT HANDLER ARE IGNORED.) (BACK TO THE DOCS...) For example, if the user chooses ?About This Application? from the Apple menu on a Mac OS system, a menuPick message is sent to the Help menu button, with ?About This Application??as its parameter. You handle the message for the About menu item in the Help menu button?s script, even though Revolution displays this menu item in a different menu on the Mac. - - - - - So the methodology of supporting OSX's special way of displaying certain menu items has already been defined by Rev; it's just not been done. We don't need any additional means of referring to the menu items to disable them as long as the handlers we've defined for them are called when Rev says they will be (which, currently, they are not). In my previous post I mentioned that your app's changed data had better be saved before the user selects Quit in OSX because your app will quit without warning of unsaved changes. Your shutDownRequest handler would have, of course, checked a flag to see if a "save changes?" dialog would be necessary but, as we've seen, selecting Quit simply quits without sending a shutDownRequest. When Rev puts in the "hook" from the Quit item to your handler, everything will be fine. Until then, you're screwed. Again, I want to emphasize that this problem is only due to the way Rev moves the OSX menu items so Windows apps work fine and I would expect OS9 apps to work properly, as well. Regards, Barry On Tuesday, Sep 9, 2003, at 23:06 America/Denver, Alex wrote: > On Tuesday, September 9, 2003, at 10:37 PM, Richard Gaskin wrote: >> There may be a way to support OS-specific niceties without losing the >> unprecedented platform-independent convenience we've been enjoying for >> years. I would advocate we explore those.... > > How about: set a property for menu items specifying that should get > moved into the App menu on OS X. The property could be an integer: the > menu item's number (placement) in the app menu. If the property is > empty or zero, it would not get moved to the App menu. > > This would be more like other the platform specific features of rev, in > that other platforms don't suffer, developer is not inconvenienced, but > we are not prevented from using it. > > Does this same problem apply for Mac OS too, or just OS X? From richmond at mail.maclaunch.com Wed Sep 10 09:49:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Wed Sep 10 09:49:00 2003 Subject: New Stacks Message-ID: Dear RunRev afficionados, I have just uploaded to my website a new stack called 'SYSTEM INFO', which..... returns all sorts of System Info to the user. I have also just uploaded a new version of my revTools.rev hack incorporating a slimline version of the SYSTEM INFO stack. 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 kray at sonsothunder.com Wed Sep 10 10:25:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 10 10:25:00 2003 Subject: Workaround to lack of modality when quitting in OSX In-Reply-To: Message-ID: <00c301c377ae$c31f2940$6501a8c0@LightningFlash> Wait a second... are you telling me that the engine that compiles for OS X *from Windows* is different than the engine that compiles for OS X *from OS X*? And when you say it doesn't have the bug, does that mean that the Quit menu item doesn't trigger, or it is disabled, or what? Just looking for clarity... Thanks, 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: Tuesday, September 09, 2003 10:58 PM > To: use-revolution at lists.runrev.com > Subject: Workaround to lack of modality when quitting in OSX > > > In earlier posts, I described a bug (filed at bugzilla) that would > permit an OSX app to be quit (using the Quit item from the OSX app > menu) while in the middle of a modal dialog. I narrowed down > the bug to > the OSX Rev engine. If you compile in Windows (-for- OSX), the bug > isn't present. Glad I kept my SBE subscription! > > BTW - The shutDownRequest (and the apple event associated with it) is > not sent when quitting the app in OSX using the Quit menu > item. This is > present no matter whether compiling in OSX or Windows. That > bug report > has also been filed. In the meantime, remember that any data you wish > to have saved had better -be- saved before your user selects Quit! > > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From bvg at mac.com Wed Sep 10 10:28:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed Sep 10 10:28:01 2003 Subject: cgi does not do "save stack" Message-ID: <6788E692-E3A2-11D7-BF73-003065AD94A4@mac.com> I am able to do all kind of nifty things in my cgi tests, but I am unable to save a stack, no matter how I try it. Is there a bug, or must I just save differently then in the normal environment? Maybe it's because I use the metacard engine? cgi script below: #!mc on startup open stack "guestbook" read from stdin until empty if it <> empty then put urldecode(it) into data split data by "&" and "=" go to last card create card put the short internet date into field "date" put data["name"] into field "name" put data["text"] into field "entry" replace return with "
" in field "entry" end if put "Content-Type: text/html" & crlf & crlf put "You are on my iBook! @ bvg.kicks-ass.org" repeat with x = the number of cards down to 1 go to card x put "

date:
" & field "date" put "
name:
" & field "name" put "
text:
" & field "entry" & "


" end repeat put "" save stack "guestbook" --does not work!! close stack "guestbook" end startup From kray at sonsothunder.com Wed Sep 10 12:12:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 10 12:12:00 2003 Subject: reveal file/folder in Finder In-Reply-To: Message-ID: <00dc01c377bd$cff28e50$6501a8c0@LightningFlash> You almost stated it yourself: tell application "Finder" reveal end tell Since AppleScript wants colon-delimited paths, you can call on a useful set of handlers from Rev that's in the Common Library: put revMacFromUnixPath() into myPath Hope this helps, 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 > Stephen Quinn Barncard > Sent: Wednesday, September 10, 2003 2:14 AM > To: use-revolution at lists.runrev.com > Subject: reveal file/folder in Finder > > > Does anyone have the recipe for 'revealing' a folder in the Finder > (OSX) from a Rev script? This used to be a snap in Apple Events. I > can't find the syntax anywhere.... > > thanks > > stephen barncard _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Wed Sep 10 12:40:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 10 12:40:01 2003 Subject: New Stacks In-Reply-To: Message-ID: <00f201c377c1$ab263ff0$6501a8c0@LightningFlash> Richmond, You need to be careful with your if/else statements. I ran your code below for getting "the processor" on my WinXP PC and it turned up "Old Fashioned Macintosh". Your code: on mouseDown if the processor = "x86" then put "MicroSoft Windows OS" into field "M" if the processor = "unknown" then put "Unix OS" into field "M" if the processor = "Motorola PowerPC" then put "Power Macintosh" into field "M" else put "Old-Fashioned Macintosh" into field "M" end mouseDown would be better in a switch statement: on mouseDown switch (the processor) case "x86" put "Microsoft Windows OS" into fld "M" break case "unknown" put "Unix OS" into fld "M" break case "Motorola PowerPC" put "Power Macintosh" into fld "M" break case "Motorola MC68000" put "Old Fashioned Macintosh" into fld "M" break end switch end mouseDown 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 Mathewson > Sent: Wednesday, September 10, 2003 8:35 AM > To: use-revolution at lists.runrev.com > Subject: New Stacks > > > Dear RunRev afficionados, > > I have just uploaded to my website a new stack called > 'SYSTEM INFO', which..... returns all sorts of System Info > to the user. > > I have also just uploaded a new version of my revTools.rev > hack incorporating a slimline version of the SYSTEM INFO > stack. > > Love, Richmond __________________________________________________ > See Mathewson's software at: > http://members.maclaunch.com/richmond/default.html and http://www.runrev.com/Revolution1/developercentral/usercontributions.htm l __________________________________________________ --------------------------------------------------------------- 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 jhurley at infostations.com Wed Sep 10 12:48:00 2003 From: jhurley at infostations.com (Jim Hurley) Date: Wed Sep 10 12:48:00 2003 Subject: Revolution IDE: How to finish drawing polygons? In-Reply-To: <200309101300.JAA15769@www.runrev.com> References: <200309101300.JAA15769@www.runrev.com> Message-ID: > >--__--__-- > >Message: 5 >Date: Wed, 10 Sep 2003 00:51:57 -0700 (PDT) >From: Jan Schenkel >Subject: Re: Revolution IDE: How to finish drawing polygons? >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > >--- peter9.smith at ps.ge.com wrote: > > As a newbie I've managed to start drawing a polygon >> by selecting polygon on >> the tool palette, getting a cross-hair cursor, >> clicking on the card to draw >> the shape I want. However how you complete drawing >> the polygon is not >> obvious (to me) and nothing I tried worked. >> >> Help. I have tried the Rev docs and Google first. >> > > Thanks for any enlightenment, Peter Smith. > > Peter, After you double click to end the polygon, you might also want to use the "Reshape polygon" tool immediately adjacent to the polygon tool. It allows you to move the vertex points freely. You can also use option/Alt click to add a point and command/control click to remove a point. Jim From sralston at dyton.com Wed Sep 10 12:56:01 2003 From: sralston at dyton.com (Steve Ralston) Date: Wed Sep 10 12:56:01 2003 Subject: copy stack to a new project Message-ID: <06C1E32F-E3B7-11D7-8E1A-0050E499F20E@dyton.com> Hi all, I have two substacks in a project that I want to use as substacks in another, totally separate project. And once they're in the new project, I'll need to modify them, so they can't be linked to the original substacks in anyway. Trouble is, I can't figure out how to do that! Thanks very much for any help. Steve Ralston Dyton, Inc. Waterloo, Iowa From klaus at major-k.de Wed Sep 10 12:57:01 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Sep 10 12:57:01 2003 Subject: New Stacks In-Reply-To: <00f201c377c1$ab263ff0$6501a8c0@LightningFlash> Message-ID: <5C3C1EA0-E3B7-11D7-965F-000A27B49A96@major-k.de> Hi Ken, > Richmond, > > ... I ran your code below for getting "the processor" on my WinXP PC > and it turned up "Old Fashioned Macintosh". Your code: Are you sure that you are currently not running virtual pc on your Macintosh IIci? Sorry, couldn't resist :-D > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ Regards Klaus Major klaus at major-k.de www.major-k.de From kray at sonsothunder.com Wed Sep 10 13:25:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 10 13:25:01 2003 Subject: copy stack to a new project In-Reply-To: <06C1E32F-E3B7-11D7-8E1A-0050E499F20E@dyton.com> Message-ID: <00f301c377c7$e90768c0$6501a8c0@LightningFlash> Steve, Clone the substacks (making them have no mainstack of their own, and then set their mainstack to the stack of your other project. Save them and away you 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 > Steve Ralston > Sent: Wednesday, September 10, 2003 12:49 PM > To: use-revolution at lists.runrev.com > Subject: copy stack to a new project > > > Hi all, > > I have two substacks in a project that I want to use as substacks in > another, totally separate project. And once they're in the > new project, > I'll need to modify them, so they can't be linked to the original > substacks in anyway. Trouble is, I can't figure out how to do that! > > Thanks very much for any help. > > Steve Ralston > Dyton, Inc. > Waterloo, Iowa > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From rgmiller at pacbell.net Wed Sep 10 14:15:01 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Wed Sep 10 14:15:01 2003 Subject: Fuzzy Copyright References: <200309101300.JAA15752@www.runrev.com> Message-ID: <3F5F76F3.3070503@pacbell.net> From: Richard Gaskin > Paste this in the Message Box: > go url "http://fourthworld.com/rev/channel/4wTranscriptDict.mc" Neat and very clean, Oh Poobah! We may be forced to double your salary.... ;-) 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 Wed Sep 10 15:01:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Sep 10 15:01:01 2003 Subject: problems decompressing files Message-ID: <001601c377d5$769fcf30$64fea8c0@chris1> I'm just wondering if anyone else has ever had any problems decompressing files under OS X. I've got a wav file that I compressed using the compress command. Now when I try to decompress it under OS X, the error dialog comes up saying "error during decompression". The same file decompresses fine under Windows and OS 9. I can't figure out what's going on. It was even compressed originally under OS X. Anyone? Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From themacguy at macosx.com Wed Sep 10 15:10:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Sep 10 15:10:00 2003 Subject: Workaround to lack of modality when quitting in OSX In-Reply-To: <200309101601.MAA20814@www.runrev.com> Message-ID: <04414F59-E3CA-11D7-A2E3-000A95763ABC@macosx.com> Ken, Yes, that's exactly what I'm saying. There is obviously some OS-specific code somewhere which is causing this. Whether it is the engine or one (or more) of the "support" files (and I use that term for lack of a better understanding of the seamy underbelly of Rev), compiling your stacks into an app in Windows -for- OSX creates an app whole Quit menu item (on the app menu) does nothing when a modal dialog is presented to the user (which is correct). It behaves exactly as the OSX Mail.app program does when a modal dialog is "up". The "Quit" item is enabled and selectable but it does nothing ("doesn't trigger"). Regards, Barry On Wednesday, Sep 10, 2003, at 10:01 America/Denver, Ken wrote: > Subject: RE: Workaround to lack of modality when quitting in OSX > Date: Wed, 10 Sep 2003 10:18:12 -0500 > Organization: Sons of Thunder Software > Reply-To: use-revolution at lists.runrev.com > > Wait a second... are you telling me that the engine that compiles for > OS > X *from Windows* is different than the engine that compiles for OS X > *from OS X*? > > And when you say it doesn't have the bug, does that mean that the Quit > menu item doesn't trigger, or it is disabled, or what? Just looking for > clarity... > > Thanks, > > Ken Ray From revlist at cableone.net Wed Sep 10 15:37:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Sep 10 15:37:00 2003 Subject: problems decompressing files In-Reply-To: <001601c377d5$769fcf30$64fea8c0@chris1> Message-ID: <001701c377da$857132b0$64fea8c0@chris1> I think I found the answer to my own question. Apparently there's a bug under OS X where if too many of the same character in a row are compressed, you can't decompress the file (bug #392 in Bugzilla). This is not a good bug. I'm hoping it'll be fixed in an update very soon. My development kind of depends on it. Anyone found a work around? 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 Chris Sheffield Sent: Wednesday, September 10, 2003 1:55 PM To: use-revolution at lists.runrev.com Subject: problems decompressing files I'm just wondering if anyone else has ever had any problems decompressing files under OS X. I've got a wav file that I compressed using the compress command. Now when I try to decompress it under OS X, the error dialog comes up saying "error during decompression". The same file decompresses fine under Windows and OS 9. I can't figure out what's going on. It was even compressed originally under OS X. Anyone? Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From gizmotron at earthlink.net Wed Sep 10 15:47:03 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Sep 10 15:47:03 2003 Subject: Arrays: append, delete At, delete Last, Count, Sort Message-ID: <2CC7B5AB-E3CF-11D7-BC1C-000A95859272@earthlink.net> Subject: Subject: [was]Re: I know this is newbie... it's about Arrays. On Monday, September 8, 2003, at 09:07 PM, Mark Brownell wrote: > appendArray(myArray, "12 Monkeys") -- adds "12 Monkeys" to end of > myArray > appendArray(myArray, 1234) -- adds 1234 to end of myArray > deleteArray(myArray, 2) -- deletes all existence of 2 and reduces all > the rest by one > sortArray(myArray) -- sorts numerically and/or alphabetically myArray > > addAtArray(myArray[3], "10 Monkeys") > -- use this instead of ( put "10 Monkeys" into myArray[3] ) > -- just in case myArray only contained 2 > -- this is to keep track of the number of items in an each array. > > Now that I know how to save arrays into a customProperties file I can > add this function to my FrogBreath.rev example. > > Seems like an nice addition. If I get this done I will post it here. Well I did add these array features to my FrogBreath.rev example. put: go url "http://www.gizmotron.org/frogbreath.rev" into the message window with an active internet connection. Arrays: append, delete At, delete Last, Count, Sort ============================== 1.) Use "PNLP (XML) to theArray" or "frogBreath to theArray" first to create an array to work with. 2.) Use the different buttons to test array manipulations. ============================== I was not able create functions that did this by passing the array as a parameter in the function. All these button click handlers require that the keys to the array be sequential and numerical. Like 1, 2, 3, etc... Enjoy, Mark From revlist at cableone.net Wed Sep 10 16:00:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Sep 10 16:00:01 2003 Subject: external resource under OS 9 Message-ID: <001801c377dd$b1955ee0$64fea8c0@chris1> Maybe I'm just missing something here, but I can't make this work. I'm trying to make my stack connect to a Valentina database directly calling the Valentina functions, not using the built-in Rev functions. Everything works great under Windows and OS X. I've read that in order to make this work under OS 9 you have to copy the resource fork of the external into the resource fork of your stack. Is this correct? If so, I must still be missing something because it doesn't work. I'm using ResEdit to copy the resources from the VXCMD_Classic_MC file to my stack, but I'm still getting errors when I open my stack saying that the Valentina methods are not being found. Is there something else I need to do? Once again, any help is greatly appreciated. Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From gizmotron at earthlink.net Wed Sep 10 16:04:03 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed Sep 10 16:04:03 2003 Subject: problems decompressing files In-Reply-To: <001701c377da$857132b0$64fea8c0@chris1> Message-ID: <80F81A69-E3D1-11D7-BC1C-000A95859272@earthlink.net> On Wednesday, September 10, 2003, at 01:31 PM, Chris Sheffield wrote: > I think I found the answer to my own question. Apparently there's a > bug > under OS X where if too many of the same character in a row are > compressed, > you can't decompress the file (bug #392 in Bugzilla). This is not a > good > bug. I'm hoping it'll be fixed in an update very soon. My > development kind > of depends on it. Anyone found a work around? Hi Chris, This could explain my problem trying to use compress/decompress with my blowfish algorithm. I was able to use base64(encode/decode) with no troubles. Version Rev 2.0.1; Mac 10.2.4 I'll test by encapsulating smaller parts to be compressed / decompressed before and after encrypt/decrypt. Maybe this will allow it to work? If I could compress before encrypt/decrypt then that could speed things up for larger files. Have you noticed a size limitation that still works? Mark From revlist at cableone.net Wed Sep 10 16:16:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Sep 10 16:16:01 2003 Subject: problems decompressing files In-Reply-To: <80F81A69-E3D1-11D7-BC1C-000A95859272@earthlink.net> Message-ID: <001b01c377df$efdfcda0$64fea8c0@chris1> I have noticed any size limitations. I had one test file that was only 6 bytes and it compressed/decompressed fine. One thing I did notice, however, is that when a file is this small, the compressed file actually ends up being larger. I think in this case it was about 33 bytes. Not sure what that means. 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 Mark Brownell Sent: Wednesday, September 10, 2003 2:58 PM To: use-revolution at lists.runrev.com Subject: Re: problems decompressing files On Wednesday, September 10, 2003, at 01:31 PM, Chris Sheffield wrote: > I think I found the answer to my own question. Apparently there's a > bug > under OS X where if too many of the same character in a row are > compressed, > you can't decompress the file (bug #392 in Bugzilla). This is not a > good > bug. I'm hoping it'll be fixed in an update very soon. My > development kind > of depends on it. Anyone found a work around? Hi Chris, This could explain my problem trying to use compress/decompress with my blowfish algorithm. I was able to use base64(encode/decode) with no troubles. Version Rev 2.0.1; Mac 10.2.4 I'll test by encapsulating smaller parts to be compressed / decompressed before and after encrypt/decrypt. Maybe this will allow it to work? If I could compress before encrypt/decrypt then that could speed things up for larger files. Have you noticed a size limitation that still works? Mark _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Wed Sep 10 16:19:02 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 10 16:19:02 2003 Subject: problems decompressing files In-Reply-To: <001701c377da$857132b0$64fea8c0@chris1> Message-ID: <002f01c377e0$49a29fc0$6501a8c0@LightningFlash> Chris, I'm not sure what you're storing that needs to be compressed, but if it was a string like: 10011101011111111111111111111111111001 Where there are too many "1"s in a row, couldn't you do something like: replace "0" with "0," in tString replace "1" with "1," in tString giving you 1,0,0,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 0,1, That you could then compress and decompress? Then to get back your "original", you could: replace "," with "" in tString to get you back to: 10011101011111111111111111111111111001 Just a thought, 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 > Chris Sheffield > Sent: Wednesday, September 10, 2003 3:31 PM > To: use-revolution at lists.runrev.com > Subject: RE: problems decompressing files > > > I think I found the answer to my own question. Apparently > there's a bug under OS X where if too many of the same > character in a row are compressed, you can't decompress the > file (bug #392 in Bugzilla). This is not a good bug. I'm > hoping it'll be fixed in an update very soon. My development > kind of depends on it. Anyone found a work around? > > 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 > Chris Sheffield > Sent: Wednesday, September 10, 2003 1:55 PM > To: use-revolution at lists.runrev.com > Subject: problems decompressing files > > I'm just wondering if anyone else has ever had any problems > decompressing files under OS X. I've got a wav file that I > compressed using the compress command. Now when I try to > decompress it under OS X, the error dialog comes up saying > "error during decompression". The same file decompresses > fine under Windows and OS 9. I can't figure out what's going > on. It was even compressed originally under OS X. Anyone? > > Chris Sheffield > Software Development > Read Naturally > csheffield at readnaturally.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 rgould8 at aol.com Wed Sep 10 16:24:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Wed Sep 10 16:24:00 2003 Subject: Windows XP icons in Builder Message-ID: <3F5F951B.3020504@aol.com> An HTML attachment was scrubbed... URL: From revlist at cableone.net Wed Sep 10 16:28:02 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Sep 10 16:28:02 2003 Subject: problems decompressing files In-Reply-To: <001b01c377df$efdfcda0$64fea8c0@chris1> Message-ID: <001c01c377e1$afb0eaa0$64fea8c0@chris1> Sorry, I meant to say "I have not noticed any size limitation." :-) 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 Chris Sheffield Sent: Wednesday, September 10, 2003 3:10 PM To: use-revolution at lists.runrev.com Subject: RE: problems decompressing files I have noticed any size limitations. I had one test file that was only 6 bytes and it compressed/decompressed fine. One thing I did notice, however, is that when a file is this small, the compressed file actually ends up being larger. I think in this case it was about 33 bytes. Not sure what that means. Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From revlist at cableone.net Wed Sep 10 16:37:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Sep 10 16:37:00 2003 Subject: problems decompressing files In-Reply-To: <002f01c377e0$49a29fc0$6501a8c0@LightningFlash> Message-ID: <001d01c377e2$d84c7730$64fea8c0@chris1> That'd work great if I new beforehand what I was compressing. :-) Most of my files are wav and text files, and I don't really know exactly what is being compressed before I compress it. I suppose I could try reading the data first to check it, but I'm not sure how I would check for multiple occurrences of the same character in a row. 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 Ken Ray Sent: Wednesday, September 10, 2003 3:13 PM To: use-revolution at lists.runrev.com Subject: RE: problems decompressing files Chris, I'm not sure what you're storing that needs to be compressed, but if it was a string like: 10011101011111111111111111111111111001 Where there are too many "1"s in a row, couldn't you do something like: replace "0" with "0," in tString replace "1" with "1," in tString giving you 1,0,0,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 0,1, That you could then compress and decompress? Then to get back your "original", you could: replace "," with "" in tString to get you back to: 10011101011111111111111111111111111001 Just a thought, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > From ambassador at fourthworld.com Wed Sep 10 16:38:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 10 16:38:01 2003 Subject: problems decompressing files In-Reply-To: <001b01c377df$efdfcda0$64fea8c0@chris1> Message-ID: Chris Sheffield wrote: > I have noticed any size limitations. I had one test file that was only 6 > bytes and it compressed/decompressed fine. One thing I did notice, however, > is that when a file is this small, the compressed file actually ends up > being larger. I think in this case it was about 33 bytes. Not sure what > that means. On the flipside, I have successfully run decompress on a 66.3MC .gz file which decompressed to 526MBs. Seems to have no trouble with large files (under OS X anyway) ;) -- 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 Sep 10 16:43:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 10 16:43:01 2003 Subject: problems decompressing files In-Reply-To: <002f01c377e0$49a29fc0$6501a8c0@LightningFlash> Message-ID: On Wednesday, September 10, 2003, at 03:12 PM, Ken Ray wrote: > 1,0,0,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0 > , > 0,1, That is worth a try, but it might not work. The in-a-row compression works on multi-char repeats, too, and if the problem is with that this might not work. I'd include that in tinkering. I have also tried "training strings" in cases where the compression is under control of the decompression. The idea is to prepend some magic string, compress and then later decompress and remove the string. So far this does not work. I suspect this is because in-a-row compression is done before the entropy encoding. Dar From psahores at easynet.fr Wed Sep 10 16:54:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Sep 10 16:54:01 2003 Subject: cgi does not do "save stack" In-Reply-To: <6788E692-E3A2-11D7-BF73-003065AD94A4@mac.com> References: <6788E692-E3A2-11D7-BF73-003065AD94A4@mac.com> Message-ID: <1063230492.2741.40.camel@www.kmax.ici> Le mer 10/09/2003 ? 17:21, Bj?rnke von Gierke a ?crit : > I am able to do all kind of nifty things in my cgi tests, but I am > unable to save a stack, no matter how I try it. Is there a bug, or must > I just save differently then in the normal environment? Maybe it's > because I use the metacard engine? > > cgi script below: > #!mc > on startup > open stack "guestbook" > read from stdin until empty > if it <> empty then > put urldecode(it) into data > split data by "&" and "=" > go to last card > create card > put the short internet date into field "date" > put data["name"] into field "name" > put data["text"] into field "entry" > replace return with "
" in field "entry" > end if > put "Content-Type: text/html" & crlf & crlf > put "You are on my iBook! @ > bvg.kicks-ass.org quote & ">" > repeat with x = the number of cards down to 1 > go to card x > put "

date:
" & field "date" > put "
name:
" & field "name" > put "
text:
" & field "entry" & "


" > end repeat > put "" > save stack "guestbook" --does not work!! > close stack "guestbook" > end startup > Hi Bj?rnke, I think that it's no way to save a stack without opening it, directly, in graphical mode. Bests, Pierre From rcozens at pon.net Wed Sep 10 16:54:15 2003 From: rcozens at pon.net (Rob Cozens) Date: Wed Sep 10 16:54:15 2003 Subject: problems decompressing files In-Reply-To: <001601c377d5$769fcf30$64fea8c0@chris1> References: <001601c377d5$769fcf30$64fea8c0@chris1> Message-ID: >I'm just wondering if anyone else has ever had any problems decompressing >files under OS X. Hi Chris, This morning I built a 21.3 MB, 20,027-record test SDB database from a 3.6 MB compressed backup: No problemo...it's all ASCII text, though. -- 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 ambassador at fourthworld.com Wed Sep 10 17:04:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 10 17:04:01 2003 Subject: cgi does not do "save stack" In-Reply-To: <1063230492.2741.40.camel@www.kmax.ici> Message-ID: Pierre Sahores wrote: > I think that it's no way to save a stack without opening it, directly, > in graphical mode. I wrote a CGI for my Linux/Apache server recently that created objects in a stack, grouped them, and saved the changes, and it seemed to work well. -- 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 Wed Sep 10 17:07:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 10 17:07:01 2003 Subject: cgi does not do "save stack" In-Reply-To: <1063230492.2741.40.camel@www.kmax.ici> Message-ID: > > > I am able to do all kind of nifty things in my cgi tests, but I am > > unable to save a stack, no matter how I try it. Is there a bug, or must > > I just save differently then in the normal environment? Maybe it's > > because I use the metacard engine? > > > > cgi script below: > > #!mc > > on startup > > open stack "guestbook" > > read from stdin until empty > > if it <> empty then > > put urldecode(it) into data > > split data by "&" and "=" > > go to last card > > create card > > put the short internet date into field "date" > > put data["name"] into field "name" > > put data["text"] into field "entry" > > replace return with "
" in field "entry" > > end if > > put "Content-Type: text/html" & crlf & crlf > > put "You are on my iBook! @ > > bvg.kicks-ass.org > quote & ">" > > repeat with x = the number of cards down to 1 > > go to card x > > put "

date:
" & field "date" > > put "
name:
" & field "name" > > put "
text:
" & field "entry" & "


" > > end repeat > > put "" > > save stack "guestbook" --does not work!! > > close stack "guestbook" > > end startup > > > > Hi Bj?rnke, > > I think that it's no way to save a stack without opening it, directly, > in graphical mode. > Not quite true. You can save a stack but you have to ensure that it's got the correct write permissions. You probably want it set to 775 or something. Cheers Monte From psahores at easynet.fr Wed Sep 10 17:29:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Wed Sep 10 17:29:01 2003 Subject: cgi does not do "save stack" In-Reply-To: References: Message-ID: <1063232591.2740.49.camel@www.kmax.ici> Le jeu 11/09/2003 ? 00:00, Monte Goulding a ?crit : > > > > > I am able to do all kind of nifty things in my cgi tests, but I am > > > unable to save a stack, no matter how I try it. Is there a bug, or must > > > I just save differently then in the normal environment? Maybe it's > > > because I use the metacard engine? > > > > > > cgi script below: > > > #!mc > > > on startup > > > open stack "guestbook" > > > read from stdin until empty > > > if it <> empty then > > > put urldecode(it) into data > > > split data by "&" and "=" > > > go to last card > > > create card > > > put the short internet date into field "date" > > > put data["name"] into field "name" > > > put data["text"] into field "entry" > > > replace return with "
" in field "entry" > > > end if > > > put "Content-Type: text/html" & crlf & crlf > > > put "You are on my iBook! @ > > > bvg.kicks-ass.org > > quote & ">" > > > repeat with x = the number of cards down to 1 > > > go to card x > > > put "

date:
" & field "date" > > > put "
name:
" & field "name" > > > put "
text:
" & field "entry" & "


" > > > end repeat > > > put "" > > > save stack "guestbook" --does not work!! > > > close stack "guestbook" > > > end startup > > > > > > > Hi Bj?rnke, > > > > I think that it's no way to save a stack without opening it, directly, > > in graphical mode. > > > Not quite true. You can save a stack but you have to ensure that it's got the correct write permissions. You probably want it set to 775 or something. > > Cheers > > Monte Bj?rnke, Monte, Richard, Thanks to you all three. It's good to know that it works ! Bests, Pierre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From livfoss at blueyonder.co.uk Wed Sep 10 17:41:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed Sep 10 17:41:00 2003 Subject: Icons and scope Message-ID: I'm trying to set the icon of a button to an image in a different substack from the one where the button is. I note from the TD that this is possible, but it appears that such an image must have a unique name. I mean the script has to be like set the icon of btn "myButton" to "imageForIcon" The engine then goes and finds "imageForIcon" and uses its unique ID to set the icon of the button. It appears you can't write set the icon of btn "myButton" to image "imageForIcon" of cd "MyIcons" of stack "myStuff". So the name of the image has to be unique in the whole app. Am I right about this, and if so, are there any other situations where RR breaks the ordinary scope rules, where a name is in principle qualified by group, card and stack names (some of which may in many circumstances remain implied)? I have a feeling the issue may also apply to objects in nested groups, but I'm not sure. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From mswindel at santacruz.k12.ca.us Wed Sep 10 17:45:00 2003 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Wed Sep 10 17:45:00 2003 Subject: Print with dialog? In-Reply-To: <00dc01c377bd$cff28e50$6501a8c0@LightningFlash> Message-ID: I'm having trouble making a card print correctly. If I just use the print card command, the margins are wrong. Using the following, I don't get the print dialog that allows me to select number of copies... it just spits out a single copy, although the margins are right. (Actually it DID show the print dialog twice out of about 10 attempts... huh?) on mouseup revShowPrintDialog false,true print card into 36,36,550,610 end mouseup I just want to be able to access the print dialog on Mac OS, OSX and Windows and print to the above rect. What must I do? Not having luck with the docs in this area. I'm doing this on OS9. Thanks, Mark From bvg at mac.com Wed Sep 10 17:49:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed Sep 10 17:49:00 2003 Subject: cgi does not do "save stack" In-Reply-To: <1063232591.2740.49.camel@www.kmax.ici> Message-ID: <1844D1F0-E3E0-11D7-8DE1-003065AD94A4@mac.com> On Donnerstag, Sept 11, 2003, at 00:23 Europe/Zurich, Pierre Sahores wrote: > ... >>> Hi Bj?rnke, >>> >>> I think that it's no way to save a stack without opening it, >>> directly, >>> in graphical mode. >>> >> Not quite true. You can save a stack but you have to ensure that it's >> got the correct write permissions. You probably want it set to 775 or >> something. >> >> Cheers >> >> Monte > > Bj?rnke, Monte, Richard, > > Thanks to you all three. It's good to know that it works ! Actually it does not work for me, even when I chmod the stack to 777. I am completely lost what could cause this, and others mentioned too that it should work without problem! From janschenkel at yahoo.com Wed Sep 10 17:49:13 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 10 17:49:13 2003 Subject: Print with dialog? In-Reply-To: Message-ID: <20030910224338.84609.qmail@web11901.mail.yahoo.com> --- Mark Swindell wrote: > I'm having trouble making a card print correctly. > If I just use the print > card command, the margins are wrong. > > Using the following, I don't get the print dialog > that allows me to select > number of copies... it just spits out a single copy, > although the margins > are right. (Actually it DID show the print dialog > twice out of about 10 > attempts... huh?) > > on mouseup > revShowPrintDialog false,true > print card into 36,36,550,610 > end mouseup > > > I just want to be able to access the print dialog on > Mac OS, OSX and Windows > and print to the above rect. What must I do? Not > having luck with the docs > in this area. > > I'm doing this on OS9. > > Thanks, > Mark > Hi Mark, The thing here is that 'revShowPrintDialog' only has an effect in conjunction with the 'revPrintField' and 'revPrintText' printing commands. In this case, I think you're looking for : - answer printer - open printing with dialog 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 Wed Sep 10 17:51:02 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 10 17:51:02 2003 Subject: Icons and scope In-Reply-To: Message-ID: <20030910224548.84784.qmail@web11901.mail.yahoo.com> --- Graham Samuel wrote: > I'm trying to set the icon of a button to an image > in a different > substack from the one where the button is. I note > from the TD that > this is possible, but it appears that such an image > must have a > unique name. I mean the script has to be like > > set the icon of btn "myButton" to "imageForIcon" > > The engine then goes and finds "imageForIcon" and > uses its unique ID > to set the icon of the button. > > It appears you can't write > > set the icon of btn "myButton" to image > "imageForIcon" of cd > "MyIcons" of stack "myStuff". > > So the name of the image has to be unique in the > whole app. Am I > right about this, and if so, are there any other > situations where RR > breaks the ordinary scope rules, where a name is in > principle > qualified by group, card and stack names (some of > which may in many > circumstances remain implied)? I have a feeling the > issue may also > apply to objects in nested groups, but I'm not sure. > > Graham > Hi Graham, When you use the inspector to set a button icon, you'll see it retains the [unique] ID of the image that your icon really is. So try : set the icon of btn "myButton" to the id of \ image "imageForIcon" of cd "MyIcons" of \ stack "myStuff". 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 Wed Sep 10 17:56:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 10 17:56:00 2003 Subject: Icons and scope In-Reply-To: Message-ID: <004101c377ed$d71e7d80$6501a8c0@LightningFlash> Actually, Graham, the image needs to have a unique ID vs. a unique name (AFAIK). So if you say: set the icon of btn "myButton" to (the id of img "ImageForIcon" of cd "MyIcons" of stack "myStuff") it should work so long as the ID number is unique. 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: Wednesday, September 10, 2003 5:35 PM > To: Revolution user discussion > Subject: Icons and scope > > > I'm trying to set the icon of a button to an image in a different > substack from the one where the button is. I note from the TD that > this is possible, but it appears that such an image must have a > unique name. I mean the script has to be like > > set the icon of btn "myButton" to "imageForIcon" > > The engine then goes and finds "imageForIcon" and uses its unique ID > to set the icon of the button. > > It appears you can't write > > set the icon of btn "myButton" to image "imageForIcon" of cd > "MyIcons" of stack "myStuff". > > So the name of the image has to be unique in the whole app. Am I > right about this, and if so, are there any other situations where RR > breaks the ordinary scope rules, where a name is in principle > qualified by group, card and stack names (some of which may in many > circumstances remain implied)? I have a feeling the issue may also > apply to objects in nested groups, but I'm not sure. > > 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 Wed Sep 10 17:57:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 10 17:57:01 2003 Subject: Windows XP icons in Builder In-Reply-To: <3F5F951B.3020504@aol.com> Message-ID: <004201c377ee$09c14a10$6501a8c0@LightningFlash> Rob, you're actually more limited than you think. Rev can only use 32x32 16 *color* icons (not 16-bit). However most of us have gotten around this by making shortcuts to our apps and setting the icon of the shortcut to point to a better/richer icon file. I haven't done 48x48 though... 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: Wednesday, September 10, 2003 4:18 PM To: use-revolution use-revolution Subject: Windows XP icons in Builder Can anyone tell me if it's possible to give a Rev app a Windows XP icon (48x48) with the alpha-blending, so that it blends in with the desktop? Whenever I tried doing this with thei Builder app, it said it didn't like my icon format (It wanted a 32x32 16-bit icon instead). Am I really limited in this way? _______________________________________________ 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 sarahr at genesearch.com.au Wed Sep 10 18:00:02 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Sep 10 18:00:02 2003 Subject: Icons and scope In-Reply-To: Message-ID: <63BC319E-E3E1-11D7-90C6-0003937A97B8@genesearch.com.au> How about trying something like: set the icon of btn "myButton" to the short ID of image "imageForIcon" of cd "MyIcons" of stack "myStuff" (watch out for the line wrap) Cheers, Sarah On Thursday, September 11, 2003, at 08:41 am, Graham Samuel wrote: > I'm trying to set the icon of a button to an image in a different > substack from the one where the button is. I note from the TD that > this is possible, but it appears that such an image must have a unique > name. I mean the script has to be like > > set the icon of btn "myButton" to "imageForIcon" > > The engine then goes and finds "imageForIcon" and uses its unique ID > to set the icon of the button. > > It appears you can't write > > set the icon of btn "myButton" to image "imageForIcon" of cd > "MyIcons" of stack "myStuff". > > So the name of the image has to be unique in the whole app. Am I right > about this, and if so, are there any other situations where RR breaks > the ordinary scope rules, where a name is in principle qualified by > group, card and stack names (some of which may in many circumstances > remain implied)? I have a feeling the issue may also apply to objects > in nested groups, but I'm not sure. > > 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 sarahr at genesearch.com.au Wed Sep 10 18:04:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Sep 10 18:04:01 2003 Subject: reveal file/folder in Finder In-Reply-To: <00dc01c377bd$cff28e50$6501a8c0@LightningFlash> Message-ID: <2E15FCB4-E3E2-11D7-90C6-0003937A97B8@genesearch.com.au> This won't quite work because the Unix path doesn't include the disk name, and revMacFromUnixPath() just changes the slashes to colons but doesn't add the disk name. Here is a function that I (with help from this list), came up with to convert Unix/OS X file paths to Applescript paths: 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 Then use the file path returned by this function as the parameter for Ken's AppleScript below. Cheers, Sarah On Thursday, September 11, 2003, at 03:19 am, Ken Ray wrote: > You almost stated it yourself: > > tell application "Finder" > reveal > end tell > > Since AppleScript wants colon-delimited paths, you can call on a useful > set of handlers from Rev that's in the Common Library: > > put revMacFromUnixPath() into myPath > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > >> >> Does anyone have the recipe for 'revealing' a folder in the Finder >> (OSX) from a Rev script? This used to be a snap in Apple Events. I >> can't find the syntax anywhere.... >> >> thanks >> >> stephen barncard _______________________________________________ From monte at sweattechnologies.com Wed Sep 10 18:04:15 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 10 18:04:15 2003 Subject: cgi does not do "save stack" In-Reply-To: <1844D1F0-E3E0-11D7-8DE1-003065AD94A4@mac.com> Message-ID: > > ... > >>> Hi Bj?rnke, > >>> > >>> I think that it's no way to save a stack without opening it, > >>> directly, > >>> in graphical mode. > >>> > >> Not quite true. You can save a stack but you have to ensure that it's > >> got the correct write permissions. You probably want it set to 775 or > >> something. > >> > >> Cheers > >> > >> Monte > > > > Bj?rnke, Monte, Richard, > > > > Thanks to you all three. It's good to know that it works ! > > Actually it does not work for me, even when I chmod the stack to 777. I > am completely lost what could cause this, and others mentioned too that > it should work without problem! > Try running your script on the command line. The cCGI engine writes errors to stderr and apache writes that to the error log. If you can find the error log then look in there. Note that if you download Complete Apache 2 from http://www.serverlogistics.com/apache2.php you will get a nice prefereces pane to access config files and logs. Cheers Monte From sarahr at genesearch.com.au Wed Sep 10 18:07:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Sep 10 18:07:01 2003 Subject: Chunk Expressions (see if my solutions is bad) In-Reply-To: <4186F0CD-E33C-11D7-8CE1-00039387AE90@mac.com> Message-ID: <97009726-E3E2-11D7-90C6-0003937A97B8@genesearch.com.au> I have encountered the same problem so I just replace all returns with some unusual character before storing, and then put them back when retrieving the data. I tend to use something like a paragraph marker (? - option-7 on a Mac) but to be extra careful, you'll need to check whether your data contains any of these before you do your replace. Cheers, Sarah On Wednesday, September 10, 2003, at 01:17 pm, Andre Garzia wrote: > Hi Folks, > > In the quest of finding some way to store an arbitary number of > parameters for my XML-RPC Stack I decided to use Chunk Expressions. I > decided to store each parameter as a line. I have a function that > accept two paramenters pType which is the type of the parameter > (string, boolean, integer...) and the other is the pParam which holds > the actual value. My function assemble them in the format > value so that become easy to assemble the XML Later, just > pull the lines of gParam and loop. The first bug I thought I might > have was the fact that the paramenters could have linefeeds inside > them breaking my sweet poor man system. So I decide do Base64 Encode > them just to take thoose linefeeds out. But I think Base64 wraps at 72 > chars so this return-character-apearing-where-I-do-not-want-problem > still possible. Should I change lineDelimiter? Should I store as item? > Any advise? > > 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 > > > From bvg at mac.com Wed Sep 10 18:25:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed Sep 10 18:25:00 2003 Subject: cgi does not do "save stack" In-Reply-To: Message-ID: <0AB24874-E3E5-11D7-8DE1-003065AD94A4@mac.com> On Donnerstag, Sept 11, 2003, at 00:58 Europe/Zurich, Monte Goulding wrote: > ... > Try running your script on the command line. The cCGI engine writes > errors > to stderr and apache writes that to the error log. If you can find the > error > log then look in there. How to do that? I can't just write the name of the cgi file and then it runs... Also i did NOT find the error log of apache, but i will try the installation you suggested. > > Note that if you download Complete Apache 2 from > http://www.serverlogistics.com/apache2.php you will get a nice > prefereces > pane to access config files and logs. > > Cheers > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Sep 10 18:37:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 10 18:37:00 2003 Subject: Chunk Expressions (see if my solutions is bad) In-Reply-To: <97009726-E3E2-11D7-90C6-0003937A97B8@genesearch.com.au> Message-ID: Sarah wrote: > I have encountered the same problem so I just replace all returns with > some unusual character before storing, and then put them back when > retrieving the data. FWIW, I've standardized on ASCII 11 for cr-in-data placeholders, if only because that's the character FileMaker Prouses for exports. I could have used any uncommon character, but they have a million users so they won. ;) Also, ASCII 11 is "vertical tab", so it's at least conceptually related and not likely to be used for some other purpose (as opposed to ASCII 4 "end of text" for example). -- 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 Wed Sep 10 18:41:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 10 18:41:01 2003 Subject: cgi does not do "save stack" In-Reply-To: <0AB24874-E3E5-11D7-8DE1-003065AD94A4@mac.com> Message-ID: > > On Donnerstag, Sept 11, 2003, at 00:58 Europe/Zurich, Monte Goulding > wrote: > > > ... > > Try running your script on the command line. The cCGI engine writes > > errors > > to stderr and apache writes that to the error log. If you can find the > > error > > log then look in there. > > How to do that? I can't just write the name of the cgi file and then it > runs... You type ./.cgi For example: ./test.cgi Cheers Monte From alptex2 at orwell.net Wed Sep 10 18:54:01 2003 From: alptex2 at orwell.net (T. R. Ponn) Date: Wed Sep 10 18:54:01 2003 Subject: problems decompressing files References: <001d01c377e2$d84c7730$64fea8c0@chris1> Message-ID: <3F5FB824.9080402@orwell.net> Chris, BIG guess here...but from my earlier days of messing with compression techniques...I would suspect that the problem may be a fixed length variable in the compression alg. Once you have so many chars in a row that exceed this limit, it goes haywire. While waiting for the real fix, how about some experiments to find out what the limit is...let's just say here that it's 64KB...then break your files up into pieces. After decompressing, reassemble them? It ain't pretty, but maybe it'll patch you for now. Best Regards, Tim Ponn Chris Sheffield wrote: >That'd work great if I new beforehand what I was compressing. :-) Most of >my files are wav and text files, and I don't really know exactly what is >being compressed before I compress it. I suppose I could try reading the >data first to check it, but I'm not sure how I would check for multiple >occurrences of the same character in a row. > >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 Ken Ray >Sent: Wednesday, September 10, 2003 3:13 PM >To: use-revolution at lists.runrev.com >Subject: RE: problems decompressing files > >Chris, > >I'm not sure what you're storing that needs to be compressed, but if it >was a string like: > > 10011101011111111111111111111111111001 > >Where there are too many "1"s in a row, couldn't you do something like: > > replace "0" with "0," in tString > replace "1" with "1," in tString > >giving you > > >1,0,0,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, >0,1, > >That you could then compress and decompress? Then to get back your >"original", you could: > > replace "," with "" in tString > >to get you back to: > > 10011101011111111111111111111111111001 > >Just a thought, > >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 alex at mindlube.com Wed Sep 10 19:26:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 10 19:26:01 2003 Subject: cgi-engine does not run In-Reply-To: <7387F7AD-E38B-11D7-B950-003065AD94A4@mac.com> Message-ID: On Wednesday, September 10, 2003, at 06:36 AM, Bj?rnke von Gierke wrote: > I was able to get it running using the mc engine. Bj?rnke, it is strange that the mc cgi engine would work, but the revolution cgi engine would not work, for the same script. Were you able to replicate the problem and did you bug report it? > Looking at the server log is a cruel advice! Not really, and it's also impossible to debug a lot of web server problems without it :-) > The server log seems to be hidden behind the seven mountains at the > seven dwarfs. I can't find it, where is that stupid thing under mac OS > X? On OS X it's in: /var/log/httpd/error_log On Unix you can usually find logfiles in /var/log. It's also possible to install Apache to wherever and sometimes you can find it in /etc/httpd or /usr/local/apache or /usr/share/opt/pub/misc/apache (ok that one is made up) Don't bother looking for /var/log with Finder, since it hides all the BSD Unix directories at the root level. Useful for debugging: "tail -f /var/log/httpd/error_log" (or depending on permissions) "sudo tail -f /var/log/httpd/error_log" Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Wed Sep 10 19:37:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 10 19:37:01 2003 Subject: cgi-engine does not run In-Reply-To: Message-ID: Speaking of CGI.... I've had some issues with my Linux hosting company when they tried to update the server. They don't offer Telnet for security reasons, but have been kind enough to work with me through the slower process of each of us asking the other "What does this mean?" ;) Their latest question was about MC quitting unexpectedly, with this email from their tech dude: We spent some time trying to get mc (or MetaCard) to function on the new environment. We do have the two X11 libraries installed on the server. However, when attempting to execute the mc cgi, an error message is generated. This is "invalid magic number". What does that mean? I might guess it's referring to a reg code, but I'm not setting the scripts of objects or anything else that would involve script limits. In fact, it happens when running any script on that server, yet the same MC setup on their older configuration works great. Any clues? -- 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 bvg at mac.com Wed Sep 10 19:47:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed Sep 10 19:47:00 2003 Subject: cgi-engine does not run In-Reply-To: Message-ID: <9591C6BE-E3F0-11D7-8DE1-003065AD94A4@mac.com> On Donnerstag, Sept 11, 2003, at 02:20 Europe/Zurich, Alex Rice wrote: > > On Wednesday, September 10, 2003, at 06:36 AM, Bj?rnke von Gierke > wrote: >> I was able to get it running using the mc engine. > > Bj?rnke, it is strange that the mc cgi engine would work, but the > revolution cgi engine would not work, for the same script. Were you > able to replicate the problem and did you bug report it? Well the revolution engine demands some additional installations, as the link provided in the read me leads into the void I was unable to load the first one, and didn't bother with the x11 install. As the MC cgi engine runs (up until the stupid save issue) I am not gonna try to locate the file on the web. >> where is that stupid thing under mac OS X? > > On OS X it's in: /var/log/httpd/error_log Phfff I am not gonna look at this file in the terminal! Stupid apple could really think a little before doing things like that! Anyway due to the tip from Monte Goulding I am now in the possession of a gui tool to read all the log files =D And the log files show: Nothing there is no error as the script executes just fine, beside the save not doing anything. I would bugzilla this, but I'm the only one getting this behaviour, and I'm not gonna send runrev my computer just so they can see it too ;) Oh and typing ./guestbook.cgi in the terminal just hangs until I press ctrl-c ( I know a unix command *does little dance*) From joel at alpsgiken.gr.jp Wed Sep 10 20:18:00 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Wed Sep 10 20:18:00 2003 Subject: embedding graphics in text? In-Reply-To: <58ABFAEE-DF95-11D7-8C98-000A27B49A96@major-k.de> References: <20030905200004.3579.JOEL@alpsgiken.gr.jp> <58ABFAEE-DF95-11D7-8C98-000A27B49A96@major-k.de> Message-ID: <20030911101423.B42F.JOEL@alpsgiken.gr.jp> Klaus, before I forget, thanks. I'll try this as soon as I get done with this other project I'm running overtime on. > Konichi-wa Rees-san, > (its noon here in germany ;-) > > > Newbie sort of question, but I'm a newb, so here goes -- > > > > Converting a hypercard stack, have a graphics layover and space in the > > text where images in the layover are supposed to end up, but font > > differences and so forth and the images are not where they should be, > > relative to the text. > > > > So I would like to be able to cut the images out of the layover and > > embed them into the text, the way it can be done with html. Does > > revolution support such a thing? > > HTNL is one solution, but you are probably looking for "imagesource" > > > (Having trouble thinking of where to look this up in the docs.) > > Setting the "imagesource" of a char in a field, this char will be > replaced with that image... > > Examples: > > set the imagesource of char 1 of fld 1 to 1003 ## the ID of an image > > set the imagesource of char 1 of fld 1 to "hotpix" ### name of an image > > set the imagesource of char 1 of fld 1 to "binfile:image.jpg" ## path > to an imagefile > > set the imagesource of char 1 of fld 1 to > "http://www.myserver.com/a_folder/an_image.gif" > > Hope that helps... > > Sayonara > > Klaus Major > klaus at major-k.de > www.major-k.de > -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) From dsc at swcp.com Wed Sep 10 20:21:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 10 20:21:01 2003 Subject: problems decompressing files In-Reply-To: <3F5FB824.9080402@orwell.net> Message-ID: <673C57C0-E3F5-11D7-98C2-000A9567A3E6@swcp.com> On Wednesday, September 10, 2003, at 05:47 PM, T. R. Ponn wrote: > While waiting for the real fix, how about some experiments to find out > what the limit is...let's just say here that it's 64KB...then break > your files up into pieces. After decompressing, reassemble them? > > It ain't pretty, but maybe it'll patch you for now. I think the bug report shows an example of length 13. I think I was able to create a pattern of just length 11 that failed, but my memory is not to be trusted. Dar Scott From alex at mindlube.com Wed Sep 10 20:26:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 10 20:26:00 2003 Subject: cgi-engine does not run In-Reply-To: <9591C6BE-E3F0-11D7-8DE1-003065AD94A4@mac.com> Message-ID: <169D86F2-E3F6-11D7-929D-000393529642@mindlube.com> On Wednesday, September 10, 2003, at 06:40 PM, Bj?rnke von Gierke wrote: > Well the revolution engine demands some additional installations, as > the link provided in the read me leads into the void I was unable to > load the first one, and didn't bother with the x11 install. As the MC > cgi engine runs (up until the stupid save issue) I am not gonna try to > locate the file on the web. OK I forgot you hadn't installed dlcompat and X11. That's probably what you ran into and why the mc engine works for you but the revolution engine does not. > Phfff I am not gonna look at this file in the terminal! Unix hater eh Anyways, I was wrong about Finder. Choose Go menu | Go to Folder, and type in the folder /var/log/httpd. Safari can do it to, and it opens a Finder Window for you. TextEdit.app, or any other OS X app can read the file too, just the file into the Open File dialog. > Stupid apple could really think a little before doing things like > that! I respectfully disagree; it's a standard location for httpd logfiles. You wanna use the BSD tools like Apache then you are going to have to be more open minded. If you want a nice easy GUI around Apache then you are welcome to fork over $2,000 for OS X Server. :-) Although I don't remember where OS X server puts it's Apache logfiles. Probably /var/log/httpd also, but it probably has a LogFileReader.app or something. > Anyway due to the tip from Monte Goulding I am now in the possession > of a gui tool to read all the log files =D > And the log files show: > Nothing > there is no error as the script executes just fine, beside the save > not doing anything. Just to clarify: You were getting a Server Error (error 500) then you positively should be able find out more information about the Server Error by looking in error_log. I think "save not doing anything" is a separate issue. error_log is for http errors, which includes the STDERR output from the script, which may or may not be useful debugging certain scripts and whether they act a certain way... > Oh and typing ./guestbook.cgi in the terminal just hangs until I press > ctrl-c ( I know a unix command *does little dance*) Yes the second line in your startup handler is "read from stdin until empty". When executed from the command-line, the script is just waiting for stdin. ctrl-c interrupts the script. pressing ctrl-D instead would send an EOF to stdin, and the script and it would interpret that as stdin is read in, and continue executing. (I think) - I haven't tried it. Hope this helps, 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 Wed Sep 10 20:27:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 10 20:27:01 2003 Subject: cgi does not do "save stack" In-Reply-To: Message-ID: <4ED90B7A-E3F6-11D7-929D-000393529642@mindlube.com> On Wednesday, September 10, 2003, at 04:58 PM, Monte Goulding wrote: > Note that if you download Complete Apache 2 from > http://www.serverlogistics.com/apache2.php you will get a nice > prefereces > pane to access config files and logs. Cool! Don't forget to turn of OS X's "Personal Web Sharing" first though. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From monte at sweattechnologies.com Wed Sep 10 20:43:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 10 20:43:01 2003 Subject: cgi-engine does not run In-Reply-To: <9591C6BE-E3F0-11D7-8DE1-003065AD94A4@mac.com> Message-ID: > Nothing > there is no error as the script executes just fine, beside the save not > doing anything. I would bugzilla this, but I'm the only one getting > this behaviour, and I'm not gonna send runrev my computer just so they > can see it too ;) > Oh and typing ./guestbook.cgi in the terminal just hangs until I press > ctrl-c ( I know a unix command *does little dance*) > Make sure the stack is writable: chmod 775 *.rev Try altering the script to this: #!mc on startup open stack "guestbook" set the defaultStack to "guestbook" -- don't know if this is needed read from stdin until empty if it <> empty then put urldecode(it) into data split data by "&" and "=" go to last card create card put the short internet date into field "date" put data["name"] into field "name" put data["text"] into field "entry" replace return with "
" in field "entry" end if put "Content-Type: text/html" & crlf & crlf put "You are on my iBook! @ bvg.kicks-ass.org" into tBuffer -- use a buffer (may help) repeat with x = the number of cards down to 1 go to card x put "

date:
" & field "date" after tBuffer put "
name:
" & field "name" after tBuffer put "
text:
" & field "entry" & "


" after tBuffer end repeat put "" after tBuffer save stack "guestbook" put tBuffer quit -- just quit instead of closing the stack end startup If it were me I'd use customPropertySets: uNames = the name field uEntries = the entry field uDates = the date field The script would be like this: on startUp put the customProperties["uDates"] of stack "guestbook" into tDatesA put the customProperties["uNames"] of stack "guestbook" into tNamesA put the customProperties["uEntries"] of stack "guestbook" into tEntriesA put the number of lines of keys(tDatesA) into tNumEntries read from stdin until empty if it <> empty then put urldecode(it) into data split data by "&" and "=" add 1 to tNumEntries put the short internet date into tDatesA[tNumEntries] put data["name"] into tNamesA[tNumEntries] put replaceText(data["text"],cr,"
") into tEntriesA[tNumEntries] set the customProperties["uDates"] of stack "guestbook" to tDatesA set the customProperties["uNames"] of stack "guestbook" to tNamesA set the customProperties["uEntries"] of stack "guestbook" to tEntriesA save stack "guestbook" end if put "Content-Type: text/html" & crlf & crlf put "You are on my iBook! @ bvg.kicks-ass.org" into tBuffer repeat with x = tNumEntries down to 1 put "

date:
" & tDatesA[x] after tBuffer put "
name:
" & tNamesA[x] after tBuffer put "
text:
" & tEntriesA[x] & "


" after tBuffer end repeat put "" after tBuffer put tBuffer end startUp Cheers Monte From bvg at mac.com Wed Sep 10 20:43:15 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed Sep 10 20:43:15 2003 Subject: cgi-engine does not run In-Reply-To: <169D86F2-E3F6-11D7-929D-000393529642@mindlube.com> Message-ID: <60150C1A-E3F8-11D7-8DE1-003065AD94A4@mac.com> On Donnerstag, Sept 11, 2003, at 03:20 Europe/Zurich, Alex Rice wrote: > ... >> there is no error as the script executes just fine, beside the save >> not doing anything. > > Just to clarify: You were getting a Server Error (error 500) then you > positively should be able find out more information about the Server > Error by looking in error_log. yes I probably got some errors in the old log, but this package i installed uses different, new (better!) locations of its logs inside of "library/Apache2/" > Yes the second line in your startup handler is "read from stdin until > empty". When executed from the command-line, the script is just > waiting for stdin. ctrl-c interrupts the script. pressing ctrl-D > instead would send an EOF to stdin, and the script and it would > interpret that as stdin is read in, and continue executing. (I think) > - I haven't tried it. ah yes I get the rest of the output into the terminal when pressing ctrl-D, very useful... but it still does not save :( From alex at mindlube.com Wed Sep 10 20:43:29 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 10 20:43:29 2003 Subject: cgi-engine does not run In-Reply-To: Message-ID: <830B08F4-E3F8-11D7-929D-000393529642@mindlube.com> On Wednesday, September 10, 2003, at 06:31 PM, Richard Gaskin wrote: > I've had some issues with my Linux hosting company when they tried to > update > the server. They don't offer Telnet for security reasons, Just curious: Usually when an provider yanks telnet support (a wise choice) they offer SSH (secure shell) instead. Does your hosting company offer that? The ssh client is included with OS X. > However, > when attempting to execute the mc cgi, an error > message is generated. This is "invalid magic number". I am guessing the file was corrupted in transit, or they have binary for another OS or architecture. In UNIX, file types are not determined by the file system or the kernel, so the first few bytes of a file may contain a "magic number" designating it's file type. For shell scripts, the familiar idiom on the first line #! is the magic number telling the OS it's a shell script. For executables, the magic number is system dependent. There are many others but #! is the only one I've ever needed to remember. In order for your CGI to launch, the script and the engine both have to start with the correct "magic number". Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Wed Sep 10 21:22:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 10 21:22:01 2003 Subject: Chunk Expressions (see if my solutions is bad) In-Reply-To: <4186F0CD-E33C-11D7-8CE1-00039387AE90@mac.com> Message-ID: <006c01c3780a$99f34950$6501a8c0@LightningFlash> How about using urlEncode()? That will strip out special characters and turn it into a single parameter that you can urlDecode to get back the original string... 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 > Andre Garzia > Sent: Tuesday, September 09, 2003 10:10 PM > To: use-revolution at lists.runrev.com > Subject: Chunk Expressions (see if my solutions is bad) > > > Hi Folks, > > In the quest of finding some way to store an arbitary number of > parameters for my XML-RPC Stack I decided to use Chunk Expressions. I > decided to store each parameter as a line. I have a function that > accept two paramenters pType which is the type of the parameter > (string, boolean, integer...) and the other is the pParam which holds > the actual value. My function assemble them in the format > value so that become easy to assemble the XML > Later, just > pull the lines of gParam and loop. The first bug I thought I > might have > was the fact that the paramenters could have linefeeds inside them > breaking my sweet poor man system. So I decide do Base64 Encode them > just to take thoose linefeeds out. But I think Base64 wraps > at 72 chars > so this return-character-apearing-where-I-do-not-want-problem still > possible. Should I change lineDelimiter? Should I store as item? Any > advise? > > 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 > From curry at pair.com Wed Sep 10 22:38:00 2003 From: curry at pair.com (curry) Date: Wed Sep 10 22:38:00 2003 Subject: ANN: Punctuation Invaders Beta In-Reply-To: <200309102338.TAA08799@www.runrev.com> References: <200309102338.TAA08799@www.runrev.com> Message-ID: This is a beta of my first software release with Rev. It is an arcade educational game for punctuation and capitalization, and is proof that Rev can handle game action, multi-channel sound with continuous background music, arcade-style interface, etc. Also uses textShift for animation. :-) Features invading alien sentences that shoot at you and beam up the people you're protecting unless you correctly punctuate them with your laser. Requires 800x600 or larger screen resolution. OS X: http://pair.com/curry/PuncInv01X.sit.hqx Mac Classic: http://pair.com/curry/PuncInv01Mac.sit.hqx Windows version will be a bit later. Known issues: the application icons may or may not be showing up--I gave them to the Distribution Builder but not sure if they made it into the final result. Thanks, Curry From bvlahos at mac.com Wed Sep 10 23:26:01 2003 From: bvlahos at mac.com (Bill Vlahos) Date: Wed Sep 10 23:26:01 2003 Subject: Chunk Expressions (see if my solutions is bad) In-Reply-To: Message-ID: <31CEB944-E40F-11D7-A369-003065EC5590@mac.com> Rev on OS X displays a character for ASCII 11 that looks like a curved arrow. ASCII 29 doesn't display any character in a field (I tried several fonts) and seems to work OK as an invisible delimiter. The definition is "group separator" according to the ASCII definition (http://www.asciitable.com/). Does anyone see a problem using ASCII 29? I can't imagine what it would be used for these days. Bill Vlahos On Wednesday, September 10, 2003, at 04:31 PM, Richard Gaskin wrote: > Sarah wrote: > >> I have encountered the same problem so I just replace all returns with >> some unusual character before storing, and then put them back when >> retrieving the data. > > FWIW, I've standardized on ASCII 11 for cr-in-data placeholders, if > only > because that's the character FileMaker Prouses for exports. I could > have > used any uncommon character, but they have a million users so they > won. ;) > Also, ASCII 11 is "vertical tab", so it's at least conceptually > related and > not likely to be used for some other purpose (as opposed to ASCII 4 > "end of > text" for example). > > -- > 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 Wed Sep 10 23:58:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Sep 10 23:58:01 2003 Subject: ANN: Punctuation Invaders Beta In-Reply-To: Message-ID: Recently, curry wrote: > This is a beta of my first software release with Rev. It is an arcade > educational game for punctuation and capitalization, and is proof > that Rev can handle game action, multi-channel sound with continuous > background music, arcade-style interface, etc. Admittedly relatively captivating for adults. :-) Nice work. Speaking as nitpicky someone who has an itchy trigger finger from years of arcade games, I would say the firing system feels a bit sluggish. Perhaps this is intentional (and perhaps I'm just old) but the delay between shots caused a minor bit of frustration when trying to hit the correct location, or correct my mistakes. Also, it wasn't obvious (but perhaps it was in the instructions) that the left and right firing buttons had different effects on the words -- maybe it would be useful to colorize the laser differently for each type of shot so folks like me who ignore directions could "learn by doing". Nice use of MIDI files -- cuts down on the file download. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From dsc at swcp.com Thu Sep 11 00:27:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 11 00:27:01 2003 Subject: Get picture of a card without showing it? Message-ID: Is there a way to effectively take a snapshot of a card without it being visible? The visual effects stretch and shrink seem to be able to do that, but, so far, it is beyond me. I've been able to minimize the time at that card, but the card still flashes. Dar Scott From kray at sonsothunder.com Thu Sep 11 00:49:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 11 00:49:01 2003 Subject: Get picture of a card without showing it? In-Reply-To: Message-ID: <009401c37827$7d7170f0$6501a8c0@LightningFlash> Take a look at this tip: http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag007 See if it helps, 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 Dar Scott > Sent: Thursday, September 11, 2003 12:21 AM > To: use-revolution at lists.runrev.com > Subject: Get picture of a card without showing it? > > > Is there a way to effectively take a snapshot of a card without it > being visible? The visual effects stretch and shrink seem to be able > to do that, but, so far, it is beyond me. I've been able to minimize > the time at that card, but the card still flashes. > > 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 Sep 11 01:22:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 11 01:22:00 2003 Subject: Get picture of a card without showing it? In-Reply-To: <009401c37827$7d7170f0$6501a8c0@LightningFlash> Message-ID: <6EEE281D-E41F-11D7-98C2-000A9567A3E6@swcp.com> On Wednesday, September 10, 2003, at 11:42 PM, Ken Ray wrote: > Take a look at this tip: > > http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag007 > > See if it helps, Thanks! I was fiddling with those properties, since I asked the question, so it looks like I was on the right track. Dar Scott From rolfk at vetvir.unizh.ch Thu Sep 11 02:53:00 2003 From: rolfk at vetvir.unizh.ch (Rolf Kocherhans) Date: Thu Sep 11 02:53:00 2003 Subject: Printing OS X Buttons ? Message-ID: <3795D978-E42C-11D7-800F-003065EEE22E@vetvir.unizh.ch> Why is it, that when I print a card containing Buttons (under OSX) these buttons are not printed, only the text on the buttons ? I would like to have a card printed the way it looks on screen, is it possible ? Cheers Rolf From rolfk at vetvir.unizh.ch Thu Sep 11 02:58:01 2003 From: rolfk at vetvir.unizh.ch (Rolf Kocherhans) Date: Thu Sep 11 02:58:01 2003 Subject: Stack script problem Message-ID: I made a stack script which would delete the contents of a field in a substack which I open as sheet. The script goes like this and is in the main stack: on openStack put empty into field "fldLog" of stack "Log" end openStack Now, my field gets emptied every time I open the Stack "Log" as sheet, but I would expect that it is emptied only at startup, when the main stack gets loaded. Any clues ? Cheers Rolf From janschenkel at yahoo.com Thu Sep 11 03:12:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 11 03:12:00 2003 Subject: Printing OS X Buttons ? In-Reply-To: <3795D978-E42C-11D7-800F-003065EEE22E@vetvir.unizh.ch> Message-ID: <20030911080645.44629.qmail@web11901.mail.yahoo.com> --- Rolf Kocherhans wrote: > Why is it, that when I print a card containing > Buttons (under OSX) > these buttons > are not printed, only the text on the buttons ? > > I would like to have a card printed the way it looks > on screen, is it > possible ? > > Cheers > Rolf > Hi Rolf, Just a quick copy+paste from the "Limitations and Known Issues" section in the "What's new.txt" file in the Revolution folder: -- Issue: On Mac OS and OS X systems, certain controls (scrollbars, standard buttons, radio buttons, checkboxes, option menus) may not print properly if the "lookAndFeel" property is set to "Appearance Manager". Workaround: During printing, replace each affected control with an image of the control. (You can create the image automatically in a handler using the "import snapshot" command.) When printing is complete, delete the images. If the exact appearance of these controls is not critical, you can instead change the "lookAndFeel" to "Macintosh" during printing, then change it back. -- 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 Sep 11 03:16:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 11 03:16:00 2003 Subject: Stack script problem In-Reply-To: Message-ID: <20030911081025.92479.qmail@web11905.mail.yahoo.com> --- Rolf Kocherhans wrote: > I made a stack script which would delete the > contents of a field in a > substack > which I open as sheet. > > The script goes like this and is in the main stack: > > on openStack > put empty into field "fldLog" of stack "Log" > end openStack > > Now, my field gets emptied every time I open the > Stack "Log" as sheet, > but I would expect that it is emptied only at > startup, when the main > stack gets loaded. > > Any clues ? > > Cheers > Rolf > Hi Rolf, When a stack is opened as a sheet, the engine sends an 'openStack' message ; if you don't handle it at card or stack levcel in your syubstack, this message will travel up the message path, comes by the mainStack and executes the 'openStack' handler in its script. So one way of solving this problem would be to simply trap the 'openStack' message in the stack script of your substack, and not 'pass' 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 curry at pair.com Thu Sep 11 04:19:02 2003 From: curry at pair.com (curry) Date: Thu Sep 11 04:19:02 2003 Subject: ANN: Punctuation Invaders Beta In-Reply-To: <200309110430.AAA16304@www.runrev.com> References: <200309110430.AAA16304@www.runrev.com> Message-ID: Scott Rossi wrote: >Speaking as nitpicky someone who has an itchy trigger finger from years of >arcade games, I would say the firing system feels a bit sluggish. Perhaps >this is intentional (and perhaps I'm just old) but the delay between shots >caused a minor bit of frustration when trying to hit the correct location, >or correct my mistakes. That is intentional--to require careful shooting and prevent strafing. Good point, maybe I should consider feedback on the delay or at least noting it in the directions. >Also, it wasn't obvious (but perhaps it was in the instructions) that the >left and right firing buttons had different effects on the words -- maybe it >would be useful to colorize the laser differently for each type of shot so >folks like me who ignore directions could "learn by doing". It's in the directions (and training hints) but also a very good point, I'll consider doing something to make the direction indicator more obvious. (Currently a blue triangle beside the beam, and only shown when pressing one fire button has a different effect than the other.) Thanks for trying it and for the good observations! Best wishes, Curry From ttasovac at princeton.edu Thu Sep 11 04:26:05 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Thu Sep 11 04:26:05 2003 Subject: multiple-word phrases, links Message-ID: <314346F1-E439-11D7-8ABB-000393D60E0C@princeton.edu> Hi there. I have a list containing various multiple-word phrases and I want Revolution to find those phrases in a text field and turn them into links (the whole phrase, not individual words). What's the best way of doing this? I can use wordOffset for each individual word in the phrase and then make sure that the offsets are next to each other in the text, but that sounds horrible. There has to be a better way. Helplessly yours, Toma From k.r.hauge at east.uio.no Thu Sep 11 04:38:00 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Thu Sep 11 04:38:00 2003 Subject: multiple-word phrases, links In-Reply-To: <314346F1-E439-11D7-8ABB-000393D60E0C@princeton.edu> References: <314346F1-E439-11D7-8ABB-000393D60E0C@princeton.edu> Message-ID: >Hi there. > >I have a list containing various multiple-word phrases and I want >Revolution to find those phrases in a text field and turn them into >links (the whole phrase, not individual words). What's the best way >of doing this? I can use wordOffset for each individual word in the >phrase and then make sure that the offsets are next to each other in >the text, but that sounds horrible. There has to be a better way. > How about foundChunk? Quoting from the dodumentation: Use the foundChunk function after a find command to determine where the text was found. Value: The foundChunk function returns a chunk expression of the form char startChar to endChar of field fieldNumber. -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From FlexibleLearning at aol.com Thu Sep 11 04:43:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu Sep 11 04:43:00 2003 Subject: URL-based updates [was: Deep Space] Message-ID: <58504C81.0116560E.DC67E5C7@aol.com> Once David and Wouter have established an agreed version for Mac and PC, perhaps you would post it to a website? I am well and truly lost trying to keep up with the 'correct' version! Which makes me ponder how to manage such 'shared' codes and any interim updates... Would it be useful to have The Scripters Scrapbook be able to handle live updates from a given web url? As changes are posted, your Scrapbook could then keep itself up to date simply by clicking an 'update me' button. Or would this be a proliferation of an existing solution? Comments and feedback would be appreciated. RR version: www.flexibleLearning.com/xtalk/scriptersscrapbook/ScriptersScrapBook RR v3.0b6.zip MC version: www.flexibleLearning.com/xtalk/scriptersscrapbook/ScriptersScrapBook MC v3.0b6.zip /H From richmond at mail.maclaunch.com Thu Sep 11 04:48:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Sep 11 04:48:01 2003 Subject: L-Shaped revtools stack Message-ID: Dear RunRev afficionados, I have just uploaded to my website a total remake of my revtools hacked stack:it allows certain elements of the RR GUI to be (temporarily) modified on the fly, as well as containing a clock. I totally 'lost control' (who, Richmond? surely not!) and worked through the night to bring you this 'little horror' so please make sure you backup your normal revtools stack before you try this one out. I would be grateful for 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 richmond at mail.maclaunch.com Thu Sep 11 06:05:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Sep 11 06:05:01 2003 Subject: New Stacks: careful with if/else statements Message-ID: Thank you Ken Ray; extremely helpful point - I have now inserted your scripts into both my SYSTEM INFO stack and my new L-SHAPED REVTOOLS: Let's hope that (only this time!) Klaus Major's suspicions about your computer were wrong......by the way I have a Mac Performa 430 with a 12 MHz (???) processor if you feel the urge to upgrade (will let you have it for the price of the shipping)....oops, time to smack my hand! Thanks again, 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 alptex2 at orwell.net Thu Sep 11 07:12:01 2003 From: alptex2 at orwell.net (T. R. Ponn) Date: Thu Sep 11 07:12:01 2003 Subject: problems decompressing files References: <673C57C0-E3F5-11D7-98C2-000A9567A3E6@swcp.com> Message-ID: <3F606532.9060603@orwell.net> Holy cow! 13 bytes in a row? The...my idea on this are somewhere between dumb and dumber! I would think encountering 13 identical and contiguous bytes would be a very common occurrence. Best Regards, Tim Ponn...the guy who thought turning 1 file into 1,000,000 files was a good approach. :-[ Dar Scott wrote: > > On Wednesday, September 10, 2003, at 05:47 PM, T. R. Ponn wrote: > >> While waiting for the real fix, how about some experiments to find >> out what the limit is...let's just say here that it's 64KB...then >> break your files up into pieces. After decompressing, reassemble them? >> >> It ain't pretty, but maybe it'll patch you for now. > > > I think the bug report shows an example of length 13. I think I was > able to create a pattern of just length 11 that failed, but my memory > is not to be trusted. > > Dar > Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jimlyons at earthlink.net Thu Sep 11 07:36:01 2003 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu Sep 11 07:36:01 2003 Subject: How to change cards without go... Message-ID: <3F606BD7.8AD9C1CE@earthlink.net> The user is working in one window with a list of cards and controls. Another window, showing off to the side, is the one with the cards listed. I would like clicking on a card in the list to select that card in the other window without bringing that window to the front. I can think of some brute force ways to accomplish this, but I haven't found any "smooth" way of doing it. Is there (yet another) cool Rev command I am missing that does this? Thanks. Jim Lyons From ccondit at geo.umass.edu Thu Sep 11 07:36:15 2003 From: ccondit at geo.umass.edu (Chris Condit) Date: Thu Sep 11 07:36:15 2003 Subject: 'grabber' icon Message-ID: Hi Revolutionaries: Does anyone have an icon for a 'grabber'tool - essentially an closed hand used for dragging the scroll of a stack? I don't see one in the standard metacard or revolution icons, and need one to show the user that when they depress the command (or control key) the group will scroll. And how does one make such icons? If I make a bitmapped (gif) icon, the background is always showing, and I would like to have the tool show without a background. TIA -- Dr. Christopher D. Condit, Associate Prof., Dept. of Geosciences Univ. Massachusetts, 611 North Pleasant St., Amherst, MA, 01003-9297 ccondit at geo.umass.edu 413-545-0272 My Web Page: http://www.geo.umass.edu/faculty/condit.htm Revolution/MetaCard Dynamic Digital Maps: http://ddm.geo.umass.edu From jimlyons at earthlink.net Thu Sep 11 07:42:00 2003 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu Sep 11 07:42:00 2003 Subject: Drag-and-drop ghost Message-ID: <3F606D52.155FBE21@earthlink.net> I am trying to use drag-and-drop in a Rev app, both within one stack window, and from one stack window to another. I noticed in Klaus' demo stack that when you drag from, say, the Finder, a ghost of the drag content in some form comes along with you. In Rev, a little dotted box around the arrow shows there is something there. Is there any built-in way of setting this ghost to some text or image, or do you have to make an object and drag that around with the cursor? Thanks. Jim Lyons From yoy at comcast.net Thu Sep 11 08:09:00 2003 From: yoy at comcast.net (yoy) Date: Thu Sep 11 08:09:00 2003 Subject: Help with analog clock with text images as hour and minute arms. Message-ID: <000701c37864$f6915c10$b2ea5144@fatal7lcf637rj> My new project is an analog clock but instead of using circle arcs, I want to use text as the hour and minute arms. The problem I'm running into is the text rotates around it's midpoint. Is there a way to rotate the text's x,y point that represent the left,"mid-Y" of the textheight around the clock's centerpoint or around the tangent points on a circle??? I tried creating a line (polygon) and grouping the text image to that but that didn't work. Would it be best to create each "step" of each arm in Photoshop and show each in succession as time goes by??? Any thoughts? Thanks, Andy Burns From dalesvp at qwest.net Thu Sep 11 08:20:01 2003 From: dalesvp at qwest.net (Dale Pond) Date: Thu Sep 11 08:20:01 2003 Subject: Help with analog clock with text images as hour and minute arms. References: <000701c37864$f6915c10$b2ea5144@fatal7lcf637rj> Message-ID: <3F60765A.1060300@qwest.net> yoy wrote: >My new project is an analog clock but instead of using circle arcs, I want >to use text as the hour and minute arms. > >The problem I'm running into is the text rotates around it's midpoint. Is >there a way to rotate the text's x,y point that represent the left,"mid-Y" >of the textheight around the clock's centerpoint or around the tangent >points on a circle??? > > > Type as many [Option]SPACE(s) before the text as there are letters in the text? -- 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 Revinfo1155 at aol.com Thu Sep 11 08:57:00 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Thu Sep 11 08:57:00 2003 Subject: New Stacks: careful with if/else statements Message-ID: <43.21ec7714.2c91d7b0@aol.com> Richard I like your system info stack is it possible to add hard drive space and amount of memory and processor speed etc? jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From revlist at cableone.net Thu Sep 11 09:23:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu Sep 11 09:23:00 2003 Subject: multiple-word phrases, links In-Reply-To: <314346F1-E439-11D7-8ABB-000393D60E0C@princeton.edu> Message-ID: <000201c3786f$6fd66390$65fea8c0@chris1> Toma, Here's a bit of code I use to do just that. repeat for each line tPhrase in thePhrases] if matchChunk(fld "MyText", "(" & tPhrase & ")", tStartChar, tEndChar) then set the textStyle of char tStartChar to tEndChar of fld "MyText" to link end if end repeat Of course, you only have to use the repeat if you have multiple phrases. The matchChunk function returns a Boolean true or false if the text is found. The parentheses are necessary to match a patter of multiple words. The beginning and ending characters are stored in whatever variables you specify, in this case tStartChar and tEndChar. So then you just use those in a chunk expression to set your link. Hope that helps. 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 Toma Tasovac Sent: Thursday, September 11, 2003 3:21 AM To: use-revolution at lists.runrev.com Subject: multiple-word phrases, links Hi there. I have a list containing various multiple-word phrases and I want Revolution to find those phrases in a text field and turn them into links (the whole phrase, not individual words). What's the best way of doing this? I can use wordOffset for each individual word in the phrase and then make sure that the offsets are next to each other in the text, but that sounds horrible. There has to be a better way. Helplessly yours, Toma _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From alex at harryscollar.com Thu Sep 11 09:28:01 2003 From: alex at harryscollar.com (Alex Shaw) Date: Thu Sep 11 09:28:01 2003 Subject: Icons and scope In-Reply-To: <200309102338.TAA08799@www.runrev.com> Message-ID: <5.2.1.1.0.20030912001636.03bf7008@pop-server.bigpond.net.au> At 07:38 PM 10/09/2003 -0400, you wrote: >Actually, Graham, the image needs to have a unique ID vs. a unique name >(AFAIK). So if you say: > > set the icon of btn "myButton" to (the id of img "ImageForIcon" of cd >"MyIcons" of stack "myStuff") > >it should work so long as the ID number is unique. > >Ken Ray What if you only have the id number of an object? I tried using 'owner' but i could not use the returned reference. Basically, how do you read the data from a field on another card with only the field's ID number? regards alex From rcozens at pon.net Thu Sep 11 09:38:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 11 09:38:01 2003 Subject: problems decompressing files In-Reply-To: <3F606532.9060603@orwell.net> References: <673C57C0-E3F5-11D7-98C2-000A9567A3E6@swcp.com> <3F606532.9060603@orwell.net> Message-ID: >I would think encountering 13 identical and contiguous bytes would >be a very common occurrence I think that would depend on the type of data being compressed, Tom...I believe the original file in question is a .wav. As I noted yesterday 20+MB of ASCII text apparently has no such contiguous identical byte string issues. -- 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 Thu Sep 11 09:38:15 2003 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 11 09:38:15 2003 Subject: Help with analog clock with text images as hour and minute arms. In-Reply-To: <000701c37864$f6915c10$b2ea5144@fatal7lcf637rj> References: <000701c37864$f6915c10$b2ea5144@fatal7lcf637rj> Message-ID: >Would it be best to create each "step" of each arm in Photoshop and show >each in succession as time goes by??? Hi Andy, That's basically what Serendipity Library's ClickClock does...except the hands are hands instead of numbers. If you go this route, it makes sense to me to make the images .gif files and consolidate them in an animated gif. -- 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 Thu Sep 11 09:38:30 2003 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 11 09:38:30 2003 Subject: How to change cards without go... In-Reply-To: <3F606BD7.8AD9C1CE@earthlink.net> References: <3F606BD7.8AD9C1CE@earthlink.net> Message-ID: >I would like clicking on a card in the list to select that card >in the other window without bringing that window to the front. I can >think of some brute force ways to accomplish this, but I haven't found >any "smooth" way of doing it. Is there (yet another) cool Rev command I >am missing that does this? Nope, Jim: no cool new commands; but simply a twist on an old one-- Example: instead of lock screen lock messages push card got to stack "database.rev" put newValue into field "A" get field "B" pop card unlock messages unlock screen use put newValue into field "A" of card 1 of stack "Server/Drive/Folder/database.rev" get field "B" of card 1 of stack "Server/Drive/Folder/database.rev" The limitation here is one still has to go to the stack to add & delete cards; -- 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 psahores at easynet.fr Thu Sep 11 10:09:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Thu Sep 11 10:09:01 2003 Subject: Stack script problem In-Reply-To: References: Message-ID: <1063292563.3039.6.camel@www.kmax.ici> Le jeu 11/09/2003 ? 09:52, Rolf Kocherhans a ?crit : > I made a stack script which would delete the contents of a field in a > substack > which I open as sheet. > > The script goes like this and is in the main stack: > > on openStack > put empty into field "fldLog" of stack "Log" > end openStack > > Now, my field gets emptied every time I open the Stack "Log" as sheet, > but I would expect that it is emptied only at startup, when the main > stack gets loaded. > > Any clues ? Did you try to put, at least, > on openStack > pass openStack > end openStack handler in the substack "Log" Regards, Pierre > > Cheers > Rolf > > _______________________________________________ > 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 Sep 11 10:40:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Sep 11 10:40:00 2003 Subject: Vertical & Horizontal revtools hacks Message-ID: Dear RunRev Afficionados, I have just uploaded updates to my RR revtool hacks. Unfortunately the vertical variant got fatter (wider) to accommodate all the widgets and small window sizes: if you feel a desperate need for a 'long and thin' one contact me off list and I will knock one up (although most RR programmers can presumably do a quick stack resize and shuffle a few buttons around by now). 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 martin at harbourtown.co.uk Thu Sep 11 10:53:01 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Thu Sep 11 10:53:01 2003 Subject: Help with analog clock with text images as hour and minute arms. In-Reply-To: <200309111222.IAA26553@www.runrev.com> Message-ID: Hi Andy, FWIW, When I did this some years ago, I made 2 custom fonts for it, however I didn't bother roatating anything but simply made 12 hour hands, 60 minute hands and 60 second hands (plus one clock face) as individual characters. This seemed good enough for my purpose at the time. One font was "modern" and the other "antique" The fonts were essentially monospaced, so there were no problems aligning characters on top of one another. A script changed the time display using numtochar(). The "antique ornate" version was a gas, especially in italic !! I should still have them somewhere if you want to have a look at them (they were in mac TT format). Martin Baxter > >My new project is an analog clock but instead of using circle arcs, I want >to use text as the hour and minute arms. > >The problem I'm running into is the text rotates around it's midpoint. Is >there a way to rotate the text's x,y point that represent the left,"mid-Y" >of the textheight around the clock's centerpoint or around the tangent >points on a circle??? > >I tried creating a line (polygon) and grouping the text image to that but >that didn't work. > >Would it be best to create each "step" of each arm in Photoshop and show >each in succession as time goes by??? > >Any thoughts? > >Thanks, > >Andy Burns From kray at sonsothunder.com Thu Sep 11 11:32:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 11 11:32:00 2003 Subject: Icons and scope In-Reply-To: <5.2.1.1.0.20030912001636.03bf7008@pop-server.bigpond.net.au> Message-ID: <00e101c37881$5f3c2f80$6501a8c0@LightningFlash> > I tried using 'owner' but i could not use the returned reference. > > Basically, how do you read the data from a field on another > card with only > the field's ID number? Get the "long id" of the field and us it. "owner" returns effectively the "name" of the owner of the object, and "long owner" returns the "long name". Personally, I'd use "long id"... is is always unique. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Sep 11 11:34:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 11 11:34:00 2003 Subject: multiple-word phrases, links In-Reply-To: <000201c3786f$6fd66390$65fea8c0@chris1> Message-ID: <00e201c37881$b0107a10$6501a8c0@LightningFlash> > Here's a bit of code I use to do just that. > > repeat for each line tPhrase in thePhrases] > if matchChunk(fld "MyText", "(" & tPhrase & ")", > tStartChar, tEndChar) then > set the textStyle of char tStartChar to tEndChar of fld > "MyText" to link > end if > end repeat Good suggestion, Chris. Just don't forget, Toma, to declare the variables "tStartChar" and "tEndChar" as locals before you enter your repeat loop. Otherwise you won't get anything back in those variables. i.e. local tStartChar,tEndChar repeat for each... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > > Of course, you only have to use the repeat if you have > multiple phrases. The matchChunk function returns a Boolean > true or false if the text is found. The parentheses are > necessary to match a patter of multiple words. The beginning > and ending characters are stored in whatever variables you > specify, in this case tStartChar and tEndChar. So then you > just use those in a chunk expression to set your link. > > Hope that helps. > > 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 > Toma Tasovac > Sent: Thursday, September 11, 2003 3:21 AM > To: use-revolution at lists.runrev.com > Subject: multiple-word phrases, links > > Hi there. > > I have a list containing various multiple-word phrases and I want > Revolution to find those phrases in a text field and turn them into > links (the whole phrase, not individual words). What's the > best way of > doing this? I can use wordOffset for each individual word in the > phrase and then make sure that the offsets are next to each other in > the text, but that sounds horrible. There has to be a better way. > > Helplessly yours, > > Toma > > _______________________________________________ > 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 ttasovac at princeton.edu Thu Sep 11 11:47:00 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Thu Sep 11 11:47:00 2003 Subject: Unicode matchChunk (was multiple-word phrases, links) Message-ID: <84112D69-E476-11D7-8ABB-000393D60E0C@princeton.edu> Thanks to Kjeti, Chris and Ken. Chris, your script works great with English, but I can't get it to work with Unicode text. I tried to unidecode both the text field and thePhrases and thus deal with two one-byte chars per one Unicode two-byte character, preform the matchChunk function with one-byte chars, and then use the startChars and endChars in the unicode field, but the results are weirdly off. I don't know if this is a bug or if I am doing something wrong. Has anybody successfully used matchChunk with Unicode text? Any hints would be greatly appreciated. All best, Toma Am Donnerstag, 11.09.03 um 16:17 Uhr schrieb Chris Sheffield: > Toma, > > Here's a bit of code I use to do just that. > > repeat for each line tPhrase in thePhrases] > if matchChunk(fld "MyText", "(" & tPhrase & ")", tStartChar, > tEndChar) > then > set the textStyle of char tStartChar to tEndChar of fld "MyText" > to > link > end if > end repeat From themacguy at macosx.com Thu Sep 11 12:55:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Sep 11 12:55:00 2003 Subject: OSX Modality test - 9/11/03 Message-ID: <3C055DA2-E480-11D7-A676-000A95763ABC@macosx.com> Using v2.1 of both the OSX and Windows version of Rev, I created a stack with three buttons. These bring up the following allegedly modal dialogs: 1. Answer 2. Ask 3. open stack "myStack" as modal Then I compiled an OSX app on both OSX and Windows(XP) and tested them both on my Mac. In the case of the "answer" dialog, selecting Quit (it is not disabled) does nothing. This is the expected result. In the case of the "ask" dialog" selecting Quit calls the shutDownRequest handler in the stack script. If approved, the app will quit (in the middle of the modal dialog). In the case of the "open stack...as modal" dialog, the same result as the "ask" dialog happens. The results seems to be the same whether compiling in OSX or WindowsXP. Now the workaround. In the shutDownRequest handler try this: on shutDownRequest global cantQuit if cantQuit is "true" then exit shutDownRequest answer "Are you sure you want to quit?" with "Quit" or "Cancel" if it is "Quit" then pass shutDownRequest end shutDownRequest ---- In the button handler that brings up either the "ask" dialog or the "open stack...as modal" dialog, try this: on mouseUp global cantQuit put "true" into cantQuit -- (your "ask" or "open stack...as modal" command goes here) put empty into cantQuit end mouseUp ---- Probably can do all of this as a custom stack property instead of the global variable. Of course, if Rev would simply disable the Quit menu item when it is supposed to do so (in a modal situation), I wouldn't have to kludge this together. This solution (either global var or stack property) will still work when Rev gets around to fixing this problem so you won't -have- to excise the code in order to keep the app working if you recompile. If you'd like my stacks (8K in total), drop me a note and I'll eMail them to you. Regards, Barry From dsc at swcp.com Thu Sep 11 12:58:06 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 11 12:58:06 2003 Subject: Dynamically calculating the image for windowShape Message-ID: Is there a way I can calculate the image for windowShape on the fly. It is set by image ID. Will it follow that image? Can I control this by setting the alphaData on that image? Dar Scott From tuviah at runrev.com Thu Sep 11 13:00:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 11 13:00:01 2003 Subject: Unicode matchChunk (was multiple-word phrases, links) References: <200309111601.MAA32690@www.runrev.com> Message-ID: <004201c3788d$d6a70de0$afbe040a@user> >Chris, your script works great with English, but I can't get it to work >with Unicode text. Maybe try UTF8ing the text first before sending to the matchChunk function. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From themacguy at macosx.com Thu Sep 11 13:00:15 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Sep 11 13:00:15 2003 Subject: Metal & Menubar Message-ID: <0D1761DC-E481-11D7-A676-000A95763ABC@macosx.com> I may have found another bug in the OSX 2.1 Rev build. When I create a stack and give it the "Metal" appearance, whatever menubar I've defined for it (and checked "Set as menubar on MacOS") appears in the stack window (like for Windows) at the moment I check the "Metal" checkbox in the stack properties. I open Menu Builder and find that the checkbox (for Macos menubar) is still check. I uncheck it and then check it again and the menubar disappears from the stack window. I save everything and compile. Result: The menubar is in the stack window. Seems I have to uncheck the "Metal" appearance in order to lose the menubar in the window. Too bad. Personally, I love Metal. Is this an unreported bug? Thanks, Barry From themacguy at macosx.com Thu Sep 11 13:09:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Sep 11 13:09:01 2003 Subject: Metal & Menubar Message-ID: <2EEB4520-E482-11D7-A676-000A95763ABC@macosx.com> Whew! The problem is a cosmetic issue. The increase in window height is there along with the appearance of the File, Edit, Help menus. However, they are not really "there" and can't be activated. Also, the other objects in the window are really shifted up (but initially appear shifted down due to the "fake" menubar). Click around where the buttons should be and they will appear in their proper locations leaving an underlying "residue"(?) of where they appeared when the stack opened. Barry > I may have found another bug in the OSX 2.1 Rev build. > > When I create a stack and give it the "Metal" appearance, whatever > menubar I've defined for it (and checked "Set as menubar on MacOS") > appears in the stack window (like for Windows) at the moment I check > the "Metal" checkbox in the stack properties. I open Menu Builder and > find that the checkbox (for Macos menubar) is still check. I uncheck > it and then check it again and the menubar disappears from the stack > window. I save everything and compile. Result: The menubar is in the > stack window. Seems I have to uncheck the "Metal" appearance in order > to lose the menubar in the window. > > Too bad. Personally, I love Metal. Is this an unreported bug? From RobertEppich at epsi.bc.ca Thu Sep 11 13:31:00 2003 From: RobertEppich at epsi.bc.ca (Robert Eppich) Date: Thu Sep 11 13:31:00 2003 Subject: problems decompressing files In-Reply-To: <200309111601.MAA32619@www.runrev.com> Message-ID: <5255F854-E485-11D7-8ED8-0030653FA11C@epsi.bc.ca> > I would think encountering 13 identical and contiguous bytes would > be a very common occurrence > I think that would depend on the type of data being compressed, > Tom...I believe the original file in question is a .wav. > > As I noted yesterday 20+MB of ASCII text apparently has no such > contiguous identical byte string issues. However, if the file was a tab delimited spreadsheet file with 13 or more columns and 1 line was completely empty (a common occurrence ), so that there where 13 tab characters in a row, decompress would fail. Also, if the file was compressed by some other program, lets say a vendor's price list, RR 2.X on Mac OSX would have a good chance of running into this problem and failing. I have not tried to create a 20MB file of ascii text. My largest was about 5 MB, but If you (Rob) would be willing to try adding a record where one field has 13 "X"'s in a row and then Compress and Decompress it, I'm pretty sure that you will get the decompress error as well. Robert Eppich epsi computer systems, inc. From revlist at cableone.net Thu Sep 11 14:12:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu Sep 11 14:12:00 2003 Subject: Valentina on Mac OS 9 Message-ID: <001901c37897$d4083b90$65fea8c0@chris1> Is anyone using this successfully? I know this is kind of duplicated, but no one has responded and I'm running out of things to try. I open the VXCMD and my stack in ResEdit. I copy the resources from the VXCMD to my stack, then save my stack and close it. Then I open my stack in Rev and get an error message saying "Error in function handler" with "Hint: Valentina". So something is not connecting right. Is there something else that needs to be done? The Valentina docs say to copy the CODE resource to the stack and place the shared library in the Rev folder or in the Extensions folder. But there is no CODE resource file, only the VXCMD. Are they the same thing? If so, why is it referring to two different files? Maybe I just need to contact Valentina Tech Support? Using Rev 2.1 on Mac OS 9.2. Thanks Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From jacque at hyperactivesw.com Thu Sep 11 14:30:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Sep 11 14:30:01 2003 Subject: Valentina on Mac OS 9 In-Reply-To: <001901c37897$d4083b90$65fea8c0@chris1> References: <001901c37897$d4083b90$65fea8c0@chris1> Message-ID: <3F60CC01.90803@hyperactivesw.com> On 9/11/03 2:06 PM, Chris Sheffield wrote: > The Valentina docs say to copy the CODE resource to > the stack and place the shared library in the Rev folder or in the > Extensions folder. But there is no CODE resource file, only the VXCMD. Are > they the same thing? No, I don't think so. You should probably contact Paradigm and ask them where you can get a CODE resource. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revlist at cableone.net Thu Sep 11 14:52:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu Sep 11 14:52:01 2003 Subject: Valentina on Mac OS 9 In-Reply-To: <3F60CC01.90803@hyperactivesw.com> Message-ID: <002401c3789d$53d1c1c0$65fea8c0@chris1> Thanks, Jacque. That's kind of what I figured. I just wanted to make sure I wasn't missing something obvious. 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 J. Landman Gay Sent: Thursday, September 11, 2003 1:25 PM To: use-revolution at lists.runrev.com Subject: Re: Valentina on Mac OS 9 On 9/11/03 2:06 PM, Chris Sheffield wrote: > The Valentina docs say to copy the CODE resource to > the stack and place the shared library in the Rev folder or in the > Extensions folder. But there is no CODE resource file, only the VXCMD. Are > they the same thing? No, I don't think so. You should probably contact Paradigm and ask them where you can get a CODE resource. -- 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 revlist at cableone.net Thu Sep 11 15:47:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu Sep 11 15:47:00 2003 Subject: more with Valentina and OS 9 Message-ID: <002601c378a5$1d369840$65fea8c0@chris1> I know I'm probably beating this subject to death, but I'm still having problems. First of all I was being stupid and thinking that the CODE resource for Valentina was going to be its own file. Turns out it was in the resource fork of the sample stack included with the download. So I found that and got it pasted into my stack, but still no go. I'm still getting the same message, and I'm really starting to wonder if there's a bug with the Classic version of Rev. The reason I say that is because I tried putting the latest version of the VXCMD in the Rev folder. When I tried to run Rev, it crashed with an error of type 1,010. So then I tried removing the VXCMD from the Rev folder completely and it crashed with the same error. When I put the version of the VXCMD that comes with Rev back in, everything is fine. Should that happen? Why would Rev crash if the Valentina external was not there? So now I'm not sure if I should report a bug to Rev or to contact Valentina's tech support. Anybody else having this problem? Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From themacguy at macosx.com Thu Sep 11 15:52:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Sep 11 15:52:01 2003 Subject: Modality redux Message-ID: I finally tracked down where the "hang" was occurring in my app. I had something a little strange in my code for a particular routine and this appears to have caused something "really bad" to happen when the app was compiled. The two commands in the menubar near the offending lines of code would initiate the problem but only if the Quit menu item was chosen in the middle of the modal dialogs. Specifically, I removed one "if" statement and the matching "end if" (about twenty lines down from there) and the problem seems to have disappeard. I still think it's the "lack of modality" bug because, if modality was enforced by Rev, this would not have occurred. The funny thing is that this app compiled and ran perfectly under Windows (even with my now-disgraced code). In any case, we still have a lack of modality with which we must deal. So add a "cantQuit flag" - setting it to true immediately before you head into a modal dialog and false or empty after you leave it - and include a line of code in your shutDownRequest handler that checks the flag before anything else; if it's true, dive out of the handler. I used a global variable but a custom stack property might be more succinct. In case anyone is late in joining this thread (thank your lucky stars), this is just an OSX issue AFAIK due to the way Rev moves the Quit menu item over to the OSX app's menu but fails to include the requisite code for disabling that menu item when a modal dialog is present. The same app in Windows works fine because the menubar is -in- the window and the modal dialog blocks access to the window's menu. I have not tested this on OS9. I'm gonna go have a beer and, if I could, I'd love to deliver one to Alex, Ken, Thierry, et al; thanks for challenging me to find the root cause. Regards, Barry From scott at tactilemedia.com Thu Sep 11 16:05:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Sep 11 16:05:00 2003 Subject: Modality redux In-Reply-To: Message-ID: > I finally tracked down where the "hang" was occurring in my app. I had > something a little strange in my code for a particular routine and this > appears to have caused something "really bad" to happen when the app > was compiled. The two commands in the menubar near the offending lines > of code would initiate the problem but only if the Quit menu item was > chosen in the middle of the modal dialogs. Specifically, I removed one > "if" statement and the matching "end if" (about twenty lines down from > there) and the problem seems to have disappeard. I still think it's the > "lack of modality" bug because, if modality was enforced by Rev, this > would not have occurred. This reinforces the necessity of testing problems outside the domain of one's stack. When running up against problematic behavior, it is significantly useful to create a test stack whose only goal is to serve as test bed for recreating a problem situation. More often than not, I've found that where I thought Rev/MC was guilty of doing something wrong, the problem turned out to be my own code. :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rcozens at pon.net Thu Sep 11 16:09:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 11 16:09:01 2003 Subject: problems decompressing files Message-ID: >I would think encountering 13 identical and contiguous bytes would >be a very common occurrence I think something more is at play here: I put 13 "@"s in an SDB record field, backed up the db--which includes gzip compression, and then restored from the (decompressed) backup. I then add a line of approx 30 "*"s with the same (error-free) result. What are we doing differently? I ran my tests on a G4 iMac, Mac OS 10.2, & RR 2.02. -- 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 rjb at rz.uni-potsdam.de Thu Sep 11 16:26:01 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Sep 11 16:26:01 2003 Subject: Valentina on Mac OS 9 In-Reply-To: <001901c37897$d4083b90$65fea8c0@chris1> References: <001901c37897$d4083b90$65fea8c0@chris1> Message-ID: >Is anyone using this successfully? I know this is kind of duplicated, but >no one has responded and I'm running out of things to try. > >I open the VXCMD and my stack in ResEdit. I copy the resources from the >VXCMD to my stack, then save my stack and close it. Then I open my stack in >Rev and get an error message saying "Error in function handler" with "Hint: >Valentina". So something is not connecting right. Is there something else >that needs to be done? The Valentina docs say to copy the CODE resource to >the stack and place the shared library in the Rev folder or in the >Extensions folder. But there is no CODE resource file, only the VXCMD. Are >they the same thing? If so, why is it referring to two different files? >Maybe I just need to contact Valentina Tech Support? > >Using Rev 2.1 on Mac OS 9.2. Thanks > >Chris Sheffield >Software Development >Read Naturally >csheffield at readnaturally.com > First, make sure you have fetched the desired version of Valentina. For OS9, you can use either the "Classic" or the "Carbon" version. Each requires a CODE resource installed in one of the Rev stacks. If you want to use a traditional xfcn, you can fetch the "Classic_HC" version. The only difference is that you won't be able to pass binary data. Second, a separate resource file referred to in the doc is not included in recent releases. You need to fetch the CODE resource from the test stack, VXCMD_Test.mc. Third, I don't know where you see a file called VXCMD. The Valentina engine (the shared library) file is called VXCMD_Classic_MC or VXCMD_Carbon_MC, respectively. This is the file that should be in your extensions folder (in system folder) or alternatively inside the rev folder. Forth, make sure that the CODE (or xfcn) resource matches the engine (shared library). If they don't match, you will get system crashes. It makes things simpler to have only a single Valentina external (the CODE resource) within your Rev environment (that is within any valid message path) and only a single engine file installed. Robert Brenstein From rcozens at pon.net Thu Sep 11 16:31:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 11 16:31:01 2003 Subject: Modality redux In-Reply-To: References: Message-ID: Scott, et al: >When running up against problematic behavior, it is >significantly useful to create a test stack whose only goal is to serve as >test bed for recreating a problem situation. More often than not, I've >found that where I thought Rev/MC was guilty of doing something wrong, the >problem turned out to be my own code. :-) A big AMEN to that. :{`) Isolating a bug from the context of the application is a necessary first step in determining wither the fault lies with ourselves or Run Rev. -- 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 tuviah at runrev.com Thu Sep 11 16:45:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 11 16:45:01 2003 Subject: Metal & Menubar References: <200309112033.QAA09543@www.runrev.com> Message-ID: <00b201c378ad$59fcc940$afbe040a@user> >Whew! The problem is a cosmetic issue. The increase in window height is >there along with the appearance of the File, Edit, Help menus. However, >they are not really "there" and can't be activated. Also, the other >objects in the window are really shifted up (but initially appear >shifted down due to the "fake" menubar). Click around where the buttons >should be and they will appear in their proper locations leaving an >underlying "residue"(?) of where they appeared when the stack opened. This bug was reported by Michael..I managed to fix in my own test stacks. Please reopen it, and post a sample stack. Thanks, Tuviah From tuviah at runrev.com Thu Sep 11 16:47:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 11 16:47:01 2003 Subject: Dynamically calculating the image for windowShape References: <200309112033.QAA09543@www.runrev.com> Message-ID: <00b601c378ad$9cfede90$afbe040a@user> >It is set by image ID. Will it follow that image? Can I control this >by setting the alphaData on that image? set the maskData of the image. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From dsc at swcp.com Thu Sep 11 17:20:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 11 17:20:00 2003 Subject: problems decompressing files In-Reply-To: Message-ID: <5ECC037C-E4A5-11D7-8E8A-000A9567A3E6@swcp.com> On Thursday, September 11, 2003, at 02:52 PM, Rob Cozens wrote: >> I would think encountering 13 identical and contiguous bytes would be >> a very common occurrence > > I think something more is at play here: I put 13 "@"s in an SDB > record field, backed up the db--which includes gzip compression, and > then restored from the (decompressed) backup. I then add a line of > approx 30 "*"s with the same (error-free) result. > > What are we doing differently? I ran my tests on a G4 iMac, Mac OS > 10.2, & RR 2.02. It may be that you have some bytes before the @'s in your data that causes the problem to be avoided in this case. I'm on G4 Mac, Mac OS 10.2.6 and Revolution 2.1. This was first reported for 2.1 RC1, I think, so maybe it is not in earlier versions. Dar Scott From dsc at swcp.com Thu Sep 11 17:26:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 11 17:26:01 2003 Subject: Dynamically calculating the image for windowShape In-Reply-To: <00b601c378ad$9cfede90$afbe040a@user> Message-ID: <1BEFD5A0-E4A6-11D7-8E8A-000A9567A3E6@swcp.com> On Thursday, September 11, 2003, at 03:41 PM, Tuviah Snyder wrote: >> It is set by image ID. Will it follow that image? Can I control this >> by setting the alphaData on that image? > set the maskData of the image. Thanks! Long ago I had gotten the false impression that maskData is bit packed (8 pixels per byte) and I have ignored it. This is as easy to use as alphaData. Dar Scott From themacguy at macosx.com Thu Sep 11 17:43:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Sep 11 17:43:01 2003 Subject: test stack In-Reply-To: <200309112033.QAA09543@www.runrev.com> Message-ID: <7919EAA1-E4A8-11D7-9575-000A95763ABC@macosx.com> Scott, Exactamundo! I have about forty versions of one particular test stack and, until I exhausted every variation, I could not accept that I had a problem in my code. In fact, there really is no problem that is apparent. It seems that in -this- particular circumstance with -that- particular dialog (ask password) while a user would select "Quit" in the middle of that dialog (an unlikely event, to be sure), the bug arose. I'm still certain that the bug is in Rev, probably in the area where it mucks about with the menu structure (because it only happens in OSX). However, I think I know what to look for now and can take steps at that point to resolve it. I'd sleep better if someone from the Rev team would request my stack for examination so they could find the bug. But, as I seem to be the only one to compain about it, it's not high on their "to-do" list. Regards, Barry On Thursday, Sep 11, 2003, at 14:33 America/Denver, Scott wrote: > This reinforces the necessity of testing problems outside the domain of > one's stack. When running up against problematic behavior, it is > significantly useful to create a test stack whose only goal is to > serve as > test bed for recreating a problem situation. More often than not, I've > found that where I thought Rev/MC was guilty of doing something wrong, > the > problem turned out to be my own code. :-) From mdswindell at charter.net Thu Sep 11 18:14:01 2003 From: mdswindell at charter.net (Mark Swindell) Date: Thu Sep 11 18:14:01 2003 Subject: Print with dialog? In-Reply-To: <20030910224338.84609.qmail@web11901.mail.yahoo.com> Message-ID: On Wednesday, September 10, 2003, at 03:43 PM, Jan Schenkel wrote: > --- Mark Swindell > wrote: >> I'm having trouble making a card print correctly. >> If I just use the print >> card command, the margins are wrong. >> >> Using the following, I don't get the print dialog >> that allows me to select >> number of copies... it just spits out a single copy, >> although the margins >> are right. (Actually it DID show the print dialog >> twice out of about 10 >> attempts... huh?) >> >> on mouseup >> revShowPrintDialog false,true >> print card into 36,36,550,610 >> end mouseup >> >> >> I just want to be able to access the print dialog on >> Mac OS, OSX and Windows >> and print to the above rect. What must I do? Not >> having luck with the docs >> in this area. >> >> I'm doing this on OS9. >> >> Thanks, >> Mark >> > > Hi Mark, > > The thing here is that 'revShowPrintDialog' only has > an effect in conjunction with the 'revPrintField' and > 'revPrintText' printing commands. > In this case, I think you're looking for : > - answer printer > - open printing with dialog > > Hope this helped, > > Jan Schenkel > Thanks, Jan. I tried what you suggested (I think): on mouseup answer printer open printing with dialog print card into 36,36,550,610 end mouseup The first time I got both dialogs: paper size # number of copies But then, nothing printed. Subsequent clicks of the same button got me dialog 1, paper size, then no second dialog, and still nothing sent to printer. I just don't get the printing deal with Rev. It's got to be easier than this. Thanks Mark > From ttasovac at princeton.edu Thu Sep 11 18:43:01 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Thu Sep 11 18:43:01 2003 Subject: Unicode matchChunk (was multiple-word phrases, links) In-Reply-To: <004201c3788d$d6a70de0$afbe040a@user> Message-ID: Nope, that doesn't do it either. I'll make an example stack tomorrow and post it to bugzilla. T. Am Donnerstag, 11.09.03 um 19:54 Uhr schrieb Tuviah Snyder: >> Chris, your script works great with English, but I can't get it to >> work >> with Unicode text. > Maybe try UTF8ing the text first before sending to the matchChunk > function. > > Tuviah Snyder > Runtime Revolution Limited - Software at the Speed of Thought > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Thu Sep 11 19:19:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 11 19:19:01 2003 Subject: Lindows installation? Message-ID: Has anyone successfully installed RR on Lindows (or a Debian distro of Linux)? If so, can you provide some help with the file dependancies? Thanks! -Chipp --------------------- Chipp Walters Altuit, inc. http://www.altuit.com http://www.chipp.com --------------------- From dsc at swcp.com Thu Sep 11 21:33:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 11 21:33:00 2003 Subject: problems decompressing files In-Reply-To: <3F606532.9060603@orwell.net> Message-ID: <98C80686-E4C8-11D7-8E8A-000A9567A3E6@swcp.com> I may have found a training string that avoids compression that trips up decompression on OS X, Revolution 2.1. Maybe. Here is my test button script: /************************/ on mouseUp get field "Input" get xCompress(it) get xDecompress(it) put "[" & it & "]" & LF into field "Log" end mouseUp function trainer local train repeat with i= 0 to 255 put numToChar(i)&"a" after train end repeat return train end trainer function xCompress s return compress( trainer() & s ) end xCompress function xDecompress s return char 513 to -1 of decompress(s) end xDecompress /*********************/ As is, it needs fields "Input" and "Log". Put some string into field "Input". Click the button. The result comes out in field "Log" between brackets. You might want to try it on anything you can find and see if this really does any good. For all I know there is no training string that will prevent the error. I can't prove this will fix the problem, either. And this will do no good for decompressing what was compressed elsewhere. Dar Scott From dsc at swcp.com Thu Sep 11 21:48:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 11 21:48:01 2003 Subject: problems decompressing files In-Reply-To: <001c01c377e1$afb0eaa0$64fea8c0@chris1> Message-ID: On Wednesday, September 10, 2003, at 03:22 PM, Chris Sheffield wrote: > I had one test file that was only 6 > bytes and it compressed/decompressed fine. One thing I did notice, > however, > is that when a file is this small, the compressed file actually ends up > being larger. I think in this case it was about 33 bytes. Not sure > what > that means. The gzip format puts at minimum (typically) a 18-byte wrapper around the "deflate" data. The "deflate" data is the compressed data, but has a minimum of maybe 5 bytes of overhead. Dar Scott From sarahr at genesearch.com.au Thu Sep 11 21:53:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Thu Sep 11 21:53:00 2003 Subject: Print with dialog? In-Reply-To: Message-ID: <165954AA-E4CB-11D7-90C6-0003937A97B8@genesearch.com.au> > Thanks, Jan. I tried what you suggested (I think): > > on mouseup > answer printer > open printing with dialog > print card into 36,36,550,610 > end mouseup > > The first time I got both dialogs: > paper size > # number of copies > > But then, nothing printed. > > Subsequent clicks of the same button got me dialog 1, paper size, then > no second dialog, and still nothing sent to printer. > > I just don't get the printing deal with Rev. It's got to be easier > than this. > Hi Mark, If you use "open printing", then the "print card" statement(s) just queue all the cards you want to print, until you use "close printing" to tell them to go ahead. This enables you to print multiple cards at a time, but is perhaps less than intuitive :-) Anyway, just add a line to your script, after print card... saying "close printing" and all will be well. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ From dsc at swcp.com Thu Sep 11 22:02:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 11 22:02:01 2003 Subject: problems decompressing files In-Reply-To: <3F606532.9060603@orwell.net> Message-ID: On Thursday, September 11, 2003, at 06:06 AM, T. R. Ponn wrote: > Tim Ponn...the guy who thought turning 1 file into 1,000,000 files was > a good approach. :-[ But, if one is interested in compression and not in making standard file, your idea of breaking up the file might have merit. Break it up. Try to compress and test decompress each part wrapping with try/catch. If the decompress fails save that uncompressed. The file might be a series of sub files each with a length prefix and a compressed-or-not flag. Or, since recursion is the current watchword, the enhancement that breaks up a file like this recursively is left as an exercise. Dar Scott From RobertEppich at epsi.bc.ca Thu Sep 11 23:22:00 2003 From: RobertEppich at epsi.bc.ca (Robert Eppich) Date: Thu Sep 11 23:22:00 2003 Subject: problems decompressing files In-Reply-To: <200309112033.QAA09505@www.runrev.com> Message-ID: > I think something more is at play here: I put 13 "@"s in an SDB > record field, backed up the db--which includes gzip compression, and > then restored from the (decompressed) backup. I then add a line of > approx 30 "*"s with the same (error-free) result. > > What are we doing differently? I ran my tests on a G4 iMac, Mac OS > 10.2, & RR 2.02. > Mac OS X 10.2.6, Powerbook 500 MHz G3 Pismo, RR 2.1 (RR 1.1.1 was last version to work properly). Try this in your message box: -- put "@@@@@@@@@@@@@" into cmprsThs put compress(cmprsThs) into cmprsd put decompress(cmprsd) into msg -- If you do not get an error, then it must be the difference between 10.2 and 10.2.6, or G4, or perhaps you are using the "URL" keyword with a file. I haven't used "URL", might you have a script with "URL" that I could test? Robert Eppich epsi computer systems, inc. From stephenREVOLUTION at barncard.com Fri Sep 12 00:54:00 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Fri Sep 12 00:54:00 2003 Subject: Chunk Expressions (see if my solutions is bad) Message-ID: I don't see why 'seeing' ascii 11 is bad anyway, it helps troubleshooting. It's not meant to be displayed, just a way to substitute returns.... sqb >Rev on OS X displays a character for ASCII 11 that looks like a >curved arrow. ASCII 29 doesn't display any character in a field (I >tried several fonts) and seems to work OK as an invisible delimiter. > >The definition is "group separator" according to the ASCII >definition (http://www.asciitable.com/). Does anyone see a problem >using ASCII 29? I can't imagine what it would be used for these days. >Bill Vlahos From alex at mindlube.com Fri Sep 12 01:09:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 01:09:01 2003 Subject: survey: improving the script editor In-Reply-To: Message-ID: On Thursday, September 4, 2003, at 12:01 PM, Alex Rice wrote: > a) An external + plugin that would enable external editor apps > b) A plugin for enhancing the existing IDE script editor. An update on this I learned from Geoff that Runrev has a slew of impressive features planned for their builtin IDE script editor, so I decided to focus on idea a) above. I am an Emacs nut, so this is the better scenario anyways. If there are any lisp programmers wanting to conspire on a xtalk-mode for Emacs, contact me. I've begun a xtalk-mode, but am learning lisp as I go. Thanks, 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 Fri Sep 12 01:14:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 01:14:00 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app Message-ID: <58BA418A-E4E7-11D7-B54C-000393529642@mindlube.com> Danger! BETA! Do not proceed unless you live dangerously and debugging other's code is a pleasure ! ! ! Actually it's not that bad. But this is kind of a tricky plugin. Does anyone want to look at what I've written so far? I could use someone knowledgeable of the IDE rev* internal scripts who help me improve error handling and debugger interaction. The idea with the debugger is that: external editors can't act as a debugger, that when the user wants to debug, the built-in script editor would be allowed to startup. Currently I'm doing this by making the user hold down the SHIFT key- but there has got to be a better way. Also I would like to pass exceptions and script compilation errors through to the IDE's own error dialogs, but couldn't figure out how so just wrote my own error handlers using the answer dialog. * The Help card of the mainstack has a bit of documentation. * scripts are unlocked- please suggest improvements or bug fixes * tested on Rev 2.1, Mac OS X. * Is 100% transcript so should work with other OS Thanks, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jacque at hyperactivesw.com Fri Sep 12 01:23:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Sep 12 01:23:00 2003 Subject: Chunk Expressions (see if my solutions is bad) In-Reply-To: References: Message-ID: <3F61650B.6030807@hyperactivesw.com> On 9/12/03 12:46 AM, Stephen Quinn Barncard wrote: > I don't see why 'seeing' ascii 11 is bad anyway, it helps > troubleshooting. It's not meant to be displayed, just a way to > substitute returns.... A little off the subject, but still related: my most favorite invisible delimiter is ascii 8, which is the delete character. It is impossible to type on a keyboard, so you are guaranteed to have a unique delimiter if you use that when munging text. My second favorite untypeable delimiter is ascii 3, the Enter key. I often use these two when writing export/import scripts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From xbury.cs at clearstream.com Fri Sep 12 02:35:00 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri Sep 12 02:35:00 2003 Subject: survey: improving the script editor Message-ID: Hi everyone, As I am planning also a replacement for the RR Script Editor, it would be nice if some guidelines or provisions for a plug-in could be made available... This would reduce the amount of work and possible errors while providing many more options for the users. I've tried the RR editor and Im definitely not as happy as with my own. It has lots of nice features compared to the lame MC editor. But I've put in many more... I've added lots and lots of features (like breakpoints moving along with your script editing, line numbers, auto-completion, grep-searching (grep replace to come), coloring, superb-indexes for functions, handlers, variables, structures, etc... Non-transcript function lookup, Balancing, auto-completion, type-ahead, editable Script and GUI colors. To name a few ;) I've based most of the scripts on MC's engine though. I checked the RR engine and lots of changes are due... And if something goes wrong, it would be nice to avoid the installation tortures of MC. Thanks for any suggestions or help! ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 Alex Rice Sent by: use-revolution-admin at lists.runrev.com 12/09/03 08:03 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Re: survey: improving the script editor On Thursday, September 4, 2003, at 12:01 PM, Alex Rice wrote: > a) An external + plugin that would enable external editor apps > b) A plugin for enhancing the existing IDE script editor. An update on this I learned from Geoff that Runrev has a slew of impressive features planned for their builtin IDE script editor, so I decided to focus on idea a) above. I am an Emacs nut, so this is the better scenario anyways. If there are any lisp programmers wanting to conspire on a xtalk-mode for Emacs, contact me. I've begun a xtalk-mode, but am learning lisp as I go. Thanks, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From richmond at mail.maclaunch.com Fri Sep 12 04:41:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Sep 12 04:41:01 2003 Subject: Bottom-Anchored Horizontal revtools Message-ID: Dear RunRev Afficionados, At the behest of John Tenny I have just uploaded to my website a variant of my revtools hack that anchors itself to the bottom of your screen. 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 FlexibleLearning at aol.com Fri Sep 12 04:53:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri Sep 12 04:53:01 2003 Subject: Non-English dates Message-ID: <36E1EDCC.67AEF1C6.DC67E5C7@aol.com> Two date questions... I am trying to manipulate locale-independent dates by using dateItems, system weekdayNames and system monthNames. As I only have an English-based system, could any non-English system users help me out? [1] Date format convert... on mouseUp put line 6 of the abbrev system monthNames into tMth # or pick a number 1-12 get (tMth & " 1, 2004") # or pick a year convert it to dateItems put it &cr& the result # Do you get "invalid date"? end mouseUp [2] Weekends... I understand it is dangerous to assume that line 7 of the system weekdayNames always refers to a Saturday and line 1 always refers to a Sunday. If this is the case, how do we reliably identify weekend dates? /H From FlexibleLearning at aol.com Fri Sep 12 04:53:22 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri Sep 12 04:53:22 2003 Subject: Non-English dates Message-ID: <11826DED.6D8F25D3.DC67E5C7@aol.com> Two date questions... I am trying to manipulate locale-independent dates by using dateItems, system weekdayNames and system monthNames. As I only have an English-based system, could any non-English system users help me out? [1] Date format convert... on mouseUp put line 6 of the abbrev system monthNames into tMth # or pick a number 1-12 get (tMth & " 1, 2004") # or pick a year convert it to dateItems put it &cr& the result # Do you get "invalid date"? end mouseUp [2] Weekends... I understand it is dangerous to assume that line 7 of the system weekdayNames always refers to a Saturday and line 1 always refers to a Sunday. If this is the case, how do we reliably identify weekend dates? /H From janschenkel at yahoo.com Fri Sep 12 05:48:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 12 05:48:01 2003 Subject: Non-English dates In-Reply-To: <36E1EDCC.67AEF1C6.DC67E5C7@aol.com> Message-ID: <20030912104236.30807.qmail@web11901.mail.yahoo.com> --- FlexibleLearning at aol.com wrote: > Two date questions... > > I am trying to manipulate locale-independent dates > by using dateItems, system weekdayNames and system > monthNames. As I only have an English-based system, > could any non-English system users help me out? > > [1] Date format convert... > > on mouseUp > put line 6 of the abbrev system monthNames into > tMth # or pick a number 1-12 > get (tMth & " 1, 2004") # or pick a year > convert it to dateItems > put it &cr& the result # Do you get "invalid > date"? > end mouseUp > > > [2] Weekends... > > I understand it is dangerous to assume that line 7 > of the system weekdayNames always refers to a > Saturday and line 1 always refers to a Sunday. > > If this is the case, how do we reliably identify > weekend dates? > > /H > [1] is almost certain to break, as different languages may have different sequences. Example : August 1, 2004 Would be in Dutch : 1 augustus 2004 Plus, if you don't specify a 'from' date-format, the engine has to make a guess and may get it wrong anyway. [2] is practically impossible to detect on the basis of names alone. Why don't you let the engine do the work for you convert x from system date to date and then manipulate that data further ? This allows you to extract all the date info : convert tDate from system date to dateItems # now you can grab item 7 for the weekday 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 Fri Sep 12 06:26:01 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Sep 12 06:26:01 2003 Subject: revtools Hacks: spoilt for choice Message-ID: Dear RunRev Afficionados, I have added a new page to my website specially devoted to variants of my revtools hacks (reach it vai the 'FILES' page): VERTICAL VERTICAL SKINNY VERTICAL LEFT ANCHORING VERTICAL RIGHT ANCHORING HORIZONTAL HORIZONTAL BOTTOM ANCHORING Go and get them!!!! 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 Fri Sep 12 06:41:01 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 12 06:41:01 2003 Subject: linux question In-Reply-To: Message-ID: <405DDF90-E515-11D7-A3CC-000A27B49A96@major-k.de> Hi list, can anyone tell me, what "compression"-format can be handled by Linux? SIT/Stuffit probably not ;-) ZIP? Or good ol' built-in GZ? Thanks a lot in advance... Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Fri Sep 12 06:44:01 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 12 06:44:01 2003 Subject: Non-English dates In-Reply-To: <36E1EDCC.67AEF1C6.DC67E5C7@aol.com> Message-ID: Hi Hugh > Two date questions... > > I am trying to manipulate locale-independent dates by using dateItems, > system weekdayNames and system monthNames. As I only have an > English-based system, could any non-English system users help me out? > > [1] Date format convert... > > on mouseUp > put line 6 of the abbrev system monthNames into tMth # or pick a > number 1-12 > get (tMth & " 1, 2004") # or pick a year > convert it to dateItems > put it &cr& the result # Do you get "invalid date"? > end mouseUp 2004,6,1,3,0,0,3 Works here in a german OS X 10.2.6... > [2] Weekends... > > I understand it is dangerous to assume that line 7 of the system > weekdayNames > always refers to a Saturday and line 1 always refers to a Sunday. But it looks like ;-) On my german OS X i have "Sonntag" (sunday) as the first line ans "Samstag" saturday) as the last line of the "system weekdaynames", but we start the week on monday here in germanski... > If this is the case, how do we reliably identify weekend dates? From the dox: For each form of the weekdayNames, if the useSystemDate property is set to true, or if you specify the system weekdayNames, the list of names is provided in the language specified by the user?s system preferences. If the useSystemDate is false or you specify the english weekdayNames, the list of names is provided in English. Sounds to me like the list is always the same, but will just be translated to the current OS language when you use the "system" keyword... > /H Regards Klaus Major klaus at major-k.de www.major-k.de From ttasovac at princeton.edu Fri Sep 12 07:06:00 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Fri Sep 12 07:06:00 2003 Subject: Unicode matchChunk (was multiple-word phrases, links) In-Reply-To: <004201c3788d$d6a70de0$afbe040a@user> Message-ID: I've looked a little more into this. The problem is not necessarily with the matchChunk function, but with uniencode. Namely, if the text is typed directly into the field, the matchChunk function will work. If, however, I use the uniencode function to put the same text file into the field, the matchChunk will fail. Anyway, it's in bugzilla now. Am Donnerstag, 11.09.03 um 19:54 Uhr schrieb Tuviah Snyder: >> Chris, your script works great with English, but I can't get it to >> work >> with Unicode text. > Maybe try UTF8ing the text first before sending to the matchChunk > function. > > Tuviah Snyder > Runtime Revolution Limited - Software at the Speed of Thought > > _______________________________________________ > 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 Fri Sep 12 07:57:00 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri Sep 12 07:57:00 2003 Subject: linux question Message-ID: Klaus, The most common compression method(s) I have seen have been a 2-step method. First the files are compressed into a TAR file, then compressed even more using GZIP. The file extensions are typically something.tar.gz or something.tgz when the 2-step method is used. Roger Eller roger.e.eller at sealedair.com > Hi list, > > can anyone tell me, what "compression"-format can be handled by Linux? > > SIT/Stuffit probably not -) > > ZIP? > > Or good ol' built-in GZ? > > > Thanks a lot in advance... > > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de From kray at sonsothunder.com Fri Sep 12 08:19:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 12 08:19:00 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <58BA418A-E4E7-11D7-B54C-000393529642@mindlube.com> Message-ID: <01d601c3792f$89770b90$6501a8c0@LightningFlash> Alex, It looks good, but when you say "enter a Transcript command that opens a temporary file", what do you mean? I tried: launch "c:\program files\textpad 4\textpad.exe" And it launched TextPad, but not with the script. Can you give an example? 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: Friday, September 12, 2003 1:07 AM > To: use-revolution at lists.runrev.com > Subject: [ANN] MLXEditor - runrev plugin for script editing > with ANY external editor app > > > Danger! > > BETA! > > Do not proceed unless you live dangerously > > and debugging other's code is a pleasure > > ! > ! > ! > > Actually it's not that bad. But this is kind of a tricky plugin. > > Does anyone want to look at what I've written so far? > > I could use someone knowledgeable of the IDE rev* internal > scripts who > help me improve error handling and debugger interaction. The > idea with > the debugger is that: external editors can't act as a debugger, that > when the user wants to debug, the built-in script editor would be > allowed to startup. > > Currently I'm doing this by making the user hold down the SHIFT key- > but there has got to be a better way. > > Also I would like to pass exceptions and script compilation errors > through to the IDE's own error dialogs, but couldn't figure > out how so > just wrote my own error handlers using the answer dialog. > > * The Help card of the mainstack has a bit of documentation. > * scripts are unlocked- please suggest improvements or bug fixes > * tested on Rev 2.1, Mac OS X. > * Is 100% transcript so should work with other OS > Thanks, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Fri Sep 12 08:20:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 12 08:20:01 2003 Subject: problems decompressing files In-Reply-To: Message-ID: <01d701c3792f$c339ba30$6501a8c0@LightningFlash> > put "@@@@@@@@@@@@@" into cmprsThs > put compress(cmprsThs) into cmprsd > put decompress(cmprsd) into msg > -- > > If you do not get an error, then it must be the difference > between 10.2 > and 10.2.6, or G4, or perhaps you are using the "URL" keyword with a > file. I haven't used "URL", might you have a script with "URL" that I > could test? I just ran it on my G4, 10.2.6, and it errored out, FYI. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From psahores at easynet.fr Fri Sep 12 08:42:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 12 08:42:01 2003 Subject: linux question In-Reply-To: <405DDF90-E515-11D7-A3CC-000A27B49A96@major-k.de> References: <405DDF90-E515-11D7-A3CC-000A27B49A96@major-k.de> Message-ID: <1063373746.2771.21.camel@www.kmax.ici> Gutten Tag, Klaus, Le ven 12/09/2003 ? 13:35, Klaus Major a ?crit : > Hi list, > > can anyone tell me, what "compression"-format can be handled by Linux? > > SIT/Stuffit probably not ;-) > > ZIP? > > Or good ol' built-in GZ? zip, gz oder tgz sind OK. Das zwei und drei sind viel mehr bedienen. (zip, gz, or tgz are OK. The second and three are many more used. > > > Thanks a lot in advance... > > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de Tchuss ! Pierre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From giulio at cantoberon.it Fri Sep 12 09:04:00 2003 From: giulio at cantoberon.it (Giulio Mastrosanti) Date: Fri Sep 12 09:04:00 2003 Subject: use-revolution digest, Vol 1 #1910 - 12 msgs In-Reply-To: <200309121221.IAA30883@www.runrev.com> Message-ID: <1D799273-E529-11D7-8943-000393A949D8@cantoberon.it> Venerd?, 12 set 2003, alle 14:21 Europe/Rome, use-revolution-request at lists.runrev.com ha scritto: > Message: 3 > From: FlexibleLearning at aol.com > Date: Fri, 12 Sep 2003 05:47:24 -0400 > To: metacard at lists.runrev.com, use-revolution at lists.runrev.com > Subject: Non-English dates > Reply-To: use-revolution at lists.runrev.com > > Two date questions... > > I am trying to manipulate locale-independent dates by using dateItems, > system weekdayNames and system monthNames. As I only have an > English-based system, could any non-English system users help me out? > > [1] Date format convert... > > on mouseUp > put line 6 of the abbrev system monthNames into tMth # or pick a > number 1-12 > get (tMth & " 1, 2004") # or pick a year > convert it to dateItems > put it &cr& the result # Do you get "invalid date"? > end mouseUp > Yes, I do, on Italian 10.2.6, Rev 2.0.1 giu 1, 2004 invalid date but line 7 of the sytem weekdaynames is sabato (saturday) here too... Regards, Giulio From lists at mangomultimedia.com Fri Sep 12 09:11:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Sep 12 09:11:01 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <58BA418A-E4E7-11D7-B54C-000393529642@mindlube.com> Message-ID: <299541F4-E52A-11D7-AA40-000A956C462A@mangomultimedia.com> On Friday, September 12, 2003, at 12:07 AM, Alex Rice wrote: > Actually it's not that bad. But this is kind of a tricky plugin. > > Does anyone want to look at what I've written so far? > > I could use someone knowledgeable of the IDE rev* internal scripts who > help me improve error handling and debugger interaction. The idea with > the debugger is that: external editors can't act as a debugger, that > when the user wants to debug, the built-in script editor would be > allowed to startup. > > Currently I'm doing this by making the user hold down the SHIFT key- > but there has got to be a better way. > > Also I would like to pass exceptions and script compilation errors > through to the IDE's own error dialogs, but couldn't figure out how so > just wrote my own error handlers using the answer dialog. > > * The Help card of the mainstack has a bit of documentation. > * scripts are unlocked- please suggest improvements or bug fixes > * tested on Rev 2.1, Mac OS X. > * Is 100% transcript so should work with other OS Alex, This is very cool. I use BBEdit for all of my other editing (PHP, QScript, ActionScript, etc.) and now I can use it for transcript too. I just modified your textedit example to launch BBEdit: put "%s" into tTmpFile put "open -a " & quote & "/Applications/Document Editors/BBEdit 7.0/BBEdit.app" & quote && quote & tTmpFile & quote into tCmd get shell(tCmd) I have been wanting something like this for Rev for quite some time. You get used to how your favorite editor works and it can be painful when you have to use others. Now to figure out color coding for BBEdit... -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Fri Sep 12 10:25:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 10:25:01 2003 Subject: problems decompressing files In-Reply-To: <01d701c3792f$c339ba30$6501a8c0@LightningFlash> Message-ID: <87FA0DC0-E534-11D7-84B4-000A9567A3E6@swcp.com> On Friday, September 12, 2003, at 07:14 AM, Ken Ray wrote: > I just ran it on my G4, 10.2.6, and it errored out, FYI. Rev version? Dar Scott From dsc at swcp.com Fri Sep 12 10:35:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 10:35:01 2003 Subject: linux question In-Reply-To: <1063373746.2771.21.camel@www.kmax.ici> Message-ID: On Friday, September 12, 2003, at 07:35 AM, Pierre Sahores wrote: > zip, gz oder tgz sind OK. Das zwei und drei sind viel mehr bedienen. On my web site, Revolution stacks are available compressed as zip and sit files. Can I assume from the above that Linux folks are not slighted or should I add gz? BTW, for each stack about 70% of the downloads are in sit, not zip. Dar Scott From tuviah at runrev.com Fri Sep 12 10:38:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Fri Sep 12 10:38:00 2003 Subject: If this is the case, how do we reliably identify weekend dates? References: <200309121221.IAA30838@www.runrev.com> Message-ID: <006301c37943$3d33a3b0$0100a8c0@user> >Sounds to me like the list is always the same, but will just be >translated to the current OS language >when you use the "system" keyword... The names may change but they mean the same thing. I think every nationality only had 7 days per week. The first day of the week may be called whatever somewhere else but I don't think this is a concern. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From richmond at mail.maclaunch.com Fri Sep 12 10:45:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Sep 12 10:45:00 2003 Subject: revtools: Horizontal Positional Message-ID: Dear RunRev Afficionados, Wow what a day! Just uploaded to my website a horizontal revtools stack with buttons for positioning..... ...the best yet ??? 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 pixelbird at interisland.net Fri Sep 12 10:46:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri Sep 12 10:46:00 2003 Subject: Where is QuickTime Capture? Help In-Reply-To: <200309120525.BAA22297@www.runrev.com> Message-ID: Howdy, I tried a QT sound call and the QT Updater tells me I need a file it names QuickTime Capture. The download fails every time with a "Can't find file". I've tried a dozen times. I've searched the Apple site for hours. Although the Updater says I need it and offers to dowload, and the list onboard says it's missing... THERE IS NO SUCH THING AS "QuickTime Capture", or "QT Capture", or QuickTime Video Capture", or "QT Video Capture" (I forget all the other names I tried). The file simply doesn't exist, anywhere I have looked. What the heck is going on? Any tiny clues will be much appreciated. I'm going to post this on every list I'm on. TIA, Ken N. From derekbronston at earthlink.net Fri Sep 12 11:08:00 2003 From: derekbronston at earthlink.net (derek bronston) Date: Fri Sep 12 11:08:00 2003 Subject: Standalone File Size In-Reply-To: Message-ID: Hello, Are there any tricks for reducing the size of a standalone app? I want to deliver a small app to people via web download. thanks derek From keith at vortex.co.uk Fri Sep 12 11:09:01 2003 From: keith at vortex.co.uk (Keith Martin) Date: Fri Sep 12 11:09:01 2003 Subject: regular expressions and returns Message-ID: Okay, I'm getting my head around regex (or so I like to pretend), but how would I use replaceText to find/replace a couple of items separated by one or more carraige returns? How do I specify: 'literal string', 'one or more return characters', 'literal string' ..? As in: (return) or (return, return) etc... k, ready to say "Doh!" From revlist at cableone.net Fri Sep 12 11:19:02 2003 From: revlist at cableone.net (Chris Sheffield) Date: Fri Sep 12 11:19:02 2003 Subject: Where is QuickTime Capture? Help In-Reply-To: Message-ID: <001101c37948$dc275fc0$64fea8c0@chris1> You should be able to just run the QuickTime Updater and click the Custom button. Select QuickTime Capture from the list and then Update Now. I've installed it successfully. 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 Ken Norris Sent: Friday, September 12, 2003 6:47 AM To: use-revolution at lists.runrev.com Subject: Where is QuickTime Capture? Help Howdy, I tried a QT sound call and the QT Updater tells me I need a file it names QuickTime Capture. The download fails every time with a "Can't find file". I've tried a dozen times. I've searched the Apple site for hours. Although the Updater says I need it and offers to dowload, and the list onboard says it's missing... THERE IS NO SUCH THING AS "QuickTime Capture", or "QT Capture", or QuickTime Video Capture", or "QT Video Capture" (I forget all the other names I tried). The file simply doesn't exist, anywhere I have looked. What the heck is going on? Any tiny clues will be much appreciated. I'm going to post this on every list I'm on. TIA, Ken N. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From efrericks at imaginatics.com Fri Sep 12 11:20:01 2003 From: efrericks at imaginatics.com (Eric Frericks) Date: Fri Sep 12 11:20:01 2003 Subject: Standalone File Size Message-ID: When creating your stub projector use the Shockwave option. Then when protecting your .dir files use the convert to shockwave files there as well. You will have to include Dirapi.dll, Iml32.dll, msvcrt.dll, Proj.dll dlls and the SWADCmpr.x32 xtra. I have only tested this on windows, so Im not sure about mac. This saves a little space. You can find more by doing a search on quick start projectors. -----Original Message----- From: derek bronston [mailto:derekbronston at earthlink.net] Sent: Friday, September 12, 2003 2:05 PM To: use-revolution at lists.runrev.com Subject: Re: Standalone File Size Hello, Are there any tricks for reducing the size of a standalone app? I want to deliver a small app to people via web download. thanks derek _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Fri Sep 12 11:28:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 11:28:00 2003 Subject: regular expressions and returns In-Reply-To: Message-ID: <474F5046-E53D-11D7-84B4-000A9567A3E6@swcp.com> On Friday, September 12, 2003, at 10:02 AM, Keith Martin wrote: > How do I specify: 'literal string', 'one or more return characters', > 'literal string' ..? Like this, maybe? abc\n+def Or use the line-end symbols. Dar Scott From ambassador at fourthworld.com Fri Sep 12 11:33:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 12 11:33:00 2003 Subject: Standalone File Size In-Reply-To: Message-ID: Eric Frericks wrote: > derek bronston wrote: >> Are there any tricks for reducing the size of a standalone app? >> I want to deliver a small app to people via web download. > > When creating your stub projector use the Shockwave option. Then when > protecting your .dir files use the convert to shockwave files there as well. > You will have to include Dirapi.dll, Iml32.dll, msvcrt.dll, Proj.dll dlls > and the SWADCmpr.x32 xtra. I have only tested this on windows, so Im not > sure about mac. This saves a little space. You can find more by doing a > search on quick start projectors. I think I missed something. Did RunRev acquire Macromedia? ;) -- 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 Fri Sep 12 11:56:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 11:56:00 2003 Subject: problems decompressing files In-Reply-To: <01d701c3792f$c339ba30$6501a8c0@LightningFlash> Message-ID: <43DF8832-E541-11D7-84B4-000A9567A3E6@swcp.com> Here are some things that have come to my mind that might help in workarounds. 1. Create a compression function that uses the training string I discovered. As far as I know, this only increases the chance that decompression will not have an error. It also creates a compression you can't share with other apps. It increases size, so it might not be suitable for small values. 2. Create a compression function that tests whether compress() or #1 above will generate an error when decompressed. Use try/catch. This will only work on a system with the bug. 3. Create a compression function that creates a trivial gzip format of uncompressed data. This can be done on any platform and the result can be used by other apps or future apps, but is not really compressed. 4. Create a custom compression that uses #1 or compress() and #2 to test (so only works in bug environment) that creates a non-standard compression. 5. Create a function that returns true/false whether the bug is present. Use that to decide what strategy to use. 6. Create a function that says whether a value is gzip or not. This should test the signature and a couple flags and not rely on decompress() failure. I have few suggestions for handling compressed files from other sources, except #2 above and these: 7. Create a handler/function that provides some info about a gzip image, that is, the file that cannot be decompressed. This might pull out some header info. Three flags of the deflate info might be easy to grab, also. 8. Create a decompress that uses shell(). This can be used with try/catch that tries the internal method first. The shell need only work on OS X. Dar Scott From psahores at easynet.fr Fri Sep 12 12:19:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 12 12:19:00 2003 Subject: linux question In-Reply-To: References: Message-ID: <1063386772.2772.45.camel@www.kmax.ici> Le ven 12/09/2003 ? 17:29, Dar Scott a ?crit : > On Friday, September 12, 2003, at 07:35 AM, Pierre Sahores wrote: > > > zip, gz oder tgz sind OK. Das zwei und drei sind viel mehr bedienen. > > On my web site, Revolution stacks are available compressed as zip and > sit files. Can I assume from the above that Linux folks are not > slighted or should I add gz? Not as long as the standard linux uncompress engines (arc/ark, unzip,...) are, including the zip format. > > BTW, for each stack about 70% of the downloads are in sit, not zip. > > Dar Scott > > _______________________________________________ > 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 pixelbird at interisland.net Fri Sep 12 12:25:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri Sep 12 12:25:01 2003 Subject: Where is QuickTime Capture? Help In-Reply-To: <200309121602.MAA07090@www.runrev.com> Message-ID: Hi Chris, > From: "Chris Sheffield" > Subject: RE: Where is QuickTime Capture? Help > Date: Fri, 12 Sep 2003 10:13:52 -0600 > > You should be able to just run the QuickTime Updater and click the Custom > button. Select QuickTime Capture from the list and then Update Now. I've > installed it successfully. ---------- Thanks os much for the Re. I'm saying I tried EVERYTHING available, including that. I just tried it again (9th time)...I get a dialog: The package file "QuickTime Capture" cannot be downloaded. The file could not be found. Do you want to try again? ...with two buttons: Stop and Try again? (default) I hit "Try again "17 times and all I ever get is the same thing. Is it a OSX-only file? Ken N. From revlist at cableone.net Fri Sep 12 12:32:06 2003 From: revlist at cableone.net (Chris Sheffield) Date: Fri Sep 12 12:32:06 2003 Subject: Where is QuickTime Capture? Help In-Reply-To: Message-ID: <000501c37953$02357490$64fea8c0@chris1> I don't think it's OS X only. I've got it installed on Windows. The only other thing I can think of would be to uninstall QuickTime and reinstall it. If that doesn't work, you might have to contact QuickTime support. 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 Ken Norris Sent: Friday, September 12, 2003 8:27 AM To: use-revolution at lists.runrev.com Subject: Re: Where is QuickTime Capture? Help Hi Chris, > From: "Chris Sheffield" > Subject: RE: Where is QuickTime Capture? Help > Date: Fri, 12 Sep 2003 10:13:52 -0600 > > You should be able to just run the QuickTime Updater and click the Custom > button. Select QuickTime Capture from the list and then Update Now. I've > installed it successfully. ---------- Thanks os much for the Re. I'm saying I tried EVERYTHING available, including that. I just tried it again (9th time)...I get a dialog: The package file "QuickTime Capture" cannot be downloaded. The file could not be found. Do you want to try again? ...with two buttons: Stop and Try again? (default) I hit "Try again "17 times and all I ever get is the same thing. Is it a OSX-only file? Ken N. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From alex at mindlube.com Fri Sep 12 12:54:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 12:54:01 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <01d601c3792f$89770b90$6501a8c0@LightningFlash> Message-ID: <594520E6-E549-11D7-86FC-000393529642@mindlube.com> On Friday, September 12, 2003, at 07:12 AM, Ken Ray wrote: > Alex, > > It looks good, but when you say "enter a Transcript command that opens > a > temporary file", what do you mean? I tried: > > launch "c:\program files\textpad 4\textpad.exe" > > And it launched TextPad, but not with the script. Can you give an > example? Ke, I should clarify that on the setup screen. Use the "transcript recipes" popup button for some examples. Here is the one Trevor just posted. The only tricky part is that a format() is run on the transcript command so %s is replaced with the full path to the temporary file. That %s is how you get it to open a file instead of open with an empty document. put "%s" into tTmpFile put "open -a " & quote & "/Applications/Document Editors/BBEdit 7.0/BBEdit.app" & quote && quote & tTmpFile & quote into tCmd get shell(tCmd) 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 Fri Sep 12 13:02:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 13:02:01 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <299541F4-E52A-11D7-AA40-000A956C462A@mangomultimedia.com> Message-ID: <6BF5A343-E54A-11D7-86FC-000393529642@mindlube.com> On Friday, September 12, 2003, at 08:05 AM, Trevor DeVore wrote: > > This is very cool. I use BBEdit for all of my other editing (PHP, > QScript, ActionScript, etc.) and now I can use it for transcript too. > I just modified your textedit example to launch BBEdit: > > put "%s" into tTmpFile > put "open -a " & quote & "/Applications/Document Editors/BBEdit > 7.0/BBEdit.app" & quote && quote & tTmpFile & quote into tCmd > get shell(tCmd) OK I'll add it to the recipes popup. > I have been wanting something like this for Rev for quite some time. > You get used to how your favorite editor works and it can be painful > when you have to use others. > Now to figure out color coding for BBEdit... That's going to be the tricky part: getting code editors to deal with xtalk because it's so different from C, Java, Perl, etc. which most of editors support by default. If anyone wants a list of transcript keywords, let me know. I pulled it of the Transcript Dictionary I think. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jonin at hawaii.rr.com Fri Sep 12 13:05:01 2003 From: jonin at hawaii.rr.com (jonin at hawaii.rr.com) Date: Fri Sep 12 13:05:01 2003 Subject: OSX Help Message-ID: <3f6208cd.2e8.0@hawaii.rr.com> I wrote a program and built distribution for OSX. For some reason OSX refuses to let me set the capabilites for any sub users to access the program (or revolution for that matter), yet when I go to System Preferences -> Accounts -> -> capabilities, I can allow or prevent them from using any other programs. When it's Revolution or the thing I wrote, I can click on the check box, but after closing the window, it doesn't save/remeber that fact that the check box was clicked. Is the problem on my computer's end or is it something in revolution that I didn't do or can't do? I know it's not just one computer, I've attempted it on 10 computers o n the network, all running OSX. - Thanks From katir at hindu.org Fri Sep 12 13:05:18 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Fri Sep 12 13:05:18 2003 Subject: Space bar triggers QT players on Windows only Message-ID: I have a gadget that is a transcriber for audio "talking head" files (lectures, interviews by reporters, discourses, etc.) with a QT player set up on the card interface and a field for typing the transcription. There are a variety of other controls for the user to ease his job, chose the file, FTP the transcript to our server here etc. This was ported from Supercard and has been in use for nearly 8 years, but restricted to Mac only remote staff/helpers. One of the important controllers is a set of buttons for stop, rewind, forward and resume.. cmd 1,2,3,4 respectively. These work great... But, now we have a big problem on the windows side. Even though I have the traversalOff set for the player... if the users hits the space bar (inevitable because he is transcribing what he hears and has to put a space between each word) this toggles the player to stop and start! i.e. overriding the controls I set up. This does not happen on the Mac. Any known work arounds to disable the space bar response on Windows? Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From lists at mangomultimedia.com Fri Sep 12 13:34:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Sep 12 13:34:01 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <6BF5A343-E54A-11D7-86FC-000393529642@mindlube.com> Message-ID: On Friday, September 12, 2003, at 11:56 AM, Alex Rice wrote: > On Friday, September 12, 2003, at 08:05 AM, Trevor DeVore wrote: >> >> This is very cool. I use BBEdit for all of my other editing (PHP, >> QScript, ActionScript, etc.) and now I can use it for transcript too. >> I just modified your textedit example to launch BBEdit: >> >> put "%s" into tTmpFile >> put "open -a " & quote & "/Applications/Document Editors/BBEdit >> 7.0/BBEdit.app" & quote && quote & tTmpFile & quote into tCmd >> get shell(tCmd) > > OK I'll add it to the recipes popup. Maybe make a note that other people's BBEdit installations might be in a different place. >> I have been wanting something like this for Rev for quite some time. >> You get used to how your favorite editor works and it can be painful >> when you have to use others. >> Now to figure out color coding for BBEdit... > > That's going to be the tricky part: getting code editors to deal with > xtalk because it's so different from C, Java, Perl, etc. which most of > editors support by default. > > If anyone wants a list of transcript keywords, let me know. I pulled > it of the Transcript Dictionary I think. The problem with BBEdit is you have write all this code to get syntax coloring to work. I wish it was more like UltraEdit on Windows which allowed to to create text files that trigured color coding. Oh well. If you could send your list of keywords that would be great. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alex at mindlube.com Fri Sep 12 13:39:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 13:39:01 2003 Subject: regular expressions and returns In-Reply-To: Message-ID: On Friday, September 12, 2003, at 10:02 AM, Keith Martin wrote: > Okay, I'm getting my head around regex (or so I like to pretend), but > how would I use replaceText to find/replace a couple of items > separated by one or more carraige returns? How do I specify: 'literal > string', 'one or more return characters', 'literal string' ..? > > As in: > (return) > or > (return, return) > etc... Like Dar said, newline can be matched with \n Literal string in regex are just the strings, unless they have special regex meanings, then you have to escape them: "noon\n" would match the word noon followed by a newline. There is are multiline and single line modes for the regex engine, but it seems that rev's regex functions are always in multiline mode? check out "PCRE REGULAR EXPRESSION DETAILS" in the URL http://www.pcre.org/man.txt In multiline mode, "." means any character except a linefeed. Also useful might be "\s" which means any whitespace. "\b" matches at word boundaries Don't worry, I've been regexing for several years and they are still makin' me crazy. 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 Fri Sep 12 13:45:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 13:45:01 2003 Subject: [OT almost] Standard XML representation for binary and double Message-ID: <7F02FA01-E550-11D7-84B4-000A9567A3E6@swcp.com> Are there standard or traditional ways to represent any arbitrary binary string or any arbitrary double floating point (or any floating point) including all values even NaN, +Inf, and -Inf. And what about long text with maybe long lines or with interesting line-end characters? Dar Scott From runrev at rivertext.com Fri Sep 12 14:19:01 2003 From: runrev at rivertext.com (Brian Thomas) Date: Fri Sep 12 14:19:01 2003 Subject: failed Windows build due to bad icons In-Reply-To: <200309121602.MAA07106@www.runrev.com> References: <200309121602.MAA07106@www.runrev.com> Message-ID: Is anyone have trouble building satisfactory 16 color windows icons? Has anyone trying to build Windows standalone's gotten the message that that they have an invalid windows engine? The standalone gets built but when you try to launch it you get the message that it is not a valid Windows 32 app. I have studied bug report 457 which reports that they may be do to bad icons. Indeed, if I eliminate the icons I get a windows build I can use. I just can't figure out what is wrong with the icons. I have gotten this message on OS9, OS X and Windows XP on three different computers. The icons were built with graphic converter and are 32 pixels and 16 colors. -- Brian From scott at tactilemedia.com Fri Sep 12 14:25:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Sep 12 14:25:01 2003 Subject: failed Windows build due to bad icons In-Reply-To: Message-ID: Recently, "Brian Thomas" wrote: > I have studied bug report 457 which reports that they may be do to > bad icons. Indeed, if I eliminate the icons I get a windows build I > can use. I just can't figure out what is wrong with the icons. > > I have gotten this message on OS9, OS X and Windows XP on three > different computers. The icons were built with graphic converter and > are 32 pixels and 16 colors. You might want to check the size in bytes of the icon -- MC has a limitation of something like 766 bytes. I would guess Rev currently has the same limit unless they updated something in v2. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From zelston at aol.com Fri Sep 12 14:29:00 2003 From: zelston at aol.com (Zac Elston) Date: Fri Sep 12 14:29:00 2003 Subject: obsecuring code In-Reply-To: <200309121602.MAA07106@www.runrev.com> References: <200309121602.MAA07106@www.runrev.com> Message-ID: <3F621D04.8080206@aol.com> I remember this was a topic a while back but can't find it in the archives. If I want to hide the code from someone opening the app in a text editor, is there a way to do that using Rev?? -zac From kray at sonsothunder.com Fri Sep 12 14:30:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 12 14:30:01 2003 Subject: problems decompressing files In-Reply-To: <87FA0DC0-E534-11D7-84B4-000A9567A3E6@swcp.com> Message-ID: <021401c37963$5cc9d440$6501a8c0@LightningFlash> > On Friday, September 12, 2003, at 07:14 AM, Ken Ray wrote: > > > I just ran it on my G4, 10.2.6, and it errored out, FYI. > > Rev version? Actually MC 2.5.1, but in Rev that would be 2.1. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at mindlube.com Fri Sep 12 14:32:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 14:32:01 2003 Subject: [OT] browser plugin patents - warning! Message-ID: If this is as bad as it sounds, soon lots of irate web developers will be flocking to Revolution and other web-aware app development environments. 2 September 2003 ::: 10 am edt IE, Flash, and patents: here comes trouble 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 Fri Sep 12 14:36:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 14:36:00 2003 Subject: failed Windows build due to bad icons In-Reply-To: Message-ID: <919046A6-E557-11D7-86FC-000393529642@mindlube.com> On Friday, September 12, 2003, at 01:13 PM, Brian Thomas wrote: > Is anyone have trouble building satisfactory 16 color windows icons? Windows icons are just about impossible to build correctly on my experience. I would recommend using shareware QTam BMP2Ico (sp?) I seem to remember trying Graphic Converter first with no success. I am building on OS X and it correctly builds my windows.ico file, created with BMPT2Ico, into the exe. 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 Fri Sep 12 14:38:02 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 14:38:02 2003 Subject: obsecuring code In-Reply-To: <3F621D04.8080206@aol.com> Message-ID: On Friday, September 12, 2003, at 01:22 PM, Zac Elston wrote: > I remember this was a topic a while back but can't find it in the > archives. > > If I want to hide the code from someone opening the app in a text > editor, is there a way to do that using Rev?? Check out the password and passkey properties. Setting a password also encrypts the stack. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From klaus at major-k.de Fri Sep 12 14:58:01 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 12 14:58:01 2003 Subject: linux question Message-ID: <930FB166-E544-11D7-A3CC-000A27B49A96@major-k.de> Bong sure Pierre ;-), > Gutten Tag, Klaus, > > Le ven 12/09/2003 ? 13:35, Klaus Major a ?crit : >> Hi list, >> >> can anyone tell me, what "compression"-format can be handled by Linux? >> SIT/Stuffit probably not ;-) >> ZIP? >> Or good ol' built-in GZ? > > zip, gz oder tgz sind OK. Das zwei und drei sind viel mehr bedienen. Ah, mercy bocuse... Ah, thanks a lot.... Fine, then i will use the build-in GZ routines :-) > Tchuss ! Pierre Oh reservoir :-D Regards Klaus Major klaus at major-k.de www.major-k.de P.S. I knew you have a sense of humour ;-) From dsc at swcp.com Fri Sep 12 15:12:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 15:12:01 2003 Subject: obsecuring code In-Reply-To: <3F621D04.8080206@aol.com> Message-ID: <85A22CAC-E55C-11D7-84B4-000A9567A3E6@swcp.com> I love that word! It has the right connotations of the right level of security for many uses. -- Dar From gizmotron at earthlink.net Fri Sep 12 15:23:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Sep 12 15:23:01 2003 Subject: Standalone File Size In-Reply-To: Message-ID: <1588F7EC-E55E-11D7-AA4E-000A95859272@earthlink.net> Richard Gaskin wrote: >> When creating your stub projector use the Shockwave option. > I think I missed something. Did RunRev acquire Macromedia? ;) Nope, but several months ago Microsoft was rumored to have acquire Macromedia. The fire storm caused from being transformed into a Director-for-.Net or Flash-for-.Net development, and for Microsoft's own version of the World Wide Web, went ballistic. On the other hand Rev did get just about all the stuff that Director programers where wishing for in standardized application development features, and then some... Mark From gizmotron at earthlink.net Fri Sep 12 15:42:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Sep 12 15:42:00 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: On Friday, September 12, 2003, at 12:26 PM, Alex Rice wrote: > If this is as bad as it sounds, soon lots of irate web developers will > be flocking to Revolution and other web-aware app development > environments. > > 2 September 2003 ::: 10 am edt > IE, Flash, and patents: here comes trouble > Alex, Now I want to use my entire library of foul-language words. So we have the browser's version of SCO to watch out for. Could this spread to standalone apps and application developers that use Quicktime to display rich media? Thanks for the heads-up. Mark From dsc at swcp.com Fri Sep 12 16:03:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 16:03:00 2003 Subject: problems decompressing files In-Reply-To: <43DF8832-E541-11D7-84B4-000A9567A3E6@swcp.com> Message-ID: From bugzilla it looks like this is resolved fixed. I think it reasonable to hope that and even expect that it will be in the next bug-fix release, but no target is assigned in bugzilla. I'd go with workarounds. Dar Scott From klaus at major-k.de Fri Sep 12 16:07:02 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 12 16:07:02 2003 Subject: linux question In-Reply-To: <1063373746.2771.21.camel@www.kmax.ici> Message-ID: <8826341B-E52A-11D7-A3CC-000A27B49A96@major-k.de> Bong sure Pierre ;-), > Gutten Tag, Klaus, > > Le ven 12/09/2003 ? 13:35, Klaus Major a ?crit : >> Hi list, >> >> can anyone tell me, what "compression"-format can be handled by Linux? >> SIT/Stuffit probably not ;-) >> ZIP? >> Or good ol' built-in GZ? > > zip, gz oder tgz sind OK. Das zwei und drei sind viel mehr bedienen. Ah, mercy bocuse... Ah, thanks a lot.... Fine, then i will use the build-in GZ routines :-) > Tchuss ! Pierre Oh reservoir :-D Regards Klaus Major klaus at major-k.de www.major-k.de P.S. I know you have a sense of humour ;-) From themacguy at macosx.com Fri Sep 12 16:08:02 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Sep 12 16:08:02 2003 Subject: use-revolution digest, Vol 1 #1912 - 17 msgs In-Reply-To: <200309121841.OAA16262@www.runrev.com> Message-ID: <5A10C75C-E564-11D7-88DC-000A95763ABC@macosx.com> Zac, Set an encryption password during the Distribution Builder step. This will display garbage to anyone looking at the app or any support stacks (as long as you encrypt those, as well). You can also set the password of the stack in the message box: set the password of this stack to "123456" or, to remove it, set the password of this stack to empty -- (removes password but only if you know the password!) Regards, Barry On Friday, Sep 12, 2003, at 12:41 America/Denver, Zac wrote: > From: "Zac Elston" > Subject: obsecuring code > To: use-revolution at lists.runrev.com > Organization: AOL > Reply-To: use-revolution at lists.runrev.com > > I remember this was a topic a while back but can't find it in the > archives. > > If I want to hide the code from someone opening the app in a text > editor, is there a way to do that using Rev?? > > > -zac > From Tom.Cole at asu.edu Fri Sep 12 16:16:00 2003 From: Tom.Cole at asu.edu (Thomas Cole) Date: Fri Sep 12 16:16:00 2003 Subject: Big White Space on the Screen Message-ID: <3996AE5EBEF964418D80953BDCABFF5606AB1D76@ex1.asurite.ad.asu.edu> I have a stack that prints a field. It prints fine in the windows standalone and the OSX standalone, but in Mac OS 9 an image of the field being printed appears across the screen and won't go away. It prints, but the user's machine has this big, white mess there. How can I keep it from doing that? It does it with the PPC, OS68,and OSfat standalones. What gives? Thanks, Tom From rogerguay at centurytel.net Fri Sep 12 16:24:01 2003 From: rogerguay at centurytel.net (Roger Guay) Date: Fri Sep 12 16:24:01 2003 Subject: Alignment Palette Message-ID: Forgive me for bugging you folks, but I can't find the Alignment Palette in version 2.1. And, I've looked in the documentation but to no avail. It's probably right under my nose??? Thanks, Roger From keith at vortex.co.uk Fri Sep 12 16:30:00 2003 From: keith at vortex.co.uk (Keith Martin) Date: Fri Sep 12 16:30:00 2003 Subject: Regular expressions and returns In-Reply-To: <20030910134207.56266.qmail@web11905.mail.yahoo.com> References: <20030910134207.56266.qmail@web11905.mail.yahoo.com> Message-ID: Sorry if this ends up appearing twice, but I posted it a few hours ago and it hasn't turned up yet. So... I'm getting my head around regex (or so I like to pretend), but how would I use replaceText to find/replace a couple of items separated by one or more carraige returns? How do I specify: 'literal string', 'one or more return characters', 'literal string' ..? As in: (return) or (return, return) etc... k, ready to say "Doh!" From psahores at easynet.fr Fri Sep 12 16:31:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 12 16:31:01 2003 Subject: linux question In-Reply-To: <930FB166-E544-11D7-A3CC-000A27B49A96@major-k.de> References: <930FB166-E544-11D7-A3CC-000A27B49A96@major-k.de> Message-ID: <1063401952.2749.46.camel@www.kmax.ici> Le ven 12/09/2003 ? 19:14, Klaus Major a ?crit : > Bong sure Pierre ;-), Hum ! Is my "Spaten beer grade based language"... > > > Gutten Tag, Klaus, > > > > Le ven 12/09/2003 ? 13:35, Klaus Major a ?crit : > >> Hi list, > >> > >> can anyone tell me, what "compression"-format can be handled by Linux? > >> SIT/Stuffit probably not ;-) > >> ZIP? > >> Or good ol' built-in GZ? > > > > zip, gz oder tgz sind OK. Das zwei und drei sind viel mehr bedienen. > > Ah, mercy bocuse... Paul Bocuse ? > Ah, thanks a lot.... ... a little... (...lots...) > > Fine, then i will use the build-in GZ routines :-) > > > Tchuss ! Pierre > > Oh reservoir :-D ...away from the well knowed european language named "German" ? > > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > > P.S. > I knew you have a sense of humour ;-) A cool lazy way to say "y'a vol" in german ? Auf wieder Zen, Freund Klaus :) > _______________________________________________ > 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 Sep 12 16:44:00 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 12 16:44:00 2003 Subject: linux question In-Reply-To: Message-ID: Hi Roger, > Klaus, > The most common compression method(s) I have seen have been a 2-step > method. First the files are compressed into a TAR file, then compressed > even more using GZIP. The file extensions are typically > something.tar.gz > or something.tgz when the 2-step method is used. > Roger Eller > roger.e.eller at sealedair.com >> Hi list, >> >> can anyone tell me, what "compression"-format can be handled by Linux? >> SIT/Stuffit probably not -) >> ZIP? >> Or good ol' built-in GZ? >> Thanks a lot in advance... >> >> Regards >> Klaus Major >> klaus at major-k.de >> www.major-k.de Thanks for the fast answer. I think i asked the wrong question ;-) What compression, that can be done on Mac or Win (!), can be read on Linux? From your reply i see, that GZ is ONE possible way :-) Is this compatible with the built-in compression of RR? Can the ZIP format be read on Linux, too? I don't have a Linux machine at hand... Thanks again... Regards Klaus Major klaus at major-k.de www.major-k.de From psahores at easynet.fr Fri Sep 12 16:46:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 12 16:46:00 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: References: Message-ID: <1063402866.2750.52.camel@www.kmax.ici> Le ven 12/09/2003 ? 21:26, Alex Rice a ?crit : > If this is as bad as it sounds, soon lots of irate web developers will > be flocking to Revolution and other web-aware app development > environments. > > 2 September 2003 ::: 10 am edt > IE, Flash, and patents: here comes trouble > > We can hope so :-) > > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > 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 psahores at easynet.fr Fri Sep 12 17:00:02 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 12 17:00:02 2003 Subject: linux question In-Reply-To: References: Message-ID: <1063403671.2749.57.camel@www.kmax.ici> Le ven 12/09/2003 ? 15:12, Klaus Major a ?crit : > Hi Roger, > > > Klaus, > > The most common compression method(s) I have seen have been a 2-step > > method. First the files are compressed into a TAR file, then compressed > > even more using GZIP. The file extensions are typically > > something.tar.gz > > or something.tgz when the 2-step method is used. > > Roger Eller > > roger.e.eller at sealedair.com > >> Hi list, > >> > >> can anyone tell me, what "compression"-format can be handled by Linux? > >> SIT/Stuffit probably not -) > >> ZIP? > >> Or good ol' built-in GZ? > > >> Thanks a lot in advance... > >> > >> Regards > >> Klaus Major > >> klaus at major-k.de > >> www.major-k.de > > Thanks for the fast answer. > > I think i asked the wrong question ;-) > > What compression, that can be done on Mac or Win (!), can be read on > Linux? > > From your reply i see, that GZ is ONE possible way :-) > > Is this compatible with the built-in compression of RR? > Can the ZIP format be read on Linux, too? > > I don't have a Linux machine at hand... If that can help, just send me, off-list, some different compressed files you want to be tested under the linux platform... Best, Pierre > > Thanks again... > > > 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 bvg at mac.com Fri Sep 12 17:11:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri Sep 12 17:11:00 2003 Subject: Alignment Palette In-Reply-To: Message-ID: <070CC0EE-E56D-11D7-8509-003065AD94A4@mac.com> On Freitag, Sept 12, 2003, at 23:18 Europe/Zurich, Roger Guay wrote: > Forgive me for bugging you folks, but I can't find the Alignment > Palette in version 2.1. And, I've looked in the documentation but to > no avail. It's probably right under my nose??? > select several objects, then choose "align objects" from the inspector drop down. From kray at sonsothunder.com Fri Sep 12 17:53:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 12 17:53:01 2003 Subject: failed Windows build due to bad icons In-Reply-To: <919046A6-E557-11D7-86FC-000393529642@mindlube.com> Message-ID: <023e01c3797f$b8f35c70$6501a8c0@LightningFlash> You got it, Alex. Here's the URL: http://www.qtam-computer.com I have a copy as well. Works great! 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: Friday, September 12, 2003 2:30 PM > To: use-revolution at lists.runrev.com > Subject: Re: failed Windows build due to bad icons > > > > On Friday, September 12, 2003, at 01:13 PM, Brian Thomas wrote: > > > Is anyone have trouble building satisfactory 16 color windows icons? > > Windows icons are just about impossible to build correctly on my > experience. I would recommend using shareware QTam BMP2Ico > (sp?) I seem > to remember trying Graphic Converter first with no success. > > I am building on OS X and it correctly builds my windows.ico file, > created with BMPT2Ico, into the exe. > > Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From edgore at shinra.com Fri Sep 12 17:56:02 2003 From: edgore at shinra.com (Edwin Gore) Date: Fri Sep 12 17:56:02 2003 Subject: [OT] browser plugin patents - warning! Message-ID: <200309122250.h8CMoMTR080773@shinra.com> What is REALLY irritating is that prior art on this is SOOOO bloody obvious. Anybody ever hear of an operating system? It's this basic framework that you can seamlessly extend with these doodads called applications and drivers. This is, possibly, even worse than some of Amazon's patents. Some of the slash-dottys are all "Oooooh! They are going after microsoft and say they aren't interested in Opera, or Mozilla". Yes, but unlike trademark infringement, these clowns could let opera and mozilla infringe all they want, for as long as they want, and then in 10 years sue them, and they can even say that Opera and Mozilla KNEW they were infringing because of the microsoft case, and therefore need to be punished even more. Basically, if this thing is allowed to stand, it's going to be very, very bad for the internet..,and maybe other things too. Plus, it's a stupid "Here is a broad methodology that could be used to achieve an end" patent with no specific implementation attached, discussed, or apparently, even attempted. They just sat down and said - hey! If OLE 2.0 can do this in a word document, we could patent the idea of doing it in a web browser! I mean really - a single patent that covers both Netscape plug-ins and Active X and Java, all of which work COMPLETELY differently? That's a bad patent. >----- ------- Original Message ------- ----- >From: Mark Brownell >To: use-revolution at lists.runrev.com >Sent: Fri, 12 Sep 2003 13:36:30 > > >On Friday, September 12, 2003, at 12:26 PM, Alex >Rice wrote: > >> If this is as bad as it sounds, soon lots of >irate web developers will >> be flocking to Revolution and other web-aware app >development >> environments. >> >> 2 September 2003 ::: 10 am edt >> IE, Flash, and patents: here comes trouble >> > >Alex, > >Now I want to use my entire library of >foul-language words. So we have >the browser's version of SCO to watch out for. >Could this spread to >standalone apps and application developers that use >Quicktime to >display rich media? > >Thanks for the heads-up. > >Mark > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolu >tion From rcozens at pon.net Fri Sep 12 18:03:02 2003 From: rcozens at pon.net (Rob Cozens) Date: Fri Sep 12 18:03:02 2003 Subject: problems decompressing files In-Reply-To: References: Message-ID: >perhaps you are using the "URL" keyword with a file. I haven't used >"URL", might you have a script with "URL" that I could test? Hi Robert, Yes, "@@@@@@@@@@@@@" gives a decompression error from the Menu Box Yes, I'm using get/put URL No, I'm not getting decompression errors I just created a text file with 13 "@"s and compressed/decompressed it without error using SDB Utilities. on menuPick thePick [snip] switch thePick case compressFile [snip] if sourceResource is empty then put compress(sourceData&dataSuffix) into compressedData else put compress(sourceData&sourceResource&dataSuffix) into compressedData [snip] put compressedData into URL compressedFile [snip] break case expandFile put "binfile:"&it into compressedFile put decompress(URL compressedFile) into expandedData [snip] break end switch end menuPick -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From k.r.hauge at east.uio.no Fri Sep 12 18:13:00 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Fri Sep 12 18:13:00 2003 Subject: Unicode matchChunk (was multiple-word phrases, links) In-Reply-To: References: Message-ID: At 13:59 +0200 12-09-03, Toma Tasovac wrote: >I've looked a little more into this. The >problem is not necessarily with the matchChunk >function, but with uniencode. Namely, if the >text is typed directly into the field, the >matchChunk function will work. If, however, I >use the uniencode function to put the same text >file into the field, the matchChunk will fail. >Anyway, it's in bugzilla now. > >Am Donnerstag, 11.09.03 um 19:54 Uhr schrieb Tuviah Snyder: > >>>Chris, your script works great with English, but I can't get it to work >>>with Unicode text. >>Maybe try UTF8ing the text first before sending to the matchChunk function. >> It may seem that matchChunk likes utf-16 better. I was able to make the function work in both fields in your test stack in Bugzilla by copying the text from field importedText, pasting into TextEdit, making sure it was in the Lucida Grande font, saving in TextEdit as utf-16 text, and reading in as binary: answer file "Please choose a file:" if it is not empty then put "binfile:"&it into myPath set the unicodeText of field "importedtext" to URL myPath (And if you fix the typo "vesteckt sein" in the other field you will get a full set of matches in both fields...) -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From k.r.hauge at east.uio.no Fri Sep 12 18:18:01 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Fri Sep 12 18:18:01 2003 Subject: Unicode matchChunk (was multiple-word phrases, links) -ps Message-ID: At 01:10 +0200 13-09-03, Kjetil R? Hauge wrote: >set the unicodeText of field "importedtext" to URL myPath PS: forgot to say that you also have to set the textfont of field "importedText" to Lucida Grande. -- --- Kjetil R? Hauge, U. of Oslo. Tel. +47/22856710, fax +47/22854140 --- (this msg sent from home, +47/67148424, fax +1/5084372444) From jiml at netrin.com Fri Sep 12 18:20:01 2003 From: jiml at netrin.com (Jim Lambert) Date: Fri Sep 12 18:20:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <200309122159.RAA24674@www.runrev.com> Message-ID: And yet MS's legion of attorneys could not prevail. Wonder if they wanted to lose? JimL --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03 From dsc at swcp.com Fri Sep 12 18:21:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 18:21:01 2003 Subject: problems decompressing files In-Reply-To: Message-ID: <03EC7989-E577-11D7-84B4-000A9567A3E6@swcp.com> On Friday, September 12, 2003, at 04:56 PM, Rob Cozens wrote: > Yes, "@@@@@@@@@@@@@" gives a decompression error from the Menu Box Hmmm. You have 2.0.2, Right. I just checked on 2.0.1 and it fails there, too. > else put compress(sourceData&sourceResource&dataSuffix) into > compressedData Maybe we just need those magic strings sourceData and dataSuffix. Dar Scott From gizmotron at earthlink.net Fri Sep 12 18:33:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Sep 12 18:33:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: <999C4596-E578-11D7-A79B-000A95859272@earthlink.net> Jim Lambert wrote: > obvious.> > > And yet MS's legion of attorneys could not prevail. > Wonder if they wanted to lose? > > JimL Maybe it's just that these MS lawyers were just too SoBig."f","g","h" ... ... for their own britches. From capellan2000 at yahoo.com Fri Sep 12 18:38:01 2003 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri Sep 12 18:38:01 2003 Subject: Linux CD (live evaluation) Message-ID: <20030912233142.63703.qmail@web40504.mail.yahoo.com> Hi developers, How can I use Revolution for linux from a live evaluation in a CD? Web links and advice are welcome. Thanks in advance. 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 tuviah at runrev.com Fri Sep 12 18:52:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Fri Sep 12 18:52:00 2003 Subject: [OT] browser plugin patents - warning! References: <200309122159.RAA24674@www.runrev.com> Message-ID: <012001c37988$40a08280$0100a8c0@user> Wow how will this impact Java. Looks like Eolas has managed to disable Java in ways MS never could. Looks like these days maybe developers should spend less time coding as more time at the patent office. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From dsc at swcp.com Fri Sep 12 18:59:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 18:59:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <200309122250.h8CMoMTR080773@shinra.com> Message-ID: <50227554-E57C-11D7-84B4-000A9567A3E6@swcp.com> On Friday, September 12, 2003, at 04:50 PM, Edwin Gore wrote: > What is REALLY irritating is that prior art on this is SOOOO bloody > obvious. > > Anybody ever hear of an operating system? It's this basic framework > that you can seamlessly extend with these doodads called applications > and drivers. I can't comment on this particular case, but I know what you mean. It seems more and more of what was in the programmer's tool box is suddenly missing. On the other hand, I know a lot can be obvious in hindsight. Dar Scott From alex at mindlube.com Fri Sep 12 19:01:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 19:01:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <012001c37988$40a08280$0100a8c0@user> Message-ID: <9F5C3A72-E57C-11D7-86FC-000393529642@mindlube.com> On Friday, September 12, 2003, at 05:47 PM, Tuviah Snyder wrote: > Wow how will this impact Java. Looks like Eolas has managed to disable > Java > in ways MS never could. Here are their patents, including the Plugin one http://www.eolas.com/technology.html > Looks like these days maybe developers should spend less time coding > as more > time at the patent office. Might not be so bad! Einstein worked at the patent office during his formative years. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gizmotron at earthlink.net Fri Sep 12 19:09:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Sep 12 19:09:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <012001c37988$40a08280$0100a8c0@user> Message-ID: On Friday, September 12, 2003, at 04:47 PM, Tuviah Snyder wrote: > Wow how will this impact Java. Looks like Eolas has managed to disable > Java > in ways MS never could. > > Looks like these days maybe developers should spend less time coding > as more > time at the patent office. Have you looked lately at how much it costs to litigate a patent infringement lawsuit? Anyone might be better off opening a coffee shop near the lunch room. Then again anyone can use the prier art clause to prevent others from patenting their new ideas. Just publish the idea on the web and nobody can patent it. I can't believe this. "Write once, run anywhere." Hah! Run for the hills more like. This will put an end to the website executable movement that has just begun to take off. Think about this too; what about SSL 128 bit encryption. Will this mean that that will need to be closed from its current use? From alex at mindlube.com Fri Sep 12 19:19:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 19:19:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: <1182E027-E57F-11D7-86FC-000393529642@mindlube.com> On Friday, September 12, 2003, at 05:14 PM, Jim Lambert wrote: > obvious.> > > And yet MS's legion of attorneys could not prevail. > Wonder if they wanted to lose? People are assuming that Microsoft couldn't show prior art. But remember there was no TCP/IP stack builtin to Windows until 1995. In '93 Microsoft was just discovering the Internet - in a sense. But what about AOL, Compuserve, various BBS systems? I'm guessing that's why Eolas went after Microsoft instead of AOL. I hate software patents. Software companies should be forced to compete on quality of product and speed to market, not on "I had this idea before you nya-nya-nya-nya-nya" Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gizmotron at earthlink.net Fri Sep 12 19:21:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Sep 12 19:21:00 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <9F5C3A72-E57C-11D7-86FC-000393529642@mindlube.com> Message-ID: <51D067EF-E57F-11D7-A79B-000A95859272@earthlink.net> On Friday, September 12, 2003, at 04:55 PM, Alex Rice wrote: > Here are their patents, including the Plugin one > http://www.eolas.com/technology.html > And here it is: United States Patent 5,838,906 Doyle , ? et al. November 17, 1998 Distributed hypermedia method for automatically invoking external application providing interaction and display of embedded objects within a hypermedia document Abstract A system allowing a user of a browser program on a computer connected to an open distributed hypermedia system to access and execute an embedded program object. The program object is embedded into a hypermedia document much like data objects. The user may select the program object from the screen. Once selected the program object executes on the user's (client) computer or may execute on a remote server or additional remote computers in a distributed processing arrangement. After launching the program object, the user is able to interact with the object as the invention provides for ongoing interprocess communication between the application object (program) and the browser program. One application of the embedded program object allows a user to view large and complex multi-dimensional objects from within the browser's window. The user can manipulate a control panel to change the viewpoint used to view the image. The invention allows a program to execute on a remote server or other computers to calculate the viewing transformations and send frame data to the client computer thus providing the user of the client computer with interactive features and allowing the user to have access to greater computing power than may be available at the user's client computer. From edgore at shinra.com Fri Sep 12 20:05:00 2003 From: edgore at shinra.com (Edwin Gore) Date: Fri Sep 12 20:05:00 2003 Subject: [OT] browser plugin patents - warning! References: Message-ID: <007001c37992$33b0d980$6701a8c0@ed> Actually, once a patent has been issued, it's VERY difficult to get it revoked based on a claim of prior art - there is an assumption within the legal system that the patent office works. Only the most horrific examples (Compton trying to claim it owned the entire idea of multimedia, BT claiming it owned hyperlinking) have been overturned. I'm not saying that Microsoft is not doing everything they can about this, and that they have not come up with tons of examples of prior art. I'm saying that the patent office is screwed up and that it never should have been issued in the first place - it's a terrible patent to begin with. ----- Original Message ----- > obvious.> > > And yet MS's legion of attorneys could not prevail. > Wonder if they wanted to lose? > > JimL > --- From dsc at swcp.com Fri Sep 12 20:08:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 12 20:08:00 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <1182E027-E57F-11D7-86FC-000393529642@mindlube.com> Message-ID: On Friday, September 12, 2003, at 06:13 PM, Alex Rice wrote: >> > obvious.> >> >> And yet MS's legion of attorneys could not prevail. >> Wonder if they wanted to lose? > > People are assuming that Microsoft couldn't show prior art. But > remember there was no TCP/IP stack builtin to Windows until 1995. In > '93 Microsoft was just discovering the Internet - in a sense. I don't think this patent requires TCP/IP. Dar Scott From mdswindell at charter.net Fri Sep 12 20:21:01 2003 From: mdswindell at charter.net (Mark Swindell) Date: Fri Sep 12 20:21:01 2003 Subject: Print with dialog? In-Reply-To: <165954AA-E4CB-11D7-90C6-0003937A97B8@genesearch.com.au> Message-ID: >> > Hi Mark, > > If you use "open printing", then the "print card" statement(s) just > queue all the cards you want to print, until you use "close printing" > to tell them to go ahead. This enables you to print multiple cards at > a time, but is perhaps less than intuitive :-) > > Anyway, just add a line to your script, after print card... saying > "close printing" and all will be well. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ > Sarah, Thank you. That did the trick. Mark From alex at mindlube.com Fri Sep 12 20:22:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 20:22:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: On Friday, September 12, 2003, at 07:02 PM, Dar Scott wrote: > I don't think this patent requires TCP/IP. I meant because networked hypermedia is unlikely to have existed previous to TCP/IP. Maybe not just thinking out loud. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gizmotron at earthlink.net Fri Sep 12 20:38:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Sep 12 20:38:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: <26C35B1A-E58A-11D7-9750-000A95859272@earthlink.net> On Friday, September 12, 2003, at 06:02 PM, Dar Scott wrote: > I don't think this patent requires TCP/IP. from: http://164.195.100.11/netacgi/nph- Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/ srchnum.htm&r=1&f=G&l=50&s1='5838906'.WKU.&OS=PN/5838906&RS=PN/5838906 The Internet provides a uniform and open standard for allowing various computers and networks to communicate with each other. For example, the Internet uses Transfer Control Protocol/Internet Protocol ("TCP/IP") that defines a uniform packet-switched communication standard which is ultimately used in every transfer of information that takes place over the Internet. and FIG. 7A is a flowchart describing some of the functionality within the HTMLparse.c file of routines. The routines in HTMLparse.c perform the task of parsing a hypermedia document and detecting the EMBED tag. In a preferred embodiment, the enhancements to include the EMBED tag are made to an HTML library included in public domain NCSA Mosaic version 2.4. Note that much of the source code in is pre-existing NCSA Mosaic code. Only those portions of the source code that relate to the new functionality discussed in this specification should be considered as part of the invention. The new functionality is identifiable as being set off from the main body of source code by conditional compilation macros such as "#ifdef . . . #endif" as will be readily apparent to one of skill in the art. From alex at mindlube.com Fri Sep 12 21:17:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 12 21:17:00 2003 Subject: survey: improving the script editor In-Reply-To: Message-ID: <947024E2-E58F-11D7-86FC-000393529642@mindlube.com> On Friday, September 12, 2003, at 01:29 AM, xbury.cs at clearstream.com wrote: > I've tried the RR editor and Im definitely not as happy as with my > own. It has lots of nice > features compared to the lame MC editor. But I've put in many more... > > I've added lots and lots of features (like breakpoints moving along > with your > script editing, line numbers, auto-completion, grep-searching (grep > replace to come), > coloring, superb-indexes for functions, handlers, variables, > structures, etc... Non-transcript > function lookup, Balancing, auto-completion, type-ahead, editable > Script and GUI colors. > To name a few ;) Xavier, For my Emacs xtalk-mode, I've done syntax coloring, and have moved on now to code indention. I'm reading the revFormatField handler of the revScriptEditor (IDE editor) however I'm not understanding the code very well. Do you have a transcript code indent algorithm/handler you can share? I would rewrite it in lisp to go in my xtalk-mode. Thanks, 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 Sat Sep 13 00:03:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sat Sep 13 00:03:01 2003 Subject: [OT] browser plugin patents - warning! Message-ID: Check out my blog today (http://www.eclecticity.com) for Jeffrey Zeldman's thoughts about what this does to the Web developer, and for a link to Ray Ozzie (Lotus Notes) elaborate refutation of the patent based on prior art he personally invented. Ultimately, this one may get overturned by a higher court. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From jtenny at willamette.edu Sat Sep 13 00:11:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Sat Sep 13 00:11:01 2003 Subject: failed Windows build due to bad icons In-Reply-To: <023e01c3797f$b8f35c70$6501a8c0@LightningFlash> Message-ID: Anyone tried the latest version of Iconographer? Now runs in X only, and creates full range of icons (so they say). http://www.mscape.com/products/iconographer.html $15 shareware in English, Japanese, French John On Friday, September 12, 2003, at 03:46 PM, Ken Ray wrote: > You got it, Alex. Here's the URL: > > http://www.qtam-computer.com > > I have a copy as well. Works great! > > 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: Friday, September 12, 2003 2:30 PM >> To: use-revolution at lists.runrev.com >> Subject: Re: failed Windows build due to bad icons >> >> >> >> On Friday, September 12, 2003, at 01:13 PM, Brian Thomas wrote: >> >>> Is anyone have trouble building satisfactory 16 color windows icons? >> >> Windows icons are just about impossible to build correctly on my >> experience. I would recommend using shareware QTam BMP2Ico >> (sp?) I seem >> to remember trying Graphic Converter first with no success. >> >> I am building on OS X and it correctly builds my windows.ico file, >> created with BMPT2Ico, into the exe. >> >> Alex Rice | Mindlube Software | > http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > 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 > > Peace, John Flowing Thought Educational Solutions 503-508-3398 From gizmotron at earthlink.net Sat Sep 13 00:48:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Sep 13 00:48:00 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: <0B3D12D6-E5AD-11D7-B3F6-000A95859272@earthlink.net> On Friday, September 12, 2003, at 09:57 PM, Dan Shafer wrote: > Ultimately, this one may get overturned by a higher court. In view of the reasonable argument for prior art the granting of the patent should be overturned. After that the lawsuit could fall apart on its own merit. Flimsy patents are over turned all the time. I just have to laugh that no one came forward for poor old Microsoft. After all it was a free IE that used heavy-handed tactics to give itself the upper-hand in the emerging browser war. Perhaps Netscape inventors will step up to save Internet Explorer after all this. It's funny, what comes around goes around. From dsc at swcp.com Sat Sep 13 00:58:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 13 00:58:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <26C35B1A-E58A-11D7-9750-000A95859272@earthlink.net> Message-ID: <63344749-E5AE-11D7-84B4-000A9567A3E6@swcp.com> On Friday, September 12, 2003, at 07:32 PM, Mark Brownell wrote: >> I don't think this patent requires TCP/IP. > > from: > http://164.195.100.11/netacgi/nph- > Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/ > srchnum.htm&r=1&f=G&l=50&s1='5838906'.WKU.&OS=PN/5838906&RS=PN/5838906 > > The Internet provides a uniform and open standard for allowing various > computers and networks to communicate with each other. For example, > the Internet uses Transfer Control Protocol/Internet Protocol > ("TCP/IP") that defines a uniform packet-switched communication > standard which is ultimately used in every transfer of information > that takes place over the Internet. This is in the background. I'm guessing that the important parts of the background are those parts that provide definitions for words and phrases in the claims. > > and > > FIG. 7A is a flowchart describing some of the functionality within the > HTMLparse.c file of routines. The routines in HTMLparse.c perform the > task of parsing a hypermedia document and detecting the EMBED tag. In > a preferred embodiment, the enhancements to include the EMBED tag are > made to an HTML library included in public domain NCSA Mosaic version > 2.4. Note that much of the source code in is pre-existing NCSA Mosaic > code. Only those portions of the source code that relate to the new > functionality discussed in this specification should be considered as > part of the invention. The new functionality is identifiable as being > set off from the main body of source code by conditional compilation > macros such as "#ifdef . . . #endif" as will be readily apparent to > one of skill in the art. This is in the embodiment. The broadest claim does not mention TCP/IP. It is interesting that the background mentions HyperCard: > A hypertext document is a document that allows a user to view a text > document displayed on a display device connected to the user's > computer and to access, retrieve and view other data objects that > are linked to hypertext words or phrases in the hypertext > document. In a hypertext document, the user may "click on," or > select, certain words or phrases in the text that specify a link > to other documents, or data objects. In this way, the user is > able to navigate easily among data objects. The data objects may > be local to the user's computer system or remotely located over a > network. An early hypertext system is Hypercard, by Apple Computer, > Inc. Hypercard is a standalone system where the data objects are > local to the user's system. Dar Scott From dsc at swcp.com Sat Sep 13 01:20:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 13 01:20:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <9F5C3A72-E57C-11D7-86FC-000393529642@mindlube.com> Message-ID: <7B48E02B-E5B1-11D7-84B4-000A9567A3E6@swcp.com> On Friday, September 12, 2003, at 05:55 PM, Alex Rice wrote: > Here are their patents, including the Plugin one > http://www.eolas.com/technology.html It seems in the broadest claim a "browser" on a network takes an object specified by media to be at a certain place and displays it "within the display area" specified using an "external executable application" allowing the object to be interactive. (It may be that this claim is ignored and only more specific claims apply.) It seems to me that the way around this is to remove "external" or "executable application" from an implementation. Just babbling. Just as long as a Revolution stack is a document and not an "external executable application". Dar Scott From diwag at pingnet.ch Sat Sep 13 01:21:01 2003 From: diwag at pingnet.ch (Jean-Jacques Wagner) Date: Sat Sep 13 01:21:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: Well if you are a small developer, using a patent protected item for yourself or a small group of people around you, using such a patent should not give you to much problem. Nobody will pay the court cost to suite you, because you will not have the fund to pay any kind of reward. Most of the time the best think to do is to ask and get in contact with the patent owner. We never now what he is intending to do with his patent. Maybe he ask you a small license, which might be al together affordable or he or one of his licensee might be interested to work with you. I am myself involve in a patent case against the Swiss government and Daimler Chrysler. They do not want to talk with me. That's a big mistake. They do not want to talk with me because they know that I cannot afford a court action against them. Here they might be wrong, but nevertheless I can insure you, the one who is going to court because someone is infringing his patent rights will cost a lot of money. he need a good temper and a lot of time too. No one would start a court action against a company or entity, which is closed to bankrupcy or has little money. Just a thougth, Jean_Jacques Wagner From x at monsieurx.com Sat Sep 13 02:41:14 2003 From: x at monsieurx.com (MisterX) Date: Sat Sep 13 02:41:14 2003 Subject: Importing HC Stack In-Reply-To: Message-ID: Hi everyone, I found the source of problems importing stacks. The paintings in the stacks are the cause it seems. Compacting may have something to do but for some stacks, removing the paint in the cd or bg or both will solve your problems! Now, this is really bad because lots of stacks are just pictures... And I didn't find a way to do an automatic export... Anyone has such a stack? cheers Xavier From psahores at easynet.fr Sat Sep 13 03:48:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Sep 13 03:48:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: References: Message-ID: <1063442550.5138.8.camel@www.kmax.ici> Le sam 13/09/2003 ? 06:57, Dan Shafer a ?crit : > Check out my blog today (http://www.eclecticity.com) for Jeffrey > Zeldman's thoughts about what this does to the Web developer, and for a > link to Ray Ozzie (Lotus Notes) elaborate refutation of the patent > based on prior art he personally invented. > > Ultimately, this one may get overturned by a higher court. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 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 Thanks for the input, Dan. In reading this, i more and more thinking that it's time to gohead in using Rev to build ERP's networked alternative solutions -- Best 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 psahores at easynet.fr Sat Sep 13 03:59:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Sep 13 03:59:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <012001c37988$40a08280$0100a8c0@user> References: <200309122159.RAA24674@www.runrev.com> <012001c37988$40a08280$0100a8c0@user> Message-ID: <1063443191.5138.12.camel@www.kmax.ici> Le sam 13/09/2003 ? 01:47, Tuviah Snyder a ?crit : > Wow how will this impact Java. Looks like Eolas has managed to disable Java > in ways MS never could. !!! :-) > Looks like these days maybe developers should spend less time coding as more > time at the patent office. > > Tuviah Snyder > Runtime Revolution Limited - Software at the Speed of Thought > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Sat Sep 13 08:20:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Sep 13 08:20:01 2003 Subject: linux question In-Reply-To: <1063401952.2749.46.camel@www.kmax.ici> Message-ID: <2EF17F25-E5EC-11D7-A4D3-000A27B49A96@major-k.de> Bon jour Pierre, > Le ven 12/09/2003 ? 19:14, Klaus Major a ?crit : >> Bong sure Pierre ;-), > Hum ! Is my "Spaten beer grade based language"... Ah, Spaten Br?u :-) >> ... >> Ah, mercy bocuse... > Paul Bocuse ? Mais oui, la nouvelle cuisine... >> Ah, thanks a lot.... > ... a little... > (...lots...) ...a little lot... >> Fine, then i will use the build-in GZ routines :-) >>> Tchuss ! Pierre >> Oh reservoir :-D > ...away from the well knowed european language named "German" ? Yeah, like in "reservoir dogs" ;-) >> ... >> P.S. >> I knew you have a sense of humour ;-) > A cool lazy way to say "y'a vol" in german ? LOL :-) > Auf wieder Zen, Freund Klaus :) A good one, too ;-) Enjoy your weekend, mon ami... Regards Klaus Major klaus at major-k.de www.major-k.de From gizmotron at earthlink.net Sat Sep 13 09:44:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Sep 13 09:44:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <63344749-E5AE-11D7-84B4-000A9567A3E6@swcp.com> Message-ID: On Friday, September 12, 2003, at 10:51 PM, Dar Scott wrote: >>> I don't think this patent requires TCP/IP. > This is in the background. I'm guessing that the important parts of > the background are those parts that provide definitions for words and > phrases in the claims. > > This is in the embodiment. > > The broadest claim does not mention TCP/IP. > > It is interesting that the background mentions HyperCard: > > Dar Scott Dar, You caught me. I just love to tell tall tells around the camp fire. I'm particularly interested in the suit being centered around regards to the parser technology regarding the use of the tag set. Let's hope that those wishing for Flash integration in Rev were only hoping it would occur in a player and not in the text field. Mark From dsc at swcp.com Sat Sep 13 10:50:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 13 10:50:00 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: <19A65182-E601-11D7-8812-000A9567A3E6@swcp.com> On Saturday, September 13, 2003, at 08:38 AM, Mark Brownell wrote: > You caught me. I just love to tell tall tells around the camp fire. Oh, no, it was good you brought up the mention. Besides, there is no evidence that I know how to read a patent. > I'm particularly interested in the suit being centered around regards > to the parser technology regarding the use of the tag > set. Let's hope that those wishing for Flash integration in Rev were > only hoping it would occur in a player and not in the text field. Yes. Yet the mention of Hypercard in the background might contribute to a broad interpretation of what a hypertext document is. The whole thing contributes to an environment in which there is a fear to innovate. Dar Scott From gizmotron at earthlink.net Sat Sep 13 11:17:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Sep 13 11:17:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <19A65182-E601-11D7-8812-000A9567A3E6@swcp.com> Message-ID: On Saturday, September 13, 2003, at 08:44 AM, Dar Scott wrote: > Besides, there is no evidence that I know how to read a patent. Me to. I can read one but you had better not depend on what I think it means. > Yes. Yet the mention of Hypercard in the background might contribute > to a broad interpretation of what a hypertext document is. In the background section of the patent there is a lot of definition stuff about what a hypertext document is and what a what a hypermedia document is. > The whole thing contributes to an environment in which there is a fear > to innovate. FUD (Fear, Uncertainty, and Doubt) it's a tried and true tactic. This whole thing directly effects my MTML project. I may need to drop the auto next feature for sound and video in my new MTML browser applications. I was using a href="soundAuto=audiofile.wav" /a tags to create auto play tags that auto execute a go to next. This might be seen as using a form of the patented process. I liked the feature. I will have to read the whole patent. My idea goes to the next page, an MTML " HTML / MTML here " after the sound or video is done playing. Mark From edgore at shinra.com Sat Sep 13 11:49:01 2003 From: edgore at shinra.com (Edwin Gore) Date: Sat Sep 13 11:49:01 2003 Subject: [OT] browser plugin patents - warning! References: <7B48E02B-E5B1-11D7-84B4-000A9567A3E6@swcp.com> Message-ID: <003c01c37a16$19ce1030$6701a8c0@ed> I believe that because the revolution stack contains code that is interpreted, it is considered to be an executable application - this is how their claim against Java works. ----- Original Message ----- > Just as long as a Revolution stack is a document and not an "external > executable application". > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Sat Sep 13 12:12:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Sep 13 12:12:01 2003 Subject: Importing HC Stack In-Reply-To: References: Message-ID: <3F634E8B.4070807@hyperactivesw.com> On 9/13/03 2:39 AM, MisterX wrote: > I found the source of problems importing stacks. > The paintings in the stacks are the cause it seems. You must compact the stack two or three times in a row before importing it to Rev. This is very important. I've had imported stacks corrupt and crash repeatedly if I try to import them without compacting in HyperCard first. If the problem really is bad paint graphics, you can always use "export paint" in HyperCard to build a file on disk and then import it to the converted Rev stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Sat Sep 13 12:26:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 13 12:26:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <003c01c37a16$19ce1030$6701a8c0@ed> Message-ID: <8D9A1EE6-E60E-11D7-8812-000A9567A3E6@swcp.com> On Saturday, September 13, 2003, at 10:43 AM, Edwin Gore wrote: > I believe that because the revolution stack contains code that is > interpreted, it is considered to be an executable application - this > is how > their claim against Java works. Hmmm. Suppose RunRev adds a control that is a view into a stack. A Revolution based app gets a stack from a network source and runs it, but its stack-view control loads a local stack. The local stack uses some custom properties of of the stack-view control to communicate on the network. Perhaps this would run afoul of the broadest claims of the patent. Oh, maybe not. Because if a stack is an executable application, then surely the first stack is not a HyperText document. Or might a stack be both? I'm just looking for trouble and should be punished. Dar Scott From pixelbird at interisland.net Sat Sep 13 12:38:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Sep 13 12:38:00 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: <200309131552.LAA11229@www.runrev.com> Message-ID: Hi Dar, > Date: Fri, 12 Sep 2003 23:51:58 -0600 > Subject: Re: [OT] browser plugin patents - warning! > From: Dar Scott >> from: >> http://www.164.195.100.11/netacgi/nph- ---------- I tried to review this for the HyperCard siting, but I got a bad URL address error (Object Not Found). Any corrections or help would be appreciated. Ken N. From richmond at mail.maclaunch.com Sat Sep 13 12:50:00 2003 From: richmond at mail.maclaunch.com (Mathewson) Date: Sat Sep 13 12:50:00 2003 Subject: revtools hacks: ever upwards, sideways, downwards, and so on Message-ID: Dear RunRev Afficionados, I had a really bad night last night - hallucinations and so on - so have just uploaded the results to my website: GUI HACKS page (now with direct link from default page):- revtools vertical positional: lots of problems ironed out, a few new features - if you have a monitor of at least 1024 x 768 res this is the vertical tool palette for you. revtools horizontal positional: as above but horizontal. revMenubar green : sorry I have a problem with RR's default colour so I hacked this as well. As I am off to be a jolly graduate student on Monday I will not have as much time on my hands so development of these widgets will slow down. Download them, enjoy them, and enjoy Runtime Revolution! 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 Sat Sep 13 13:02:02 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 13 13:02:02 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: On Saturday, September 13, 2003, at 08:39 AM, Ken Norris wrote: > I tried to review this for the HyperCard siting, but I got a bad URL > address > error (Object Not Found). Alex provided this: > Here are their patents, including the Plugin one > http://www.eolas.com/technology.html And [<-- gratuitous "and" to go before the word "from" starting a line] from there I followed the link to the patent. Hope that works with your browser. Unless you have one that blocks reading of this patent. ;-) Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From pixelbird at interisland.net Sat Sep 13 13:24:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Sep 13 13:24:00 2003 Subject: Tiny Voicemailer In-Reply-To: <200309111601.MAA32664@www.runrev.com> Message-ID: Howdy, I'm working out ideas for a tiny voicemailer in different venues. Not knowing much about Win/PC machines (I'm a Mac person), I'd like some advice on what the best, easiest, most popular sound file formats to use on Win/PC 's are. I would like my folks to be able to play back automatically in their email (attachment-in-body). I'd like bit-rate control, in case I want to send them music from our band. Ideas? TIA, Ken N. From alex at mindlube.com Sat Sep 13 13:26:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 13 13:26:01 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <01d601c3792f$89770b90$6501a8c0@LightningFlash> Message-ID: On Friday, September 12, 2003, at 07:12 AM, Ken Ray wrote: > Alex, > > It looks good, but when you say "enter a Transcript command that opens > a > temporary file", what do you mean? I tried: > > launch "c:\program files\textpad 4\textpad.exe" > > And it launched TextPad, but not with the script. Can you give an > example? Ken, did you get textpad working? Please send a recipe if you did. I am trying to get nodepad and wordpad recipes working, but something weird is going on w/ Windows runrev. The edit launch handler uses a single "do" command, but quotes get messed up with a shell command with quotes. This wasn't happening on Mac OS X so it's kinda weird. Now I'm looking at a "do" for each line of the transcript command. 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 Sep 13 14:00:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 13 14:00:00 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: Message-ID: On Saturday, September 13, 2003, at 12:19 PM, Alex Rice wrote: > The edit launch handler uses a single "do" command, but quotes get > messed up with a shell command with quotes. This wasn't happening on > Mac OS X so it's kinda weird. Now I'm looking at a "do" for each line > of the transcript command. Uh. I think on Window command lines you can't backslash spaces but can backslash quotes. Or something like that. Anyway, what I mean to say is you may need to check if there is a difference in handling the spaces in args. Dar Scott From alex at mindlube.com Sat Sep 13 14:11:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 13 14:11:00 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <01d601c3792f$89770b90$6501a8c0@LightningFlash> Message-ID: <3EEFAC8A-E61D-11D7-A9C5-000393529642@mindlube.com> On Friday, September 12, 2003, at 07:12 AM, Ken Ray wrote: > It looks good, but when you say "enter a Transcript command that opens > a > temporary file", what do you mean? I tried: > > launch "c:\program files\textpad 4\textpad.exe" Ken, ignore my previous post. The transcript command is run through format() so the problem is that format() interprets \ as the escape character for C strings. So any backslashes have to be escaped "c:\\program files..." > launch "c:\\program files\\textpad 4\\textpad.exe" However, it probably is going to have to be something like this to feed it the filename to open put "%s" into tTmpFile put quote & "c:\\program files\\textpad 4\\textpad.exe" & quote into tEditor get shell( tEditor && tTmpFile ) 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 Sep 13 14:13:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 13 14:13:01 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <58BA418A-E4E7-11D7-B54C-000393529642@mindlube.com> Message-ID: <7C53ED2A-E61D-11D7-A9C5-000393529642@mindlube.com> On Friday, September 12, 2003, at 12:07 AM, Alex Rice wrote: > * The Help card of the mainstack has a bit of documentation. > * scripts are unlocked- please suggest improvements or bug fixes > * tested on Rev 2.1, Mac OS X. > * Is 100% transcript so should work with other OS ...update & warning... OS X: Is working well, and I've made some bug fixes and updates (v1.0 b3) Windows: This plugin is not working on Windows 2000 for me. I goes into a hung state when a file is saved and it tries to read it back in. This is perhaps a separate issue than the \\ double escaped pathnames that are required in the command. Linux: not tested. I'll make another announcement when there are more editor launch recipes, and it works on Windows. 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 Sep 13 14:28:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 13 14:28:01 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: Message-ID: <8D8455F1-E61F-11D7-8812-000A9567A3E6@swcp.com> On Saturday, September 13, 2003, at 12:54 PM, Dar Scott wrote: > Uh. I think on Window command lines you can't backslash spaces but > can backslash quotes. Or something like that. Anyway, what I mean to > say is you may need to check if there is a difference in handling the > spaces in args. Uh. Wait. Not backslash... I've been trying the Camp Greenlake method to build character today and my brain is a little fuzzier than usual after all that. Dar Scott From alex at mindlube.com Sat Sep 13 14:39:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 13 14:39:01 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <3EEFAC8A-E61D-11D7-A9C5-000393529642@mindlube.com> Message-ID: <12602508-E621-11D7-A9C5-000393529642@mindlube.com> On Saturday, September 13, 2003, at 01:05 PM, Alex Rice wrote: > The transcript command is run through format() so the problem is that > format() interprets \ as the escape character for C strings. So any > backslashes have to be escaped "c:\\program files..." And to avoid all the silliness, in future versions I will just use replaceText() instead of format() to put the temp filename into the transcript command template. 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 Sep 13 14:45:02 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 13 14:45:02 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: <8D8455F1-E61F-11D7-8812-000A9567A3E6@swcp.com> Message-ID: On Saturday, September 13, 2003, at 01:22 PM, Dar Scott wrote: > > Uh. Wait. Not backslash... > > I've been trying the Camp Greenlake method to build character today > and my brain is a little fuzzier than usual after all that. Is camp greenlake a movie reference? I'm imagining a "hazing incident" with yourself? :-) Thanks for suggestions though 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 Sep 13 15:02:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 13 15:02:01 2003 Subject: [ANN] MLXEditor - runrev plugin for script editing with ANY external editor app In-Reply-To: Message-ID: <6322B74E-E624-11D7-8812-000A9567A3E6@swcp.com> On Saturday, September 13, 2003, at 01:39 PM, Alex Rice wrote: >> I've been trying the Camp Greenlake method to build character today >> and my brain is a little fuzzier than usual after all that. > > Is camp greenlake a movie reference? I'm imagining a "hazing incident" > with yourself? :-) Book and movie _Holes_. You take a bad boy and make him dig a hole in the hot sun all day and it turns him into a good boy; that's the philosophy of Camp Greenlake. Dar From gizmotron at earthlink.net Sat Sep 13 15:05:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Sep 13 15:05:00 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: On Saturday, September 13, 2003, at 10:56 AM, Dar Scott wrote: > Alex provided this: >> Here are their patents, including the Plugin one >> http://www.eolas.com/technology.html >> search for this: United States Patent 5,838,906 Doyle , ? et al. November 17, 1998 from this site: http://164.195.100.11/netahtml/srchnum.htm From cszasz at newwave.net Sat Sep 13 19:24:00 2003 From: cszasz at newwave.net (Charles Szasz) Date: Sat Sep 13 19:24:00 2003 Subject: Highighted text link to other text Message-ID: Using the recipe for highlighting text, I was able to get text to turn yellow when you move the cursor over the text. The question I have now is how do I get a text box appear that is linked to a word like you find in Revolution help? Charles From alex at mindlube.com Sun Sep 14 02:48:43 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Sep 14 02:48:43 2003 Subject: [ANN] xtalk/transcript mode for Emacs editor Message-ID: Announcing an Emacs major mode for transcript; runrev and metacard's scripting language. Features of xtalk-mode are: * complete syntax colorization including transcript types, keywords, commands and constants. * code indentation (haphazard, imperfect, but it does help a bit). * handful of macros for building function, handler and other code structures. * and of course, lots of other benefits coming from emacs itself, such as: unlimited undo, extensibility via lisp macros, and electric braces and parens. You can download the xtalk-mode here. The mode is a text file and there is a README at the head of the file: xtalk-mode will be especially useful in combination with my external text editor plugin for runrev, MLXEditor: MLXEditor is a plugin for the runrev IDE that enables one to edit scripts with any text editor, provided one can write a transcript command to launch the editor with a temporary filename. MLXEditor is in BETA! so use at your own risk! Repeat- danger! It doesn't work on Windows, yet, but is working pretty good on Mac OS X. I don't know if it will work with Metacard- it probably will work without too much changes. "But What is Emacs" you ask? See Emacs for OS X: If you use OS X, you really should download the binary app bundle of Emacs 21.3.50 I distribute. It's a Carbon build that has a complete GUI and menu system, but does not require X Windows: Enjoy, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From psahores at easynet.fr Sun Sep 14 04:02:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sun Sep 14 04:02:00 2003 Subject: [ANN] xtalk/transcript mode for Emacs editor In-Reply-To: References: Message-ID: <1063529787.10460.9.camel@www.kmax.ici> Thanks and congratulations, Alex, for doing those very usefull piece of stuff available to us. I will not find time to use them before december but be sure i will then ask lots about how to get the best from your Emacs-aware stacks. I believe that this kind of softs could greatly help to improve the Rev's/MC popularity in the *NIX sphere. Bests Regards, Pierre Le dim 14/09/2003 ? 09:41, Alex Rice a ?crit : > Announcing an Emacs major mode for transcript; runrev and metacard's > scripting language. Features of xtalk-mode are: > > * complete syntax colorization including transcript types, keywords, > commands and constants. > * code indentation (haphazard, imperfect, but it does help a bit). > * handful of macros for building function, handler and other code > structures. > * and of course, lots of other benefits coming from emacs itself, such > as: unlimited undo, extensibility via lisp macros, and electric braces > and parens. > > You can download the xtalk-mode here. The mode is a text file and there > is a README at the head of the file: > > > xtalk-mode will be especially useful in combination with my external > text editor plugin for runrev, MLXEditor: > > MLXEditor is a plugin for the runrev IDE that enables one to edit > scripts with any text editor, provided one can write a transcript > command to launch the editor with a temporary filename. MLXEditor is in > BETA! so use at your own risk! Repeat- danger! It doesn't work on > Windows, yet, but is working pretty good on Mac OS X. I don't know if > it will work with Metacard- it probably will work without too much > changes. > > > "But What is Emacs" you ask? See > > > Emacs for OS X: If you use OS X, you really should download the binary > app bundle of Emacs 21.3.50 I distribute. It's a Carbon build that has > a complete GUI and menu system, but does not require X Windows: > > > Enjoy, > > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at mindlube.com Sun Sep 14 11:19:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Sep 14 11:19:01 2003 Subject: [ANN] xtalk/transcript mode for Emacs editor In-Reply-To: <1063529787.10460.9.camel@www.kmax.ici> Message-ID: <71912C2F-E6CE-11D7-8FAF-000393529642@mindlube.com> On Sunday, September 14, 2003, at 02:56 AM, Pierre Sahores wrote: > Thanks and congratulations, Alex, for doing those very usefull piece of > stuff available to us. I will not find time to use them before december > but be sure i will then ask lots about how to get the best from your > Emacs-aware stacks. Actually there is no Emacs-aware stack, just that MLXEditor can launch external editing apps, Emacs happening to be one of them and my preferred one :-) > I believe that this kind of softs could greatly help to improve the > Rev's/MC popularity in the *NIX sphere. > > Bests Regards, Pierre Thanks, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From jonin at hawaii.rr.com Sun Sep 14 13:41:00 2003 From: jonin at hawaii.rr.com (Michael) Date: Sun Sep 14 13:41:00 2003 Subject: OS X Question Message-ID: <002b01c37aef$007cb0d0$6602a8c0@hex> On OS X, I log in as the admin and install revolution. When I try and set the capabilities of it for sub users, it never saves any changes I make to it. Also, the capabilities of a small program I wrote in Revolution also can't be set. I go to system settings -> accounts -> -> capabilities, and I can check the boxes for the sub user, but after I close the window any changes to the checkboxes of Revolution and things built in Revolution remain unchecked while all the other programs can be changed. Any advice? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Revinfo1155 at aol.com Sun Sep 14 13:42:00 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Sun Sep 14 13:42:00 2003 Subject: Returning amount of total memory Message-ID: <17d.204edfa1.2c960f14@aol.com> What's the command or function that returns the amount of total memory a computer has? running rev 2.1 jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Sun Sep 14 13:43:15 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 14 13:43:15 2003 Subject: [ANN] RevZilla 1.0 Released Message-ID: <004c01c37aef$1b6aeab0$6501a8c0@LightningFlash> Hey, everyone! As some of you might know, I've been working on a Revolution front-end to RunRev's BugZilla bug tracking system. Well, it's now ready to be released! It includes the following features: - Posting bugs - Managing a list of your bugs that you posted - Saving bugs while not connected to the web for later loading and posting - Searching for bugs based on specific criteria - Viewing one or more bugs in a resizable palette - Voting on new features and more! Works on OS 9, OS X and Windows. More information is at: http://www.sonsothunder.com/devres/revolution/downloads/RevZilla.htm and you can get it either at the page above or through RevNet. (Please report any bugs or suggestions through RevZilla's feedback mechanism.) Enjoy and happy bug hunting! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From admin at elementarysoftware.com Sun Sep 14 13:59:01 2003 From: admin at elementarysoftware.com (admin at elementarysoftware.com) Date: Sun Sep 14 13:59:01 2003 Subject: drawer shrinkage Message-ID: <50523.12.231.86.90.1063565612.squirrel@mail.abhost.net> I have been unable to get the drawers feature to open repeatedly at certain sizes. Perhaps this is a feature of drawers but, if so, I have yet to grasp the rule. I notice that the drawer shrinks slightly (in relation to the edge it is being drawn into) each time it is closed and reopened. Eventually it reaches a stable size. I didn't notice anything on this list or in Bugzilla so perhaps I'm missing something. (Though Richmond Mathewsons' "Drawers" example does not suffer from this it will if the drawer stacks are enlarged.) Is this expected behavior? Is there a workaround? -Scott Morrow elementarysoftware.com From kray at sonsothunder.com Sun Sep 14 14:08:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 14 14:08:01 2003 Subject: Returning amount of total memory In-Reply-To: <17d.204edfa1.2c960f14@aol.com> Message-ID: <005701c37af2$ba0722d0$6501a8c0@LightningFlash> Mac or Windows? 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 Revinfo1155 at aol.com Sent: Sunday, September 14, 2003 1:36 PM To: use-revolution at lists.runrev.com Subject: Returning amount of total memory What's the command or function that returns the amount of total memory a computer has? running rev 2.1 jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From shaosean at unitz.ca Sun Sep 14 14:17:00 2003 From: shaosean at unitz.ca (Shao Sean) Date: Sun Sep 14 14:17:00 2003 Subject: [ANN] RevZilla 1.0 Released In-Reply-To: <004c01c37aef$1b6aeab0$6501a8c0@LightningFlash> Message-ID: <000601c37af3$ed5e55d0$fe42fea9@ciceronvv6jwd4> i tried grabbing it through revnet and i got 4 dialog boxes in a row stating "Could not get item:" -Sean From kray at sonsothunder.com Sun Sep 14 14:29:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 14 14:29:01 2003 Subject: [ANN] RevZilla 1.0 Released In-Reply-To: <000601c37af3$ed5e55d0$fe42fea9@ciceronvv6jwd4> Message-ID: <006901c37af5$8c06add0$6501a8c0@LightningFlash> Well, then it's not getting your cookies from your machine. I forgot to add in my post that you need to have logged into BugZilla at least once before in order for the proper cookies to be stored on your machine for RevZilla to retrieve. Go to: http://www.runrev.com/revolution/developers/bugdatabase/query.cgi?GoAhea dAndLogIn=1 and log in. Then try it again. Let me know if you still have trouble, 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 Shao Sean > Sent: Sunday, September 14, 2003 2:11 PM > To: use-revolution at lists.runrev.com > Subject: RE: [ANN] RevZilla 1.0 Released > > > i tried grabbing it through revnet and i got 4 dialog boxes > in a row stating > "Could not get item:" > > -Sean > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From Revinfo1155 at aol.com Sun Sep 14 14:35:01 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Sun Sep 14 14:35:01 2003 Subject: Returning amount of total memory Message-ID: <174.2033cf9c.2c961b80@aol.com> Both Mac and Windows In a message dated 9/14/03 3:06:35 PM, kray at sonsothunder.com writes: > > Mac or Windows? > > ? > > > 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 Revinfo1155 at aol.com > Sent: Sunday, September 14, 2003 1:36 PM > To: use-revolution at lists.runrev.com > Subject: Returning amount of total memory > > > What's the command or function that returns the amount of total memory a > computer has? > running rev 2.1 > > jack > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus at major-k.de Sun Sep 14 15:31:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 14 15:31:00 2003 Subject: drawer shrinkage In-Reply-To: <50523.12.231.86.90.1063565612.squirrel@mail.abhost.net> Message-ID: <9878357E-E6F1-11D7-9B1A-000A27B49A96@major-k.de> Hi Scott, > I have been unable to get the drawers feature to open repeatedly at > certain sizes. Perhaps this is a feature of drawers but, if so, I have > yet to grasp the rule. I notice that the drawer shrinks slightly (in > relation to the edge it is being drawn into) each time it is closed and > reopened. Eventually it reaches a stable size. I didn't notice > anything on > this list or in Bugzilla so perhaps I'm missing something. (Though > Richmond Mathewsons' "Drawers" example does not suffer from this it > will > if the drawer stacks are enlarged.) Is this expected behavior? Is > there a > workaround? This is a (already reported) bug. The workaround is to set the height (looks like its only the height that shrinks...) BEFORE you open the drawer like: set the height of stack "draw1" to 256 drawer stack "draw1" at... > -Scott Morrow > elementarysoftware.com Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From hersh at access4less.net Sun Sep 14 15:55:01 2003 From: hersh at access4less.net (Hershel) Date: Sun Sep 14 15:55:01 2003 Subject: Serial ports (Newbies) Message-ID: Hello, In general the serial command includes USB ports ? How can I query all my ports ? I'm am creating a POS , Can I send a ASCII code to the USB port with the serial command to open a cash drawer ? And also to a pole display ? Thanks in advanced Hersh From alex at mindlube.com Sun Sep 14 16:02:01 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Sep 14 16:02:01 2003 Subject: OS X Question In-Reply-To: <002b01c37aef$007cb0d0$6602a8c0@hex> Message-ID: On Sunday, September 14, 2003, at 12:35 PM, Michael wrote: > On OS X, I log in as the admin and install revolution. Michael, Revolution saves all of it's preferences and configuration info it's own folder, the application folder. Therefore you aren't going to be able to maintain different profiles for different users. There is a bug report on this and it should be fixed in a future version. As a workaround. I would give each user a copy of Revolution in their home folder. As for the preferences Pane for "Use only these applications" not sticking- I have no idea; I don't use that prefs pane. But it seems possible it could be related to the above item. 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 Sep 14 16:50:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Sep 14 16:50:00 2003 Subject: Serial ports (Newbies) In-Reply-To: Message-ID: On Sunday, September 14, 2003, at 02:49 PM, Hershel wrote: > In general the serial command includes USB ports ? On Windows and OS X this is so, but only for serial-to-USB adaptors and USB devices that present themselves as serialports. For Mac OS 9, I hear this will work only if the name is printer or modem. I don't know about Linux. > How can I query all my ports ? On OS X you get a list from driverNames(). On other platforms use the standard names. To keep from generating file names, open for read and if that works open for update and make your query. You might want to keep some ports off the list. On OS X the query will hang for 3 seconds each open for the internal modem. It is currently not on driverNames(), but it will probably be in the near future, so be sure and skip that. > I'm am creating a POS , Can I send a ASCII code to the USB port with > the serial command to open a cash drawer ? If the cash drawer has an ASCII serial interface, yes. For the time being, on OS X you are limited to lines ending with LF, only--and you must open for binary. > And also to a pole display ? The considerations are the same. There are some differences among platforms. For example, I/O is non-blocking on OS X but blocking on Windows and Mac OS. You might want to get some devices and start tinkering. Dar Scott From Tom.Cole at asu.edu Sun Sep 14 22:29:01 2003 From: Tom.Cole at asu.edu (Thomas Cole) Date: Sun Sep 14 22:29:01 2003 Subject: use-revolution digest, Vol 1 #1913 - 17 msgs Message-ID: <3996AE5EBEF964418D80953BDCABFF56A1CE88@ex1.asurite.ad.asu.edu> No one had any ideas, but that can't be so, because zillions of rev users must use the revprintfield command in their standalones. That's such a common thing. I'll post again. I hope someone has had the same problem and solved it. Everything works perfectly except this. I have a stack that prints a field. It prints fine in the windows standalone and the OSX standalone, but in Mac OS 9, an image of the field being printed appears across the screen and won't go away. It prints, but the user's machine has this big, white mess there. How can I keep it from doing that? It does it with the PPC, OS68,and OSfat standalones. What gives? Thanks, Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2921 bytes Desc: not available URL: From sarahr at genesearch.com.au Sun Sep 14 22:38:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Sep 14 22:38:00 2003 Subject: Non-English dates In-Reply-To: <36E1EDCC.67AEF1C6.DC67E5C7@aol.com> Message-ID: <76AA6F50-E72C-11D7-90C6-0003937A97B8@genesearch.com.au> English-speaking, but using Australian formats: [1] - yes, I get a valid date: 2004,6,1,2,0,0,3 [2] - Saturday is the last line of system weekDayNames although I have heard that this is not always the case in Australian systems. But, you can always identify weekends using the last item of the dateItems structure. In the example above, the last item is 3, which means Tuesday. (Sunday = 1, Monday = 2 etc.) Cheers, Sarah On Friday, September 12, 2003, at 07:53 pm, FlexibleLearning at aol.com wrote: > Two date questions... > > I am trying to manipulate locale-independent dates by using dateItems, > system weekdayNames and system monthNames. As I only have an > English-based system, could any non-English system users help me out? > > [1] Date format convert... > > on mouseUp > put line 6 of the abbrev system monthNames into tMth # or pick a > number 1-12 > get (tMth & " 1, 2004") # or pick a year > convert it to dateItems > put it &cr& the result # Do you get "invalid date"? > end mouseUp > > > [2] Weekends... > > I understand it is dangerous to assume that line 7 of the system > weekdayNames always refers to a Saturday and line 1 always refers to a > Sunday. > > If this is the case, how do we reliably identify weekend dates? From sarahr at genesearch.com.au Sun Sep 14 22:39:02 2003 From: sarahr at genesearch.com.au (Sarah) Date: Sun Sep 14 22:39:02 2003 Subject: 'grabber' icon In-Reply-To: Message-ID: <19BB3E52-E72D-11D7-90C6-0003937A97B8@genesearch.com.au> Hi Chris, How about importing one of the extra cursors from the Image Library and then editing that to give your grabber hand? There are some funny tricks to making a cursor transparent, so you may need to search the mailing list archives if you are still having problems. Cursors need to be 3 colors: black, white and some other color for the transparent section. They also need to be a specific size: 16 x 16 is cross-platform but Windows can also use 32 x 32. Cheers, Sarah On Thursday, September 11, 2003, at 10:41 pm, Chris Condit wrote: > > Hi Revolutionaries: > > Does anyone have an icon for a 'grabber'tool - essentially an closed > hand used for dragging the scroll of a stack? I don't see one in the > standard metacard or revolution icons, and need one to show the user > that when they depress the command (or control key) the group will > scroll. > > And how does one make such icons? If I make a bitmapped (gif) icon, > the background is always showing, and I would like to have the tool > show without a background. > > TIA > > -- > Dr. Christopher D. Condit, Associate Prof., Dept. of Geosciences > Univ. Massachusetts, 611 North Pleasant St., Amherst, MA, 01003-9297 > ccondit at geo.umass.edu 413-545-0272 > My Web Page: http://www.geo.umass.edu/faculty/condit.htm > Revolution/MetaCard Dynamic Digital Maps: http://ddm.geo.umass.edu > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From m.young at mac.com Sun Sep 14 23:22:00 2003 From: m.young at mac.com (Michael Young) Date: Sun Sep 14 23:22:00 2003 Subject: check box and closefield In-Reply-To: <200309150231.WAA15276@www.runrev.com> Message-ID: <59C81C8A-E733-11D7-AE21-000A956A6E6C@mac.com> Hello, I am trying to put text field information into an output text field if a check box is true. In addition if I change the check box's text field information then I want the check box set to true and the text field information sent to output text field. I have written the following scripts that appear to work correctly. (Feel free to critique my style, since I am still learning.) Button 1 script: on mouseUp if hilite of me then put fld "Field 1" into fld "Output" else put "" into fld "Output" end mouseUp Field 1 script: on closefield if hilite of btn "Button 1" is false then hilite btn "Button 1" put fld "Field 1" into fld "Output" end closefield What I cannot figure out how to do is create x buttons with x fields and send the field information to the output text field in the button order, i.e. button 1 true button 2 true button 3 false button 4 true button 5 false button 6 true etc. should yield output text field field 1 field 2 field 4 field 6 etc. Thank you for your assistance, Michael RR 2.1 OS X 10.2.6 From tuviah at runrev.com Mon Sep 15 00:32:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Mon Sep 15 00:32:00 2003 Subject: drawer shrinkage References: <200309150232.WAA15297@www.runrev.com> Message-ID: <012401c37b49$e0adee30$afbe040a@user> >This is a (already reported) bug. Yes this has been verified and fixed. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From ludovic.thebault at laposte.net Mon Sep 15 01:14:01 2003 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Mon Sep 15 01:14:01 2003 Subject: check box and closefield In-Reply-To: <59C81C8A-E733-11D7-AE21-000A956A6E6C@mac.com> References: <59C81C8A-E733-11D7-AE21-000A956A6E6C@mac.com> Message-ID: <20030915080801281998.GyazMail.ludovic.thebault@laposte.net> On Sun, 14 Sep 2003 22:16:16 -0600, Michael Young wrote: > What I cannot figure out how to do is create x buttons with x fields > and send the field information to the output text field in the button > order, i.e. try : on mouseUp if hilite of me is true then put fld ("Field "&last word of the short name of me) into fld "Output" else put "" into fld "Output" end mouseUp Field 1 script: on closefield if hilite of btn ("Button "&last word of the short name of me) is false then hilite btn ("Button "&last word of the short name of me) put me into fld "Output" end closefield From xbury.cs at clearstream.com Mon Sep 15 02:20:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon Sep 15 02:20:01 2003 Subject: Returning amount of total memory Message-ID: For NT4 or 2000 get shell("mem") will return: 655360 bytes total conventional memory 655360 bytes available to MS-DOS 632176 largest executable program size 15728640 bytes total contiguous extended memory 0 bytes available contiguous extended memory 15570944 bytes available XMS memory MS-DOS resident in High Memory Area ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 Revinfo1155 at aol.com Sent by: use-revolution-admin at lists.runrev.com 14/09/03 21:29 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Re: Returning amount of total memory Both Mac and Windows In a message dated 9/14/03 3:06:35 PM, kray at sonsothunder.com writes: Mac or Windows? ? 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 Revinfo1155 at aol.com Sent: Sunday, September 14, 2003 1:36 PM To: use-revolution at lists.runrev.com Subject: Returning amount of total memory What's the command or function that returns the amount of total memory a computer has? running rev 2.1 jack Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From hansydelm at ntlworld.com Mon Sep 15 05:43:00 2003 From: hansydelm at ntlworld.com (Hans Ydelm) Date: Mon Sep 15 05:43:00 2003 Subject: Free PCPLUS edition In-Reply-To: References: Message-ID: <1063622440.4151.32.camel@Linux104> Hi all, I have been trying to get hold of the free 1.1 version that came with the PCPLUS magazine a few month ago. Unfortunately PCPLUS doesn't seem to respond to my request to buy that particular edition, so is anybody kind enough to ftp it to me? (or email if <10MByte) please email me and I will send you my ftp details. I have the free edition which came with my Linux Format magazine but it seems rather unstable on my RH9 machine so I am hoping the windows version is a bit better. I only use it for some hobby project (see http://www.ht-lab.com/vhdlsort/vhdlsort.html) so the 1.1 version is more than enough. Thanks, Hans. From Roger.E.Eller at sealedair.com Mon Sep 15 09:43:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Mon Sep 15 09:43:01 2003 Subject: [ANN] RevZilla 1.0 Released Message-ID: Ken, Absolutely wonderful looking program! However, I could not get out because of my company's firewall. Could you please add a firewall config section, and prompt the user for user/pass when necessary? I look forward to trying out RevZilla from home later this evening. Kind Regards, Roger Eller roger.e.eller at sealedair.com > (Please report any bugs or suggestions through RevZilla's feedback > mechanism.) > > Enjoy and happy bug hunting! > > Ken Ray > Sons of Thunder Software From pbsi at mac.com Mon Sep 15 10:01:01 2003 From: pbsi at mac.com (Brian Maher) Date: Mon Sep 15 10:01:01 2003 Subject: UI Question / Browse Type Object Message-ID: <4552457.1063637714275.JavaMail.pbsi@mac.com> Hi Folks, I am new to Revolution and have an application design question. I am developing database apps on OS X and was wondering what people do for the typical database scenario where the user needs the ability to scroll thru a list of records (I call it a "browse") to select a record to view/edit/delete? What about filtering the list? How do you go about creating something that (as close as possible) conforms to the OS X UI guidelines? Can anyone provide me (offline) some screen shots on what you have done (i.e. I am looking for ideas). Many Thanks, Brian Maher From rcozens at pon.net Mon Sep 15 10:49:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 15 10:49:01 2003 Subject: UI Question / Browse Type Object In-Reply-To: <4552457.1063637714275.JavaMail.pbsi@mac.com> References: <4552457.1063637714275.JavaMail.pbsi@mac.com> Message-ID: >I am developing database apps on OS X and was wondering what people >do for the typical database scenario where the user needs the >ability to scroll thru a list of records (I call it a "browse") to >select a record to view/edit/delete? Hi Brian, Here are some approaches I use: 1. Maintain a scroll field in the stack on-the-fly by updating the field with each addition, deletion, or change to displayed information. Limitation: not suitable for active multi-user dbs. 2. Ask the db to return paired lists of specified record content and the corresponding record ids. Display the first list in a field with a mouseUp handler along the lines of loadARecord line (word 2 of the clickLine) of field "Record Ids". Limitation: server O/H accessing all records. 3. Display a search dialog that fetches & displays all/next/someQuantity of matching records for the user to select from. This uses Transcript's Find command, and is reasonable fast--I have test dbs up to 20K+ records & 20+MB. In addition, in Client/Server mode each hit is returned to the client, which in turn issues another Find starting at the new location. This reduces the potential for searching a large range of records from locking out other clients...however this is still a potential problem as the entire range will be searched in one operation if the target text is not found. The search dialog will be included in the next release of Serendipity Library. If you'd like a copy or a screen shot of the search subStack, let me know privately. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From kray at sonsothunder.com Mon Sep 15 10:53:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 15 10:53:00 2003 Subject: [ANN] RevZilla 1.0 Released In-Reply-To: Message-ID: <006a01c37ba0$8e3c5bd0$6501a8c0@LightningFlash> Thanks for the suggestion, Roger. I'll contact you offlist about what might be needed to add this to RevZilla. 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 > Roger.E.Eller at sealedair.com > Sent: Monday, September 15, 2003 9:32 AM > To: use-revolution at lists.runrev.com > Subject: Re: [ANN] RevZilla 1.0 Released > > > Ken, > > Absolutely wonderful looking program! However, I could not > get out because > of my company's firewall. Could you please add a firewall > config section, > and prompt the user for user/pass when necessary? I look > forward to trying > out RevZilla from home later this evening. > > Kind Regards, > Roger Eller > roger.e.eller at sealedair.com > > > (Please report any bugs or suggestions through RevZilla's feedback > > mechanism.) > > > > Enjoy and happy bug hunting! > > > > Ken Ray > > Sons of Thunder Software > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From pixelbird at interisland.net Mon Sep 15 12:27:02 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Sep 15 12:27:02 2003 Subject: mp3/Player problems In-Reply-To: <200309150231.WAA15276@www.runrev.com> Message-ID: Howdy, 1) Scenario: mp3 file is in the same folder as the stack the name of the file is "september.mp3 copy" In the Inspector I type "september.mp3 copy" into the source box. It will not play. Why? I see if I put the whole filepath into it it will play. But the default folder is the same, and the docs say that if the file is in the default folder, you need not spec the filepath. What's wrong? 2) Scenario: Same player as above. Player is offscreen, using my own buttons. "PLAY" button: on mouseUp play player 1 end mouseUp "STOP" button: on mouseUp stop player 1 end mouseUp When I click the STOP button it stops fine. When I click the PLAY button it always resumes. I want it to restart at the beginning. How do I do that? Mucho TIA, Ken N. From klaus at major-k.de Mon Sep 15 12:42:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 15 12:42:00 2003 Subject: mp3/Player problems In-Reply-To: Message-ID: <17AC25B6-E7A3-11D7-882A-000A27B49A96@major-k.de> Hi Ken, > Howdy, > > 1) Scenario: > > mp3 file is in the same folder as the stack That does not mean necessarily that "the directory" is also set to that folder! Check it in the messages box: put the directory That will be the problem... > the name of the file is "september.mp3 copy" > > In the Inspector I type "september.mp3 copy" into the source box. > > It will not play. Why? See above... > I see if I put the whole filepath into it it will play. But the default > folder is the same, and the docs say that if the file is in the default > folder, you need not spec the filepath. What's wrong? > > 2) Scenario: > Same player as above. Player is offscreen, using my own buttons. > > "PLAY" button: > > on mouseUp > play player 1 > end mouseUp > > "STOP" button: > > on mouseUp > stop player 1 > end mouseUp > > When I click the STOP button it stops fine. When I click the PLAY > button it > always resumes. That's the way its upposed to work :-) > I want it to restart at the beginning. How do I do that? Rewind that thing ;-) on mouseUp set the currenttime of player 1 to 0 ## rewind :-) play player 1 end mouseUp Et voila, c'est ca... > Mucho TIA, > Ken N. Regards Klaus Major klaus at major-k.de www.major-k.de From FlexibleLearning at aol.com Mon Sep 15 13:04:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon Sep 15 13:04:00 2003 Subject: Non-English dates Message-ID: <135.25040018.2c9757a2@aol.com> English-speaking, but using Australian formats: [1] - yes, I get a valid date: 2004,6,1,2,0,0,3 [2] - Saturday is the last line of system weekDayNames although I have heard that this is not always the case in Australian systems. But, you can always identify weekends using the last item of the dateItems structure. In the example above, the last item is 3, which means Tuesday. (Sunday = 1, Monday = 2 etc.) Cheers, Sarah Thank you, Sarah... Much off-line comment on this and it seems we may now have an 'international' presentation and date management engine. Under beta. Non-English system testers welcome. Please contact me off-list. /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 Mon Sep 15 17:40:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Sep 15 17:40:01 2003 Subject: QT/rev experts In-Reply-To: <200309111601.MAA32664@www.runrev.com> Message-ID: Howdy, I want to convert QT recordings to mp3, but it appears the only MPEG conversion format now offered by QT is MPEG 4, which my mom's computer may not support. Any comments appreciated. Ken N. From pixelbird at interisland.net Mon Sep 15 18:58:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Sep 15 18:58:01 2003 Subject: Return QT values In-Reply-To: <200309111601.MAA32664@www.runrev.com> Message-ID: Howdy, Is there a way to return the QuickTime settings chosen from the "answer record" dialog? TIA, Ken N. From scott at tactilemedia.com Mon Sep 15 18:58:35 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Sep 15 18:58:35 2003 Subject: QT/rev experts In-Reply-To: Message-ID: Recently, Ken Norris wrote: > I want to convert QT recordings to mp3, but it appears the only MPEG > conversion format now offered by QT is MPEG 4, which my mom's computer may > not support. > > Any comments appreciated. If you have iTunes, it will convert to MP3 and several other audio formats. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From sarahr at genesearch.com.au Mon Sep 15 19:04:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Mon Sep 15 19:04:00 2003 Subject: check box and closefield In-Reply-To: <59C81C8A-E733-11D7-AE21-000A956A6E6C@mac.com> Message-ID: Group your check boxes and put a script like this in the group: on mouseUp put empty into field "Field 1" repeat with x = 1 to 6 if the hilite of button ("Button " & x) then put field ("Field " & x) after field "Output" end repeat end mouseUp Make sure that if you don't have any mouseUp handlers in the individual buttons, or the message won't get through to the group. In your closeField handlers, you could set the hilite of the relevant checkbox, then send mouseUp to group "Buttons Group" Cheers, Sarah On Monday, September 15, 2003, at 02:22 pm, Michael Young wrote: > Hello, > > I am trying to put text field information into an output text field if > a check box is true. In addition if I change the check box's text > field information then I want the check box set to true and the text > field information sent to output text field. I have written the > following scripts that appear to work correctly. (Feel free to > critique my style, since I am still learning.) > > Button 1 script: > on mouseUp > if hilite of me > then put fld "Field 1" into fld "Output" > else put "" into fld "Output" > end mouseUp > > Field 1 script: > on closefield > if hilite of btn "Button 1" is false > then hilite btn "Button 1" > put fld "Field 1" into fld "Output" > end closefield > > What I cannot figure out how to do is create x buttons with x fields > and send the field information to the output text field in the button > order, i.e. > button 1 true > button 2 true > button 3 false > button 4 true > button 5 false > button 6 true > etc. > > should yield output text field > field 1 > field 2 > field 4 > field 6 > etc. > > Thank you for your assistance, > > Michael > RR 2.1 > OS X 10.2.6 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From pixelbird at interisland.net Mon Sep 15 19:46:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Sep 15 19:46:01 2003 Subject: First time recording help In-Reply-To: <200309111601.MAA32664@www.runrev.com> Message-ID: Howdy, I have two buttons: on mouseUp record sound file "MySound" end mouseUp on mouseUp stop recording end mouseUp I assumed this should create a QT file "MySound" with all the defaults in the current folder, but nothing happens. What do I do next? TIA, Ken N. From kkaufman at snet.net Mon Sep 15 21:56:01 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Sep 15 21:56:01 2003 Subject: First time recording help Message-ID: "....I have two buttons: on mouseUp record sound file "MySound" end mouseUp on mouseUp stop recording end mouseUp I assumed this should create a QT file "MySound" with all the defaults in the current folder, but nothing happens. What do I do next?...." Ken, If I start up Revolution (v1.1.1, but I don't suppose it matters here), create a new stack with 2 buttons and scripts as you outlined above, when clicking the buttons a sound file is saved to the folder that contains the Revolution application. As was mentioned in a previous message, make sure you have set the defaultFolder (or the directory) to wherever you wish to save the sound file. -KK From Neville.Smythe at anu.edu.au Mon Sep 15 22:39:00 2003 From: Neville.Smythe at anu.edu.au (Neville Smythe) Date: Mon Sep 15 22:39:00 2003 Subject: Non-English dates Message-ID: <79627BD8-E7F6-11D7-B6C3-000A959CAC58@anu.edu.au> I am bemused (and initially quite confused) that "english date" returns a non-english (that is, US ) format date, particularly odd for an app designed in Scotland! (for MetaCard compatibility perhaps?) And aren't Friday and Saturday the weekend for Arabic countries and Israel, in which case the day number won't help? $@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%? 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 ambassador at fourthworld.com Mon Sep 15 22:40:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 15 22:40:01 2003 Subject: [OT] Broadband in the UK Message-ID: For those of you developing 'Net apps with Rev, this story from The Independent describes recent advances at British Telecom which now make broadband available to 80% of UK homes: From themacguy at macosx.com Mon Sep 15 22:41:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 15 22:41:01 2003 Subject: How to save a QT movie? Message-ID: I have a stack with a QT Player object. The object references an on-disk movie of the user's choosing. The user can move the controller to shift back and forth through the movie. There are buttons to set "in" and "out" points. Once I have this data, can I save a copy of the movie from the "in" point to the "out" point? I can import the movie as a videoclip if necessary. Thanks, Barry From m.young at mac.com Mon Sep 15 22:42:01 2003 From: m.young at mac.com (Michael Young) Date: Mon Sep 15 22:42:01 2003 Subject: check box and closefield In-Reply-To: <200309151603.MAA29951@www.runrev.com> Message-ID: On Monday, September 15, 2003, at 10:03 AM, use-revolution-request at lists.runrev.com wrote: > Subject: Re: check box and closefield > From: =?iso-8859-1?Q?Ludovic_Th=E9bault?= > > Organization: la mienne > Reply-To: use-revolution at lists.runrev.com > > On Sun, 14 Sep 2003 22:16:16 -0600, Michael Young wrote: >> What I cannot figure out how to do is create x buttons with x fields >> and send the field information to the output text field in the button >> order, i.e. > > try : > on mouseUp > if hilite of me is true > then put fld ("Field "&last word of the short name of me) into fld > "Output" > else put "" into fld "Output" > end mouseUp > > Field 1 script: > on closefield > if hilite of btn ("Button "&last word of the short name of me) is > false > then hilite btn ("Button "&last word of the short name of me) > put me into fld "Output" > end closefield Thank you for your input. I cut and pasted it but it did not work. I do not understand why your suggestion does not work. Is there some trick to get this suggestion to work, then I could write the two scripts once and put them at the card level rather than write them many times at the individual object level? But I guess I was also clear in what I am trying to do. What I need is the following: button 1 true with field 1 information: foo button 2 true with field 2 information: bar button 3 false with field 3 information: soft button 4 true with field 4 information: taco button 5 false with field 5 information: ham button 6 false with field 6 information: burger output field information: foo bar taco burger I have done more looking into RR (since I am still very new to it). Should I be using a Switch control structure with the mouseup and closefield commands handled there? Michael From monte at sweattechnologies.com Mon Sep 15 23:19:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Sep 15 23:19:00 2003 Subject: Non-English dates In-Reply-To: <79627BD8-E7F6-11D7-B6C3-000A959CAC58@anu.edu.au> Message-ID: Actually the history of the english date goes right back to HyperCard. In most cases your best bet is to use the system modifier. The english modifier actually does nothing unless you have useSystemDate set to true and I assume is only there for HC compatibility. PS, good to see another Australian. If you're interested in joining a very (ultra) low volume list of Australian Revers just email to: majordomo at sweattechnologies.com with the following in the body: subscribe ozrug Cheers Monte > I am bemused (and initially quite confused) that "english date" returns > a non-english (that is, US ) format date, particularly odd for an app > designed in Scotland! (for MetaCard compatibility perhaps?) > > And aren't Friday and Saturday the weekend for Arabic countries and > Israel, in which case the day number won't help? > > $@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%? $@%? > 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tkuypers at pandora.be Tue Sep 16 01:43:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Tue Sep 16 01:43:01 2003 Subject: XML Library and diacritics: how to? In-Reply-To: Message-ID: Did i miss the answer to this one? We have the same problem/question... Regards, Ton Kuypers > From: Jo?l Guillod > Reply-To: use-revolution at lists.runrev.com > Date: Tue, 09 Sep 2003 18:05:05 +0200 > To: > Subject: XML Library and diacritics: how to? > > How can I set the value of an attribute when this value contains non *pure* > ASCII characters, i.e. diacritics? > > For instance: > > revSetXMLAttribute docid,theNode,"Jo?l" -- does not work > revSetXMLAttribute docid,theNode,uniEncode("Jo?l","UTF-8") -- does not work > revSetXMLAttribute docid,theNode,fld "containing Jo?l" -- does not work > > This works but is not convenient: > > revSetXMLAttribute docid,theNode,the htmltext of fld "containing Jo?l" > > What is the clue? > > Should the uniEncode() use some other language than UTF-8? > > Thanks for actual answer! > > Jo?l Guillod > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From peter9.smith at ps.ge.com Tue Sep 16 02:56:02 2003 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Tue Sep 16 02:56:02 2003 Subject: Pros and cons of where to store image data Message-ID: <6192367D59F8904CA553579EF41FEEA001C1DFA5@ukcbgx01psge.geips.ge.com> I'm still on the newbie learning curve so bear with me. If you want to have an image on a card you have two choices as to where to store the image data? Either inside the image itself or in an external file? Assuming that's correct what are the pros and cons? If you hold the image data inside the card is it compressed in the stack file? I'd prefer to hold the image data inside the card as that should be faster loading the stack. Thanks for any help, Peter Smith. From ambassador at fourthworld.com Tue Sep 16 03:19:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 16 03:19:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: <6192367D59F8904CA553579EF41FEEA001C1DFA5@ukcbgx01psge.geips.ge.com> Message-ID: peter9.smith at ps.ge.com wrote: > I'm still on the newbie learning curve so bear with me. If you want to have > an image on a card you have two choices as to where to store the image data? > Either inside the image itself or in an external file? > > Assuming that's correct what are the pros and cons? If you hold the image > data inside the card is it compressed in the stack file? I'd prefer to hold > the image data inside the card as that should be faster loading the stack. It's simpler and faster to store images in the stack. However, everything in a stack file is loaded into memory whenever you open it, so referring to them is a good option for stacks with lots of images, as that generally takes less memory since it only loads the images needed for the current card. -- 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 Tue Sep 16 03:38:00 2003 From: curry at pair.com (curry) Date: Tue Sep 16 03:38:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: <200309160657.CAA14918@www.runrev.com> References: <200309160657.CAA14918@www.runrev.com> Message-ID: Does the Distribution Builder work correctly in changing in-stack images to referenced ones? It didn't work when I made a distribution. Using OSX 10.1 and Rev 2.0.3. If it has worked or not for anyone else could you let me know? Thanks, Curry From dsc at swcp.com Tue Sep 16 03:53:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 16 03:53:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: <6192367D59F8904CA553579EF41FEEA001C1DFA5@ukcbgx01psge.geips.ge.com> Message-ID: <7AD94BE6-E822-11D7-BC5E-000A9567A3E6@swcp.com> On Tuesday, September 16, 2003, at 01:48 AM, peter9.smith at ps.ge.com wrote: > I'm still on the newbie learning curve so bear with me. If you want > to have > an image on a card you have two choices as to where to store the image > data? > Either inside the image itself or in an external file? If the image is displayed several places, you might want to consider buttons with image references. > Assuming that's correct what are the pros and cons? If you hold the > image > data inside the card is it compressed in the stack file? That is my understanding. There are some image and other properties that control when images are uncompressed. > I'd prefer to hold > the image data inside the card as that should be faster loading the > stack. Hmmm. I don't know when external file images are loaded. If when the stack is opened, you might be right. Dar Scott From rcozens at pon.net Tue Sep 16 08:24:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 16 08:24:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: <6192367D59F8904CA553579EF41FEEA001C1DFA5@ukcbgx01psge.geips.ge.com> References: <6192367D59F8904CA553579EF41FEEA001C1DFA5@ukcbgx01psge.geips.ge.com> Message-ID: >If you want to have >an image on a card you have two choices as to where to store the image data? >Either inside the image itself or in an external file? > >Assuming that's correct what are the pros and cons? Hi Peter, One point not already mentioned: If one modifies a referenced external image, one only needs to replace the original image in the referenced folder; if one modifies an imported image, the original image must be deleted from and the new image must be imported into, each stack that uses it. (In other words, the Rev Dev isn't needed to update referenced images but it is required to update imported images.) BTW, there is a third option: place the images in a library stack that is put in use by the working stack...then one can replace the image library stack without modifying the working stack. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From xbury.cs at clearstream.com Tue Sep 16 08:39:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue Sep 16 08:39:01 2003 Subject: Dev Language Comparison Message-ID: Hi everyone, Just found this article on Slashdot.org: "Does C# Measure Up?" http://www.windevnet.com/wdn/webextra/2003/0313/ It would be interesting to see how RR now stacks up... Surely execution speed will be an issue but development speed is also a big factor. Also, the difference in execution speed is not always paramount where our advantage in GUI development is "probably" a clear winner. Given that externals are a pain to develop, they do bring the gap closer to "real" IDEs. Last but not least, an article on Slashdot.org regarding RR would be a boost to our little community... Comments or testing results anyone? Cheers Xavier Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcozens at pon.net Tue Sep 16 09:14:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 16 09:14:00 2003 Subject: Dev Language Comparison In-Reply-To: References: Message-ID: >Surely execution speed will be an issue but development speed is >also a big factor. Xavier, et al: There is also the issue of "support" or "update" speed: Change one character in C library source = recompile library, relink all applications, and distribute new copies of the application. Change one character in Transcript library source = distribute a new copy of the library. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rgould8 at aol.com Tue Sep 16 09:22:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Tue Sep 16 09:22:00 2003 Subject: ftping and filetype property Message-ID: <3F671B07.1020904@aol.com> An HTML attachment was scrubbed... URL: From pixelbird at interisland.net Tue Sep 16 09:52:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 16 09:52:01 2003 Subject: mp3/Player problems In-Reply-To: <200309160657.CAA14879@www.runrev.com> Message-ID: Hi Klaus, > Date: Mon, 15 Sep 2003 19:36:09 +0200 > Subject: Re: mp3/Player problems > From: Klaus Major > > on mouseUp > set the currenttime of player 1 to 0 ## rewind :-) > play player 1 > end mouseUp ---------- Thank you, I finally found it. Ken N. From rcozens at pon.net Tue Sep 16 09:59:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 16 09:59:01 2003 Subject: ftping and filetype property In-Reply-To: <3F671B07.1020904@aol.com> References: <3F671B07.1020904@aol.com> Message-ID: >has anyone created a master list of file-types in a Rev script and >parsed what their 8-character creator/type strings are? > >Eg. > >if extension = "jpg" then set the filetype to "prvwjpeg" >if extension = "ppt" then set the filetype to ..... >if extension = "doc" then set the filetype to ..... >if extension = "mov" then set the filetype to ..... Hi Rob, If you're uploading files for downloads via other than your own app, this won't work; however if the files are always downloaded via your app, you can compress the files & append the file type in a header or footer, then decompress the download, read the header/footer, and reset the file type. SDB Utilities uses this approach. If you go the scripted route, use switch logic instead of if logic: switch extension case "jpg" set the filetype to "prvwjpeg" break case "ppt" set the filetype to... break case "doc" set the filetype to... break case "mov" set the filetype to... break default answer "Unsupported file type" end switch -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From pixelbird at interisland.net Tue Sep 16 10:01:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 16 10:01:00 2003 Subject: First time recording help In-Reply-To: <200309160657.CAA14879@www.runrev.com> Message-ID: Hello again, and thanks so far. > Date: Mon, 15 Sep 2003 22:51:53 -0400 > Subject: First time recording help > From: Kurt Kaufman > As was mentioned in a previous message, make sure you have set the > defaultFolder (or the directory) to wherever you wish to save the sound > file. ---------- Thanks, I understand. I've set up file setup button that queries for a filename, then does an answerFolder routine, appends the filename to it, and voila!.. an absolute pathname in a global var. Thanks again, Ken N. From pixelbird at interisland.net Tue Sep 16 10:06:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 16 10:06:01 2003 Subject: First time recording help, another 2 Q's In-Reply-To: <200309160657.CAA14879@www.runrev.com> Message-ID: Howdy, A couple other questions: 1) What is the most prolific audio filetype for Win/PC machines? 2) How should I pass it in an attachment from my Mac OS 9.2.1 sent to Win/PC machines? Also, I'd like it to play automatically when the email opens, but no luck so far. Ken N. From xbury.cs at clearstream.com Tue Sep 16 10:06:17 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue Sep 16 10:06:17 2003 Subject: Dev Language Comparison Message-ID: Hey Rob, et all... We dont all work for MS developping MS WIndoze multi-mega-file compilation cycles ;)) Then again finding a bug in C is hell... That's for sure... Creating a 3 line script line in RR compared to C is a 2 minute job, not 2 days (or hours for gurus)... Besides, I thought incremetal compilers were the answer to the linking problem... You just recompile the changed code... Possibly dependencies if any. Worse is by far, retesting... While you can test on the fly on MC/RR, you can't really do that on C systems... But the worst case scenario here is if you develop externals... Compile, copy to the stack folder, run, test... Crash, fail test or run... Externals should be made easier and crash proof IMOHO... I miss CompileIT... ;) ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 Rob Cozens Sent by: use-revolution-admin at lists.runrev.com 16/09/03 16:08 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Re: Dev Language Comparison >Surely execution speed will be an issue but development speed is >also a big factor. Xavier, et al: There is also the issue of "support" or "update" speed: Change one character in C library source = recompile library, relink all applications, and distribute new copies of the application. Change one character in Transcript library source = distribute a new copy of the library. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rcozens at pon.net Tue Sep 16 11:02:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 16 11:02:00 2003 Subject: Dev Language Comparison In-Reply-To: References: Message-ID: >Externals should be made easier and crash proof IMOHO... I miss >CompileIT... You're not the only one...though I must say that so far I have had to give up very little functionality to maintain external-free handlers when converting from HyperTalk to Transcript. Not too surprising, since 80% of my externals were built to enhance performance or hide code. Rather than easier externals, I would prefer support for direct system calls from Transcript...with a syntax similar to CompileIt!'s. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From joel.guillod at net2000.ch Tue Sep 16 11:15:01 2003 From: joel.guillod at net2000.ch (Jo=?ISO-8859-1?B?6w==?=l Guillod) Date: Tue Sep 16 11:15:01 2003 Subject: XML Library and diacritics: how to? In-Reply-To: <200309160658.CAA14945@www.runrev.com> Message-ID: No Ton, you didn't and I still need the answer! I tried to find documentation on revXML and on UTF-8 but have not been able to find clues. So, keep me inform of your own conclusions and knowledgable experts please give us some light! Thanks Joel Guillod > Message: 15 > Date: Tue, 16 Sep 2003 08:37:37 +0200 > Subject: Re: XML Library and diacritics: how to? > From: "tkuypers at pandora.be" > To: > Reply-To: use-revolution at lists.runrev.com > > Did i miss the answer to this one? We have the same problem/question... > > Regards, > > Ton Kuypers > >> From: Jo?l Guillod >> Reply-To: use-revolution at lists.runrev.com >> Date: Tue, 09 Sep 2003 18:05:05 +0200 >> To: >> Subject: XML Library and diacritics: how to? >> >> How can I set the value of an attribute when this value contains non *pure* >> ASCII characters, i.e. diacritics? >> >> For instance: >> >> revSetXMLAttribute docid,theNode,"Jo?l" -- does not work >> revSetXMLAttribute docid,theNode,uniEncode("Jo?l","UTF-8") -- does not work >> revSetXMLAttribute docid,theNode,fld "containing Jo?l" -- does not work >> >> This works but is not convenient: >> >> revSetXMLAttribute docid,theNode,the htmltext of fld "containing Jo?l" >> >> What is the clue? >> >> Should the uniEncode() use some other language than UTF-8? >> >> Thanks for actual answer! >> >> Jo?l Guillod From ambassador at fourthworld.com Tue Sep 16 11:58:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 16 11:58:00 2003 Subject: Dev Language Comparison In-Reply-To: Message-ID: Rob Cozens wrote: > Rather than easier externals, I would prefer support for direct > system calls from Transcript...with a syntax similar to CompileIt Or even simpler, like ToolBook's. -- 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 Sep 16 12:05:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 16 12:05:01 2003 Subject: Dev Language Comparison In-Reply-To: Message-ID: xbury.cs at clearstream.com wrote: > Surely execution speed will be an issue but development speed is also a big > factor. Orders of magnitude greater efficiency in the development cycle, and not a huge difference in speed for many operations. Remember that 90% of the code being executed in Rev is highly-optimized C++, with your scripts acting as a glue between these compiled routines. And as far as the scripts themselves, Scott asserts that his bytecode is significantly more efficient than Java, and certainly the subjective experience confirms that. In a recent comparison on another list which deals with a allegedly compiled lower-level language, a task was handed out as a comparson: make an index of all words in the New Testament. In Rev it was seven lines that ran in 6 seconds. In the lower-level language it was more than 50 lines and took 12 seconds. I've had many reviewers assume WebMerge was written in C++, and their mostly correct. :) -- 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 Sep 16 12:16:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Tue Sep 16 12:16:00 2003 Subject: XML Library and diacritics: how to? References: <200309161516.LAA25562@www.runrev.com> Message-ID: <037901c37c75$74a27e90$afbe040a@user> > >> revSetXMLAttribute docid,theNode,"Jo?l" -- does not work Entering latin characters Seems to work fine when using the XML tree view example..even without using UTF-8. > >> revSetXMLAttribute docid,theNode,uniEncode("Jo?l","UTF-8") -- does not work Try put unidecode(uniencode("Jo?l"),"utf8") uniencode encodes the specified format as unicode. unidecode decodes unicode to the specified format. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From alex at mindlube.com Tue Sep 16 12:41:00 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 16 12:41:00 2003 Subject: Dev Language Comparison In-Reply-To: Message-ID: <383B09DE-E86C-11D7-BD22-000393529642@mindlube.com> On Tuesday, September 16, 2003, at 07:16 AM, xbury.cs at clearstream.com wrote: > Last but not least, an article on Slashdot.org regarding RR would be a > boost to our > little community... Maybe someone with a Rev/Linux success story can post there! > Comments or testing results anyone? I haven't read the article, too lengthy to look at right now. But some thoughts: C# and .NET requires end users to install ~ 20 MB runtime, right? That's worse than downloading an installing a Java runtime, which afaik is ~ 5-10MB. Rev has a huge advantage here with a 2 MB runtime. Yesterday I watched the demo (mentioned on slashdot) of Borlands new CBuilderX IDE for C and C++. It's Windows/Solaris/Linux. It's supposed to be their next-gen IDE that will last through the lifespan of C/C++ (decade? two?). I was drooling watching the demo- it's a nice IDE. But had to keep reminding myself: "You hate C++. Oh yeah". I think Rev would get a big boost if it's Externals SDK were documented, and if it had some generic .dll-glue capabilities like we've discussed on list before. Now that I've figured out how to write Rev externals (it was a challenge, let me tell you) is has opened up a lot of possibilities for me. My revclips external opens up the CLIPS expert system engine as transcript functions and handlers. In the future CLIPS will be able to inspect Rev object properties and call transcript handlers, via C calls runtime. This means that I will be able to control application logic either at the high transcript level, or at a deeper level in CLIPS with a rule based production system, or object-oriented, or procedural styles of programming. When I say deeper level that's only because it's abstracted down into an external lib. Not deeper as in - closer to a system programming language like C++ or Java. Considering it's all x-platform this opens up exciting possibilities for very smart xplatform apps in my eyes. A rule based production system is fast pattern matching engine. If you know SQL, imagine a 3 way join between tables with foreign keys. Now imagine a 10 way join. Now imagine an N-way join! And imagine that the state of your query is persistent and you can unroll it or tweak it as you go. That's kind of what rule based production system is about. Anyways now I'm rambling and don't know what this has to do with your question anymore :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From steve at messimercomputing.com Tue Sep 16 13:04:00 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Tue Sep 16 13:04:00 2003 Subject: revMail body limits Message-ID: <5B08550A-E86F-11D7-8BD4-000A27D75508@messimercomputing.com> Hi, I am creating a tool that includes the capability to send a field of information to a specified email address. The script that manages this works fine as long as the body of the message is small < 100 words (approximate) if it is much larger than that the script executes but doesn't send the mail. If the body of the message is decreased in size the script works without any problems. Is there some limit on the size of the body that can be sent w revMail? Is this a bug? Thanks Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available soon! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 From chipp at chipp.com Tue Sep 16 13:43:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Sep 16 13:43:00 2003 Subject: Best version of Rev to use for debugging? Message-ID: OK, Been working enough with 2.1 in XP to know that I *need* the debugger and variable watcher to work correctly. Geoff Canyon mentioned on Bugzilla there's a fix for it (#452) on the list somewhere...anyone know where? I've searched the archives 3 different ways and can't locate it. Until now, I'll use version 2.02 (as 2.03 has the same bug). -Chipp From janschenkel at yahoo.com Tue Sep 16 13:53:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Sep 16 13:53:00 2003 Subject: Best version of Rev to use for debugging? In-Reply-To: Message-ID: <20030916184751.88006.qmail@web11907.mail.yahoo.com> --- Chipp Walters wrote: > OK, > > Been working enough with 2.1 in XP to know that I > *need* the debugger and > variable watcher to work correctly. Geoff Canyon > mentioned on Bugzilla > there's a fix for it (#452) on the list > somewhere...anyone know where? > > I've searched the archives 3 different ways and > can't locate it. > > Until now, I'll use version 2.02 (as 2.03 has the > same bug). > > -Chipp > > Hi Chipp, That Rev-patching scaundrel would have been me :-) Link to the post : 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 isb at macconnect.com Tue Sep 16 13:55:01 2003 From: isb at macconnect.com (Ed McCabe) Date: Tue Sep 16 13:55:01 2003 Subject: error type i Message-ID: I purchased a studio version of RR over a week ago after using the temporary version long enough to determine that I was going to be able to convert my HC stacks successfully. Heather sent me a key strung to apply but when i did I was unable to upen the stack and received an error type 1 message. Thinking that I should not have applied the key string to the temporary version that I had been using on my imac with OS 9.2.2. I downloaded another copy of RR and applied the string - only to ghet the same error type 1 message and inability to open the application. I have been e-mailing heather for over a week looking for help with no respones. Is she OK? I suspect that the key string disabled itself the first time I tried it? help From erikhans08 at yahoo.com Tue Sep 16 16:08:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Sep 16 16:08:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: Message-ID: <20030916210230.74712.qmail@web20009.mail.yahoo.com> --- Richard Gaskin wrote: > everything in a stack file is loaded > into memory whenever you open > it, so referring to them is a good option for > stacks with lots of images, as > that generally takes less memory since it only > loads the images needed for the current card. in terms of say, hundreds, is a ball park estimate possible for "lots of images"? 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 erikhans08 at yahoo.com Tue Sep 16 16:22:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Tue Sep 16 16:22:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: Message-ID: <20030916211637.8863.qmail@web20006.mail.yahoo.com> --- Rob Cozens wrote: Change one character in C library source = recompile library, relink all applications, and distribute new copies of the application. Change one character in Transcript library source = distribute a new copy of the library === > One point not already mentioned: If one > modifies a referenced > external image, one only needs to replace the > original image in the > referenced folder; if one modifies an imported > image, the original > image must be deleted from and the new image > must be imported into, > each stack that uses it. (In other words, the > Rev Dev isn't needed > to update referenced images but it is required > to update imported > images.) > > BTW, there is a third option: place the images > in a library stack > that is put in use by the working stack...then > one can replace the > image library stack without modifying the > working stack. === two queries: 1. is there any trade-off downside to libraries? 2. are icons in buttons any different? better make that three: 3. if one somehow copies all of the icon images from a stack to a library stack, then erases the originals, should that run o.k.? it would be great to be able to change the icon images as you progress. ===== 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 pbsi at mac.com Tue Sep 16 16:38:01 2003 From: pbsi at mac.com (Brian K. Maher) Date: Tue Sep 16 16:38:01 2003 Subject: Best Way to do Multiple Instances of a Stack Message-ID: <3B95366B-E88D-11D7-90F3-000393020FF0@mac.com> Hi Folks, I have the need for my end users to be able to see multiple instances of a given window (substack) where each window would have a different title/label and would display different data from a database. What is the best way to accomplish this? Specifically ... if you use the clone command what is the best way to "initialize" the clone? Thanks, Brian Maher From kray at sonsothunder.com Tue Sep 16 16:48:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 16 16:48:01 2003 Subject: Best version of Rev to use for debugging? In-Reply-To: <20030916184751.88006.qmail@web11907.mail.yahoo.com> Message-ID: <019c01c37c9b$54e89690$6501a8c0@LightningFlash> Thanks, Jan! Now if we can only deal with the pesky breakpoints that don't clear themselves... :-) 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 > Jan Schenkel > Sent: Tuesday, September 16, 2003 1:48 PM > To: use-revolution at lists.runrev.com > Subject: Re: Best version of Rev to use for debugging? > > > --- Chipp Walters wrote: > > OK, > > > > Been working enough with 2.1 in XP to know that I > > *need* the debugger and > > variable watcher to work correctly. Geoff Canyon > > mentioned on Bugzilla > > there's a fix for it (#452) on the list > > somewhere...anyone know where? > > > > I've searched the archives 3 different ways and > > can't locate it. > > > > Until now, I'll use version 2.02 (as 2.03 has the > > same bug). > > > > -Chipp > > > > > > Hi Chipp, > > That Rev-patching scaundrel would have been me :-) > Link to the post : > 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 rgould8 at aol.com Tue Sep 16 17:32:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Tue Sep 16 17:32:00 2003 Subject: ftping and filetype property In-Reply-To: References: <3F671B07.1020904@aol.com> Message-ID: <3F678DF1.50607@aol.com> That sounds like a great idea. One last question - - - I know how to "set" the filetype, but I'm having trouble finding the Rev command to retrieve the filetype of a file on the hard-drive, before uploading to the server via FTP. Did you have to use Applescript to retrieve this info? Rob Cozens wrote on 9/16/03, 10:52 AM: > If you're uploading files for downloads via other than your own app, > this won't work; however if the files are always downloaded via your > app, you can compress the files & append the file type in a header or > footer, then decompress the download, read the header/footer, and > reset the file type. SDB Utilities uses this approach. From sarahr at genesearch.com.au Tue Sep 16 17:49:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Sep 16 17:49:00 2003 Subject: Best Way to do Multiple Instances of a Stack In-Reply-To: <3B95366B-E88D-11D7-90F3-000393020FF0@mac.com> Message-ID: Hi Brian, There are a few wrinkles to this, mainly to do with making sure the cloned stack doesn't appear briefly before you position it and re-draw it. This example assumes a sub-stack called "Clone" that will be cloned to become your new display stack (sorry it's a bit long-winded, but it took me a lot of time, and a lot of help from others on this list, to work all this stuff out): -- script to start off the process: cloneStack "Display Stack 1" -- The cloneStack handler is in the stack script of my main stack: on cloneStack newName if (newName is among the lines of the openStacks) then go to stack newName in a new window else -- work out positioning for the new stack & set a custom property in the original -- I use the topLeft position set the cPresetTL of stack "Clone" to "100,100" clone stack "Clone" set the name of stack "Copy of Clone" to newName end if end cloneStack The original "Clone" stack is set to destroyStack & destroyWindow as these copies are for temporary displays only. This means that they disappear whenever their windows are closed and don't get saved with the rest. The original (& therefore the clone) has a preOpenStack handler as follows: on preOpenStack open invisible me set the topleft of me to the cPresetTL of me -- now update the display in the new stack -- my drawGraphics handler does all this send "drawGraphics" to me in 5 ticks end preOpenStack I wouldn't have thought that an open invisible command would have worked within a preOpenStack handler as it is already opening, but it really does. Strangely, you don't even need to make the stack visible - it just appears in the correct place. One further wrinkle (& the reason why my drawGraphics handler is not called immediately) - cloning a stack overrides the lock screen command, so at first, my graphics were drawing visibly and slowly. I tried putting another lock screen command at the start of my drawGraphics handler but it still didn't work until I used a send to call drawGraphics after a delay. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On Wednesday, September 17, 2003, at 07:36 am, Brian K. Maher wrote: > Hi Folks, > > I have the need for my end users to be able to see multiple instances > of a given window (substack) where each window would have a different > title/label and would display different data from a database. What is > the best way to accomplish this? Specifically ... if you use the > clone command what is the best way to "initialize" the clone? > > Thanks, Brian Maher > From sarahr at genesearch.com.au Tue Sep 16 17:50:00 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Sep 16 17:50:00 2003 Subject: ftping and filetype property In-Reply-To: <3F678DF1.50607@aol.com> Message-ID: <448ABAAB-E897-11D7-90C6-0003937A97B8@genesearch.com.au> Check out the files command. If you use the long or detailed form, you get a list of files with multiple pieces of data about each file. The last item (if present) shows the file type & creator. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ > That sounds like a great idea. One last question - - - I know how to > "set" the filetype, but I'm having trouble finding the Rev command to > retrieve the filetype of a file on the hard-drive, before uploading to > the server via FTP. Did you have to use Applescript to retrieve this > info? > From ambassador at fourthworld.com Tue Sep 16 17:57:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 16 17:57:00 2003 Subject: Best Way to do Multiple Instances of a Stack In-Reply-To: <3B95366B-E88D-11D7-90F3-000393020FF0@mac.com> Message-ID: Brian K. Maher wrote: > I have the need for my end users to be able to see multiple instances > of a given window (substack) where each window would have a different > title/label and would display different data from a database. What is > the best way to accomplish this? Specifically ... if you use the clone > command what is the best way to "initialize" the clone? Here's my strategy: I have a template window as a substack, and clone it whenever a new document is created or opened, setting the stack name to something like "p"&the millisecs to make it unique, and set the stack's title to something descriptive (the file name or whatever else makes sense in your context). After setting it's name and title, I set a custom property to the full path of the file whose data is displayed in that window. If you're not displaying data from a file you could use custom props to store anything else that would be relevant for your app. One nice thing about this approach of using your own reference to a file is that it lets you distinguish betweeen new and opened documents: a new document as an empty value in its uDataFile property. Then you can respond appropriately when a Save is issued, calling your app's Save As first in order to assign it a file like most apps do. I maintain a uDirty property for each document window, setting it to true when any action is performd that will require saving later. On save I clear the uDirty property and do whatever I need to collect data from the window and write it to disk. Keep in mind that you're not limited to text files for data storge. If your data is structured you may find it helpful to use a stack file instead of a text file for storage, tucking data away neatly in custom props. (For more on that see: ) Whenever a stack gets a closeStackRequest message it checks the uDirty property and prompts for a save if needed. While this may seem like an few extra steps, I've found it's a decent way to handle document behaviors in a HIG-compliant way while maintaining complete separation of the data from the UI it's displayed in. If I want to change anything about how the data is displayed I just release a new version of the app and all documents are shown in clones of the template substack. A lot of us HyperCard and SuperCard users used to keep data and UI in the same stack, which seems simpler in some respects but can be hell when upgrading your app. There are reasons traditional programs maintain a separation between UI and data. ;) -- 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 pbsi at mac.com Tue Sep 16 17:57:21 2003 From: pbsi at mac.com (Brian K. Maher) Date: Tue Sep 16 17:57:21 2003 Subject: Best Way to do Multiple Instances of a Stack In-Reply-To: Message-ID: <41BC96B4-E898-11D7-90F3-000393020FF0@mac.com> Hi Sarah, Thank you very much. That is exactly what I needed. Cheers, Brian From ambassador at fourthworld.com Tue Sep 16 18:04:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 16 18:04:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: <20030916210230.74712.qmail@web20009.mail.yahoo.com> Message-ID: erik hansen wrote: > --- Richard Gaskin > wrote: >> everything in a stack file is loaded >> into memory whenever you open >> it, so referring to them is a good option for >> stacks with lots of images, as >> that generally takes less memory since it only >> loads the images needed for the current card. > > in terms of say, hundreds, is a ball park > estimate possible for "lots of images"? It depends on the size of the images: 200 icons will take up a fraction of the space required ny 200 photgraphs. The main considerations extend further than just size. Think about how your app will be deployed, and whether its practical to require a subfolder with your images to be carried along with your app. Also, consider what your app will be doing with the images. If it's a photo of your cat for an About box then by all means simply import it. But if your app is a slide show viewer it makes more sense for the user experience to just have them point it to a folder than to do the extra step of importing. As a general rule (very general), I externalize media for "multimedia" apps and embed media for "workflow" apps. But the lines between such arbitrary categories are ever blurred.... -- 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 Sep 16 18:07:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 16 18:07:01 2003 Subject: ftping and filetype property In-Reply-To: <448ABAAB-E897-11D7-90C6-0003937A97B8@genesearch.com.au> Message-ID: Here's a function that might help: function fwMacFileType pPath local tSaveDir, tShortFileName, tFileList, tLine, tType -- put the directory into tSaveDir set the itemdel to "/" put the last item of pPath into tShortFileName delete last item of pPath set the directory to pPath put the detailed files into tFileList put lineoffset(cr&urlEncode(tShortFileName)&comma, cr&tFileList&comma) into tLine if tLine > 0 then set the itemdel to comma put last item of line tLine of tFileList into tType end if set the directory to tSaveDir return tType end fwMacFileType -- 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 david at anon.nu Tue Sep 16 18:31:00 2003 From: david at anon.nu (David Bovill) Date: Tue Sep 16 18:31:00 2003 Subject: CGI code for MySQL In-Reply-To: <20030916210230.74712.qmail@web20009.mail.yahoo.com> References: <20030916210230.74712.qmail@web20009.mail.yahoo.com> Message-ID: <3F679C55.6000106@anon.nu> Anyone got any code for interfacing MC Cgi scripts with MySQL? From dan at shafermedia.com Tue Sep 16 18:32:02 2003 From: dan at shafermedia.com (Dan Shafer) Date: Tue Sep 16 18:32:02 2003 Subject: error type i Message-ID: <38BBAB36-E89D-11D7-92A3-0030656FB5D4@shafermedia.com> Ed McCabe wrote, in part: > I have been e-mailing heather > for over a week looking for help with no respones. Is she OK? I know that she's fine and on vacation at the moment. Presumably someone at RR is taking up the slack but in addition to other duties. Hopefully someone from the team will see your note and respond soon. I think some of them are now at MacWorld in France. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From rodneytamblyn at paradise.net.nz Tue Sep 16 18:32:21 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Tue Sep 16 18:32:21 2003 Subject: tip: save stack and compact Message-ID: <9EAC3AE0-E89D-11D7-A4C8-003065F97100@paradise.net.nz> I noticed today that some stacks I was automatically creating and saving were unexpected ballooning in size from a few hundred k to several megabytes. I was setting large customproperty values in these stacks. The issue is that "save stack x" does not compact the stack, as selecting "save" from file menu does. Therefore remember to call "compact stack x" first...otherwise free space in stack will not be recovered. R. -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From rcozens at pon.net Tue Sep 16 19:43:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 16 19:43:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: <20030916211637.8863.qmail@web20006.mail.yahoo.com> References: <20030916211637.8863.qmail@web20006.mail.yahoo.com> Message-ID: Hi Erik, > > one can replace the >> image library stack without modifying the >> working stack. >=== >two queries: >1. is there any trade-off downside to libraries? Yes, all images in the library are loaded in RAM with the library. >2. are icons in buttons any different? In general, an icon image and the appearance of a button using the image appear different: the borders don't look the same. However the appearance of a button whose icon is set to the id of an image will be same regardless of whether the image is imported into the stack or referenced from a library. > >better make that three: >3. if one somehow copies all of the icon images >from a stack to a library stack, then erases >the originals, should that run o.k.? >it would be great to be able to change >the icon images as you progress. I think I did just that somewhere in the early evolution of Serendipity Library...shortly after I had occasion to have to change an image. In Serendipity Library I took it the extra step of referencing all the images instead of importing them into the library. Now I can "instantly" change all images by switching libraries, or change one image by replacing the image file in the folder. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Tue Sep 16 19:43:40 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 16 19:43:40 2003 Subject: ftping and filetype property In-Reply-To: <3F678DF1.50607@aol.com> References: <3F671B07.1020904@aol.com> <3F678DF1.50607@aol.com> Message-ID: >I'm having trouble finding the Rev command to >retrieve the filetype of a file on the hard-drive, before uploading to >the server via FTP. Did you have to use Applescript to retrieve this info? Hi Rob, There is no command I'm aware of to retrieve the fileType of a specific file; however the type is included with the information returned on each file in the default folder via the detailed files command (item 11). The following creates a file info footer that is appended to SDB Utilities compressed files: function sgzFooter fullFileName set the itemDelimiter to "/" put item -1 of fullFileName into shortFileName put item 1 to -2 of fullFileName into filePath put the defaultFolder into savedDefaultFolder set the defaultFolder to filePath put the detailed files into folderContents set the defaultFolder to savedDefaultFolder set the itemDelimiter to comma repeat for each line fileEntry in folderContents if URLDecode(item 1 of fileEntry) <> shortFileName then next repeat put fileEntry into returnFooter exit repeat end repeat if the platform is "MacOS" then return returnFooter switch (char -4 to -1 of fullFileName) case ".rev" put "revoRSTK" into item 11 of returnFooter break case ".txt" put "ttxtTEXT" into item 11 of returnFooter break default if char -3 to -1 of fullFileName = ".mc" then put "MCRDMSTK" into item 11 of returnFooter else put "????????" into item 11 of returnFooter end switch return returnFooter end sgzFooter Note that on non-Mac platforms there is logic to add Mac OS file types for .rev, .txt, and .mc files. On decompression, the file type is retrieved from the footer. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From monte at sweattechnologies.com Tue Sep 16 20:09:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Sep 16 20:09:00 2003 Subject: CGI code for MySQL In-Reply-To: <3F679C55.6000106@anon.nu> Message-ID: > Anyone got any code for interfacing MC Cgi scripts with MySQL? You can use the CGI engine on the RunRev server and the MySQL drivers with built in rev database support. Tuviah has compiled the CGI engine with XML & DB support built in. Cheers Monte From david at anon.nu Tue Sep 16 20:41:00 2003 From: david at anon.nu (David Bovill) Date: Tue Sep 16 20:41:00 2003 Subject: CGI code for MySQL In-Reply-To: References: Message-ID: <3F67BB03.1090602@anon.nu> Monte - can't find the CGI engine? I've downloaded Tuviah's DB example stack - but if there is a CGI engine it would be good to take a look at... Monte Goulding wrote: > You can use the CGI engine on the RunRev server and the MySQL drivers with > built in rev database support. Tuviah has compiled the CGI engine with XML & > DB support built in. From chipp at chipp.com Tue Sep 16 20:49:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Sep 16 20:49:01 2003 Subject: Best version of Rev to use for debugging? In-Reply-To: <20030916184751.88006.qmail@web11907.mail.yahoo.com> Message-ID: Hey Jan, Thanks! Does this fix the problem with the variable watcher, too? Where the left column (variables) get's mixed up with the right column. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Jan Schenkel > Sent: Tuesday, September 16, 2003 1:48 PM > To: use-revolution at lists.runrev.com > Subject: Re: Best version of Rev to use for debugging? > > > --- Chipp Walters wrote: > > OK, > > > > Been working enough with 2.1 in XP to know that I > > *need* the debugger and > > variable watcher to work correctly. Geoff Canyon > > mentioned on Bugzilla > > there's a fix for it (#452) on the list > > somewhere...anyone know where? > > > > I've searched the archives 3 different ways and > > can't locate it. > > > > Until now, I'll use version 2.02 (as 2.03 has the > > same bug). > > > > -Chipp > > > > > > Hi Chipp, > > That Rev-patching scaundrel would have been me :-) > Link to the post : > > > 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 Tue Sep 16 20:56:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Sep 16 20:56:00 2003 Subject: CGI code for MySQL In-Reply-To: <3F67BB03.1090602@anon.nu> Message-ID: Poke around in the ftp site: ftp://ftp.runrev.com You'll eventually find a CGI folder ;-) > Monte - can't find the CGI engine? I've downloaded Tuviah's DB example > stack - but if there is a CGI engine it would be good to take a look at... > > Monte Goulding wrote: > > > You can use the CGI engine on the RunRev server and the MySQL > drivers with > > built in rev database support. Tuviah has compiled the CGI > engine with XML & > > DB support built in. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at anon.nu Tue Sep 16 21:06:00 2003 From: david at anon.nu (David Bovill) Date: Tue Sep 16 21:06:00 2003 Subject: CGI code for MySQL In-Reply-To: References: Message-ID: <3F67C0CC.8020802@anon.nu> Thanks for anyone else: ftp://ftp.runrev.com/pub/revolution/downloads/engines/2.1/cgi is not up yet, but: ftp://ftp.runrev.com/pub/revolution/downloads/engines/2.0/cgi is. Monte Goulding wrote: > Poke around in the ftp site: ftp://ftp.runrev.com > > You'll eventually find a CGI folder ;-) > > >>Monte - can't find the CGI engine? I've downloaded Tuviah's DB example >>stack - but if there is a CGI engine it would be good to take a look at... >> >>Monte Goulding wrote: >> >> >>>You can use the CGI engine on the RunRev server and the MySQL >> >>drivers with >> >>>built in rev database support. Tuviah has compiled the CGI >> >>engine with XML & >> >>>DB support built in From pixelbird at interisland.net Wed Sep 17 00:13:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Sep 17 00:13:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: <200309160657.CAA14879@www.runrev.com> Message-ID: Hi Peter, > From: peter9.smith at ps.ge.com > Subject: Pros and cons of where to store image data > Date: Tue, 16 Sep 2003 03:48:03 -0400 > Assuming that's correct what are the pros and cons? If you hold the image > data inside the card is it compressed in the stack file? I'd prefer to hold > the image data inside the card as that should be faster loading the stack. ---------- Yes, I think your assessment is basically correct. Here's my basic philosophy: If you have many, say hundreds of images, for display, like, for example, my intentions to develop a program for storing, updating, and sending to a website, hundreds (perhaps thousands some day) of aerial photos, then it makes no sense to import these as controls in a stack. The memory required to load the stack would be ridiculous, and the work to update/replace the images, even worse. Such a set of images should probably be kept in a separate image folder where you can deal with them at option, i.e., without even having a Rev program open. OTOH, if I have splash window images, page header images, logos, things like that, which aren't likely to need replacement anytime soon, I will probably want them to load with the stack, so I will likely import them. Icons and similar types of images lie somewhere in between. If each is unique, you can just import them. Or, if you have several buttons with the same image icon, then you can refer them all to just one image, which saves memory. If you have buttons or other objects that switch images often, then having an image library in a substack would be handy. To give you a more complex example: I have been (off and on) designing custom onscreen keyboards. Each of the keys need to have unique 'up' and 'down' state images, plus I've been working on a number of separate theme-based designs. For these reasons, I had hoped to use a large single keyboard in a group and call out rects for switching states, but it won't work for some keys. Plus, as I said, there are different theme designs. I think the best solution will be a blend of ideas, but I'm still struggling with deciding on the best way to store them to where a user can switch themes, download and open new ones as I create them, etc. (same with feature plugins). So, as you can see, the 'pros' or 'cons' for how to handle images can get a little convoluted. The solution(s) you should use just depends on how you need to manipulate (or not) your images. Here's hoping I didn't just confuse you worse... HTH, Ken N. From janschenkel at yahoo.com Wed Sep 17 00:21:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 17 00:21:01 2003 Subject: Best version of Rev to use for debugging? In-Reply-To: Message-ID: <20030917051554.65196.qmail@web11907.mail.yahoo.com> --- Chipp Walters wrote: > Hey Jan, Thanks! > > Does this fix the problem with the variable watcher, > too? Where the left > column (variables) get's mixed up with the right > column. > > -Chipp > Hi Chipp, No it desn't, but I may have come up with a recipe to fix this as well -- haven't done much testing though, so be careful with it : - first backup the stack : \global environment\revvariablewatcher.rev - then use the message box to execute edit the script of card id 1002 of stack "revVariableWatcher" - scroll to the handler "revUpdatePalette" on revUpdatePalette pPass - there you will see a block of the script to handle the fetching of variable names in an executioncontext set the debugContext to line it of the cContexts of btn "Execution Contexts" debugdo "put the variableNames into fld " && quote & "tvnames" & quote replace "@" with empty in fld "tvnames" replace cr with comma in fld "tvnames" replace ",," with "," in fld "tvnames" put word 1 to -1 of fld "tvnames" into fld "tvnames" if last char of fld "tvnames" is comma then delete last char of fld "tvnames" if last item of fld "tvnames" is empty then delete last item of fld "tvnames" sort items of fld "tvnames" put empty into field "Names" put empty into field "Values" put 1 into field "tcline" - now you make a small patch, just after the line sort items of fld "tvnames" you place --PATCH if char 1 of fld "tvnames" is comma then delete char 1 of fld "tvnames" --PATCH - the second you apply the script change, you can see it working correctly ; oh, and make sure to save the stack "revVariableWatcher" when Rev asks you to. Hope this helps the adventurous among us, 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 Wed Sep 17 01:02:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 17 01:02:01 2003 Subject: Best version of Rev to use for debugging? In-Reply-To: <019c01c37c9b$54e89690$6501a8c0@LightningFlash> Message-ID: <20030917055628.75363.qmail@web11901.mail.yahoo.com> --- Ken Ray wrote: > Thanks, Jan! Now if we can only deal with the pesky > breakpoints that > don't clear themselves... :-) > > Ken Ray > Hi Ken, I looked, but I'm even less sure about my solution for this one, as the documentation for the built-in debugging commands and functions is non-existent. NOTE :: As always, use at your on risk : - before making any changes, backup the stack \global environment\revlibrary.rev - now use the message box to execute the command edit the script of btn "revCommon" of card id 1002 of stack "revLibrary" - then scroll to the setProp for cREVGeneral setProp cREVGeneral[pWhichProp] pWhichProfile - scroll down a bit to the section that starts with if pWhichProp is "breakPoints" then and you'll see how interwovn it is with other undocumented bits of the engine and the IDE. - in the middle of that section you see the lines set the cREVGeneral["debugObjects"] of stack tMainStack to tObjects repeat for each line l in tBreakPointsList if tTarget is not in l then put l & cr after tOldPoints end repeat - that's where I think the problem lies ; I looked at the contents of 'the breakpoints' and discovered that it contains lines of the form : long ID of the object with the breakpoint, line number of the breakpoint - but a little higher up, the variable tTarget was altered so that it is no longer the long ID of the target, so of course it won't find existing breakpoints - therefore, my fix is to insert right after set the cREVGeneral["debugObjects"] of stack tMainStack to tObjects the following line : put the long ID of the target into tTarget - and that just light solve it ; however, your mileage may vary as I don't know enough about the internal debugging bits. I am going to hop in the shower now and go to work, but I hope this helps someone nail it down. 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 alex at mindlube.com Wed Sep 17 01:45:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 17 01:45:01 2003 Subject: by reference parameters Message-ID: I had it in my head that @params were faster than regular parameters. I guess this came from C programming where pointer args could be used as an optimization because one avoided a variable copy each call. I was just doing some transcript tests and I can't see a speed difference between a handler with regular params vs by-reference parameters. Am I a correct that @params aren't used for optimization? They only exist to entice me away from writing non-destructive functions! :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From peter9.smith at ps.ge.com Wed Sep 17 03:15:01 2003 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Wed Sep 17 03:15:01 2003 Subject: Pros and cons of where to store image data Message-ID: <6192367D59F8904CA553579EF41FEEA001C61443@ukcbgx01psge.geips.ge.com> Thanks for the helpful responses on this. My potential aim is to do a simple non-commercial Myst style game. As you move between the rooms of the game the game needs to load up the images for the room being moved into, and unload images for some other room based on a caching algorithm. My current thinking is to have each room as its own stack embedding the images into them. Room state will be maintained in a central stack. I don't think I can do this for sounds and movies so they will have to be external files (you can't have multiple embedded sounds playing?) I'll need to find out how one writes Revolution code and distributes such external file resources with tne built application. Thanks, Peter Smith. From chipp at chipp.com Wed Sep 17 05:33:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Wed Sep 17 05:33:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: <6192367D59F8904CA553579EF41FEEA001C61443@ukcbgx01psge.geips.ge.com> Message-ID: Peter, If I were building a Myst style game, I think I would try the following: I would use a single stack with X number of cards-- with X being the max number of branches you can go to from any card. For instance, if you could only go to 3 places at first, but later on go to 12 places, I would create 12 + 1(the card you're on) cards in the main stack. Then, create an array containing all PLACES and the user's current position in the game. When you are in PLACE A (card A), you know which other places you can access from there, along with the filenames of the images which would go on those cards. The array would also contain the hotspots to take you there (I'd build a small hotspot utility to generate the hotspot list -- hotspots could be invisible polygons and generated on the fly on OpenCard.) There would be a blank image placeholder on each card, and you can set the filename of each image in a background process which starts as soon as you go to a PLACE(card). In the case the image is not yet loaded (such as a fast clicker), a preOpenCard handler would know this and interrupt the background process and immediately fetch the image before showing the card. This has the speed advantage you would want, along with keeping the memory requirements low. I would sketch this out, build a demo stack and check the performance before creating a full version. Also, you may wish to consider using JPG files at half resolution -- they'll load fast and scale nicely at 2X. You could of course have a preference setting to use the 1/2 scale JPG or full scale JPG files. Store each set in different folders. Good luck! best, Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of > peter9.smith at ps.ge.com > Sent: Wednesday, September 17, 2003 3:07 AM > To: use-revolution at lists.runrev.com > Subject: Re: Pros and cons of where to store image data > > > Thanks for the helpful responses on this. My potential aim is to do a > simple non-commercial Myst style game. As you move between the > rooms of the > game the game needs to load up the images for the room being > moved into, and > unload images for some other room based on a caching algorithm. > My current > thinking is to have each room as its own stack embedding the images into > them. Room state will be maintained in a central stack. > > I don't think I can do this for sounds and movies so they will have to be > external files (you can't have multiple embedded sounds playing?) > I'll need > to find out how one writes Revolution code and distributes such external > file resources with tne built application. > > Thanks, Peter Smith. > _______________________________________________ > 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 Wed Sep 17 06:00:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Wed Sep 17 06:00:01 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: <200309162159.RAA02222@www.runrev.com> Message-ID: Hi List, my dad asked me if I could build an app. that stores the Programs of his CNC milling machine on his Windows PC. I promised him to try it. The Machine is connected with the computer on com1 and seems to be sending plain text. So I walked through the Dictionary and set up the following: I set the serialControlString to: baud=300 parity=E data=7 stop=1 (Looking at the old DOS program he has, thats what the machine needs) I created a button: on mouseUp put empty into fld "fehler" open file "COM1:" for read put "opened"&cr into fld "log" read from file "COM1:" until end put "reading done"&cr after fld "log" put the result into fld "Fehler" put it into fld "Ausgabe" close file "COM1:" put "closed"&cr after fld "log" end mouseUp When I hit the button, it instantly reports EOF in fld "fehler". How do I tell Revolution to wait until the data is sent by the CNC milling machine? Can I set a timeout somehow to wait let?s say for about 2 minutes? Any help is greatly apreciated! Regards, Malte From dave at b-i-s.org Wed Sep 17 07:06:01 2003 From: dave at b-i-s.org (dave at b-i-s.org) Date: Wed Sep 17 07:06:01 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: References: <200309162159.RAA02222@www.runrev.com> Message-ID: <3F685582.777.ADEE097@localhost> Hi Malte, I'm very new to RR myself, but I've done lots of comms work. Maybe it could be this line; read from file "COM1:" until end The documentation states; If you specify any of EOF, end, or empty, the read continues reading until it reaches the end of the file. (If you?re reading from a serial port, you must use the form read from file portname until empty.) It could be that using "until end" simply returns an empty rs232 buffer regardless of data, whereas "until empty" transfers data out of the buffer until it's....er.....empty. Hope this little bit helps. Regards, Dave. On 17 Sep 2003 at 12:54, Malte Brill wrote: > Hi List, > > my dad asked me if I could build an app. that stores the Programs of his CNC > milling machine on his Windows PC. I promised him to try it. > > The Machine is connected with the computer on com1 and seems to be sending > plain text. > > So I walked through the Dictionary and set up the following: > > I set the serialControlString to: > > baud=300 parity=E data=7 stop=1 > > (Looking at the old DOS program he has, thats what the machine needs) > > > I created a button: > > on mouseUp > put empty into fld "fehler" > open file "COM1:" for read > put "opened"&cr into fld "log" > read from file "COM1:" until end > put "reading done"&cr after fld "log" > put the result into fld "Fehler" > put it into fld "Ausgabe" > close file "COM1:" > put "closed"&cr after fld "log" > end mouseUp > > When I hit the button, it instantly reports EOF in fld "fehler". > How do I tell Revolution to wait until the data is sent by the CNC milling > machine? Can I set a timeout somehow to wait let?s say for about 2 minutes? > > Any help is greatly apreciated! > > Regards, > > Malte > > _______________________________________________ > 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 Wed Sep 17 09:22:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Wed Sep 17 09:22:00 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: <200309162159.RAA02222@www.runrev.com> Message-ID: Hi Dave, thanks for that. I?ll try it tomorrow. Also I will set up a flexible method of setting the serialControlString to see if the machine needs Handshaking/timeout. Regards, Malte >Hi Malte, >I'm very new to RR myself, but I've done lots of comms work. Maybe it could be >this line; >read from file "COM1:" until end >The documentation states; >If you specify any of EOF, end, or empty, the read continues reading until it >reaches the end of the file. (If you?re reading from a serial port, you must >use the form read from file portname until empty.) >It could be that using "until end" simply returns an empty rs232 buffer >regardless of data, whereas "until empty" transfers data out of the buffer >until it's....er.....empty. From rcozens at pon.net Wed Sep 17 09:38:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Wed Sep 17 09:38:00 2003 Subject: by reference parameters In-Reply-To: References: Message-ID: >I was just doing some transcript tests and I can't see a speed >difference between a handler with regular params vs by-reference >parameters. Am I a correct that @params aren't used for optimization? Hi Alex, I see two uses for referenced parameters, and one involves optimization (or execution speed). From my perspective, the speed difference only comes into play when the arguments are large. For example, the record buffer in SDB is ALWAYS passed by reference. A. In theory, an SDB record can be as large as the largest string Revolution supports. If the buffer is passed by value, it is duplicated with each call; if passed by address, the original buffer location is referenced by every handler. If the size of argument you're passing is measured in megabytes, I don't see how passing by reference [address] can't help but perform better. B. In addition, several SDB library handlers may reference the same buffer during the execution of a single command. I wouldn't want the overhead of duplicating the buffer for each individual handler. The other reason for passing by reference is that in some designs it just makes sense to have the handler update the original variable directly instead of returning a value that then replaces the original. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From revlist at cableone.net Wed Sep 17 10:01:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Sep 17 10:01:01 2003 Subject: Best version of Rev to use for debugging? In-Reply-To: <20030917051554.65196.qmail@web11907.mail.yahoo.com> Message-ID: <000001c37d2b$b28dd090$64fea8c0@chris1> Jan, You're a genius. Thanks for this. 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 Jan Schenkel Sent: Tuesday, September 16, 2003 11:16 PM To: use-revolution at lists.runrev.com Subject: RE: Best version of Rev to use for debugging? --- Chipp Walters wrote: > Hey Jan, Thanks! > > Does this fix the problem with the variable watcher, > too? Where the left > column (variables) get's mixed up with the right > column. > > -Chipp > Hi Chipp, No it desn't, but I may have come up with a recipe to fix this as well -- haven't done much testing though, so be careful with it : - first backup the stack : \global environment\revvariablewatcher.rev - then use the message box to execute edit the script of card id 1002 of stack "revVariableWatcher" - scroll to the handler "revUpdatePalette" on revUpdatePalette pPass - there you will see a block of the script to handle the fetching of variable names in an executioncontext set the debugContext to line it of the cContexts of btn "Execution Contexts" debugdo "put the variableNames into fld " && quote & "tvnames" & quote replace "@" with empty in fld "tvnames" replace cr with comma in fld "tvnames" replace ",," with "," in fld "tvnames" put word 1 to -1 of fld "tvnames" into fld "tvnames" if last char of fld "tvnames" is comma then delete last char of fld "tvnames" if last item of fld "tvnames" is empty then delete last item of fld "tvnames" sort items of fld "tvnames" put empty into field "Names" put empty into field "Values" put 1 into field "tcline" - now you make a small patch, just after the line sort items of fld "tvnames" you place --PATCH if char 1 of fld "tvnames" is comma then delete char 1 of fld "tvnames" --PATCH - the second you apply the script change, you can see it working correctly ; oh, and make sure to save the stack "revVariableWatcher" when Rev asks you to. Hope this helps the adventurous among us, 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 themacguy at macosx.com Wed Sep 17 11:19:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Sep 17 11:19:01 2003 Subject: How to save a QT movie? - any opinions? Message-ID: I have a stack with a QT Player object. The object references an on-disk movie of the user's choosing. The user can move the controller to shift back and forth through the movie. There are buttons to set "in" and "out" points. Once I have this data, can I save a copy of the movie from the "in" point to the "out" point? I can import the movie as a videoclip if necessary. Thanks, Barry From klaus at major-k.de Wed Sep 17 11:43:00 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Sep 17 11:43:00 2003 Subject: How to save a QT movie? - any opinions? In-Reply-To: Message-ID: <348BA08E-E92D-11D7-BA9D-000A27B49A96@major-k.de> Hi Barry, > I have a stack with a QT Player object. The object references an > on-disk movie > of the user's choosing. The user can move the controller to shift back > and forth > through the movie. There are buttons to set "in" and "out" points. > Once I have > this data, can I save a copy of the movie from the "in" point to the > "out" point? No need to save a copy :-) You can "get the starttime of player x" to get the in-point in the movie and "get the endtime of player x" to get the out-point and then save this somwhow ;-) Then again you can set the start- and endtime of that player again and: ... set the starttime of player x to yyy set the endtime of player x to zzz set the playselection of player x to true start player x ... Check this in the dox: starttime endtime playselection > I can import the movie as a videoclip if necessary. Not necessary :-) Unfortunately saving (parts of) movies from RR is not yet possible... (Except copying/renaming/deleting that movie-file ;-) Hope that helps... > Thanks, > Barry Regards Klaus Major klaus at major-k.de www.major-k.de From ambassador at fourthworld.com Wed Sep 17 11:57:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 17 11:57:01 2003 Subject: by reference parameters In-Reply-To: Message-ID: Alex Rice wrote: > I was just doing some transcript tests and I can't see a speed > difference between a handler with regular params vs by-reference > parameters. Am I a correct that @params aren't used for optimization? The engine's so fast that I doubt the time needed to copy the var would be noticeable until you get to a chunk of data that's really, really large. But if you're optimizing for memory conservation it can be a big help for large params, since you only have one copy in memory with by-ref params. -- 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 Wed Sep 17 12:01:59 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 17 12:01:59 2003 Subject: Pros and cons of where to store image data In-Reply-To: <6192367D59F8904CA553579EF41FEEA001C61443@ukcbgx01psge.geips.ge.com> Message-ID: peter9.smith at ps.ge.com wrote: > Thanks for the helpful responses on this. My potential aim is to do a > simple non-commercial Myst style game. As you move between the rooms of the > game the game needs to load up the images for the room being moved into, and > unload images for some other room based on a caching algorithm. My current > thinking is to have each room as its own stack embedding the images into > them. Room state will be maintained in a central stack. I think a graphics-heavy app a la Myst would be a good candidate for the memory conservation benefits of referencing images rather than embedding them. Then your caching is automatically done for you, so you can spend that coding time crafting cool puzzles. :) -- 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 Wed Sep 17 12:23:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Sep 17 12:23:00 2003 Subject: How to save a QT movie? - any opinions? In-Reply-To: <200309171603.MAA21534@www.runrev.com> Message-ID: A-ha! That was the part I needed to know. Sounds like I need to file a feature request. Thanks, Barry On Wednesday, Sep 17, 2003, at 10:03 America/Denver, Klaus wrote: > Unfortunately saving (parts of) movies from RR is not yet possible... > (Except copying/renaming/deleting that movie-file ;-) From alex at mindlube.com Wed Sep 17 12:37:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 17 12:37:01 2003 Subject: by reference parameters In-Reply-To: Message-ID: On Wednesday, September 17, 2003, at 08:28 AM, Rob Cozens wrote: > I see two uses for referenced parameters, and one involves > optimization (or execution speed). > > From my perspective, the speed difference only comes into play when > the arguments are large. For example, the record buffer in SDB is > ALWAYS passed by reference. OK, thanks. I didn't think of testing large parameters. For small parameters the speed difference is not noticeable. > The other reason for passing by reference is that in some designs it > just makes sense to have the handler update the original variable > directly instead of returning a value that then replaces the original. A so called "destructive function". Harder to debug, harder to test. But I've done it too. :-) 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 Wed Sep 17 13:35:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 17 13:35:00 2003 Subject: by reference parameters In-Reply-To: Message-ID: On Wednesday, September 17, 2003, at 12:39 AM, Alex Rice wrote: > I had it in my head that @params were faster than regular parameters. Machines are getting faster. For 800,000 byte values I come up with these numbers on my dual 1.25 GHz G4 with OS X: Reference parameter and return empty: 84 microseconds Reference parameter and return parameter 5874 microseconds Ordinary parameter and return empty: 4409 microseconds Ordinary parameter and return parameter: 7191 microseconds As you can see from 84 and 4409, the savings of @params is great for large data. (Want my button test script?) > Am I a correct that @params aren't used for optimization? They only > exist to entice me away from writing non-destructive functions! :-) You are not _required_ to mutilate any @params. I find them hard to use in functions I share because they seem to imply data is at risk to users and calls must use variables for those parameters. The latter means I can't easily switch to arrays as values for some abstract type that was, say, lists before. A compromise I use is to use @params for optimization in my private functions and "advanced" functions, but use ordinary parameters for other stuff. I have an enhancement request in to optimize this. One level of optimization might be to use a method such as reference counting. That might involve a change in fundamental operations. A more local optimization would be to cut down on the amount of copying and allocation going on in applying functions. Another local optimization would be to allow @params to take arbitrary expressions and not just variables; modification would have no effect except to waste time. (For those who like to mutilate--uh, modify--data, I have an enhancement request in for that, too! In the mean time accumulate using 'after' or use '&' to rebuild.) I tend to take a functional/dataflow approach to things, so I, too, like functions without side-effects. Dar Scott From dsc at swcp.com Wed Sep 17 13:48:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 17 13:48:01 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: Message-ID: On Wednesday, September 17, 2003, at 04:54 AM, Malte Brill wrote: > When I hit the button, it instantly reports EOF in fld "fehler". > How do I tell Revolution to wait until the data is sent by the CNC > milling > machine? Can I set a timeout somehow to wait let?s say for about 2 > minutes? You are on the right track. For a quick test, add a second delay before the read. Also, for your testing you might want to replace numToChar(13) with "" and numToChar(10) with "" to make sure you understand what data you are really getting. In your real code, experiment with either timeout or with end-of-line detection. You can try these with the read options or build them yourself. I do the latter. The 'eof' in result simply means you got to the current end of buffer. I usually write serial I/O to 'read until empty' regularly and thus would get 'eof' every time. I usually use a send timer, but a repeat with read and a short should work--try that first. My code accumulates my read values until it gets the data I want or until it gives up. I would put the 2 minute check in this loop. I wish you the best. Would you be willing to let us know how this works out? Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From dsc at swcp.com Wed Sep 17 14:09:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 17 14:09:00 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: <3F685582.777.ADEE097@localhost> Message-ID: On Wednesday, September 17, 2003, at 05:37 AM, dave at b-i-s.org wrote: > It could be that using "until end" simply returns an empty rs232 > buffer regardless of > data, whereas "until empty" transfers data out of the buffer until > it's....er.....empty. Some clarity and enhancements would be nice here. I think for serial these are the same, but it might be great if not in general. I'd like "empty" to mean "the buffer is empty" and "end" to mean "the channel is closed". With that, "end" would not be meaningful or would be very rarely meaningful with serial; I wouldn't mind if it means the same as "empty" in that case. I suspect what Malte is running against is that the mill had no time to respond. A short delay might provide some or all of the response. Dar Scott From kray at sonsothunder.com Wed Sep 17 14:26:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 17 14:26:00 2003 Subject: Best version of Rev to use for debugging? In-Reply-To: <20030917055628.75363.qmail@web11901.mail.yahoo.com> Message-ID: <025c01c37d50$b93d16b0$6501a8c0@LightningFlash> Wonderful, Jan! I'll make the changes and let you know how it works for me. Looking forward to frustration-less debugging... 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 > Jan Schenkel > Sent: Wednesday, September 17, 2003 12:56 AM > To: use-revolution at lists.runrev.com > Subject: RE: Best version of Rev to use for debugging? > > > --- Ken Ray wrote: > > Thanks, Jan! Now if we can only deal with the pesky breakpoints that > > don't clear themselves... :-) > > > > Ken Ray > > > > Hi Ken, > > I looked, but I'm even less sure about my solution for > this one, as the documentation for the built-in > debugging commands and functions is non-existent. > > NOTE :: As always, use at your on risk : > > - before making any changes, backup the stack > \global environment\revlibrary.rev > > - now use the message box to execute the command > edit the script of btn "revCommon" of card id 1002 > of stack "revLibrary" > > - then scroll to the setProp for cREVGeneral > setProp cREVGeneral[pWhichProp] pWhichProfile > > - scroll down a bit to the section that starts with > if pWhichProp is "breakPoints" then > and you'll see how interwovn it is with other > undocumented bits of the engine and the IDE. > > - in the middle of that section you see the lines > set the cREVGeneral["debugObjects"] of stack > tMainStack to tObjects > repeat for each line l in tBreakPointsList > if tTarget is not in l then put l & cr after > tOldPoints > end repeat > > - that's where I think the problem lies ; I looked at > the contents of 'the breakpoints' and discovered that > it contains lines of the form : > long ID of the object with the breakpoint, line > number of the breakpoint > > - but a little higher up, the variable tTarget was > altered so that it is no longer the long ID of the > target, so of course it won't find existing > breakpoints > > - therefore, my fix is to insert right after > set the cREVGeneral["debugObjects"] of stack > tMainStack to tObjects > the following line : > put the long ID of the target into tTarget > > - and that just light solve it ; however, your mileage > may vary as I don't know enough about the internal > debugging bits. > > I am going to hop in the shower now and go to work, > but I hope this helps someone nail it down. > > 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 ambassador at fourthworld.com Wed Sep 17 14:29:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 17 14:29:00 2003 Subject: Where to get the latest engines? Message-ID: Some of the links to engines listed on the Downloads page at do not work (FreeBSD, for example). And at there are only engines for HP, an unspecified Linux distro, Sparc, Windows, and an uncompressed bundle for OS X. No Mac PPC, Fat, or 68k builds, no FreeBSD. Is there another place I should be looking for Rev 2.1 engines? Missing the simplicity of ftp.metacard.com already... -- 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 Wed Sep 17 19:27:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Sep 17 19:27:00 2003 Subject: by reference parameters In-Reply-To: Message-ID: <20030918002154.22816.qmail@web20010.mail.yahoo.com> what are @params? 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 erikhans08 at yahoo.com Wed Sep 17 19:31:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Sep 17 19:31:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: Message-ID: <20030918002602.83129.qmail@web20007.mail.yahoo.com> --- Richard Gaskin wrote: > As a general rule (very general), I externalize > media for "multimedia" apps > and embed media for "workflow" apps. But the > lines between such arbitrary > categories are ever blurred... 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 sarahr at genesearch.com.au Wed Sep 17 19:31:16 2003 From: sarahr at genesearch.com.au (Sarah) Date: Wed Sep 17 19:31:16 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: Message-ID: <33F2C3C7-E96E-11D7-90C6-0003937A97B8@genesearch.com.au> Hi Malte, You might want to try out my Serial test stack - available from my web page at I have just updated it so that it allows you to select termination characters i.e. whether sends should end with CR (ASCII 13), LF (ASCII 10) or CRLF and the same for receives. Although not of interest to you, it now also works with OS X, but only for Rev 2.1 I think it will solve your reading problem, because it doesn't do a single read, but reads continuously as long as the port is open, reporting whenever it gets any data. One other thought: you probably have to send a command to the milling machine first, to tell it to send it's data and which data to send. Cheers, Sarah sarahr at genesearch.com.au http://www.troz.net/Rev/ On Wednesday, September 17, 2003, at 08:59 pm, Malte Brill wrote: > Hi List, > > my dad asked me if I could build an app. that stores the Programs of > his CNC > milling machine on his Windows PC. I promised him to try it. > > The Machine is connected with the computer on com1 and seems to be > sending > plain text. > > So I walked through the Dictionary and set up the following: > > I set the serialControlString to: > > baud=300 parity=E data=7 stop=1 > > (Looking at the old DOS program he has, thats what the machine needs) > > > I created a button: > > on mouseUp > put empty into fld "fehler" > open file "COM1:" for read > put "opened"&cr into fld "log" > read from file "COM1:" until end > put "reading done"&cr after fld "log" > put the result into fld "Fehler" > put it into fld "Ausgabe" > close file "COM1:" > put "closed"&cr after fld "log" > end mouseUp > > When I hit the button, it instantly reports EOF in fld "fehler". > How do I tell Revolution to wait until the data is sent by the CNC > milling > machine? Can I set a timeout somehow to wait let?s say for about 2 > minutes? > > Any help is greatly apreciated! > > Regards, > > Malte From erikhans08 at yahoo.com Wed Sep 17 19:33:01 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Wed Sep 17 19:33:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: Message-ID: <20030918002724.83261.qmail@web20007.mail.yahoo.com> --- Rob Cozens wrote: > >1. is there any trade-off downside to > libraries? > > Yes, all images in the library are loaded in > RAM with the library. > > >2. are icons in buttons any different? > > In general, an icon image and the appearance of > a button using the > image appear different: the borders don't look > the same. However the > appearance of a button whose icon is set to the > id of an image will > be same regardless of whether the image is > imported into the stack or > referenced from a library. 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 alex at mindlube.com Wed Sep 17 19:49:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 17 19:49:01 2003 Subject: by reference parameters In-Reply-To: <20030918002154.22816.qmail@web20010.mail.yahoo.com> Message-ID: <202DD8B1-E971-11D7-9A28-000393529642@mindlube.com> On Wednesday, September 17, 2003, at 06:21 PM, erik hansen wrote: > > what are @params? If you define function or command parameters prefixed with the "@" character, the parameters are passed by reference instead of by value. This means the handler can modify the actual variable and it means that the variable doesn't get copied before being passed to the handler. function myFunc @parameter --... end myFunc on myCmd @parameter --... end Cmd 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 Wed Sep 17 20:06:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 17 20:06:01 2003 Subject: by reference parameters In-Reply-To: <20030918002154.22816.qmail@web20010.mail.yahoo.com> Message-ID: <90A00D6B-E973-11D7-B789-000A9567A3E6@swcp.com> On Wednesday, September 17, 2003, at 06:21 PM, erik hansen wrote: > what are @params? These are parameters marked with an @ sign in declaration to show that a reference to a variable is passed instead of the value of an expression, which may be an expression. The @params is just a shorthand for something like "reference parameters". You can find more under "@" in the transcript dictionary. When a handler or function is called the parameter for an ordinary parameter is copied into what is effectively a local variable in the called handler or function. However, the parameter for a reference parameter must be a variable and the name in the called handler or function is an alias for that. Dar Scott From pixelbird at interisland.net Wed Sep 17 23:12:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Wed Sep 17 23:12:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: <200309171602.MAA21472@www.runrev.com> Message-ID: Hi Peter, > From: peter9.smith at ps.ge.com > Subject: Re: Pros and cons of where to store image data > Date: Wed, 17 Sep 2003 04:06:53 -0400 > My current thinking is to have each room as its own stack embedding the images > into them. ---------- I don't think so. Definitely think about doing things like Chipp says, using referenced images. But I would probably use QuickTime. In fact, I might use QTVR for the rooms, so the user can pan around in it and look at stuff, have hotspots for picking things up. Rev has a reasonable set of control features for QT stuff. ---------- > I don't think I can do this for sounds and movies so they will have to be > external files (you can't have multiple embedded sounds playing?) ---------- That's true about embedded sound objects, called audioClips, (AFAIK you can't play multiple videoClips either), but if you're willing to go the QT route, you can have multiple QT players which can play multiple sounds. They don't need to be onscreen to play. Also, I think you could have a videoClip that plays congruent to a QT sound file. IOW, you could have embedded or a set of audioClips in files that play at the same time as a QT sound. Something like a background music loop, with separate sound FX for things going on in the room, or things you click. Try it onscreen. Create a couple of players and set them to two separate sound files. As you will see, you can play them simultaneously if you like. I just built a simple record/playback stack that uses QT to create and playback sound files. It has controls for QT settings, i.e., bit rates, compression, filetypes, etc., and maintains (updates) a playlist for all my recorded sounds. Note: MYST was originated in HyperCard using some specially designed extenals. HTH, Ken N. From kray at sonsothunder.com Thu Sep 18 02:01:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 18 02:01:00 2003 Subject: use-revolution digest, Vol 1 #1913 - 17 msgs In-Reply-To: <3996AE5EBEF964418D80953BDCABFF56A1CE88@ex1.asurite.ad.asu.edu> Message-ID: <004a01c37db1$cbcd5220$6501a8c0@LightningFlash> Tom, Since no one answered you, I tried to set up the same problem in OS 9.2.2. I actually had Rev crash on me until I upped the memory partition. Once I did so, I didn't get anything like you're describing. Have you increased the memory partition for your standalone? If so, what's it set to? 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 > Thomas Cole > Sent: Sunday, September 14, 2003 10:22 PM > To: use-revolution at lists.runrev.com > Subject: RE: use-revolution digest, Vol 1 #1913 - 17 msgs > > > No one had any ideas, but that can't be so, because zillions > of rev users must use the revprintfield command in their > standalones. That's such a common thing. I'll post again. I > hope someone has had the same problem and solved it. > Everything works perfectly except this. > > I have a stack that prints a field. It prints fine in the > windows standalone and the OSX standalone, but in Mac OS 9, > an image of the field being printed appears across the screen > and won't go away. It prints, but the user's machine has this > big, white mess there. How can I keep it from doing that? It > does it with the PPC, OS68,and OSfat standalones. What gives? > > Thanks, > Tom > > From alex at mindlube.com Thu Sep 18 02:14:00 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 18 02:14:00 2003 Subject: encryption of stacks- how good? Message-ID: How good is the encryption that is used by Rev after setting a password on a stack? I ask because I have written a licensing stack ** that uses MD5 message digest to validate username + license code pairs. I'm sure this technique is solid enough for my requirements, but I want to prevent people from reading the stack script- and that's where I don't understand the level of security. It's interesting to note that one can "set the passkey of this stack to p" in the preOpenStack handler, and it unlocks the stack. I think this means that the engine is decrypting the stack, reading the script, compiling it, then finally checking the password. The password is therefore not used in the encryption. Right? ** If anyone wants to use this licensing stack, including source, just let me know off list. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From xbury.cs at clearstream.com Thu Sep 18 03:19:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu Sep 18 03:19:01 2003 Subject: Are we being left out? Where is transcript? Message-ID: Are we being left out? http://www.topcoder.com/pl/?&module=Static&d1=google&d2=google_overview Maybe RR can do a little marketing stunt work and let us play... ;) No, I didn't read the rules or the rest yet but it's the intention that counts... All I want is another T-shirt! XB Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From igor at pixelmedia.com.au Thu Sep 18 03:38:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Thu Sep 18 03:38:01 2003 Subject: XML Library and diacritics: how to? In-Reply-To: <037901c37c75$74a27e90$afbe040a@user> Message-ID: Hi all!, I am also struggling with Unicode and XML trees. I, too, have a field with some accented latin characters that must be saved as an attribute of an XML element.: On Wednesday, September 17, 2003, at 03:09 AM, Tuviah Snyder wrote: >>>> revSetXMLAttribute docid,theNode,"Jo?l" -- does not work > Entering latin characters Seems to work fine when using the XML tree > view > example..even without using UTF-8. I just tried using the XML Tree View Stack, testing it to see if I could modify the contents of a node to include Latin accented letters, and it did not work for me. Perhaps I am doing something wrong - if so, please DO tell me! Here are the steps I took: * Using MacOS X 10.2.6, Revolution 2.1: 1) Open the "xmltree-view" stack, that shipped in the "Sample Stacks" folder 2) Click the "browse..." button, and select an existing XML document - any document. Some sample ones shipped with Rev, too. 3) Click the "Load XML from file" button. This will read the selected XML document, and build a tree, populating the field labeled "XML tree-view". 4) In the "XML tree-view" field, select an element/node - any one will do. If the selected xml element has any character data, then this will be shown in the "Element Contents" field. We are going to add/replace the contents of this field with a word which includes an accented character: 5) Change the keyboard layout to "US Extended". If you don't know how to do this in MacOS X: a) Open your System Preferences b) Click on "International" c) In the "International" pane, click on the "Input Menu" tab d) In the list of available keyboard layouts, make sure "US Extended" has a tick next to it. e) Quit System Preferences f) In the input menu in your menubar (the little 'flag' next to "Help"), select "US Extended" 6) Type the following word in the "Element Contents" field: "Portugu?s" - that is spelled: P-O-R-T-U-G-U-E^-S (the "e" has a 'circumflex' accent). To type that special accented 'e', using your 'US Extended' keyboard: a) hold down the OPTION key, and press "6" on your keyboard. Let go all keys. b) type "e". That is the word for "Portuguese", in Portuguese. If you followed all these steps, you will have TYPED the word into the "Element Contents" field. Now, to try and write it as part of our XML tree: 7) Click on the "Modify Contents" button. Hmmm, it looks like it worked, huh? Not quite, though...the "Element Contents" field simply hasn't 'refreshed'. Let's manually 'refresh' our contents display, so that it truly reflects what has been put into the XML tree: 8) Click on another element, to deselect from the current one, and 9) Click back on our element, so we can see the contents again. The "Element Contents" field displays "Portugu". If instead of trying to enter this value as a "Content", we try to enter it as an attribute, we get exactly the same result - it TRUNCATES the text before the unicode "e". > >>>> revSetXMLAttribute docid,theNode,uniEncode("Jo?l","UTF-8") -- does >>>> not > work > > Try > > put unidecode(uniencode("Jo?l"),"utf8") I tried that - it did not work for me. Again, if this is something that someone else has tried, and that HAS worked, then maybe I am doing something silly. In which case, I BEG of you, pleeeeeeeeeeease post your successful recipe here, so that we can all benefit from it. If this is a bug that has not yet been reported, then please let us know also, so we can add it to Bugzilla! Many thanks, -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- From dave at b-i-s.org Thu Sep 18 04:06:02 2003 From: dave at b-i-s.org (dave at b-i-s.org) Date: Thu Sep 18 04:06:02 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: References: <3F685582.777.ADEE097@localhost> Message-ID: <3F697D9C.21477.FFD5AF95@localhost> Agreed Dar. I'm just getting to grips with RR and having worked at the firmware level it's wonderfull to work in a 4GL for a change. I will need to do some serial work myself later in the year so I'm looking closely at all of the serial tips that appear on the list. Thanks for your comments, Regards, Dave. On 17 Sep 2003 at 13:03, Dar Scott wrote: > > On Wednesday, September 17, 2003, at 05:37 AM, dave at b-i-s.org wrote: > > > It could be that using "until end" simply returns an empty rs232 > > buffer regardless of > > data, whereas "until empty" transfers data out of the buffer until > > it's....er.....empty. > > Some clarity and enhancements would be nice here. I think for serial > these are the same, but it might be great if not in general. I'd like > "empty" to mean "the buffer is empty" and "end" to mean "the channel is > closed". With that, "end" would not be meaningful or would be very > rarely meaningful with serial; I wouldn't mind if it means the same as > "empty" in that case. > > I suspect what Malte is running against is that the mill had no time to > respond. A short delay might provide some or all of the response. > > Dar Scott > > _______________________________________________ > 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 Thu Sep 18 06:09:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Thu Sep 18 06:09:00 2003 Subject: encryption of stacks- how good? In-Reply-To: <200309180316.XAA03129@www.runrev.com> Message-ID: Hi Alex, what I do with my password protection is to embed it in the mainstack where the engine is attached to. I use Pasword protection and as there seems to be no stack that could be opened with rev, so there is (hopefully) no way to fuss around with it. If you open the app. with a text editor ther?s only garbage being displayed. I?m pretty sure if there are some hackers interested in my apps they will have o problem killing my protection somehow, though. Hope that helps, Malte From malte.brill at t-online.de Thu Sep 18 06:11:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Thu Sep 18 06:11:01 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: <200309180316.XAA03129@www.runrev.com> Message-ID: Hi Dar, Sarah and all, Developing this stack is a bit complicated, as I need to write it in my office, compile it and then test it in the company of my father. I got the manual of the machine today but have not found any useful hints on communication with a PC. Quoting Dar: >For a quick test, add a second delay before the read. I?ll try that. The Problem might be that the Stack needs to wait until one hits the save button on the machine to receive the data. So the time span might be different each time the machine sends its data. >Also, for your testing you might want to replace numToChar(13) with >"" and numToChar(10) with "" to make sure you understand what >data you are really getting. Thanks for the tip. >I suspect what Malte is running against is that the mill had no time to >respond. A short delay might provide some or all of the response. That?s what I guess too. Quoting Sarah: >You might want to try out my Serial test stack - available from my web >page at > >I have just updated it so that it allows you to select termination >characters i.e. whether sends should end with CR (ASCII 13), LF (ASCII >10) or CRLF and the same for receives. >I think it will solve your reading problem, because it doesn't do a >single read, but reads continuously as long as the port is open, >reporting whenever it gets any data. That?s an interesting approach. I had a look at your stack, but couldn?t test it with the mill yet, as I disturb the production process every time I try testing the stack and they are really busy today. When I would use the method of testing if there is data sent, how would I know that the transmission is done? Could I try "listening" to the port until data is sent and then read until EOF? Or would I need to write a stop handler to terminate reading when no more data is sent? >One other thought: you probably >have to send a command to the milling machine first, to tell it to send >it's data and which data to send. I don?t hope so. The documentation on the mill is very bad. They only speak of backing up to tapes or use their software for DOS, written by a company that has vanished in mid 90s. Dar: >I wish you the best. Would you be willing to let us know how this >works out? Thanks a lot. :-) I will have to do further testing on reading and I hope I am courages enough to send the data back to the mill, once I have read the data. I hope I don?t kill that thing somehow... I?ll keep you posted anyway... Regards, Malte From dave at b-i-s.org Thu Sep 18 08:07:00 2003 From: dave at b-i-s.org (dave at b-i-s.org) Date: Thu Sep 18 08:07:00 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: References: <200309180316.XAA03129@www.runrev.com> Message-ID: <3F69B4E2.19385.ADA33E@localhost> Malte, One thing occurs to me (you may have already done this) is to use a comms program to log data coming out of the CNC to a text file and examine it for a protcol. You should see the data and it's rate in the comms terminal window. It would also confirm if operations are needed on the CNC machine to start data flow. Good Luck, Regards, Dave. On 18 Sep 2003 at 13:05, Malte Brill wrote: > Hi Dar, Sarah and all, > > Developing this stack is a bit complicated, as I need to write it in my > office, compile it and then test it in the company of my father. > I got the manual of the machine today but have not found any useful hints on > communication with a PC. > > Quoting Dar: > > >For a quick test, add a second delay before the read. > I?ll try that. The Problem might be that the Stack needs to wait until one > hits the save button on the machine to receive the data. So the time span > might be different each time the machine sends its data. > > >Also, for your testing you might want to replace numToChar(13) with > >"" and numToChar(10) with "" to make sure you understand what > >data you are really getting. > > Thanks for the tip. > > >I suspect what Malte is running against is that the mill had no time to > >respond. A short delay might provide some or all of the response. > > That?s what I guess too. > > Quoting Sarah: > >You might want to try out my Serial test stack - available from my web > >page at > > > >I have just updated it so that it allows you to select termination > >characters i.e. whether sends should end with CR (ASCII 13), LF (ASCII > >10) or CRLF and the same for receives. > >I think it will solve your reading problem, because it doesn't do a > >single read, but reads continuously as long as the port is open, > >reporting whenever it gets any data.That?s an interesting approach. > I had a look at your stack, but couldn?t test it with the mill yet, as I > disturb the production process every time I try testing the stack and they > are really busy today. > When I would use the method of testing if there is data sent, how would I > know that the transmission is done? > Could I try "listening" to the port until data is sent and then read until > EOF? Or would I need to write a stop handler to terminate reading when no > more data is sent? > >One other thought: you probably > >have to send a command to the milling machine first, to tell it to send > >it's data and which data to send. > I don?t hope so. The documentation on the mill is very bad. They only speak > of backing up to tapes or use their software for DOS, written by a company > that has vanished in mid 90s. > > Dar: > >I wish you the best. Would you be willing to let us know how this > >works out? > > Thanks a lot. :-) > I will have to do further testing on reading and I hope I am courages enough > to send the data back to the mill, once I have read the data. I hope I don?t > kill that thing somehow... > I?ll keep you posted anyway... > > Regards, > > Malte > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From peter9.smith at ps.ge.com Thu Sep 18 09:07:00 2003 From: peter9.smith at ps.ge.com (peter9.smith at ps.ge.com) Date: Thu Sep 18 09:07:00 2003 Subject: Pros and cons of where to store image data Message-ID: <6192367D59F8904CA553579EF41FEEA001CA660C@ukcbgx01psge.geips.ge.com> > > Thanks for the helpful responses on this. My potential aim > is to do a > > simple non-commercial Myst style game. As you move between > the rooms of the > > game the game needs to load up the images for the room > being moved into, and > > unload images for some other room based on a caching > algorithm. My current > > thinking is to have each room as its own stack embedding > the images into > > them. Room state will be maintained in a central stack. > I think a graphics-heavy app a la Myst would be a good > candidate for the > memory conservation benefits of referencing images rather > than embedding > them. Then your caching is automatically done for you, so > you can spend > that coding time crafting cool puzzles. :) I'm on a learning curve here so pardon newbie questions. When you reference images when do they get loaded and unloaded? What are the guidelines for how to reference files so it's straightforward to include them when you build to distribute to the outside world? Thanks for all the advice, Peter Smith. From xbury.cs at clearstream.com Thu Sep 18 09:34:00 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu Sep 18 09:34:00 2003 Subject: encryption of stacks- how good? Message-ID: You can surely make a stack or a macro program run forever until it findst he password. Take two systems, split the work in two... Take 4... etc... To make sure your password is not read before 2045, make your password very long (at least 6 characters - 14 is better ;)) and use ANY character, not justl etters and numbers... You can also use a different password for any other stack... Gosh, the combos are endless! Also, remember it's not garbage in a stack but well ordered info! ;)) ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 malte.brill at t-online.de (Malte Brill) Sent by: use-revolution-admin at lists.runrev.com 18/09/03 13:03 Please respond to use-revolution To: cc: ^ Subject: Re: encryption of stacks- how good? Hi Alex, what I do with my password protection is to embed it in the mainstack where the engine is attached to. I use Pasword protection and as there seems tob e no stack that could be opened with rev, so there is (hopefully) no way to fuss around with it. If you open the app. with a text editor ther?s only garbage being displayed. I?m pretty sure if there are some hackers interested in my apps they will have o problem killing my protection somehow, though. Hope that helps, Malte _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From ambassador at fourthworld.com Thu Sep 18 10:56:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 18 10:56:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: <6192367D59F8904CA553579EF41FEEA001CA660C@ukcbgx01psge.geips.ge.com> Message-ID: peter9.smith at ps.ge.com wrote: > I'm on a learning curve here so pardon newbie questions. When you reference > images when do they get loaded and unloaded? When a card is opened and closed, respectively. > What are the guidelines for how to reference files so it's straightforward > to include them when you build to distribute to the outside world? Use relative paths. -- 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 Thu Sep 18 11:28:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 18 11:28:01 2003 Subject: encryption of stacks- how good? In-Reply-To: Message-ID: <56DD1570-E9F4-11D7-A24E-000393529642@mindlube.com> On Thursday, September 18, 2003, at 08:28 AM, xbury.cs at clearstream.com wrote: > You can surely make a stack or a macro program run forever until it > findst > he password. > Take two systems, split the work in two... Take 4... etc... > > To make sure your password is not read before 2045, make your password > very long > (at least 6 characters - 14 is better ;)) and use ANY character, not > justl > etters and numbers... > > You can also use a different password for any other stack... Gosh, the > combos are endless! > > Also, remember it's not garbage in a stack but well ordered info! ;)) Xavier- I believe that the password is not used in the encryption, based on the sequence of events when the stack is run. So it doesn't matter how good or how bad the password is, the encryption is the same. And we have no idea how good or bad the encryption is. """It's interesting to note that one can "set the passkey of this stack to p" in the preOpenStack handler, and it unlocks the stack. I think this means that the engine is decrypting the stack, reading the script, compiling it, then finally checking the password. The password is therefore not used in the encryption. Right?""" Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From lists at mangomultimedia.com Thu Sep 18 11:37:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu Sep 18 11:37:01 2003 Subject: Unicode with answer file and manipulating text fields In-Reply-To: Message-ID: <92C0FC12-E9F5-11D7-9E2C-000A956C462A@mangomultimedia.com> Hi, I am trying to implement double-byte support for an application I am updating for a customer. I have some things working with Unicode but the majority I have not been able to figure out yet. I'm hoping someone can shed some light on this for me. Setup: Mac OS X.2.6 Input Menu under System Preferences >> International is set to U.S. and Japanese. Entering Text: I have two types of fields which display text. The first lets the user enter text using the keyboard. If I switch between English and Japanese this works fine. The second type of field displays file names and paths of files that the user selects from their hard drive. It is seperated into two columns. When the user selects a file the name of the file is put in column 1 and the path to the file is put into column 2. The user creates a list of files in this field. The user can also edit the name of the file in column 1. Editing the file name is not a problem. Problem: The following code will display a path which looks like "/Users/tdevore/desktop/JAPANESE_CHARACTERS" on the first line of the field but will not work for multiple lines. It places everything on the first line or causes Rev to hang. The code works fine without unicode text. tNextLine is the line that should be inserted into. set textFont of line tNextLine of field "movieList" to ",Japanese" put uniEncode (tNewMovieName & tab & pMoviePath, "Japanese") into tNewMovieName set unicodeText of line tNextLine of field "movieList" to tNewMovieName I tried the above code using "utf8" rather than "Japanese" but japanese characters did not display correctly. Also, how do I get the proper encoding to use for a string which I get from answer file? My system is English but the string has Japanese encoded characters and it appears it has to have the language setting as Japanese when encoded? Anyone have any ideas? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From mark at runrev.com Thu Sep 18 11:54:01 2003 From: mark at runrev.com (Mark Chia) Date: Thu Sep 18 11:54:01 2003 Subject: Bug submission Message-ID: <008801c37e04$b784d290$1501020a@DeltaFlyer> Currently, Runtime Revolution provides a web based interface for users to report bugs which is publically accessible. It should be noted that when submitting bugs users should provide a clear, concise and reproducible recipe. Users are also advised to read about the bug database along with bug submitting guidelines located at - http://www.runrev.com/Revolution1/bugzilla/ Please note that if you report a bug at an incorrect severity level or without a clear reproducible recipe it will take the engineers longer to address these. If in doubt leave things at their default settings. In addition, a voting system has now been implemented on bugzilla. Users are given a pool of 100 votes from which they can vote on bugs (up to a maximum of 5 votes per bug). Mark -- Mark Chia ~ http://www.runrev.com/ Runtime Revolution ~ User-Centric Development Tools ~~~ Check our web site for new Revolution editions & special offers ~~~ From ambassador at fourthworld.com Thu Sep 18 11:56:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 18 11:56:00 2003 Subject: ZoneRanger-like tool for OS X? Message-ID: I used to poke around in RAM with Zone Ranger in Mac 9 and earlier -- great tool that makes it convenient to read anything in memory. What would you recommend for OS X? -- 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 Sep 18 12:12:00 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 18 12:12:00 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: Message-ID: <6D1324E2-E9FA-11D7-811A-000A9567A3E6@swcp.com> On Thursday, September 18, 2003, at 05:05 AM, Malte Brill wrote: >> I think it will solve your reading problem, because it doesn't do a >> single read, but reads continuously as long as the port is open, >> reporting whenever it gets any data. > That?s an interesting approach. I use this style, even in non-monitor scripts. > I had a look at your stack, but couldn?t test it with the mill yet, as > I > disturb the production process every time I try testing the stack and > they > are really busy today. > When I would use the method of testing if there is data sent, how > would I > know that the transmission is done? You could examine the accumulated data. > Could I try "listening" to the port until data is sent and then read > until > EOF? Getting eof is normal with this approach. Read until the accumulated data starts with an entire message or package you want. This might be detected by a pause in data after the stream has started. It could be just a crlf at the end. If the data you want to collect is multiline and the first or last line somehow tells you the end, then you need to collect lines. Look for the line-end (say, crlf) in your accumulated data, pass that to the left to your line analyzer, replacing the line end with LF. Put that to the right back into your accumulation. > Or would I need to write a stop handler to terminate reading when no > more data is sent? That is one approach. Don't forget to skip over the lag until the first data starts showing up. Dar Scott From themacguy at macosx.com Thu Sep 18 12:21:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Thu Sep 18 12:21:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: <200309181529.LAA16114@www.runrev.com> Message-ID: I thought I'd chime in because I faced this issue and found (was told) the answer. Relative paths is correct; but what does that mean? The path should be relative to the standalone application. I use a "data" folder to store my external pictures, movies, sounds, etc. It sits at the same level as my standalone app. So the pathname to use in the image object would be: data/myImage.jpg (note the lack of a leading "/") When you are developing your app, keep it inside your Rev folder (along with your "data" folder). This will permit the same relative paths to be used during the development process because, during development, it's all relative to the Revolution application. When you create your Distribution, drop your "data" folder inside the same folder where your standalone app resides. Everything will work properly. I have a few apps that my customers periodically update with new photos or movies. They know that all they have to do is replace the old file with the new one and keep the same name; the application will automatically use the new media without a complaint (as long as the file format is what the app expects; you can't reference incompatible media simpy be renaming it). Regards, Barry On Thursday, Sep 18, 2003, at 09:29 America/Denver, use-revolution-request at lists.runrev.com wrote: >> What are the guidelines for how to reference files so it's >> straightforward >> to include them when you build to distribute to the outside world? > > Use relative paths. From kray at sonsothunder.com Thu Sep 18 12:25:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 18 12:25:00 2003 Subject: Bug submission In-Reply-To: <008801c37e04$b784d290$1501020a@DeltaFlyer> Message-ID: <006201c37e09$0742a740$6501a8c0@LightningFlash> > In addition, a voting system has now been > implemented on bugzilla. Users are given a pool of 100 votes > from which they can vote on bugs (up to a maximum of 5 votes per bug). For those people using RevZilla (the Rev front-end to BugZilla), please note that the current system of voting in RZ does NOT log votes to BugZilla (it was being managed separately because I didn't know that BugZilla even HAD voting features :-) and that the next version will include support for voting at BugZilla. For that reason, I would recommend NOT using the voting features in RevZilla 1.0 as I'm not sure if I can get those votes over to BugZilla and also the approach was a little different (1 vote per feature in RevZilla vs. up to 5 votes per bug/feature now in BugZilla). Note that you can vote on bugs as well as features in BugZilla (soon to come to RevZilla also, BTW) to help enable RunRev to determine what bugs should be fixed first or what features should be implemented first. Of course other parameters, such as severity, platform, etc. will come into play to aid in prioritizing bugs/features, but it is a good feature that Mark added to BugZilla. And finally, be aware that you can remove your votes from things you had previously voted for so you can use your 100 votes wisely. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Thu Sep 18 12:28:02 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 18 12:28:02 2003 Subject: Bug submission In-Reply-To: <008801c37e04$b784d290$1501020a@DeltaFlyer> Message-ID: On Thursday, September 18, 2003, at 10:48 AM, Mark Chia wrote: > In > addition, a voting system has now been implemented on bugzilla. Users > are > given a pool of 100 votes from which they can vote on bugs (up to a > maximum > of 5 votes per bug). Even after looking at the description of voting, I'm a little confused. Do I get 100 votes to be used in some time period and can't vote after I use them up? Or do I get to move the votes around as my interests change, shifting them to new worse bugs from more trivial bugs, moving them from fixed bugs to those not fixed? Dar Scott From kray at sonsothunder.com Thu Sep 18 12:41:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 18 12:41:00 2003 Subject: Bug submission In-Reply-To: Message-ID: <006601c37e0b$25431840$6501a8c0@LightningFlash> > Do I get 100 votes to be used in some time period and can't > vote after > I use them up? > > Or do I get to move the votes around as my interests change, shifting > them to new worse bugs from more trivial bugs, moving them from fixed > bugs to those not fixed? The latter. You can "unvote" (remove one or more votes from something you'd voted for before) and apply them somewhere else. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From wmb at internettrainer.com Thu Sep 18 13:34:02 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Sep 18 13:34:02 2003 Subject: Bug submission In-Reply-To: <008801c37e04$b784d290$1501020a@DeltaFlyer> Message-ID: On Donnerstag, Sep 18, 2003, at 18:48 Europe/Vienna, Mark Chia wrote: > Currently, Runtime Revolution provides a web based interface for users > to > report bugs which is publically accessible. It should be noted that > when > submitting bugs users should provide a clear, concise and reproducible > recipe. Users are also advised to read about the bug database along > with bug > submitting guidelines located at - > http://www.runrev.com/Revolution1/bugzilla/ Mark Every tool has bugs, the question is how many and how long they exist. But the number of bugs in rev, which makes it useless for me is endless... (For example now: the property profiles does work in the ide, but does NOT work when you build an app. I have set all textfields to another profile than Master. But all text fields in the build are empty. Rev 2.1 build a standalone which opens the rev ide. Impossible to change that. The 2.1 build produces an error of the windows engine... etc...) (OSX 10.2.6 G4 >1 Giga Ram) But I need that functions. I have bought a rev license because of the features it has, in the description at least. But this new bug makes it AGAIN impossible to deliver my program!!! Somethimes I really ask myself: Wolfgang, are you an idiot? Why have you bought another licenses when you are waiting and waiting since such a long time for a usable tool and you dont get it..? I have wasted a lot of time during the last 2 years reporting bugs - Im tired of that. These bugs are serious not cosmetic. I have bought 2 rev licenses in the last years to deliver a program to my costumers, but was able to do that until today). I want a (bugless/bugfree as possible)-programm which does what the description promises, and I want it soon now. But I dont want to learn and struggle with bugzilla, because it is very complicated...! So I think you, or anybody of the rev team, who is more trained on bugzilla, should still watch this list, like before, and transfer the bug reports and bug descriptions from here to bugzilla. 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 tuviah at runrev.com Thu Sep 18 13:59:12 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 18 13:59:12 2003 Subject: Unicode with answer file and manipulating text fields References: <200309181601.MAA17974@www.runrev.com> Message-ID: <010c01c37e16$43e1fd10$afbe040a@user> > The following code will display a path which looks like > "/Users/tdevore/desktop/JAPANESE_CHARACTERS" on the first line of the > field but will not work for multiple lines. It places everything on > the first line or causes Rev to hang. The code works fine without > unicode text. tNextLine is the line that should be inserted into. > > set textFont of line tNextLine of field "movieList" to ",Japanese" > put uniEncode (tNewMovieName & tab & pMoviePath, "Japanese") into > tNewMovieName > set unicodeText of line tNextLine of field "movieList" to tNewMovieName Problem here is that one of your unicode characters may contain the newline character and therefore Rev is returning the wrong line offsets (because the chunk stuff is still working in ASCII mode). Support for unicode chunks is planned in the near future but you can look at 'Unicode Text Manipulation Samples' in the developers contributions library for sample scripts to roll your own unicode compatible parsing routines. I would also suggest for this sort of things getting the unicodetext of a field, modifying it, and then resetting it. > Also, how do I get the proper encoding to use for a string which I get > from answer file? My system is English but the string has Japanese > encoded characters and it appears it has to have the language setting > as Japanese when encoded? To parse shift JIS files, and get as unicode you can use put uniencode(textoffile,"japanese") Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From alex at mindlube.com Thu Sep 18 14:08:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 18 14:08:01 2003 Subject: Bug submission In-Reply-To: Message-ID: On Thursday, September 18, 2003, at 12:27 PM, Wolfgang M. Bereuter wrote: > So I think you, or anybody of the rev team, who is more trained on > bugzilla, should still watch this list, like before, and transfer the > bug reports and bug descriptions from here to bugzilla. Wolfgang I know you were addressing Mark, but I have a lot of bugzilla activity and here are my thoughts. You are asking rev team to be more proactive and the rev team is asking you to be more proactive. Both sides have to give. Maybe you need to make the effort to learn bugzilla. It won't take long. IMHO it's not realistic to expect them to catch all bug reports from this list and get them into bugzilla. However I would expect that the rev team does read this list with bugzilla in mind and opens bugzilla bugs when something jumps out at them. Since they use bugzilla internally too, and there are lots of bugs (eighty-some count) reported by runrev staff, I think this is what they are doing. I plan on using the new voting feature in bugzilla because it's an opportunity to be more proactive letting the rev team know what I think is a serious bug and what's not. In the past few weeks I've noticed increased bug fixing activity in bugzilla, and that about 30% of my reported bugs have been fixed or are being investigated. It seems like the rev team is focusing now on quality after the frenzy of adding new features around the 2.0 and 2.1 releases. Yeah rev team! Glad I bought my license, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From stephenREVOLUTION at barncard.com Thu Sep 18 14:16:00 2003 From: stephenREVOLUTION at barncard.com (Stephen Quinn Barncard) Date: Thu Sep 18 14:16:00 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) Message-ID: Welcome to the world of machine interface. I've done this sort of thing a lot, in fact my first hypercard project was a software-hardware interface to a bank of 128 cassette machines in 1988. And I built the hardware end as well and it was still difficult to get them to talk to each other. It's a bitch. Even at slow rates, you'll find yourself ripping your hair out at the unresponsiveness of old serial interfaces. Many of them run without handshaking of any kind. Sometimes the connections fail and you have to restart both the target machine and the computer. You'll find yourself padding commands with delays just to get stuff to work. And if you don't know the right commands, you could be out of luck. One thing I might suggest is that you hook up the machine with it's regular controller, but tap the send line with a breakout box and attempt to view the commands that are sent with a terminal program (instead of Rev for now). If echo is set on the target device you should see both ends of the 'conversation'. This will give you a start. After that testing commands using a terminal program rather than rev will speed up your development. Sometimes people who write the imbedded software for controllers will put in a help menu - try sending an "H" to the controller. And if you have to develop this thing with your dad in the room, it will take forever. What you need is your own machine on your own bench to do this in your own time. I've found that working at a distance is almost impossible with this kind of project. Plan on spending a LOT of time on this one. The REV interface will be the fun and easy part. good luck sqb >Hi Dar, Sarah and all, > >Developing this stack is a bit complicated, as I need to write it in my >office, compile it and then test it in the company of my father. >I got the manual of the machine today but have not found any useful hints on >communication with a PC. > From alex at mindlube.com Thu Sep 18 14:19:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 18 14:19:01 2003 Subject: Bug submission In-Reply-To: Message-ID: <2DAA747A-EA0C-11D7-A24E-000393529642@mindlube.com> On Thursday, September 18, 2003, at 12:27 PM, Wolfgang M. Bereuter wrote: > But I dont want to learn and struggle with bugzilla, because it is > very complicated...! AND Ken Ray has written this most cool app, which he announced on Sept 14. So now you really have no excuse for not using bugzilla :-) http://www.sonsothunder.com/devres/revolution/downloads/RevZilla.htm """RevZilla is a stack that acts as a front end to Runtime Revolution's BugZilla bug tracking system. I (along with a number of others) felt that the web-based interface for BugZilla was funky, and felt as though some bugs may not have been logged because of the issues with dealing with BugZilla directly. As a result, RevZilla was created. It has most of the features you'll find on BugZilla, plus a couple brand new ones, like voting for features and saving bugs offline to post later.""" Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From lists at mangomultimedia.com Thu Sep 18 15:04:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu Sep 18 15:04:01 2003 Subject: Unicode with answer file and manipulating text fields In-Reply-To: <010c01c37e16$43e1fd10$afbe040a@user> Message-ID: <8F3ECED0-EA12-11D7-9E2C-000A956C462A@mangomultimedia.com> On Thursday, September 18, 2003, at 12:53 PM, Tuviah Snyder wrote: > Problem here is that one of your unicode characters may contain the > newline > character and therefore Rev is returning the wrong line offsets > (because the > chunk stuff is still working in ASCII mode). Support for unicode > chunks is > planned in the near future but you can look at 'Unicode Text > Manipulation > Samples' in the developers contributions library for sample scripts to > roll > your own unicode compatible parsing routines. > > I would also suggest for this sort of things getting the unicodetext > of a > field, modifying it, and then resetting it. Thanks Tuviah. I downloaded the stack and using the functions from the stack now have the text inserting on the correct lines: put uniEncode (tNewMovieName & tab & pMoviePath, "Japanese") into tNewLine put unicodeText of field "movieList" into tMovieList put CountUnicodeLines (tMovieList) + 1 into tNextLine if (tNextLine > 1) then put uniEncode (return, "Japanese") after tMovieList put tNewLine after tMovieList set unicodeText of field "movieList" to tMovieList >> Also, how do I get the proper encoding to use for a string which I get >> from answer file? My system is English but the string has Japanese >> encoded characters and it appears it has to have the language setting >> as Japanese when encoded? > To parse shift JIS files, and get as unicode you can use > > put uniencode(textoffile,"japanese") Okay, but how do I determine what to do at runtime? On my system I have three different file names that I am testing with: 1) All english characters 2) All japanese characters 3) Uses european characeters (?) If I use uniEncode (myfileName, "Japanese") then cases 1 and 2 work but not 3. If I use uniEncode (myFileName, "UTF8") then cases 1 works but not 2 and 3. If I use uniEncode (myFileName, "UTF16") then cases 1 and 3 work but not 2. So how do I determine which encoding to use on a string so it displays correctly? Or is there an encoding that I am missing which converts correctly every time? I am still very new to unicode so I apologize if I am missing something obvious. Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From chipp at chipp.com Thu Sep 18 15:15:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 18 15:15:01 2003 Subject: Best version of Rev to use for debugging? In-Reply-To: <20030917051554.65196.qmail@web11907.mail.yahoo.com> Message-ID: Jan, Great hacks. Thanks so much for your help. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Jan Schenkel > Sent: Wednesday, September 17, 2003 12:16 AM > To: use-revolution at lists.runrev.com > Subject: RE: Best version of Rev to use for debugging? > > > --- Chipp Walters wrote: > > Hey Jan, Thanks! > > > > Does this fix the problem with the variable watcher, > > too? Where the left > > column (variables) get's mixed up with the right > > column. > > > > -Chipp > > > > Hi Chipp, > > No it desn't, but I may have come up with a recipe to > fix this as well -- haven't done much testing though, > so be careful with it : > > - first backup the stack : > \global environment\revvariablewatcher.rev > > - then use the message box to execute > edit the script of card id 1002 of stack > "revVariableWatcher" > > - scroll to the handler "revUpdatePalette" > on revUpdatePalette pPass > > - there you will see a block of the script to handle > the fetching of variable names in an executioncontext > > set the debugContext to line it of the cContexts > of btn "Execution Contexts" > debugdo "put the variableNames into fld " && quote > & "tvnames" & quote > replace "@" with empty in fld "tvnames" > replace cr with comma in fld "tvnames" > replace ",," with "," in fld "tvnames" > put word 1 to -1 of fld "tvnames" into fld > "tvnames" > if last char of fld "tvnames" is comma then delete > last char of fld "tvnames" > if last item of fld "tvnames" is empty then delete > last item of fld "tvnames" > sort items of fld "tvnames" > put empty into field "Names" > put empty into field "Values" > put 1 into field "tcline" > > - now you make a small patch, just after the line > sort items of fld "tvnames" > you place > --PATCH > if char 1 of fld "tvnames" is comma then delete > char 1 of fld "tvnames" > --PATCH > > - the second you apply the script change, you can see > it working correctly ; oh, and make sure to save the > stack "revVariableWatcher" when Rev asks you to. > > Hope this helps the adventurous among us, > > 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 chipp at chipp.com Thu Sep 18 15:16:40 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 18 15:16:40 2003 Subject: Bug submission In-Reply-To: <006201c37e09$0742a740$6501a8c0@LightningFlash> Message-ID: Ken, Been knocking around on Lindows lately (Debian distro) and wanted to use RevZilla. Any ideas on how to manually set it up? Using Mozilla browser. thanks, Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > Sent: Thursday, September 18, 2003 12:19 PM > To: use-revolution at lists.runrev.com > Subject: RE: Bug submission > > > > In addition, a voting system has now been > > implemented on bugzilla. Users are given a pool of 100 votes > > from which they can vote on bugs (up to a maximum of 5 votes per bug). > > For those people using RevZilla (the Rev front-end to BugZilla), please > note that the current system of voting in RZ does NOT log votes to > BugZilla (it was being managed separately because I didn't know that > BugZilla even HAD voting features :-) and that the next version will > include support for voting at BugZilla. > > For that reason, I would recommend NOT using the voting features in > RevZilla 1.0 as I'm not sure if I can get those votes over to BugZilla > and also the approach was a little different (1 vote per feature in > RevZilla vs. up to 5 votes per bug/feature now in BugZilla). > > Note that you can vote on bugs as well as features in BugZilla (soon to > come to RevZilla also, BTW) to help enable RunRev to determine what bugs > should be fixed first or what features should be implemented first. Of > course other parameters, such as severity, platform, etc. will come into > play to aid in prioritizing bugs/features, but it is a good feature that > Mark added to BugZilla. > > And finally, be aware that you can remove your votes from things you had > previously voted for so you can use your 100 votes wisely. > > 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 tuviah at runrev.com Thu Sep 18 15:32:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 18 15:32:01 2003 Subject: ZoneRanger-like tool for OS X? References: <200309181601.MAA17974@www.runrev.com> Message-ID: <018101c37e23$20c78e50$afbe040a@user> > I used to poke around in RAM with Zone Ranger in Mac 9 and earlier -- great > tool that makes it convenient to read anything in memory. > > What would you recommend for OS X? Install the OSX developer tools then.. Check out /developer/applications/MallocDebug. Then launch Revolution with it. Another useful app is Pixie which is great if your doing pixel level work. PEFViewer can be useful for finding out what libraries PEF apps (like Rev for PPC) are linked with. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From tuviah at runrev.com Thu Sep 18 16:43:01 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 18 16:43:01 2003 Subject: Unicode with answer file and manipulating text fields References: <200309181919.PAA26233@www.runrev.com> Message-ID: <01d901c37e2d$2b6a4a00$afbe040a@user> > So how do I determine which encoding to use on a string so it displays > correctly? Well I think we need to support unicode or UTF8 paths names, using the useunicode property, which I plan to do in the near future. Current there is no way to know:-( because to be compatible with the previous behavior we convert from UTF8 to the system script and vice versa. Please feature request this and I'll work on finding a workaround. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From kray at sonsothunder.com Thu Sep 18 17:04:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 18 17:04:00 2003 Subject: Bug submission In-Reply-To: <2DAA747A-EA0C-11D7-A24E-000393529642@mindlube.com> Message-ID: <009c01c37e2f$e62e69f0$6501a8c0@LightningFlash> > > But I dont want to learn and struggle with bugzilla, because it is > > very complicated...! > > AND Ken Ray has written this most cool app, which he > announced on Sept > 14. So now you really have no excuse for not using bugzilla :-) > http://www.sonsothunder.com/devres/revolution/downloads/RevZilla.htm Thanks, Alex! Don't forget it's also available directly from RevNet, already within Rev... There will also be an update shortly (next day or two) incorporating the new voting system that's in BugZilla (the current voting system is managed independently of RunRev), so we should be pretty much at parity. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From livfoss at blueyonder.co.uk Thu Sep 18 17:40:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Sep 18 17:40:01 2003 Subject: Bug submission Message-ID: On Thu, 18 Sep 2003 17:48:40 +0100, "Mark Chia" wrote: > >Currently, Runtime Revolution provides a web based interface for users to >report bugs which is publically accessible. It should be noted that when >submitting bugs users should provide a clear, concise and reproducible >recipe. Users are also advised to read about the bug database along with bug >submitting guidelines located at - >http://www.runrev.com/Revolution1/bugzilla/ > >Please note that if you report a bug at an incorrect severity level or >without a clear reproducible recipe it will take the engineers longer to >address these. If in doubt leave things at their default settings. In >addition, a voting system has now been implemented on bugzilla. Users are >given a pool of 100 votes from which they can vote on bugs (up to a maximum >of 5 votes per bug). Mark - I understand and can easily appreciate your comments, but I remain puzzled about some aspects of bug reporting. 1. Can you clarify the voting system. I've just used Bugzilla for the first time, only to find the bug I wanted to report (639 - bad Breakpoint info in an earlier version of Revolution causes the Rev 2.1 to crash). To me this is a show stopper, but how can I know if another show stopper isn't just around the corner, so how can I know how many votes to cast, given that I've only got a limited number of them? 2. I have something to add to this particular report (my experience involved a different earlier version and also a different version of the MacOS than the current report), but I don't see an opportunity to add further detail to an existing report. Clearly doing so might help the RunRev engineers, and equally it seems pointless to raise a new report when it looks like the exact same bug, but what is the policy and indeed the technique here? Sorry if this is naive, but like I said I've not used Bugzilla before. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Thu Sep 18 17:55:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu Sep 18 17:55:01 2003 Subject: Breakpoint problem - how to get out of it? Message-ID: Folks I've just encountered a problem already bugzilla'd (by Mattias Alveteg) as number 639 - Rev 2.1 on the Mac crashes when it reads a stack produced in an earlier version of Rev (in my case 2.0r2) which is apparently corrupt in some way to do with breakpoint data. Looks like I can't go forward (to 2.1) and I can't easily go back, since I know the latest version(s) of my stacks developed with 2.0r2 are corrupt. They are however still readable with caution and with message activity disabled. Has anyone any advice on how to create a 'clean' copy of my stack file? I have earlier backups, but some code and some controls only occur in the defective stacks. Since the IDE doesn't allow one to have two or more stacks open with the same name, I can't just copy and paste objects and scripts from the corrupt version to a new file based on an earlier, non-corrupt backup. I need a recovery technique that is not too tedious, but I can't think of anything better than creating an intermediate file which doesn't use the same stack names and using it as a repository for the new stuff, thus creating a kind of bridge between the corrupt version and the (hopefully) non-corrupt one. Can anyone think of a better technique? I have deadlines looming. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From igor at pixelmedia.com.au Thu Sep 18 18:33:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Thu Sep 18 18:33:01 2003 Subject: Lobbying for Votes for my Bugs! Message-ID: <9D7398E8-EA2F-11D7-BBED-000393AD9396@pixelmedia.com.au> Dear Rev Users, This message is an open invitation to others, to come and cast votes for some of my Bug Reports. As you know, under the new voting system, the more votes a bug report has, the quicker it will be fixed. ------------------------------ PERSISTANT BUGS ------------------------------ I particularly wanted to call your attention to the following 3 reports, about well-known bugs which have been mentioned several times in this list, but which still have not been addressed, as of version 2.1: BUG #71: "Removing breakpoints and 'Clear All Breakpoints' refuses to work" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=71 BUG #69: "Image Library does not import images" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=69 BUG #70: "Inspector falis to launch 'editor' application in MacOS X" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=70 ------------------------------ UNICODE SUPPORT ------------------------------ Now, if the PROGRAMMERS THAT RELY ON UNICODE could also have a look at the following reports: BUG #68: "Inspector does not allow entry of Esperanto (Unicode) text" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=68 BUG #666: "XML Trees do not seem to support Unicode" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=666 ------------------------------ NEW FEATURES ------------------------------ Finally, an open request to all, to vote for the following ENHANCEMENTS to be added quickly to the list of Rev features: REQUEST #659: "Password-protection for the script of ANY object - not just stacks" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=659 REQUEST #661:"Ability to COPY and EXPORT graphic cards/groups as PICT and/or EPS" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=661 REQUEST # 184: "Ability to provide drag feedback with a semi-transparent image (as in MacOS X)" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=184 REQUEST #95: "Gradient Fills" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=95 REQUEST #94: "Soft-Edged Drop Shadows for All Objects" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=94 -------------------- HOW TO VOTE -------------------- To vote, simply follow the link above to the selected bug report page. In that page, just above the field where you can give your own "Additional Comments", there is a link that says: "Vote for this bug". Please note, that you can use a maximum of 5 of your 100 allocated votes for any single report. This means that even if you were to use all 5 of your votes to ALL of the reports above, you would have only used HALF of your allocation! Many thanks to all! -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- From dvk at dvkconsult.com.au Thu Sep 18 19:08:00 2003 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Sep 18 19:08:00 2003 Subject: Comunication COM1: and a CNC milling machine (timeout?) In-Reply-To: <200309181529.LAA16065@www.runrev.com> Message-ID: On Friday, Sep 19, 2003, at 01:29 Australia/Brisbane, malte.brill at t-online.de (Malte Brill) wrote: snip > Quoting Sarah: >> You might want to try out my Serial test stack - available from my web >> page at >> >> I have just updated it so that it allows you to select termination >> characters i.e. whether sends should end with CR (ASCII 13), LF (ASCII >> 10) or CRLF and the same for receives. >> I think it will solve your reading problem, because it doesn't do a >> single read, but reads continuously as long as the port is open, >> reporting whenever it gets any data. > That?s an interesting approach. > I had a look at your stack, but couldn?t test it with the mill yet, as > I > disturb the production process every time I try testing the stack and > they > are really busy today. > When I would use the method of testing if there is data sent, how > would I > know that the transmission is done? > Could I try "listening" to the port until data is sent and then read > until > EOF? Or would I need to write a stop handler to terminate reading when > no > more data is sent? Malte While reading earlier bits in this thread I had forgotten that I wrote a similar stack a couple of years ago. These points are probably covered in Sarah's stacks but the following is the strategy I used. The device was an intelligent battery charger which simply pumped out data when it was working. No commands, no handshakes. I used three buttons, Clear, Prepare and Stop, with fields to show time, data and state (clear, waiting, running, stopped). Prepare started a listener which cycled looking for the first instance of data. If you have no input buffer then skip this step or roll it into the second. When it found data it started the Reader, Writer and Monitor routines (all running in cycles rather than continuously) Reader kept up with reading data, taking it in small chunks and using send in to run again at a short interval. With 300 baud input you should have no problem cycling yet still capture unbuffered characters. Writer logged the data to disk every half minute. (Skippable) Monitor ran at five minute intervals. If no new data had appeared in the last five minutes it cancelled the other handlers and closed the port. You can also press Stop to do the same. Since this device normally ran for over half an hour I did not hang around to watch the excitement :-). All of these intervals should be tailored to the machine with which you are communicating. For platform reasons (i.e. lack of successful USB access under OS X at the time) the draft in RR was transferred to HyperCard on an old Mac so I was using idle, but "send in time" should accomplish all the same today. regards David From steve at nexpath.com Thu Sep 18 19:20:01 2003 From: steve at nexpath.com (Steve Gehlbach) Date: Thu Sep 18 19:20:01 2003 Subject: Breakpoint problem - how to get out of it? In-Reply-To: References: Message-ID: <3F6A4C83.6030004@nexpath.com> Graham Samuel wrote: > Folks > I've just encountered a problem already bugzilla'd (by Mattias Alveteg) > as number 639 - Rev 2.1 on the Mac crashes when it reads a stack > produced in an earlier version of Rev (in my case 2.0r2) which is > apparently corrupt in some way to do with breakpoint data. > > Can anyone think of a better technique? I have deadlines looming. > This is the problem that I have been talking about, the binary file problem with RR. It is a BAD THING. The only way this format can be used reliably is if there are never any bugs and clearly that is too much to hope for. I asked RR support about what to do with corrupted files, and they said they did not publish the spec for their file format. The only thing they offered to do was assist in recovering a file. I guess you could send it to them and ask for help. It may take them a while, so your backups are your only hope AFAIK. -Steve From kray at sonsothunder.com Thu Sep 18 19:50:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 18 19:50:00 2003 Subject: Bug submission In-Reply-To: Message-ID: <00b801c37e47$24966640$6501a8c0@LightningFlash> > Mark - I understand and can easily appreciate your comments, but I > remain puzzled about some aspects of bug reporting. If Mark doesn't mind, I'll step in and provide some answers AFAIK: > 1. Can you clarify the voting system. I've just used Bugzilla for the > first time, only to find the bug I wanted to report (639 - bad > Breakpoint info in an earlier version of Revolution causes the Rev > 2.1 to crash). To me this is a show stopper, but how can I know if > another show stopper isn't just around the corner, so how can I know > how many votes to cast, given that I've only got a limited number of > them? OK. Here's the deal. Every person has 100 votes to cast among the list of outstanding bugs (i.e. ones that have not been fixed) and features (those marked with a severity of "enhancement" that have not been implemented). A person can "spend" up to 5 votes on a single item, and can remove votes that they have cast for an item to reuse it on another item. In Bugzilla, on most of the pages (Enter Bug/Query Bug/Bug Detail/etc.) at the bottom in the yellow box is a link for "My Votes". Clicking this will take you to a page that shows you all the bugs/features you've voted on, and how many votes you assigned to each of the bugs/features. You can change them at any time, but you cannot spend more than 5 votes on a single bug/feature or a total of 100 across all the "open" bugs/features. So in answer to your question, Graham, you can spend your votes the way you see fit and if a show stopper comes around the corner, you can pull your votes off of other bugs and assign them to the show stopper. > 2. I have something to add to this particular report (my experience > involved a different earlier version and also a different version of > the MacOS than the current report), but I don't see an opportunity to > add further detail to an existing report. Clearly doing so might help > the RunRev engineers, and equally it seems pointless to raise a new > report when it looks like the exact same bug, but what is the policy > and indeed the technique here? Sorry if this is naive, but like I > said I've not used Bugzilla before. No problem. When you click on a bug in a list (like the result of a search) you are on a page with a header that says something like "Bugzilla Bug 643". Near the middle of the page is a field called "Additional Comments". Simply type in your comments on the bug and click the "Commit" button. If you were not the original poster of the bug, you're only option (displayed above the Commit button) is "Leave as ", which means that all you can do is comment on the bug. If you ARE the original poster, you can change the status and do a couple of other things in addition to adding a comment or using the field to explain why you changed the status of the bug. Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Sep 18 19:53:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 18 19:53:01 2003 Subject: Lobbying for Votes for my Bugs! In-Reply-To: <9D7398E8-EA2F-11D7-BBED-000393AD9396@pixelmedia.com.au> Message-ID: <00b901c37e47$85281440$6501a8c0@LightningFlash> > This message is an open invitation to others, to come and cast votes > for some of my Bug Reports. As you know, under the new voting > system, > the more votes a bug report has, the quicker it will be fixed. Not necessarily, Igor. It just means there's more interest from us users in having it fixed. There are other factors that the RunRev team will use to determine what gets fixed first - severity and platform are two major item (IMHO) that can help determine what gets fixed when, and those have nothing to do with the number of votes. Votes just help provide a rudder for RunRev when evaluating bugs of similar "weight" to help get those that are more important to us done earlier if possible. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Sep 18 19:54:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 18 19:54:01 2003 Subject: Bug submission In-Reply-To: Message-ID: <00bf01c37e47$ba960ec0$6501a8c0@LightningFlash> Good question, Chipp. I just installed Lindows a few days ago and I promised Mark Chia that I'd have a Linux version of RevZilla working... so give me a couple of days and I may have an answer for you. I'm a relative Linux newbie, so I'm not sure where the cookies are hiding... 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: Thursday, September 18, 2003 3:10 PM > To: use-revolution at lists.runrev.com > Subject: RE: Bug submission > > > Ken, > > Been knocking around on Lindows lately (Debian distro) and > wanted to use RevZilla. Any ideas on how to manually set it > up? Using Mozilla browser. > > thanks, > > Chipp > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > > Sent: Thursday, September 18, 2003 12:19 PM > > To: use-revolution at lists.runrev.com > > Subject: RE: Bug submission > > > > > > > In addition, a voting system has now been > > > implemented on bugzilla. Users are given a pool of 100 votes from > > > which they can vote on bugs (up to a maximum of 5 votes per bug). > > > > For those people using RevZilla (the Rev front-end to BugZilla), > > please note that the current system of voting in RZ does > NOT log votes > > to BugZilla (it was being managed separately because I didn't know > > that BugZilla even HAD voting features :-) and that the > next version > > will include support for voting at BugZilla. > > > > For that reason, I would recommend NOT using the voting features in > > RevZilla 1.0 as I'm not sure if I can get those votes over > to BugZilla > > and also the approach was a little different (1 vote per feature in > > RevZilla vs. up to 5 votes per bug/feature now in BugZilla). > > > > Note that you can vote on bugs as well as features in > BugZilla (soon > > to come to RevZilla also, BTW) to help enable RunRev to > determine what > > bugs should be fixed first or what features should be implemented > > first. Of course other parameters, such as severity, platform, etc. > > will come into play to aid in prioritizing bugs/features, > but it is a > > good feature that Mark added to BugZilla. > > > > And finally, be aware that you can remove your votes from > things you > > had previously voted for so you can use your 100 votes wisely. > > > > 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From alex at mindlube.com Thu Sep 18 20:03:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 18 20:03:01 2003 Subject: Bug submission In-Reply-To: <00bf01c37e47$ba960ec0$6501a8c0@LightningFlash> Message-ID: <42FC61C6-EA3C-11D7-A24E-000393529642@mindlube.com> On Thursday, September 18, 2003, at 06:48 PM, Ken Ray wrote: > Good question, Chipp. I just installed Lindows a few days ago and I > promised Mark Chia that I'd have a Linux version of RevZilla working... > so give me a couple of days and I may have an answer for you. I'm a > relative Linux newbie, so I'm not sure where the cookies are hiding... It's probably in a hidden (starting with dot) folder in the home directory. Just a guess ~/.mozilla/cookies Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From igor at pixelmedia.com.au Thu Sep 18 20:35:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Thu Sep 18 20:35:01 2003 Subject: Lobbying for Votes for my Bugs! In-Reply-To: <00b901c37e47$85281440$6501a8c0@LightningFlash> Message-ID: On Friday, September 19, 2003, at 10:46 AM, Ken Ray wrote: >> This message is an open invitation to others, to come and cast votes >> for some of my Bug Reports. As you know, under the new voting >> system, >> the more votes a bug report has, the quicker it will be fixed. > > Not necessarily, Igor. It just means there's more interest from us > users > in having it fixed. There are other factors that the RunRev team will > use to determine what gets fixed first - severity and platform are two > major item (IMHO) that can help determine what gets fixed when, and > those have nothing to do with the number of votes. > Very true. Nevertheless, if the majority of the bugs fall into the same level of 'severity', and there are only a limited number of developers available to handle them (just in theory), then the votes will be, indeed, critical in determining which ones will be looked at first - and how many resources are put into overcoming a specific bug or problem area. There are, at this stage - and in my limited experience - very *few* bugs which are CRASHING, but *many* which are 'normal' show-stoppers in the particular areas of the program that we have to deal with consistently (such as Unicode, or Graphics). Therefore, the votes are critical in this scenario, in directing the Rev team as to whether they should focus their attention on these areas, as opposed to, say, for instance, Database and Networking issues. > Votes just help provide a rudder for RunRev when evaluating bugs of > similar "weight" to help get those that are more important to us done > earlier if possible. > So, as you can see, the voting will likely influence, indeed, the speed in which certain bugs are fixed . We might all be looking at this from the programming perspective, but there is also a BUSINESS perspective to consider. The voting system will help show the Rev folks which areas in the IDE have the most sought-after features, the most widely used ones, the most needed - and again, this will help them determine how many resources to allocated to each area. If everyone places votes for bugs related to Database issues, and only a handfull of people vote for the resolution of Unicode bugs, this IS telling them where to concentrate their efforts, and which bugs to solve QUICKLY - no matter how SEVERE the Unicode bugs might be... Thanks for you point of view, though! - but don't forget to go and VOTE!!!! Many thanks, -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- From jacque at hyperactivesw.com Thu Sep 18 20:36:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Sep 18 20:36:00 2003 Subject: Breakpoint problem - how to get out of it? In-Reply-To: References: Message-ID: <3F6A5C3C.2030605@hyperactivesw.com> On 9/18/03 5:49 PM, Graham Samuel wrote: > Since the IDE doesn't allow one to have two or > more stacks open with the same name, I can't just copy and paste objects > and scripts from the corrupt version to a new file based on an earlier, > non-corrupt backup. You can open the corrupt stack and rename it. Then open a newer copy and it won't conflict. You don't even have to save the old copy; it only needs to be renamed in memory. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Sep 18 20:44:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Sep 18 20:44:00 2003 Subject: Lobbying for Votes for my Bugs! In-Reply-To: <9D7398E8-EA2F-11D7-BBED-000393AD9396@pixelmedia.com.au> References: <9D7398E8-EA2F-11D7-BBED-000393AD9396@pixelmedia.com.au> Message-ID: <3F6A5E1A.2030609@hyperactivesw.com> On 9/18/03 6:27 PM, Igor Couto wrote: > This message is an open invitation to others, to come and cast votes > for some of my Bug Reports. I hope this list doesn't become a lobbying platform. On the other hand, as long as we're talking about it: > Finally, an open request to all, to vote for the following ENHANCEMENTS > to be added quickly to the list of Rev features: I would suggest that people not give any votes to enhancement requests. I see far too many serious bugs in Revolution that need to be addressed immediately. I would be much happier if the engine got stable first and the enhancements happened later. If this product is to succeed, it has to stop crashing and all its currently defined behaviors have to work correctly. That should come first. Forget the enhancements for a while. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From briany at qldlearning.com Thu Sep 18 21:08:00 2003 From: briany at qldlearning.com (Brian Yennie) Date: Thu Sep 18 21:08:00 2003 Subject: Lobbying for Votes for my Bugs! In-Reply-To: <3F6A5E1A.2030609@hyperactivesw.com> Message-ID: I have to second this one. While the Rev folks have done a marvelous job with the many features they have built on top of Metacard, it looks to me like there needs to be a serious stop-and-fix period. It used to be that if Rev was unstable, I could always switch back to MetaCard if I didn't need X, Y and Z. That's no longer true. The features are getting too far ahead of the testing, and I for one am seriously concerned. Brian > I would suggest that people not give any votes to enhancement > requests. I see far too many serious bugs in Revolution that need to > be addressed immediately. I would be much happier if the engine got > stable first and the enhancements happened later. > > If this product is to succeed, it has to stop crashing and all its > currently defined behaviors have to work correctly. That should come > first. Forget the enhancements for a while. From igor at pixelmedia.com.au Thu Sep 18 21:13:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Thu Sep 18 21:13:01 2003 Subject: Lobbying for Votes for my Bugs! In-Reply-To: <3F6A5E1A.2030609@hyperactivesw.com> Message-ID: <16C2F9EB-EA46-11D7-BBED-000393AD9396@pixelmedia.com.au> On Friday, September 19, 2003, at 11:38 AM, J. Landman Gay wrote: > I would suggest that people not give any votes to enhancement > requests. I see far too many serious bugs in Revolution that need to > be addressed immediately. I would be much happier if the engine got > stable first and the enhancements happened later. > > If this product is to succeed, it has to stop crashing and all its > currently defined behaviors have to work correctly. That should come > first. Forget the enhancements for a while. > Point taken! - I humbly and wholeheartedly agree... I suspect, as Ken Ray pointed out in an earlier post, that the 'severity' of the bugs reported is already taken into consideration by the RunRev team, when deciding which bugs to fix first. I doubt very much that, at this stage, they would be implementing an 'enhancement' (which is way down at the bottom of the severity list), before fixing one of the 'normal' bugs... Nevertheless, enhancement requests *are* a way to let the RunRev team know which features and areas of the program are most used, and appreciated. ANY voting will give them some level of useful feedback. Thinking about 'new features' also gives programmers something POSITIVE to concentrate on, to 'look forward to' - both us, the users, and the RunRev developers need that - rather than forever hammering on the negative aspects of our tools... Besides, with 100 votes to spread, we have enough to cover all of the URGENT bugs, and should still have quite a few left to spare! :-) So, whether you want to only vote for old and persistant bugs, or whether you want to spend all of your votes on new feature requests: don't forget to GO and CAST YOUR VOTE!!! Many thanks, -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- From heilandrew at attbi.com Thu Sep 18 21:53:07 2003 From: heilandrew at attbi.com (Andrew Heil) Date: Thu Sep 18 21:53:07 2003 Subject: Revolution 2.1 IDE speed/performance issues - normal? Message-ID: <001101c3764f$bec54880$0300a8c0@attbi.com> Alex Rice wrote: >Not normal! I use Rev on equivalent machines as you and it's very fast. >The property inspector, script editor, app browser all open up in <= 1 >second. Compiled apps are quick as well. > >Mac G4/466 Mhz >500 Mhz x86 laptop > >One possible gotcha to watch out for is that opening up or searching in >the Documentation window in the Rev IDE uses significant amount of RAM. > >Other than that I have no ideas right now- sorry RAM usage doesn't seem to be the issue, but every time Revolution opens up a form, CPU usage spikes to 100%, then goes back down. I wonder if QuickTime has anything to do with it; Revolution loads 13 QT modules when it starts on this computer. Anyway, thanks for the reply. - Andrew From shrap at geko.net.au Thu Sep 18 21:53:30 2003 From: shrap at geko.net.au (Neil Phillips) Date: Thu Sep 18 21:53:30 2003 Subject: Variable Watcher bug Message-ID: I've just bought the Studio Edition 2.1 and something very strange is happening in the Variable Watcher. I'm running the program on a Mac G3 in system 9.2.2. The actual effect of the script is fine but what's going on in the Variable Watcher beats me. To clarify what's happening I made a one button one field stack with the button script as follows: on mouseUp put empty into fld 1 put "a" into Va put "b" into Vb put Va&return after fld 1 put Vb&return after fld 1 end mouseUp When I run the script with a breakpoint I get the following. When I step into 'put "a" into Va' the variable watcher is: Left column Right column mouseU mouseU Va,Vb,tNames,mouseU tNames Va Vb As I step through the script on some occasions it will simply put "a" in the right coulumn next to tnames and "b" next to Va. This may be related to bugs 377 and 378 in Bugzilla. However this is not an end to the weirdness. I noticed that something I was doing was causing the script to step forward even when the cursor was nowhere near any of the buttons at the bottom of the script window. What I discovered that there was a kind of hot spot over the word "after" on either of the last two lines of the script. I tried replacing "after" with "into" and this did not cause the unwanted stepping into. However, when I replaced "into" with "before" the script stepped on as it did with "after". As this unwanted stepping throught the script happened the variable watcher became completely scrambled. I opened the stack in Revolution 2.0.1 and the Variable Watcher worked perfectly. I am no expert on Revolution but this can't be right. I think this is related to bugs 377 and 378 in Bugzilla but I am not sure. Anyone else with a similar problem. Cheers, Neil From igor at pixelmedia.com.au Thu Sep 18 22:11:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Thu Sep 18 22:11:01 2003 Subject: Variable Watcher bug In-Reply-To: Message-ID: <2D1D670D-EA4E-11D7-BBED-000393AD9396@pixelmedia.com.au> Dear Neil, Have a look at Revolution's online Bug-Reporting system, 'Buzilla': http://www.runrev.com/revolution/developers/bugdatabase/ You may do searches there, to see if others have experienced the same problems as you - and perhaps even already reported them to the RunRev development team! I think you will find the following bug report relevant: BUG #378: "variable watcher : empty first line in variable names field": http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=378 This might explain what you are experiencing. In order to help give priority to this bug, ENROL in the bug reporting system, and VOTE for it! On Tuesday, September 9, 2003, at 08:49 AM, Neil Phillips wrote: > I've just bought the Studio Edition 2.1 and something very strange is > happening in the Variable Watcher. > > I'm running the program on a Mac G3 in system 9.2.2. > > The actual effect of the script is fine but what's going on in the > Variable > Watcher beats me. To clarify what's happening I made a one button one > field > stack with the button script as follows: > > on mouseUp > put empty into fld 1 > put "a" into Va > put "b" into Vb > put Va&return after fld 1 > put Vb&return after fld 1 > end mouseUp > > When I run the script with a breakpoint I get the following. > > When I step into 'put "a" into Va' the variable watcher is: > > Left column Right column > mouseU > mouseU Va,Vb,tNames,mouseU > tNames > Va > Vb > > As I step through the script on some occasions it will simply put "a" > in > the right coulumn next to tnames and "b" next to Va. > > This may be related to bugs 377 and 378 in Bugzilla. > > However this is not an end to the weirdness. > > I noticed that something I was doing was causing the script to step > forward > even when the cursor was nowhere near any of the buttons at the bottom > of > the script window. What I discovered that there was a kind of hot spot > over > the word "after" on either of the last two lines of the script. I tried > replacing "after" with "into" and this did not cause the unwanted > stepping > into. However, when I replaced "into" with "before" the script stepped > on > as it did with "after". > > As this unwanted stepping throught the script happened the variable > watcher > became completely scrambled. > > I opened the stack in Revolution 2.0.1 and the Variable Watcher worked > perfectly. > > I am no expert on Revolution but this can't be right. > > I think this is related to bugs 377 and 378 in Bugzilla but I am not > sure. > > Anyone else with a similar problem. Many thanks, -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- From pixelbird at interisland.net Thu Sep 18 23:46:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu Sep 18 23:46:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: <200309181919.PAA26204@www.runrev.com> Message-ID: Hi Barry, > Date: Thu, 18 Sep 2003 11:15:19 -0600 > Subject: Re: Pros and cons of where to store image data > From: Barry Levine > the application will > automatically use the new media without a complaint (as long as the > file format is what the app expects; you can't reference incompatible > media simpy be renaming it). ---------- Good reminder. If it's something you're using with QT, won't QT automatically translate for you (as long as the format is anything QT recognizes)? TIA, Ken N. From jeanne at runrev.com Fri Sep 19 00:55:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Sep 19 00:55:01 2003 Subject: Lobbying for Votes for my Bugs! In-Reply-To: References: Message-ID: At 11:29 AM +1000 9/19/2003, Igor Couto wrote: >Very true. Nevertheless, if the majority of the bugs fall into the >same level of 'severity', and there are only a limited number of >developers available to handle them (just in theory), then the votes >will be, indeed, critical in determining which ones will be looked >at first - and how many resources are put into overcoming a specific >bug or problem area. This surely will not be the case if the votes turn into a popularity contest, subject to lobbying, email campaigns for other people to vote for "your" bugs, and so on. (I mean, come on.) I see votes on bug reports (as opposed to enhancement requests) as being useful mostly in gauging how many people have run into a particular bug (and found it hard or impossible to work around). That usefulness, such as it is, will disappear pretty fast if the votes are perceived to have been affected by other factors, and become unreliable in gauging just how much of a problem each bug is for Rev users. -- 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 chipp at chipp.com Fri Sep 19 01:27:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 19 01:27:01 2003 Subject: Bug submission In-Reply-To: <00bf01c37e47$ba960ec0$6501a8c0@LightningFlash> Message-ID: Hey Ken, > > Good question, Chipp. I just installed Lindows a few days ago and I > promised Mark Chia that I'd have a Linux version of RevZilla working... > so give me a couple of days and I may have an answer for you. I'm a > relative Linux newbie, so I'm not sure where the cookies are hiding... > > Ken Ray Yep, I'm a newbie too when it comes to Linux. But, Lindows sure makes it easy, doesn't it? You might try posting a question about the cookies on the Lindows forum (use the Guest section if you don't have a username). I've had great success asking questions there. I especially like the ability to mount my XP partition and edit directly rev stacks. Jerry Daniels and I are really getting into it. Plus, they have direct connection to all their users via Click-N-Run, so selling RR apps online is pretty easy cause they take care of all the marketing for you. Reminds me of my first Palm App which I posted on PalmGear and sold hundreds of copies of -- all with no marketing except for PalmGear. best, Chipp From chipp at chipp.com Fri Sep 19 01:37:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 19 01:37:01 2003 Subject: Variable Watcher bug In-Reply-To: Message-ID: Neil, This was just recently discussed, along with fixes posted by Jan Schenkel. Search for: Best version of Rev to use for debugging? -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Neil Phillips > Sent: Monday, September 08, 2003 5:49 PM > To: use-revolution at lists.runrev.com > Subject: Variable Watcher bug > > > I've just bought the Studio Edition 2.1 and something very strange is > happening in the Variable Watcher. > > I'm running the program on a Mac G3 in system 9.2.2. > > The actual effect of the script is fine but what's going on in > the Variable > Watcher beats me. To clarify what's happening I made a one button > one field > stack with the button script as follows: > > on mouseUp > put empty into fld 1 > put "a" into Va > put "b" into Vb > put Va&return after fld 1 > put Vb&return after fld 1 > end mouseUp > > When I run the script with a breakpoint I get the following. > > When I step into 'put "a" into Va' the variable watcher is: > > Left column Right column > mouseU > mouseU Va,Vb,tNames,mouseU > tNames > Va > Vb > > As I step through the script on some occasions it will simply put "a" in > the right coulumn next to tnames and "b" next to Va. > > This may be related to bugs 377 and 378 in Bugzilla. > > However this is not an end to the weirdness. > > I noticed that something I was doing was causing the script to > step forward > even when the cursor was nowhere near any of the buttons at the bottom of > the script window. What I discovered that there was a kind of hot > spot over > the word "after" on either of the last two lines of the script. I tried > replacing "after" with "into" and this did not cause the unwanted stepping > into. However, when I replaced "into" with "before" the script stepped on > as it did with "after". > > As this unwanted stepping throught the script happened the > variable watcher > became completely scrambled. > > I opened the stack in Revolution 2.0.1 and the Variable Watcher worked > perfectly. > > I am no expert on Revolution but this can't be right. > > I think this is related to bugs 377 and 378 in Bugzilla but I am not sure. > > Anyone else with a similar problem. > > Cheers, > > Neil > > > _______________________________________________ > 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 Sep 19 02:21:00 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Sep 19 02:21:00 2003 Subject: Lobbying for Votes for my Bugs! In-Reply-To: Message-ID: <13636AD8-EA71-11D7-BBED-000393AD9396@pixelmedia.com.au> Dear Jeanne, Thank you for your reply: On Friday, September 19, 2003, at 02:39 PM, Jeanne A. E. DeVoto wrote: > At 11:29 AM +1000 9/19/2003, Igor Couto wrote: >> Very true. Nevertheless, if the majority of the bugs fall into the >> same level of 'severity', and there are only a limited number of >> developers available to handle them (just in theory), then the votes >> will be, indeed, critical in determining which ones will be looked >> at first - and how many resources are put into overcoming a specific >> bug or problem area. > > This surely will not be the case if the votes turn into a popularity > contest, subject to lobbying, email campaigns for other people to vote > for "your" bugs, and so on. > > (I mean, come on.) Running a VOTE, by its very definition, *IS* a kind of popularity contest - isn't it? - ie, if everyone 'votes' for a particular bug (the bug is 'popular'), will that bug not take priority? If that is not the case, then perhaps the Revolution folks should let us know more clearly how the voting is going to be used in their product development strategy. As you well pointed out by using quotes, "my" bugs are not "mine" at all. They are Revolution bugs. I just happened to notice that there are newbies galore, who have very little knowledge of bugzilla, and of the bugs already reported. Even the 'seasoned' developers seem to keep on running over the same problems again, and again, and again. As you can see, many people in this list find bugzilla daunting, confusing, and time-consuming. Nevertheless, we all have 1 single objective: to improve Revolution. Many of us hardly have any time to spend searching through the 650+ reported bugs in bugzilla, let alone leisurely browse through the list, looking for the most 'appropriate' ones to cast our votes, and try to give some direction to the development efforts of the RunRev team... > I see votes on bug reports (as opposed to enhancement requests) as > being useful mostly in gauging how many people have run into a > particular bug (and found it hard or impossible to work around). Well, that notion is just downright wrong. Your statistics will be on the people who use the bug-reporting system, and who CAST VOTES. This will NOT give you a true indication of the percentage of users who encounter bugs. How many people are Revolution users who would have run into a particular bug, and never even had a single look at bugzilla - let alone register, search, and cast a vote?... This 'voting' system is going to be useful to a *very particular* kind of user - one who already has a serious investment into Revolution. If you want statistics about the larger population of ALL users who 'run into' bugs, this voting scheme is NOT the way to go... > That usefulness, such as it is, will disappear pretty fast if the > votes are perceived to have been affected by other factors, and become > unreliable in gauging just how much of a problem each bug is for Rev > users. Before you establish a strategy for solving a problem, you have to define *very clearly* what your problem is. In this case, the problem seems to be with the definition of what "gauging" "how much of a problem each bug is", is. Is 'gauging' defining the 'severity' of the bugs? (this is a measure of 'how much of a problem' a bug is, after all.). Is 'gauging' counting how many people have come across a bug? Is 'gauging' counting how many projects were abandoned because of a specific bug, or how many people have given up on Revolution altogether because of a particular bug? Or would defining 'how much of a problem' a bug is entail analysing how many different areas of the program it affects? Or how old the bug is? Or how much time people waste trying to circumvent it? Different strategies for different measurements - and if you are not clear about what is it that you want to measure, you WILL get incorrect measurements. Because of all these factors, I saw nothing wrong in calling people's attention to the bugs I had reported - specially considering that some of them keep popping up again and again in this mailing list. Just like everybody else, I do not have the time to search exhaustively and frequently through the bug database, and often miss related bugs, which others have reported. My thinking was very similar to yours, in which that if anyone else had come across these bugs before, or had thought about these issues, I was providing an easy link for them to voice their opinion. These bugs ARE, indeed, important to me, and I want to have them solved quickly. If others disagree, they can just ignore my email. If others think alike, they can cast their vote. Isn't that the entire purpose of the voting in the first place? As far as a 'lobbying' contests go - *please*, let's come down to reality here... I used the term 'lobbying' in my email header in jest, and thought that it would be understood as such. Obviously, people are taking this as meaning more than what was intended. There CANNOT be a bug that is 'yours' and one that is 'mine' - just how silly IS that concept! What people seem to be taking exception to is the fact that I 'announced' my bugs OPENLY in the mailing list, and used the term -lobbying-. Well, sorry about that. Next time I'll just use the expression "seeking expressions of interest" instead, and sugar-coat my narrative in third-person impersonal tones (*never* will I refer to *my* bugs again!) - and then everything will be all right... Cheers, -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- From livfoss at blueyonder.co.uk Fri Sep 19 02:41:16 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri Sep 19 02:41:16 2003 Subject: Breakpoint problem - how to get out of it? Message-ID: On Thu, 18 Sep 2003 20:30:36 -0500, "J. Landman Gay" wrote: > >> Since the IDE doesn't allow one to have two or >> more stacks open with the same name, I can't just copy and paste objects >> and scripts from the corrupt version to a new file based on an earlier, >> non-corrupt backup. > >You can open the corrupt stack and rename it. Then open a newer copy and >it won't conflict. You don't even have to save the old copy; it only >needs to be renamed in memory. Well, the corrupt stack is really a file with a lot of stacks in it, and because it's corrupt, RR 2.0r2 (the only version that will open it at all) tends to go off into some kind of loop at the drop of a hat, so the suggested technique is likely to lead to a lot of tedious force-quit situations etc. I see the merit of your technique, but I would really like to make as few changes to the corrupt stack as is humanly possible, and just copy bits out of it hopefully leaving corruption behind. I do think this inability to have two stacks in RAM each called 'myStack' or whatever is a weakness of RR. Really there should be more robust scope/naming rules, so that the name of every stack should IMO be in principle be in a domain defined by the name of the file it's in ('myStack' of 'myFile'). Then one could have old and new versions of an app in a development environment at the same time. Still, must work with what we actually have... Thanks Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Fri Sep 19 02:42:55 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri Sep 19 02:42:55 2003 Subject: Bug submission Message-ID: On Thu, 18 Sep 2003 19:44:05 -0500, "Ken Ray" wrote: [the clearest explanation of Bugzilla voting I've seen so far,then] > > > 2. I have something to add to this particular report (my experience >> involved a different earlier version and also a different version of > > the MacOS than the current report), but I don't see an opportunity to >> add further detail to an existing report. Clearly doing so might help >> the RunRev engineers, and equally it seems pointless to raise a new >> report when it looks like the exact same bug, but what is the policy >> and indeed the technique here? Sorry if this is naive, but like I >> said I've not used Bugzilla before. > >No problem. When you click on a bug in a list (like the result of a >search) you are on a page with a header that says something like >"Bugzilla Bug 643". Near the middle of the page is a field called >"Additional Comments". Simply type in your comments on the bug and click >the "Commit" button. If you were not the original poster of the bug, >you're only option (displayed above the Commit button) is "Leave as >", which means that all you can do is comment on the bug. If you >ARE the original poster, you can change the status and do a couple of >other things in addition to adding a comment or using the field to >explain why you changed the status of the bug. I know I'm lagging behind on this, but I don't see how I or anyone else would have known this from the Bugzilla interface. It should be stated more clearly that additional comments can be made by someone who isn't the author of the original report, IMHO. Anyway away I go to vote and comment. Thanks Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From dsc at swcp.com Fri Sep 19 04:21:01 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 19 04:21:01 2003 Subject: Bug submission In-Reply-To: Message-ID: On Thursday, September 18, 2003, at 12:27 PM, Wolfgang M. Bereuter wrote: > I have wasted a lot of time during the last 2 years reporting bugs - > Im tired of that. These bugs are serious not cosmetic. I have bought 2 > rev licenses in the last years to deliver a program to my costumers, > but was able to do that until today). I want a (bugless/bugfree as > possible)-programm which does what the description promises, and I > want it soon now. I think I know how you feel. My experiences are not much different. I looked over the bug list to see how to spread my 100 "votes". I realized that most of what is most important to me is not there. Most of that was reported over the previous year and a half. Maybe over the next couple months I can redo that. For today, I'm not sure how to spread my votes. I'm toying with the strategy of lowering my vote if I think I can replace the function/handler with my own external routines or replace the control with an image. Dar Scott From joel at alpsgiken.gr.jp Fri Sep 19 04:37:00 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Fri Sep 19 04:37:00 2003 Subject: Unicode with answer file and manipulating text fields In-Reply-To: <92C0FC12-E9F5-11D7-9E2C-000A956C462A@mangomultimedia.com> References: <92C0FC12-E9F5-11D7-9E2C-000A956C462A@mangomultimedia.com> Message-ID: <20030919182722.B324.JOEL@alpsgiken.gr.jp> > Hi, > > I am trying to implement double-byte support for an application I am > updating for a customer. I have some things working with Unicode but > the majority I have not been able to figure out yet. I'm hoping > someone can shed some light on this for me. > > Setup: > Mac OS X.2.6 > Input Menu under System Preferences >> International is set to U.S. and > Japanese. > > Entering Text: > I have two types of fields which display text. The first lets the user > enter text using the keyboard. If I switch between English and > Japanese this works fine. > > The second type of field displays file names and paths of files that > the user selects from their hard drive. It is seperated into two > columns. When the user selects a file the name of the file is put in > column 1 and the path to the file is put into column 2. The user > creates a list of files in this field. The user can also edit the name > of the file in column 1. Editing the file name is not a problem. > > Problem: > > The following code will display a path which looks like > "/Users/tdevore/desktop/JAPANESE_CHARACTERS" on the first line of the > field but will not work for multiple lines. It places everything on > the first line or causes Rev to hang. The code works fine without > unicode text. tNextLine is the line that should be inserted into. > > set textFont of line tNextLine of field "movieList" to ",Japanese" > put uniEncode (tNewMovieName & tab & pMoviePath, "Japanese") into > tNewMovieName > set unicodeText of line tNextLine of field "movieList" to tNewMovieName > > I tried the above code using "utf8" rather than "Japanese" but japanese > characters did not display correctly. > > Also, how do I get the proper encoding to use for a string which I get > from answer file? My system is English but the string has Japanese > encoded characters and it appears it has to have the language setting > as Japanese when encoded? How's your Japanese? You might want to ask this question on the Runtime_Revolution_Users_Japan at egroups.co.jp list. Sign up here: http://www.egroups.co.jp/group/Runtime_Revolution_Users_Japan -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) From tfuerstner at zkm.de Fri Sep 19 05:01:01 2003 From: tfuerstner at zkm.de (Thomas Fuerstner) Date: Fri Sep 19 05:01:01 2003 Subject: Drawing with Text Message-ID: Can somebody tell me, how it's possible to draw text on a JPEG and then save the JPEG together with the text as one picture to hard-disk ? - Thomas Fuerstner From klaus at major-k.de Fri Sep 19 05:15:00 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 19 05:15:00 2003 Subject: Drawing with Text In-Reply-To: Message-ID: <602FD456-EA89-11D7-93C4-000A27B49A96@major-k.de> Hi Thomas, > Can somebody tell me, how it's possible to draw text on a JPEG and > then save > the JPEG together with the text as one picture to hard-disk ? You will need a field to write in (on top of the JPG) and then simply export a screenshot of that area... Hope that helps... Drop a line, off-list and in german, if you like :-), to get more info/assistance. > - Thomas Fuerstner Regards/Gruss Klaus Major klaus at major-k.de www.major-k.de From tkuypers at pandora.be Fri Sep 19 05:16:01 2003 From: tkuypers at pandora.be (tkuypers at pandora.be) Date: Fri Sep 19 05:16:01 2003 Subject: EBCDIC to ASCII converter Message-ID: Hi all... Has anyone maybe created a converter for EDCDIC files to plain ASCII? I know there are several available as C-routines and conversiontables are available on the web, but why invent the wheel several times.... Regards, Ton Kuypers -------------- next part -------------- An HTML attachment was scrubbed... URL: From malte.brill at t-online.de Fri Sep 19 07:03:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Fri Sep 19 07:03:00 2003 Subject: Drawing with Text In-Reply-To: <200309190540.BAA09040@www.runrev.com> Message-ID: Hi Thomas, you can try placing a field over your JPEG, set its opaque to false and then export a snapshot. From janschenkel at yahoo.com Fri Sep 19 07:17:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 19 07:17:00 2003 Subject: Bug submissions, Feature requests and Voting Message-ID: <20030919121120.52162.qmail@web11906.mail.yahoo.com> Hi All, I figured I'd better put in my two eurocents' worth before the end of the discussion this time ;-) Frankly, I think voting on bugs is a _bad_ idea. Not only does this send the wrong message (if you have a problem, you better lobby around for enough votes) but unless it is balanced out by the severity of the bug, it's not going to be of much help. However, I do understand that it should be deemed less important to dig around in an obscure corner of the engine or a library that hardly anybody uses ; especially if there is a work-around (which reminds me that it would be good if there were a central place for these ; and I don't mean the list archives) What I would much rather see, is a general enquiry to find out what people are using Revolution for (right now / in the near future / further down the road) and what areas they use most and least (XML, Internet, Database, other libraries). This profile can then be used to gauge interest in specific fields : those who work a lot with Databases might be contacted and asked to submit ideas for input checking and output formatting ; multimedia buffs might help revamp the animation manager ; etc. Voting should then be reserved for feature requests, so we can share our views on what we really need and what would be helpful but isn't all that urgent. And feedback in the form of a roadmap with these features would be much appreciated, so that we have some vague idea of what to expect ; and then the lobbying can start ;-) This roadmap is not meant to steal RunRev's thunder in any way when they're preparing a major new function and want to keep it under wraps ; nor is the feedback round per library meant to push them into development cycles that go off the charts. This is one guy's opinion ; and I'm sure everyone has their set of bugs they really want to see fixed first, as well as a list of features they'd like to see added soon. It's up to our friends in Schotland to strike a balance. 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 igor at pixelmedia.com.au Fri Sep 19 08:13:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Sep 19 08:13:01 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: <20030919121120.52162.qmail@web11906.mail.yahoo.com> Message-ID: <3E6A676D-EAA2-11D7-B72B-000393AD9396@pixelmedia.com.au> Hey, Jan! On Friday, September 19, 2003, at 10:11 PM, Jan Schenkel wrote: > I figured I'd better put in my two eurocents' worth > before the end of the discussion this time ;-) > > Frankly, I think voting on bugs is a _bad_ idea. I agree totally! However, rather than appearing to be trying to teach people how to run their business, I took the approach of 'rolling with the punches', and just tried to use the provided strategy as best as I could... Despite all the tremendous effort put in by the RunRev development team - and the fantastic work they have managed to carry out so far - I am afraid to admit also that, IMHO, Bugzilla simply does not work for the Revolution market... Bug-reporting systems that are perceived as complicated or cumbersome to use simply do not work - the information that is gathered simply isn't statistically representative of the true population (the users). And, obviously, a 'voting' system that has to be used from INSIDE such a system would work even less - whatever information it is supposed to be gathering about the population may be... Good bug reporting systems should be BUILT INTO the application. They have to be at the user's fingertips, to be acted upon AS THE BUG HAPPENS. They should be *extremely* intuitive, easy enough for even the novice user to operate - the LAST thing you want is for your users to see your bug reporting system as even more confusing and buggy than yor application. This should not be such a hard objective to achieve with Revolution... What revolution needs is a plug-in that IS the bug reporting system, to be shipped with the program. I seem to have seen that someone (was it Ken Ray?) who is developing a Rev-like interface to Bugzilla. Something along those lines would be much more suited to this kind of application. Bug reporting systems should also be EASILY searchable (and Bugzilla isn't), and it should help novices file reports that are appropriate - ie, directed at the appropriate area, using the correct jargon, etc. If that doesn't happen, then information is misfiled, you get enormous amounts of duplicate or closely related bugs, and searching the database becomes increasingly ineffective. If the amount of information needed to complete even a simple bug report is too extensive, then the whole process should be broken down into easy steps, and users should perhaps be 'prompted along' with a series of dialogues, in a step1, step2, step3 kind of way - Bugzilla's options just seem too overwhelming. As far as collecting feedback and general usage information from users, that could also be done from inside the application itself as well. User feedback can be asked unobtrusively, during a few different times in the development process. Users could be given the option of providing feedback to RunRev on registration, on upgrading, or even as an optional step when performing a distribution build. That type of feedback, of course, should be completely separate and appear to the user to have NOTHING to do with bug-reporting... Anyway, just thought I'd let you know that I totally agree with you! Cheers, -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 3266 bytes Desc: not available URL: From alex at mindlube.com Fri Sep 19 08:53:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 19 08:53:00 2003 Subject: Breakpoint problem - how to get out of it? In-Reply-To: Message-ID: On Friday, September 19, 2003, at 01:35 AM, Graham Samuel wrote: > I do think this inability to have two stacks in RAM each called > 'myStack' or whatever is a weakness of RR. Really there should be more > robust scope/naming rules, so that the name of every stack should IMO > be in principle be in a domain defined by the name of the file it's in > ('myStack' of 'myFile'). I consider it an outright bug. It's just unacceptable to silently lose a substack, just because you open another stack and the author happened to use the same substack name as you. --> Bug #143, Opened in July <-- this bug needs votes However, I'm not sure how this relates to the breakpoint problem or your corrupt stacks :-) 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 Fri Sep 19 09:01:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 19 09:01:01 2003 Subject: enhancements #667-670 In-Reply-To: <20030919121120.52162.qmail@web11906.mail.yahoo.com> Message-ID: On Friday, September 19, 2003, at 06:11 AM, Jan Schenkel wrote: > Voting should then be reserved for feature requests, > so we can share our views on what we really need and > what would be helpful but isn't all that urgent. I think that voting for a bug and voting for a enhancement are qualitatively different types of messages we are sending to runrev. Runrev team: my enhancement votes really mean: after 90% of bugs are fixed, then if you have a chance, then consider these :-) During this discussion, I noticed that several enhancements that used considerable bandwidth on this list over the past year were not in bugzilla. I filed them last night. Please vote on them, if you are comfortable that voting for enhancements won't hinder runrev's work on bug fixes. The enhancement bugzilla ids are: #667 enh Externals SDK docs and sample code. #668 enh antialiasing for paint and graphics objects #669 enh Report Builder/Manager that works as advertised (or is usable) #670 enh More complete tables (actual grid control) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From lists at mangomultimedia.com Fri Sep 19 09:52:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Sep 19 09:52:00 2003 Subject: Unicode with answer file and manipulating text fields In-Reply-To: <01d901c37e2d$2b6a4a00$afbe040a@user> Message-ID: <1BA1D156-EAB0-11D7-9E2C-000A956C462A@mangomultimedia.com> On Thursday, September 18, 2003, at 03:37 PM, Tuviah Snyder wrote: >> Okay, but how do I determine what to do at runtime? On my system I >> have three different file names that I am testing with: >> >> 1) All english characters >> 2) All japanese characters >> 3) Uses european characeters (?) >> >> If I use uniEncode (myfileName, "Japanese") then cases 1 and 2 work >> but not 3. >> If I use uniEncode (myFileName, "UTF8") then cases 1 works but not 2 >> and 3. >> If I use uniEncode (myFileName, "UTF16") then cases 1 and 3 work but >> not 2. >> >> So how do I determine which encoding to use on a string so it >> displays correctly? Or is there an encoding that I am missing which >> converts correctly every time? I am still very new to unicode so I >> apologize if I am missing something obvious. > > Well I think we need to support unicode or UTF8 paths names, using the > useunicode property, which I plan to do in the near future. Current > there is > no way to know:-( because to be compatible with the previous behavior > we > convert from UTF8 to the system script and vice versa. > > Please feature request this and I'll work on finding a workaround. This has been entered into Bugzilla as BUG # 674 (feature request). If anyone knows of a workaround so that I can correctly display whatever pathname a user chooses that would be great. This is the last feature I need to get working in a program for a client that is already past due. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From themacguy at macosx.com Fri Sep 19 10:06:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Sep 19 10:06:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: <200309190538.BAA08950@www.runrev.com> Message-ID: <14B6AD50-EAB2-11D7-82EC-000A95763ABC@macosx.com> Ken, Yes; that (QT-compatible) should work fine; but that's not "incompatible". Let's use as an example the mpeg2 decoder that is an optionally purchased add-on (from Apple). It may very well work in your Rev app as long as you name it as what your app expects (myMovie.mov in my example rather than myMovie.mpg). However, as this is not part of the standard "distribution" of QuickTime, it would not work on another system without that extension in place. Second example: Windows (yuchh!) - You've got to be careful here because virtually no one keeps their QT up to date (and maybe hasn't even installed it in the first place!). I'm distributing QT on my CD; it's free from Apple as long as you submit the requested form. As there doesn't seem to be any app that comes with Windows that will save as a QT movie (basic QT, with or without compression), my advice to my customers is to purchase QT Pro which will permit the exporting of what might be otherwise incompatible media into a QT-native format. I know that, theoretically, if QT Player can import it it should play in Rev but I'm not promising anything of the sort when it comes to my Windows apps. Microsoft likes to take its football and go home whenever anyone comes up with a method to provide "standards-based" computing. Then it comes back with a "new standard" that is anything but!...(unprintable vitriol follows; fill in your own diatribe here...) Third example: myText.txt renamed as myText.mov (I'm scared to even try it.) That's incompatible media, for sure. So, depending on the extent to which your app is distributed (in the marketing sense, not the "SETI-at-Home" sense), your best advice to your customers is to stick with the "standard" QT movie (assuming you want to give them the info on how to change the movies displayed at particular points in your app by dropping new, properly-named movies into the 'data' folder). Frankly, I'm still amazed at how Rev supports this so nicely. (Thank you, Rev team.) Regards, Barry On Thursday, Sep 18, 2003, at 23:38 America/Denver, Ken wrote: >> the application will >> automatically use the new media without a complaint (as long as the >> file format is what the app expects; you can't reference incompatible >> media simpy be renaming it). > ---------- > Good reminder. > > If it's something you're using with QT, won't QT automatically > translate for > you (as long as the format is anything QT recognizes)? > > TIA, > Ken N. > From jacque at hyperactivesw.com Fri Sep 19 11:13:01 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Sep 19 11:13:01 2003 Subject: Breakpoint problem - how to get out of it? In-Reply-To: References: Message-ID: <3F6B29DD.6030207@hyperactivesw.com> On 9/19/03 2:35 AM, Graham Samuel wrote: > Well, the corrupt stack is really a file with a lot of stacks in it, and > because it's corrupt, RR 2.0r2 (the only version that will open it at > all) tends to go off into some kind of loop at the drop of a hat, so the > suggested technique is likely to lead to a lot of tedious force-quit > situations etc. I see the merit of your technique, but I would really > like to make as few changes to the corrupt stack as is humanly possible, > and just copy bits out of it hopefully leaving corruption behind. That's easy to get around, if the looping is due to the scripts (if it isn't, then you are out of luck, as you say.) You can do this in the message box: lock messages;answer file empty;go stack it This will open the corrupt stack without running any scripts. Then change its name. Then open the "good" stack. You can copy from the bad one to the good one. > I do think this inability to have two stacks in RAM each called > 'myStack' or whatever is a weakness of RR. It's been marginally inconvenient once in a while, but I haven't found it to be a problem. I hardly ever need to have two same-named stacks open at once, but since it isn't necessary to save the renamed stack, it's easy to make a temporary name change and then just close the stack when I'm done with it. When it closes, the name reverts back to what it was. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Fri Sep 19 11:16:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 19 11:16:01 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: <3E6A676D-EAA2-11D7-B72B-000393AD9396@pixelmedia.com.au> Message-ID: <006d01c37ec8$713789d0$6501a8c0@LightningFlash> > I figured I'd better put in my two eurocents' worth > before the end of the discussion this time ;-) > > Frankly, I think voting on bugs is a _bad_ idea. Personally, I had always looked at voting as being important for upcoming feature enhancements (which is the way it was built into RevZilla before Mark enabled the voting features in Bugzilla). > What revolution needs is a plug-in that IS the > bug reporting system, to be shipped with the program. > I seem to have seen that someone (was it Ken Ray?) > who is developing a Rev-like interface to Bugzilla. > Something along those lines would be much more > suited to this kind of application. Yes, it is me. RevZilla is available right now through RevNet or from my web site. I built it *because* I didn't like the web interface and I wanted something that could be used "right there" when you discover a bug. > Bug reporting systems should also be EASILY searchable > (and Bugzilla isn't), and it should help novices file > reports that are appropriate - ie, directed at the > appropriate area, using the correct jargon, etc. If > that doesn't happen, then information is misfiled, > you get enormous amounts of duplicate or closely > related bugs, and searching the database becomes > increasingly ineffective. RevZilla's search interface is more usable that Bugzilla's (IMHO), although your comments about guiding people to post bugs in a clear and consistent way is important. > If the amount of information needed to complete even > a simple bug report is too extensive, then the whole > process should be broken down into easy steps, and > users should perhaps be 'prompted along' with a series > of dialogues, in a step1, step2, step3 kind of way - > Bugzilla's options just seem too overwhelming. Well, one thing is that in both Bugzilla and RevZilla many of the options are set for you by default. So at a minimum you should only need to enter three pieces of information: what component the bug applies to, a summary and a description. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at mindlube.com Fri Sep 19 11:36:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 19 11:36:01 2003 Subject: Breakpoint problem - how to get out of it? In-Reply-To: <3F6B29DD.6030207@hyperactivesw.com> Message-ID: <8F74713C-EABE-11D7-9CAF-000393529642@mindlube.com> On Friday, September 19, 2003, at 10:07 AM, J. Landman Gay wrote: >> I do think this inability to have two stacks in RAM each called >> 'myStack' or whatever is a weakness of RR. > > It's been marginally inconvenient once in a while, but I haven't found > it to be a problem. I hardly ever need to have two same-named stacks > open at once, but since it isn't necessary to save the renamed stack, > it's easy to make a temporary name change and then just close the > stack when I'm done with it. When it closes, the name reverts back to > what it was. - when opening a stack, one has no way to know ahead of time what the substacks are named. - substacks sometimes disappear (as in *poof*) in this scenario. I don't know if it's an App Browser bug or what, but I'm not the only one that's experienced this bug. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From Mark.Powell at veritas.com Fri Sep 19 11:41:01 2003 From: Mark.Powell at veritas.com (Mark Powell) Date: Fri Sep 19 11:41:01 2003 Subject: My menu bar is gone...HELP Message-ID: When I open my Revolution files or launch Revolution from the Start menu, I no longer get the floating menu bar. Since I don't have the menu bar, I can't search through the documentation to figure out how to make it reappear, nor can I choose the Open Stack item to open anything. Any suggestions? I am stuck in the mud. Mark Powell From dsc at swcp.com Fri Sep 19 11:53:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 19 11:53:00 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: <20030919121120.52162.qmail@web11906.mail.yahoo.com> Message-ID: On Friday, September 19, 2003, at 06:11 AM, Jan Schenkel wrote: > Frankly, I think voting on bugs is a _bad_ idea. Yet, consider two recent bugs: the rendering problem in scrolled fields leaving stripes and the failure of decompression on some data. Those are now fixed and I assume will be in the next bug-fix release. However, the fixes seemed to come in response to list discussion. It is very hard to prioritize bug fixes. It is often hard to identify what a bug report is about. (For example, I think "Bad Seek" is about those random, often repeated, compiler errors.) A vote is a way of saying, please look here. If one has support, use of that may be a way also. And as far as what is obscure and in the corner? How would RunRev know? Well, I'm sure they have some idea. But consider compression or MD5? Are those used a little or a lot? And just knowing what people use is not exactly the right measure, maybe having been burned folks stay away from certain things. Dar Scott From dsc at swcp.com Fri Sep 19 11:58:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 19 11:58:00 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: <20030919121120.52162.qmail@web11906.mail.yahoo.com> Message-ID: On Friday, September 19, 2003, at 06:11 AM, Jan Schenkel wrote: > Voting should then be reserved for feature requests, The distinction might be fuzzy. The solutions for some bugs (timing, empty textFont, rectangle outline) must be cast as enhancements. Also, some enhancements open the doors for the workarounds for some bugs. Dar Scott From janschenkel at yahoo.com Fri Sep 19 12:00:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 19 12:00:01 2003 Subject: My menu bar is gone...HELP In-Reply-To: Message-ID: <20030919165441.99788.qmail@web11901.mail.yahoo.com> --- Mark Powell wrote: > When I open my Revolution files or launch Revolution > from the Start menu, I > no longer get the floating menu bar. Since I don't > have the menu bar, I > can't search through the documentation to figure out > how to make it > reappear, nor can I choose the Open Stack item to > open anything. Any > suggestions? I am stuck in the mud. > > Mark Powell > Hi Mark, Press CTRL-M to open the message box, and type set the topleft of stack "revMenubar" to 1,1 Hit the return key, and it should reappear. 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 lists at mangomultimedia.com Fri Sep 19 12:15:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Sep 19 12:15:01 2003 Subject: Breakpoint problem - how to get out of it? In-Reply-To: <8F74713C-EABE-11D7-9CAF-000393529642@mindlube.com> Message-ID: <00DED10E-EAC4-11D7-9E2C-000A956C462A@mangomultimedia.com> On Friday, September 19, 2003, at 10:30 AM, Alex Rice wrote: > > On Friday, September 19, 2003, at 10:07 AM, J. Landman Gay wrote: > >>> I do think this inability to have two stacks in RAM each called >>> 'myStack' or whatever is a weakness of RR. >> >> It's been marginally inconvenient once in a while, but I haven't >> found it to be a problem. I hardly ever need to have two same-named >> stacks open at once, but since it isn't necessary to save the renamed >> stack, it's easy to make a temporary name change and then just close >> the stack when I'm done with it. When it closes, the name reverts >> back to what it was. > > > - when opening a stack, one has no way to know ahead of time what the > substacks are named. > > - substacks sometimes disappear (as in *poof*) in this scenario. I > don't know if it's an App Browser bug or what, but I'm not the only > one that's experienced this bug. I've experienced the same problem and it is annoying. I use sub-stacks to store my libraries and I have to rename the library with a different prefix for each program so if I have two programs open at the same time I don't experience any problems. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alex at mindlube.com Fri Sep 19 12:53:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 19 12:53:01 2003 Subject: Breakpoint problem - how to get out of it? In-Reply-To: <00DED10E-EAC4-11D7-9E2C-000A956C462A@mangomultimedia.com> Message-ID: <65744F62-EAC9-11D7-9CAF-000393529642@mindlube.com> On Friday, September 19, 2003, at 11:09 AM, Trevor DeVore wrote: > > I've experienced the same problem and it is annoying. I use > sub-stacks to store my libraries and I have to rename the library with > a different prefix for each program so if I have two programs open at > the same time I don't experience any problems. I've been using the same workaround as you. Until this is fixed, we can't use generic substack names like "libStrings" or "Prefs" or "Help", because eventually you will open a stack with a substack having the same name. Or, if you share stacks with someone else, then they could get bit when they open the stack. Trevor, pls. sign onto bug #143, if you would. It's lacking a solid recipe for making the substack go poof. There is part of the bug that's always replicable, but part of the bug is not. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From wmb at internettrainer.com Fri Sep 19 12:59:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Sep 19 12:59:00 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: <3E6A676D-EAA2-11D7-B72B-000393AD9396@pixelmedia.com.au> Message-ID: <1476922B-EACA-11D7-8AB9-003065430226@internettrainer.com> On Freitag, Sep 19, 2003, at 15:07 Europe/Vienna, Igor Couto wrote: > What revolution needs is a plug-in that IS the bug reporting system, > to be shipped with the program. I seem to have seen that someone (was > it Ken Ray?) who is developing a Rev-like interface to Bugzilla. > Something along those lines would be much more suited to this kind of > application. Right thats a great idea... 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 Fri Sep 19 13:06:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Sep 19 13:06:00 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: <3E6A676D-EAA2-11D7-B72B-000393AD9396@pixelmedia.com.au> Message-ID: <095DF016-EACB-11D7-8AB9-003065430226@internettrainer.com> On Freitag, Sep 19, 2003, at 15:07 Europe/Vienna, Igor Couto wrote: > Bug reporting systems should also be EASILY searchable (and Bugzilla > isn't), and it should help novices file reports that are appropriate - > ie, directed at the appropriate area, using the correct jargon, etc. > If that doesn't happen, then information is misfiled, you get enormous > amounts of duplicate or closely related bugs, and searching the > database becomes increasingly ineffective. Agree also to that... F.e.: what happens if one bug is called different from 2,3,5,8 etc reporters. Then you can check the db and you get the answer there is not such a bug answer. But it is there maybe 2,3,5,8 time with a different name. Here you need human intelligence. Thats another reason why I proposed, that anybody from from the rev team should watch and transfer report tho the bugzilla. 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 SimPLsol at aol.com Fri Sep 19 13:20:00 2003 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Fri Sep 19 13:20:00 2003 Subject: Rev. Developers Meeting Message-ID: <1aa.19f31bd2.2c9ca167@aol.com> The monthly meeting of the Southern California Rev. Developers (including Northern California, Central California, and Wisconsin) will be held Wed. evening, Sept. 24th. The featured topic will be databases (including a presentation by Rob Couzens of SDB, a multi-platform, multi-user db written in transcript), followed by spirited discussion on a variety of spontaneous topics. I will be hosting this meeting at my place in San Dimas. Take Interstate 210 to San Dimas from the west, or California 210 to San Dimas from the east. Exit on San Dimas Avenue. Go South. Go up the hill. Go on down the hill. Cross Bonita & the tracks (continue south about 1 block). Turn right on Commercial St. (The first building on the right, 113 Commercial, is the place.) There is plenty of free parking. If you are flying into Ontario or LAX, call for directions and transportation. We have a corporate rate at the local Comfort Inn & Suites if you wish to spend the night. The schedule is always loose for these meetings, but: There will be a "pre-Geek" meeting at 5:00pm for people unfamiliar with db terminology. At around 6-6:30 we will walk over to Roady's Roadhouse for dinner (late arrivals can meet us there; about 1 1/2 blocks west of San Dimas Ave. on Bonita) - the "atmosphere", menu, portions, and prices are from the 50's. Rob will begin his demo after dinner; starting about 7:15 or 7:30. The meeting will go as late as it needs to. Paul Looney Simple Solutions SimPLsol at AOL.com 909-305-5550 (phone on my desk, I'm almost always out, please leave a message) -------------- next part -------------- An HTML attachment was scrubbed... URL: From livfoss at blueyonder.co.uk Fri Sep 19 13:46:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri Sep 19 13:46:00 2003 Subject: Breakpoint problem - how to get out of it? Message-ID: On Fri, 19 Sep 2003 07:47:30 -0600, Alex Rice wrote: At 12:04 -0400 19/9/03, use-revolution-request at lists.runrev.com wrote: > >On Friday, September 19, 2003, at 01:35 AM, Graham Samuel wrote: >> I do think this inability to have two stacks in RAM each called >> 'myStack' or whatever is a weakness of RR. Really there should be more >> robust scope/naming rules, so that the name of every stack should IMO >> be in principle be in a domain defined by the name of the file it's in >> ('myStack' of 'myFile'). > >I consider it an outright bug. It's just unacceptable to silently lose >a substack, just because you open another stack and the author happened >to use the same substack name as you. > >--> Bug #143, Opened in July <-- this bug needs votes > >However, I'm not sure how this relates to the breakpoint problem or >your corrupt stacks :-) It only relates to it insofar as it made my recovery process slightly more tortuous. I had to read in the 'corrupt' stack file and rename its mainstack and all its substacks; then I had to reproduce the structure of my app with the mainstack and substacks all having their original names, and then I had to copy over all the cards, scripts, properties etc. It worked (I was not sure that it would, because I had no way of knowing where the bad 'breakpoint' information resides - maybe in hidden properties or something). Anyway so far the rejuvenated app is working using RunRev 2.1. The transfer process took about an hour I suppose, so I was glad my app wasn't any bigger. I admit that the renaming phase was trivial compared with the other stuff. I guess I could have written a program to do the recovery automatically, but it would have taken quite a time to debug. However my main objection to the "can't have two stacks with the same name" restriction is the same as yours - if a library (however defined) just happens to contain a stack with a name I've already chosen for a stack in my main app, I'm in trouble. I do have one or two other suspicions about the way scoping works in runrev (for example, are object IDs unique or not?) - but I haven't done enough work on this to make an informed comment. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From pbsi at mac.com Fri Sep 19 16:53:01 2003 From: pbsi at mac.com (Brian K. Maher) Date: Fri Sep 19 16:53:01 2003 Subject: Example of Table?? Message-ID: Hi Folks, Does anyone have an example stack that shows how to use the "Table Object" stuff that is part of a scrolling list field? Sincerely, Brian Maher From livfoss at blueyonder.co.uk Fri Sep 19 16:56:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri Sep 19 16:56:01 2003 Subject: Leaving room for the title bar Message-ID: I've been using the WindowBoundingRect property to decide the maximum size of a stack (window) in my app, but I don't think that setting a stack to the WindowBoundingRect always leaves room for the title bar on a normally decorated window. I find the docs confusing on this. Can anyone tell me simply how I can ensure that a window fills the available screen area but shows the title bar, on Windows 98, Windows XP, MacOS X and MacOS 9? I don't have enough machines to test on here, but I think there may be a problem with XP. AFAIKS, the 'size' property of a stack as shown in the Stack Inspector in the IDE doesn't include the decorations at all (the title bar and any side and bottom border graphics supplied by the OS). Another way to put my question is to ask if anyone knows of a definitive list of the sizes of these decorations. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From erikhans08 at yahoo.com Fri Sep 19 18:10:02 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Fri Sep 19 18:10:02 2003 Subject: OT- Pros and cons of where to store image data (Thanks) In-Reply-To: <14B6AD50-EAB2-11D7-82EC-000A95763ABC@macosx.com> Message-ID: <20030919230426.83179.qmail@web20003.mail.yahoo.com> to all who responded: thank you for the great "loosely structured" tutorial! for some reason this approach hits home and imparts information even better than the usual, also valuable, standard tutorial. procedures, terms, ands usages such as "state images" or "on option" seem to register with more impact. maybe our nervous systems find neural networking easier than straight ahead linear problem solving. this new/old learning mode may be a new frontier. ===== 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 Tom.Cole at asu.edu Fri Sep 19 18:13:00 2003 From: Tom.Cole at asu.edu (Thomas Cole) Date: Fri Sep 19 18:13:00 2003 Subject: Just need some advice Message-ID: <3996AE5EBEF964418D80953BDCABFF5606AB1D92@ex1.asurite.ad.asu.edu> I have a HyperCard Stack that I have converted to Revolution. I've found some places where the field size has to be adjusted to fit various platforms. Some text that looks fine on Windows will not have enough space in the 0S 9 or 8 for Mac, for example. OSX looks great. I can adjust these, of course, unless there is a preferred font or something that makes everything work out perfectly. I'm just doing Mac and Windows standalones. I'm worried the standalones won't look and perform the same on the different platforms. I really don't know if Helvetica is a good font on all platforms, for example. I would really appreciate anyone's input or favorite "heads up" with regard to what I have to look out for before the standalones are distributed for sale. I'm trying to avoid having users tell the publisher, "Hey, on XP the printing doesn't work and you can't read the directions." or something like that. I will test the standalones on the different platforms, but this is my first project on Revolution. Any "Hey, look outs!" would be much appreciated. Thanks, Tom From igor at pixelmedia.com.au Fri Sep 19 18:47:02 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Fri Sep 19 18:47:02 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: <006d01c37ec8$713789d0$6501a8c0@LightningFlash> Message-ID: On Saturday, September 20, 2003, at 02:09 AM, Ken Ray wrote: >> What revolution needs is a plug-in that IS the >> bug reporting system, to be shipped with the program. >> I seem to have seen that someone (was it Ken Ray?) >> who is developing a Rev-like interface to Bugzilla. >> Something along those lines would be much more >> suited to this kind of application. > > Yes, it is me. RevZilla is available right now through RevNet or from > my > web site. Thanks, Ken! - Perhaps it can be included in the next Rev distribution, like RevNet!!! -- Igor ---------------------------------- igor at pixelmedia.com.au ---------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 714 bytes Desc: not available URL: From pixelbird at interisland.net Fri Sep 19 21:19:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri Sep 19 21:19:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: <200309191602.MAA24598@www.runrev.com> Message-ID: > Date: Fri, 19 Sep 2003 09:01:00 -0600 > Subject: Re: Pros and cons of where to store image data > From: Barry Levine > your best advice to > your customers is to stick with the "standard" QT movie (assuming you > want to give them the info on how to change the movies displayed at > particular points in your app by dropping new, properly-named movies > into the 'data' folder). ---------- OK, so you're saying to stick with .mov files, which willl display movies and/or play sounds saved in that format. So, assuming the Windows user has some reasonable version of QT aboard, could an installer be built to automatically put a new downloaded movie into the proper folder? This is an area I know relatively little about, especially with Windows/PC. Actually, most Windows users have MS MediaPlayer aboard, don't they? What files can I make that are compatible with MediaPlayer? Will Rev players use MediaPlayer? TIA, Ken N. From alex at mindlube.com Fri Sep 19 22:22:02 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 19 22:22:02 2003 Subject: Just need some advice In-Reply-To: <3996AE5EBEF964418D80953BDCABFF5606AB1D92@ex1.asurite.ad.asu.edu> Message-ID: On Wednesday, September 17, 2003, at 03:20 PM, Thomas Cole wrote: > I will test the standalones on the different platforms, but this is > my first project on Revolution. Any "Hey, look outs!" would be much > appreciated. re: fonts, Arial is definitely the sans serif font with the least differences cross platform. Helvetica will have more differences. * If you use a font name that doesn't exist, like "0", then you always end up with the default font for the user's computer. * Windows fonts aren't scalable, so you will get strange effects if you choose a text size that doesn't exist for that font. Mac fonts are scaleable. re: gotchas- who knows! thinks likely to be different cross platform are: startup, quitting, menus, printing, quicktime effects, exporting screenshots, and of course fonts. :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From yvescoppe at skynet.be Fri Sep 19 23:36:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri Sep 19 23:36:00 2003 Subject: Breakpoint problem - how to get out of it? In-Reply-To: Message-ID: <8A4FB95C-EA9E-11D7-A5B7-003065E14B04@skynet.be> Le vendredi, 19 sep 2003, ? 09:35 Europe/Brussels, Graham Samuel a ?crit : > On Thu, 18 Sep 2003 20:30:36 -0500, "J. Landman Gay" > wrote: >> >>> Since the IDE doesn't allow one to have two or >>> more stacks open with the same name, I can't just copy and paste >>> objects >>> and scripts from the corrupt version to a new file based on an >>> earlier, >>> non-corrupt backup. >> >> You can open the corrupt stack and rename it. Then open a newer copy >> and >> it won't conflict. You don't even have to save the old copy; it only >> needs to be renamed in memory. > > Well, the corrupt stack is really a file with a lot of stacks in it, > and because it's corrupt, RR 2.0r2 (the only version that will open it > at all) tends to go off into some kind of loop at the drop of a hat, > so the suggested technique is likely to lead to a lot of tedious > force-quit situations etc. I see the merit of your technique, but I > would really like to make as few changes to the corrupt stack as is > humanly possible, and just copy bits out of it hopefully leaving > corruption behind. > > I do think this inability to have two stacks in RAM each called > 'myStack' or whatever is a weakness of RR. Really there should be more > robust scope/naming rules, so that the name of every stack should IMO > be in principle be in a domain defined by the name of the file it's in > ('myStack' of 'myFile'). Then one could have old and new versions of > an app in a development environment at the same time. Still, must work > with what we actually have... > > If you have problem with breakpoints, try this : open your stack from the message box : answer file "choose your stack" lock messages go stack it then type set the cRevGeneral["debugObjects"] of this stack to empty I had a problem with a breakpoint I couldn't remove. i resolved it so and now it's OK Greetings. Yves COPPE yvescoppe at skynet.be From themacguy at macosx.com Sat Sep 20 00:24:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Sat Sep 20 00:24:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: <200309200225.WAA06697@www.runrev.com> Message-ID: Ken, My app runs on OSX and XP (probably other Windows, as well). I haven't compiled it for OS9 yet but I know it will work there, as well. I use a QT Player object for referencing ".mov" and ".wav" files. Now, I know that may seem like a bizarre combination but I remember reading somewhere that Windows likes ".wav" files better than ".aiff". I could use QT ".mov" files containing only an audio track but there are enough apps on Mac and Windows that will produce (or export) a ".wav" file and Rev seems to like them on both platforms. As I indicated in an earlier post on this topic, it makes it a bit easier for my clients to generate such files and replace older audio files with the newer ones. Not insisting on the audio being a ".mov" makes it easier for everyone. Regarding your installer question: Absolutely. I have been using InstallCreator for Windows (www.clickteam.com) which is free (if you don't mind the last screen of the install displaying their name and website info). While I haven't used it enough to claim any expertise, it does have the appropriate capabilities to replace files (with or without asking for user approval). I'm not sure yet about -replacing- an entire folder (sub-directory) but it will do the files contained therein (and/or create a folder if it's not there). And that brings us, full circle, back to the original topic of the post: Where to store image data. There are so many up here who provide useful info to me that I don't remember who recommended keeping the interface and the code separate. I'll add my 2 cents: Keep the images, movies, and sounds separate, as well. The obvious benefit is that your stack won't have to load 'em all when it loads (so no out-of-memory problems); the other benefit is what we've been discussing: The ease of replacement should the need arise. As for Rev using a ".wmv" file in place of a ".mov"...I don't really know. According to how I've interpreted the documentation, once a stack references a QT Player object, QT loads (if it's available). How would you show a movie without a Player object? And once QT loads, why use anything else? (Of course, it is possible that I've misinterpreted the docs yet again.) Regards, Barry On Friday, Sep 19, 2003, at 20:25 America/Denver, Ken wrote: >> your best advice to >> your customers is to stick with the "standard" QT movie (assuming you >> want to give them the info on how to change the movies displayed at >> particular points in your app by dropping new, properly-named movies >> into the 'data' folder). > ---------- > OK, so you're saying to stick with .mov files, which willl display > movies > and/or play sounds saved in that format. > > So, assuming the Windows user has some reasonable version of QT aboard, > could an installer be built to automatically put a new downloaded > movie into > the proper folder? > > This is an area I know relatively little about, especially with > Windows/PC. > > Actually, most Windows users have MS MediaPlayer aboard, don't they? > What > files can I make that are compatible with MediaPlayer? Will Rev > players use > MediaPlayer? > > TIA, > Ken N. From macbox at earthlink.net Sat Sep 20 01:58:00 2003 From: macbox at earthlink.net (Mac Dude) Date: Sat Sep 20 01:58:00 2003 Subject: Detecting MouseMove within scrollBar of fld In-Reply-To: <200308271917.PAA14083@www.runrev.com> Message-ID: <0077238F-EB37-11D7-AE53-000393C67B60@earthlink.net> I noticed today that a MouseMove message is not generated while the mouse is over the scrollBar portion of a fld. Aside from using a mouseWithin (ick), or adding my own scrollBar (yuck!), is there a good way to detect that the mouse is within the scrollBar region of a fld? From igor at pixelmedia.com.au Sat Sep 20 02:12:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sat Sep 20 02:12:01 2003 Subject: [FYI] Top 5 Bugs Message-ID: <095B5E55-EB39-11D7-B3BD-000393AD9396@pixelmedia.com.au> After only a couple of days of voting in Bugzilla (http://www.runrev.com/revolution/developers/bugdatabase/), the bugs that currently occupy the top 5 positions are: ------------------------------------------------------------ 5TH POSITION - with 7 votes: ------------------------------------------------------------ BUG #148: "hundreds of empty lines appended in script editor" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=148 REQUEST #179: "No way to view unplaced groups in the app browser" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=179 REQUEST #659: "Wanting to password-protect the script of ANY object - not just stacks" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=179 ------------------------------------------------------------ 4TH POSITION - with 8 votes: ------------------------------------------------------------ REQUEST #667: "Externals SDK docs and sample code." http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=667 ------------------------------------------------------------ 3RD POSITION - with 10 votes: ------------------------------------------------------------ BUG #639: "Corrupt breakPoint information in 2.0.1->crash in 2.1" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=639 REQUEST #95: "Gradient Fills" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=95 ------------------------------------------------------------ 2ND POSITION - with 11 votes: ------------------------------------------------------------ Bug # 143: "naming collisions w/ open substacks having same name" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=143 REQUEST #670: "More complete tables (actual grid control) " http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=670 And finally: *drum roll* ------------------------------------------------------------ 1ST POSITION - with 15 votes: ------------------------------------------------------------ BUG #71: "Removing breakpoints and 'Clear All Breakpoints' refuses to work" http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=71 If you agree/disagree that these bugs/feature requests are important, voice your opinion by CASTING YOUR VOTE! Cheers to all, -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- From miscdas at boxfrog.com Sat Sep 20 07:22:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sat Sep 20 07:22:01 2003 Subject: Drawing with Text In-Reply-To: References: Message-ID: <20030920121758.67193.qmail@www.boxfrog.com> Malte Brill writes: > Hi Thomas, > > you can try placing a field over your JPEG, set its opaque to false and then > export a snapshot. > > From the dictionary: > export snapshot from rect "0,0,200,200" to file "Nav.jpg" as JPEG > > Hope this helps, > > Malte ++++++++++++++++++++ But of course, if you started with high resolution JPEGs, remember your snapshot will be much lower resolution, equivalent to typically 96 dpi bitmaps. miscdas From miscdas at boxfrog.com Sat Sep 20 07:29:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sat Sep 20 07:29:01 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: <20030919121120.52162.qmail@web11906.mail.yahoo.com> References: <20030919121120.52162.qmail@web11906.mail.yahoo.com> Message-ID: <20030920122535.78226.qmail@www.boxfrog.com> Jan Schenkel writes: [snip] > ... especially if there is a work-around (which reminds me > that it would be good if there were a central place > for these ; and I don't mean the list archives) > > Jan Schenkel. +++++++++++++++++++++++ An archive is a good idea. It would be very convenient to have on the bug report a link directly to a work-around for that bug from a work-around archive. miscdas From livfoss at blueyonder.co.uk Sat Sep 20 07:55:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sat Sep 20 07:55:01 2003 Subject: setting the menubar Message-ID: Why does this script (in the message box) set the menubar of stack "mystack" to grp "mymenugroup" result in this error Message execution error: Error description: Chunk: source is not a container It appears you can't set the menubar property directly from a stack inspector, and now I can't set it all. I must be reading the TD wrong, but I can't see it. TIA for any explanation. I'm using RR 2.1 on MacOS 9.2.2. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From miscdas at boxfrog.com Sat Sep 20 08:18:01 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sat Sep 20 08:18:01 2003 Subject: Pros and cons of where to store image data In-Reply-To: References: Message-ID: <20030920131430.33280.qmail@www.boxfrog.com> Barry Levine writes: [snip] > How would you > show a movie without a Player object? And once QT loads, why use anything > else? (Of course, it is possible that I've misinterpreted the docs yet > again.) > > Regards, > Barry +++++++++++++++++ Win XP pro, MC 2.5 From the Message box: play videoClip "pathAndFilename" For example, play videoClip "C:\mananim.avi" This ran the (MC supplied) AVI in the Home stack, then closed it when finished. Similarly, with nothing but a button in a stack, putting the same script in a MouseUp handler in the button in the stack plays the clip (I think it is centered) in the stack and closes the clip when it finishes. Works the same way whether in the IDE or a built standalone. miscdas From klaus at major-k.de Sat Sep 20 10:12:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Sep 20 10:12:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: Message-ID: Hi Barry and Ken, > Ken, > > My app runs on OSX and XP (probably other Windows, as well). I haven't > compiled > it for OS9 yet but I know it will work there, as well. > > I use a QT Player object for referencing ".mov" and ".wav" files. Now, > I know that may seem > like a bizarre combination but I remember reading somewhere that > Windows likes ".wav" files > better than ".aiff". You're almost right ;-) Windows ONLY: When NOT using QT, RR can play UNCOMPRESSED AIFF and WAV and (compressed) AU with "play ac xxx"...(using some very low system routines, if i remember right...) When using QT every format supported by QT can be played inside a player on Mac and Win. Can some *nix please give me some info about usable audio/video format on Linux/Unix? Thanks in advance... Is there a QT for *nix? (Is there a life before death? ;-) > I could use QT ".mov" files containing only an audio track but there > are enough apps on > Mac and Windows that will produce (or export) a ".wav" file and Rev > seems to like them > on both platforms. See above... > As I indicated in an earlier post on this topic, it makes it a bit > easier for my clients to generate > such files and replace older audio files with the newer ones. Not > insisting on the audio > being a ".mov" makes it easier for everyone. If diskspace or download-time does matter, then QT offers some superb compression types like MP4 or MOV/AIF with Q-Design etc... Drop a line (offlist) if you need more info about (correct) formats ;-) > Regarding your installer question: Absolutely. I have been using > InstallCreator for Windows > (www.clickteam.com) which is free (if you don't mind the last screen > of the install displaying > their name and website info). While I haven't used it enough to claim > any expertise, it does > have the appropriate capabilities to replace files (with or without > asking for user approval). > I'm not sure yet about -replacing- an entire folder (sub-directory) > but it will do the files contained > therein (and/or create a folder if it's not there). Its fairly easy to create an installer with RR :-) I already created one and if i find the time i may post it on my website... > And that brings us, full circle, back to the original topic of the > post: Where to store image data. > There are so many up here who provide useful info to me that I don't > remember who > recommended keeping the interface and the code separate. I'll add my 2 > cents: > Keep the images, movies, and sounds separate, as well. The obvious > benefit is > that your stack won't have to load 'em all when it loads (so no > out-of-memory problems); > the other benefit is what we've been discussing: The ease of > replacement should the need arise. Exactly! Storing media outside the stack WILL make updates easier... Since the player/image can store the reference to the media, you can simply replace media, as long as they have the original size, format and name... > As for Rev using a ".wmv" file in place of a ".mov"...I don't really > know. Sorry, no way to have WMV or WMA files in RR :-( (Its a MS private-brand ;-) QT cannot handle them (yet?) and without QT you can only play AU, AIF, WAV, MP3, MPG and AVI (even DivX, if the right compressor is in the system!) in a playerobject(!)... WindowsMediaPlayer >= 6.4 has to be installed! > According to how I've interpreted the documentation, once a stack > references a QT Player > object, QT loads (if it's available). How would you show a movie > without a Player object? > And once QT loads, why use anything else? Yo, amen, brother ;-) One can easily check "the qtversion" and act accordingly... > (Of course, it is possible that I've misinterpreted the docs yet > again.) Since there is a jungle of formats out there, it is understandable that the dox cannot cover ALL the aspects... > Regards, > Barry Have a nice weekend... Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Sat Sep 20 11:29:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Sep 20 11:29:01 2003 Subject: windoze media, was: Pros and cons of where to store image data In-Reply-To: Message-ID: Hi all, >> ... >> As for Rev using a ".wmv" file in place of a ".mov"...I don't really >> know. > Sorry, no way to have WMV or WMA files in RR :-( > (Its a MS private-brand ;-) Correction: These formats might be playable via "MCIsendString" in RR... Not tested yet... Regards Klaus Major klaus at major-k.de www.major-k.de From livfoss at blueyonder.co.uk Sat Sep 20 12:35:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sat Sep 20 12:35:00 2003 Subject: Breakpoint problem - how to get out of it? Message-ID: On Fri, 19 Sep 2003 14:41:07 +0200, Yves COPPE wrote: > >If you have problem with breakpoints, try this : > > >open your stack from the message box : > >answer file "choose your stack" >lock messages >go stack it > >then type >set the cRevGeneral["debugObjects"] of this stack to empty > > > >I had a problem with a breakpoint I couldn't remove. >i resolved it so and now it's OK > Yves, thanks. This may have worked (too late to go back and find out now I think), but I only got into this mess because RR2.1 crashed every time I tried to open the file, which seems to suggest the problem was bigger than just a breakpoint that wouldn't go away. See Bugzilla bug #639: "Corrupt breakPoint information in 2.0.1->crash in 2.1" Anyway I will keep your trick for future reference. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Sat Sep 20 12:44:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sat Sep 20 12:44:00 2003 Subject: setting the menubar Message-ID: I wrote: > >Why does this script (in the message box) > > set the menubar of stack "mystack" to grp "mymenugroup" > >result in this error > >Message execution error: >Error description: Chunk: source is not a container > >It appears you can't set the menubar property directly from a stack >inspector, and now I can't set it all. I must be reading the TD >wrong, but I can't see it. By tinkering, I answered my own question - you don't use the keyword "grp" (or "group"). This seems like weird syntax to me. What if I have a group and a graphic with the same name - how does RunRev pick the group? Again, what if the group is in another stack and several stacks have groups with the same name? I am all for completely consistent ways of naming objects throughout the language. BTW the TD kind of tells you this by saying you have to use the group name, but it doesn't make it clear that this is unqualified nor does it answer my questions above. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From shaosean at unitz.ca Sat Sep 20 13:29:01 2003 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Sat Sep 20 13:29:01 2003 Subject: [OT] looking for someone... In-Reply-To: <20030920121758.67193.qmail@www.boxfrog.com> References: <20030920121758.67193.qmail@www.boxfrog.com> Message-ID: someone from this list contacted me last week in regards to my "alwaysOnTop" DLL, do to some changes at my ISP i've lost all my emails, addresses, etc that were stored on the mail server.. could you please re-contact me if you still need help.. -Sean From pixelbird at interisland.net Sat Sep 20 14:16:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Sep 20 14:16:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: <200309201601.MAA16950@www.runrev.com> Message-ID: Hi Barry, > Date: Fri, 19 Sep 2003 23:18:54 -0600 > Subject: Re: Pros and cons of where to store image data > From: Barry Levine > I remember reading somewhere that Windows likes ".wav" files better than > ".aiff" ----------snip See, that's what I mean. I don't know that stuff. I assumed it would do either equally well, and on whatever player it has. ----------snip > Not insisting on the audio being a ".mov" makes it easier for everyone. ---------- I thought if they have QT, .mov files would be the route to go for standardization across all platforms, e.g., if you are replacing and sending media, wouldn't it be better to have QT translate it into a .mov file before sending, which QT on any platform will recognize? ---------- > There are so many up here who provide useful info to me that I don't > remember who recommended keeping the interface and the code separate. > I'll add my 2 cents: Keep the images, movies, and sounds separate, as > well. The obvious benefit is that your stack won't have to load 'em all > when it loads (so no out-of-memory problems); the other benefit is what > we've been discussing: The ease of replacement should the need arise. ----------- Well, yes, that was part of my basic advice to the thread originator (I've forgotten who it was), but it doesn't hurt to restate it. However, my philosophy and yours differ in that I would not necessarily place all images/sounds in separate files. I will probably continue to import images for splash screens, headers, and some types of buttons, things that won't need to change over time, while keeping image files for photos, drawings and artwork, special sounds, additional images and movies for working parts of the app, and other updatable data separate. ---------- > As for Rev using a ".wmv" file in place of a ".mov"...I don't really > know. According to how I've interpreted the documentation, once a stack > references a QT Player object, QT loads (if it's available). How would > you show a movie without a Player object? ---------- Well, that wasn't the question. The question is basically this: If the user system has MS MediaPlayer but no QT Player, will a Rev player object open that instead of QT? (I'll ask that in a different thread). ---------- > And once QT loads, why use > anything else? (Of course, it is possible that I've misinterpreted the > docs yet again.) ---------- ...Unless there is no QT Player. I like the idea of distributing QT with an app, but here's a typical problem I will encounter (I'm working on a special communicator for speech impaired with poor vision, which will have its own emailer): If I send voicemail to my mom (who has macular degeneration and has too much difficulty reading the monitor) as an attachment, and they have no QT Player, (my stepdad tried to d/l it, but QT doesn't automatically load into the correct place on Windows like it does on a Mac, you have to follow a set of progressive instructions in the Wizard, which he couldn't quite figure out), but _do_ have MS MediaPlayer, then what type of file should I create for it? TIA, Ken N. From pixelbird at interisland.net Sat Sep 20 14:24:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Sep 20 14:24:00 2003 Subject: QT Player only? In-Reply-To: <200309201601.MAA16950@www.runrev.com> Message-ID: Howdy, I'm supposing by what I'm reading that a player object in Rev only uses QuickTime, and not MS MediaPlayer. Is this true? Ken N. From scott at tactilemedia.com Sat Sep 20 15:18:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Sep 20 15:18:00 2003 Subject: QT Player only? In-Reply-To: Message-ID: Recently, Ken Norris wrote: > I'm supposing by what I'm reading that a player object in Rev only uses > QuickTime, and not MS MediaPlayer. > > Is this true? No, a player object will use the multimedia facilities available on the user's machine. I believe QT is the default playback mechanism, so if you wanted to explicitly use Media Player for playback on a machine that had both QT and WMP software, you'd set the dontUseQT property to true. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From pixelbird at interisland.net Sat Sep 20 15:35:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Sep 20 15:35:01 2003 Subject: windoze media, was: Pros and cons of where to store image data In-Reply-To: <200309201601.MAA16950@www.runrev.com> Message-ID: Hi Klaus, > Date: Sat, 20 Sep 2003 18:23:46 +0200 > Subject: Re: windoze media, was: Pros and cons of where to store image data > From: Klaus Major > Correction: These formats might be playable via "MCIsendString" in RR... ---------- Really? That'd be cool...How about a clue on instructions. TIA, Ken N. From erikhans08 at yahoo.com Sat Sep 20 17:08:00 2003 From: erikhans08 at yahoo.com (erik hansen) Date: Sat Sep 20 17:08:00 2003 Subject: Pros and cons of where to store image data In-Reply-To: Message-ID: <20030920220250.53017.qmail@web20002.mail.yahoo.com> --- Ken Norris wrote: > > From: Barry Levine > ---------- > > There are so many up here who provide useful > info to me that I don't > > remember who recommended keeping the > interface and the code separate. > > I'll add my 2 cents: Keep the images, movies, > and sounds separate, as > > well. The obvious benefit is that your stack > won't have to load 'em all > > when it loads (so no out-of-memory problems); > the other benefit is what > > we've been discussing: The ease of > replacement should the need arise. > ----------- > Well, yes, that was part of my basic advice to > the thread originator (I've > forgotten who it was)... right here. taking it a step further, what are the trade-offs btw storing data on a disk and storing it in a library stack? thanks again, 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 yoy at comcast.net Sat Sep 20 17:57:01 2003 From: yoy at comcast.net (Andy Burns) Date: Sat Sep 20 17:57:01 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" Message-ID: <000701c37fc9$aeeb0de0$b2ea5144@fatal7lcf637rj> Hi folks, I remember a program that you could type in your phone number and it would give you all permutations of what possible words could be formed. I just wanted to see how easy it was. Well... I'm really stumped on the logic. Here's the script that belongs in a field "phoneNumber" (where you type in the phone number). ##BEGIN Script on returninfield #put empty into fld "phoneCalls" put 1 into n put 1 into z repeat for each char x in fld "phoneNumber" # limited to seven digits for now if x = "-" then add 1 to n next repeat else put x into item z of phoneNumber add 1 to z end if end repeat put "1 1,2 A B C,3 D E F,4 G H I,5 J K L,6 M N O,7 P Q R S,8 T U V,9 W X Y Z,0 0" into phoneCalls split phoneCalls by comma and space put phoneCalls[item 1 of phoneNumber] into number1 put phoneCalls[item 2 of phoneNumber] into number2 put phoneCalls[item 3 of phoneNumber] into number3 put phoneCalls[item 4 of phoneNumber] into number4 put phoneCalls[item 5 of phoneNumber] into number5 put phoneCalls[item 6 of phoneNumber] into number6 put phoneCalls[item 7 of phoneNumber] into number7 put number1 & return into msg put number2 & return after msg put number3 & return after msg put number4 & return after msg put number5 & return after msg put number6 & return after msg put number7 & return after msg end returninfield ##END Script Determining the letters per number is in place but the logic to generate all the permutations have been driving me nuts! I look at the results in the message box and maybe I'm just dumb-for-a-day, or maybe this isn't as easy as I thought. It will be quite a lesson learned when I figure it out. Thanks for any advice (hints, even). In the meantime, I'll continue to attempt to devise a tree (?) to make it work. All the best, Andy Burns "Dammit man, this isn't rocket science, it's brain surgery!" --Montgomery Burns (The Simpsons) . From dsc at swcp.com Sat Sep 20 18:14:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 20 18:14:01 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <000701c37fc9$aeeb0de0$b2ea5144@fatal7lcf637rj> Message-ID: <6D5DDD61-EBBF-11D7-8302-000A9567A3E6@swcp.com> I'm assuming you are not checking that a string of letters are real words. The list of possible "words" for a phone number is... ... simply empty of the phone number is empty. ... otherwise get the list of all possible words for the phone number excluding the first digit and then put the letters for the first digit in front of copies and concatenate those for the result. Maybe there is a cleaner way. Dar Scott From yoy at comcast.net Sat Sep 20 18:39:00 2003 From: yoy at comcast.net (Andy Burns) Date: Sat Sep 20 18:39:00 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" References: <6D5DDD61-EBBF-11D7-8302-000A9567A3E6@swcp.com> Message-ID: <001301c37fcf$89d76b60$b2ea5144@fatal7lcf637rj> ----- Original Message ----- From: "Dar Scott" > I'm assuming you are not checking that a string of letters are real > words. Yes. It might be like a vanity plate on your car. > > The list of possible "words" for a phone number is... > > ... simply empty of the phone number is empty. > > ... otherwise get the list of all possible words for the phone number > excluding the first digit and then put the letters for the first digit > in front of copies and concatenate those for the result. > I see how it has to step down and across each digit (letter in the numberX variables) to point to each letter in turn through a multitude of loops, according to the number of letters for each number, but how to write code that does it is baffling. I re-plead "dumb-for-a-day" Wish my girlfriend was here instead! > Dar Scott Thanks, Dar! Andy Burns From dsc at swcp.com Sat Sep 20 19:21:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 20 19:21:00 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <000701c37fc9$aeeb0de0$b2ea5144@fatal7lcf637rj> Message-ID: On Saturday, September 20, 2003, at 04:50 PM, Andy Burns wrote: > I remember a program that you could type in your phone number and it > would > give you all permutations of what possible words could be formed. You realize this could be 2000 to 16000 "words" depending on how many sevens there are? Dar Scott From dsc at swcp.com Sat Sep 20 19:50:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 20 19:50:00 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <001301c37fcf$89d76b60$b2ea5144@fatal7lcf637rj> Message-ID: On Saturday, September 20, 2003, at 05:32 PM, Andy Burns wrote: > I re-plead "dumb-for-a-day" Make this function first: function catProduct sl1 sl2 ... end catProduct This function takes two lists and creates the concatenation product. That is, it creates another list that is all the ways a string can be taken from the first list and concatenated with a string from the second list. If there are n1 strings in the first list and n2 strings in the second, the function will return a list of n1 * n2 strings. Here is an of-the-top-of-my-head stab at that: function catProduct sl1 sl2 local cp -- empty repeat for each string s1 in sl1 repeat for each string s2 in sl2 put s1 & s2 & LF after cp end repeat end repeat return cp -- keep final LF end catProduct The "identity" of this function is a list consisting of a single line with the "identity" of '&', that is, empty. In Revolution, that is simply LF. Now suppose you built your array phoneCalls to return lines instead of words. You could do this: ... put LF into wordList -- identity repeat for each char digit in phoneNumber put catProduct(wordList, phoneCalls[digit]) into wordList end repeat -- optionally remove LF from end of wordList ... Again off the top of my head. This probably has some problems near the ends and near the corners; you should tinker with very small trivial phone numbers. This should get you started. Whoops. I forgot to make this a recursion example. Oh, well. Maybe next time. Dar Scott From yoy at comcast.net Sat Sep 20 19:52:01 2003 From: yoy at comcast.net (Andy Burns) Date: Sat Sep 20 19:52:01 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" References: Message-ID: <000401c37fd9$96663fa0$b2ea5144@fatal7lcf637rj> ----- Original Message ----- From: "Dar Scott" To: > On Saturday, September 20, 2003, at 04:50 PM, Andy Burns wrote: > > > I remember a program that you could type in your phone number and it > > would > > give you all permutations of what possible words could be formed. > > You realize this could be 2000 to 16000 "words" depending on how many > sevens there are? > > Dar Scott Dar, The program will allow for just one phone number (for the "returninfield" message) of seven digits to generate all possible permutations. The logic of how to write that permutation code is what I don't grasp. I'm simply taking one phone number and sending back all the alphabetic (including 0 and 1 numeral) combinations that may or may not make words. The results will be displayed in a possibly huge field for the user to scroll to see if something makes "word-sense", so to speak. Andy Burns From rcozens at pon.net Sat Sep 20 20:11:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Sat Sep 20 20:11:01 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <000701c37fc9$aeeb0de0$b2ea5144@fatal7lcf637rj> References: <000701c37fc9$aeeb0de0$b2ea5144@fatal7lcf637rj> Message-ID: >I remember a program that you could type in your phone number and it would >give you all permutations of what possible words could be formed. > >I just wanted to see how easy it was. Well... I'm really stumped on the >logic. Hi Andy, I begin with these presumptions: 1. We are dealing with 7-digit numbers: no area code. 2. One has a list of all "legal" words up to seven characters in length in an array variable, myDictionary. So that myDictionary[1] contains all single-character words, myDictionary[2] contains all two-character words, etc. 3. One has a valid phone number in theNumber 4. All words are the same length: one can't put blanks in places where there are characters. local validWords function goodWord thisWord return (offset(thisWord,validWords)<>0) end goodWord function phoneWords theNumber put empty into characterList put 0 into characterCount repeat for each char theDigit in theNumber switch theDigit case "2" put "ABC" into theCharacters break case "3" put "DEF" into theCharacters break case "4" put "GHI" into theCharacters break case "5" put "JKL" into theCharacters break case "6" put "MNO" into theCharacters break case "7" put "PQRS" into theCharacters break case "8" put "TUV" into theCharacters break case "9" put "WXYZ" into theCharacters break default next repeat end switch add 1 to characterCount put theCharacters into characterList[characterCount] end repeat put myDictionary[characterCount] into validWords put empty into wordList put empty into thisWord repeat for each char myCharacter1 in characterList[1] put myCharacter1 into char 1 of thisWord if characterCount is 1 then if goodWord(thisWord) then put thisWord&return after wordList next repeat end if repeat for each char myCharacter2 in characterList[2] put myCharacter2 into char 2 of thisWord if characterCount is 2 then if goodWord(thisWord) then put thisWord&return after wordList next repeat end if repeat for each char myCharacter3 in characterList[3] put myCharacter3 into char 3 of thisWord if characterCount is 3 then if goodWord(thisWord) then put thisWord&return after wordList next repeat end if repeat for each char myCharacter4 in characterList[4] put myCharacter4 into char 4 of thisWord if characterCount is 4 then if goodWord(thisWord) then put thisWord&return after wordList next repeat end if repeat for each char myCharacter5 in characterList[5] put myCharacter5 into char 5 of thisWord if characterCount is 5 then if goodWord(thisWord) then put thisWord&return after wordList next repeat end if repeat for each char myCharacter6 in characterList[6] put myCharacter6 into char 6 of thisWord if characterCount is 6 then if goodWord(thisWord) then put thisWord&return after wordList next repeat end if repeat for each char myCharacter7 in characterList[7] put myCharacter7 into char 7 of thisWord if goodWord(thisWord) then put thisWord&return after wordList end repeat end repeat end repeat end repeat end repeat end repeat end repeat return wordList end phoneWords The nested repeats could be a candidate for recursion, but that's not my strong suit. This should be easier to understand anyway. :{`) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From yoy at comcast.net Sat Sep 20 20:24:00 2003 From: yoy at comcast.net (Andy Burns) Date: Sat Sep 20 20:24:00 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" References: <000701c37fc9$aeeb0de0$b2ea5144@fatal7lcf637rj> Message-ID: <001101c37fde$2d529540$b2ea5144@fatal7lcf637rj> Rob, Thanks for the reply! Maybe I'm going too far too fast. Only two months with Revolution. Your code looks rather complex. My fault, not yours. All the best, Andy Burns ----- Original Message ----- From: "Rob Cozens" To: Sent: Saturday, September 20, 2003 9:03 PM Subject: Re: Fun project but fuzzy on logic. "PhoneCALLs" > >I remember a program that you could type in your phone number and it would > >give you all permutations of what possible words could be formed. > > > >I just wanted to see how easy it was. Well... I'm really stumped on the > >logic. > > Hi Andy, > > I begin with these presumptions: > > 1. We are dealing with 7-digit numbers: no area code. > > 2. One has a list of all "legal" words up to seven characters in > length in an array variable, myDictionary. So that myDictionary[1] > contains all single-character words, myDictionary[2] contains all > two-character words, etc. > > 3. One has a valid phone number in theNumber > > 4. All words are the same length: one can't put blanks in places > where there are characters. > > local validWords > > function goodWord thisWord > return (offset(thisWord,validWords)<>0) > end goodWord > > function phoneWords theNumber > put empty into characterList > put 0 into characterCount > repeat for each char theDigit in theNumber > switch theDigit > case "2" > put "ABC" into theCharacters > break > case "3" > put "DEF" into theCharacters > break > case "4" > put "GHI" into theCharacters > break > case "5" > put "JKL" into theCharacters > break > case "6" > put "MNO" into theCharacters > break > case "7" > put "PQRS" into theCharacters > break > case "8" > put "TUV" into theCharacters > break > case "9" > put "WXYZ" into theCharacters > break > default > next repeat > end switch > add 1 to characterCount > put theCharacters into characterList[characterCount] > end repeat > put myDictionary[characterCount] into validWords > put empty into wordList > put empty into thisWord > repeat for each char myCharacter1 in characterList[1] > put myCharacter1 into char 1 of thisWord > if characterCount is 1 then > if goodWord(thisWord) then put thisWord&return after wordList > next repeat > end if > repeat for each char myCharacter2 in characterList[2] > put myCharacter2 into char 2 of thisWord > if characterCount is 2 then > if goodWord(thisWord) then put thisWord&return after wordList > next repeat > end if > repeat for each char myCharacter3 in characterList[3] > put myCharacter3 into char 3 of thisWord > if characterCount is 3 then > if goodWord(thisWord) then put thisWord&return after wordList > next repeat > end if > repeat for each char myCharacter4 in characterList[4] > put myCharacter4 into char 4 of thisWord > if characterCount is 4 then > if goodWord(thisWord) then put thisWord&return after wordList > next repeat > end if > repeat for each char myCharacter5 in characterList[5] > put myCharacter5 into char 5 of thisWord > if characterCount is 5 then > if goodWord(thisWord) then put thisWord&return after wordList > next repeat > end if > repeat for each char myCharacter6 in characterList[6] > put myCharacter6 into char 6 of thisWord > if characterCount is 6 then > if goodWord(thisWord) then put thisWord&return after wordList > next repeat > end if > repeat for each char myCharacter7 in characterList[7] > put myCharacter7 into char 7 of thisWord > if goodWord(thisWord) then put thisWord&return after wordList > end repeat > end repeat > end repeat > end repeat > end repeat > end repeat > end repeat > return wordList > end phoneWords > > The nested repeats could be a candidate for recursion, but that's not > my strong suit. This should be easier to understand anyway. :{`) > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.net/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Sat Sep 20 20:37:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Sep 20 20:37:01 2003 Subject: windoze media, was: Pros and cons of where to store image data In-Reply-To: Message-ID: <8FE6E543-EBAE-11D7-A6C5-000A27B49A96@major-k.de> Hi Ken, > Hi Klaus, > ... >> Correction: These formats might be playable via "MCIsendString" in >> RR... > ---------- > Really? That'd be cool...How about a clue on instructions. I'd love to, if i had any ;-) > TIA, > Ken N. Regards Klaus Major klaus at major-k.de www.major-k.de From pixelbird at interisland.net Sat Sep 20 21:29:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sat Sep 20 21:29:01 2003 Subject: QT Player only? In-Reply-To: <200309210013.UAA26450@www.runrev.com> Message-ID: Hello Scott, > Date: Sat, 20 Sep 2003 13:13:00 -0700 > Subject: Re: QT Player only? > From: Scott Rossi > > Recently, Ken Norris wrote: > >> I'm supposing by what I'm reading that a player object in Rev only uses >> QuickTime, and not MS MediaPlayer. >> >> Is this true? > > No, a player object will use the multimedia facilities available on the > user's machine. I believe QT is the default playback mechanism, so if you > wanted to explicitly use Media Player for playback on a machine that had > both QT and WMP software, you'd set the dontUseQT property to true. ---------- Thanks so much. I thought I heard or read that somewhwere in the past, but cpouldn't find it. That's the best news I've heard in weeks!! Ken N. From jmadren at triad.rr.com Sat Sep 20 22:32:01 2003 From: jmadren at triad.rr.com (Jay Madren) Date: Sat Sep 20 22:32:01 2003 Subject: Automatic database queries & SQL Server or Access Message-ID: I submitted the following on bugzilla back at the beginning of September (bug # 511), but they haven't even been able to test and confirm it yet (as you can see if you read the history on bugzilla). Can anyone here that runs on Windows confirm this bug for me? I run Windows 2000, and I tried it on another Windows 2000 machine with the same results. I don't have access to any other Windows machines on which I could load RR and test this. Below is a copy of my initial bug submission. You don't have to have SQL Server to test this, only Access, since either one (using ODBC) resulted in the same problem. I am having difficulty getting automatic database queries to work correctly. I'm using ODBC to a SQL Server database (though I've tried Access too with the same results). I can connect to the database, but it will not display a list of the tables on the Record Set tab. But I can still manually type in a query and it works, BUT only if the query returns only one record. If I enter a query that returns more than one record, RR "goes out to lunch" and never responds (CPU usage is maxed out for the revolution.exe process in Task Manager). I wind up having to kill the process. Note that I can use the revDataFromQuery function in the Message Box to retrieve records (thousands of them) without a problem. I can also use revQueryDatabase with the same query and I get a record set ID back without any problems. I have successfully coded this on a card to populate a field (table) and it works just fine. But it will not work using automatic database queries that return more than one record. Thanks, Jay Madren -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmadren at triad.rr.com Sat Sep 20 22:36:01 2003 From: jmadren at triad.rr.com (Jay Madren) Date: Sat Sep 20 22:36:01 2003 Subject: Automatic database queries & SQL Server or Access Message-ID: Sorry for the HTML in my post. Forgot to send as plain text (why can't the list server automatically strip this stuff out?). Jay Madren From gcanyon at inspiredlogic.com Sat Sep 20 22:38:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Sep 20 22:38:00 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <000401c37fd9$96663fa0$b2ea5144@fatal7lcf637rj> Message-ID: <4BFFB2DE-EBE4-11D7-B858-003065683ECC@inspiredlogic.com> Ignoring special cases like 0 and 1, each number can be represented by any of 3 letters, so there are 3^7 or 2187 combinations. The solution below includes q and z, so the range of possible solutions is 1 for any combination of 1s and 0s to 4^7 for any combination of 7s and 9s. A recursive solution would handle this nicely: local sSolution on mouseUp put empty into sSolution doPerms "","2345678" put sSolution into fld 1 end mouseUp on doPerms pString,pPhone if pPhone is empty then put pString & cr after sSolution else put char 1 of pPhone into tChar delete char 1 of pPhone repeat for each char c in item tChar of "1,abc,def,ghi,jkl,mno,pqrs,tuv,wxyz,0" doPerms (pString & c),pPhone end repeat end if end doPerms On Saturday, September 20, 2003, at 05:44 PM, Andy Burns wrote: > > ----- Original Message ----- > From: "Dar Scott" > To: >> On Saturday, September 20, 2003, at 04:50 PM, Andy Burns wrote: >> >>> I remember a program that you could type in your phone number and it >>> would >>> give you all permutations of what possible words could be formed. >> >> You realize this could be 2000 to 16000 "words" depending on how many >> sevens there are? >> >> Dar Scott > > > Dar, > > The program will allow for just one phone number (for the > "returninfield" > message) of seven digits to generate all possible permutations. The > logic of > how to write that permutation code is what I don't grasp. > > I'm simply taking one phone number and sending back all the alphabetic > (including 0 and 1 numeral) combinations that may or may not make > words. > > The results will be displayed in a possibly huge field for the user to > scroll to see if something makes "word-sense", so to speak. > > Andy Burns > > > > _______________________________________________ > 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 bvg at mac.com Sat Sep 20 22:39:51 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Sep 20 22:39:51 2003 Subject: read from socket gives different output when blocking/nonblocking Message-ID: <415B61E0-EBE4-11D7-B1DE-003065AD94A4@mac.com> I am trying to do a little irc application. For this I made a small stack which can connect to a server and then send the login information. The question that I have is this: Is this a bug and if no what am I doing wrong? My test server is efnet.demon.co.uk i am connecting on port 6666. A typical conversation using blocking read's would be like this: connection the server sends me three lines with the end of line delimiter crlf: NOTICE AUTH :*** Looking up your hostname... NOTICE AUTH :*** Checking Ident NOTICE AUTH :*** Found your hostname I send my authentication strings: PASS NICK Bjoernke USER guest 0 bar :Bjoernke von Gierke And so on but when I do this whit a nonblocking read, i get this: connection the server sends me three lines with the end of line delimiter crlf: efnet.demon.co.uk:6666 efnet.demon.co.uk:6666 efnet.demon.co.uk:6666 Now I would send my authentication, but its kinda senseless, as I am unable to get any useful data. the code I use: --blocking on mouseUp read from socket field "server" until crlf put it & return after field "log" end mouseUp --nonblocking on mouseUp read from socket field "server" until crlf with message "finished" end mouseUp on finished theMessage put theMessage & return after field "log" end finished From bvg at mac.com Sat Sep 20 22:49:01 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Sep 20 22:49:01 2003 Subject: read from socket gives different output when blocking/nonblocking In-Reply-To: <415B61E0-EBE4-11D7-B1DE-003065AD94A4@mac.com> Message-ID: Oh wait i'm stupid the first parameter is the host i am connected to and the second parameter is the message it works fine like this: on mouseUp read from socket field "server" until crlf with message "finished" end mouseUp on finished theHost theMessage put theMessage & return after field "log" end finished On Sonntag, Sept 21, 2003, at 05:32 Europe/Zurich, Bj?rnke von Gierke wrote: > I am trying to do a little irc application. For this I made a small > stack which can connect to a server and then send the login > information. The question that I have is this: Is this a bug and if no > what am I doing wrong? > > My test server is efnet.demon.co.uk i am connecting on port 6666. A > typical conversation using blocking read's would be like this: > > connection > the server sends me three lines with the end of line delimiter crlf: > NOTICE AUTH :*** Looking up your hostname... > NOTICE AUTH :*** Checking Ident > NOTICE AUTH :*** Found your hostname > I send my authentication strings: > PASS > NICK Bjoernke > USER guest 0 bar :Bjoernke von Gierke > And so on > > but when I do this whit a nonblocking read, i get this: > > connection > the server sends me three lines with the end of line delimiter crlf: > efnet.demon.co.uk:6666 > efnet.demon.co.uk:6666 > efnet.demon.co.uk:6666 > Now I would send my authentication, but its kinda senseless, as I am > unable to get any useful data. > > > the code I use: > > --blocking > on mouseUp > read from socket field "server" until crlf > put it & return after field "log" > end mouseUp > > --nonblocking > on mouseUp > read from socket field "server" until crlf with message "finished" > end mouseUp > > on finished theMessage > put theMessage & return after field "log" > end finished > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sat Sep 20 23:37:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 20 23:37:00 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <4BFFB2DE-EBE4-11D7-B858-003065683ECC@inspiredlogic.com> Message-ID: <734D5077-EBEC-11D7-B472-000A9567A3E6@swcp.com> On Saturday, September 20, 2003, at 09:32 PM, Geoff Canyon wrote: > A recursive solution would handle this nicely: Cool. I have a tendency to create recursive functions, yet a recursive handler with side-effects at the leaves works very well here. Dar Scott From malte.brill at t-online.de Sun Sep 21 04:25:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Sun Sep 21 04:25:01 2003 Subject: QT Player only? In-Reply-To: <200309201602.MAA16976@www.runrev.com> Message-ID: Hi Ken, Just in case you didn?t know yet: if you want to set the dontUseQT to true you should do it before you use any player object or visual effect, as you have to decide wich playback system you want to use and can?t change it once Quicktime has been used. Regards, Malte From themacguy at macosx.com Sun Sep 21 07:24:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Sun Sep 21 07:24:00 2003 Subject: QT Player only? In-Reply-To: <200309210013.UAA26484@www.runrev.com> Message-ID: Scott, According to the docs, once you display a QT Player object, QT loads. Here the quote: The following actions cause QuickTime to be loaded into memory: ? Displaying a player object ? Playing an audio clip or video clip ? Recording sound using the record sound command ? Using the recordFormats function or the answer record command ? Using a visual effect with visual effect, show, hide, or unlock screen ? Using the answer effect command or QTEffects function ? Using the QTVersion function I guess I'm not grokking the difference between a player object and a videoClip or how to even control a "vc". Barry On Saturday, Sep 20, 2003, at 18:13 America/Denver, Scott wrote: >> I'm supposing by what I'm reading that a player object in Rev only >> uses >> QuickTime, and not MS MediaPlayer. >> >> Is this true? > > No, a player object will use the multimedia facilities available on the > user's machine. I believe QT is the default playback mechanism, so if > you > wanted to explicitly use Media Player for playback on a machine that > had > both QT and WMP software, you'd set the dontUseQT property to true. > From livfoss at blueyonder.co.uk Sun Sep 21 07:46:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sun Sep 21 07:46:01 2003 Subject: Leaving room for the title bar Message-ID: Further to my earlier queries about screen real estate (no replies from the list so far), I've done a bit of research which appears to show definitively that although the WindowBoundingRect takes into account the bits of the screen used up by the OS on each platform, there is no function within Transcript that tells the developer how much space the decorations of a window are going to take up. Thus if you set the rect of a stack to the default WindowBoundingRect, the title bar and any framing decorations on the sides and the bottom of the window just disappear. To stop this happening and yet precisely fill the available screen area you need to know details of window design, which vary with the OS (even different versions of Windows, I think). So I repeat my question - how can I know for the various flavours of OS which RunRev allows me to use, the amount of space taken up by these decorations? Other listers must have come up against this problem. TIA Graham BTW, the WindowBoundingRect is set differently when the IDE is present (it is set to avoid the IDE's own toolbar) but there is nothing in the docs about this. -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From sims at ezpzapps.com Sun Sep 21 08:22:01 2003 From: sims at ezpzapps.com (sims) Date: Sun Sep 21 08:22:01 2003 Subject: [OT] Test OS X app for me? In-Reply-To: References: Message-ID: Do you use Rev and OS X and iPhoto (version 2) and Mail.app? Want to help test a Rev app which uses all of the above? Please email me OFFLINE if you can answer yes to the above! tia sims From rcozens at pon.net Sun Sep 21 09:26:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Sun Sep 21 09:26:00 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <4BFFB2DE-EBE4-11D7-B858-003065683ECC@inspiredlogic.com> References: <4BFFB2DE-EBE4-11D7-B858-003065683ECC@inspiredlogic.com> Message-ID: >A recursive solution would handle this nicely: Geoff, et al: Where are you checking to see the combinations of characters in sSolution are legal words? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Sun Sep 21 09:35:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Sep 21 09:35:01 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: Message-ID: <0ACDE9EC-EC40-11D7-BE2B-000A9567A3E6@swcp.com> On Sunday, September 21, 2003, at 08:18 AM, Rob Cozens wrote: > Where are you checking to see the combinations of characters in > sSolution are legal words? Oh. I thought Andy said that wasn't a requirement. That check makes the problem harder, of course. Dar From jtenny at willamette.edu Sun Sep 21 09:54:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Sun Sep 21 09:54:01 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <0ACDE9EC-EC40-11D7-BE2B-000A9567A3E6@swcp.com> Message-ID: <794CC572-EC42-11D7-8B4E-000393911676@willamette.edu> If looking for real words, start by confirming that there is a vowel in the word. John On Sunday, September 21, 2003, at 07:29 AM, Dar Scott wrote: > > On Sunday, September 21, 2003, at 08:18 AM, Rob Cozens wrote: > >> Where are you checking to see the combinations of characters in >> sSolution are legal words? > > Oh. I thought Andy said that wasn't a requirement. That check makes > the problem harder, of course. > > Dar > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From kkaufman at snet.net Sun Sep 21 10:33:00 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Sep 21 10:33:00 2003 Subject: QT Player only? Message-ID: <330B476B-EC48-11D7-8498-0003937052EC@snet.net> >>>I guess I'm not grokking the difference between a player object and a videoClip or how to even control a "vc".<<< It might help to think of the player object as a "picture frame" of sorts; it uses services available to the operating system (such as QuickTime) to display images, video or sound. The actual picture, video or sound file is "linked" to the player object but is kept external to the stack or standalone. If you actually import the image, video or sound into the stack, it is displayed without the flexibility of the player (the controller for starting, pausing, playing only a selection, etc.), but in that case does not rely upon the presence of QuickTime or Windows Media Player, etc. Also, I understand in general it's good practice to keep external media sources separate from the project, especially if you want to update or change those resources. I guess it wouldn't be as important if the resources were small in size (low-resolution images or short, compressed sounds, etc.). I think that Runtime Revolution's authors are trying to encourage developers to use the player objects rather than importing media. You certainly can display a much greater variety of file formats using the player object. TIP: If you are having difficulty playing a sound clip that you have imported, try importing the sound clip as a videoClip instead. TIP: I get all sorts of unpredictable results when setting the dontUseQT to true on Windows systems: some MIDI files will play, but the sounds are out-of-phase with each other; some MIDI files and many sound files (AIFF compressed, some mp3s; even system WAV files) don't play at all; so I would say that if you are not going to have QT available on the host platform, test, test, test! (These results are using Win2K Pro, RR 1.1.1; it may be that some of the problems are corrected in RR v2.x) -Kurt From rcozens at pon.net Sun Sep 21 10:52:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Sun Sep 21 10:52:01 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <794CC572-EC42-11D7-8B4E-000393911676@willamette.edu> References: <794CC572-EC42-11D7-8B4E-000393911676@willamette.edu> Message-ID: >If looking for real words, start by confirming that there is a vowel >in the word. Hi John, Do you mean you are looking for a general purpose algorithm that can determine if a random string of characters form a "real" word without using a "dictionary to store the possible vocabulary? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From livfoss at blueyonder.co.uk Sun Sep 21 12:17:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Sun Sep 21 12:17:01 2003 Subject: Leaving room for the title bar Message-ID: Well, I seem to be talking to myself, but this may interest some people. Apologies if it's all in the dox somewhere and I've missed it (wouldn't be the first time). I have managed to get hold of various machines and I think the following figures are correct about the amount of space in pixels taken up by the decorations in each case. Obviously I don't have a more general solution which will work when Microsoft or Apple change something. I have no Unix figures. The following is best viewed in a monospaced font: OS Platform SystemVersion Title Bar LeftSide RightSide Bottom Windows 95 Win32 4.0 24 4 4 4 Windows 98 Win32 4.10 24 4 4 4 Windows XP Win32 NT 5.1 30 4 4 4 Mac OS 9 MacOS 9.2.2 22 6 7 6 Mac OS X MacOS 10.2.6 22 1 1 1 I'm hoping that these figures enable the developer to use the default WindowBoundingRect to set a new, more restrictive WindowBoundingRect to ensure a stack window just fills the available screen space. Corrections and comments welcome Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From gcanyon at inspiredlogic.com Sun Sep 21 12:45:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Sep 21 12:45:01 2003 Subject: A practical tale of hacking with Revolution Message-ID: <87DF21C3-EC5A-11D7-B858-003065683ECC@inspiredlogic.com> So, my dad sent me this web site with the question: how does it work? http://digicc.com/fido/ The site asks you to pick a number, jumble the digits to make a second number, subtract the smaller from the larger, cross out a digit (not 0), and enter the rest. It then tells you which number you picked. For those of you who like to be mystified, or want to figure it out yourselves, read no further. Others, scroll down (there's transcript at the end). Almost there... A little further... Okay. So, I have a head start in figuring this out, because I have a background in math puzzles from way back, and this is a math puzzle. The site asks you to choose a 3 or 4 digit number, but even if you choose a 4 digit number it suggests you choose a larger one next time, and indeed, it will work with a 5 digit number as well. As I said, this type of puzzle isn't completely unfamiliar. I started off looking at the algebra involved. A four digit number can be represented as: 1000w + 100x + 10y + z Where w, x, y, and z are any digit from 0 to 9 (except w, which can't be a 0 or it would be a three digit number) If you jumble it, the second number will look something like this: 1000x + 100z + 10y + w When you subtract the smaller of these two numbers from the other, you get: 999w - 900x - 99z or possibly -(999w - 900x - 99z), whichever is positive. Note that the y's cancelled out because y didn't change position In fact, the result will be the sum of one value (or the negative of the value) from each of these four lines: 9w, 99w, 999w, 90w, 990w, 900w, or 0w if it doesn't change position 9x, 99x, 999x, 90x, 990x, 900x, or 0x if it doesn't change position 9y, 99y, 999y, 90y, 990y, 900y, or 0y if it doesn't change position 9z, 99z, 999z, 90z, 990z, 900z, or 0z if it doesn't change position The reason for the above is fairly straightforward. There are only so many different pairs of positions the number can have: it can be in the thousands place and the ones place, which will result in either 999 or -999 times that number in the resulting difference. The thing to note about the above is that each of the coefficients is divisible by 9. "Aha!" the math puzzle solver cries, "Now we're getting somewhere!" The reason for the outburst is that all numbers divisible by 9 have digits that add up to 9 or a multiple of 9. So for example: 27 2 + 7 = 9 99 9 + 9 = 18 171 1 + 7 + 1 = 9 etc. This works for any multiple of 9. The proof is either beyond the scope of this writing, or left as an exercise for the reader, take your pick ;-) Now, the truth so often exploited in puzzles like this is that if you have a number that deviates from a multiple of 9 in some way, and you know what that way is, you can tell the original number because you know the digits must add up to 9. Here it's fairly straightforward. Once you've calculated the difference, you are supposed to pick one digit of the result and tell the program the others. The program knows the digits must add up to 9, so if you tell it the other digits are (in no particular order -- order doesn't matter because we're summing): 3, 2, 8 Then the program adds those numbers, gets 13 and therefore knows that the missing digit must be 5 in order to add up to 18 and make it a multiple of 9. The program asks you not to choose 0, which is a little funny. If the digits add up to a multiple of 9 it should know you chose 0. But I suppose you could have entered all the digits, and it would have no way to know whether you had chosen 0 or simply not chosen anything at all. Bringing this back to Revolution, here's code I wrote to generate some numbers and the resulting sums. Note how the third number in each line displayed is divisible by 9. To be thorough you'd have to rewrite this to check every possible combination of numbers and scrambling, but I'm done now ;-) The great thing about Revolution is how easy it is to bang out something like this. The initial code took maybe five minutes to write. on mouseUp repeat 100 put random(9000) + 999 into tNumber put empty into tScrambledNumber put tNumber into temp repeat 3 repeat with i = 4 down to 1 put random(i) into tWhichDigit put char tWhichDigit of temp after tScrambledNumber delete char tWhichDigit of temp end repeat if tScrambledNumber is not tNumber then exit repeat end repeat put abs(tNumber - tScrambledNumber) into tDifference put 0 into tSum repeat for each char c in tDifference add c to tSum end repeat put tNumber && tScrambledNumber && tSum & cr after fld 1 end repeat end mouseUp regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Sun Sep 21 13:01:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Sep 21 13:01:01 2003 Subject: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: Message-ID: I'm not ;-) Untested, but this would do it I think, trimming the recursion at the first point where it doesn't match. This assumes that the word list has a leading return, and the output now has a leading cr instead of a trailing cr: local sSolution -- the output results of good words local sWordList -- the list of good words. must have leading cr on mouseUp put empty into sSolution doPerms cr,"2345678" put sSolution into fld 1 end mouseUp on doPerms pString,pPhone if pString is not in sWordList then exit doPerms -- pruning here if pPhone is empty then put pString after sSolution else put char 1 of pPhone into tChar delete char 1 of pPhone repeat for each char c in item tChar of "1,abc,def,ghi,jkl,mno,pqrs,tuv,wxyz,0" doPerms (pString & c),pPhone end repeat end if end doPerms On Sunday, September 21, 2003, at 07:18 AM, Rob Cozens wrote: >> A recursive solution would handle this nicely: > > Geoff, et al: > > Where are you checking to see the combinations of characters in > sSolution are legal words? > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.net/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > regards, Geoff Canyon gcanyon at inspiredlogic.com From kray at sonsothunder.com Sun Sep 21 16:42:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 21 16:42:00 2003 Subject: Leaving room for the title bar In-Reply-To: Message-ID: <023a01c38088$4222f280$6501a8c0@LightningFlash> Graham, You're not talking to yourself, but I think that most people that wanted to use up the full space of the screen have gone the route of hiding the menubar and making a "decorations empty" full-screen stack based on the screenRect. Or alternately, have opened a window with decorations to a smaller-than-screen-size window, and allow the user to maximize it, resizing it accordingly. However, based on your table below, the only thing I'd mention is that in Windows you can change the title bar height to anything you like in the Display control panel (Appearance Tab (you'll need to click on the "Advanced" button in WinXP) and select "Active Title Bar" from the drop down menu. Your settings look like they're correct, but take note that the number of pixels for the title bar in Windows does not match the setting in the Display control panel. For example, in Win XP, the height is shown as "25" in the control panel. You should be able to query HKEY_CURRENT_USER/Control Panel/Desktop/WindowMetrics/CaptionHeight and take the value there and divide it by 15 and get the absoulte value. For example, on my PC, the default of 25 pixels is displayed as -375 in the CaptionHeight key in the Registry (abs(-375/15) = 25), and when I changed it to 35 pixels, the CaptionHeight went to -525 (abs(-525/15) = 35). You can then take that and add 5 pixels to get the "true" size (30 for the default in this case). Also, resizing the titlebar height also changes the height of the Task Bar at the bottom of the screen too... 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, September 21, 2003 12:11 PM > To: Revolution user discussion > Subject: Re: Leaving room for the title bar > > > Well, I seem to be talking to myself, but this may interest some > people. Apologies if it's all in the dox somewhere and I've missed it > (wouldn't be the first time). I have managed to get hold of various > machines and I think the following figures are correct about the > amount of space in pixels taken up by the decorations in each case. > Obviously I don't have a more general solution which will work when > Microsoft or Apple change something. I have no Unix figures. > > The following is best viewed in a monospaced font: > > OS Platform SystemVersion Title Bar LeftSide > RightSide Bottom > > Windows 95 Win32 4.0 24 4 4 4 > Windows 98 Win32 4.10 24 4 4 4 > Windows XP Win32 NT 5.1 30 4 4 4 > Mac OS 9 MacOS 9.2.2 22 6 7 6 > Mac OS X MacOS 10.2.6 22 1 1 1 > > I'm hoping that these figures enable the developer to use the default > WindowBoundingRect to set a new, more restrictive WindowBoundingRect > to ensure a stack window just fills the available screen space. > > Corrections and comments welcome > > 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 Sun Sep 21 16:46:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Sep 21 16:46:01 2003 Subject: QT Player only? In-Reply-To: <200309211147.HAA08314@www.runrev.com> Message-ID: Hi Malte, > Date: Sun, 21 Sep 2003 11:19:47 +0200 > Subject: Re: QT Player only? > From: malte.brill at t-online.de (Malte Brill) > Just in case you didn?t know yet: > if you want to set the dontUseQT to true you should do it before you use any > player object or visual effect, as you have to decide wich playback system > you want to use and can?t change it once Quicktime has been used. ---------- Yes, that makes sense. Thanks, Ken N. From pixelbird at interisland.net Sun Sep 21 17:03:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Sep 21 17:03:01 2003 Subject: QT Player only? In-Reply-To: <200309211147.HAA08314@www.runrev.com> Message-ID: Hi Barry, > Date: Sat, 20 Sep 2003 19:41:32 -0600 > Subject: Re: QT Player only? > From: Barry Levine > > Scott, > > According to the docs, once you display a QT Player object, QT loads. > Here the quote: > > The following actions cause QuickTime to be loaded into memory: > ? Displaying a player object > ? Playing an audio clip or video clip > ? Recording sound using the record sound command > ? Using the recordFormats function or the answer record command > ? Using a visual effect with visual effect, show, hide, or unlock > screen > ? Using the answer effect command or QTEffects function > ? Using the QTVersion function > > I guess I'm not grokking the difference between a player object and a > videoClip or how to even control a "vc". ---------- Grokking? Gee, I haven't heard that in 20+ years ;-) Anyway, I'd say controlling a VC when using QT could be done with the 'answer record' command, because... "When an audio clip or video clip is playing, a temporary player is created for it." from the VC Messages section of the Main Docs. HOWEVER, if you have don'tUseQT prop set to true, then I have no idea how you would control, say, MS MediaPlayer stuff, if it is the default player on a Windows/PC system. So, does anyone have a clue how to write control settings, spec files, etc., for MS/MP? What are the default settings? Ken N. From rjb at rz.uni-potsdam.de Sun Sep 21 18:05:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sun Sep 21 18:05:00 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: <20030920122535.78226.qmail@www.boxfrog.com> References: <20030919121120.52162.qmail@web11906.mail.yahoo.com> <20030920122535.78226.qmail@www.boxfrog.com> Message-ID: >Jan Schenkel writes: >[snip] >>... especially if there is a work-around (which reminds me >>that it would be good if there were a central place >>for these ; and I don't mean the list archives) > >>Jan Schenkel. >+++++++++++++++++++++++ >An archive is a good idea. It would be very convenient to have on >the bug report a link directly to a work-around for that bug from a >work-around archive. >miscdas _______________________________________________ A technical FAQ could be the way to go. Even better would be a Knowledge Database. Essentially a FAQ in a searchable database. But either solution requires manpower to maintain. Robert From pixelbird at interisland.net Sun Sep 21 18:07:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Sun Sep 21 18:07:01 2003 Subject: QT Player only? In-Reply-To: <200309211601.MAA12247@www.runrev.com> Message-ID: Hi Kurt, > Date: Sun, 21 Sep 2003 11:28:06 -0400 > Subject: QT Player only? > From: Kurt Kaufman > displayed without the flexibility of the player (the controller for > starting, pausing, playing only a selection, etc.), but in that case > does not rely upon the presence of QuickTime or Windows Media Player, > etc. ---------- Hold on, now. I posted a quote from the docs: "When an audio clip or video clip is playing, a temporary player is created for it." ...I'm surmising that means the VC/AC commands use QT unless don'tUseQT is true, in which case it uses the default player on the system. So then, it MUST rely on the presence of QT or MP. How about it Rev staff? Is that true, or does Rev have its own realtime players or VC's and AC's? ----------snip > I think that Runtime Revolution's authors are trying to encourage > developers to use the player objects rather than importing media. You > certainly can display a much greater variety of file formats using the > player object. ----------- Well, RR is still primarily a RAD tool. Consequently, I don't believe the use of VC's or AC's is being discouraged at all, e.g., once again, it's just a discretional matter of how they will be used. If I want to use clips for splash openers, stackwide button sounds, SFX, etc., things that are small and unlikely to need updating, then I think importing them is more viable in many cases, than pointing to files, because of execution speed and that they don't use much memory. They're just clips, as the name implies. If you are using QT, you should be able to import and play any filetypes that the current onboard version of QT recognizes. OTOH, IMO, if you have movies or sounds which 1) take too much RAM to be practical to be 'embedded', and/or 2) you will need to update, then the file method is the way to go. All the best, Ken N. From igor at pixelmedia.com.au Sun Sep 21 18:13:01 2003 From: igor at pixelmedia.com.au (Igor Couto) Date: Sun Sep 21 18:13:01 2003 Subject: Leaving room for the title bar In-Reply-To: Message-ID: <671F3B83-EC88-11D7-8CA9-000393AD9396@pixelmedia.com.au> Dear Graham, On Sunday, September 21, 2003, at 10:40 PM, Graham Samuel wrote: > So I repeat my question - how can I know for the various flavours of > OS which RunRev allows me to use, the amount of space taken up by > these decorations? > > Other listers must have come up against this problem. > I can't speak for others, but I must admit, I haven't come up with this problem yet. That is probably because I have never had the need to have a windows that takes up the entire screen, and still has decorations in it - this must be a 'windows concept', and I am a Mac user... Whenever I've had to use a window that takes up the entire screen (such as in a kiosk-style multimedia presentation), I always want the decorations gone altogether. It seems to me - perhaps wrongly - that the entire point of the decorations is to allow the user to manipulate the window: resize it, move it, shrink it, close it, etc. If we are assuming that the user will want to do those things with the window, then we must also assume that they are going to to this because they want access to other items on their desktop - which we should allow them to see... Mac users are generally comfortable and used to working with multiple open windows on their desktops (and messy desktops and docks, full with tens of icons!). Only having ever worked *very* occasionally on Windows machines, I can't tell whether the same applies to the user-interfaces paradigms there. However, I do remember that the 'auto-resize' button in Windows windows seemed to automatically resize the window to fit my entire screen (which, as a Mac user, I thought was rather odd and annoying). If that mechanism is already available in Windows platforms, though, then perhaps you don't have to worry about manually implementing it in Revolution - if you are only going to deliver on that platform. On Monday, September 22, 2003, at 03:11 AM, Graham Samuel wrote: > Well, I seem to be talking to myself, but this may interest some > people. We're all listening! - and thinking very hard, trying to come up with something constructive to tell you! I missed your original posting, so I don't know whether you've already given us a description of what it is exactly that you are trying to achieve with this interface (ie, what is the problem that you're trying to solve by resizing a decorated window to fill the entire screen?). Perhaps we can suggest some alternative solutions! Cheers, -- Igor de Oliveira Couto ---------------------------------- ---------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2616 bytes Desc: not available URL: From dsc at swcp.com Sun Sep 21 18:48:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sun Sep 21 18:48:01 2003 Subject: Bug submissions, Feature requests and Voting In-Reply-To: Message-ID: <5B7F0314-EC8D-11D7-993D-000A9567A3E6@swcp.com> On Sunday, September 21, 2003, at 04:47 PM, Robert Brenstein wrote: >>> ... especially if there is a work-around (which reminds me >>> that it would be good if there were a central place >>> for these ; and I don't mean the list archives) >> >>> Jan Schenkel. >> +++++++++++++++++++++++ >> An archive is a good idea. It would be very convenient to have on the >> bug report a link directly to a work-around for that bug from a >> work-around archive. >> miscdas _______________________________________________ > > A technical FAQ could be the way to go. Even better would be a > Knowledge Database. Essentially a FAQ in a searchable database. But > either solution requires manpower to maintain. When I remember and when I know of one, I leave a brief mention of a workaround in a bugzilla comment. That may not be the best general or long-term solution. Dar Scott From rodneytamblyn at paradise.net.nz Sun Sep 21 23:00:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sun Sep 21 23:00:00 2003 Subject: comment section of JPEG images Message-ID: Does anyone know of a way (or some sample source code) to get/set the comments data in JPEG images? Here's a java equivalent of the sort of thing I'm looking for - http://nwalsh.com/java/jpegrdf/ ~ Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From mdswindell at charter.net Sun Sep 21 23:28:01 2003 From: mdswindell at charter.net (Mark Swindell) Date: Sun Sep 21 23:28:01 2003 Subject: Web host recommendations? In-Reply-To: Message-ID: <4C93A054-ECB4-11D7-A2BD-0003936A51C6@charter.net> I'm starting to web-host shop... I was wondering if anyone had recommendations of hosting services with which they have first-hand experience. I'm going to put up few educational titles I've created in Revolution and been encouraged to put out as shareware. Of course I'd like cheap prices and great service, but what else is new, and what should I be aware of? I develop using Mac and Revolution. So far iPowerWeb looks pretty good. Thanks, Mark From alex at mindlube.com Mon Sep 22 00:03:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 22 00:03:01 2003 Subject: Web host recommendations? In-Reply-To: <4C93A054-ECB4-11D7-A2BD-0003936A51C6@charter.net> Message-ID: <52DFF8D2-ECB9-11D7-9C12-000393529642@mindlube.com> On Sunday, September 21, 2003, at 10:21 PM, Mark Swindell wrote: > I'm starting to web-host shop... I was wondering if anyone had > recommendations of hosting services with which they have first-hand > experience. Hurricane Electric Cannot be beat on price/performance/service. (IMHO) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Mon Sep 22 00:52:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 22 00:52:00 2003 Subject: windoze media, was: Pros and cons of where to store image data In-Reply-To: <8FE6E543-EBAE-11D7-A6C5-000A27B49A96@major-k.de> Message-ID: <000e01c380cc$b926fe50$6501a8c0@LightningFlash> > > Hi Klaus, > > ... > >> Correction: These formats might be playable via "MCIsendString" in > >> RR... > > ---------- > > Really? That'd be cool...How about a clue on instructions. > > I'd love to, if i had any ;-) Here you go: http://www.tactilemedia.com/info/MCI_Control_Info.html Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Mon Sep 22 00:54:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 22 00:54:00 2003 Subject: Detecting MouseMove within scrollBar of fld In-Reply-To: <0077238F-EB37-11D7-AE53-000393C67B60@earthlink.net> Message-ID: <000f01c380cd$1f3e6660$6501a8c0@LightningFlash> You could send a message to yourself every 10 milliseconds or so, as in: on checkMouse x,y put x,y send "checkMouse" && quote & the mouseLoc & quote to me in 10 milliseconds end checkMouse That should work... 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 Mac Dude > Sent: Saturday, September 20, 2003 1:52 AM > To: use-revolution at lists.runrev.com > Cc: Mac Dude > Subject: Detecting MouseMove within scrollBar of fld > > > I noticed today that a MouseMove message is not generated while the > mouse is over the scrollBar portion of a fld. Aside from using a > mouseWithin (ick), or adding my own scrollBar (yuck!), is > there a good > way to detect that the mouse is within the scrollBar region of a fld? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From pa.lindgren at chello.se Mon Sep 22 01:42:00 2003 From: pa.lindgren at chello.se (P=?ISO-8859-1?B?5A==?=r Lindgren) Date: Mon Sep 22 01:42:00 2003 Subject: The detailed files bug Message-ID: The files function returns correct file names but the detailed files returns the file name with strange characters inserted if there is a space or foreign language characters present. Par From ttasovac at princeton.edu Mon Sep 22 02:46:00 2003 From: ttasovac at princeton.edu (Toma Tasovac) Date: Mon Sep 22 02:46:00 2003 Subject: Web host recommendations? In-Reply-To: <4C93A054-ECB4-11D7-A2BD-0003936A51C6@charter.net> Message-ID: <08EA2755-ECD0-11D7-8AF4-000393D60E0C@princeton.edu> I can wholeheartedly recommend http://www.xrackhosting.com It's NOT the cheapest hosting available, but the service is unbelievable, and most of your questions/requests are answered within an hour... Plus it's an OSX based hosting provider. Check it out. I switched to xrackhosting after FeaturePrice (which was a cheap and safe solution) went bankrupt, cancelled their customer support, shut down my sites, never gave me my money back etc... Now they're apparently back in business, so whatever you choose do NOT chose featureprice.com All best, Toma Am Montag, 22.09.03 um 06:21 Uhr schrieb Mark Swindell: > I'm starting to web-host shop... I was wondering if anyone had > recommendations of hosting services with which they have first-hand > experience. I'm going to put up few educational titles I've created > in Revolution and been encouraged to put out as shareware. > > Of course I'd like cheap prices and great service, but what else is > new, and what should I be aware of? I develop using Mac and > Revolution. > > So far iPowerWeb looks pretty good. > > Thanks, > Mark > > _______________________________________________ > 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 Sep 22 03:56:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 22 03:56:00 2003 Subject: The detailed files bug In-Reply-To: Message-ID: Hi P?r, > > The files function returns correct file names but the detailed files > returns > the file name with strange characters inserted if there is a space or > foreign language characters present. Don't worry, no bug :-) The long files will return the filename in urlEncoded form! So you just have to urlDecode the filename when working with it... Hope that helps... > Par Regards Klaus Major klaus at major-k.de www.major-k.de From psahores at easynet.fr Mon Sep 22 04:46:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Mon Sep 22 04:46:00 2003 Subject: Web host recommendations? In-Reply-To: <4C93A054-ECB4-11D7-A2BD-0003936A51C6@charter.net> References: <4C93A054-ECB4-11D7-A2BD-0003936A51C6@charter.net> Message-ID: <1064223653.2617.16.camel@www.kmax.ici> Le lun 22/09/2003 ? 06:21, Mark Swindell a ?crit : > I'm starting to web-host shop... I was wondering if anyone had > recommendations of hosting services with which they have first-hand > experience. I'm going to put up few educational titles I've created in > Revolution and been encouraged to put out as shareware. > > Of course I'd like cheap prices and great service, but what else is > new, and what should I be aware of? I develop using Mac and Revolution. > > So far iPowerWeb looks pretty good. > > Thanks, > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > Hi Mark, Here is the refs of the (french) provider witch is hosting my MC/Rev's/PostgreSQL apps under Linux since 2000/08 and, further, under XServe. Ask him directly about the conditions you could get about both shared services hosting or dedicated XServe boxes (Alain is currently migrating all the services from FreeBSD/Linux/AIX/Win32 to the XServe platform). He is mainly hosting Universities, public administrations and associative organisations services --> (Alain Braun) Best Regards, -- 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 klaus at major-k.de Mon Sep 22 04:50:01 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 22 04:50:01 2003 Subject: QT Player only? In-Reply-To: Message-ID: <713FB256-ECE1-11D7-BA85-000A27B49A96@major-k.de> Hi Ken, > Hi Kurt, > >> Date: Sun, 21 Sep 2003 11:28:06 -0400 >> Subject: QT Player only? >> From: Kurt Kaufman > >> displayed without the flexibility of the player (the controller for >> starting, pausing, playing only a selection, etc.), but in that case >> does not rely upon the presence of QuickTime or Windows Media Player, >> etc. > ---------- > Hold on, now. I posted a quote from the docs: > > "When an audio clip or video clip is playing, a temporary player is > created > for it." > > ...I'm surmising that means the VC/AC commands use QT unless > don'tUseQT is > true, in which case it uses the default player on the system. As already stated in an earlier mail, RR does NEVER USE QT to "play ac xxx"!!! Check it out: play ac "my.mp3" Hellish noise is what you get... You can do some tricky fake by using play vc "my.mp3" however ;-) QT is used for "play vc xyz", if dontuseqt is not set to true. > So then, it MUST rely on the presence of QT or MP. Sure, there MUST be some multimedia-layer present to be able to play multi media ;-) And i think that we can relay on that nowadays! > How about it Rev staff? > Is that true, or does Rev have its own realtime players or VC's and > AC's? > ----------snip >> I think that Runtime Revolution's authors are trying to encourage >> developers to use the player objects rather than importing media. You >> certainly can display a much greater variety of file formats using the >> player object. > ----------- > Well, RR is still primarily a RAD tool. Consequently, I don't believe > the > use of VC's or AC's is being discouraged at all, e.g., once again, > it's just > a discretional matter of how they will be used. If I want to use clips > for > splash openers, stackwide button sounds, SFX, etc., things that are > small > and unlikely to need updating, then I think importing them is more > viable in > many cases, than pointing to files, because of execution speed and > that they > don't use much memory. They're just clips, as the name implies. If you > are > using QT, you should be able to import and play any filetypes that the > current onboard version of QT recognizes. Correct. The best way is to check for QT ("the qtversion") on preopenstack and act accordingly. I am also sure that there are still many QT version 2.xx on some older PC systems. And that is no good choice for a satisfying AV experience :-) MP3 are played via QT starting with version 5 (not sure or was it 4?)... MPG video can be played via QT since version 5... SWF files are only played WITH SOUND!!! with version <=6 of QT... CUBIC panoramas require version <=6... To name the most common formats... And we can even have these terrific QT transitions in RR. REAL dissolve, at last ;-) And many exiting media can only be played with QT, like QTVR or interactive QT. There is not even an equivalent on the win side.... Not to forget this small but very handy QT-only feature called "controller" ;-) > OTOH, IMO, if you have movies or sounds which 1) take too much RAM to > be > practical to be 'embedded', and/or 2) you will need to update, then > the file > method is the way to go. 100% ACK... > All the best, > Ken N. Regards Klaus Major klaus at major-k.de www.major-k.de From livfoss at blueyonder.co.uk Mon Sep 22 05:09:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Sep 22 05:09:00 2003 Subject: Leaving room for the title bar Message-ID: On Sun, 21 Sep 2003 16:35:13 -0500, "Ken Ray" wrote: > >You're not talking to yourself, but I think that most people that wanted >to use up the full space of the screen have gone the route of hiding the >menubar and making a "decorations empty" full-screen stack based on the >screenRect. Or alternately, have opened a window with decorations to a >smaller-than-screen-size window, and allow the user to maximize it, >resizing it accordingly. > >However, based on your table below, the only thing I'd mention is that >in Windows you can change the title bar height to anything you like in >the Display control panel (Appearance Tab (you'll need to click on the >"Advanced" button in WinXP) and select "Active Title Bar" from the drop >down menu. > >Your settings look like they're correct, but take note that the number >of pixels for the title bar in Windows does not match the setting in the >Display control panel. For example, in Win XP, the height is shown as >"25" in the control panel. You should be able to query > > HKEY_CURRENT_USER/Control Panel/Desktop/WindowMetrics/CaptionHeight > >and take the value there and divide it by 15 and get the absoulte value. >For example, on my PC, the default of 25 pixels is displayed as -375 in >the CaptionHeight key in the Registry (abs(-375/15) = 25), and when I >changed it to 35 pixels, the CaptionHeight went to -525 (abs(-525/15) = >35). You can then take that and add 5 pixels to get the "true" size (30 >for the default in this case). > Ken, this info is like gold dust - thanks so much! However I must admit I don't know how to do your HKEY query in Transcript - I mean, I think you've given me a path, but how do I know the value of HKEY_CURRENT_USER? Sorry to be so ignorant, but despite appearances, I am also much more Mac- than Windows-based. It's just that I'm trying to be as faithfully cross-platform as possible. On Mon, 22 Sep 2003 09:07:42 +1000, Igor Couto wrote: > >I can't speak for others, but I must admit, I haven't come up with this >problem yet. That is probably because I have never had the need to have >a windows that takes up the entire screen, and still has decorations in >it - this must be a 'windows concept', and I am a Mac user... Whenever >I've had to use a window that takes up the entire screen (such as in a >kiosk-style multimedia presentation), I always want the decorations >gone altogether. Well, I admit I may be unusual in wanting to set both the width and the height of the window to fill the available screen space, but the idea of making the maximum area available to the user is well-established on the Mac and the PC. For example if you open a new document in AppleWorks, the height of the doc window is adjusted to fill all the space between the toolbar and the bottom of the screen. The same goes for MS Word and so on. In theory if you set a doc to landscape in one of these apps, it will then use up as much width as it can in order to show the whole doc - tho I don't think AppleWorks actually does this. In my case, I don't have an external toolbar and I want to cover as much of the screen as possible without using a kiosk effect - this is because the user (a child) knows that he/she is using a 'normal' computer and expects to see all the usual stuff on the screen (including window decorations - particularly a title bar) while at the same time not having too many distractions showing up behind the app's main window. This particular take on screen real estate is not really my idea, it comes from teacher feedback. > >It seems to me - perhaps wrongly - that the entire point of the >decorations is to allow the user to manipulate the window: resize it, >move it, shrink it, close it, etc. If we are assuming that the user >will want to do those things with the window, then we must also assume >that they are going to to this because they want access to other items >on their desktop - which we should allow them to see... Mac users are >generally comfortable and used to working with multiple open windows on >their desktops (and messy desktops and docks, full with tens of icons!). Yes, but this is a single-task app which the pupil works on in class until the exercise is done, so additional windows (apart from palettes and so forth belonging to the app itself) are just a distraction. >Only having ever worked *very* occasionally on Windows machines, I >can't tell whether the same applies to the user-interfaces paradigms >there. However, I do remember that the 'auto-resize' button in Windows >windows seemed to automatically resize the window to fit my entire >screen (which, as a Mac user, I thought was rather odd and annoying). >If that mechanism is already available in Windows platforms, though, >then perhaps you don't have to worry about manually implementing it in >Revolution - if you are only going to deliver on that platform. Well, I have geometry to worry about! There are a lot of controls in the window (stack) and they have to arrange themselves sensibly in the available space. I have decided to accommodate the 1024x768, 800x600 and 640x480 screens (teacher feedback again - personally I have not worked on a 640x480 screen on any platform for as long as I can remember). All this is 99% working - tho now I have to include Ken's new fix! >. Anyway thanks for your interest, and I hope I've explained what I'm doing without getting boring. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From rodneytamblyn at paradise.net.nz Mon Sep 22 06:44:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Mon Sep 22 06:44:00 2003 Subject: JPEG comment data Message-ID: Does anyone have an example code snippet of how to access COM (comment) or APP1 chunk information from JPEG images in Revolution? Thanks ~ Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From janschenkel at yahoo.com Mon Sep 22 07:03:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 22 07:03:01 2003 Subject: Leaving room for the title bar In-Reply-To: Message-ID: <20030922115154.25777.qmail@web11903.mail.yahoo.com> --- Graham Samuel wrote: > On Sun, 21 Sep 2003 16:35:13 -0500, "Ken Ray" > wrote: > > > query > > > > HKEY_CURRENT_USER/Control > Panel/Desktop/WindowMetrics/CaptionHeight > > > >and take the value there and divide it by 15 and > get the absoulte value. > > You can then take that and add 5 pixels to get > the "true" size (30 > >for the default in this case). > > > > Ken, this info is like gold dust - thanks so much! > However I must > admit I don't know how to do your HKEY query in > Transcript - I mean, > I think you've given me a path, but how do I know > the value of > HKEY_CURRENT_USER? Sorry to be so ignorant, but > despite appearances, > I am also much more Mac- than Windows-based. It's > just that I'm > trying to be as faithfully cross-platform as > possible. > Hi Graham, The 'queryRegistry' function will figure that one out for itself ; so try : put "HKEY_CURRENT_USER/Control Panel/Desktop/WindowMetrics/CaptionHeight" into tRegKey put queryRegistry(tRegKey) into tCaptionHeight put abs(tCaptionHeight DIV 15) + 5 into tWindowTitleHeight 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 Sep 22 07:12:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 22 07:12:01 2003 Subject: JPEG comment data In-Reply-To: Message-ID: <20030922120035.71535.qmail@web11908.mail.yahoo.com> --- Rodney Tamblyn wrote: > Does anyone have an example code snippet of how to > access COM (comment) > or APP1 chunk information from JPEG images in > Revolution? > > Thanks > > ~ Rodney > Hi Rodney, Not exactly the sample code you were looking for, but more a general idea + pointers to the Transcript functions you might need. - if it's not too big a file, start by reading it in its entirety, as a 'binfile' (binary file) put URL ("binfile:" & tFilePath) into tFileData - you can then extract bits and pieces from that variable, by using 'char 14 to 35' chunks. - have a look at the 'binaryDecode' function for decoding all sorts of binary information into variables (integers, floating points, etc.) - you may also need the 'base64decode' function if that's what the file format says. You may be able to extract the necessary info on the data format by reading the java code you posted a link to earlier. 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 Mon Sep 22 08:49:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 22 08:49:00 2003 Subject: Leaving room for the title bar In-Reply-To: Message-ID: <002b01c3810e$1af4c540$6501a8c0@LightningFlash> > Well, I have geometry to worry about! There are a lot of controls in > the window (stack) and they have to arrange themselves sensibly in > the available space. I have decided to accommodate the 1024x768, > 800x600 and 640x480 screens (teacher feedback again - personally I > have not worked on a 640x480 screen on any platform for as long as I > can remember). The only thing I can suggest for the future, Graham (as it's probably too late for the current product), is to allow support for any size screen from a minimum of x,y to whatever max the user wants by trapping the "resizeStack" message and adjusting your fields, buttons, etc. accordingly. It sound like you are creating three separate layouts based on screen dimensions (am I correct?) and you never know if you'll get a weird one thrown in there (like I used to have my Mac set to 1152 x 870), or they'll have resized the taskbar in Windows to be taller, or have added shareware palettes that cut off screen space, etc. If you're interested in looking at what a simple resizing script might be, let me know and I'll post one. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From klaus at major-k.de Mon Sep 22 09:03:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 22 09:03:00 2003 Subject: QT Player only? In-Reply-To: <713FB256-ECE1-11D7-BA85-000A27B49A96@major-k.de> Message-ID: Hi all, > SWF files are only played WITH SOUND!!! with version <=6 of QT... > CUBIC panoramas require version <=6... Typo alert!!! Has to be > SWF files are only played WITH SOUND!!! with version >=6 of QT... > CUBIC panoramas require version >=6... ( >= 6) of course... Regards Klaus Major klaus at major-k.de www.major-k.de From rcozens at pon.net Mon Sep 22 09:30:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 22 09:30:01 2003 Subject: Can Standalones Do "do"? Message-ID: Morning all. I'm working away polishing up SDB for the LA Run Rev Dev meeting on Wednesday. Lately I've got a nagging feeling that part of my effort is for naught: SDB Data Dictionary includes a field where the developer can type a validation handler to applied to the field contents when the field is closed. The idea was something like this: on closeField global passedData put me into passedData do (field "Validation") if the result is not empty then -- take error return [snip] end closeFields Cool and powerful stuff; but if a standalone can't do "do", I'm wasting my time. Am I wasting my time? Is there another way to change handlers on-the-fly? Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From themacguy at macosx.com Mon Sep 22 09:50:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 22 09:50:00 2003 Subject: Web host recommendations? In-Reply-To: <200309221106.HAA01714@www.runrev.com> Message-ID: <7027312C-ED0A-11D7-9B20-000A95763ABC@macosx.com> www.simonweb.com Located in El Paso, TX; run by a friend of mine. $7/month. One hop from the main Internet trunk coming through the city. Lots of package choices including (ugh!) .asp if you need it. If you do sign up, please let me know. I don't get anything from it but I'd like to let my friend know I'm driving business to him. Barry On Monday, Sep 22, 2003, at 05:06 America/Denver, use-revolution-request at lists.runrev.com wrote: > Web host recommendations? From gizmotron at earthlink.net Mon Sep 22 10:03:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Sep 22 10:03:01 2003 Subject: Can Standalones Do "do"? In-Reply-To: Message-ID: <5683B406-ED0C-11D7-94BA-000A95859272@earthlink.net> On Monday, September 22, 2003, at 07:15 AM, Rob Cozens wrote: > Morning all. > > Lately I've got a nagging feeling that part of my effort is for naught: > > [snip] but if a standalone can't do "do", I'm wasting my time. > > Am I wasting my time? Rob, I tested for it; it worked. I just built a standalone with a text entry field and a do button. I typed answer "Show the answer window." into the text field. The do button did the text in the text entry field; the answer dialog box opened with Show the answer window. Mark From Roger.E.Eller at sealedair.com Mon Sep 22 10:11:01 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Mon Sep 22 10:11:01 2003 Subject: Can Standalones Do "do"? Message-ID: Yes, standalones can do "do". ;) > Am I wasting my time? Is there another way to change handlers on-the-fly? Here's another way: set the script of btn "dynamicScript" to fld "Handler" dynamicHandler -- in the field, the handler begins with "on dynamicHandler" Roger Eller roger.e.eller at sealedair.com On 09/22/2003 at 10:15 AM, Rob Cozens wrote: > Morning all. > > I'm working away polishing up SDB for the LA Run Rev Dev meeting on Wednesday. > > Lately I've got a nagging feeling that part of my effort is for naught: > > SDB Data Dictionary includes a field where the developer can type a > validation handler to applied to the field contents when the field is > closed. The idea was something like this: > > on closeField > global passedData > put me into passedData > do (field "Validation") > if the result is not empty then -- take error return > [snip] > end closeFields > > Cool and powerful stuff but if a standalone can't do "do", I'm > wasting my time. > > Am I wasting my time? Is there another way to change handlers on-the-fly? > > Rob Cozens > CCW, Serendipity Software Company From livfoss at blueyonder.co.uk Mon Sep 22 10:12:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon Sep 22 10:12:01 2003 Subject: Leaving room for the title bar Message-ID: On Mon, 22 Sep 2003 04:51:54 -0700 (PDT), Jan Schenkel wrote: At 7:08 -0400 22/9/03, use-revolution-request at lists.runrev.com wrote: > >Hi Graham, > >The 'queryRegistry' function will figure that one out >for itself ; so try : > put "HKEY_CURRENT_USER/Control >Panel/Desktop/WindowMetrics/CaptionHeight" into >tRegKey > put queryRegistry(tRegKey) into tCaptionHeight > put abs(tCaptionHeight DIV 15) + 5 into >tWindowTitleHeight Hi Jan Thanks very much to you for clarifying Ken Ray's suggestion about the Registry. Just two small points I needed to know to get it working: the "/"s should be "\"s in the path (see the TD), and when one builds the distribution, it's essential to include 'all other' or whatever it's called - the last thing on the inclusion list anyway - otherwise queryregistry doesn't function, which foxed me for some time. Cheers Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From janschenkel at yahoo.com Mon Sep 22 10:20:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 22 10:20:00 2003 Subject: Can Standalones Do "do"? In-Reply-To: Message-ID: <20030922150808.2318.qmail@web11906.mail.yahoo.com> --- Rob Cozens wrote: > Morning all. > > I'm working away polishing up SDB for the LA Run Rev > Dev meeting on Wednesday. > > Lately I've got a nagging feeling that part of my > effort is for naught: > > SDB Data Dictionary includes a field where the > developer can type a > validation handler to applied to the field contents > when the field is > closed. The idea was something like this: > > on closeField > global passedData > put me into passedData > do (field "Validation") > if the result is not empty then -- take error > return > [snip] > end closeFields > > Cool and powerful stuff; but if a standalone can't > do "do", I'm > wasting my time. > > Am I wasting my time? Is there another way to > change handlers on-the-fly? > > Rob Cozens > Hi Rob, The 'do' command should work just fine in standalones, as long as the script you want to execute is within the good ol' 10-line limit. One way to check if the script is any good and within limits is by making a field "testscript", and use something like : try set the script of btn "testscript" to \ "on test" & return & fld "Validation" & \ return & "end test" catch tError # if you get here, something is wrong # ... end try To know what to check for, use the msg box and execute the following : edit the script of card "revScript" of \ stack "revTemplateScriptEditor" And scroll to the handler 'revCompileScript' 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 steve at messimercomputing.com Mon Sep 22 10:33:00 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Mon Sep 22 10:33:00 2003 Subject: download woes Message-ID: <694B97D8-ED10-11D7-A907-000A27D75508@messimercomputing.com> Hi all, Anyone have any tips about how to download 2.1. I have tried downloading the Classic, OSX and Windows versions all to no avail. Thinking it might be some sort of Safari related issue I tried IE 5.2 but that didn't work either. Any assistance would be very much appreciated. Thanks. Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with PreceptorTools? -- Public Beta available Soon! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 From klaus at major-k.de Mon Sep 22 10:39:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 22 10:39:00 2003 Subject: download woes In-Reply-To: <694B97D8-ED10-11D7-A907-000A27D75508@messimercomputing.com> Message-ID: <4E64304C-ED11-11D7-BA85-000A27B49A96@major-k.de> Hi Stephen, > Hi all, > > Anyone have any tips about how to download 2.1. I have tried > downloading the Classic, > OSX and Windows versions all to no avail. Thinking it might be some > sort of Safari related > issue I tried IE 5.2 but that didn't work either. Just tested it with Safari without problem...!? > Any assistance would be very much appreciated. Try directly from the ftp server: ftp://ftp.runrev.com/pub/revolution/downloads/distributions/2.1/ Works here, too... > Thanks. Good luck :-) > Steve > > Stephen R. Messimer, PA > 208 1st Ave. South > Escanaba, MI 49829 > www.messimercomputing.com > -- > Build Computer-Based Training modules FAST with PreceptorTools? -- > Public Beta available Soon! > -- > Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 Regards Klaus Major klaus at major-k.de www.major-k.de From klaus at major-k.de Mon Sep 22 10:42:01 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 22 10:42:01 2003 Subject: Can Standalones Do "do"? In-Reply-To: <20030922150808.2318.qmail@web11906.mail.yahoo.com> Message-ID: Hi Ken, > ... > One way to check if the script is any good and within > limits is by making a field "testscript", and use > something like : > try > set the script of btn "testscript" to \ > "on test" & return & fld "Validation" & \ > return & "end test" > ... I thought there were plans to remove the "set script of x to z" stuff at all? Looks like that was only "planned" ;-) > Hope this helped, > > Jan Schenkel. Regards Klaus Major klaus at major-k.de www.major-k.de From alex at mindlube.com Mon Sep 22 10:51:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 22 10:51:00 2003 Subject: download woes In-Reply-To: <694B97D8-ED10-11D7-A907-000A27D75508@messimercomputing.com> Message-ID: On Monday, September 22, 2003, at 09:21 AM, Stephen Messimer wrote: > Hi all, > > Anyone have any tips about how to download 2.1. I have tried > downloading the Classic, OSX and Windows versions all to no avail. > Thinking it might be some sort of Safari related issue I tried IE 5.2 > but that didn't work either. > > Any assistance would be very much appreciated. I just downloaded 2.1 with Safari. No problems. Maybe you have a proxy/firewall/network problem? An alternate download technique on os x is: Open terminal.app and type cd Desktop [RETURN] curl -O http://www.runrev.com/revolution/downloads/distributions/2.1/ revolutionosx.dmg [RETURN] You will see the progress and you will get an error message if something goes wrong. When it finishes, the file revolutionosx.dmg will be on your desktop. 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 Mon Sep 22 11:04:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 22 11:04:01 2003 Subject: Can Standalones Do "do"? In-Reply-To: Message-ID: On Monday, September 22, 2003, at 09:30 AM, Klaus Major wrote: > I thought there were plans to remove the "set script of x to z" stuff > at all? > > Looks like that was only "planned" ;-) Wha? From standalones only, or entirely? If they are removing it entirely then it's going to be impossible to integrate Rev IDE with any external tools such as CVS, subversion, or my external editor MLXEditor plugin. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From wmb at internettrainer.com Mon Sep 22 11:08:02 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Sep 22 11:08:02 2003 Subject: 2.1 starts very slow In-Reply-To: <7027312C-ED0A-11D7-9B20-000A95763ABC@macosx.com> Message-ID: Hi list, I have compared an actual 2.1 build with a older 2.0.x build. 2.1 is the same program (same included) with some minor bugfixes. Buz surprisingly it needs 3(!) times longer to start. 2.0x build was about 3-4 seconds the 2.1 needs about 10 seconds. Thats a big difference. One of my selling arguments ist. Starts very fast like in was in 2.0 and 1.1.1 and 1.0 to... But 10 seconds are nto so fast(!). Any idea what this can be..? 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 Sep 22 11:11:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Sep 22 11:11:00 2003 Subject: Bug submission In-Reply-To: <2DAA747A-EA0C-11D7-A24E-000393529642@mindlube.com> Message-ID: <6A63CF64-ED14-11D7-B93A-003065430226@internettrainer.com> On Donnerstag, Sep 18, 2003, at 21:13 Europe/Vienna, Alex Rice wrote: >> But I dont want to learn and struggle with bugzilla, because it is >> very complicated...! > > AND Ken Ray has written this most cool app, which he announced on Sept > 14. So now you really have no excuse for not using bugzilla :-) > > http://www.sonsothunder.com/devres/revolution/downloads/RevZilla.htm > Thanks Alex Looks very good at the first view. Why is this not included in the rev ide...? Or, why it is not on the RR page as (cgi stack)-UI before awful bugzilla-UI..? 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 Mon Sep 22 11:12:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Mon Sep 22 11:12:01 2003 Subject: download woes In-Reply-To: <694B97D8-ED10-11D7-A907-000A27D75508@messimercomputing.com> References: <694B97D8-ED10-11D7-A907-000A27D75508@messimercomputing.com> Message-ID: <1064246426.2617.19.camel@www.kmax.ici> Works OK there in using MacOS X 10.2.6 and Mozila 1.5a Le lun 22/09/2003 ? 17:21, Stephen Messimer a ?crit : > Hi all, > > Anyone have any tips about how to download 2.1. I have tried > downloading the Classic, OSX and Windows versions all to no avail. > Thinking it might be some sort of Safari related issue I tried IE 5.2 > but that didn't work either. > > Any assistance would be very much appreciated. > > Thanks. > > Steve > > Stephen R. Messimer, PA > 208 1st Ave. South > Escanaba, MI 49829 > www.messimercomputing.com > -- > Build Computer-Based Training modules FAST with PreceptorTools? -- > Public Beta available Soon! > -- > Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 > _______________________________________________ > 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 klaus at major-k.de Mon Sep 22 11:18:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 22 11:18:00 2003 Subject: Can Standalones Do "do"? In-Reply-To: Message-ID: Hi Alex, > On Monday, September 22, 2003, at 09:30 AM, Klaus Major wrote: > >> I thought there were plans to remove the "set script of x to z" stuff >> at all? >> Looks like that was only "planned" ;-) > > Wha? From standalones only, or entirely? From standalones only, of course :-) If i only could remember where i read about that... Maybe the MC list? > If they are removing it entirely then it's going to be impossible to > integrate Rev > IDE with any external tools such as CVS, subversion, or my external > editor MLXEditor plugin. Then neither the MC nor the RR IDE would work at all ;-) > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco Regards Klaus Major klaus at major-k.de www.major-k.de From pcollins at xsil.com Mon Sep 22 11:20:01 2003 From: pcollins at xsil.com (Paul Collins) Date: Mon Sep 22 11:20:01 2003 Subject: mailto Message-ID: <598E069E1C6C934A87A21FC7F77A317C011F811F@xsil_exchange.xsil.com> Hi Does anyone know the command to automatically send an email from the command line I know the command (DOS): start mailto:pcollins at xsil.com?Subject=test will open up a mail with the word test in the subject section but does anyone know how to automatically send the email without human intervention. Regards Paul Tornado Insider's "Winning Finance" & "Community Choice" Awards 2003 European Semiconductor's "New Company of the Year" Award 2002 Irish National Innovation Award Winner 2001 EMAIL DISCLAIMER ************************************************************************************ The information contained in this transmission and any accompanying documents belong to the sender, which may be confidential and legally privileged. Its use is for the intended recipient only. If you are not the intended recipient please note that any disclosure, copying, retransmission or printing of this email and/or any file transmitted with it, is prohibited. If you have received this email in error please advise us by return of email and delete the transmission. XSIL Ltd cannot accept any liability for any loss or damage sustained as a result of software viruses and would advise that you carry out your own virus checks before opening any attachment. All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of XSIL Ltd. ************************************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rgould8 at aol.com Mon Sep 22 11:21:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Mon Sep 22 11:21:01 2003 Subject: Panther and Rev Message-ID: <3F6F1E8C.1040700@aol.com> An HTML attachment was scrubbed... URL: From ambassador at fourthworld.com Mon Sep 22 11:43:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 22 11:43:01 2003 Subject: Detecting MouseMove within scrollBar of fld In-Reply-To: <000f01c380cd$1f3e6660$6501a8c0@LightningFlash> Message-ID: > I noticed today that a MouseMove message is not generated while the > mouse is over the scrollBar portion of a fld. Aside from using a > mouseWithin (ick), or adding my own scrollBar (yuck!), is > there a good > way to detect that the mouse is within the scrollBar region of a fld? It seems to be a bug, but I can't find it in Bugzilla. Did you report 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 kray at sonsothunder.com Mon Sep 22 12:03:02 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 22 12:03:02 2003 Subject: mailto In-Reply-To: <598E069E1C6C934A87A21FC7F77A317C011F811F@xsil_exchange.xsil.com> Message-ID: <001401c38128$4a647b80$6501a8c0@LightningFlash> Paul, does it have to be on the command line? THe reason I ask is that Shao Sean has written an SMTP library that works to send email without human intervention. Her web site is at: http://www.shaosean.tk/ 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 Paul Collins Sent: Monday, September 22, 2003 11:04 AM To: use-revolution at lists.runrev.com Subject: mailto Hi Does anyone know the command to automatically send an email from the command line I know the command (DOS): start mailto:pcollins at xsil.com?Subject=test will open up a mail with the word test in the subject section but does anyone know how to automatically send the email without human intervention. Regards Paul Tornado Insider's "Winning Finance" & "Community Choice" Awards 2003 European Semiconductor's "New Company of the Year" Award 2002 Irish National Innovation Award Winner 2001 EMAIL DISCLAIMER ************************************************************************ ************ The information contained in this transmission and any accompanying documents belong to the sender, which may be confidential and legally privileged. Its use is for the intended recipient only. If you are not the intended recipient please note that any disclosure, copying, retransmission or printing of this email and/or any file transmitted with it,is prohibited. If you have received this email in error please advise us by return of email and delete the transmission. XSIL Ltd cannot accept any liability for any loss or damage sustained as a result of software viruses and would advise that you carry out your own virus checks before opening any attachment. All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of XSIL Ltd. ************************************************************************ ************ From alex at mindlube.com Mon Sep 22 12:57:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 22 12:57:01 2003 Subject: Bug submission In-Reply-To: <6A63CF64-ED14-11D7-B93A-003065430226@internettrainer.com> Message-ID: <93989FD8-ED24-11D7-AE66-000393529642@mindlube.com> On Monday, September 22, 2003, at 09:49 AM, Wolfgang M. Bereuter wrote: > Thanks Alex > Looks very good at the first view. Thank Ken Ray, not me. > Why is this not included in the rev ide...? For one thing, revzilla was only announced on Sept 12th. For second thing- I wouldn't know. :-) > Or, why it is not on the RR page as (cgi stack)-UI before awful > bugzilla-UI..? It's not a CGI app- so that wouldn't make sense. However, I do hope that Ken is coordinating with Runrev to get exposure for this very good alternate interface to bugzilla. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Mon Sep 22 13:35:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 22 13:35:01 2003 Subject: Can Standalones Do "do"? In-Reply-To: Message-ID: Klaus Major wrote: > Hi Alex, > >> On Monday, September 22, 2003, at 09:30 AM, Klaus Major wrote: >> >>> I thought there were plans to remove the "set script of x to z" stuff >>> at all? >>> Looks like that was only "planned" ;-) >> >> Wha? From standalones only, or entirely? > > From standalones only, of course :-) > > If i only could remember where i read about that... > Maybe the MC list? I thought it was here, but the result of that discussion was an email from Kevin acknowledging the unanimous desire to see "do" remain as it is, so it remains for the foreseeable future. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From got at mindspring.com Mon Sep 22 13:59:00 2003 From: got at mindspring.com (Gordon Tillman) Date: Mon Sep 22 13:59:00 2003 Subject: Panther and Rev In-Reply-To: <3F6F1E8C.1040700@aol.com> References: <3F6F1E8C.1040700@aol.com> Message-ID: <48324684-ED2D-11D7-9BEE-000A95A0633E@mindspring.com> Hi Rob, On Sep 22, 2003, at 11:08 AM, Rob Gould wrote: > I've got a client who's interested in having me create something that > will work in Apple's upcoming "Panther" OS.? Has anyone done any > experiments running Revolution in Panther?? I know that Panther has > been out for a while within the developer community, but I haven't > done anything with it myself. I have been running all of the various beta builds of Panther since they have been released. Am currently running 7B74, which was just released this last weekend. I haven't had a chance to test Rev out with the 7B74 build yet, as I just installed it this morning. However, the applications I had made with Rev under earlier builds seemed to run fine. I will try and run some more tests and will let you know if I run into any problems. --gordy From kray at sonsothunder.com Mon Sep 22 14:30:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 22 14:30:00 2003 Subject: Bug submission In-Reply-To: <93989FD8-ED24-11D7-AE66-000393529642@mindlube.com> Message-ID: <002c01c3813c$c58b08b0$6501a8c0@LightningFlash> > However, I do hope that Ken is coordinating with Runrev to > get exposure > for this very good alternate interface to bugzilla. Well, I'm certainly coordinating with RunRev on getting feature parity in RevZilla... exposure's another thing entirely. :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From FlexibleLearning at aol.com Mon Sep 22 14:36:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon Sep 22 14:36:01 2003 Subject: mailto Message-ID: <63FDEC79.005C42A6.DC67E5C7@aol.com> > Does anyone know the command to automatically send an email from the > command line I know the command (DOS): > start mailto:pcollins at xsil.com?Subject=3Dtest > will open up a mail with the word test in the subject section but does > anyone know how to automatically send the email without human > intervention. > > Regards > Paul This is a general purpose handler, for emailAddress, web pages or filePaths for both Mac (Classic and X) and PC (95, 98, NT, ME, W2k, XP) platforms. on launchURL tURL,tClickChunk # 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 # Deal with 404 error... 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 launchURL Hope you find this useful. /H From pixelbird at interisland.net Mon Sep 22 14:50:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Sep 22 14:50:01 2003 Subject: QT Player only? In-Reply-To: <200309221105.HAA01677@www.runrev.com> Message-ID: Hi Klaus, > Date: Mon, 22 Sep 2003 11:45:04 +0200 > Subject: Re: QT Player only? > From: Klaus Major > As already stated in an earlier mail, RR does NEVER USE QT to "play ac > xxx"!!! ---------- So the player for AC's is Rev/MC's own special device? ---------- > QT is used for "play vc xyz", if dontuseqt is not set to true. ---------- OK: 1) If you have a Mac that also has MediaPlayer for Mac onboard, and you set the dontUseQT to true, will it use MP or do nothing? 2) If you have a PC with Windows, I understand you can check for the presence of QT and version, but what about MP? Can I detect if MP is present on a Win system? TIA, Ken N. From pixelbird at interisland.net Mon Sep 22 15:06:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Mon Sep 22 15:06:00 2003 Subject: windoze media In-Reply-To: <200309221105.HAA01677@www.runrev.com> Message-ID: Hi Ken, > From: "Ken Ray" > Subject: RE: windoze media, was: Pros and cons of where to store image data > Date: Mon, 22 Sep 2003 00:44:42 -0500 > >>> Hi Klaus, >>> ... >>>> Correction: These formats might be playable via "MCIsendString" in >>>> RR... >>> ---------- >>> Really? That'd be cool...How about a clue on instructions. >> >> I'd love to, if i had any ;-) > > Here you go: > > http://www.tactilemedia.com/info/MCI_Control_Info.html --------- Thanks. Certainly worth investigating. It'd be nice to have a set of script controls for MediaPlayer. Ken N. From miscdas at boxfrog.com Mon Sep 22 15:19:00 2003 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Mon Sep 22 15:19:00 2003 Subject: Web host recommendations? In-Reply-To: <7027312C-ED0A-11D7-9B20-000A95763ABC@macosx.com> References: <7027312C-ED0A-11D7-9B20-000A95763ABC@macosx.com> Message-ID: <20030922200901.67337.qmail@www.boxfrog.com> [snip] > On Sunday, Sep 21, 2003, > use-revolution-request at lists.runrev.com wrote: > >> Web host recommendations? +++++++++++++ check out "http://www.freewebs.com" They offer some amazing option with just the free service, including enabling e-commerce (using your PayPal account). If the free services aren't sufficient for you, check the Premium Services. $42 per year buys a lot! miscdas From mail at richard-hillen.de Mon Sep 22 15:43:01 2003 From: mail at richard-hillen.de (R. Hillen) Date: Mon Sep 22 15:43:01 2003 Subject: repeated send-comands Message-ID: Hello List, I want to display some pictures, one after another (somewhat like a dia-show) and to be able to stop the show at any time by pressing a button. The pictures are very big, so loading from CD and scaling takes some time too. With T1 = Intervall between to pictures it should be somewhat like -- send "show picture1" in T1 seconds wait until picture1 is shown send "show picture2" in T1 seconds wait until .... .... -- But this doesn?t work, as the wait beetween the send-commands blocks clicking the stop button. So I tried somewhat like -- send "show picture1" in 1* T1 seconds send "show picture2" in 2* T1 seconds .... -- This also is no good solution, if you look in the send-pipe. What is the better solution? May I get some help how to do it? Thanx in advance Richard Hillen. From Revinfo1155 at aol.com Mon Sep 22 15:43:28 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Mon Sep 22 15:43:28 2003 Subject: Rev Player Message-ID: <1ca.11354651.2ca0b60b@aol.com> Has anyone designed a rev player along the lines of the Hypercard player? Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus at major-k.de Mon Sep 22 15:50:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 22 15:50:00 2003 Subject: QT Player only? In-Reply-To: Message-ID: Hi Ken, > Hi Klaus, >> As already stated in an earlier mail, RR does NEVER USE QT to "play ac >> xxx"!!! > ---------- > So the player for AC's is Rev/MC's own special device? In that case RR uses some "very low system routines" *, if i remember right... *Whatever that may be... ;-) > ---------- >> QT is used for "play vc xyz", if dontuseqt is not set to true. > ---------- > OK: > > 1) If you have a Mac that also has MediaPlayer for Mac onboard, and > you set > the dontUseQT to true, will it use MP or do nothing? Sorry no idea... But i would guess the latter... (I, personally, would never DO that ;-) > 2) If you have a PC with Windows, I understand you can check for the > presence of QT and version, but what about MP? Can I detect if MP is > present > on a Win system? Sorry, again no idea... Maybe with some registry-calls for "whatever"? > TIA, > Ken N. Regards Klaus Major klaus at major-k.de www.major-k.de From rcozens at pon.net Mon Sep 22 15:51:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 22 15:51:00 2003 Subject: Can Standalones Do "do"? In-Reply-To: <5683B406-ED0C-11D7-94BA-000A95859272@earthlink.net> References: <5683B406-ED0C-11D7-94BA-000A95859272@earthlink.net> Message-ID: >I just built a standalone with a text entry field and a do button. Thanks, Mark, for doing what I was too lazy to do myself. :{`) I was hoping someone would known of the top of her/his head. Nice to know my design will fly. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Mon Sep 22 15:51:17 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 22 15:51:17 2003 Subject: Can Standalones Do "do"? In-Reply-To: References: Message-ID: >>On Monday, September 22, 2003, at 09:30 AM, Klaus Major wrote: >> >>>I thought there were plans to remove the "set script of x to z" >>>stuff at all? >>>Looks like that was only "planned" ;-) >> >>Wha? From standalones only, or entirely? > >From standalones only, of course :-) > >If i only could remember where i read about that... >Maybe the MC list? Klaus, Alex, et al: I was under the impression from the get-go that one could not set the script of any object from the standalone engine. I recall a conversation with Kevin about being able to correct scripting errors by creating an update stack that would replace scripts in other stacks. My recollection was Kevin said one could replace a control with an updated control; but one could not, via the standalone engine, change the script of a control. Does the 10-line max come into play in "set the script of this stack...", Jan? Even if that is the case, it still makes it possible for an update stack to modify any handler not physically in the standalone flash screen (assuming all handlers > 10 lines could be in a library which can be replaced en mass). -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From scott at tactilemedia.com Mon Sep 22 16:00:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Sep 22 16:00:01 2003 Subject: Can Standalones Do "do"? In-Reply-To: Message-ID: Recently, "Rob Cozens" wrote: > I was under the impression from the get-go that one could not set the > script of any object from the standalone engine. You can, up to 10 lines. > I recall a conversation with Kevin about being able to correct > scripting errors by creating an update stack that would replace > scripts in other stacks. My recollection was Kevin said one could > replace a control with an updated control; but one could not, via the > standalone engine, change the script of a control. You cannot set/replace any script longer than 10 lines. > Does the 10-line max come into play in "set the script of this > stack...", I'll give you three guesses... 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 Sep 22 16:03:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 22 16:03:00 2003 Subject: repeated send-comands In-Reply-To: Message-ID: <81D585E2-ED3E-11D7-81EF-000A9567A3E6@swcp.com> On Monday, September 22, 2003, at 02:31 PM, R. Hillen wrote: > What is the better solution? > May I get some help how to do it? At my website is a stack called "A Primer on Message Mechanics" that might be helpful. The stack is large and it will take a while to go through, but it starts at basics and walks you through with live examples. Look here: http://www.swcp.com/dsc/revstacks.html I think you might be better off having the 'send' command send a handler message. That handler will then look at things and do what is needed and then 'send' to itself to check on things later. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From kray at sonsothunder.com Mon Sep 22 16:04:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 22 16:04:01 2003 Subject: QT Player only? In-Reply-To: Message-ID: <003d01c38148$11b5a050$6501a8c0@LightningFlash> > 2) If you have a PC with Windows, I understand you can check > for the presence of QT and version, but what about MP? Can I > detect if MP is present on a Win system? You could see if there's a registry entry at: HKEY_CLASSES_ROOT\applications\wmplayer.exe However all PCs come with some form of WMP preinstalled, I think... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From klaus at major-k.de Mon Sep 22 16:14:01 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 22 16:14:01 2003 Subject: repeated send-comands In-Reply-To: Message-ID: <1A282D66-ED40-11D7-BA85-000A27B49A96@major-k.de> Hi Richard, here's a quick and dir... er, clean hack to get you started :-) Its a modified stack of mine "autoslide_lite", so there are still some comments :-) This example will even loop through all images and will start over again with the first image after the last image has been shown... on preopenstack global der_pfad, gesamtbilder,aktuellesbild,diebilder ## german for the_path, totalimages, currentimage, theimages ## Here we store the complete and absolute path to the images, ## the number of images, the number of the current image and a list of all ## available image-files, the ones in the folder "bilder"... (german for images) put 1 into aktuellesbild ## We should really start with the first image, to not confuse the audience ;-) See script of cd 1 set the itemdel to "/" get the filename of this stack delete item -1 of it put it & "/bilder/" into der_pfad ## my example has all the images in a folder called "bilder", change to your needs... ## Will store the absolute path to the folder containing our images!!! set the directory to der_pfad ## Now we are inside this folder... put the files into diebilder ## store the filenames in the variable diebilder ## Ready! end preopenstack Script of first (and only :-) card: on openCard global der_pfad, gesamtbilder,aktuellesbild,diebilder ## See the stackscript for explanation of variable names... if char 1 of line 1 of diebilder = "." then delete line 1 of diebilder ## Only for Mac OS X -> ".DS_Store" put the num of lines of diebilder into gesamtbilder ## You get the picture... set the filename of img "anzeige" to (der_pfad & line aktuellesbild of diebilder) ## We create an absolute path... ## Do your custom scaling etc... here... ## Now we start the automatic slideshow: ## The next 3 lines could be put into a button to start the show with a click, too... send "nextimage" to this cd in 2 secs ## or whatever global going_on put the result into going_on ## This will put the id of the "nextimage" message into a global var ## and we can cancel it later via a simple mouseclick :-) end openCard ##Put this in the cardscript, too! on nextimage global der_pfad, gesamtbilder,aktuellesbild,diebilder if aktuellesbild < gesamtbilder then ## We did not reach the last image yet... put aktuellesbild + 1 into aktuellesbild else ## This is the last image, so we start over again... put 1 into aktuellesbild end if lock screen set the filename of img "anzeige" to (der_pfad & line aktuellesbild of diebilder) ## Do your custom scaling etc... here... unlock screen with visual dissolve very slow ## Here we finally display the image end nextimage Then you need your button to cancel the show: on mouseup global going_on cancel going_on end mouseup You could consider to have another button to start the show... See above in the script of "nextimage"... Drop a line for more info/assistance :-) Hope that helps... Regards Klaus Major klaus at major-k.de www.major-k.de From rjb at rz.uni-potsdam.de Mon Sep 22 16:27:00 2003 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Sep 22 16:27:00 2003 Subject: Can Standalones Do "do"? In-Reply-To: References: Message-ID: > >> I recall a conversation with Kevin about being able to correct >> scripting errors by creating an update stack that would replace >> scripts in other stacks. My recollection was Kevin said one could >> replace a control with an updated control; but one could not, via the >> standalone engine, change the script of a control. > >You cannot set/replace any script longer than 10 lines. > For now. Look at the Additional Comment #2 for bug 546. But Kevin also said that Rev may consider special licensing for people with unusual needs. Search MC list archives. Robert From ambassador at fourthworld.com Mon Sep 22 16:43:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 22 16:43:01 2003 Subject: Rev Player In-Reply-To: <1ca.11354651.2ca0b60b@aol.com> Message-ID: Revinfo1155 at aol.com wrote: > Has anyone designed a rev player along the lines of the Hypercard player? I have one for my own needs, but I think a player for general use should come from the mother ship to maximize standardization and distribution. Just curious: What would you like to do with a player than couldn't be done as a standalone? -- 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 Sep 22 16:48:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 22 16:48:01 2003 Subject: Can Standalones Do "do"? In-Reply-To: Message-ID: Rob Cozens wrote: > SDB Data Dictionary includes a field where the developer can type a > validation handler to applied to the field contents when the field is > closed. The idea was something like this: > > on closeField > global passedData > put me into passedData > do (field "Validation") > if the result is not empty then -- take error return > [snip] > end closeFields > > Cool and powerful stuff; but if a standalone can't do "do", I'm > wasting my time. > > Am I wasting my time? Is there another way to change handlers on-the-fly? "do" is supported in standalones within the bounds of the scriptLimits, currently 10 or fewer lines of executable code. But another approach may have merit: you could have two handlers, one in a frontScript and another in a backScript or library that handle everything for you based on a property setting in the target object. The closeField message would be handled in a frontScript, which could check a property in the field which determines which validation code to run. Then it just calls the appropriate validation handler residing the the backscript/library to handle it. While it takes just a little more effort to set up it keeps all of your validation code in one place and reduces the coding needed to validate anything anywhere in the system. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Mon Sep 22 16:54:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 22 16:54:01 2003 Subject: Can Standalones Do "do"? In-Reply-To: Message-ID: Rob Cozens wrote: > I recall a conversation with Kevin about being able to correct > scripting errors by creating an update stack that would replace > scripts in other stacks. My recollection was Kevin said one could > replace a control with an updated control; but one could not, via the > standalone engine, change the script of a control. Kevin's suggestion is practical for general use, as it can be cumbersome and in some cases impossible to limit scripts to 10 executables lines. Also, if a stack is password-protected then you can neither get or set any of its 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 dsc at swcp.com Mon Sep 22 16:58:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 22 16:58:00 2003 Subject: Can Standalones Do "do"? In-Reply-To: Message-ID: <3B98C988-ED46-11D7-81EF-000A9567A3E6@swcp.com> On Monday, September 22, 2003, at 03:05 PM, Robert Brenstein wrote: >> You cannot set/replace any script longer than 10 lines. >> > > For now. Look at the Additional Comment #2 for bug 546. > > But Kevin also said that Rev may consider special licensing for people > with unusual needs. Search MC list archives. If setting scripts may need to go someday, then we may need to consider why we are doing that. For upgrading controls, I'm looking at methods that allow replacing the control based on core properties. Perhaps some enhancements can help here. For function values, that is, values that I can use like functions, I have a crude method that uses 'do'. If there is some method that allows compiling once and applying many times, then setting scripts becomes less interesting. I suppose it is possible that Kevin will consider this as being just as bad as setting scripts. It seems a limited setting-scripts ability is currently available, but we need to look toward the future with eyes wide open. Dar Scott From dougwj at iprimus.com.au Mon Sep 22 19:08:01 2003 From: dougwj at iprimus.com.au (Doug Johnston) Date: Mon Sep 22 19:08:01 2003 Subject: focusOut problem Message-ID: <3F6F8C17.9090108@iprimus.com.au> An HTML attachment was scrubbed... URL: From Revinfo1155 at aol.com Mon Sep 22 19:19:01 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Mon Sep 22 19:19:01 2003 Subject: Rev Player Message-ID: <19d.1a8686e7.2ca0e88b@aol.com> Like you, I have created a simple standalone to run stacks. All of the functions, buttons etc are in the stacks. I was thinking of working on a more sophisticated standalone as a player. Not sure exactly what I am after but I know the hypercard player did alot of things in the menus. Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From dougwj at iprimus.com.au Mon Sep 22 19:34:00 2003 From: dougwj at iprimus.com.au (Doug Johnston) Date: Mon Sep 22 19:34:00 2003 Subject: More focus problems Message-ID: <3F6F925A.3010806@iprimus.com.au> An HTML attachment was scrubbed... URL: From yoy at comcast.net Mon Sep 22 20:15:00 2003 From: yoy at comcast.net (Andy Burns) Date: Mon Sep 22 20:15:00 2003 Subject: More focus problems References: <3F6F925A.3010806@iprimus.com.au> Message-ID: <000801c3816e$6cf27300$b2ea5144@fatal7lcf637rj> ----- Original Message ----- From: "Doug Johnston" To: Sent: Monday, September 22, 2003 8:22 PM Subject: More focus problems > Hi once again, > > further to my focusOut problem, I also have a focusIn problem. I have a field (Field 2) and I have a focusIn method in the fields script which is supposed to beep, but the focusIn isn't firing. > > Just in case this is a platform problem, I am running WIN2K PRO SP 3. > > Regards > Doug Johnston Doug, In the Transcript dictionary for focusIn: Comments: If the control is an unlocked field or a button whose menuMode is "comboBox", the openField message is sent to it instead of the focusIn message. Similary in the Transcript dictionary for focusOut Comments: If the control is an unlocked field or a button whose menuMode is "comboBox", the closeField or exitField message is sent to it instead of the focusOut message. Is this any help? Good luck, Andy Burns From dougwj at iprimus.com.au Mon Sep 22 20:39:01 2003 From: dougwj at iprimus.com.au (Doug Johnston) Date: Mon Sep 22 20:39:01 2003 Subject: More focus problems In-Reply-To: <000801c3816e$6cf27300$b2ea5144@fatal7lcf637rj> References: <3F6F925A.3010806@iprimus.com.au> <000801c3816e$6cf27300$b2ea5144@fatal7lcf637rj> Message-ID: <3F6FA17D.7010009@iprimus.com.au> An HTML attachment was scrubbed... URL: From yoy at comcast.net Mon Sep 22 20:56:00 2003 From: yoy at comcast.net (Andy Burns) Date: Mon Sep 22 20:56:00 2003 Subject: More focus problems References: <3F6F925A.3010806@iprimus.com.au> <000801c3816e$6cf27300$b2ea5144@fatal7lcf637rj> <3F6FA17D.7010009@iprimus.com.au> Message-ID: <000301c38174$1f78b660$b2ea5144@fatal7lcf637rj> ----- Original Message ----- From: "Doug Johnston" To: Sent: Monday, September 22, 2003 9:27 PM Subject: Re: More focus problems > Thanks for the reply Andy, > > No, unfortunately the fields are just plain text fields. > > Regards > Doug Johnston Doug, Plain textfields can be locked or not. If they can be edited they are not locked, that is the problem. I'm running W2K SP3 as well. Email me your .rev and I'll see if it behaves the same, if you wish. I'm between trying to help out, and watching Oakland vs. Denver, so I'm half & half concentrating on both. ;-) Andy Burns From ambassador at fourthworld.com Mon Sep 22 21:03:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 22 21:03:01 2003 Subject: focusOut problem In-Reply-To: <3F6F8C17.9090108@iprimus.com.au> Message-ID: Doug Johnston wrote: > I'm a long time Visual FoxPro developer who has stumbled over Revolution. > Just trying it at the moment to see if it will serve may application needs > (mostly business database). > > I have run into a problem... > I have 2 fields (Field 1 and Field 2) on a card along with a button (Close). > I have a focusOut method in Field 1 that for now just contains a beep, but for > the life of me I cannot get the focusOut to run. > > I have placed a closeField method in the field's script and it works fine. > > Anyone have any ideas. Interesting how too much familiarity with a language makes a fella forget the occassional "lack of orthogonality". I'd certainly not thought about this one in a while, but I agree the magic token is unobvious. ;) You're right, focusOut is the right message for _most_ objects, but unlocked fields are an exception. For those, if the data has changed you get the closeField message as you've found. If the data has not changed you get the exitField mesages Given that exitField is such an anomaly in an otherwise fairly self-consistent language, maybe the only way you might hae discovered it is in the See Also section of the Transcript Dictionary, as useful source to keep in mind while you're learning. -- 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 dougwj at iprimus.com.au Mon Sep 22 21:10:01 2003 From: dougwj at iprimus.com.au (Doug Johnston) Date: Mon Sep 22 21:10:01 2003 Subject: focusOut problem In-Reply-To: References: Message-ID: <3F6FA8DA.8040501@iprimus.com.au> An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Mon Sep 22 21:32:07 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 22 21:32:07 2003 Subject: More focus problems In-Reply-To: <3F6F925A.3010806@iprimus.com.au> Message-ID: <006c01c38172$dd4901b0$6501a8c0@LightningFlash> Doug, In an unlocked field (i.e. the lockText property is false), the openField and closeField handlers (methods) are used instead of focusIn/focusOut. Take a look at the Transcript Dictionary; it may help in isolating the issues you run across. Of course, feel free to post to the list. 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 Doug Johnston Sent: Monday, September 22, 2003 7:23 PM To: use-revolution at lists.runrev.com Subject: More focus problems Hi once again, further to my focusOut problem, I also have a focusIn problem. I have a field (Field 2) and I have a focusIn method in the fields script which is supposed to beep, but the focusIn isn't firing. Just in case this is a platform problem, I am running WIN2K PRO SP 3. Regards Doug Johnston _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From steve at messimercomputing.com Mon Sep 22 23:20:00 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Mon Sep 22 23:20:00 2003 Subject: re download woes Message-ID: Klaus And Alex, Thanks for the help guys. I was able to download via ftp w/o problems. :-) I still don't know what the problem is. I suppose I will have to devote some effort to this in the near future. Dang! Best regards, Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with PreceptorTools? -- Public Beta available very soon! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 From themacguy at macosx.com Mon Sep 22 23:51:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Mon Sep 22 23:51:00 2003 Subject: QT Player only? In-Reply-To: <200309230104.VAA30802@www.runrev.com> Message-ID: Well, I guess someone wanted to know about how to -avoid- loading QuickTime but, frankly, with all of QT's capabilities and control, why would you not want it? Seems to me that the only reason to (use a "vc") and (-not- load QuickTime) is to say you did it. Note the "and". ;-) Barry On Monday, Sep 22, 2003, at 19:04 America/Denver, Ken wrote: > From: "Ken Ray" > To: > Subject: RE: QT Player only? > Date: Mon, 22 Sep 2003 15:28:11 -0500 > Organization: Sons of Thunder Software > Reply-To: use-revolution at lists.runrev.com > >> 2) If you have a PC with Windows, I understand you can check >> for the presence of QT and version, but what about MP? Can I >> detect if MP is present on a Win system? > > You could see if there's a registry entry at: > > HKEY_CLASSES_ROOT\applications\wmplayer.exe > > However all PCs come with some form of WMP preinstalled, I think... > From kray at sonsothunder.com Tue Sep 23 01:42:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 23 01:42:01 2003 Subject: QT Player only? In-Reply-To: Message-ID: <009b01c3819b$eb36b190$6501a8c0@LightningFlash> Well, and not to require your Windows users to have to install additional software... 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, September 22, 2003 11:40 PM > To: use-revolution at lists.runrev.com > Subject: RE: QT Player only? > > > Well, I guess someone wanted to know about how to -avoid- loading > QuickTime but, frankly, with all of QT's capabilities and > control, why > would you not want it? Seems to me that the only reason to > (use a "vc") > and (-not- load QuickTime) is to say you did it. Note the "and". > > ;-) > Barry > > On Monday, Sep 22, 2003, at 19:04 America/Denver, Ken wrote: > > > From: "Ken Ray" > > To: > > Subject: RE: QT Player only? > > Date: Mon, 22 Sep 2003 15:28:11 -0500 > > Organization: Sons of Thunder Software > > Reply-To: use-revolution at lists.runrev.com > > > >> 2) If you have a PC with Windows, I understand you can > check for the > >> presence of QT and version, but what about MP? Can I > detect if MP is > >> present on a Win system? > > > > You could see if there's a registry entry at: > > > > HKEY_CLASSES_ROOT\applications\wmplayer.exe > > > > However all PCs come with some form of WMP preinstalled, I think... > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From gcanyon at inspiredlogic.com Tue Sep 23 02:35:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Sep 23 02:35:01 2003 Subject: Fwd: A practical tale of hacking with Revolution Message-ID: Sarah pointed out something I missed in solving the puzzle: that 0 and 9 leave the same remainder when divided by 9, and are therefore indistinguishable. That's why the program has to ask that you not eliminate a 0. It could just as easily ask that you not eliminate a 9, but that would be leading you toward the solution. Begin forwarded message: > From: Sarah > Date: Mon Sep 22, 2003 9:33:21 PM America/Los_Angeles > To: Geoff Canyon > Subject: Re: A practical tale of hacking with Revolution > > On Monday, September 22, 2003, at 12:04 pm, Geoff Canyon wrote: > >> So, my dad sent me this web site with the question: how does it work? >> >> http://digicc.com/fido/ >> >> The site asks you to pick a number, >> jumble the digits to make a second number, >> subtract the smaller from the larger, >> cross out a digit (not 0), >> and enter the rest. >> It then tells you which number you picked. >> >> For those of you who like to be mystified, or want to figure it out >> yourselves, read no further. Others, scroll down (there's transcript >> at the end). >> > Hi Geoff, > > I enjoyed this one. I had come across it before as my kids are into > all the "Horrible" books and this appeared in "Horrible Maths". > > I think the reason they don't allow you to pick 0 is that there is no > way to distinguish between 0 and 9. The way they did it in the book > (without your wonderfully detailed explanation) was to keep adding the > digits together until you were down to a single digit. Then if that > last digit was a 9, the answer was 9, otherwise, the answer was 9 - > the last digit. > > Cheers, > Sarah > sarahr at genesearch.com.au > http://www.troz.net/Rev/ regards, Geoff Canyon gcanyon at inspiredlogic.com From sanke at hrz.uni-kassel.de Tue Sep 23 04:01:01 2003 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue Sep 23 04:01:01 2003 Subject: windoze media Message-ID: <3F700B55.98EE2123@hrz.uni-kassel.de> On Mon, 22 Sep 2003 Ken Norris wrote: (snip) > >>>> Correction: These formats might be playable via "MCIsendString" in > >>>> RR... > > >>> Really? That'd be cool...How about a clue on instructions. > > >> I'd love to, if i had any [;-)] > > Here you go: > > http://www.tactilemedia.com/info/MCI_Control_Info.html > > --------- > Thanks. Certainly worth investigating. It'd be nice to have a set of script > controls for MediaPlayer. > > Ken N. > The "MciSendstring" entry in the Transcript Dictionary is rather general and not helpful here. Neither is the stack "mcisendstring.mc" that -among other things - can list the media devices on your Windows computer (sample script: on mouseUp put mciSendString("sysinfo all quantity") into xMax put empty into fld "deviceNames" repeat with x = 1 to xMax put "sysinfo all name" && x into commandString put mciSendString(commandString) & return after fld "deviceNames" end repeat end mouseUp). I think this stack once could be found on the Metacard ftp site, but is no longer there. MciSendstring functions to control video and sound clips were already used on Windows with Toolbook 1.5 - more than ten years ago - before Asymetrix developed "Multimedia" Toolbook with the "stage" object (comparable to the Metacard player object) and before Scott Raney created Metacard. Here is a script to play a video clip in Revolution: on mouseup get mciSendstring("open c:\Quest\Tutorial\Video.avi alias Film") get mciSendstring("put Film destination at 300 90 160 120") get mciSendstring("window FILM handle"&& the windowId of this stack) get mciSendstring("play Film wait") get mciSendstring("close Film") end mouseup A similar script to play a sound file: on mouseup get mciSendstring("open c:\mao\gong.wav type waveaudio alias Mao") get mciSendstring("play Mao wait") get mciSendstring("close Mao") end mouseup Another script to play an "avi" file where a "screen" is pulled down before the film starts: on mouseUp get mciSendString("open C:\Windows\Desktop\Meta2.5.B3\asym01.avi alias Film") get mciSendstring("put Film destination at 250 90 260 220") get mciSendstring("window FILM handle"&&the windowID of this stack) show fld "frame" with visual effect reveal down wait 1 second get mciSendstring("play Film from 1") wait 5 seconds get mciSendstring("close Film") hide fld "frame" with visual effect reveal up end mouseup There are of course a number of other commands to be used with MciSendstring that enable a detailed control of video and audio files - similar to the possibilities of the player object. and maybe with some commands even more detailed. Regards, Wilhelm Sanke From wmb at internettrainer.com Tue Sep 23 05:03:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Sep 23 05:03:01 2003 Subject: Bug submission In-Reply-To: <93989FD8-ED24-11D7-AE66-000393529642@mindlube.com> Message-ID: <27EB4689-EDAB-11D7-B50B-003065430226@internettrainer.com> On Montag, Sep 22, 2003, at 19:45 Europe/Vienna, Alex Rice wrote: >> Thanks Alex >> Looks very good at the first view. > > Thank Ken Ray, not me. I did it offline. 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 runrev at rivertext.com Tue Sep 23 06:59:00 2003 From: runrev at rivertext.com (Brian Thomas) Date: Tue Sep 23 06:59:00 2003 Subject: infamous If Monks needs beta testers now In-Reply-To: <200309230104.VAA30802@www.runrev.com> References: <200309230104.VAA30802@www.runrev.com> Message-ID: The makers of the legendary If Monks had Macs CD-ROM are looking for a few good beta testers. We're only looking for beta testers who have time and are determined to start pounding on this virtual monastery library right now. If Monks has survived all the magazines that once reviewed it: "legendary ? almost defies description" - MacUser "a seminal work of hypermedia art" - MacWeek There is nothing else in Revolution at all like If Monks had Macs. Several of the folks most familiar to everyone on this list worked on making this and much improved version of If Monks do Windows in Revolution: Richard Gaskin (Fourth World Media Corporation) Jeanne DeVoto Tuviah Snyder Jacqueline Landman Gay Richard Gaskin wrote 2 sophisticated original applications that should be of great interest to many here: an e-book reader (that will also be released separately from If Monks... and free) and a "threaded" journaling application. The game that Tuviah and Jacqueline worked on is a good deal of wicked fun and just the thing to get you in the mood for Halloween. Jeanne DeVoto scripted several parts of the project and is now helping me polish it up for publication. One problem I have is that there is so much to look at in the library that I really need some folks enough interested in what Revolution can do that they will pound on the applications and test things rather than JUST browse enjoy my eclectic worker's guide to Western Civilization. Beta testers will, of course, receive the final package of the longest running project in the history of interactive media. --------------- If you're interested please send your address and a comment about how much interest and or time you have to pound on Monks in the next two weeks to: testing at rivertext.com and not to the list. For an overview of the games, art, interactive essays and applications in If Monks had Macs checkout my Web Site: http://www.rivertext.com/ -- Brian Thomas -- From mcdomi at free.fr Tue Sep 23 08:35:01 2003 From: mcdomi at free.fr (Dom) Date: Tue Sep 23 08:35:01 2003 Subject: CMD-C doesn't function in the Help... Message-ID: <1g1qvqx.9idta1y09ac1M%mcdomi@free.fr> but the menu item "Copy Text" does! Sometimes I want to copy some example in the Help... Sure it's easier then it was in MC ;-) But the shortcut doesn't function, at least on my OS X system with Rev 2.1... -- From xbury.cs at clearstream.com Tue Sep 23 08:47:00 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue Sep 23 08:47:00 2003 Subject: CMD-C doesn't function in the Help... Message-ID: try the ubiquitous cmd-ins (but dont ask...) Of course if someone can make the ins mode work as it should... it would be nice... ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 mcdomi at free.fr (Dom) Sent by: use-revolution-admin at lists.runrev.com 23/09/03 15:23 Please respond to use-revolution To: use-revolution at lists.runrev.com (Liste Rev) cc: ^ Subject: CMD-C doesn't function in the Help... but the menu item "Copy Text" does! Sometimes I want to copy some example in the Help... Sure it's easier then it was in MC ;-) But the shortcut doesn't function, at least on my OS X system with Rev 2.1... -- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From x at monsieurx.com Tue Sep 23 09:50:00 2003 From: x at monsieurx.com (MisterX) Date: Tue Sep 23 09:50:00 2003 Subject: CMD-C doesn't function in the Help... In-Reply-To: Message-ID: I forgot to mention than cmd-c works on NT4. -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of xbury.cs at clearstream.com Sent: Tuesday, September 23, 2003 15:35 To: use-revolution at lists.runrev.com Subject: Re: CMD-C doesn't function in the Help... try the ubiquitous cmd-ins (but dont ask...) Of course if someone can make the ins mode work as it should... it would be nice... ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 mcdomi at free.fr (Dom) Sent by: use-revolution-admin at lists.runrev.com 23/09/03 15:23 Please respond to use-revolution To: use-revolution at lists.runrev.com (Liste Rev) cc: ^ Subject: CMD-C doesn't function in the Help... but the menu item "Copy Text" does! Sometimes I want to copy some example in the Help... Sure it's easier then it was in MC ;-) But the shortcut doesn't function, at least on my OS X system with Rev 2.1... -- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER -------------- next part -------------- An HTML attachment was scrubbed... URL: From livfoss at blueyonder.co.uk Tue Sep 23 10:17:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Sep 23 10:17:00 2003 Subject: QT Player only? Message-ID: On Mon, 22 Sep 2003 22:39:43 -0600, Barry Levine wrote: At 9:55 -0400 23/9/03, use-revolution-request at lists.runrev.com wrote: > >Well, I guess someone wanted to know about how to -avoid- loading >QuickTime but, frankly, with all of QT's capabilities and control, why >would you not want it? Seems to me that the only reason to (use a "vc") >and (-not- load QuickTime) is to say you did it. Note the "and". > The issue can be a straightforward one about a user community. A typical user scenario for me is a small school with PCs only (no Macs) and no dedicated IT technician and maybe not even broadband Internet access. Selling these guys software and then telling them they have to download something from the Internet to make it work is bad news - and distribution of QT on CD by the software publisher involves them (I believe) in fairly onerous agreements with Apple (like agreeing to distribute updates). So people resist it. I love QT, but I have had to back off using it in this environment. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Tue Sep 23 10:35:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Sep 23 10:35:00 2003 Subject: Please make it plain Message-ID: Use-revolution digest #1945 sent today contained 2 messages, #11 by xbury.cs at clearstream.com, and a reply #12 by "MisterX" which together occupied more than 180 lines on what is supposed to be a plain-text list. I was unable at scan-read speeds to determine the meaningful content of the messages, but it looked like it was really short. Can we please go back to plain text on the list, and also avoid enormous and/or html signatures. I hope I'm not the only one who wants this return to Heather's standing instructions. TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From jtenny at willamette.edu Tue Sep 23 10:42:01 2003 From: jtenny at willamette.edu (John Tenny) Date: Tue Sep 23 10:42:01 2003 Subject: List of Rev programs In-Reply-To: Message-ID: Is there a list, with descriptions and links, to programs developed with Rev? It could be inspiring and engaging for curious programmers and pre-programmers to see what can be done. Such a list should include commercial programs as well as shareware/freeware?? John Peace, John Flowing Thought Educational Solutions 503-508-3398 From ambassador at fourthworld.com Tue Sep 23 10:56:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 23 10:56:00 2003 Subject: QT Player only? In-Reply-To: Message-ID: Graham Samuel wrote: > The issue can be a straightforward one about a user community. A > typical user scenario for me is a small school with PCs only (no > Macs) and no dedicated IT technician and maybe not even broadband > Internet access. Selling these guys software and then telling them > they have to download something from the Internet to make it work is > bad news - and distribution of QT on CD by the software publisher > involves them (I believe) in fairly onerous agreements with Apple > (like agreeing to distribute updates). In my reading, that clause is to prevent the license from being used to cover major updates, but I'm no attorney. I sent a question off to Apple's QT list seeking clarification on that one. My favorite is the requirement to send Apple two copies of your product. I doubt they have time or interest to even look at one, and as a shareholder I feel it's a departure from Apple's core market to get into the storage business. ;) But on the flipside, while jumping through the hoops is merely silly and inconvenient it cost nothing more than a few minutes' time. You can grab the license at: <> -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Tue Sep 23 10:57:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 23 10:57:01 2003 Subject: List of Rev programs In-Reply-To: Message-ID: John Tenny wrote: > Is there a list, with descriptions and links, to programs developed > with Rev? It could be inspiring and engaging for curious programmers > and pre-programmers to see what can be done. Such a list should include > commercial programs as well as shareware/freeware?? -- 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 Tue Sep 23 10:58:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 23 10:58:01 2003 Subject: List of Rev programs In-Reply-To: Message-ID: <00db01c381e9$ac50b7c0$6501a8c0@LightningFlash> Yup, it's here: http://www.runrev.com/Revolution1/chooserevolution/index.shtml 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 John Tenny > Sent: Tuesday, September 23, 2003 10:29 AM > To: use-revolution at lists.runrev.com > Subject: List of Rev programs > > > Is there a list, with descriptions and links, to programs developed > with Rev? It could be inspiring and engaging for curious programmers > and pre-programmers to see what can be done. Such a list > should include > commercial programs as well as shareware/freeware?? > > John > > > Peace, > > John > > Flowing Thought Educational Solutions > 503-508-3398 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From ambassador at fourthworld.com Tue Sep 23 11:18:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 23 11:18:01 2003 Subject: Please make it plain In-Reply-To: Message-ID: Graham Samuel wrote: > Can we please go back to plain text on the list, and also avoid > enormous and/or html signatures. > > I hope I'm not the only one who wants this return to Heather's > standing instructions. You're not alone. And while it's not the biggest challenge of my life I do wonder exactly what oh-so-serious corporations hope to accomplish by appending outgoing emails with 2k of disclaimers. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc DISCLAIMER: This email was sent by an employee of Fourth World Media Corporation and may or may not reflect any official position of the company and/or its owners, board members, shareholders, and/or customers. This email transmission was intended for the specified recipient, who may or may not be the person who received it. If you are not the person who was intended to receive this email please forget that you ever read it and delete the message immediately followed by a purge of any such related brain cells. This email may or may not contain nuclear secrets which may or may not be a violation of applicable export and/or import laws. If anyone at Fourth word Media Corporation was dumb enough to send nuclear secrets or other sensitive information in an open, plain-text email, this disclaimer substitutes for all common sense security measures, including but not limited to widely-available and completely free encryption methods, by putting the reponsibility for maintaining the information's secrecy on the unwitting recipient. In the event of nuclear holocaust or other force majeur, including but not limited to riots, floods, earthquakes, or backlogged bug reports, caused in whole or in part by the use or misuse of any information explicit or implied in this email, Fourth World Media Corporation will not be held responsible for any damages, liabilities, injuries, death, or dismemberment resulting from any suit, action, rude comment, or other backlash of any kind explicit or implied in any way whatsoever. You rights may vary from state to state, nation to nation, planet to planet. Contents may settle during shipping. Your mileage may vary. Shaken, not stirred. From x at monsieurx.com Tue Sep 23 11:56:00 2003 From: x at monsieurx.com (MisterX) Date: Tue Sep 23 11:56:00 2003 Subject: Please make it plain In-Reply-To: Message-ID: gosh this is as enerving for you as it is for me 1 - at work we are FORCED to use a decrepitated mail client called lotus notes. NEVER EVER buy anything from IBM, Philips or FORD - my personal advise to you. 2 - For EVERY F****** MAIL I SEND from work i now have to confirm which format to use and it's never what I want or related to what Im responding to - nor does it choose exactly in a smart way... We have MORON administrators who we can't shoot at even for fun... 3 - THE FOOTER IS NOT MY RESPONSIBILITY AND IF THE MAILLIST CANT STRIP DUPLICATED HEADERS, WELL, IM REALLY SORRY THIS SERVER IS so primitive (i wrote a script like that 4 years ago... am I the only thinking server admin in this planet?) 3.5 You could complain to our corp "friends" who write these crap disclaimers and stuck us up with this crap for sheet program notes and this may change the whole world but I doubt it. Unless you're a client with a few hundred millions transiting through our accounts each day... 4 - my dad is on his death bed and this could be farther away from anything on my mind but I'll try to focus on that particular formating dialog and shooting the right Notes admin if I find him... 5 - But worse must be nagging everyone in this list about this problem - why dont you send me a private message? Look, I'll flagelate all night if that makes you feel better. If your company uses outlook and they can hire me, we can forget about this too... CAN YOU PLEASE ALSO TELL THE LIST OF PEOPLE USING THE DIGEST TO STRIP ALL THE CRAP AND PUT IN A DECENT TITLE TO THEIR MESSAGES? And that everyone formats their questions correctly and that bug reporters stick their vote requests to bugzilla and that people who download your program send in their feedback and and and... we all got bugs... darn! > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Graham Samuel > Sent: Tuesday, September 23, 2003 17:24 > To: Revolution user discussion > Subject: Please make it plain > > > Use-revolution digest #1945 sent today contained 2 messages, #11 by > xbury.cs at clearstream.com, and a reply #12 by "MisterX" > which together occupied more than 180 lines on what > is supposed to be a plain-text list. I was unable at scan-read speeds > to determine the meaningful content of the messages, but it looked > like it was really short. > > Can we please go back to plain text on the list, and also avoid > enormous and/or html signatures. > > I hope I'm not the only one who wants this return to Heather's > standing instructions. > > 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 dsc at swcp.com Tue Sep 23 12:07:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 23 12:07:01 2003 Subject: JPEG comment data In-Reply-To: Message-ID: On Monday, September 22, 2003, at 05:34 AM, Rodney Tamblyn wrote: > Does anyone have an example code snippet of how to access COM > (comment) or APP1 chunk information from JPEG images in Revolution? I have not broken up JPEG, but I have attacked other binary files in Revolution. The file format seems to be defined for additional info, though there might be some idiosyncrasies. Process the file using binaryDecode. One approach would be to make a function that takes an image and returns, say, an array of values by name. The name might be based on that used in standards. For fixed position fields, access functions might work, but I have found that accessing data with variable length fields is easier if the file is preprocessed to break out the components. The only problem is that arrays can currently be only one layer deep and line and item lists are needed for the other levels. In most cases that is just fine. In other cases, data can be burst in layers. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From kray at sonsothunder.com Tue Sep 23 12:10:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 23 12:10:01 2003 Subject: Please make it plain In-Reply-To: Message-ID: <00e601c381f3$bb0ca530$6501a8c0@LightningFlash> > DISCLAIMER: This email was sent by an employee of Fourth World (snip) That's great, Richard! :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pixelbird at interisland.net Tue Sep 23 12:11:18 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 23 12:11:18 2003 Subject: windoze media In-Reply-To: <200309231352.JAA14267@www.runrev.com> Message-ID: Hello Wilhelm, > Date: Tue, 23 Sep 2003 10:59:01 +0200 > From: Wilhelm Sanke > Subject: RE: windoze media Thanks so much. Your scripts will be tucked away where I can reach them easily. It's really what I was inquiring about and I can't wait to try them out. QT script control is fairly good in Rev, but we may not want to force a PC user to have QT aboard. Here they are again in case anyone missed them: > Here is a script to play a video clip in Revolution: > > on mouseup > get mciSendstring("open c:\Quest\Tutorial\Video.avi alias Film") > get mciSendstring("put Film destination at 300 90 160 120") > get mciSendstring("window FILM handle"&& the windowId of this stack) > get mciSendstring("play Film wait") > get mciSendstring("close Film") > end mouseup > > A similar script to play a sound file: > > on mouseup > get mciSendstring("open c:\mao\gong.wav type waveaudio alias Mao") > get mciSendstring("play Mao wait") > get mciSendstring("close Mao") > end mouseup > > Another script to play an "avi" file where a "screen" is pulled down > before the film starts: > > on mouseUp > get mciSendString("open C:\Windows\Desktop\Meta2.5.B3\asym01.avi alias > Film") > get mciSendstring("put Film destination at 250 90 260 220") > get mciSendstring("window FILM handle"&&the windowID of this stack) > > show fld "frame" with visual effect reveal down > wait 1 second > get mciSendstring("play Film from 1") > > wait 5 seconds > get mciSendstring("close Film") > hide fld "frame" with visual effect reveal up > end mouseup ----------- Thanks again, Ken N. From livfoss at blueyonder.co.uk Tue Sep 23 12:40:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Sep 23 12:40:00 2003 Subject: Re; Please make it plain Message-ID: On Tue, 23 Sep 2003 18:48:50 +0200, "MisterX" wrote: [...] > >5 - But worse must be nagging everyone in this list about this problem - why >dont you send me a private message? Because your message was just one example - what happens is that every few weeks Heather or someone like me makes the request to keep it plain, and people do for a time and then there's backsliding... Anyway I didn't mean it as a personal insult and I apologise unreservedly if it came across that way - I guess I thought most people have a 'plain text' option, but I guess I was wrong. But those that do, please use it! G -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Tue Sep 23 12:42:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Sep 23 12:42:01 2003 Subject: QT Player only? Message-ID: On Tue, 23 Sep 2003 08:44:31 -0700, Richard Gaskin wrote: > >But on the flipside, while jumping through the hoops is merely silly and >inconvenient it cost nothing more than a few minutes' time. > >You can grab the license at: ><> > I know, but up to now I can't persuade my publisher it's a good idea - and they do know their market (British schools) really well. It's different of course with Mac-only apps. Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From ambassador at fourthworld.com Tue Sep 23 13:09:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 23 13:09:00 2003 Subject: Please make it plain In-Reply-To: Message-ID: MisterX wrote: > CAN YOU PLEASE ALSO TELL THE LIST OF PEOPLE USING THE DIGEST TO > STRIP ALL THE CRAP AND PUT IN A DECENT TITLE TO THEIR MESSAGES? Amen to that. Sorry if my satire offended. It wasn't meant to be taken personally, as a large and strangely growing number of corporte attorneys are taking up the email disclaimer practice, I suppose to justify their jobs during lean times with "smart" initiatives that management would neve have though of on their own. In fact, in your case I'm just glad it's from ClearStream and not ClearChannel. ;) -- 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 Tue Sep 23 13:34:00 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Tue Sep 23 13:34:00 2003 Subject: Please make it plain References: <200309231601.MAA18619@www.runrev.com> Message-ID: <3F708F47.8000809@pacbell.net> Thanks Graham, I was about to send my comments about html'ers. Great disclaimer, Richard! Can I use it? ;-) 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 x at monsieurx.com Tue Sep 23 13:38:00 2003 From: x at monsieurx.com (MisterX) Date: Tue Sep 23 13:38:00 2003 Subject: Please make it plain In-Reply-To: Message-ID: clearstream was a sex site before they paid a hefty price. What a laugh that was. Lot of forethought goes into these things you know! So at least you answered our question as to why disclaimers get bigger each time! ;) I'll propose an email disclaimer tag to the internet engineering task force... ;) Nothing was taken personally and c'est la vie... We are born to die, to fail, to crave and yet we survive... it's the spirit that lives and counts... As long as chocolate, beer and buds exists, life doesn't suck as much as i could! If only we could save the trees and the wildlife from man... > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Richard > Gaskin > Sent: Tuesday, September 23, 2003 19:57 > To: use-revolution at lists.runrev.com > Subject: Re: Please make it plain > > > MisterX wrote: > > > CAN YOU PLEASE ALSO TELL THE LIST OF PEOPLE USING THE DIGEST TO > > STRIP ALL THE CRAP AND PUT IN A DECENT TITLE TO THEIR MESSAGES? > > Amen to that. Sorry if my satire offended. It wasn't meant to be taken > personally, as a large and strangely growing number of corporte attorneys > are taking up the email disclaimer practice, I suppose to justify > their jobs > during lean times with "smart" initiatives that management would neve have > though of on their own. > > In fact, in your case I'm just glad it's from ClearStream and not > ClearChannel. ;) > > -- > 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 x at monsieurx.com Tue Sep 23 13:49:00 2003 From: x at monsieurx.com (MisterX) Date: Tue Sep 23 13:49:00 2003 Subject: Re; Please make it plain In-Reply-To: Message-ID: Absolutely no apologies needed. We need these reminders... > Anyway I didn't mean it as a personal insult and I apologise > unreservedly if it came across that way - I guess I thought most > people have a 'plain text' option, but I guess I was wrong. But those > that do, please use it! Actually, most "SMART" email clients follow the replied format. Lotus notes doesn't NO matter what you tell it to do. Hence this dialog I have to confirm each time. Notes is a real insult to the XOS concept! Our administrators think notes and novell are better and we can't say anything about it anyway. It's their face, not mine! I could get fired and not care for once! ;) And if I ported my Script Editor to a Notes mail client, I could be rich! ;) X From dsc at swcp.com Tue Sep 23 14:03:03 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 23 14:03:03 2003 Subject: Please make it plain In-Reply-To: Message-ID: On Tuesday, September 23, 2003, at 12:41 PM, MisterX wrote: > And if I ported my Script Editor to a Notes mail client, I could be > rich! I am all for your becoming rich, in any honest way. Of course, on this list I must show a preference to ways that involve Revolution or Revolutionaries in some way. Like making a list server that sorts out html. Some day I will say, "I know X, sort of." Now I must be satisfied with "I knew Bill Gates back then" stories. Dar Scott From ambassador at fourthworld.com Tue Sep 23 14:20:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 23 14:20:00 2003 Subject: Please make it plain In-Reply-To: <3F708F47.8000809@pacbell.net> Message-ID: Ray G. Miller wrote: > Great disclaimer, Richard! Can I use it? ;-) Yes, but of course the disclaimer also applies to any use of the disclaimer. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kray at sonsothunder.com Tue Sep 23 15:36:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 23 15:36:01 2003 Subject: Please make it plain In-Reply-To: Message-ID: <00e601c381f3$bb0ca530$6501a8c0@LightningFlash> > DISCLAIMER: This email was sent by an employee of Fourth World (snip) That's great, Richard! :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pgilmartin at ermventures.net Tue Sep 23 15:50:00 2003 From: pgilmartin at ermventures.net (Patrick Gilmartin) Date: Tue Sep 23 15:50:00 2003 Subject: Free PCPlus Edition Message-ID: <200309231356.AA321454298@ermventures.net> My client has moved to Version 2.1, and I have the CD from PCPlus regarding Version 1.1. If you email offlist with your FTP information, I will be able to take care of your request. Patrick From pgilmartin at ermventures.net Tue Sep 23 15:53:01 2003 From: pgilmartin at ermventures.net (Patrick Gilmartin) Date: Tue Sep 23 15:53:01 2003 Subject: Free PCPlus Edition Message-ID: <200309231359.AA321585370@ermventures.net> For purposes of offlist, me email address: pgilmartin at ermventures.net Patrick From preid at reidit.co.uk Tue Sep 23 16:04:01 2003 From: preid at reidit.co.uk (Peter Reid) Date: Tue Sep 23 16:04:01 2003 Subject: Rev Player In-Reply-To: References: Message-ID: >I have one for my own needs, but I think a player for general use should >come from the mother ship to maximize standardization and distribution. > >Just curious: What would you like to do with a player than couldn't be done >as a standalone? > >Richard Gaskin I have produced a small number of CBTs for a UK government organisation who need to validate all executables for security reasons. Supplying a single player with add-on stacks makes life easier in this respect. It is easier to persuade public sector customers that they are only running a single program with downloadable modules than it is to say they need to allow an increasing number of new executables. They get twitchy about the security implications of new EXE files! Also, it minimises network traffic if each client workstation has a single player installed which is set up as the helper-app within the browser so the user can download any of a number of CBT stacks without having to download the player engine each time or have to decide what to do with an executable (with attendant "security warnings" from their browser!). Cheers Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From dan at clearvisiontech.com Tue Sep 23 16:05:01 2003 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue Sep 23 16:05:01 2003 Subject: Working with grouped text Message-ID: Ok... I could use a little help... I have a field with grouped text such as: This is [a test], [a quiz] or [a puzzle]. The text in "[]"s are grouped. When the user clicks one of the grouped phrases, I underline the group. This is no problem: if "link" is in the textStyle of the clickChunk then if "underline" is in the textStyle of the clickChunk then set the textStyle of the clickChunk to link else set the textStyle of the clickChunk to underline,link end if end if My problem is when done, I want to examine the field and make a list of what they underlined. However, I want the list to be numbers. For example, if they click (that is underline) "a test" and "a puzzle", then I want "1,3" (they underlined the first and third set of grouped text). If they only click "a quiz", then I want "2" (they only selected the second set of grouped text). Anyone have any ideas? Thanks in advance! -Dan From kray at sonsothunder.com Tue Sep 23 16:26:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 23 16:26:00 2003 Subject: Please make it plain In-Reply-To: Message-ID: <00e601c381f3$bb0ca530$6501a8c0@LightningFlash> > DISCLAIMER: This email was sent by an employee of Fourth World (snip) That's great, Richard! :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Sep 23 17:35:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 23 17:35:01 2003 Subject: Working with grouped text In-Reply-To: Message-ID: <001001c38221$10e4af20$6501a8c0@LightningFlash> Sure, Dan. Here's a field script you can use: on linkClicked pText put the currChoices of me into tChoices switch (pText) case "a test" if 1 is not among the items of tChoices then put 1 into item (the number of items of tChoices)+1 of tChoices end if break case "a quiz" if 2 is not among the items of tChoices then put 2 into item (the number of items of tChoices)+1 of tChoices end if break case "a puzzle" if 3 is not among the items of tChoices then put 3 into item (the number of items of tChoices)+1 of tChoices end if break end switch set the currChoices of me to tChoices end linkClicked It's a bit long-winded, but you get the idea... 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, September 23, 2003 4:01 PM > To: RunRev Mail List > Subject: Working with grouped text > > > Ok... I could use a little help... > > I have a field with grouped text such as: > > This is [a test], [a quiz] or [a puzzle]. > > The text in "[]"s are grouped. When the user clicks one of > the grouped phrases, I underline the group. This is no problem: > > if "link" is in the textStyle of the clickChunk then > if "underline" is in the textStyle of the clickChunk then > set the textStyle of the clickChunk to link > else > set the textStyle of the clickChunk to underline,link > end if > end if > > > My problem is when done, I want to examine the field and make > a list of what they underlined. However, I want the list to > be numbers. For example, if they click (that is underline) > "a test" and "a puzzle", then I want "1,3" (they underlined > the first and third set of grouped text). If they only click > "a quiz", then I want "2" (they only selected the second set > of grouped text). > > Anyone have any ideas? > > > Thanks in advance! > > -Dan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From sarahr at genesearch.com.au Tue Sep 23 18:12:01 2003 From: sarahr at genesearch.com.au (Sarah) Date: Tue Sep 23 18:12:01 2003 Subject: CMD-C doesn't function in the Help... In-Reply-To: <1g1qvqx.9idta1y09ac1M%mcdomi@free.fr> Message-ID: <71AB1816-EE19-11D7-BF9A-0003937A97B8@genesearch.com.au> This happens to me regularly and not just in the Help, but I haven't yet managed to work out what triggers it. The menu hilites, but nothing happens, so you end up pasting something totally different to the text you just copied, or worse - not saving when you think you have! The solution is to go to Preferences and click the "Reset Preferences to Defaults" button. This is a pain as you then have to go through and reset your personal preferences, but it does fix the problem. Interestingly, the Cmd-C & other menu shortcuts all work perfectly in the Script editor - it's only the main menu bar that loses this ability. If anyone can come up with a recipe for what triggers this misbehavior, I will bugzilla it. Cheers, Sarah On Wednesday, September 24, 2003, at 07:36 am, Dom wrote: > but the menu item "Copy Text" does! > > Sometimes I want to copy some example in the Help... > Sure it's easier then it was in MC ;-) > But the shortcut doesn't function, at least on my OS X system with Rev > 2.1... > > -- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From revlist at cableone.net Tue Sep 23 18:13:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Tue Sep 23 18:13:01 2003 Subject: Working with grouped text In-Reply-To: Message-ID: <001301c3821c$ffacb670$64fea8c0@chris1> Dan, Check out the linkClicked message and the linkText property. I think those may help. You use the linkText property to "attach" a certain string (in this case it could be the number you want) to a link. Then the parameter of the linkClicked message will contain whatever that string is. If you're using external text files and want to set the linkText in the file, setup your links like you would in an html file and set the href attribute to the string you want. Hope that helps. 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 Dan Friedman Sent: Tuesday, September 23, 2003 3:01 PM To: RunRev Mail List Subject: Working with grouped text Ok... I could use a little help... I have a field with grouped text such as: This is [a test], [a quiz] or [a puzzle]. The text in "[]"s are grouped. When the user clicks one of the grouped phrases, I underline the group. This is no problem: if "link" is in the textStyle of the clickChunk then if "underline" is in the textStyle of the clickChunk then set the textStyle of the clickChunk to link else set the textStyle of the clickChunk to underline,link end if end if My problem is when done, I want to examine the field and make a list of what they underlined. However, I want the list to be numbers. For example, if they click (that is underline) "a test" and "a puzzle", then I want "1,3" (they underlined the first and third set of grouped text). If they only click "a quiz", then I want "2" (they only selected the second set of grouped text). Anyone have any ideas? Thanks in advance! -Dan _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From Revinfo1155 at aol.com Tue Sep 23 18:41:01 2003 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Tue Sep 23 18:41:01 2003 Subject: Rev Player Message-ID: <158.24f2e1db.2ca2312e@aol.com> In a message dated 9/23/03 4:58:05 PM, preid at reidit.co.uk writes: > >I have one for my own needs, but I think a player for general use should > >come from the mother ship to maximize standardization and distribution. > > > >Just curious:? What would you like to do with a player than couldn't be > done > >as a standalone? > > > >Richard Gaskin > > I have produced a small number of CBTs for a UK government > organisation who need to validate all executables for security > reasons.? Supplying a single player with add-on stacks makes life > easier in this respect. It is easier to persuade public sector > customers that they are only running a single program with > downloadable modules than it is to say they need to allow an > increasing number of new executables.? They get twitchy about the > security implications of new EXE files! > > Also, it minimises network traffic if each client workstation has a > single player installed which is set up as the helper-app within the > browser so the user can download any of a number of CBT stacks > without having to download the player engine each time or have to > decide what to do with an executable (with attendant "security > warnings" from their browser!). > > Cheers > > Peter > Peter-have you got a sample player we could look at? Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From kkaufman at snet.net Tue Sep 23 18:58:00 2003 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Sep 23 18:58:00 2003 Subject: QT Player only? Message-ID: <6BF92884-EE0E-11D7-9363-0003937052EC@snet.net> What would be *very* helpful would be some sort of "official" (i.e. from Runtime Revolution) description of what Revolution can do using the various versions of Windows Media Player. As I mentioned in a recent message: , I can't predict what will or will not play; there seem to be plenty of exceptions even within one file format. Sometimes a file will play directly in WMP and not in Rev-through-WMP (if that actually IS what is happening). Thanks, Kurt From pixelbird at interisland.net Tue Sep 23 19:19:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 23 19:19:00 2003 Subject: QT Player only? In-Reply-To: <200309231601.MAA18619@www.runrev.com> Message-ID: Hi Graham, > Date: Tue, 23 Sep 2003 16:05:30 +0100 > From: Graham Samuel > Subject: RE: QT Player only? > The issue can be a straightforward one about a user community. A > typical user scenario for me is a small school with PCs only (no > Macs) and no dedicated IT technician and maybe not even broadband > Internet access. Selling these guys software and then telling them > they have to download something from the Internet to make it work is > bad news - and distribution of QT on CD by the software publisher > involves them (I believe) in fairly onerous agreements with Apple > (like agreeing to distribute updates). So people resist it. I love > QT, but I have had to back off using it in this environment. ---------- The above is almost exactly the reasons I'm looking for other methods to control and display movies and sounds. I my case it may involve both schools and long term health care facilities, who may or (more likely) may not ever have have good access to QT. We Mac types, and even Windows users who have been smitten with QT, are spoiled by the ability to control our media projects this way. However, many potential clients will simply not have QT available anytime soon. Just a fact of life in many parts of the world. Thanks for pointing it out, Graham. All the best, Ken N. From bvg at mac.com Tue Sep 23 20:26:00 2003 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue Sep 23 20:26:00 2003 Subject: CMD-C doesn't function in the Help... In-Reply-To: <71AB1816-EE19-11D7-BF9A-0003937A97B8@genesearch.com.au> Message-ID: <652FAC72-EE2C-11D7-B1DE-003065AD94A4@mac.com> I have the same problem, but i can't say what triggered it, sorry. On Mittwoch, Sept 24, 2003, at 00:58 Europe/Zurich, Sarah wrote: > This happens to me regularly and not just in the Help, but I haven't > yet managed to work out what triggers it. The menu hilites, but > nothing happens, so you end up pasting something totally different to > the text you just copied, or worse - not saving when you think you > have! The solution is to go to Preferences and click the "Reset > Preferences to Defaults" button. This is a pain as you then have to go > through and reset your personal preferences, but it does fix the > problem. Interestingly, the Cmd-C & other menu shortcuts all work > perfectly in the Script editor - it's only the main menu bar that > loses this ability. > > If anyone can come up with a recipe for what triggers this > misbehavior, I will bugzilla it. > > Cheers, > Sarah > > On Wednesday, September 24, 2003, at 07:36 am, Dom wrote: > >> but the menu item "Copy Text" does! >> >> Sometimes I want to copy some example in the Help... >> Sure it's easier then it was in MC ;-) >> But the shortcut doesn't function, at least on my OS X system with Rev >> 2.1... >> >> -- >> _______________________________________________ >> 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 byront at mac.com Tue Sep 23 20:59:00 2003 From: byront at mac.com (Byron Turner) Date: Tue Sep 23 20:59:00 2003 Subject: Lobbying for MacWorld SF Pr-Conference session In-Reply-To: <026d01c374a9$753c7fa0$6501a8c0@LightningFlash> Message-ID: <0AEF39C3-EE31-11D7-88C9-000A95A088D2@mac.com> I just wanted to begin the process of lobbying for an all day Revolution Session at MacWorld San Francisco. While a 90 minute session is nice for marketing a product, as a user it would be great to have a half day of "how to" and a half day of questions and answers. Get us all in the same room so we can ask you questions and help each other. All in favor . . . .? Byron Turner From rodneytamblyn at paradise.net.nz Tue Sep 23 21:15:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Tue Sep 23 21:15:00 2003 Subject: JPEG comment data In-Reply-To: Message-ID: Hi Dar, Thanks for the response. For those who are interested, here's some links I've found to the Exif specification, the first one is especially good. http://www.ba.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html http://www.exif.org/specifications.html http://nwalsh.com/java/jpegrdf/ http://www.runrev.com/revolution/developers/bugdatabase/ show_bug.cgi?id=693 ~ Rodney On Wednesday, September 24, 2003, at 04:55 AM, Dar Scott wrote: > > On Monday, September 22, 2003, at 05:34 AM, Rodney Tamblyn wrote: > >> Does anyone have an example code snippet of how to access COM >> (comment) or APP1 chunk information from JPEG images in Revolution? > > I have not broken up JPEG, but I have attacked other binary files in > Revolution. > > The file format seems to be defined for additional info, though there > might be some idiosyncrasies. Process the file using binaryDecode. > One approach would be to make a function that takes an image and > returns, say, an array of values by name. The name might be based on > that used in standards. For fixed position fields, access functions > might work, but I have found that accessing data with variable length > fields is easier if the file is preprocessed to break out the > components. The only problem is that arrays can currently be only one > layer deep and line and item lists are needed for the other levels. > In most cases that is just fine. In other cases, data can be burst in > layers. > > Dar Scott > > **************************************** > Dar Scott Consulting > http://www.swcp.com/dsc/ > Programming Services > **************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From themacguy at macosx.com Tue Sep 23 22:06:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Tue Sep 23 22:06:01 2003 Subject: QT Player only? In-Reply-To: <200309232136.RAA28554@www.runrev.com> Message-ID: <7DF65084-EE3A-11D7-BEAE-000A95763ABC@macosx.com> Graham, I prefer to write apps that are cross-platform; hence the need for Rev -and- QuickTime. My customers are mostly selling into K12; anything less than 100% cross-platform won't cut it. While Microsloth casts itself in the role of "standards-bearer", we all know better and have found that we have to "program around" the limitations that that 800-lb gorilla would otherwise impose. "Microsoft Innovation"? What a crock. (Sorry; that's getting way OT.) Barry On Tuesday, Sep 23, 2003, at 15:36 America/Denver, Graham wrote: > > From: Graham Samuel > Subject: Re: QT Player only? > Reply-To: use-revolution at lists.runrev.com > > On Tue, 23 Sep 2003 08:44:31 -0700, Richard Gaskin > wrote: >> >> But on the flipside, while jumping through the hoops is merely silly >> and >> inconvenient it cost nothing more than a few minutes' time. >> >> You can grab the license at: >> <> >> > > I know, but up to now I can't persuade my publisher it's a good idea > - and they do know their market (British schools) really well. It's > different of course with Mac-only apps. > > Graham From HyperChris at aol.com Tue Sep 23 22:39:00 2003 From: HyperChris at aol.com (HyperChris at aol.com) Date: Tue Sep 23 22:39:00 2003 Subject: OT: Our collective futures ... Message-ID: <9c.359b22a4.2ca2691c@aol.com> ... be sure and catch the preferred IDE reference quoted under "In the News" http://www.newtechusa.com/ppi/main.asp From mdswindell at charter.net Tue Sep 23 22:57:00 2003 From: mdswindell at charter.net (Mark Swindell) Date: Tue Sep 23 22:57:00 2003 Subject: Web host recommendations...pt 2. FTP? In-Reply-To: <20030922200901.67337.qmail@www.boxfrog.com> Message-ID: <7EEF967E-EE41-11D7-AB33-0003936A51C6@charter.net> Thanks to all who replied both on and off list with recommendations. I'm narrowing down the search. I've a new question, and feel I ought to know the answer, but don't. Assuming I put up a few shareware standalones to download, do I need to pay for an anonymous FTP server, or will a simple web server suffice? I've built web sites before, but they've been information only, not download sites. Also, how does a download count against bandwidth? Straight up, a 3 meg download is 3 megs of bandwidth? TIA for any and all clarifications. And if anyone can point me to a reference to answer these kinds of questions, that would be great, too. Mark From alex at mindlube.com Tue Sep 23 23:40:00 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 23 23:40:00 2003 Subject: Web host recommendations...pt 2. FTP? In-Reply-To: <7EEF967E-EE41-11D7-AB33-0003936A51C6@charter.net> Message-ID: <8FE7C525-EE47-11D7-B440-000393529642@mindlube.com> On Tuesday, September 23, 2003, at 09:45 PM, Mark Swindell wrote: > Assuming I put up a few shareware standalones to download, do I need > to pay for an anonymous FTP server, or will a simple web server > suffice? I've built web sites before, but they've been information > only, not download sites. Just offer downloads via http, unless anonymous ftp is available for the same price- then offer both. FTP is more efficient for large file downloads. But, anymore with the big fast servers one sees around- downloading large files via http is not a problem. > Also, how does a download count against bandwidth? Straight up, a 3 > meg download is 3 megs of bandwidth? > Yes. Most ISPs will charge bandwidth measured in gigabytes per month. Suppose you are allowed 2 GB/month without incurring extra charges. Suppose you have a 1.5 MB file you are publishing. 2 GB = 2048 MB ; assuming 1GB = 1024MB, which it might be, or 1GB = 1000 MB depending how they are counting. So you could have 2048/1.5 = 1365 downloads in a month, minus other traffic to your site. Most ISPs will count email and ftp traffic also in addition to http. What you have to watch out for is when you exceed your monthly bandwidth allocation. Some ISPs will basically turn off the pipe- disabling your site, but most should allow the additional usage, charged at a higher rate. But unless you get slashdotted- you probably aren't going to be needing additional bandwidth. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From katir at hindu.org Wed Sep 24 00:19:01 2003 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed Sep 24 00:19:01 2003 Subject: FTP multiple files via a single socket connection Message-ID: <0E791012-EE4D-11D7-B322-000A959D0AC6@hindu.org> We note that use of libURLftpUploadFile command requires a complete socket handshake with the server for each iteration if one is sending multiple files on a loop: as in: (for two files uploaded on after another... 257 "/" is current directory. 250 CWD command successful. 250 CWD command successful. 200 Type set to I. 227 Entering Passive Mode (64,75,176,66,37,161) 150 Opening BINARY mode data connection for /export/vhost/org/w/wherever/www/public_html/9-23-03.jpg. CLOSED 64.75.176.66:9633|6939 226 Transfer complete. 257 "/" is current directory. 250 CWD command successful. 250 CWD command successful. 200 Type set to I. 227 Entering Passive Mode (64,75,176,66,174,26) 150 Opening BINARY mode data connection for /export/vhost/org/w/wherever/www/public_html/9-23-04.jpg. CLOSED 64.75.176.66:44570|6939 226 Transfer complete. 257 "/" is current directory. 250 CWD command successful. Our fire wall isn't super happy with this 'rain" of socket requests in PASSIVE mode (even though we are the client)...and starts barking about "attack under way... closing socket" after about the 12th iteration. ( i don't understand why, since in passive mode it's the server that is being "attacked" with uploads... not the client...) anyway... Is there a way, using the current libURL to upload up the files through a single ip-port that is opened only once on the control connection at the beginning of the FTP session as we see with a normal FTP client transaction log as in: (interarchy on the mac.... three files, one after another, but it will hold onto the same IP address, even for 75 files.. ) TYPE I 200 Type set to I. PORT 192,168,1,230,192,232 200 PORT command successful. STOR 9-23-07.jpg 150 Opening BINARY mode data connection for 9-23-07.jpg. 226 Transfer complete. PORT 192,168,1,230,192,233 200 PORT command successful. STOR 9-23-08.jpg 150 Opening BINARY mode data connection for 9-23-08.jpg. 226 Transfer complete. PORT 192,168,1,230,192,234 200 PORT command successful. STOR 9-23-06.jpg 150 Opening BINARY mode data connection for 9-23-06.jpg. 226 Transfer complete. PORT 192,168,1,230,192,235 200 PORT command successful. etc. the latter is also much, much faster! Or, does one have to write his own socket for this? Rather not go there if i don't have to....although i think I have some old scripts that might work... but I am a bit spoiled now with the ease of the new library ;-) 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 monte at sweattechnologies.com Wed Sep 24 00:34:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 24 00:34:00 2003 Subject: Looking for kind soul... Message-ID: Hi All Could some kind soul please email me off list with the following file from a version of OS X prior to 10.2.8: /System/Library/Extensions/AppleGMACEthernet.kext 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 alex at mindlube.com Wed Sep 24 00:39:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 00:39:00 2003 Subject: automatic database query Message-ID: I've been playing around with the Database Query Builder and the Database properties of fields and buttons. OK! It's easy to understand, nice UI, runs fast. I'm connecting to a remote MySQL server via SSL. One thing that I can't figure out though: Can the SQL query (as specified in the Database Query Builder) be parameterized? I understand the primary key is parameterized as you can connect buttons up to navigate between records. But what about parameterizing by non-primary key columns? For example: things like putting a search term into a LIKE query, or putting a foreign key into a JOIN query. Macromedia Dreamweaver has the ability to fill in variables into a SQL query. So you can use URL variables, POST variables, or environment variable and evaluate them into the SQL query before the query is executed. If the Database Query Builder doesn't support this, how can I safely modify the query via my own script at runtime? Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From monte at sweattechnologies.com Wed Sep 24 01:39:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 24 01:39:01 2003 Subject: Looking for kind soul... In-Reply-To: Message-ID: Thanks Ken > > Hi All > > Could some kind soul please email me off list with the following > file from a > version of OS X prior to 10.2.8: > > /System/Library/Extensions/AppleGMACEthernet.kext > > 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Wed Sep 24 02:33:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 24 02:33:00 2003 Subject: automatic database query In-Reply-To: Message-ID: <20030924072206.47517.qmail@web11903.mail.yahoo.com> --- Alex Rice wrote: > I've been playing around with the Database Query > Builder and the > Database properties of fields and buttons. OK! It's > easy to understand, > nice UI, runs fast. I'm connecting to a remote MySQL > server via SSL. > > One thing that I can't figure out though: > > Can the SQL query (as specified in the Database > Query Builder) be > parameterized? I understand the primary key is > parameterized as you can > connect buttons up to navigate between records. But > what about > parameterizing by non-primary key columns? For > example: things like > putting a search term into a LIKE query, or putting > a foreign key into > a JOIN query. > > Macromedia Dreamweaver has the ability to fill in > variables into a SQL > query. So you can use URL variables, POST variables, > or environment > variable and evaluate them into the SQL query before > the query is > executed. > > If the Database Query Builder doesn't support this, > how can I safely > modify the query via my own script at runtime? > > Hi Alex, Though there is currently no 'automated' way of parameterising a query, you can create another query with the builder and change its SQL-statement at runtime with the (undocumented) command 'revSetSQLOfQuery' with syntax : revSetSQLOfQuery , On a positive note, it also automatically refreshes all the fields linked to it. If you want to learn more about the internal workings and undocumented features of the QueryBuilder and linked controls, have a look at the frontScript aptly named 'revDatabase' 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 FlexibleLearning at aol.com Wed Sep 24 03:28:01 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed Sep 24 03:28:01 2003 Subject: Working with grouped text Message-ID: <0048B62E.2648C2B7.DC67E5C7@aol.com> --- My problem is when done, I want to examine the field and make a list of what they underlined. However, I want the list to be numbers. For example, if they click (that is underline) "a test" and "a puzzle", then I want "1,3" (they underlined the first and third set of grouped text). If they only click "a quiz", then I want "2" (they only selected the second set of grouped text). --- As an alternative to Ken's neat solution, what about using imageSource graphics of ticked and unticked checkboxes? If clicked, the imageSource is CBticked else CBplain. To see what they have selected, parse the appropriate chars in the field to see which imageSource is used. Added benefit is that the user gets virtual checkboxes instead of underlines only. 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 From dcragg at lacscentre.co.uk Wed Sep 24 03:39:00 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed Sep 24 03:39:00 2003 Subject: FTP multiple files via a single socket connection In-Reply-To: <0E791012-EE4D-11D7-B322-000A959D0AC6@hindu.org> References: <0E791012-EE4D-11D7-B322-000A959D0AC6@hindu.org> Message-ID: At 7:07 pm -1000 23/9/03, Sannyasin Sivakatirswami wrote: > > Is there a way, using the current libURL to upload up the files >through a single ip-port that is opened only once on the control >connection at the beginning of the FTP session as we see with a >normal FTP client transaction log as in: Just to clear up what liburl does. It uses a single "control" socket for a series of tranfers (by default on port 21). However, a separate "data transfer" socket is used for each file transfer. In Active mode, libUrl opens the data transfer socket on the local machine, and it increments the port number by 1 for each file transfer. This is normal, and your Interarchy log below shows the same behavior. (The final number on the PORT line indicates a new port number for each transfer.) >TYPE I >200 Type set to I. >PORT 192,168,1,230,192,232 >200 PORT command successful. >STOR 9-23-07.jpg >150 Opening BINARY mode data connection for 9-23-07.jpg. >226 Transfer complete. >PORT 192,168,1,230,192,233 >200 PORT command successful. >STOR 9-23-08.jpg >150 Opening BINARY mode data connection for 9-23-08.jpg. >226 Transfer complete. >PORT 192,168,1,230,192,234 >200 PORT command successful. >STOR 9-23-06.jpg >150 Opening BINARY mode data connection for 9-23-06.jpg. >226 Transfer complete. >PORT 192,168,1,230,192,235 >200 PORT command successful. > etc. However, the log you sent off the list was for Passive transfer, and it showed the same port being used for a series of data transfers in Interarchy but not with libUrl. I'm not sure why, but I think it's normal in passive mode too for the data transfer port to be incremented for successive file transfers. >the latter is also much, much faster! Or, does one have to write his >own socket for this? Rather not go there if i don't have >to....although i think I have some old scripts that might work... >but I am a bit spoiled now with the ease of the new library ;-) I'm sure the Interarchy people invest some time in making ftp data transfers go fast. I'd expect that from a dedicated FTP client. My goal for libUrl is "fast enough". :) (But all optimization tips are welcome.) Cheers Dave From dsc at swcp.com Wed Sep 24 03:44:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 03:44:00 2003 Subject: Looking for kind soul... In-Reply-To: Message-ID: On Tuesday, September 23, 2003, at 11:22 PM, Monte Goulding wrote: > from a > version of OS X prior to 10.2.8 What is 10.2.8? Dar Scott From monte at sweattechnologies.com Wed Sep 24 04:07:04 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 24 04:07:04 2003 Subject: Looking for kind soul... In-Reply-To: Message-ID: > -- > On Tuesday, September 23, 2003, at 11:22 PM, Monte Goulding wrote: > > > from a > > version of OS X prior to 10.2.8 > > What is 10.2.8? It's an update for OS X. The seem to have jumped .7 and landed in the poo on the other side. Apple has pulled it only a few hours after stuffing up my LAN! Mental Note: Always give Apple at least a week to realise they have released a buggy upgrade that should never have got through QA. Cheers Monte From dsc at swcp.com Wed Sep 24 08:47:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 08:47:01 2003 Subject: Looking for kind soul... In-Reply-To: Message-ID: On Wednesday, September 24, 2003, at 02:56 AM, Monte Goulding wrote: >>> from a >>> version of OS X prior to 10.2.8 >> >> What is 10.2.8? > > It's an update for OS X. The seem to have jumped .7 and landed in the > poo on > the other side. Apple has pulled it only a few hours after stuffing up > my > LAN! Ah, that must be why I didn't find it. Dar From SimPLsol at aol.com Wed Sep 24 08:54:00 2003 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed Sep 24 08:54:00 2003 Subject: SoCalRevDev Meeting Tonight Message-ID: <1e9.101e68a0.2ca2f920@aol.com> Just a quick reminder: Tonight's topic is databases, featuring a special presentation of SDB by Rob Couzens. Meeting starts at 5:00 for newbys and people who want general information on DB terminology, history, differences, etc. Dinner break at 6:00 (often the most spirited discussions of the evening) 7:00 presentation and demo followed by wide-ranging discussion. Call me if you need directions to San Dimas: 909-545-8885 Paul Looney -------------- next part -------------- An HTML attachment was scrubbed... URL: From soapdog at mac.com Wed Sep 24 09:12:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Sep 24 09:12:01 2003 Subject: Looking for kind soul... In-Reply-To: Message-ID: On Wednesday, September 24, 2003, at 05:56 AM, Monte Goulding wrote: > It's an update for OS X. The seem to have jumped .7 and landed in the > poo on > the other side. Apple has pulled it only a few hours after stuffing up > my > LAN! > > Mental Note: Always give Apple at least a week to realise they have > released > a buggy upgrade that should never have got through QA. > > Cheers > > Monte > Guess what, 10.2.8 destroyed sound support system here... after the update, I tried to tune up the volume and the msgbox apeared empty no mater what I did. Launched profiler, checked iMac G4 with no sound support, isn't it fun? I make a living from filmediting & programing. Now I am suposed to edit films without sound... that get me back to 1915 (okay, there are many gems from 1915)... Cheers on Apple. :D PS: Let's undo till 10.2.6 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 steve at hybride.com Wed Sep 24 09:12:30 2003 From: steve at hybride.com (Steve Pelchat) Date: Wed Sep 24 09:12:30 2003 Subject: Stop the mailing list Message-ID: <200309241001.AA127008902@mail1.intranet.hybride.com> Hi , this is possible to stop the mailling list.... thanx.... From mcdomi at free.fr Wed Sep 24 09:14:02 2003 From: mcdomi at free.fr (Dom) Date: Wed Sep 24 09:14:02 2003 Subject: Please make it plain In-Reply-To: Message-ID: <1g1siv7.1p10lf7qmfhs0M%mcdomi@free.fr> MisterX wrote: > So at least you answered our question as to why disclaimers get > bigger each time! ;) Please, go a step forward, and get rid of the > -----Original Message----- [snip] > 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 -- I know, this one is OE's fault, not Lotus... From mcdomi at free.fr Wed Sep 24 09:14:22 2003 From: mcdomi at free.fr (Dom) Date: Wed Sep 24 09:14:22 2003 Subject: "Is A Date" Question Message-ID: <1g1ss6a.1lckr0cl7nqp8M%mcdomi@free.fr> I go with a question about "is a date" problem. As my stack goes with customized date format, I want to insure that the user (me, for instance) entered a valid date... I may be wrong, but it seems that the question " is a date" is true ONLY with the standard US-english date format, i.e. 09/24/03 > true (according my system preferences) 2003-09-24 > false! Sure, it is possible to write a little function which translate from y custom date format to the standard one -- but I have to KNOW exactly the custom date format; therefore it is not possible to write a handler valid in all circumstances... Any idea? -- From wmb at internettrainer.com Wed Sep 24 09:27:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Sep 24 09:27:01 2003 Subject: Bug submission In-Reply-To: <2DAA747A-EA0C-11D7-A24E-000393529642@mindlube.com> Message-ID: <6A63CF64-ED14-11D7-B93A-003065430226@internettrainer.com> On Donnerstag, Sep 18, 2003, at 21:13 Europe/Vienna, Alex Rice wrote: >> But I dont want to learn and struggle with bugzilla, because it is >> very complicated...! > > AND Ken Ray has written this most cool app, which he announced on Sept > 14. So now you really have no excuse for not using bugzilla :-) > > http://www.sonsothunder.com/devres/revolution/downloads/RevZilla.htm > Thanks Alex Looks very good at the first view. Why is this not included in the rev ide...? Or, why it is not on the RR page as (cgi stack)-UI before awful bugzilla-UI..? 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 themacguy at macosx.com Wed Sep 24 09:37:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Wed Sep 24 09:37:01 2003 Subject: use-revolution digest, Vol 1 #1948 - 13 msgs In-Reply-To: <200309240420.AAA05231@www.runrev.com> Message-ID: Aye! On Tuesday, Sep 23, 2003, at 22:20 America/Denver, Byron wrote: > just wanted to begin the process of lobbying for an all day > Revolution Session at MacWorld San Francisco. While a 90 minute > session is nice for marketing a product, as a user it would be great to > have a half day of "how to" and a half day of questions and answers. > Get us all in the same room so we can ask you questions and help each > other. All in favor . . . .? From dsc at swcp.com Wed Sep 24 09:54:02 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 09:54:02 2003 Subject: Looking for kind soul... In-Reply-To: Message-ID: <62892695-EE9D-11D7-A90A-000A9567A3E6@swcp.com> On Wednesday, September 24, 2003, at 08:04 AM, Andre Garzia wrote: > Guess what, 10.2.8 destroyed sound support system here... Hmmm. From Monte's request I should have inferred something was wrong, and yet my response was to try to update (which fortunately did not bring 10.2.8). I find the implications concerning my sense of judgment enlightening. Dar Scott From steve at hybride.com Wed Sep 24 10:02:01 2003 From: steve at hybride.com (Steve Pelchat) Date: Wed Sep 24 10:02:01 2003 Subject: When the ENGINE for IRIX ??? Message-ID: <200309241046.AA68419740@mail1.intranet.hybride.com> Hi i would like to know , when the engin for IRIX (revolution 2.1), will be available !!! Because i can't compile to IRIX.... Thanx , i hope to receive a answer !! ciao From yoy at comcast.net Wed Sep 24 10:02:21 2003 From: yoy at comcast.net (Andy Burns) Date: Wed Sep 24 10:02:21 2003 Subject: SUMMARY: Re: Fun project but fuzzy on logic. "PhoneCALLs" References: <4BFFB2DE-EBE4-11D7-B858-003065683ECC@inspiredlogic.com> Message-ID: <000801c382aa$c9abb330$b2ea5144@fatal7lcf637rj> Thanks to all that helped with the PhoneCALL problem. Geoff (who put my code to shame) and others who offered assistance will get credit (if you wish) when it's finished. I discussed this with a good friend over the phone. One thing that he mentioned is he derived a "PhoneCALL" 69STEAM. This is another issue that I hadn't considered. He could have used 697 TEAM, but how many folks will remember 697. And the 69STEAM ("in the heat of passion";) is easier to remember. In fact I could never remember his number until he told me this PhoneCALL. We talked about how to delete the resulting PhoneCALLs that couldn't possibly make sense. That looks like trouble. The first case being, deleting six consonants and one vowel. I also don't like the user having to scroll thousands of lines of gibberish until one that they like or even makes sense pops up. In summary, it is an interesting exercise in programming. I'll bang away at it from time to time as my learning curve grows, but a polished superior program is beyond the scope of my programming experience, at this time. Thanks to all you magicians for sharing your magic! And thanks for Revolution, for giving me the chance to try out the idea. Regards, Andy Burns From k.r.hauge at east.uio.no Wed Sep 24 10:42:01 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Wed Sep 24 10:42:01 2003 Subject: selectedChunk under Windows Message-ID: Is there something special about the selectedChunk under Windows? I have a stack where the user clicks on a word (or a sequence of words) in a locked field, and then on a button to have a given handler operate on the selection. The problem is that the selectedChunk seems to get lost immediately in the Windows build (tested under Windows 2000). For instance, I have a statement to trap for no selection being made: if the selectedChunk is empty then ? answer "First click on a word to be messed around with." ? exit thisHandler end if This always evaluates to true, while the Mac OS X build behaves as expected. (And of course if I remove the statement, there is no result from the following statements that should work on the selectedChunk.) The button calls a handler in the stack script, and I have tried putting the selectedChunk into a global already in the button script and reselecting it in the stack script, in case Windows releases the selection between the button and the handler, but with the same results. Suggestions are very welcome. -- --- Kjetil R? Hauge, U. of Oslo, PO Box 1030 Blindern, N-0315 Oslo, Norway Tel. +47/22856710, fax +47/22854140 From soapdog at mac.com Wed Sep 24 10:44:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Sep 24 10:44:01 2003 Subject: Some questions on caledar algebra. (or I've got a shareware engineeeeeeee) Message-ID: As my knowledge of Revolution grows I decided two things: * All my lib stacks will be public domain with source so other (more serious) developers may benefit and improve my work. * Some of my apps will be shareware so I can buy Rev documentation (I long for that). Talking about my second topic, I decided to grow a little shareware engine. I made a stack called "Register & Preferences", this is a generic lib for handling preference data and app registration. I plan to make it as plug & play as possible. Currently it's very handy. You just attach it to you standalone and send command "SoapShareware " it will handle everything, check if it's the first run, register a preference file with the day it was instaled in a machine and also the days to run info. If the preference file already exists, it will read it and return it's contents by a callback handler. Now comes the trick part, how to calculate if the shareware has expired. Is there a function to add days to a date and receive new date? Will I have to convert it to seconds and calculate? What you folks out there think it's wise to do... PS: This stack & XML-RPC Stack will soon be available at my homepage (just let me parse that damm xml) Cheers Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From klaus at major-k.de Wed Sep 24 10:55:00 2003 From: klaus at major-k.de (Klaus Major) Date: Wed Sep 24 10:55:00 2003 Subject: Some questions on caledar algebra. (or I've got a shareware engineeeeeeee) In-Reply-To: Message-ID: Boa tarde Andre, > As my knowledge of Revolution grows I decided two things: > > * All my lib stacks will be public domain with source so other (more > serious) developers may benefit and improve my work. > * Some of my apps will be shareware so I can buy Rev documentation (I > long for that). > > Talking about my second topic, I decided to grow a little shareware > engine. I made a stack called "Register & Preferences", this is a > generic lib for handling preference data and app registration. I plan > to make it as plug & play as possible. Currently it's very handy. You > just attach it to you standalone and send command "SoapShareware > " it will handle everything, check if it's the first run, > register a preference file with the day it was instaled in a machine > and also the days to run info. If the preference file already exists, > it will read it and return it's contents by a callback handler. Wow, sounds really cool :-) > Now comes the trick part, how to calculate if the shareware has > expired. Is there a function to add days to a date and receive new > date? Will I have to convert it to seconds and calculate? What you > folks out there think it's wise to do... You can convert a date to dateitems, add the number of days to item 3 of it and convert back to date :-) dateitems: Very cool feature :-) on mouseup convert the date to dateitems ### today = 9/24/03 add 8 to item 3 of it ## just add 8 days convert it to date put it end mouseup ---> 10/2/03 Maravilhoso!!! :-D > PS: This stack & XML-RPC Stack will soon be available at my homepage > (just let me parse that damm xml) > > Cheers > Andre Alves Garzia ? 2003 ? BRAZIL > http://www.soapdog.org Hope that helps... Adeus Klaus Major klaus at major-k.de www.major-k.de From eijkhout at cs.utk.edu Wed Sep 24 10:55:32 2003 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Wed Sep 24 10:55:32 2003 Subject: Looking for kind soul... In-Reply-To: References: Message-ID: >The seem to have jumped .7 10.2.7 was a release that only shipped with the first G5s. -- 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 alex at mindlube.com Wed Sep 24 10:59:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 10:59:01 2003 Subject: Some questions on caledar algebra. (or I've got a shareware engineeeeeeee) In-Reply-To: Message-ID: <5AA2FA88-EEA6-11D7-B440-000393529642@mindlube.com> On Wednesday, September 24, 2003, at 09:35 AM, Andre Garzia wrote: > > Now comes the trick part, how to calculate if the shareware has > expired. Is there a function to add days to a date and receive new > date? Will I have to convert it to seconds and calculate? What you > folks out there think it's wise to do... Try convert command "The convert command can handle dates in dateItems format where one or more of the items is out of the normal range. This means you can add arbitrary numbers to an item in the dateItems and let the convert command handle the calculations that span minute, hour, day, month, and year boundaries." 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 Wed Sep 24 11:06:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 11:06:01 2003 Subject: automatic database query In-Reply-To: <20030924072206.47517.qmail@web11903.mail.yahoo.com> Message-ID: <59E85AA6-EEA7-11D7-B440-000393529642@mindlube.com> On Wednesday, September 24, 2003, at 01:22 AM, Jan Schenkel wrote: > If you want to learn more about the internal workings > and undocumented features of the QueryBuilder and > linked controls, have a look at the frontScript aptly > named 'revDatabase' > > Hope this helped, > Yes, thanks Jan! Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From soapdog at mac.com Wed Sep 24 11:09:01 2003 From: soapdog at mac.com (Andre Garzia) Date: Wed Sep 24 11:09:01 2003 Subject: Some questions on caledar algebra. (or I've got a shareware engineeeeeeee) In-Reply-To: Message-ID: <59FC53A4-EEA8-11D7-8454-00039387AE90@mac.com> On Wednesday, September 24, 2003, at 12:43 PM, Klaus Major wrote: > You can convert a date to dateitems, add the number of days to item 3 > of it and convert back to date :-) > > dateitems: Very cool feature :-) > > on mouseup > convert the date to dateitems ### today = 9/24/03 > add 8 to item 3 of it ## just add 8 days > convert it to date > put it > end mouseup > > ---> 10/2/03 > > Maravilhoso!!! :-D HaHaHaHa Oh Boy!!!!!!! Never dreamed of this! Thank you Klaus. I solved it using the hard way, I first read the instalation date in seconds from the prefs file. Then I get custom property cDaysToRun from the desired stack and convert it to seconds (the hard way!), sum the instalation data and my DaysToRun in Seconds and compare it to the current date in seconds. If Current date is bigger (or equal) software has expired, send message with error to desired stack. If the ExpireDate is bigger than we got some time left, send message back to desired stack with the ammount of days left in Second format! You can do little tricks like showing users exactly when it will expire in dd/mm/yy hh:mm:ss format.... it's a dumb geek solution, but it's working! This stack will be released tomorrow. Thank you again!!!! (if only I waited another 10 minutes and checked mail, it would be all so much clearer) Andre -- Get Shareware info get the cDaysToRun of stack pid if it is empty then get field "daysfield" end if put it into tDaysToRun if checkFile(pFile) then get ReadRegisterInfo(pFile) convert it to seconds put it into tInitialRun put tDaysToRun * 24 *60 * 60 into tDayInc put tDayInc + tInitialRun into tExpireDate if (tExpireDate <= tDateInSec) then put "err: software expired." into it else get tExpireDate - tDateInSec end if send "echoRegister it" to pid else get saveRegisterInfo(pFile) send "echoRegister it" to pid end if Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From kray at sonsothunder.com Wed Sep 24 11:22:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 24 11:22:00 2003 Subject: selectedChunk under Windows In-Reply-To: Message-ID: <00b801c382b6$3dc909b0$6501a8c0@LightningFlash> It is probably the fact that the "traversalOn" of the button is TRUE. Turn it off and you should be OK. The reason is that if the traversalOn of the button is true, the field loses its focus when you mouseDown on the button, so when it runs the mouseUp script, nothing is currently selected and hence no selectedChunk. 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: Wednesday, September 24, 2003 10:30 AM > To: use-revolution at lists.runrev.com > Subject: selectedChunk under Windows > > > Is there something special about the > selectedChunk under Windows? I have a stack where > the user clicks on a word (or a sequence of > words) in a locked field, and then on a button to > have a given handler operate on the selection. > The problem is that the selectedChunk seems to > get lost immediately in the Windows build (tested > under Windows 2000). For instance, I have a > statement to trap for no selection being made: > > if the selectedChunk is empty then > ? answer "First click on a word to be messed around with." > ? exit thisHandler > end if > > This always evaluates to true, while the Mac OS X > build behaves as expected. (And of course if I > remove the statement, there is no result from the > following statements that should work on the > selectedChunk.) > > The button calls a handler in the stack script, > and I have tried putting the selectedChunk into a > global already in the button script and > reselecting it in the stack script, in case > Windows releases the selection between the button > and the handler, but with the same results. > Suggestions are very welcome. > > -- > --- > Kjetil R? Hauge, U. of Oslo, PO Box 1030 Blindern, N-0315 > Oslo, Norway Tel. +47/22856710, fax +47/22854140 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From cowhead at mac.com Wed Sep 24 11:24:00 2003 From: cowhead at mac.com (mark) Date: Wed Sep 24 11:24:00 2003 Subject: proper way to Geo Message-ID: <30A6D203-EEAA-11D7-AE20-000A956E5E04@mac.com> Well, after much slogging, I finally got this to work (knock on wooden head) but Im wondering if this is the "proper" way. I used the geometry pane to nail an object on each card. But when the stack is resized, only the current cards geometry is updated so on going to the next card, everything is wacked. So I finally got it working with the following in the stack script: on preopenCard lock screen revUpdateGeometry unlock screen end preopenCard I tried just sending the resizeStack message on opencard, but it kept generating an error. On the other hand, my Rev has been funky lately, so I think she's ready for a reinstall. But is this the proper way to handle this? And why isn't this obvious issue covered in the tutorial? tia, mark From pgilmartin at ermventures.net Wed Sep 24 11:41:00 2003 From: pgilmartin at ermventures.net (Patrick Gilmartin) Date: Wed Sep 24 11:41:00 2003 Subject: automatic database query References: <59E85AA6-EEA7-11D7-B440-000393529642@mindlube.com> Message-ID: <000801c382b9$199a7760$0101a8c0@PJG> Could you clarify where one finds the frontScript named 'revDatabase' Thanks, Patrick Gilmartin ----- Original Message ----- From: "Alex Rice" To: Sent: Wednesday, September 24, 2003 8:54 AM Subject: Re: automatic database query > > On Wednesday, September 24, 2003, at 01:22 AM, Jan Schenkel wrote: > > > If you want to learn more about the internal workings > > and undocumented features of the QueryBuilder and > > linked controls, have a look at the frontScript aptly > > named 'revDatabase' > > > > Hope this helped, > > > Yes, thanks Jan! > > > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at mindlube.com Wed Sep 24 12:05:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 12:05:01 2003 Subject: automatic database query In-Reply-To: <000801c382b9$199a7760$0101a8c0@PJG> Message-ID: <8A20875D-EEAF-11D7-B440-000393529642@mindlube.com> On Wednesday, September 24, 2003, at 10:29 AM, Patrick Gilmartin wrote: > Could you clarify where one finds the frontScript named 'revDatabase' You can use the Message Box: click on the front scripts button (icon = script in front of a rectangle), then select the frontscript you want, and click Edit Script. Or double click the frontscript name. 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 Wed Sep 24 12:05:27 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 12:05:27 2003 Subject: automatic database query In-Reply-To: <000801c382b9$199a7760$0101a8c0@PJG> Message-ID: On Wednesday, September 24, 2003, at 10:29 AM, Patrick Gilmartin wrote: > Could you clarify where one finds the frontScript named 'revDatabase' > And also put a check on "show Revolution UI front scripts" Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From pgilmartin at ermventures.net Wed Sep 24 12:14:00 2003 From: pgilmartin at ermventures.net (Patrick Gilmartin) Date: Wed Sep 24 12:14:00 2003 Subject: automatic database query References: Message-ID: <000801c382bd$9a3b6740$0101a8c0@PJG> Thanks, I already realized the check mark requirement. Thanks, Patrick Gilmartin ----- Original Message ----- From: "Alex Rice" To: Sent: Wednesday, September 24, 2003 9:53 AM Subject: Re: automatic database query > > On Wednesday, September 24, 2003, at 10:29 AM, Patrick Gilmartin wrote: > > > Could you clarify where one finds the frontScript named 'revDatabase' > > > > And also put a check on "show Revolution UI front scripts" > > > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Sep 24 13:09:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 24 13:09:01 2003 Subject: When the ENGINE for IRIX ??? In-Reply-To: <200309241046.AA68419740@mail1.intranet.hybride.com> Message-ID: Steve Pelchat wrote: > Hi i would like to know , when the engin for IRIX (revolution 2.1), will be > available !!! > > Because i can't compile to IRIX.... At the RunRev download page at the Irix, BSD, and many other links are 404. The adjunct FTP site has only three or four engines for the 12 supported platforms. In addition to those two locatios, a third is listed in the Rev 1.x docs, and fourth at a different URL in the Rev 2.x docs. Of the four locations for downloading, it doesn't seem any have all versions for all supported plaforms, as the one-stop download page at metacard.com. Rev folks: Can we reduce the number of download archive locations from four to one, and make that one complete? What's the plan? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From janschenkel at yahoo.com Wed Sep 24 13:12:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 24 13:12:00 2003 Subject: proper way to Geo In-Reply-To: <30A6D203-EEAA-11D7-AE20-000A956E5E04@mac.com> Message-ID: <20030924180013.18068.qmail@web11904.mail.yahoo.com> --- mark wrote: > Well, after much slogging, I finally got this to > work (knock on wooden > head) but Im > wondering if this is the "proper" way. I used the > geometry pane to > nail an object on each card. But when the stack is > resized, only the > current cards geometry is updated so on going to the > next card, > everything is wacked. So I finally got it working > with the following > in the stack script: > > on preopenCard > lock screen > revUpdateGeometry > unlock screen > end preopenCard > > I tried just sending the resizeStack message on > opencard, but it kept > generating an error. On the other hand, my Rev has > been funky lately, > so I think she's ready for a reinstall. But is this > the proper way to > handle this? And why isn't this obvious issue > covered in the tutorial? > > tia, > mark > > Hi Mark, Trust me, I used to add those lines as well. But in the Inspector Palette for the card, you can also tick the checkbox "Update before opening card" I agree with you this might better be the default behaviour, but that's an entirely different story, an you could add it as a change request to bugzilla. 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 alex at mindlube.com Wed Sep 24 13:20:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 13:20:01 2003 Subject: script editor error that drives me insane Message-ID: <24BEE9D0-EEBA-11D7-B440-000393529642@mindlube.com> Sometimes I see this error message, and just dismiss it as one of those bizarre not-replicable bugs that we see in the Rev IDE. Usually the error goes away after only adding or removing an empty line from the script and hitting Apply again. Today I'm editing a script, getting the error and and can't get the darn error to go away! What is it? What should I look for in my code to stop it? Hopefully it's something dumb I'm doing, and not a *severely aggravating* script editor bug. The error message is: ! compiling at 12:06:14 PM Type - Function: missing ')' Object- browse [this is the card whose script I'm editing] Line - local lCachedAuthorList [this is line 1 of the script] Clicking the script button jumps to the first line in my script, which is simply a script-local variable declaration. I've seen this error many times in various different projects- it's just a transient aspect of using script editor, it seems. What is going on here? I've looked for all opening parens and verified they all match closing parens. What's stranger, the script *does* seem to be getting compiled, at least partially. Thanks in advance anyone, 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 Wed Sep 24 13:23:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 13:23:00 2003 Subject: When the ENGINE for IRIX ??? In-Reply-To: Message-ID: <90F8E56C-EEBA-11D7-B440-000393529642@mindlube.com> On Wednesday, September 24, 2003, at 11:57 AM, Richard Gaskin wrote: > At the RunRev download page at > the Irix, BSD, and > many > other links are 404. It's not just the downloads page! The entire site needs to be run through a link checker and html validator. I sent a message about this to support at runrev.com, 5 days ago, but got no response so far. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From sralston at dyton.com Wed Sep 24 13:28:00 2003 From: sralston at dyton.com (Steve Ralston) Date: Wed Sep 24 13:28:00 2003 Subject: MCsocket...application error Message-ID: Hi all, I'm working on an internet-connected app that looks for files on my server. When I fire up the .rev file I'm working in, I've started getting an error message. The error window title is "MCsocket:Revolution.exe - Application Error". The body of the error is "The instruction at "0x00499068" referenced memory at "0x00000008". The memory could not be "read". Click onOK to terminate the program. Click on CANCEL to debug the program." So with this happening, I can't open my .rev file to modify the code! Any way to I can get back into my code? Thanks! Steve Ralston From revlist at cableone.net Wed Sep 24 13:28:21 2003 From: revlist at cableone.net (Chris Sheffield) Date: Wed Sep 24 13:28:21 2003 Subject: script editor error that drives me insane In-Reply-To: <24BEE9D0-EEBA-11D7-B440-000393529642@mindlube.com> Message-ID: <002101c382c8$01e3c400$65fea8c0@chris1> Do you have a bunch of blank lines at the end of your script? I've seen that happen before. Could be the problem. 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 Alex Rice Sent: Wednesday, September 24, 2003 12:09 PM To: use-revolution at lists.runrev.com Subject: script editor error that drives me insane Sometimes I see this error message, and just dismiss it as one of those bizarre not-replicable bugs that we see in the Rev IDE. Usually the error goes away after only adding or removing an empty line from the script and hitting Apply again. Today I'm editing a script, getting the error and and can't get the darn error to go away! What is it? What should I look for in my code to stop it? Hopefully it's something dumb I'm doing, and not a *severely aggravating* script editor bug. The error message is: ! compiling at 12:06:14 PM Type - Function: missing ')' Object- browse [this is the card whose script I'm editing] Line - local lCachedAuthorList [this is line 1 of the script] Clicking the script button jumps to the first line in my script, which is simply a script-local variable declaration. I've seen this error many times in various different projects- it's just a transient aspect of using script editor, it seems. What is going on here? I've looked for all opening parens and verified they all match closing parens. What's stranger, the script *does* seem to be getting compiled, at least partially. Thanks in advance anyone, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From wmb at internettrainer.com Wed Sep 24 13:31:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Sep 24 13:31:00 2003 Subject: 2.1 starts very slow In-Reply-To: <7027312C-ED0A-11D7-9B20-000A95763ABC@macosx.com> Message-ID: Hi list, I have compared an actual 2.1 build with a older 2.0.x build. 2.1 is the same program (same included) with some minor bugfixes. Buz surprisingly it needs 3(!) times longer to start. 2.0x build was about 3-4 seconds the 2.1 needs about 10 seconds. Thats a big difference. One of my selling arguments ist. Starts very fast like in was in 2.0 and 1.1.1 and 1.0 to... But 10 seconds are nto so fast(!). Any idea what this can be..? 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 janschenkel at yahoo.com Wed Sep 24 13:34:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 24 13:34:01 2003 Subject: MCsocket...application error In-Reply-To: Message-ID: <20030924182256.88972.qmail@web11901.mail.yahoo.com> --- Steve Ralston wrote: > Hi all, > > I'm working on an internet-connected app that looks > for files on my > server. When I fire up the .rev file I'm working in, > I've started > getting an error message. The error window title is > "MCsocket:Revolution.exe - Application Error". The > body of the error is > "The instruction at "0x00499068" referenced memory > at "0x00000008". The > memory could not be "read". Click onOK to terminate > the program. Click > on CANCEL to debug the program." > > So with this happening, I can't open my .rev file to > modify the code! > Any way to I can get back into my code? > > Thanks! > > Steve Ralston > Hi Steve If it's caused by code that is executed when the stack opens, you might try : lock messages answer file "Which stack is giving problems?" go stack it unlock messages Drop a note if that doesn't cut 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 rgmiller at pacbell.net Wed Sep 24 13:38:01 2003 From: rgmiller at pacbell.net (Ray G. Miller) Date: Wed Sep 24 13:38:01 2003 Subject: "Is A Date" Question References: <200309241356.JAA15925@www.runrev.com> Message-ID: <3F71E1BD.9070008@pacbell.net> From: mcdomi at free.fr (Dom) > I go with a question about "is a date" problem. > As my stack goes with customized date format, I want to insure that the > user (me, for instance) entered a valid date... > I may be wrong, but it seems that the question " is a date" is true ONLY > with the standard US-english date format, i.e. The "Is A Date" problem has been around since HyperCard... In one app we developed, the date was crucial, so we force the user to choose from three pop btns: "Month", "Day", and "Year". It's clunky for the user but many users will somehow get it "wrong". 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 janschenkel at yahoo.com Wed Sep 24 13:46:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 24 13:46:00 2003 Subject: "Is A Date" Question In-Reply-To: <3F71E1BD.9070008@pacbell.net> Message-ID: <20030924183425.83878.qmail@web11908.mail.yahoo.com> --- "Dom" wrote: > I go with a question about "is a date" problem. > As my stack goes with customized date format, I > want to insure that the > user (me, for instance) entered a valid date... > > I may be wrong, but it seems that the question " > is a date" is true ONLY > with the standard US-english date format It's an old problem, indeed ; but I found that you could try something like this : -- on closeField put the text of me into tDate convert tDate from system date to date if the result is not empty then answer error \ "Please enter a date in the format :" && \ the short system date select text of me else pass closeField end closeField -- 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 alex at mindlube.com Wed Sep 24 13:46:24 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 13:46:24 2003 Subject: script editor error that drives me insane In-Reply-To: <002101c382c8$01e3c400$65fea8c0@chris1> Message-ID: On Wednesday, September 24, 2003, at 12:16 PM, Chris Sheffield wrote: > Do you have a bunch of blank lines at the end of your script? I've > seen > that happen before. Could be the problem. I know what you mean- I opened a bugzilla bug about script editor appending lots of blank lines at the end of the script. Sometimes it is associated with a similar error message involving parenthesis, I think. However, in this case- there is no blank lines at the end. :-( Also, the blank lines seem to be one of the symptoms not the cause or trigger of the bug. 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 Wed Sep 24 14:01:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 14:01:00 2003 Subject: script editor error that drives me insane In-Reply-To: <24BEE9D0-EEBA-11D7-B440-000393529642@mindlube.com> Message-ID: On Wednesday, September 24, 2003, at 12:08 PM, Alex Rice wrote: > ! compiling at 12:06:14 PM > Type - Function: missing ')' > Object- browse [this is the card whose script I'm editing] > Line - local lCachedAuthorList [this is line 1 of the script] I'm also getting this error when using my MLXEditor plugin- which sets the script property directly and doesn't use the builtin script editor. So I guess it's a compilation problem. But again- when the error occurs, just add a blank line in the script, save again- and no error. Until the compiler says the script is bad again after some more editing. I wish I could come up with a recipe for this one. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From preid at reidit.co.uk Wed Sep 24 14:03:00 2003 From: preid at reidit.co.uk (Peter Reid) Date: Wed Sep 24 14:03:00 2003 Subject: Rev Player In-Reply-To: <158.24f2e1db.2ca2312e@aol.com> References: <158.24f2e1db.2ca2312e@aol.com> Message-ID: <6.0.0.22.2.20030924193238.01b9ea20@pop3.demon.co.uk> >>I have produced a small number of CBTs for a UK government >>organisation who need to validate all executables for security >>reasons. Supplying a single player with add-on stacks makes life >>easier in this respect. It is easier to persuade public sector >>customers that they are only running a single program with >>downloadable modules than it is to say they need to allow an >>increasing number of new executables. They get twitchy about the >>security implications of new EXE files! >> >>Also, it minimises network traffic if each client workstation has a >>single player installed which is set up as the helper-app within the >>browser so the user can download any of a number of CBT stacks >>without having to download the player engine each time or have to >>decide what to do with an executable (with attendant "security >>warnings" from their browser!). >> >>Cheers >> >>Peter > > >Peter-have you got a sample player we could look at? > >Jack I'm sorry that I don't. What I failed to make clear is that I did this previous development using MetaCard before I switched to using Rev. MetaCard supported a Player approach - you simply ran the usual engine but without a valid "mchome.mc" licence file. When run without the licence file, MetaCard can be used only for running "*.mc" files and not the development environment, i.e. it functioned as a Player not a development tool. The Player consisted of the "mc.exe" file (1.3Mb) plus the "mctools.mc" (881Kb) support file. I promote this way of working with a free giveaway program on my web site - CoalBurner, a simulation of a coal-fire power station, which I produced to help my younger son with a school project. You can see and download this from my web site if you're interested (http://www.reidit.demon.co.uk/prodcoaldetails.htm). It includes a brief description and support for the use of a Player plus downloadable stacks. Best regards Peter Peter Reid Reid-IT Limited 71 Leconfield Rd, Loughborough, Leics. LE11 3SP, UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 Mobile: 07778 632533 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From dsc at swcp.com Wed Sep 24 14:19:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 14:19:00 2003 Subject: script editor error that drives me insane In-Reply-To: <24BEE9D0-EEBA-11D7-B440-000393529642@mindlube.com> Message-ID: <5EB072C0-EEC2-11D7-A90A-000A9567A3E6@swcp.com> On Wednesday, September 24, 2003, at 12:08 PM, Alex Rice wrote: > I've seen this error many times in various different projects- it's > just a transient aspect of using script editor, it seems. What is > going on here? I've looked for all opening parens and verified they > all match closing parens. What's stranger, the script *does* seem to > be getting compiled, at least partially. I get strange compiler errors at times. Sometimes they go away after a few applies. If not, I get rid of all the trailing "blank" lines. If that doesn't do it, I retype the offending line. Sometimes this occurs after an execution error. I think this shows up in two or three of reported bugs. I'm on OS X and I'm using 2.1. I think Revolution 2.1 for OS X is a debug build; maybe that affects error handling. Or maybe it is just the IDE error handling. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From lists at mangomultimedia.com Wed Sep 24 14:27:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed Sep 24 14:27:01 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file Message-ID: <6A4C7657-EEC3-11D7-A52E-000A956C462A@mangomultimedia.com> I have a program which creates a XML file that is then used by a Flash movie to create a menu. Flash MX supports Unicode text and so I am working on creating a Unicode (UTF-8) xml file which Flash can use. I create a sample XML file in BBEdit and set the file to UTF-8 encoding and was able to enter Japanese characters along with ASCII characters without a problem. This was parsed without a problem by Flash. I tried to create a file from Rev by pasting the contents of the XML file I made in BBEdit into a field and using the following code: open file tPath for write (also tried open file tPath for binary write) write unicodeText of field 1 to file tPath close file tPath The Japanese characters were turned into garbage characters when I opened the file in BBEdit. Is it possible to write a UTF encoded text file with Rev? If so, how? Some info on the unicode xml files that Flash MX supports: Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jacque at hyperactivesw.com Wed Sep 24 14:37:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Sep 24 14:37:00 2003 Subject: script editor error that drives me insane In-Reply-To: <24BEE9D0-EEBA-11D7-B440-000393529642@mindlube.com> References: <24BEE9D0-EEBA-11D7-B440-000393529642@mindlube.com> Message-ID: <3F71EFB6.4050405@hyperactivesw.com> On 9/24/03 1:08 PM, Alex Rice wrote: > Sometimes I see this error message, and just dismiss it as one of those > bizarre not-replicable bugs that we see in the Rev IDE. Usually the > error goes away after only adding or removing an empty line from the > script and hitting Apply again. I get a similar error in the MC IDE, though the exact error description is a little different. The insertion point always goes to the top of the script even if there is nothing there. The bad token always is empty (i.e., the engine doesn't know what it is.) I dismiss the error dialog, hit the Enter key a second time, and the script compiles fine. I think it is an engine compile problem, since it occurs in both IDEs. It has been bug-reported. It only seems to occur the first time you edit a script after opening a stack. Once you get the script to compile, it works fine after that until the stack is unloaded from RAM and then reopened again. I see it so often in MC that I've just become accustomed to hitting the Enter key enough times to dismiss the dialog and close the script editor, and then I continue working. It's been happening, I think, since the release of of the 2.1 engine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Wed Sep 24 14:47:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 14:47:00 2003 Subject: script editor error that drives me insane In-Reply-To: <5EB072C0-EEC2-11D7-A90A-000A9567A3E6@swcp.com> Message-ID: <394CE270-EEC6-11D7-9C64-000393529642@mindlube.com> On Wednesday, September 24, 2003, at 01:07 PM, Dar Scott wrote: > > I get strange compiler errors at times. Sometimes they go away after > a few applies. If not, I get rid of all the trailing "blank" lines. > If that doesn't do it, I retype the offending line. Sometimes this > occurs after an execution error. Thanks Dar, unfortunately this problem the compiler complains the offending line is the 1st line in the script- which has no parenthesis and doesn't help if I retype it. > I think this shows up in two or three of reported bugs. > > I'm on OS X and I'm using 2.1. I think Revolution 2.1 for OS X is a > debug build; maybe that affects error handling. Or maybe it is just > the IDE error handling. I don't know- the stack traces I've been getting in Rev 2.1 when Rev crashes don't have debug symbols in them. But that's probably another issue. 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 Wed Sep 24 14:52:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 14:52:00 2003 Subject: script editor error that drives me insane In-Reply-To: <3F71EFB6.4050405@hyperactivesw.com> Message-ID: On Wednesday, September 24, 2003, at 01:25 PM, J. Landman Gay wrote: > > I get a similar error in the MC IDE, though the exact error > description is a little different. The insertion point always goes to > the top of the script even if there is nothing there. The bad token > always is empty (i.e., the engine doesn't know what it is.) I dismiss > the error dialog, hit the Enter key a second time, and the script > compiles fine. I think it is an engine compile problem, since it > occurs in both IDEs. > > It has been bug-reported. It only seems to occur the first time you > edit a script after opening a stack. Once you get the script to > compile, it works fine after that until the stack is unloaded from RAM > and then reopened again. > > I see it so often in MC that I've just become accustomed to hitting > the Enter key enough times to dismiss the dialog and close the script > editor, and then I continue working. It's been happening, I think, > since the release of of the 2.1 engine. Sounds like what I'm seeing. Do you think calling the script from the message box could exacerbate the bug? I'm trying to debug a function from the message box, but not only am I getting this useless compile error, very frequently, I am also getting strange behavior where function parameters are getting emptied for no reason. Hmm... there was a message box bug about parameters getting emptied. Hmm. Today is just not productive for me. Guess I should restart Rev if I haven't already. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Wed Sep 24 15:04:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 24 15:04:00 2003 Subject: "Is A Date" Question In-Reply-To: <20030924183425.83878.qmail@web11908.mail.yahoo.com> Message-ID: <00f201c382d5$3a36a310$6501a8c0@LightningFlash> > on closeField > put the text of me into tDate > convert tDate from system date to date > if the result is not empty then > answer error \ > "Please enter a date in the format :" && \ > the short system date > select text of me > else pass closeField > end closeField It would be great if: convert tDate from system date to date would just work instead of bringing back "invalid date" when 'tDate' is properly formatted according to the system. Is this a bug or a feature request? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Wed Sep 24 15:08:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 15:08:00 2003 Subject: script editor error that drives me insane In-Reply-To: <394CE270-EEC6-11D7-9C64-000393529642@mindlube.com> Message-ID: <2BB9013E-EEC9-11D7-A90A-000A9567A3E6@swcp.com> On Wednesday, September 24, 2003, at 01:35 PM, Alex Rice wrote: > On Wednesday, September 24, 2003, at 01:07 PM, Dar Scott wrote: >> >> I get strange compiler errors at times. Sometimes they go away after >> a few applies. If not, I get rid of all the trailing "blank" lines. >> If that doesn't do it, I retype the offending line. Sometimes this >> occurs after an execution error. > > Thanks Dar, unfortunately this problem the compiler complains the > offending line is the 1st line in the script- which has no parenthesis > and doesn't help if I retype it. I get lots of error messages not just parentheses messages. I sometimes get first line complaints and sometimes get other line errors. These might all be separate bugs, but they also might be the same bug. Dar Scott From jacque at hyperactivesw.com Wed Sep 24 15:21:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Sep 24 15:21:00 2003 Subject: script editor error that drives me insane In-Reply-To: References: Message-ID: <3F71F9E5.2030609@hyperactivesw.com> On 9/24/03 2:40 PM, Alex Rice wrote: > Sounds like what I'm seeing. Do you think calling the script from the > message box could exacerbate the bug? I doubt it. I get the error no matter how I bring up the script. The problem isn't in the opening of the script editor, it is in the compilation when the editor closes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Wed Sep 24 15:30:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 24 15:30:00 2003 Subject: "Is A Date" Question In-Reply-To: <00f201c382d5$3a36a310$6501a8c0@LightningFlash> Message-ID: <20030924201849.98480.qmail@web11908.mail.yahoo.com> --- Ken Ray wrote: > > > on closeField > > put the text of me into tDate > > convert tDate from system date to date > > if the result is not empty then > > answer error \ > > "Please enter a date in the format :" > && \ > > the short system date > > select text of me > > else pass closeField > > end closeField > > It would be great if: > > convert tDate from system date to date > > would just work instead of bringing back "invalid > date" when 'tDate' is > properly formatted according to the system. Is this > a bug or a feature > request? > It converts correctly for me on a Dutch Win2K, from sytem date to date ; so it could be interesting to check on what combination it fails :-) 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 Tom.Cole at asu.edu Wed Sep 24 15:44:00 2003 From: Tom.Cole at asu.edu (Thomas Cole) Date: Wed Sep 24 15:44:00 2003 Subject: Can't see Buttons in Application Builder Message-ID: <3996AE5EBEF964418D80953BDCABFF5606AB1DBE@ex1.asurite.ad.asu.edu> I still can't see but the very tippy tops of the buttons in the dialog box for building an application -- or is it called distribution maker? The bottom half is cut off. I can click those buttons (barely) and build standalones, but it would be nice to see the labels on them and know what the options are that I'm choosing. I sometimes can see that two are available for clicking. Does anyone have any new ideas about how I can get a complete dialog box to come up? Many thanks, Tom From jperryl at ecs.fullerton.edu Wed Sep 24 16:37:00 2003 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed Sep 24 16:37:00 2003 Subject: OT: Our collective futures ... In-Reply-To: <9c.359b22a4.2ca2691c@aol.com> Message-ID: Thus proving we humans HAVE come along way... at least some of us have ;-) Judy On Tue, 23 Sep 2003 HyperChris at aol.com wrote: > > ... be sure and catch the preferred IDE reference quoted under "In the News" > > http://www.newtechusa.com/ppi/main.asp > > _______________________________________________ > 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 Sep 24 16:58:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Wed Sep 24 16:58:00 2003 Subject: sacrifice a chicken? Message-ID: I ordered RunRev Enterprise at the end of last month (!) and am still waiting for my license key. I received one email from Heather on the 9th asking for some more details which I emailed back, after that - silence. Is anyone else on the list here having a similar experience? If in fact they are buried with orders I'm prepared to be understanding, if not sympathetic (after all, it's what a friend of mine calls a "luxury problem" - the sort of problem you want to have and which therefore doesn't get any sympathy from others). Emails to RunRev get no reply, not even of the automated kind, apart from from Kevin earlier in the week (after I cc'd him) saying he'd look into it. I have been get by fine on the starter kit - and I'm a relaxed sort of person in general so I haven't been too worried about this. Certainly makes you appreciate Scott even more... Anyway, emailing the list is my second to last resort... If this doesn't work the chicken gets it. ~ R. -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From kray at sonsothunder.com Wed Sep 24 17:03:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 24 17:03:00 2003 Subject: "Is A Date" Question In-Reply-To: <20030924201849.98480.qmail@web11908.mail.yahoo.com> Message-ID: <010f01c382e5$eb132d10$6501a8c0@LightningFlash> > > It would be great if: > > > > convert tDate from system date to date > > > > would just work instead of bringing back "invalid > > date" when 'tDate' is > > properly formatted according to the system. Is this > > a bug or a feature > > request? > > > > It converts correctly for me on a Dutch Win2K, from > sytem date to date ; so it could be interesting to > check on what combination it fails :-) My mistake... I was doing "convert tDate to date" and not specifying "from system date". Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mcdomi at free.fr Wed Sep 24 17:06:01 2003 From: mcdomi at free.fr (Dom) Date: Wed Sep 24 17:06:01 2003 Subject: "Is A Date" Question In-Reply-To: <20030924201849.98480.qmail@web11908.mail.yahoo.com> Message-ID: <1g1tdk4.v7ufa0ov0dtsM%mcdomi@free.fr> Jan Schenkel wrote: > It converts correctly for me on a Dutch Win2K It's OK also for me -- Mac OS X Fr :-) the "convert tDate from system date to date" is really a bright idea, it saves from a complicated RegEx: in fact, I took a glance at the RR archives via Google, and got a nice RegEx template for my needs -- but the "convert" is nicer, since it doesn't assume anything about the date format, but "the system date" I tested it in a little demo stack I wrote for trying date entry with a sheet dialog. All I need is to enter a valid date, and make it a custom property. When the sheet is closed, this property is transferred to the mainstack. Why a sheet? Well, it's because I want to write a standalone diary, and because "ask" and "answer" don't work on the standalone. I keeped my diary, along with a standalone which launches the diary and quits. This very simple standalone weighs about 3.7 Mb!!!! -- From mcdomi at free.fr Wed Sep 24 17:06:20 2003 From: mcdomi at free.fr (Dom) Date: Wed Sep 24 17:06:20 2003 Subject: proper way to Geo In-Reply-To: <30A6D203-EEAA-11D7-AE20-000A956E5E04@mac.com> Message-ID: <1g1te33.52nv321vsb2iwM%mcdomi@free.fr> mark wrote: > only the current cards geometry is updated Hum... is "background behavior" checked for your group? Are your objects in a group? -- From kray at sonsothunder.com Wed Sep 24 17:06:43 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 24 17:06:43 2003 Subject: Can't see Buttons in Application Builder In-Reply-To: <3996AE5EBEF964418D80953BDCABFF5606AB1DBE@ex1.asurite.ad.asu.edu> Message-ID: <011001c382e6$4ad2e510$6501a8c0@LightningFlash> My workaround is to execute from a button: set the resizable of stack "revdistributionbuilder" to true save stack "revdistributionbuilder" that way, the next time it comes up, if it's cut off, you can just resize 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 > Thomas Cole > Sent: Wednesday, September 24, 2003 2:19 PM > To: use-revolution at lists.runrev.com > Subject: Can't see Buttons in Application Builder > > > I still can't see but the very tippy tops of the buttons in > the dialog box for building an application -- or is it called > distribution maker? The bottom half is cut off. I can click > those buttons (barely) and build standalones, but it would be > nice to see the labels on them and know what the options are > that I'm choosing. I sometimes can see that two are available > for clicking. Does anyone have any new ideas about how I can > get a complete dialog box to come up? > > Many thanks, > Tom > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From kray at sonsothunder.com Wed Sep 24 17:23:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 24 17:23:01 2003 Subject: "Is A Date" Question In-Reply-To: <1g1tdk4.v7ufa0ov0dtsM%mcdomi@free.fr> Message-ID: <011101c382e8$b7d94940$6501a8c0@LightningFlash> > Why a sheet? Well, it's because I want to write a standalone > diary, and because "ask" and "answer" don't work on the > standalone. Sounds like you didn't add them in when you built your standalone... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Wed Sep 24 17:43:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 17:43:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <6A4C7657-EEC3-11D7-A52E-000A956C462A@mangomultimedia.com> Message-ID: On Wednesday, September 24, 2003, at 01:15 PM, Trevor DeVore wrote: > I tried to create a file from Rev by pasting the contents of the XML > file I made in BBEdit into a field and using the following code: > > open file tPath for write (also tried open file tPath for binary write) > write unicodeText of field 1 to file tPath > close file tPath > > The Japanese characters were turned into garbage characters when I > opened the file in BBEdit. Is it possible to write a UTF encoded text > file with Rev? If so, how? The unicodeText property does not include a BOM (byte order marker). Does BBEdit need one? Flash files probably do. The unicodeText property returns a form of UTF-16. Is that what BBEdit is expecting? You might want to look at the hex of the original file and the hex of the created file. Or, better yet, the hex of a much smaller test file. Dar Scott From devin_asay at byu.edu Wed Sep 24 17:54:01 2003 From: devin_asay at byu.edu (Devin Asay) Date: Wed Sep 24 17:54:01 2003 Subject: Lobbying for MacWorld SF Pr-Conference session Message-ID: <8763CA36-EEDE-11D7-89B6-0030654E23A2@byu.edu> I would be there for sure. Bryan Turner said: > I just wanted to begin the process of lobbying for an all day > Revolution Session at MacWorld San Francisco. While a 90 minute > session is nice for marketing a product, as a user it would be great to > have a half day of "how to" and a half day of questions and answers. > Get us all in the same room so we can ask you questions and help each > other. All in favor . . . .? Devin Asay Humanities Technology and Research Support Center Brigham Young University From macbox at earthlink.net Wed Sep 24 18:32:00 2003 From: macbox at earthlink.net (Mac Dude) Date: Wed Sep 24 18:32:00 2003 Subject: Detecting MouseMove within scrollBar of fld In-Reply-To: <200309221601.MAA11682@www.runrev.com> Message-ID: Richard, thanks for the confirmation, I just added it to bugzilla. Oddly enough, the mouseMove IS generated when the pointer tool is active, just not the browse tool. >> I noticed today that a MouseMove message is not generated while the >> mouse is over the scrollBar portion of a fld. > > It seems to be a bug, but I can't find it in Bugzilla. Did you report > it? From macbox at earthlink.net Wed Sep 24 18:43:00 2003 From: macbox at earthlink.net (Mac Dude) Date: Wed Sep 24 18:43:00 2003 Subject: Determining the owner of a folder In-Reply-To: <200309221601.MAA11682@www.runrev.com> Message-ID: <5038BBEC-EEE7-11D7-806A-000393C67B60@earthlink.net> I'm fairly ignorant about Unix (though learning), so I'm unable to figure out how to tell if the current rev user has permission to open a folder. If I understand correctly, I can get the permissions via "the long folders", and from that I can see that, for instance, a folder with 777 permissions can be opened by anyone, and one with 700 permissions can only be opened by the owner (correct?), but how can I tell if the current user is indeed the owner? The only thing that comes to mind sounds sloppy, retrieve the specialFolderPath("desktop") and grab the userName from the returned path, then check any generated path to see if it is in the USERS folder and then if it is in the username's home folder or not. However, I don't think that would cover everything. Is there a nice clean method? This is under Mac OS X using revolution 2.1 From alex at mindlube.com Wed Sep 24 19:09:00 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 19:09:00 2003 Subject: Determining the owner of a folder In-Reply-To: <5038BBEC-EEE7-11D7-806A-000393C67B60@earthlink.net> Message-ID: On Wednesday, September 24, 2003, at 05:32 PM, Mac Dude wrote: > > I'm fairly ignorant about Unix (though learning), so I'm unable to > figure out how to tell if the current rev user has permission to open > a folder. If I understand correctly, I can get the permissions via > "the long folders", and from that I can see that, for instance, a > folder with 777 permissions can be opened by anyone, and one with 700 > permissions can only be opened by the owner (correct?), All correct. To be more specific 777 means read+write+execute. Octal values are a little weird. 7's mean permission is wide open, 5's mean readable+executable, 4's mean readable-only. > but how can I tell if the current user is indeed the owner? I'm just guessing here: because I don't see a way to do it in transcript. Maybe wrong. The long folders gives you the UID of the owner in the 8th column. It's the numeric UID, for example 501 on my OS box. There is the transcript global variable $USER. But there is no way to match the UID 501 to the $USER. One solution would be to put shell("id") and then compare it's output with the UID and $USER you have already. id output looks like uid=501(alex) gid=20(staff) groups=20(staff), 80(admin) Or you could do what you thought of already and check the uid of owner of the home directory, which directory path is available in $HOME. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From index at kenjikojima.com Wed Sep 24 19:16:01 2003 From: index at kenjikojima.com (Kenji Kojima) Date: Wed Sep 24 19:16:01 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <6A4C7657-EEC3-11D7-A52E-000A956C462A@mangomultimedia.com> Message-ID: Hi Trevor, > open file tPath for write (also tried open file tPath for binary write) > write unicodeText of field 1 to file tPath > close file tPath > > The Japanese characters were turned into garbage characters when I > opened the file in BBEdit. Is it possible to write a UTF encoded text > file with Rev? If so, how? If you like to save Japanese as UTF16, use this. on mouseUp ask file "" with "untitled.txt" put "binfile:" & it into tURL if the platform is "MacOS" then put "??" & unicodeText of fld 1 into tData -- you may not see "??" else if the platform is "Win32" then put "??" & unicodeText of fld 1 into tData end if end if put tData into URL(tURL) end mouseUp It's by Kiyoshi Kamogawa of Japanese mailing list. I cannot open this file in BBEdit Lite which I have, but can open in TextEdit on MacOSX or Hidemaru editor on Windows. I do not know how I can save Japanese text as UTF8. Rev unicode field still has problems. We've been expecting the next version since last year. -- Kenji Kojima http://www.kenjikojima.com/ From alex at mindlube.com Wed Sep 24 19:32:01 2003 From: alex at mindlube.com (Alex Rice) Date: Wed Sep 24 19:32:01 2003 Subject: Looking for kind soul... In-Reply-To: <62892695-EE9D-11D7-A90A-000A9567A3E6@swcp.com> Message-ID: <2138D00B-EEEE-11D7-9C64-000393529642@mindlube.com> On Wednesday, September 24, 2003, at 08:42 AM, Dar Scott wrote: > Hmmm. From Monte's request I should have inferred something was > wrong, and yet my response was to try to update (which fortunately did > not bring 10.2.8). I find the implications concerning my sense of > judgment enlightening. Sometimes it pays to be two steps behind :-) Myself I feel lucky- no problems with 10.2.8. 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 Wed Sep 24 19:50:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 19:50:01 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <6A4C7657-EEC3-11D7-A52E-000A956C462A@mangomultimedia.com> Message-ID: On Wednesday, September 24, 2003, at 01:15 PM, Trevor DeVore wrote: > The Japanese characters were turned into garbage characters when I > opened the file in BBEdit. Is it possible to write a UTF encoded text > file with Rev? If so, how? Yikes. My response ignored the UTF-8 need. Do you actually prefer UTF-8 to UTF-16? For file size? Are you actually getting the chars from a field? If all true, then you seem to need a function to convert from UTF-16 to UTF-8. But, if you can get by with UTF-16, then maybe you just need the BOM. Creating the BOM might be simply setting useUnicode to true and returning numToChar(-2); worth a try anyway. Dar Scott From index at kenjikojima.com Wed Sep 24 20:38:00 2003 From: index at kenjikojima.com (Kenji Kojima) Date: Wed Sep 24 20:38:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: Message-ID: <59E19948-EEF7-11D7-A82E-000A27941ED2@kenjikojima.com> > If all true, then you seem to need a function to convert from UTF-16 > to UTF-8. > > But, if you can get by with UTF-16, then maybe you just need the BOM. > Creating the BOM might be simply setting useUnicode to true and > returning numToChar(-2); worth a try anyway. > Rev unicode field has a line break trouble. You can not save as UTF8 without garbage text. You can see the correct text only the first line and may see some others. Before you have to fix it by something that I don't know. -- Kenji Kojima http://www.kenjikojima.com/ From index at kenjikojima.com Wed Sep 24 21:08:00 2003 From: index at kenjikojima.com (Kenji Kojima) Date: Wed Sep 24 21:08:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <59E19948-EEF7-11D7-A82E-000A27941ED2@kenjikojima.com> Message-ID: <6C14F069-EEFB-11D7-A82E-000A27941ED2@kenjikojima.com> > Rev unicode field has a line break trouble. > You can not save as UTF8 without garbage text. > You can see the correct text only the first line and may see some > others. > > Before you have to fix it by something that I don't know. I got an idea from Japanese mailing list just before. It works for UTF8. put number of lines of fld 1 into tNum repeat with i=1 to tNum put uniDecode(line i of fld 1, "UTF8") & return after tFld end repeat put tFld into URL "file:testUTF8.txt" Hope not only japanese text and only version 2.1. -- Kenji Kojima http://www.kenjikojima.com/ From dsc at swcp.com Wed Sep 24 21:10:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 21:10:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <59E19948-EEF7-11D7-A82E-000A27941ED2@kenjikojima.com> Message-ID: On Wednesday, September 24, 2003, at 07:26 PM, Kenji Kojima wrote: > Rev unicode field has a line break trouble. > You can not save as UTF8 without garbage text. > You can see the correct text only the first line and may see some > others. > > Before you have to fix it by something that I don't know. This seems to indicate even worse trouble. If UTF-16 cannot be converted to UTF-8, then it is not good UTF-16., I would think. Dar Scott From dsc at swcp.com Wed Sep 24 21:44:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 21:44:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <6C14F069-EEFB-11D7-A82E-000A27941ED2@kenjikojima.com> Message-ID: <7B143D06-EF00-11D7-A90A-000A9567A3E6@swcp.com> On Wednesday, September 24, 2003, at 07:56 PM, Kenji Kojima wrote: > I got an idea from Japanese mailing list just before. > It works for UTF8. I was wondering if uniDecode or uniEncode would apply since a language choice included "UTF8". However, since the dictionary description described the result as "single-byte text", I thought not. I read "single-byte text" as one byte per character; UTF-8 is one to four bytes per character. Dar Scott From michaell at unimelb.edu.au Wed Sep 24 21:58:00 2003 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Wed Sep 24 21:58:00 2003 Subject: Answer file with filter or of type Message-ID: How do I successfully filter the file list in OS X? The docs say I can use either filter or of type but I have to use four letter codes. "RSTK" works fine for rev stacks but "JPEG" does not work for files that the Finder declares to be of the kind "JPEG Image". How do I find valid codes? I would like a filter for *.jpg and *.bmp files but all I am achieving at the moment is frustration. Regards, -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From dsc at swcp.com Wed Sep 24 22:06:01 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 22:06:01 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <6C14F069-EEFB-11D7-A82E-000A27941ED2@kenjikojima.com> Message-ID: <9527840C-EF03-11D7-A90A-000A9567A3E6@swcp.com> On Wednesday, September 24, 2003, at 07:56 PM, Kenji Kojima wrote: > put number of lines of fld 1 into tNum > repeat with i=1 to tNum > put uniDecode(line i of fld 1, "UTF8") & return after tFld > end repeat > put tFld into URL "file:testUTF8.txt" This doesn't work for me. Should 'the unicodeText of ' be inserted just before 'line i of fld 1'? Dar Scott From monte at sweattechnologies.com Wed Sep 24 22:18:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 24 22:18:01 2003 Subject: Answer file with filter or of type In-Reply-To: Message-ID: Hi Michael Join the club ;-) You migh twant to vote for enhancements 605 and 673 Cheers Monte > How do I successfully filter the file list in OS X? > > The docs say I can use either filter or of type but I have to use > four letter codes. "RSTK" works fine for rev stacks but "JPEG" does > not work for files that the Finder declares to be of the kind "JPEG > Image". How do I find valid codes? > > I would like a filter for *.jpg and *.bmp files but all I am > achieving at the moment is frustration. > > Regards, > -- > Michael J. Lew > > Senior Lecturer > Department of Pharmacology > The University of Melbourne > Parkville 3010 > Victoria > Australia > > Phone +613 8344 8304 > > ** > New email address: michaell at unimelb.edu.au > ** > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From index at kenjikojima.com Wed Sep 24 22:25:00 2003 From: index at kenjikojima.com (Kenji Kojima) Date: Wed Sep 24 22:25:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <9527840C-EF03-11D7-A90A-000A9567A3E6@swcp.com> Message-ID: <44A4DDF7-EF06-11D7-A82E-000A27941ED2@kenjikojima.com> On 2003.Sep.24, at 10:54 PM, Dar Scott wrote: >> put number of lines of fld 1 into tNum >> repeat with i=1 to tNum >> put uniDecode(line i of fld 1, "UTF8") & return after tFld >> end repeat >> put tFld into URL "file:testUTF8.txt" > > This doesn't work for me. > > Should 'the unicodeText of ' be inserted just before 'line i of fld 1'? Worked both script with or without 'the unicodeText of ' on MacOSX and WindowsXP for Japanese text. -- Kenji Kojima http://www.kenjikojima.com/ From dsc at swcp.com Wed Sep 24 23:16:00 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 23:16:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <44A4DDF7-EF06-11D7-A82E-000A27941ED2@kenjikojima.com> Message-ID: <6F333A6C-EF0D-11D7-A90A-000A9567A3E6@swcp.com> On Wednesday, September 24, 2003, at 09:13 PM, Kenji Kojima wrote: > Worked both script with or without 'the unicodeText of ' > on MacOSX and WindowsXP for Japanese text. I tried it with Japanese text I pulled off of a web page and pasted in. It had different values for fields with spaces and quotation marks. Other than that it seemed to be the same. The problem with not using 'the unicodeText of ' seems to be the text of the field in Japanese uses single byte encodings for some characters. It looks like the more general solution is to use 'the unicodeText of '. I didn't even realize I could do that with lines until I fiddled with this. Dar Scott From dsc at swcp.com Wed Sep 24 23:30:02 2003 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 24 23:30:02 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <6C14F069-EEFB-11D7-A82E-000A27941ED2@kenjikojima.com> Message-ID: <58A74E66-EF0F-11D7-A90A-000A9567A3E6@swcp.com> On Wednesday, September 24, 2003, at 07:56 PM, Kenji Kojima wrote: > put number of lines of fld 1 into tNum > repeat with i=1 to tNum > put uniDecode(line i of fld 1, "UTF8") & return after tFld > end repeat > put tFld into URL "file:testUTF8.txt" Does this work? put uniDecode(the unicodeText of fld 1, "UTF8") into URL "binfile:testUTF8.txt" In some tests cutting and pasting random web text, I was not able to see a difference. Maybe I didn't hit upon the end-of-line problems. (Note that I changed file: to binfile:.) Dar Scott From pixelbird at interisland.net Thu Sep 25 00:04:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Thu Sep 25 00:04:00 2003 Subject: Stop the mailing list In-Reply-To: <200309241356.JAA15925@www.runrev.com> Message-ID: Steve, > Date: Wed, 24 Sep 2003 10:01:37 -0400 > From: "Steve Pelchat" > Subject: Stop the mailing list > > Hi , this is possible to stop the mailling list.... > thanx.... ---------- No. Works this way: To subscribe or unsubscribe via the World Wide Web, visit http://lists.runrev.com/mailman/listinfo/use-revolution or, via email, send a message with subject or body 'help' to use-revolution-request at lists.runrev.com HTH, Ken N. From tuviah at runrev.com Thu Sep 25 00:26:03 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 25 00:26:03 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file References: <200309250317.XAA10021@www.runrev.com> Message-ID: <010701c38323$e8ad2060$6372fea9@user> The syntax would be put unidecode(the unicodetext of fld 1,"utf8") into ttext someone reported a problem with unidecode (bug 40) which was fixed. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From tuviah at runrev.com Thu Sep 25 00:30:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 25 00:30:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file References: <200309250317.XAA10021@www.runrev.com> Message-ID: <010b01c38324$6fc48fc0$6372fea9@user> >I was wondering if uniDecode or uniEncode would apply since a language >choice included "UTF8". However, since the dictionary description >described the result as "single-byte text", I thought not. I read >"single-byte text" as one byte per character; UTF-8 is one to four >bytes per character. Sounds like a documentation bug. Uniencode converts the specified format to unicode, and unidecode converts unicode to the specified format. A common question is how to convert latin extended characters to UTF8. You would have to do something like put unidecode(uniencode(somelatintext),"utf8") Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From jeanne at runrev.com Thu Sep 25 00:46:01 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Sep 25 00:46:01 2003 Subject: When the ENGINE for IRIX ??? In-Reply-To: <90F8E56C-EEBA-11D7-B440-000393529642@mindlube.com> References: <90F8E56C-EEBA-11D7-B440-000393529642@mindlube.com> Message-ID: At 12:11 PM -0600 9/24/2003, Alex Rice wrote: >It's not just the downloads page! The entire site needs to be run >through a link checker and html validator. I sent a message about >this to support at runrev.com, 5 days ago, but got no response so far. Sorry about that - I thought I'd responded to you. I'm aware of the problem and I'm working on it. More soon. I'll check on the engine dearth. -- 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 chipp at chipp.com Thu Sep 25 01:17:00 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 25 01:17:00 2003 Subject: Special offer for RunRev users... Message-ID: Hi all, Lately, I've been spending a lot of time looking into marketing our products on Linux. I've discovered the newly released Lindows 4.0..and frankly, I'm blown away. Not only at the ease of install and ease of use, but also their marketing model, which makes it really easy for RR (and other) developers to post products for sale using their "Click-N-Run" technology. They also have a $29 CD which runs ENTIRELY off the CD on Intel machines --so, you can try it out if you like, without having to install anything. I've tried it on all 6 machines I have access to, and it works great on all of them. I negotiated a deal with Lindows to allow for free downloads of this CD for a limited time. I think this is a great marketing opportunity for us all. You can check out my article "The case for Lindows from a Revolution developer's point of view." and fill out the form at the bottom of the page to get access to the CD download. It's all at: Also, I'm interested in feedback any of you have regarding your experience with Lindows. best, Chipp Walters From joel at alpsgiken.gr.jp Thu Sep 25 01:44:00 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Thu Sep 25 01:44:00 2003 Subject: EBCDIC to ASCII converter In-Reply-To: References: Message-ID: <20030925152925.E27D.JOEL@alpsgiken.gr.jp> > Has anyone maybe created a converter for EDCDIC files to plain ASCII? I know > there are several available as C-routines and conversiontables are available > on the web, but why invent the wheel several times.... I know I'm not being helpful here, but several questions come to mind, like, which EBCDIC? But for my own interest, I'm wondering how much of a hit on speed one would take to do the conversion in metatalk, as opposed to using an external library written in C? As a suggestion, one thing I like to do when moving conversion tables from one language to another is write a short program in the language the table exists in to output the source code for the table in the target language. That way, you don't have to worry about muscle-eyeball coordination error. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) From alex at mindlube.com Thu Sep 25 01:57:00 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 25 01:57:00 2003 Subject: Special offer for RunRev users... In-Reply-To: Message-ID: On Thursday, September 25, 2003, at 12:05 AM, Chipp Walters wrote: > > You can check out my article "The case for Lindows ?from a Revolution > developer's point of view." and fill out the form at the bottom of the > page > to get access to the CD download. It's all at: > > AnbspCasenbspfornbspLindows.htm> Thanks Chipp- that's an interesting article. I used to think Knoppix was the best & easiest CD-bootable Linux distro, but now I gotta check out Lindows. The sales channel is certainly a huge deal for us shareware developers! Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From FlexibleLearning at aol.com Thu Sep 25 02:00:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu Sep 25 02:00:00 2003 Subject: Answer file with filter or of type Message-ID: <3ECCD845.6AE97D4B.DC67E5C7@aol.com> ---- How do I successfully filter the file list in OS X? I would like a filter for *.jpg and *.bmp files but all I am achieving at the moment is frustration. ---- Not sure about a bmp file code on a Mac as I thought it was PC format only, but if you have it simply add to the codes in line 1... put "JPEGGIFf" into tTypes answer file "Select a picture..." of type tTypes if the result is "Cancel" then exit to top /H From x at monsieurx.com Thu Sep 25 02:07:00 2003 From: x at monsieurx.com (MisterX) Date: Thu Sep 25 02:07:00 2003 Subject: EBCDIC to ASCII converter In-Reply-To: <20030925152925.E27D.JOEL@alpsgiken.gr.jp> Message-ID: Depends on what OS are you using... For Linux and moft you can use a shell binary. Im sure there's more than one linux console or command line tools for both linux and PC - google it. For Mac, you can use Rinaldi's ReplaceCharSet XFCN (http://perso.wanadoo.fr/frederic.rinaldi/) but you'll have to build an ascii char table and one for EBCDIC. First time I hear of such a thing since HC 1.0! ;) > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Joel Rees > Sent: Thursday, September 25, 2003 08:36 > To: use-revolution at lists.runrev.com > Subject: Re: EBCDIC to ASCII converter > > > > Has anyone maybe created a converter for EDCDIC files to plain > ASCII? I know > > there are several available as C-routines and conversiontables > are available > > on the web, but why invent the wheel several times.... > > I know I'm not being helpful here, but several questions come to mind, > like, which EBCDIC? > > But for my own interest, I'm wondering how much of a hit on speed one > would take to do the conversion in metatalk, as opposed to using an > external library written in C? > > As a suggestion, one thing I like to do when moving conversion tables > from one language to another is write a short program in the language > the table exists in to output the source code for the table in the > target language. That way, you don't have to worry about muscle-eyeball > coordination error. > > -- > Joel Rees, programmer, Systems Group > Altech Corporation (Alpsgiken), Osaka, Japan > http://www.alpsgiken.co.jp > ---------------------- > > "When software is patentable, anything is patentable." > (http://swpat.ffii.org) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From x at monsieurx.com Thu Sep 25 02:12:01 2003 From: x at monsieurx.com (MisterX) Date: Thu Sep 25 02:12:01 2003 Subject: Special offer for RunRev users... In-Reply-To: Message-ID: Chipp, Im not a fan of windows, and I've installed a couple of SUSEs which are great but were so far unproductive. Is that true about the SCO FUD from Moft? Didn't see it! Without the budget or the need for MacOS X, Lindows sounds great - again, no bloatware, just raw speed and clean GUIs! RR can bring in a big push for the platform and our beloved IDE, that's for sure an opportunity not to be missed! As far as experience goes, my colleagues laugh at Lindows but cherish Linux (suse for the most part). Depends on the solidity of the platform to "serve"... To develop, lindows sounds great... Hope it's up to par! > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chipp Walters > Sent: Thursday, September 25, 2003 08:06 > To: Use-Revolution > Subject: Special offer for RunRev users... > > > Hi all, > > Lately, I've been spending a lot of time looking into marketing > our products > on Linux. I've discovered the newly released Lindows 4.0..and frankly, I'm > blown away. Not only at the ease of install and ease of use, but > also their > marketing model, which makes it really easy for RR (and other) > developers to > post products for sale using their "Click-N-Run" technology. > > They also have a $29 CD which runs ENTIRELY off the CD on Intel > machines --so, you can try it out if you like, without having to install > anything. I've tried it on all 6 machines I have access to, and it works > great on all of them. > > I negotiated a deal with Lindows to allow for free downloads of > this CD for > a limited time. I think this is a great marketing opportunity for us all. > You can check out my article "The case for Lindows from a Revolution > developer's point of view." and fill out the form at the bottom > of the page > to get access to the CD download. It's all at: > > > > Also, I'm interested in feedback any of you have regarding your experience > with Lindows. > > best, > > Chipp Walters > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rodneytamblyn at paradise.net.nz Thu Sep 25 02:36:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Thu Sep 25 02:36:00 2003 Subject: Lindows - Knoppix In-Reply-To: Message-ID: Another Linux that runs entirely from CD is the excellent Knoppix product. ~ Rodney On Thursday, September 25, 2003, at 06:05 PM, Chipp Walters wrote: > Hi all, > > Lately, I've been spending a lot of time looking into marketing our > products > on Linux. I've discovered the newly released Lindows 4.0..and frankly, > I'm > blown away. Not only at the ease of install and ease of use, but also > their > marketing model, which makes it really easy for RR (and other) > developers to > post products for sale using their "Click-N-Run" technology. > > They also have a $29 CD which runs ENTIRELY off the CD on Intel > machines --so, you can try it out if you like, without having to > install > anything. I've tried it on all 6 machines I have access to, and it > works > great on all of them. > > I negotiated a deal with Lindows to allow for free downloads of this > CD for > a limited time. I think this is a great marketing opportunity for us > all. > You can check out my article "The case for Lindows ?from a Revolution > developer's point of view." and fill out the form at the bottom of the > page > to get access to the CD download. It's all at: > > AnbspCasenbspfornbspLindows.htm> > > Also, I'm interested in feedback any of you have regarding your > experience > with Lindows. > > best, > > Chipp Walters > > > > > > > _______________________________________________ > 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 joel at alpsgiken.gr.jp Thu Sep 25 02:43:01 2003 From: joel at alpsgiken.gr.jp (Joel Rees) Date: Thu Sep 25 02:43:01 2003 Subject: SUMMARY: Re: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <000801c382aa$c9abb330$b2ea5144@fatal7lcf637rj> References: <4BFFB2DE-EBE4-11D7-B858-003065683ECC@inspiredlogic.com> <000801c382aa$c9abb330$b2ea5144@fatal7lcf637rj> Message-ID: <20030925161622.E27F.JOEL@alpsgiken.gr.jp> > I also don't like the user having to scroll thousands of lines of gibberish > until one that they like or even makes sense pops up. I did this program in C some fifteen or so years ago. Wrote an article for Rainbow (Color Computer) magazine on it, the first and only article I've published. My program only generated the raw list. I find it interesting that the letter-to-key association list supplied by Geoff does not match the list I used. I supposed different countries use different associations? Maybe different phone companies? It would be fun to do with Japanese, if I had the time. The only way to filter out the dead stuff is to filter against some sort of a spelling dictionary, which kind of points to another solution (which I have not implemented, and which might be a useful exercise in password security problems). It's going to be a long list, anyway you build it, of course. A slightly different approach would be to build a little dialogue box that either takes a phone number and permutes it to letter combinations for you, or takes a word and permutes it the other way to phone numbers. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ---------------------- "When software is patentable, anything is patentable." (http://swpat.ffii.org) From x at monsieurx.com Thu Sep 25 03:41:00 2003 From: x at monsieurx.com (MisterX) Date: Thu Sep 25 03:41:00 2003 Subject: SUMMARY: Re: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <20030925161622.E27F.JOEL@alpsgiken.gr.jp> Message-ID: I have an associative NN program that does this. Im not finished porting it from C to transcript though. Too many other problems to resolve between MC and RR for the moment. But if you want to help out... let me know... The translation to transcript if finished but the code has a problem. The translation from pointer arrays to Transcript Arrays is not the easiest... > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Joel Rees > Sent: Thursday, September 25, 2003 09:35 > To: use-revolution at lists.runrev.com > Subject: Re: SUMMARY: Re: Fun project but fuzzy on logic. "PhoneCALLs" > > > > I also don't like the user having to scroll thousands of lines > of gibberish > > until one that they like or even makes sense pops up. > > I did this program in C some fifteen or so years ago. Wrote an article > for Rainbow (Color Computer) magazine on it, the first and only article > I've published. My program only generated the raw list. > > I find it interesting that the letter-to-key association list supplied > by Geoff does not match the list I used. I supposed different countries > use different associations? Maybe different phone companies? It would be > fun to do with Japanese, if I had the time. > > The only way to filter out the dead stuff is to filter against some sort > of a spelling dictionary, which kind of points to another solution > (which I have not implemented, and which might be a useful exercise in > password security problems). > > It's going to be a long list, anyway you build it, of course. > > A slightly different approach would be to build a little dialogue box > that either takes a phone number and permutes it to letter combinations > for you, or takes a word and permutes it the other way to phone numbers. > > -- > Joel Rees, programmer, Systems Group > Altech Corporation (Alpsgiken), Osaka, Japan > http://www.alpsgiken.co.jp > ---------------------- > > "When software is patentable, anything is patentable." > (http://swpat.ffii.org) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mcdomi at free.fr Thu Sep 25 04:59:00 2003 From: mcdomi at free.fr (Dom) Date: Thu Sep 25 04:59:00 2003 Subject: Ask Answer Standalone (Was: Re: "Is A Date" Question) In-Reply-To: <011101c382e8$b7d94940$6501a8c0@LightningFlash> Message-ID: <1g1u0uk.1kc3km2457om8M%mcdomi@free.fr> Ken Ray wrote: > Sounds like you didn't add them in when you built your standalone... I did paid attention to that -- but in some instances it didn't work. I will retry... -- From jamesjrichards at lineone.net Thu Sep 25 05:55:01 2003 From: jamesjrichards at lineone.net (James Richards) Date: Thu Sep 25 05:55:01 2003 Subject: SUMMARY: Re: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <200309241601.MAA21254@www.runrev.com> Message-ID: on 24/9/03 10:47:22 -0400, Andy Burns at use-revolution-request at lists.runrev.com wrote: > We talked about how to delete the resulting PhoneCALLs that couldn't > possibly make sense. That looks like trouble. The first case being, deleting > six consonants and one vowel. stretch scratch knights etc. My first thought when this came up was that you could do that, and then all these six consonant and one vowel words started bubbling to the surface. Regards James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 From martin at harbourtown.co.uk Thu Sep 25 06:52:01 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Thu Sep 25 06:52:01 2003 Subject: imported images smaller than 9 pixels sq Message-ID: I've been using the example script from the docs to get image file dimensions. It's like this: lock screen -- so user doesn't see the following shenanigans lock error dialogs -- prevent error window if import fails import paint from file fname -- creates a new image unlock error dialogs put the width of last image into xwide put the height of last image into hhigh delete last image -- get rid of image we created unlock screen put xwide&","&hhigh Everything works fine until I use it on an image whose dimensions are < 9 pixels in both dimensions, in which case xwide and hhigh get 120. Behaviour is the same for gif and jpeg files. It seems that the script reports the dimensions of an 8*8 pixel image (or smaller) as being 120*120 pixels, but the dimensions of an 8*9 pixel image (or larger) are reported correctly. Couldn't see anything like this in bugzilla, anybody else get this ? martin baxter From janschenkel at yahoo.com Thu Sep 25 07:03:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 25 07:03:01 2003 Subject: imported images smaller than 9 pixels sq In-Reply-To: Message-ID: <20030925115200.14442.qmail@web11906.mail.yahoo.com> --- Martin Baxter wrote: > I've been using the example script from the docs to > get image file > dimensions. It's like this: > > lock screen -- so user doesn't see the following > shenanigans > lock error dialogs -- prevent error window if import > fails > import paint from file fname -- creates a new image > unlock error dialogs > put the width of last image into xwide > put the height of last image into hhigh > delete last image -- get rid of image we created > unlock screen > put xwide&","&hhigh > > Everything works fine until I use it on an image > whose dimensions are < 9 > pixels in both dimensions, in which case xwide and > hhigh get 120. Behaviour > is the same for gif and jpeg files. > > It seems that the script reports the dimensions of > an 8*8 pixel image (or > smaller) as being 120*120 pixels, but the dimensions > of an 8*9 pixel image > (or larger) are reported correctly. > > Couldn't see anything like this in bugzilla, anybody > else get this ? > > martin baxter > Hi Martin, No need to bugzilla this ; it is caused by a 'newImage' handler higher up the message path, which will automatically apply the default object size from the preferences, if an image is smaller than 9x9 pixels. So the easiest way to work around this feature, is to trap the 'newImage' message yourself and not 'pass' 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!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From klaus at major-k.de Thu Sep 25 07:18:00 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Sep 25 07:18:00 2003 Subject: imported images smaller than 9 pixels sq In-Reply-To: Message-ID: Hi Martin, > I've been using the example script from the docs to get image file > dimensions. It's like this: > > lock screen -- so user doesn't see the following shenanigans > lock error dialogs -- prevent error window if import fails > import paint from file fname -- creates a new image > unlock error dialogs > put the width of last image into xwide > put the height of last image into hhigh > delete last image -- get rid of image we created > unlock screen > put xwide&","&hhigh > > Everything works fine until I use it on an image whose dimensions are > < 9 > pixels in both dimensions, in which case xwide and hhigh get 120. > Behaviour > is the same for gif and jpeg files. > > It seems that the script reports the dimensions of an 8*8 pixel image > (or > smaller) as being 120*120 pixels, but the dimensions of an 8*9 pixel > image > (or larger) are reported correctly. > > Couldn't see anything like this in bugzilla, anybody else get this ? I am not sure, but this might have to do with the minimum size that RR allows for objects. See: -> Preferences -> Object sizes Ther you can adjust the min value. But you can still get the correct size of your tiny image with an almost identical script: ... unlock error dialogs put the formattedwidth of last image into xwide put the formattedheight of last image into hhigh ... The formattedheidght/formattedwidth will give you the correct value (original size of the image) and not the size of the image-object, which, in your case, will be min 120*120... Hope that helps... > martin baxter Regards Klaus Major klaus at major-k.de www.major-k.de From curry at pair.com Thu Sep 25 07:24:00 2003 From: curry at pair.com (curry) Date: Thu Sep 25 07:24:00 2003 Subject: Lindows packages (Special offer for RunRev users...) In-Reply-To: <200309250901.FAA18369@www.runrev.com> References: <200309250901.FAA18369@www.runrev.com> Message-ID: >I negotiated a deal with Lindows to allow for free downloads of this CD for >a limited time. Thanks, Chipp--that's amazing. I've been following Lindows news for a while. Great, now I can actually try it! I noticed that the process for creating the Debian distribution packages seems complicated from what I read. Do you think we can find--or put together--anything to simplify the process and make it easy to get Rev apps onto Click n Run? -- Curry Kenworthy -- Christian xTalk discussion list http://groups.yahoo.com/group/cxtalk/ From k.r.hauge at east.uio.no Thu Sep 25 07:52:01 2003 From: k.r.hauge at east.uio.no (Kjetil =?iso-8859-1?Q?R=E5?= Hauge) Date: Thu Sep 25 07:52:01 2003 Subject: selectedChunk under Windows In-Reply-To: <00b801c382b6$3dc909b0$6501a8c0@LightningFlash> References: <00b801c382b6$3dc909b0$6501a8c0@LightningFlash> Message-ID: >It is probably the fact that the "traversalOn" of the button is TRUE. >Turn it off and you should be OK. Yes, that did the trick. Thanks a lot! -- --- Kjetil R? Hauge, U. of Oslo, PO Box 1030 Blindern, N-0315 Oslo, Norway Tel. +47/22856710, fax +47/22854140 From dcragg at lacscentre.co.uk Thu Sep 25 07:55:01 2003 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu Sep 25 07:55:01 2003 Subject: Radeon IGP 340M graphics card Message-ID: Hi Is anyone running Rev on a laptop with the ATI Radeon IGP 340M graphics card? If so, are you experiencing any problems? (frequent crashes, etc.) I'm working on a multimedia education app (using the 2.5 engine in Rev 2.0.2) that's heavy in QuickTime video, GIFs, audio and transitions. It's running fine on all Windows systems I've tested (three quite different setups), but the client has two laptops (both with the above graphics card, but from different vendors) on which it crashes frequently, although seemingly at random. Any help appreciated. Cheers Dave From index at kenjikojima.com Thu Sep 25 08:09:00 2003 From: index at kenjikojima.com (Kenji Kojima) Date: Thu Sep 25 08:09:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <58A74E66-EF0F-11D7-A90A-000A9567A3E6@swcp.com> Message-ID: On 2003.Sep.25, at 12:18 AM, Dar Scott wrote: > Does this work? > > put uniDecode(the unicodeText of fld 1, "UTF8") into URL > "binfile:testUTF8.txt" Yes, it worked for UTF8. And SJIS too. put uniDecode(the unicodeText of fld 1, "Japanese") into URL "binfile:testSJIS.txt" Thanks, -- Kenji Kojima http://www.kenjikojima.com/ From janschenkel at yahoo.com Thu Sep 25 08:15:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 25 08:15:00 2003 Subject: CGI-engine for Windows Message-ID: <20030925130343.50724.qmail@web11904.mail.yahoo.com> Hi All, This morning I downloaded the Windows version of the CGI-engine (CMC.EXE version 2.5) from the MetaCard website, and the Revolution 2.0 version from the RunRev FTP site (WINDOWS.ZIP). Unfortunately, I seem to having some problems with both of these : - cmc.exe crashes consistently as I try to open a stack to poke around its insides ; on a positive note, revolution.exe reads and executes this same .mt script just fine ; too bad it prepends "external startup" and appends "external exit" - but every time I try to use revolution.exe to connect to mySQL on the same machine, I get the error "revdberr,invalid database type" ; I've tried to copy the libmysql.dll and even the entire database_drivers dir into the same dir, but it didn't help. Anyone have experience with this ? Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From kray at sonsothunder.com Thu Sep 25 09:18:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 25 09:18:01 2003 Subject: imported images smaller than 9 pixels sq In-Reply-To: <20030925115200.14442.qmail@web11906.mail.yahoo.com> Message-ID: <005101c3836e$3315be10$6601a8c0@LightningFlash> > No need to bugzilla this ; it is caused by a > 'newImage' handler higher up the message path, which > will automatically apply the default object size from > the preferences, if an image is smaller than 9x9 > pixels. > So the easiest way to work around this feature, is to > trap the 'newImage' message yourself and not 'pass' > it. I don't know about this, Jan. This is an example of the IDE getting "in the way" for our projects, and there should be a way to have our cake and eat it too. For example, if the preferences applied only when you created object with the tool palette and not from script, we would have the best of both worlds. So I think it's worthy of being "bugged" (but certainly has a low severity). Just my $0.02, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Sep 25 09:21:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 25 09:21:00 2003 Subject: CGI-engine for Windows In-Reply-To: <20030925130343.50724.qmail@web11904.mail.yahoo.com> Message-ID: <005201c3836e$878e3170$6601a8c0@LightningFlash> > - cmc.exe crashes consistently as I try to open a > stack to poke around its insides ; on a positive note, > revolution.exe reads and executes this same .mt script just > fine ; too bad it prepends "external startup" and appends > "external exit" What does it add these strings to? The result of your CGI call? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From cowhead at mac.com Thu Sep 25 09:40:00 2003 From: cowhead at mac.com (mark) Date: Thu Sep 25 09:40:00 2003 Subject: proper way to geo In-Reply-To: <200309241804.OAA27247@www.runrev.com> Message-ID: Thanks Jan! It seems I am always thanking Jan on this list :-) Jan wrote: > Trust me, I used to add those lines as well. But in > the Inspector Palette for the card, you can also tick > the checkbox "Update before opening card" Is there a benefit from doing it this way and if so, is there an easy way to check that box with a script? If not, writing 3 short lines in the stack script will be preferable then going through and checking the box for each card manually. thanks again, mark From lists at mangomultimedia.com Thu Sep 25 09:50:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu Sep 25 09:50:01 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: Message-ID: Thanks everyone for your responses. Using: put uniDecode(the unicodeText of fld 1, "UTF8") into URL "binfile:config.xml" I get a file that Flash MX reads without a problem. BBEdit still doesn't recognize it but I will mess around with adding the BOM to the file and see if that helps. Now I just need to find a way to get file paths in unicode and I will have a unicode friendly application. By the way, for OS X users who need to test with international languages it is really easy. Go to System Prefs >> International >> Input Menu and select the languages you want to type in. You will see a little flag appear in your menu whenever you enter a text field. You can then select different flags and your keyboard entry changes to that language. So within Rev you can enter ascii charactes, Japanese characters, etc. for testing. Very handy. Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From mcdomi at free.fr Thu Sep 25 11:36:01 2003 From: mcdomi at free.fr (Dom) Date: Thu Sep 25 11:36:01 2003 Subject: Ask Answer Standalone (Was: Re: "Is A Date" Question) In-Reply-To: <1g1u0uk.1kc3km2457om8M%mcdomi@free.fr> Message-ID: <1g1ui0j.6232ex1i3ch16M%mcdomi@free.fr> Dom wrote: > > Sounds like you didn't add them in when you built your standalone... > > I did paid attention to that -- but in some instances it didn't work. > I will retry... That works this time (some Voodoo?). Nonetheless, I will stay with the "sheet" substacks. Another goal is to reduce (?) the size of the standalone, by not including ask, answer... -- From index at kenjikojima.com Thu Sep 25 11:42:00 2003 From: index at kenjikojima.com (Kenji Kojima) Date: Thu Sep 25 11:42:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: Message-ID: <92B3AE6C-EF75-11D7-A1CF-000A27941ED2@kenjikojima.com> On 2003.Sep.25, at 10:38 AM, Trevor DeVore wrote: > Now I just need to find a way to get file paths in unicode and I will > have a unicode friendly application. If you like to read unicode path file on MacOS, you can use AppleScript. on mouseUp put "choose file with prompt " "e"e&return into asScript put "set openFile to result"&return after asScript put "try"&return after asScript put "read openFile" & return after asScript put "on error"&return after asScript put "close access openFile"&return after asScript put "display dialog ""e&"Error is occured.""e& return after asScript put "return"&return after asScript put "end try"&return after asScript do asScript as appleScript put the result into fld 1 end mouseUp http://www.egroups.co.jp/message/Runtime_Revolution_Users_Japan/2076 -- Kenji Kojima http://www.kenjikojima.com/ From alex at mindlube.com Thu Sep 25 11:53:00 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 25 11:53:00 2003 Subject: CGI-engine for Windows In-Reply-To: <005201c3836e$878e3170$6601a8c0@LightningFlash> Message-ID: <24839D8C-EF77-11D7-9C64-000393529642@mindlube.com> On Thursday, September 25, 2003, at 08:08 AM, Ken Ray wrote: > >> - cmc.exe crashes consistently as I try to open a >> stack to poke around its insides ; on a positive note, >> revolution.exe reads and executes this same .mt script just >> fine ; too bad it prepends "external startup" and appends >> "external exit" > > What does it add these strings to? The result of your CGI call? It prints them to STDERR- which is annoying, but doesn't cause any functional problems. See bugzilla #36, closed, for more details. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From revlist at cableone.net Thu Sep 25 12:16:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu Sep 25 12:16:00 2003 Subject: Menu builder problems Message-ID: <000c01c38387$0f51ab60$65fea8c0@chris1> Is there any reason why I can't select an already built menu for editing in the Menu Builder? I'm opening the Menu Builder and clicking the Edit button. When I select my stack, no menus appear in the list for editing. I'm using Rev 2.1 on Windows. Is this a bug? Is there something I can do? Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com From index at kenjikojima.com Thu Sep 25 12:16:32 2003 From: index at kenjikojima.com (Kenji Kojima) Date: Thu Sep 25 12:16:32 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <92B3AE6C-EF75-11D7-A1CF-000A27941ED2@kenjikojima.com> Message-ID: <505DC26D-EF7A-11D7-A1CF-000A27941ED2@kenjikojima.com> On 2003.Sep.25, at 12:30 PM, Kenji Kojima wrote: > On 2003.Sep.25, at 10:38 AM, Trevor DeVore wrote: > >> Now I just need to find a way to get file paths in unicode and I >> will have a unicode friendly application. > > If you like to read unicode path file on MacOS, you can use > AppleScript. I mean Japanese characters file path. -- Kenji Kojima http://www.kenjikojima.com/ From rgould8 at aol.com Thu Sep 25 12:35:00 2003 From: rgould8 at aol.com (Rob Gould) Date: Thu Sep 25 12:35:00 2003 Subject: looping music between cards Message-ID: <3F732485.4030605@aol.com> An HTML attachment was scrubbed... URL: From revlist at cableone.net Thu Sep 25 12:40:01 2003 From: revlist at cableone.net (Chris Sheffield) Date: Thu Sep 25 12:40:01 2003 Subject: Menu builder problems In-Reply-To: <000c01c38387$0f51ab60$65fea8c0@chris1> Message-ID: <000d01c3838a$63522840$65fea8c0@chris1> Never mind. I figured it out. I had created another group that had the same name as my menu group. Just a simple naming conflict. :-) 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 Chris Sheffield Sent: Thursday, September 25, 2003 11:04 AM To: RevList Subject: Menu builder problems Is there any reason why I can't select an already built menu for editing in the Menu Builder? I'm opening the Menu Builder and clicking the Edit button. When I select my stack, no menus appear in the list for editing. I'm using Rev 2.1 on Windows. Is this a bug? Is there something I can do? Chris Sheffield Software Development Read Naturally csheffield at readnaturally.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Thu Sep 25 12:55:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Sep 25 12:55:00 2003 Subject: looping music between cards In-Reply-To: <3F732485.4030605@aol.com> Message-ID: Recently, "Rob Gould" wrote: > I'd lke to create a cross-platform app that has looping music between a couple > of the cards (3 cards out of 8). Then, after the user moves to a card that is > not intended to have music, I'd like the music to fade out. > > In my initial attempt, I used QT and put a QT player object (hidden offscreen) > to play the music. This almost worked, except that for some reason, Rev makes > this "rectangle animation" occur when first landing on the card. This > rectangle animation seems to be the QT player moving itself off-stage. If I > remove the QT player object, the animation goes away - - - strange. > > Right now, I've got the looping sound file as a small .AIF file. Can anyone > tell me what my options are? This application is coming from an URL off of a > web-server, so it may be best to stream the audio - - - I'm not sure at this > point. Looping audio in Rev is currently somewhat problematic. When using a player, there will often be a brief, audible pause when the track loops, which some folks have attributed to QuickTime. In my experience, you can get better looping results when using an imported sound file (WAV), instead of an external file via a player, but this is still not 100% reliable and the only way to do fades is to change the system volume level. It also seems some issue with the playStopped message has reared its ugly head again, so making scripts that respond to audio termination can be difficult. IMO, audio in Rev is long overdue for an overhaul and enhancement. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sralston at dyton.com Thu Sep 25 13:14:00 2003 From: sralston at dyton.com (Steve Ralston) Date: Thu Sep 25 13:14:00 2003 Subject: MCsocket...application error Message-ID: <092795F4-EF82-11D7-87BB-0050E499F20E@dyton.com> Jan, you just pulled me out of a major depression! Thanks! Steve From gdevore at mac.com Thu Sep 25 13:17:01 2003 From: gdevore at mac.com (Greg DeVore) Date: Thu Sep 25 13:17:01 2003 Subject: Unexpected Quit w/ Debugger Message-ID: I am having a problem that Revolution 2.1 keeps Unexpectedly Quitting when I turn on the Script Debugger. I am running OS 10.2 on a G4 powerbook. At first it happened occasionally but now it is happening almost a third of the time. Very frustrating. Any suggestions? Greg DeVore From dsc at swcp.com Thu Sep 25 13:24:01 2003 From: dsc at swcp.com (Dar Scott) Date: Thu Sep 25 13:24:01 2003 Subject: MCsocket...application error In-Reply-To: <092795F4-EF82-11D7-87BB-0050E499F20E@dyton.com> Message-ID: Steve, > Jan, you just pulled me out of a major depression! Thanks! If you need help finding a workaround or tracking down a rev bug, ask! Dar Scott From yvescoppe at skynet.be Thu Sep 25 13:40:00 2003 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu Sep 25 13:40:00 2003 Subject: Unexpected Quit w/ Debugger In-Reply-To: Message-ID: <1C2CC4CE-EF86-11D7-9AEB-003065E14B04@skynet.be> Le jeudi, 25 sep 2003, ? 20:05 Europe/Brussels, Greg DeVore a ?crit : > I am having a problem that Revolution 2.1 keeps Unexpectedly Quitting > when I turn on the Script Debugger. I am running OS 10.2 on a G4 > powerbook. At first it happened occasionally but now it is happening > almost a third of the time. Very frustrating. Any suggestions? > > Greg DeVore > > It's a problem of a breakpoint that is not away from your stack I had the same problem on my machine (mac OS X 10.2.x on a G3) It happened occasionally and sometimes after 15 minutes of waiting and later each times to avoid it, open Rev 2.1 don't open your stack from the File menu open the message box type answer file "Select your stack" lock messages go to stack it once opened, type in de msg box set the cREVGeneral["DebugObjects"] of this stack to empty. Hope this helps. Greetings. Yves COPPE yvescoppe at skynet.be From martin at harbourtown.co.uk Thu Sep 25 13:50:00 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Thu Sep 25 13:50:00 2003 Subject: imported images smaller than 9 pixels sq In-Reply-To: <200309251603.MAA28216@www.runrev.com> Message-ID: Thanks Klaus this does the trick :-) I think the recipe script "getting the dimensions of a picture file", in the documentation should be re-written to use this method. martin >... >put the formattedwidth of last image into xwide >put the formattedheight of last image into hhigh >... From alex at mindlube.com Thu Sep 25 14:01:01 2003 From: alex at mindlube.com (Alex Rice) Date: Thu Sep 25 14:01:01 2003 Subject: [OT] browser plugin patents - warning! In-Reply-To: Message-ID: <0AABFD3C-EF89-11D7-9C64-000393529642@mindlube.com> On Friday, September 12, 2003, at 01:26 PM, Alex Rice wrote: > IE, Flash, and patents: here comes trouble Front page on CNET: http://news.com.com/2009-1023_3-5082004.html """During a recent meeting held at Macromedia's San Francisco headquarters, Silicon Valley companies asked a familiar question: What to do about Microsoft? But the strategy event, sponsored by the World Wide Web Consortium, differed significantly from so many others, at which participants have typically gathered to oppose the software giant's power. This time, Microsoft was the guest of honor. ...""" Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From alptex2 at orwell.net Thu Sep 25 15:39:01 2003 From: alptex2 at orwell.net (T. R. Ponn) Date: Thu Sep 25 15:39:01 2003 Subject: Work around for "Excess lines bug" Message-ID: <3F734FB5.5090908@orwell.net> Hi all! I, too, have suffered the mysterious "Excess lines bug" where lots of lines get appended to the end of (seemingly) random scripts within a stack. I was reminded of it by a few of the recent threads. Not a biggy to clean up...but...this afternoon I was bored, so I offer this. It seems to work, but I have NOT checked it very thoroughly, so beware...this script may be worth every penny you paid for it! ;-) Just make a button and place the following script in it. Then put your helmet on and click it. local returnCount on mouseUp put "button,field,image,graphic,group,scrollbar" into objType put empty into returnCount put empty into objectCount get cleanIt (the script of this stack) repeat with i=1 to the number of cards get cleanIt (the script of card i) repeat with j=1 to the number of items of objType do "repeat with k=1 to the number of"&&(item j of objType&"s")&&"of card"&&i&cr&"get cleanIt(the script of"&&(item j of objType)&&"k of card"&&i&")"&cr&"add 1 to objectCount"&cr&"end repeat" end repeat end repeat put returnCount&&"extra return characters in"&&objectCount&&"objects in this stack!" into msg end mouseUp function cleanIt inData repeat if the last char of inData=cr then delete the last char of inData add 1 to returnCount else exit repeat end if end repeat -- return inData --this can be used in the "do-repeat" above to set the script of the object being cleaned to one that has no extra retruns end cleanIt Presently, all this does is report the number of return chars and the number of objects...but it can easily be modified to change all of the scripts. Best Regards, Tim Ponn From janschenkel at yahoo.com Thu Sep 25 15:43:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 25 15:43:00 2003 Subject: CGI-engine for Windows In-Reply-To: <005201c3836e$878e3170$6601a8c0@LightningFlash> Message-ID: <20030925203207.88568.qmail@web11906.mail.yahoo.com> --- Ken Ray wrote: > > > - cmc.exe crashes consistently as I try to open a > > stack to poke around its insides ; on a positive > note, > > revolution.exe reads and executes this same .mt > script just > > fine ; too bad it prepends "external startup" and > appends > > "external exit" > > What does it add these strings to? The result of > your CGI call? > > Ken Ray > Hi Ken, I'm just testing the waters atm, and running them from a command window, and that's where these messages appear : "external startup" at the start of execution, and then "external exit" after the output from the script has appeared. If these don't appear in a CGI-call, then it's no big deal ; but I figured it would display there as well. Plus, I need revdb to work for it to be useful for this particular project. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From janschenkel at yahoo.com Thu Sep 25 15:54:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 25 15:54:01 2003 Subject: CGI-engine for Windows In-Reply-To: <24839D8C-EF77-11D7-9C64-000393529642@mindlube.com> Message-ID: <20030925204215.29311.qmail@web11903.mail.yahoo.com> --- Alex Rice wrote: > > On Thursday, September 25, 2003, at 08:08 AM, Ken > Ray wrote: > > > > >> - cmc.exe crashes consistently as I try to open a > >> stack to poke around its insides ; on a positive > note, > >> revolution.exe reads and executes this same .mt > script just > >> fine ; too bad it prepends "external startup" and > appends > >> "external exit" > > > > What does it add these strings to? The result of > your CGI call? > > It prints them to STDERR- which is annoying, but > doesn't cause any > functional problems. See bugzilla #36, closed, for > more details. > Ah, nothing to worry about then -- good news -- now for the database access :-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From chipp at chipp.com Thu Sep 25 15:54:23 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 25 15:54:23 2003 Subject: Delayed Lindows downloads at this time... Message-ID: Wow! Man did I underestimate the demand for this CD. So much so that my ISP shut us off as it grabbed total bandwidth for close to 3 T1 lines. So, I'm working with Kevin LaRue to set up a new download scheme. I'll keep you all posted as soon as it's availble. Sorry for any inconvenience. best, Chipp (PS anyone out there who could host a 460Mb .iso for a week? contact me.) From chipp at chipp.com Thu Sep 25 16:06:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 25 16:06:01 2003 Subject: Lindows packages (Special offer for RunRev users...) In-Reply-To: Message-ID: Hi Curry, Yep, I agree. As soon as I build a package, I'll document how and put it the website. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of curry > Sent: Thursday, September 25, 2003 7:09 AM > To: use-revolution at lists.runrev.com > Subject: Lindows packages (Special offer for RunRev users...) > > > >I negotiated a deal with Lindows to allow for free downloads of > this CD for > >a limited time. > > Thanks, Chipp--that's amazing. I've been following Lindows news for a > while. Great, now I can actually try it! > > I noticed that the process for creating the Debian distribution > packages seems complicated from what I read. Do you think we can > find--or put together--anything to simplify the process and make it > easy to get Rev apps onto Click n Run? > > -- > Curry Kenworthy > -- > Christian xTalk discussion list > http://groups.yahoo.com/group/cxtalk/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mcdomi at free.fr Thu Sep 25 16:10:01 2003 From: mcdomi at free.fr (Dom) Date: Thu Sep 25 16:10:01 2003 Subject: Sheet woes... Message-ID: <1g1v64j.1rusbvxzp7b3mM%mcdomi@free.fr> So, I replaced "ask" with "sheet"... But a new problem arises: when I return from the "sheet" stack, it seems that Rev considers that I open *again* the stack, with subsequent (pre)openstack messages sent... This causes a mess with my stack, because it opens at the day's date -- or it creates a new card at the day's date (it's a diary)! How to dismiss the (pre)openstack messages in this very case? I tempted to put a "lock messages" at the beginning, but this doesn't work. By luck, the opencard messages don't matter... -- From janschenkel at yahoo.com Thu Sep 25 16:16:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 25 16:16:01 2003 Subject: proper way to geo In-Reply-To: Message-ID: <20030925210437.93125.qmail@web11906.mail.yahoo.com> --- mark wrote: > Thanks Jan! > It seems I am always thanking Jan on this list :-) You're welcome ; I love to help :-) > Jan wrote: > > Trust me, I used to add those lines as well. But > in > > the Inspector Palette for the card, you can also > tick > > the checkbox "Update before opening card" > > Is there a benefit from doing it this way and if so, > is there an easy > way to check that box with a script? If not, > writing 3 short lines in > the stack script will be preferable then going > through and checking the > box for each card manually. > Hmm, the only benefit I could see, is future changes to the geometry manager : presumably the checkbox setting would still work but 'revUpdateGeometry' might change names for some bizarre reason. Not very likely, though -- unless a number of 'revXYZ' calls are merged right into the engine. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From klaus at major-k.de Thu Sep 25 16:43:00 2003 From: klaus at major-k.de (Klaus Major) Date: Thu Sep 25 16:43:00 2003 Subject: Sheet woes... In-Reply-To: <1g1v64j.1rusbvxzp7b3mM%mcdomi@free.fr> Message-ID: <80D22B54-EF9F-11D7-86BD-000A27B49A96@major-k.de> Bon soir Domi, > So, I replaced "ask" with "sheet"... > But a new problem arises: > when I return from the "sheet" stack, it seems that Rev considers that > I > open *again* the stack, with subsequent (pre)openstack messages sent... > > This causes a mess with my stack, because it opens at the day's date -- > or it creates a new card at the day's date (it's a diary)! > > How to dismiss the (pre)openstack messages in this very case? > I tempted to put a "lock messages" at the beginning, but this doesn't > work. Can't you just store the date and check with a on preopenstack if my_date <> the date then ###do preopenstuff... end if ... end preopenstack or something like that? Just a guess... > By luck, the opencard messages don't matter... Hope that helps... Au revoir Klaus Major klaus at major-k.de www.major-k.de From shaosean at unitz.ca Thu Sep 25 17:27:00 2003 From: shaosean at unitz.ca (shaosean at unitz.ca) Date: Thu Sep 25 17:27:00 2003 Subject: QT Player only? In-Reply-To: References: <200309231601.MAA18619@www.runrev.com> Message-ID: for windows users you can always try using "quicktime alternative" available from download at the Kazaa Lite website look for it on the left navigation bar under "Downloads".. there is also a Real Player alternative.. -Sean ps.. i haven't used either of them, but thought i'd pass the info along incase it suits your needs.. From monte at sweattechnologies.com Thu Sep 25 18:33:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Sep 25 18:33:00 2003 Subject: Linux & application metadata Message-ID: Hi All Just wondering the what, where and how of application metadata on Linux. Specifically I'm interested in file associations but I'm sure other stuff would come in handy. I know UNIX systems usually look into the file to see which app it's associated with but this just doesn't seem logical for a modern operating system with a desktop etc. 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 chipp at chipp.com Thu Sep 25 21:19:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 25 21:19:01 2003 Subject: Lindows available again. Message-ID: Hi all, Well, we can now access LindowsCD, for a limited time (read 7 days). Please reregister if you didn't get it last time at: http://www.altuit.com/webs/altuit/Lindows/default.htm Please note, you will need a minimum of 256Mb RAM to run the CD (as it installs many programs in RAM), though it's not necessarily the case with the installed version of the OS (you can purchase it from Lindows directly, if you like). Also, I did notice in my logs, some users doing some 'URL hunting' on our server. Please don't. This is a service to our community and I'd like to think we're all trustworthy individuals. Along the same line, please don't hand out this URL to all your friends. It's only for RR users, and I've worked hard to convince the Lindows folks what a fine group of individuals we all are:-) !!! LindowsCD is available online for $29.95. If it turns out this new FTP server (located at lindows.com) gets hammered and compromised, it will reflect poorly on us all. Thanks for your consideration in this matter, and good luck using LindowsCD! I hope it's as rewarding an experience for you as it has been for me! -Chipp --------------------- Chipp Walters Altuit, inc. http://www.altuit.com http://www.chipp.com --------------------- From alex at mindlube.com Fri Sep 26 00:36:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 00:36:00 2003 Subject: Linux & application metadata In-Reply-To: Message-ID: <5E48F806-EFD7-11D7-9C64-000393529642@mindlube.com> On Thursday, September 25, 2003, at 05:21 PM, Monte Goulding wrote: > Just wondering the what, where and how of application metadata on > Linux. > Specifically I'm interested in file associations but I'm sure other > stuff > would come in handy. I know UNIX systems usually look into the file to > see > which app it's associated with but this just doesn't seem logical for a > modern operating system with a desktop etc. You are referring to the "magic number" I guess? The OS can use the magic number to distinguish from a binary executable and a shell script- but it's not too very useful beyond that. AFAIK there is no standard UNIX way of binding files to applications- this would be handled at the level of the "Window Manager", and there are literally dozens of competing Window Managers for UNIX. The most popular Linux and BSD ones being KDE and Gnome. KDE does it with MIME types- other Window Managers probably also use MIME types as well, but there is no standard file location or format that I know of for this stuff. HTH, 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 Fri Sep 26 00:41:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 00:41:00 2003 Subject: Lindows available again. In-Reply-To: Message-ID: <1C23877C-EFD8-11D7-89C9-000393529642@mindlube.com> On Thursday, September 25, 2003, at 08:07 PM, Chipp Walters wrote: > Please note, you will need a minimum of 256Mb RAM to run the CD (as it > installs many programs in RAM), though it's not necessarily the case > with > the installed version of the OS (you can purchase it from Lindows > directly, > if you like). Alas, my only Windows box has < 256MB RAM and it is thrashing trying to run LindowsCD. I'm sure it can run the Lindows full version just fine though. Linux general is pretty easy on RAM. First person to contact me off-list: I will snail mail you the LindowsCD I burned. 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 Fri Sep 26 01:25:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 01:25:00 2003 Subject: Lindows available again. In-Reply-To: <1C23877C-EFD8-11D7-89C9-000393529642@mindlube.com> Message-ID: <8E6A665D-EFE8-11D7-89C9-000393529642@mindlube.com> On Thursday, September 25, 2003, at 10:15 PM, Alex Rice wrote: > First person to contact me off-list: I will snail mail you the > LindowsCD I burned. OK- contest over :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From monte at sweattechnologies.com Fri Sep 26 01:47:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 26 01:47:00 2003 Subject: Linux & application metadata In-Reply-To: <5E48F806-EFD7-11D7-9C64-000393529642@mindlube.com> Message-ID: > On Thursday, September 25, 2003, at 05:21 PM, Monte Goulding wrote: > > Just wondering the what, where and how of application metadata on > > Linux. > > Specifically I'm interested in file associations but I'm sure other > > stuff > > would come in handy. I know UNIX systems usually look into the file to > > see > > which app it's associated with but this just doesn't seem logical for a > > modern operating system with a desktop etc. > > You are referring to the "magic number" I guess? The OS can use the > magic number to distinguish from a binary executable and a shell > script- but it's not too very useful beyond that. > > AFAIK there is no standard UNIX way of binding files to applications- > this would be handled at the level of the "Window Manager", and there > are literally dozens of competing Window Managers for UNIX. The most > popular Linux and BSD ones being KDE and Gnome. > > KDE does it with MIME types- other Window Managers probably also use > MIME types as well, but there is no standard file location or format > that I know of for this stuff. I had a feeling it has something to do with MIME types. Ouch... just found this: http://www.gnome.org/learn/admin-guide/2.2/mimetypes-9.html But wait! ... http://www.freedesktop.org/standards/shared-mime-info-spec/ looks better. Now where do these .desktop files go? Now I see why I've never released any of my apps on Linux. Cheers MOnte From xbury.cs at clearstream.com Fri Sep 26 02:26:00 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri Sep 26 02:26:00 2003 Subject: Lindows... Message-ID: After talking to our guru, Lindows just happens to be a paying version of a reduced debian distro. The author may have been involved in a scam web site earlier too... Sounds like another Bill Gates wannabe to me... Well marketed though. For those interested there is more on www.cnet.com. In brief, they say you have little control over the installation. But it's easy to install. Has KDE is in but no Gnome. Getting non click'n'run apps may be a problem zone. And the Click'n'run will make the OS much more expensive in the long run. There's no office suite which is avlb in other distros and if you dont have an ADSL, it gets costlier. Most innapropriate is the fact that you have to pay for any other program. Which is good for us revolution developpers but as a user, is not a good feature. Very limiting. Compatibility with other rpms may also be another wall... To be seen... My 2 cents Xavier Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From gwills at ozemail.com.au Fri Sep 26 03:43:01 2003 From: gwills at ozemail.com.au (Greg Wills) Date: Fri Sep 26 03:43:01 2003 Subject: Graphics printing In-Reply-To: <200309252017.QAA05172@www.runrev.com> Message-ID: Hi All Sorry to persist with this issue, but I have come up to a brick wall (and my head is now hurting). Thanks for your suggestions Jacqueline. No joy though. Have installed the most recent drivers - no change. I have added below what I wrote some time ago in August to give you the background. The only "breakthrough" I have had is that a networked Minolta laser printer with 16mb or ram printed the card and all the graphics. The Lexmark's, that many schools have, have 4mb - and don't print the large graphic at the back. 1. These printers do print graphics, ie full page photos in Word! Does anyone understand how Rev organizes the info for printing? Could this difference in spooling of data (or whatever) be an issue in this problem? 2. Does anyone have access to a networked printer that they could test a sample stack for me? 3. Has anyone had a similar problem with printing cards with large graphics? (I mean large as in area covered - as I have already tried a number of variations of file sizes and have got the file size down to 128mb.) Thanks Greg Wills (written in August) "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 / printer 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. From mcdomi at free.fr Fri Sep 26 03:52:01 2003 From: mcdomi at free.fr (Dom) Date: Fri Sep 26 03:52:01 2003 Subject: Sheet woes... In-Reply-To: <1g1vwu2.1hpib8q9fzx4wM%dominique@alussinan.org> Message-ID: <1g1w1zv.1tv54wlv6d9mzM%mcdomi@free.fr> dom wrote: > Sure, I have to rewrite this preopentack handler... > > How to make it understand I didn't really leave the stack, but only > opened a substack??? > > IMHO, that's a curious behaving... AHEM! I simply forgot to trap the offending handler ;-))) Now, there is a on preopenstack end preopenstack in the substack (sheet stack) script... -- From janschenkel at yahoo.com Fri Sep 26 04:02:01 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 26 04:02:01 2003 Subject: Sheet woes... In-Reply-To: <1g1w1zv.1tv54wlv6d9mzM%mcdomi@free.fr> Message-ID: <20030926085028.64071.qmail@web11901.mail.yahoo.com> --- Dom wrote: > dom wrote: > > > Sure, I have to rewrite this preopentack > handler... > > > > How to make it understand I didn't really leave > the stack, but only > > opened a substack??? > > > > IMHO, that's a curious behaving... > > AHEM! > > I simply forgot to trap the offending handler ;-))) > Now, there is a > > on preopenstack > end preopenstack > > in the substack (sheet stack) script... > Hi Dom, Glad you found the cause ; however, you'll see this problem occur in every substack (until you trap 'preOpenStack') That's why it's common practice to move the 'preOpenStack' and 'openStack' handlers for the mainStack, out of the message path, into the script of the first card of that stack. This way, these handlers are only executed when you really go to the first card of the mainStack, not whenever you open a substack as well. Hope this clarified it a bit, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From alex at mindlube.com Fri Sep 26 04:08:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 04:08:00 2003 Subject: Lindows... In-Reply-To: Message-ID: <4C557075-EFFF-11D7-9CD3-000393529642@mindlube.com> On Friday, September 26, 2003, at 01:05 AM, xbury.cs at clearstream.com wrote: > After talking to our guru, Lindows just happens to be a paying version > of > a reduced debian distro. > The author may have been involved in a scam web site earlier too... > Sounds > like another Bill Gates > wannabe to me... > > Well marketed though. For those interested there is more on > www.cnet.com. > In brief, they > say you have little control over the installation. But it's easy to > install. Has KDE is in but no Gnome. > > Getting non click'n'run apps may be a problem zone. And the Click'n'run > will make the OS much > more expensive in the long run. There's no office suite which is avlb > in > other distros and if you dont > have an ADSL, it gets costlier. > > Most innapropriate is the fact that you have to pay for any other > program. > Which is good > for us revolution developpers but as a user, is not a good feature. > Very > limiting. > > Compatibility with other rpms may also be another wall... Xavier thanks for the info. But please do not lose sight of the main point with Lindows- it's not a distro for the Linux geek! This is for people who don't know or care about kernel 2.x, Debian, KDE, Gnome, RPM, slashdot, etc. They sell Lindows preloaded computers at WAL-MART for goodness sake (in the U.S, WAL-MART is this giant superstore that attracts the most average, typical, dumbest U.S. consumer there exists). The LindowsCD does come with OpenOffice BTW - at least there is a menu item for it, I didn't launch it. I see Lindows mainly as a marketing conduit- if I were running Linux day to day I would probably go with Redhat just because that's what I know. Although Knoppix is way cool for CD bootable. I saw an article somewhere that Seagate (disk drive mfg) is going to be pre-loading Lindows onto their disks at the factory!!. Maybe I hallucinated that one... can't find the article now. 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 Fri Sep 26 04:11:02 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 04:11:02 2003 Subject: libURL stuff Message-ID: I figured out how to download stuff with "load" and wrote a progress monitor using the status, callback and completion functions of libURL. This stuff is *fast* and with the callback status, having a progress monitor doesn't impede performance either. Kudos to those who wrote libURL. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chipp at chipp.com Fri Sep 26 04:16:02 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 26 04:16:02 2003 Subject: Lindows... In-Reply-To: Message-ID: Xavier, > After talking to our guru, Lindows just happens to be a paying version of > a reduced debian distro. Lindows is indeed based on Debian, as they say on their website, but have you ever tried installing Debian? It's not for amateurs! BTW, as I mentioned in my article, Linux hardcore slashdot types don't like Lindows, because it IS so simple and not completely free. Took me a long time to figure it out for myself, as I originally believed them. You should really take the time and try this distro before forming an opinion on it. > The author may have been involved in a scam web site earlier > too... Sounds > like another Bill Gates > wannabe to me... I assume by 'author' you are referring to Michael Robertson, CEO of Lindows. Among other things, he is a well-respected CEO with numerous successes running other companies, including the founding of MP3.com. You probably should check your facts before spreading FUD. > > Well marketed though. For those interested there is more on www.cnet.com. > In brief, they > say you have little control over the installation. But it's easy to > install. Has KDE is in but no Gnome. For those of you who don't know, KDE is a windowing interface, just like Gnome. Many prefer KDE over Gnome because it is more Windows like. In either case, both are nice interfaces. I have used both and much prefer KDE. It looks better, and being a designer, looks are important to me. > > Getting non click'n'run apps may be a problem zone. And the Click'n'run > will make the OS much > more expensive in the long run. There's no office suite which is avlb in > other distros and if you dont > have an ADSL, it gets costlier. You can use apt-get (free) to download and install debian packages if you don't want to use Click-N-Run. There are even Lindow fan sites with instructions and downloads. I prefer the Click-N-Run approach because it is SOOO easy. As a Click-N-Run member, you can also have Lindows send you the programs on CD as well (called Lindows Plus). This is handy if you don't have a fast connection. No office suite? I imagine you're referring to the base install doesn't have an office suite. Of course both Star Office and Open Office are available via Click-N-Run or apt-get. In fact, the LindowsCD comes with OpenOffice. I much prefer this model as I want as streamlined an OS as possible. The base install is like MS, browser and email is all you get. But, installing your favorite Office Suite is a simple download away. Also, Click-N-Run makes it easy to UNINSTALL apps as well (sometimes very difficult for Linux). > > Most innapropriate is the fact that you have to pay for any other > program. This is not true. If you subscribe to Click-N-Run ($49), you get access to over 1800 programs to download, of which over 95% of them are free. According to the GNU license, you can charge for distribution of GNU software, which is what Lindows does...just like Red Hat, Suse and others do today. > Which is good > for us revolution developpers but as a user, is not a good feature. Very > limiting. 'Very limiting???' How so? > > Compatibility with other rpms may also be another wall... My understanding is that RPMs are for distributing apps mainly for Red Hat. Debian (and thus Lindows) doesn't use them. Xavier, I would suggest you spend some time researching Lindows and decide for yourself, instead of asking your favorite Linux guy. While I originally had many of the same concerns as you, once I started learning more on my own, I found that Lindows is perfect for what I want to do. And their software distribution is most incredible, and solves a lot of problems for small developers. best, Chipp From xbury.cs at clearstream.com Fri Sep 26 04:25:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri Sep 26 04:25:01 2003 Subject: Lindows... Message-ID: Nopix has our Guru's approval. Walmart doesn't! ;)) From sims at ezpzapps.com Fri Sep 26 04:31:00 2003 From: sims at ezpzapps.com (sims) Date: Fri Sep 26 04:31:00 2003 Subject: Lindows... In-Reply-To: References: Message-ID: I suspect the answer will be no...I'll ask anyway. If I have Virtual Windows (Windows 98) running on my OSX machine with lots of RAM, will I be able to pop in a Lindows CD and have it run? ;-/ sims -- ----------------------------------------------------------- http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From xbury.cs at clearstream.com Fri Sep 26 04:46:00 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri Sep 26 04:46:00 2003 Subject: Lindows... Message-ID: Sorry for the FUD. Im warry of scams as usual and you all know how EULA's can tie you up... I'll try it anyway and as I said, it sounds like a good way for RR dev'ers to get their apps out there. Do they have a click and sell to all wallmart users? ;)) If RPMs are not available and Lindows doesn't come with a compiler (assumed), how do you get more apps (like one you see one another distro?)... Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From psahores at easynet.fr Fri Sep 26 05:41:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 26 05:41:00 2003 Subject: Lindows... In-Reply-To: References: Message-ID: <1064572182.6954.1.camel@www.kmax.ici> Le ven 26/09/2003 ? 11:21, sims a ?crit : > I suspect the answer will be no...I'll ask anyway. > > If I have Virtual Windows (Windows 98) running on my OSX machine with > lots of RAM, > will I be able to pop in a Lindows CD and have it run? > ;-/ > > sims Hello, If you mean Virtual PC 5 or 6 (the second is lots faster), the answer is yes. Bests, -- 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 jan.decroos at groepvanroey.be Fri Sep 26 06:02:01 2003 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Fri Sep 26 06:02:01 2003 Subject: Working with grouped text In-Reply-To: <200309260817.EAA15267@www.runrev.com> References: <200309260817.EAA15267@www.runrev.com> Message-ID: Maybe, next script can help: it parses the htmltext of the field : we find links in the htmlText by searching for ' ... '. Then we look if this link is underlined too ('' before '', and '' after '') It needs a btn (script), and a field (data) put next handler in the btn's script: on mouseUp -- ... put the htmltext of field 1 into lHTMLText put "" into lUnderlined put 0 into lCurrentGroup put 0 into lStartPos put 0 into lPrevStartPos repeat put offset("", lHTMLText, lPrevStartPos) into lStartPos if lStartPos = 0 then exit repeat put offset("", lHTMLText, lPrevStartPos) into lEndPos if lEndPos = 0 then exit repeat add 1 to lCurrentGroup if (char lPrevStartPos+lStartPos-3 to lPrevStartPos+lStartPos-1 of lHTMLText = "") and\ (char lPrevStartPos+lEndPos+4 to lPrevStartPos+lEndPos+7 of lHTMLText = "") then put lCurrentGroup&comma after lUnderlined end if add lEndPos+4 to lPrevStartPos end repeat if last char of lUnderlined = comma then delete last char of lUnderlined answer lUnderlined end mouseUp Regards, Jan From psahores at easynet.fr Fri Sep 26 06:34:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 26 06:34:00 2003 Subject: Lindows... In-Reply-To: References: Message-ID: <1064575386.6954.50.camel@www.kmax.ici> Hello Chipp, List, As a long user of Linux as both a development platform and a web/erp's over internet services hosting platform, it seem me that some main distro are mostly dedicated to build great, powerfull and secure servers solutions (internet/intranet/extranet/VPN/ERP,...). About server stuffs, i always used, with great satisfaction, Suse distros (6.3 to 8.2) and never had troubbles or difficulties --> i will continue to use Suse or ReadHat distros in about server solutions. On the other hand, we really need a destktop dedicated distro to become able to say to "Windows" users people : "come on ! Try MacOSX, Lindows,... : it will let you discover the power of unixes and it's exactly as simple as Win98SE is and it works better, faster than WinXP... Because Suse or Readhat are mainly getting incomes from the server's dedicated solutions, they are not really interested in building (and maintaining !) Desktop's distros over years --> one time, Suse is available under the PPC platform, as a Desktop box solution, one time no more... If there are people to build great Desktop's dedicated solutions, this will be good too (even if we have to pay a little to get a fine product instead of spending weeks to adapt a full free distro to each of our boxes...) and it's why i just want to thank Chipp, to point us in about testing the "Lindows" distro. I got it and i will test it as soon as possible. Just one more word to add and say again and again... that, our lovely RR is exactly the RAD/XTalk that the Linux developpers community need to discover... Thanks again, Chipp :-) Bests to All, Pierre Le ven 26/09/2003 ? 11:04, Chipp Walters a ?crit : > Xavier, > > > After talking to our guru, Lindows just happens to be a paying version of > > a reduced debian distro. > > Lindows is indeed based on Debian, as they say on their website, but have > you ever tried installing Debian? It's not for amateurs! BTW, as I mentioned > in my article, Linux hardcore slashdot types don't like Lindows, because it > IS so simple and not completely free. Took me a long time to figure it out > for myself, as I originally believed them. You should really take the time > and try this distro before forming an opinion on it. > > > The author may have been involved in a scam web site earlier > > too... Sounds > > like another Bill Gates > > wannabe to me... > > I assume by 'author' you are referring to Michael Robertson, CEO of Lindows. > Among other things, he is a well-respected CEO with numerous successes > running other companies, including the founding of MP3.com. You probably > should check your facts before spreading FUD. > > > > > Well marketed though. For those interested there is more on www.cnet.com. > > In brief, they > > say you have little control over the installation. But it's easy to > > install. Has KDE is in but no Gnome. > > For those of you who don't know, KDE is a windowing interface, just like > Gnome. Many prefer KDE over Gnome because it is more Windows like. In either > case, both are nice interfaces. I have used both and much prefer KDE. It > looks better, and being a designer, looks are important to me. > > > > > Getting non click'n'run apps may be a problem zone. And the Click'n'run > > will make the OS much > > more expensive in the long run. There's no office suite which is avlb in > > other distros and if you dont > > have an ADSL, it gets costlier. > > You can use apt-get (free) to download and install debian packages if you > don't want to use Click-N-Run. There are even Lindow fan sites with > instructions and downloads. I prefer the Click-N-Run approach because it is > SOOO easy. > > As a Click-N-Run member, you can also have Lindows send you the programs on > CD as well (called Lindows Plus). This is handy if you don't have a fast > connection. > > No office suite? I imagine you're referring to the base install doesn't have > an office suite. Of course both Star Office and Open Office are available > via Click-N-Run or apt-get. In fact, the LindowsCD comes with OpenOffice. I > much prefer this model as I want as streamlined an OS as possible. The base > install is like MS, browser and email is all you get. But, installing your > favorite Office Suite is a simple download away. Also, Click-N-Run makes it > easy to UNINSTALL apps as well (sometimes very difficult for Linux). > > > > > Most innapropriate is the fact that you have to pay for any other > > program. > > This is not true. If you subscribe to Click-N-Run ($49), you get access to > over 1800 programs to download, of which over 95% of them are free. > According to the GNU license, you can charge for distribution of GNU > software, which is what Lindows does...just like Red Hat, Suse and others do > today. > > > Which is good > > for us revolution developpers but as a user, is not a good feature. Very > > limiting. > > 'Very limiting???' How so? > > > > > Compatibility with other rpms may also be another wall... > > My understanding is that RPMs are for distributing apps mainly for Red Hat. > Debian (and thus Lindows) doesn't use them. > > Xavier, I would suggest you spend some time researching Lindows and decide > for yourself, instead of asking your favorite Linux guy. While I originally > had many of the same concerns as you, once I started learning more on my > own, I found that Lindows is perfect for what I want to do. And their > software distribution is most incredible, and solves a lot of problems for > small developers. > > best, > > Chipp > > > > _______________________________________________ > 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 klaus at major-k.de Fri Sep 26 07:46:00 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 26 07:46:00 2003 Subject: non-english menus on OS X In-Reply-To: Message-ID: Hi all, short question... From the "What's new" of RR 2.1: > - OS X applications now automatically delete the last two lines in the > second menu of a stack's menu bar, Looks like this ONLY appeals if the name of the scond menu = "Edit", which definitively sucks in a german/french/dutch etc... application ;-) In that case the "Preferences" stays part of THAT "Bearbeiten" (= german for edit) menu... and is not moved to the app-menu... "Help" (Hilfe) and "About" seem to work... > if the last line starts with "Preferences". This is to prevent > duplication of the "Preferences" menu item in > the OS X Application menu. (Normally, the second menu is the Edit menu, !!! Normally not in non-english speaking countries... > and the last two menu items > are a separator line and "Preferences".) This lets you use the same > menu bar for all platforms without > breaking user-interface guidelines for OS X, which call for the > "Preferences" menu item to be in the > Applications menu and not the File menu. Can anyone confirm that? Or give a hint what i am doing wrong? Thanks a lot in advance... Regards Klaus Major klaus at major-k.de www.major-k.de From wmb at internettrainer.com Fri Sep 26 08:44:02 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Sep 26 08:44:02 2003 Subject: Lindows... In-Reply-To: Message-ID: On Freitag, Sep 26, 2003, at 11:05 Europe/Vienna, xbury.cs at clearstream.com wrote: > Nopix has our Guru's approval. Walmart doesn't! ;)) > >> From the Lindows site, the office suite is extra $$... > > The seagate story was either on Slashdot.org or theregister.co.uk > > So Bush shops at Walmart!!? ;)), > ROFL 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 themacguy at macosx.com Fri Sep 26 09:54:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Sep 26 09:54:01 2003 Subject: Lindows ftp alternative In-Reply-To: <200309260817.EAA15226@www.runrev.com> Message-ID: If you've had trouble making the connection with the ftp server using the link, launch your FTP client and enter the simple ftp info, username, and password. I'd suggest copying and pasting the password as it's not clear whether that's an "i" or a "1". I also did -not- use "passive" mode, FWIW. Barry On Friday, Sep 26, 2003, at 02:17 America/Denver, Chipp wrote: > From: "Chipp Walters" > To: "Use-Revolution" > Subject: Lindows available again. > Date: Thu, 25 Sep 2003 21:07:05 -0500 > Reply-To: use-revolution at lists.runrev.com > > Hi all, > > Well, we can now access LindowsCD, for a limited time (read 7 days). > Please > reregister if you didn't get it last time at: > > http://www.altuit.com/webs/altuit/Lindows/default.htm > From rcozens at pon.net Fri Sep 26 10:05:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Fri Sep 26 10:05:01 2003 Subject: SUMMARY: Re: Fun project but fuzzy on logic. "PhoneCALLs" In-Reply-To: <000801c382aa$c9abb330$b2ea5144@fatal7lcf637rj> References: <4BFFB2DE-EBE4-11D7-B858-003065683ECC@inspiredlogic.com> <000801c382aa$c9abb330$b2ea5144@fatal7lcf637rj> Message-ID: >We talked about how to delete the resulting PhoneCALLs that couldn't >possibly make sense. Andy, et al: I personally think (and therefore challenge others to prove me wrong) that a generalized algorithm for determining whether a character string is a "real" word is an impossible dream. Here's one reason why: In 1600, "foole" and "bee" were correct spellings; 400 years later "fool" & "be" are the correct spellings. So long as the language continues to change dynamically, how can one algorithm cover all possibilities for all time? Can anyone point to a spell check app that does NOT use a "dictionary" to determine what spelling is correct? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From gcanyon at inspiredlogic.com Fri Sep 26 10:15:01 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Sep 26 10:15:01 2003 Subject: Update: RevRTFer Message-ID: I've updated RevRTFer to work with the 2.1 documentation. It's available for download at: http://www.inspiredlogic.com/downloads.html The end result is now over 4000 pages ;-) It now also exports to MIF, for those who happen to have FrameMaker. The code is still ugly, so don't look at it without protective goggles on ;-) RevRTFer exports the Revolution documentation to a number of formats, including RTF, Text, HTML, and MIF. regards, Geoff Canyon gcanyon at inspiredlogic.com From xslaugh at hotmail.com Fri Sep 26 10:27:00 2003 From: xslaugh at hotmail.com (Scott Slaugh) Date: Fri Sep 26 10:27:00 2003 Subject: Starting Lindows Message-ID: OK, I give up. I downloaded the Lindows image, and I booted my computer from the CD. However, after the OS boots, I get taken to a text prompt that asks me for my login. What login and password am I supposed to use to get the CD working? Scott Slaugh _________________________________________________________________ Instant message with integrated webcam using MSN Messenger 6.0. Try it now FREE! http://msnmessenger-download.com From lists at mangomultimedia.com Fri Sep 26 10:33:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Sep 26 10:33:01 2003 Subject: Getting Taskbar/Dock height and position on screen? Message-ID: <0F4D1F91-F035-11D7-A52E-000A956C462A@mangomultimedia.com> I'm looking for ways to get the Dock/Taskbar height and position on the screen. I need them so I can set an app window to the full screen without covering these two items up. It seems that there should be an entry in the Windows Registry for the taskbar height and position on the screen. I have poked around in the HKEY_CURRENT_USER\Software\Microsoft\Windows\Explorer are but found nothing. Searches on google haven't turned up anything either. As for the Dock, I found the .plist that stores info on it at: /System/Library/CoreServices/Dock.app/Contents/Resources/English.lproj/ DockMenus.plist but didn't see anything which stated what it's current settings were. Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From HyperChris at aol.com Fri Sep 26 11:03:00 2003 From: HyperChris at aol.com (HyperChris at aol.com) Date: Fri Sep 26 11:03:00 2003 Subject: Subject: Re: Lindows... Message-ID: <142.19b886e7.2ca5ba7f@aol.com> Please don't! >>So Bush shops at Walmart!!? ;)), From livfoss at blueyonder.co.uk Fri Sep 26 11:06:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri Sep 26 11:06:00 2003 Subject: Getting Taskbar/Dock height and position on screen? Message-ID: On Fri, 26 Sep 2003 09:21:11 -0600, Trevor DeVore At 10:35 -0400 26/9/03, use-revolution-request at lists.runrev.com wrote: > >I'm looking for ways to get the Dock/Taskbar height and position on the >screen. I need them so I can set an app window to the full screen >without covering these two items up. > >It seems that there should be an entry in the Windows Registry for the >taskbar height and position on the screen. I have poked around in the >HKEY_CURRENT_USER\Software\Microsoft\Windows\Explorer are but found >nothing. Searches on google haven't turned up anything either. > >As for the Dock, I found the .plist that stores info on it at: >/System/Library/CoreServices/Dock.app/Contents/Resources/English.lproj/ >DockMenus.plist but didn't see anything which stated what it's current >settings were. Trevor, I think the default WindowBoundingRect will sort this out for you, but not when the IDE is present (the IDE gets to it before your code can). See useful stuff from Ken Ray and others (including what to query in the Registry) under the subject 'Leaving room for the title bar' on the list in the last few days. I think you'll find the TaskBar is also taken into account. HTH Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From jacque at hyperactivesw.com Fri Sep 26 11:12:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Sep 26 11:12:00 2003 Subject: Getting Taskbar/Dock height and position on screen? In-Reply-To: <0F4D1F91-F035-11D7-A52E-000A956C462A@mangomultimedia.com> References: <0F4D1F91-F035-11D7-A52E-000A956C462A@mangomultimedia.com> Message-ID: <3F746299.8070801@hyperactivesw.com> On 9/26/03 10:21 AM, Trevor DeVore wrote: > I'm looking for ways to get the Dock/Taskbar height and position on the > screen. I need them so I can set an app window to the full screen > without covering these two items up. Check the "windowBoundingRect" property. That gives you what you need without having to dig around in the registry or in plist files. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Fri Sep 26 11:19:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 11:19:00 2003 Subject: Starting Lindows In-Reply-To: Message-ID: <7B627F18-F03B-11D7-B897-000393529642@mindlube.com> On Friday, September 26, 2003, at 09:14 AM, Scott Slaugh wrote: > OK, I give up. I downloaded the Lindows image, and I booted my > computer from the CD. However, after the OS boots, I get taken to a > text prompt that asks me for my login. What login and password am I > supposed to use to get the CD working? Did you accidentally select Diagnostics on the boot screen? Otherwise, it does boot right into the GUI in my (very limited) experience. If you didn't select diagnostics, and you still get the text prompt, then you must have ran into a hardware problem, which would be mentioned somewhere in the several pages of boot messages. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From net_contacts at hotmail.com Fri Sep 26 11:22:01 2003 From: net_contacts at hotmail.com (Robert Hyde) Date: Fri Sep 26 11:22:01 2003 Subject: Saving encrypted customProperties outside the app? Message-ID: Hello! I am working on an app that stores a large amount of information in customproperties, since they are easily and logically accessible as well as extremely fast. This information is stored outside the app itself so that various data files can be created and so that the app can auto-save the user's work every 5/10/20/30 minutes per the user's choice. Currently I accomplish this by copying the current custompropertyset to a substack, then clone that substack and save it as a file. When the user wants to open that data, it opens the saved substack clone, copies in the custompropertyset, and it is done. The problem comes in when I want to add security to it, since the user may be typing up sensitive data... Only the user that saved the data should be able to open it, even from Rev. Even when you add a password in the code or via the distribution builder, the custompropertyset information is not encrypted, just the code itself. So anyone can open that cloned substack within rev and see what is in the custompropertyset, even if they may not know exactly how to translate it. I played with adding a script to preOpenStack that asks for a password and checks it against one saved within the stack, but in Rev you can just suppress messages and preOpenStack doesn't fire, so it leaves the file wide open. I know that I could just save that data as a substack within the app, and the distribution builder would keep that invisible within the .exe, but the user needs to be able to save to a separate data file. I think that I could just save the custompropertyset as its own file, I have seen examples of saving arrays to a file, saving just about everything to a file, but then there is no way to require a password, so it could be opened within Rev, and that does not solve my problem. So does anyone know of a good way to save custompropertyset information in a data file separate from the app itself in such a way that it would require something akin to a password to get to it even within Rev? I may be overlooking something painfully obvious, but I just can't think of anything. Is there a way to store that data within a stack that cannot be viewed from the properties page? I really appreciate any suggestions at all. Thanks! Robert _________________________________________________________________ Add MSN 8 Internet Software to your existing Internet access and enjoy patented spam protection and more. Sign up now! http://join.msn.com/?page=dept/byoa From lists at mangomultimedia.com Fri Sep 26 11:24:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Sep 26 11:24:00 2003 Subject: Getting Taskbar/Dock height and position on screen? In-Reply-To: <3F746299.8070801@hyperactivesw.com> Message-ID: <347E23C8-F03C-11D7-A52E-000A956C462A@mangomultimedia.com> Thanks Graham and Jacqueline, that seems to do the trick. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com On Friday, September 26, 2003, at 10:00 AM, J. Landman Gay wrote: > On 9/26/03 10:21 AM, Trevor DeVore wrote: > >> I'm looking for ways to get the Dock/Taskbar height and position on >> the screen. I need them so I can set an app window to the full >> screen without covering these two items up. > > Check the "windowBoundingRect" property. That gives you what you need > without having to dig around in the registry or in plist files. From rcozens at pon.net Fri Sep 26 11:33:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Fri Sep 26 11:33:01 2003 Subject: SUMMARY: Re: Fun project but fuzzy on logic. "PhoneCALLs" Message-ID: >We talked about how to delete the resulting PhoneCALLs that couldn't >possibly make sense. Andy, et al: Apropos our discussion, this just arrived in an eMail from a friend: >> Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer inwaht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a total mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Amzanig huh? << :{`) -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From lbrehmer at rof.net Fri Sep 26 11:47:01 2003 From: lbrehmer at rof.net (Lars Brehmer) Date: Fri Sep 26 11:47:01 2003 Subject: hiding objects Message-ID: <464BBDF4-F03F-11D7-B824-000A9566DE9E@rof.net> Quick question: Is it possible to script a button so that when clicked it hides a button that occurs on on every card in a stack? The name and label of the button are the same on every cloned card, but each occurance is given a differnt object number. Thanx Lars Brehmer From scott at tactilemedia.com Fri Sep 26 11:50:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Sep 26 11:50:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: On 9/26/03 9:10 AM, "Robert Hyde" wrote: > So does anyone know of a good way to save custompropertyset information in a > data file separate from the app itself in such a way that it would require > something akin to a password to get to it even within Rev? Would it be possible to save your properties as scripts of objects in an external password-protected stack? Then when you need to save new settings to the file, you'd set the passkey of the stack and set the script of each "property" object (no script limit if you use a separate object to store each script). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Fri Sep 26 11:52:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 26 11:52:01 2003 Subject: Sheet woes... In-Reply-To: <20030926085028.64071.qmail@web11901.mail.yahoo.com> Message-ID: <006501c3844c$e01e9f30$6501a8c0@LightningFlash> > That's why it's common practice to move the > 'preOpenStack' and 'openStack' handlers for the > mainStack, out of the message path, into the script of > the first card of that stack. The other practice seems to be if you leave it in the mainstack, do this: on preOpenStack if the owner of the target is me then -- handle mainstack message else -- handle substack message end if end preOpenStack Same goes for the other "stack" handlers: openStack, closeStack, closeStackRequest, etc. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From klaus at major-k.de Fri Sep 26 11:57:01 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 26 11:57:01 2003 Subject: hiding objects In-Reply-To: <464BBDF4-F03F-11D7-B824-000A9566DE9E@rof.net> Message-ID: Hi Lars, > Quick question: > > Is it possible to script a button so that when clicked it hides a > button that occurs on on every card in a stack? Quick answer: Yes :-) Hope that helps... > Thanx > > Lars Brehmer Regards Klaus Major klaus at major-k.de www.major-k.de P.S. ;-) I would suggest: 1. a repeat loop that cycles through all your cards to hide/show that button... 2. If the buttons do the same, why not group that single button and playe it onto all the necessary cards. This way the script would be a one-liner ;-) From kray at sonsothunder.com Fri Sep 26 11:58:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 26 11:58:01 2003 Subject: Update: RevRTFer In-Reply-To: Message-ID: <006701c3844d$abc330b0$6501a8c0@LightningFlash> Geoff, I get an error when trying to export as HTML... it gets to "zoomBoxproperty" and gets an error: Type: defaultStack: can't find stack Object: Process Line: set the defaultStack to tStack Hint: revDocsStarterKit 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 > Geoff Canyon > Sent: Friday, September 26, 2003 10:04 AM > To: Use-Revolution > Subject: Update: RevRTFer > > > I've updated RevRTFer to work with the 2.1 documentation. It's > available for download at: > > http://www.inspiredlogic.com/downloads.html > > The end result is now over 4000 pages ;-) > > It now also exports to MIF, for those who happen to have FrameMaker. > > The code is still ugly, so don't look at it without > protective goggles > on ;-) > > RevRTFer exports the Revolution documentation to a number of formats, > including RTF, Text, HTML, and MIF. > > 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 alex at mindlube.com Fri Sep 26 12:04:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 12:04:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: On Friday, September 26, 2003, at 10:10 AM, Robert Hyde wrote: > > So does anyone know of a good way to save custompropertyset > information in a data file separate from the app itself in such a way > that it would require something akin to a password to get to it even > within Rev? I may be overlooking something painfully obvious, but I > just can't think of anything. I don't think you are overlooking anything obvious. > I really appreciate any suggestions at all. Thanks! I read somewhere that the Rev password mechanism uses an encryption scheme that only works with text. I wonder why? Anyways I guess that's why it skips custom properties but encrypts scripts. Does it encrypt custom properties that are textual? I guess it would *have to* to otherwise fld text properties and control script properties would not get encrypted at all. Couple of ideas * If Rev does encrypt custom properties that are textual, then you could use base64encode()and base64decode() to convert binary custom properties into textual ones. or * Mark Brownell has written a Blowfish encryption engine in transcript. You could use blowfish to encrypt the entire data stack, instead of using Rev's password scheme. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From scott at tactilemedia.com Fri Sep 26 12:06:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Sep 26 12:06:01 2003 Subject: hiding objects In-Reply-To: <464BBDF4-F03F-11D7-B824-000A9566DE9E@rof.net> Message-ID: On 9/26/03 9:34 AM, "Lars Brehmer" wrote: > Is it possible to script a button so that when clicked it hides a > button that occurs on on every card in a stack? The name and label of > the button are the same on every cloned card, but each occurance is > given a differnt object number. If the button is not in a group (is there a reason why it is not?) you could: on mouseUp repeat with C = 1 to number of cds of this stack hide btn "cloaked" of card C end repeat # other code here end mouseUp To toggle the visibility, you could: on mouseUp put "cloaked" into B repeat with C = 1 to number of cds of this stack set the vis of btn B of card C to not the vis of btn B of cd C end repeat # other code here end mouseUp Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Fri Sep 26 12:09:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 26 12:09:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: Robert Hyde wrote: > So does anyone know of a good way to save custompropertyset information in a > data file separate from the app itself in such a way that it would require > something akin to a password to get to it even within Rev? It's not custom props per se, but might tide you over until a more secure native solution becomes available: -- 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 pgilmartin at ermventures.net Fri Sep 26 12:13:01 2003 From: pgilmartin at ermventures.net (Patrick Gilmartin) Date: Fri Sep 26 12:13:01 2003 Subject: OS Funnies Message-ID: <000801c3844f$d6f9e510$0101a8c0@PJG> Thought this might help start off the weekend right. I have been spending more time working with different Servers and OSes, and a friend sent this to me. If Operating Systems Ran The Airlines IF OPERATING SYSTEMS RAN THE AIRLINES UNIX Airways: Everyone brings one piece of the plane along when they come to the airport. They all go out on the runway and put the plane together piece by piece, arguing non-stop about what kind of plane they are supposed to be building. Air DOS: Everybody pushes the airplane until it glides, then they jump on and let the plane coast until it hits the ground again. Then they push again, jump on again, and so on ... Mac Airlines: All the stewards, captains, baggage handlers, and ticket agents look and act exactly the same. Every time you ask questions about details, you are gently but firmly told that you don't need to know, don't want to know, and everything will be done for you without your ever having to know, so just shut up. Windows Air: The terminal is pretty and colorful, with friendly stewards, easy baggage check and boarding, and a smooth take-off. After about 10 minutes in the air, the plane explodes with no warning whatsoever. Windows NT Air: Just like Windows Air, but costs more, uses much bigger planes, and takes out all the other aircraft within a 40-mile radius when it explodes. Linux Air: Disgruntled employees of all the other OS airlines decide to start their own airline. They build the planes, ticket counters, and pave the runways themselves. They charge a small fee to cover the cost of printing the ticket, but you can also download and print the ticket yourself. When you board the plane, you are given a seat, four bolts, a wrench and a copy of the seat-HOWTO.html. Once settled, the fully adjustable seat is very comfortable, the plan leaves and arrives on time without a single problem, the in-flight meal is wonderful. You try to tell customers of the other airlines about the great trip, but all they can say is, "You had to do what with the seat?" -------------- next part -------------- An HTML attachment was scrubbed... URL: From chipp at chipp.com Fri Sep 26 12:15:02 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 26 12:15:02 2003 Subject: Starting Lindows In-Reply-To: Message-ID: Hi Scott. Alex is correct. If you've run into problems (I've heard this happens with some onboard display controllers), it will automatically stay in Diagnostics mode. If you want an answer, please consult the Lindows forum and use the "Guest" message board. I've found it to be most helpful. best, Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Scott Slaugh > Sent: Friday, September 26, 2003 10:15 AM > To: use-revolution at lists.runrev.com > Subject: Starting Lindows > > > OK, I give up. I downloaded the Lindows image, and I booted my computer > from the CD. However, after the OS boots, I get taken to a text > prompt that > asks me for my login. What login and password am I supposed to > use to get > the CD working? > > Scott Slaugh > > _________________________________________________________________ > Instant message with integrated webcam using MSN Messenger 6.0. > Try it now > FREE! http://msnmessenger-download.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Fri Sep 26 12:15:23 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 26 12:15:23 2003 Subject: Lindows... In-Reply-To: Message-ID: Hi Xavier, > > If RPMs are not available and Lindows doesn't come with a compiler > (assumed), how do you > get more apps (like one you see one another distro?)... You are correct, Lindows doesn't come with a compiler. But using Click-N-Run, you can download ALL the developer tools with a single mouseClick(). Of course, Lindows trys to put all the available Linux Apps it knows about on the Click-N-Run servers. If you don't want to use Click-N-Run, then you need to: 1) use apt-get (free) to download and install apps or; 2) compile apps from source code yourself (not for the beginner) best, Chipp From chipp at chipp.com Fri Sep 26 12:15:49 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 26 12:15:49 2003 Subject: Lindows... In-Reply-To: <1064575386.6954.50.camel@www.kmax.ici> Message-ID: Pierre, Excellent points. And after installing Red Hat thrice before, I agree. Linux needs a 'desktop' oriented distro. And, RR is just the RAD tool for developing on it. In fact, IMHO, there's a huge opportunity for small developers with Lindows. best, Chipp > > Because Suse or Readhat are mainly getting incomes from the server's > dedicated solutions, they are not really interested in building (and > maintaining !) Desktop's distros over years --> one time, Suse is > available under the PPC platform, as a Desktop box solution, one time no > more... > > If there are people to build great Desktop's dedicated solutions, this > will be good too (even if we have to pay a little to get a fine product > instead of spending weeks to adapt a full free distro to each of our > boxes...) and it's why i just want to thank Chipp, to point us in about > testing the "Lindows" distro. I got it and i will test it as soon as > possible. > > Just one more word to add and say again and again... that, our lovely RR > is exactly the RAD/XTalk that the Linux developpers community need to > discover... > > From chipp at chipp.com Fri Sep 26 12:16:20 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 26 12:16:20 2003 Subject: Update: RevRTFer In-Reply-To: Message-ID: Thanks Geoff! I'll update the link on my site. best, Chipp > > I've updated RevRTFer to work with the 2.1 documentation. It's > available for download at: > > http://www.inspiredlogic.com/downloads.html > From pgilmartin at ermventures.net Fri Sep 26 12:19:01 2003 From: pgilmartin at ermventures.net (Patrick Gilmartin) Date: Fri Sep 26 12:19:01 2003 Subject: Sorry For email HTML format -- Changed to Text Format Message-ID: <000501c38450$a30a57c0$0101a8c0@PJG> From ambassador at fourthworld.com Fri Sep 26 12:19:31 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 26 12:19:31 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: Alex Rice wrote: > I read somewhere that the Rev password mechanism uses an encryption > scheme that only works with text. I wonder why? Anyways I guess that's > why it skips custom properties but encrypts scripts. I think the bigger reason is that a good scheme to prevent accessing custom props in the IDE will also prevent them from being accessed at runtime by your scripts. An enhancement would address this: there could be a mainstack property, something like "devPassword", which would prevent stacks from being opened in the IDE is set. This should be done in the engine to prevent scripted workarounds for access. -- 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 Sep 26 12:50:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Sep 26 12:50:01 2003 Subject: Installing Lindows? Message-ID: <432EB232-F048-11D7-BFFF-000A95763ABC@macosx.com> Okay, the boot CD does boot but how does one actually install it? Whatever resources are on the CD simply lock up the "My Computer" window as well as the "File Manager" app. At this point, Lindows an amusing party trick but if I can't install it and see how it runs from a HD, it's not a very effective sales tool. BTW, the .iso image is an older build (4.0.471); 4.0.58...something is the latest. Not meaning to be too harsh but were we given the equivalent of an AOL CD? Chipp, please feel free to pass along my comments to the Lindows folks. I'd love to try it and even try building an app for it but I'm dead in the water right now. One other question: I saw a comment here on the list about how a *nix distribution requires some sort of additional "build, etc." once it's sitting on a user's HD. Does this mean that it would require a user to possess *nix knowledge to install an app I build in Rev beyond "double-click this installer" or "drag this to your hard drive"? -------------------------------------------------------- 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 -------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1468 bytes Desc: not available URL: From cb at callum.demon.co.uk Fri Sep 26 12:54:01 2003 From: cb at callum.demon.co.uk (Callum Brines) Date: Fri Sep 26 12:54:01 2003 Subject: Unicode problem with Simplified Chinese Message-ID: Hi people I have been very happy using Rev in a variety of projects over the last two years, but have come across a problem which I hope someone can help me with. I am using Rev to build a tagged text file containing a mixture of English and simplified Chinese for importing into InDesign. The original text files are output from a database and saved as MS Word files. I open the file in Word and copy and paste the contents into a field in Rev for processing. All the Chinese characters appear correctly in the Word file and also when pasted into Rev. My program is not changing any of the Chinese characters, just formatting the text by adding InDesign tags for typesetting. After processing the file I end up with a tagged file and use the uniEncode function as follows: put uniEncode(gTagFile,"SimpleChinese") into gTagFile and then write gTagFile to disk. When the tagged file is imported into InDesign, the Chinese character E4B88A (UTF8; 4E0A Hex) is appearing as E4B88D (4E0D Hex). All the other Chinese characters are okay. Can anyone verify this for me? Is this a bug? Rev 2.02, OSX 10.2.6. Many thanks Callum -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1194 bytes Desc: not available URL: From thierry.arbellot at wanadoo.fr Fri Sep 26 12:58:01 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Fri Sep 26 12:58:01 2003 Subject: non-english menus on OS X In-Reply-To: Message-ID: <2309A837-F049-11D7-BB00-000A27E40768@wanadoo.fr> Guten Abend Klaus, Same problem in French, the "Preference" line isn't removed is the second menu isn't named "Edit" (name and label) I tried to change the label within a script in preOpenStack or openStack handler, as a workaround, but it doesn't work :-( Regards, Thierry. On Friday, September 26, 2003, at 02:34 PM, Klaus Major wrote: > Hi all, > > short question... > > From the "What's new" of RR 2.1: > >> - OS X applications now automatically delete the last two lines in >> the second menu of a stack's menu bar, > > Looks like this ONLY appeals if the name of the scond menu = "Edit", > which definitively sucks in a > german/french/dutch etc... application ;-) > > In that case the "Preferences" stays part of THAT "Bearbeiten" (= > german for edit) menu... > and is not moved to the app-menu... > > "Help" (Hilfe) and "About" seem to work... > >> if the last line starts with "Preferences". This is to prevent >> duplication of the "Preferences" menu item in >> the OS X Application menu. (Normally, the second menu is the Edit >> menu, > > !!! Normally not in non-english speaking countries... > >> and the last two menu items >> are a separator line and "Preferences".) This lets you use the same >> menu bar for all platforms without >> breaking user-interface guidelines for OS X, which call for the >> "Preferences" menu item to be in the >> Applications menu and not the File menu. > > Can anyone confirm that? > > Or give a hint what i am doing wrong? > > Thanks a lot in advance... > > > Regards > > Klaus Major > klaus at major-k.de > www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Fri Sep 26 13:06:02 2003 From: klaus at major-k.de (Klaus Major) Date: Fri Sep 26 13:06:02 2003 Subject: non-english menus on OS X In-Reply-To: <2309A837-F049-11D7-BB00-000A27E40768@wanadoo.fr> Message-ID: <73FF9A69-F04A-11D7-8C4D-000A27B49A96@major-k.de> Bon soir Thierry, > Guten Abend Klaus, > > Same problem in French, the "Preference" line isn't removed is the > second menu isn't named "Edit" (name and label) > I tried to change the label within a script in preOpenStack or > openStack handler, as a workaround, but it doesn't work :-( Merci beaucoup :-) I will bugreport it immediately. > Regards, > > Thierry. Au revoir... Klaus Major klaus at major-k.de www.major-k.de From psahores at easynet.fr Fri Sep 26 13:14:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 26 13:14:01 2003 Subject: Installing Lindows? In-Reply-To: <432EB232-F048-11D7-BFFF-000A95763ABC@macosx.com> References: <432EB232-F048-11D7-BFFF-000A95763ABC@macosx.com> Message-ID: <1064599341.6953.72.camel@www.kmax.ici> Le ven 26/09/2003 ? 19:38, Barry Levine a ?crit : > > One other question: I saw a comment here on the list about how a *nix > distribution requires some sort of additional "build, etc." once it's > sitting on a user's HD. Does this mean that it would require a user to > possess *nix knowledge to install an app I build in Rev beyond > "double-click this installer" or "drag this to your hard drive"? No. It will run directly from the desktop gui, just alike under MacOS or Win32. Bests, Pierre > > -------------------------------------------------------- > > 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 > > -------------------------------------------------------- -- 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 kray at sonsothunder.com Fri Sep 26 13:25:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 26 13:25:00 2003 Subject: Installing Lindows? In-Reply-To: <432EB232-F048-11D7-BFFF-000A95763ABC@macosx.com> Message-ID: <008501c38459$e4d20230$6501a8c0@LightningFlash> Barry, When I got my copy of Lindows it came with *two* CDs, the one you can boot from called "Lindows Demo" (which is the one you got from Chipp) and another called "Lindows Install" which allowed for installation of Lindows on a hard drive. 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: Friday, September 26, 2003 12:39 PM To: use-revolution at lists.runrev.com Subject: Installing Lindows? Okay, the boot CD does boot but how does one actually install it? Whatever resources are on the CD simply lock up the "My Computer" window as well as the "File Manager" app. At this point, Lindows an amusing party trick but if I can't install it and see how it runs from a HD, it's not a very effective sales tool. BTW, the .iso image is an older build (4.0.471); 4.0.58...something is the latest. Not meaning to be too harsh but were we given the equivalent of an AOL CD? Chipp, please feel free to pass along my comments to the Lindows folks. I'd love to try it and even try building an app for it but I'm dead in the water right now. One other question: I saw a comment here on the list about how a *nix distribution requires some sort of additional "build, etc." once it's sitting on a user's HD. Does this mean that it would require a user to possess *nix knowledge to install an app I build in Rev beyond "double-click this installer" or "drag this to your hard drive"? -------------------------------------------------------- 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 kray at sonsothunder.com Fri Sep 26 13:27:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 26 13:27:00 2003 Subject: OS Funnies In-Reply-To: <000801c3844f$d6f9e510$0101a8c0@PJG> Message-ID: <008601c3845a$279b0620$6501a8c0@LightningFlash> LOL! 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 Patrick Gilmartin Sent: Friday, September 26, 2003 12:02 PM To: use-revolution at lists.runrev.com Subject: OS Funnies Thought this might help start off the weekend right. I have been spending more time working with different Servers and OSes, and a friend sent this to me. If Operating Systems Ran The Airlines IF OPERATING SYSTEMS RAN THE AIRLINES UNIX Airways: Everyone brings one piece of the plane along when they come to the airport. They all go out on the runway and put the plane together piece by piece, arguing non-stop about what kind of plane they are supposed to be building. Air DOS: Everybody pushes the airplane until it glides, then they jump on and let the plane coast until it hits the ground again. Then they push again, jump on again, and so on ... Mac Airlines: All the stewards, captains, baggage handlers, and ticket agents look and act exactly the same. Every time you ask questions about details, you are gently but firmly told that you don't need to know, don't want to know, and everything will be done for you without your ever having to know, so just shut up. Windows Air: The terminal is pretty and colorful, with friendly stewards, easy baggage check and boarding, and a smooth take-off. After about 10 minutes in the air, the plane explodes with no warning whatsoever. Windows NT Air: Just like Windows Air, but costs more, uses much bigger planes, and takes out all the other aircraft within a 40-mile radius when it explodes. Linux Air: Disgruntled employees of all the other OS airlines decide to start their own airline. They build the planes, ticket counters, and pave the runways themselves. They charge a small fee to cover the cost of printing the ticket, but you can also download and print the ticket yourself. When you board the plane, you are given a seat, four bolts, a wrench and a copy of the seat-HOWTO.html. Once settled, the fully adjustable seat is very comfortable, the plan leaves and arrives on time without a single problem, the in-flight meal is wonderful. You try to tell customers of the other airlines about the great trip, but all they can say is, "You had to do what with the seat?" From psahores at easynet.fr Fri Sep 26 13:42:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 26 13:42:00 2003 Subject: OS Funnies In-Reply-To: <008601c3845a$279b0620$6501a8c0@LightningFlash> References: <008601c3845a$279b0620$6501a8c0@LightningFlash> Message-ID: <1064601021.6953.87.camel@www.kmax.ici> Le ven 26/09/2003 ? 20:15, Ken Ray a ?crit : > LOL! > > 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 Patrick > Gilmartin > Sent: Friday, September 26, 2003 12:02 PM > To: use-revolution at lists.runrev.com > Subject: OS Funnies > > > Thought this might help start off the weekend right. I have been > spending more time working with different Servers and OSes, and a friend > sent this to me. > > If Operating Systems Ran The Airlines > IF OPERATING SYSTEMS RAN THE AIRLINES > > UNIX Airways: > > Everyone brings one piece of the plane along when they come > to the airport. They all go out on the runway and put the > plane together piece by piece, arguing non-stop about what > kind of plane they are supposed to be building. > > Air DOS: > > Everybody pushes the airplane until it glides, then they jump > on and let the plane coast until it hits the ground again. > Then they push again, jump on again, and so on ... > > Mac Airlines: > > All the stewards, captains, baggage handlers, and ticket agents > look and act exactly the same. Every time you ask questions > about details, you are gently but firmly told that you don't > need to know, don't want to know, and everything will be done > for you without your ever having to know, so just shut up. > > Windows Air: > > The terminal is pretty and colorful, with friendly stewards, > easy baggage check and boarding, and a smooth take-off. After > about 10 minutes in the air, the plane explodes with no warning > whatsoever. > > Windows NT Air: > > Just like Windows Air, but costs more, uses much bigger planes, > and takes out all the other aircraft within a 40-mile radius > when it explodes. > > Linux Air: > > Disgruntled employees of all the other OS airlines decide to > start their own airline. They build the planes, ticket counters, > and pave the runways themselves. They charge a small fee to > cover the cost of printing the ticket, but you can also download > and print the ticket yourself. When you board the plane, you > are given a seat, four bolts, a wrench and a copy of the > seat-HOWTO.html. Once settled, the fully adjustable seat is > very comfortable, the plan leaves and arrives on time without > a single problem, the in-flight meal is wonderful. You try to > tell customers of the other airlines about the great trip, but > all they can say is, "You had to do what with the seat?" > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Fri Sep 26 13:45:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Fri Sep 26 13:45:01 2003 Subject: hiding objects In-Reply-To: <200309261601.MAA28093@www.runrev.com> Message-ID: Hi Lars, > Date: Fri, 26 Sep 2003 18:34:18 +0200 > Subject: hiding objects > From: Lars Brehmer > > Quick question: > > Is it possible to script a button so that when clicked it hides a > button that occurs on on every card in a stack? ---------- Group it with Background behavior, then you can hide and show the group. ______ > The name and label of > the button are the same on every cloned card, but each occurance is > given a differnt object number. --------- Why? Does they really have to have separate numbers? Ken N. From themacguy at macosx.com Fri Sep 26 13:59:01 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Sep 26 13:59:01 2003 Subject: Lindows CD - It's a teaser Message-ID: Looks like the Lindows CD .iso file is, indeed, a teaser CD. No installation is possible. Barry From alex at mindlube.com Fri Sep 26 14:16:02 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 14:16:02 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: <44B47D35-F054-11D7-83C5-000393529642@mindlube.com> On Friday, September 26, 2003, at 10:51 AM, Alex Rice wrote: > I read somewhere that the Rev password mechanism uses an encryption > scheme that only works with text. I wonder why? Anyways I guess that's > why it skips custom properties but encrypts scripts. Does it encrypt > custom properties that are textual? I guess it would *have to* to > otherwise fld text properties and control script properties would not > get encrypted at all. Hmm... maybe it's time to reexamine assumptions here. Or maybe I'm confused. I did some testing and it appears to me both textual and binary custom properties are encrypted- so there is no need to base64encode stuff and put it into another custom property. -- create test stack set the uTextProp of this stack to "hello world" set the uBinProp of this stack to the md5digest of "hello world" -- save stack as test.rev -- look at test.rev in Emacs: -- See the following text, which shows both custom properties and their values. The value for uBinProp is mostly the same characters that are displayed in the properties inspector in Rev- so we are seeing both of the custom properties unencrypted: -- uTextProp -- now try encrypting the stack set the password of this stack to "something" -- save stack -- look at test.rev in Emacs -- See what appears to be encrypted content for both the text property and the binary property: -- ???t? | 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 Fri Sep 26 14:29:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 14:29:01 2003 Subject: Lindows CD - It's a teaser In-Reply-To: Message-ID: <1D8A6070-F056-11D7-83C5-000393529642@mindlube.com> On Friday, September 26, 2003, at 12:40 PM, Barry Levine wrote: > Looks like the Lindows CD .iso file is, indeed, a teaser CD. No > installation is possible. I thought that was kind of implied in Chipp's original email; """They also have a $29 CD which runs ENTIRELY off the CD on Intel machines --so, you can try it out if you like, without having to install anything.""" I am a little surprised that LindowsCD doesn't have this cool feature available on Knoppix- the ability to designate a small disk partition to use for your home directory or other persistent storage, and mount that volume when running from the CD. Maybe it's there in Lindows and I overlooked it? Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chipp at chipp.com Fri Sep 26 14:32:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 26 14:32:01 2003 Subject: Installing Lindows? In-Reply-To: <432EB232-F048-11D7-BFFF-000A95763ABC@macosx.com> Message-ID: Barry, I'm sorry you didn't read the whole of my labored message at: http://www.altuit.com/webs/altuit/Lindows/AnbspCasenbspfornbspLindows.htm In particular... Lindows -Try it, you'll like it So, I'm interested, but don't really have the time to install Lindows (you know, create a partition, install it, debug it and figure out 10 hours later you really can't use it). But, it turns out I don't need to do all this. In fact, I can run Lindows from a bootable CD-ROM totally in RAM, called "LindowsCD." I don't even need a hard drive. I can check out quickly if Lindows will run on my computer, without the headaches associated with Linux installs. I order a copy of the LindowsCD, put it in a bunch of my computers (three at home and three at work) and WOW! It runs on ALL of them. It recognizes the wireless card on two of the laptops (even XP didn't do that!). Connected my USB drive and it showed up on the desktop immediately. Lindows also found my WinXP shares on my LAN. And the amazing part is I can navigate around the desktop interface, just like Jerry said, because it's so Windows like. Next, I get a copy of the Lindows4.0 CD, use Partition Magic to create a single new unformatted partition after my XP partition, and install Lindows on my hard drive. (More on the install later.) The LindowsCD runs in RAM. It is not a LindowsOS installer. That is what Lindows4.0 CD does. But, with the LindowsCD you can test out Lindows to see if it will run on your machine w/out going through the headaches of partitioning and installing. Regarding application installation: If you decide and purchase the Click-N-Run option, then application installs are as simple as a single click of the button. No labored compiles or console commands. best, Chipp Okay, the boot CD does boot but how does one actually install it? Whatever resources are on the CD simply lock up the "My Computer" window as well as the "File Manager" app. At this point, Lindows an amusing party trick but if I can't install it and see how it runs from a HD, it's not a very effective sales tool. BTW, the .iso image is an older build (4.0.471); 4.0.58...something is the latest. Not meaning to be too harsh but were we given the equivalent of an AOL CD? Chipp, please feel free to pass along my comments to the Lindows folks. I'd love to try it and even try building an app for it but I'm dead in the water right now. One other question: I saw a comment here on the list about how a *nix distribution requires some sort of additional "build, etc." once it's sitting on a user's HD. Does this mean that it would require a user to possess *nix knowledge to install an app I build in Rev beyond "double-click this installer" or "drag this to your hard drive"? -------------- next part -------------- An HTML attachment was scrubbed... URL: From chipp at chipp.com Fri Sep 26 14:34:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 26 14:34:01 2003 Subject: Lindows CD - It's a teaser In-Reply-To: Message-ID: Hi Barry, Actually the LindowsCD is much more than that: 1) It is used to verify if Lindows can run on a system before going through a lengthy install 2) It is used with WebStation and BusinessStation (very inexpensive machines $169 US) for Education and Corporations and KIOSKS. http://lindows.com/lindows_webstation_info.php> 3) It is a wonderful Emergency disk. In fact, earlier, when creating a new partition on a Dell laptop, Partition Magic (windows program) messed up the entire partition table, and WinXP could no longer boot. I was able to use LindowsCD to mount the Hard drive and copy files off of it. Wonderful! -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: Friday, September 26, 2003 1:41 PM > To: use-revolution at lists.runrev.com > Subject: Lindows CD - It's a teaser > > > Looks like the Lindows CD .iso file is, indeed, a teaser CD. No > installation is possible. > > Barry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Fri Sep 26 14:44:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Sep 26 14:44:01 2003 Subject: Offset from End? In-Reply-To: <000801c3844f$d6f9e510$0101a8c0@PJG> Message-ID: Is there a way to get the itemOffset starting from the end of a text block? Didn't appear to be an answer in the archives... Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Fri Sep 26 14:54:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 26 14:54:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: <44B47D35-F054-11D7-83C5-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > > On Friday, September 26, 2003, at 10:51 AM, Alex Rice wrote: >> I read somewhere that the Rev password mechanism uses an encryption >> scheme that only works with text. I wonder why? Anyways I guess that's >> why it skips custom properties but encrypts scripts. Does it encrypt >> custom properties that are textual? I guess it would *have to* to >> otherwise fld text properties and control script properties would not >> get encrypted at all. > > Hmm... maybe it's time to reexamine assumptions here. Or maybe I'm > confused. I did some testing and it appears to me both textual and > binary custom properties are encrypted- so there is no need to > base64encode stuff and put it into another custom property. Not for disk storage, but to the difference between storing data in scripts and in custom props in a password-protected stack is that all you need to read data in custom props is a copy of Rev; the password is required to edit scripts but not for editing props. -- 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 Fri Sep 26 15:25:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 26 15:25:01 2003 Subject: Lindows CD - It's a teaser In-Reply-To: <1D8A6070-F056-11D7-83C5-000393529642@mindlube.com> Message-ID: Alex, Good point. I'm told they're working on such features for LindowsCD (it's relatively new at this time). You might want to check out Lindows BusinessStation, which is interesting in that it queries a server on startup and loads specific internet aware apps. BTW, you can right-click on the desktop in LindowsCD and add Hard Drive and point it to your WinXP drive, then access the files there. -Chipp > I am a little surprised that LindowsCD doesn't have this cool feature > available on Knoppix- the ability to designate a small disk partition > to use for your home directory or other persistent storage, and mount > that volume when running from the CD. Maybe it's there in Lindows and I > overlooked it? > > Alex Rice | Mindlube Software | http://mindlube.com > > what a waste of thumbs that are opposable > to make machines that are disposable -Ani DiFranco > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From themacguy at macosx.com Fri Sep 26 15:28:00 2003 From: themacguy at macosx.com (Barry Levine) Date: Fri Sep 26 15:28:00 2003 Subject: Lindows teaser In-Reply-To: <200309261833.OAA05072@www.runrev.com> Message-ID: <5A142358-F05E-11D7-AE8A-000A95763ABC@macosx.com> The words I keyed in on were "without having to install anything". I erroneously thought it would permit me to do so once I decided I liked it. *sigh* So, do you think that, for $50, we can actually write apps for this OS and, more importantly, get paid by them for doing so? Barry On Friday, Sep 26, 2003, at 12:33 America/Denver, Alex wrote: >> Looks like the Lindows CD .iso file is, indeed, a teaser CD. No >> installation is possible. > > I thought that was kind of implied in Chipp's original email; > > """They also have a $29 CD which runs ENTIRELY off the CD on Intel > machines --so, you can try it out if you like, without having to > install > anything.""" From net_contacts at hotmail.com Fri Sep 26 15:39:00 2003 From: net_contacts at hotmail.com (Robert Hyde) Date: Fri Sep 26 15:39:00 2003 Subject: Saving encrypted customProperties outside the app? Message-ID: All this speedy input is great! Unfortunately, I have not been able to test any of this out this afternoon. And I am not familiar with Emacs, is it associated with Rev? Because I don't want anyone to be able to read the custompropertysets in Rev either. And every time I opened one of the afore-mentioned stacks within Rev, I can see all of the customproperties even though I have to enter the correct password to get to the code. At least at 2.02. But I will explore dumping the customproperties into a script as well as the blowfish option for sure. So after setting the password to "something" were the customproperties for both text and binary encrypted? And again, thank you for all the help! Robert --------------------------------------------------------------------- On Friday, September 26, 2003, at 10:51 AM, Alex Rice wrote: >I read somewhere that the Rev password mechanism uses an encryption scheme >that only works with text. I wonder why? Anyways I guess that's why it >skips custom properties but encrypts scripts. Does it encrypt custom >properties that are textual? I guess it would *have to* to otherwise fld >text properties and control script properties would not get encrypted at >all. Hmm... maybe it's time to reexamine assumptions here. Or maybe I'm confused. I did some testing and it appears to me both textual and binary custom properties are encrypted- so there is no need to base64encode stuff and put it into another custom property. -- create test stack set the uTextProp of this stack to "hello world" set the uBinProp of this stack to the md5digest of "hello world" -- save stack as test.rev -- look at test.rev in Emacs: -- See the following text, which shows both custom properties and their values. The value for uBinProp is mostly the same characters that are displayed in the properties inspector in Rev- so we are seeing both of the custom properties unencrypted: -- uTextProp hello world uBinProp ^???;??????????????"????Z????? -- now try encrypting the stack set the password of this stack to "something" -- save stack -- look at test.rev in Emacs -- See what appears to be encrypted content for both the text property and the binary property: -- ??????t?? >Alex is correct. If you've run into problems (I've heard this happens with >some onboard display controllers), it will automatically stay in >Diagnostics >mode. If you want an answer, please consult the Lindows forum and use the >"Guest" message board. I've found it to be most helpful. I'll look at that. I was trying to run the CD in VMWare, rather than on a real machine. I'll have to go home and try the CD on my actual PC. Scott Slaugh _________________________________________________________________ Get McAfee virus scanning and cleaning of incoming attachments. Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es From alex at mindlube.com Fri Sep 26 16:15:00 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 16:15:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: On Friday, September 26, 2003, at 02:26 PM, Robert Hyde wrote: > All this speedy input is great! Unfortunately, I have not been able > to test any of this out this afternoon. And I am not familiar with > Emacs, is it associated with Rev? No it's just a text editor that happily works with binary files. It's what I was using to look at my data stack on disk. > Because I don't want anyone to be able to read the custompropertysets > in Rev either. And every time I opened one of the afore-mentioned > stacks within Rev, I can see all of the customproperties even though I > have to enter the correct password to get to the code. At least at > 2.02. But I will explore dumping the customproperties into a script > as well as the blowfish option for sure. So after setting the > password to "something" were the customproperties for both text and > binary encrypted? And again, thank you for all the help! As Richard clarified for me, even though the custom properties ARE encrypted in the data stack written to disk, someone with a Rev IDE can open the stack and read the custom properties without entering the password. The only custom property requiring a password in the IDE is the script property. Therefore the weird workarounds that were posted about base64encoding custom properties and putting them into the script property of a control. Remaining questions for me: If the password itself is not part of the encryption scheme, then why is a side effect of setting the password to encrypt the stack when written to disk? If the password is not part of the encryption scheme, then at least give us a little information about how secure or insecure this stack encryption scheme is? Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Fri Sep 26 16:50:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 26 16:50:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: Alex Rice wrote: > The only custom property requiring a password in the IDE is > the script property. Therefore the weird workarounds that were posted > about base64encoding custom properties and putting them into the script > property of a control. Weird perhaps, but functional and available now. For the future it seems useful to have another level of protection for custom props, but the hard part is coming up with a way for the engine to be able to get and set properties in your standalone without having the Rev IDE or stacks from intruders read them. If you come up with a solution Bugzilla an ehancement request for 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 index at kenjikojima.com Fri Sep 26 17:18:00 2003 From: index at kenjikojima.com (Kenji Kojima) Date: Fri Sep 26 17:18:00 2003 Subject: Unicode problem with Simplified Chinese In-Reply-To: Message-ID: Callum Brines wrote: > When the tagged file is imported into InDesign, the Chinese character > E4B88A (UTF8; 4E0A Hex) is appearing as E4B88D (4E0D Hex). All the > other Chinese characters are okay. > > Can anyone verify this for me? Is this a bug? I do not know Simplified Chinese, but Unicode 4E0A has a problem in Japanese. http://www.kenjikojima.com/runrev/bugReport/unicodeChars.jpg These characters contain a return element. If there are 3 characters of them in the first line, Rev counts the first line is three lines. I reported it in April. -- Kenji Kojima http://www.kenjikojima.com/ From gary.rathbone at btclick.com Fri Sep 26 17:34:00 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Fri Sep 26 17:34:00 2003 Subject: [OT] - Off Topic - RE: Starting Lindows In-Reply-To: Message-ID: <000201c3847c$a9566b10$f600000a@porthos> Any chance we can use an Off Topic tab so I can skip all this non-Rev stuff? Thanks Gary Rathbone > -----Original Message----- > From: use-revolution-admin at lists.runrev.com [mailto:use-revolution- > admin at lists.runrev.com] On Behalf Of Scott Slaugh > Sent: 26 September 2003 21:59 > To: use-revolution at lists.runrev.com > Subject: RE: Starting Lindows > > >Alex is correct. If you've run into problems (I've heard this happens > with > >some onboard display controllers), it will automatically stay in > >Diagnostics > >mode. If you want an answer, please consult the Lindows forum and use the > >"Guest" message board. I've found it to be most helpful. > > I'll look at that. I was trying to run the CD in VMWare, rather than on a > real machine. I'll have to go home and try the CD on my actual PC. > > Scott Slaugh > > _________________________________________________________________ > Get McAfee virus scanning and cleaning of incoming attachments. Get > Hotmail > Extra Storage! http://join.msn.com/?PAGE=features/es > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at mindlube.com Fri Sep 26 17:35:01 2003 From: alex at mindlube.com (Alex Rice) Date: Fri Sep 26 17:35:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: <21B17254-F070-11D7-8BC6-000393529642@mindlube.com> On Friday, September 26, 2003, at 03:38 PM, Richard Gaskin wrote: > Weird perhaps, but functional and available now. > 017437.html> Thanks for the clarification Richard. > For the future it seems useful to have another level of protection for > custom props, but the hard part is coming up with a way for the engine > to be > able to get and set properties in your standalone without having the > Rev IDE > or stacks from intruders read them. If you come up with a solution > Bugzilla an ehancement request for it. From my perspective the whole password+encryption mechanism convoluted. Some aspects are encrypted, some aren't, some aspects are password protected, some aren't. The engine itself has elevated privileges and can open, run and edit almost all aspects of a supposedly encrypted stack. Something just doesn't seem right about this. I would like to see a stack protection feature that does encryption- through and through. In order to open, run, read, edit, *do anything* no matter if via engine or via IDE, first one would first have to authenticate. It could be password authentication or public key authentication. Authentication could be done by prompting the user, or done by a script in an already running stack. Maybe a good idea for a 3rd party plugin. The ABC framework for Cocoa programming has something like this- encrypted media bundles you can ship inside your app bundle. Sorry for rambling, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From psahores at easynet.fr Fri Sep 26 17:37:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Sep 26 17:37:01 2003 Subject: Starting Lindows In-Reply-To: References: Message-ID: <1064615147.2620.30.camel@www.kmax.ici> Le ven 26/09/2003 ? 22:59, Scott Slaugh a ?crit : > >Alex is correct. If you've run into problems (I've heard this happens with > >some onboard display controllers), it will automatically stay in > >Diagnostics > >mode. If you want an answer, please consult the Lindows forum and use the > >"Guest" message board. I've found it to be most helpful. > > I'll look at that. I was trying to run the CD in VMWare, rather than on a > real machine. I'll have to go home and try the CD on my actual PC. > > Scott Slaugh > > _________________________________________________________________ > Get McAfee virus scanning and cleaning of incoming attachments. Get Hotmail > Extra Storage! http://join.msn.com/?PAGE=features/es > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > Hi List, Hum ! LindowsCD lacks to start XFree86/KDE because incompatibilities with the NVIDIA Geoforce4 420 Go video card of my chipest Sony Vaio PCG laptop... As an off-subject info, Suse 8.0 is full compatible with this "so special" NVIDIA Geoforce 4 420 Go but Suse 8.2 is less compatible with the same card ; the NVIDIA binary linux driver run fine under Suse 8.0 but can't install under Suse 8.2. Any one interested in purchasing a x86 box/laptop to run any Linux distro will get a best XFree86 usability in avoiding any NVIDIA video drived computer... 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 dsc at swcp.com Fri Sep 26 18:39:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 26 18:39:00 2003 Subject: Unicode problem with Simplified Chinese In-Reply-To: Message-ID: On Friday, September 26, 2003, at 12:39 PM, Callum Brines wrote: > When the tagged file is imported into InDesign, the Chinese character > E4B88A (UTF8; 4E0A Hex) is appearing as E4B88D (4E0D Hex). All the > other Chinese characters are okay. I don't think 4E0A is a single UTF-8 character. Same with 4E0D. Did you mean some other encoding scheme? (I'm just learning about unicode, so my knowledge is at a dangerous level.) Dar Scott From dsc at swcp.com Fri Sep 26 18:45:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 26 18:45:00 2003 Subject: Unicode problem with Simplified Chinese In-Reply-To: Message-ID: On Friday, September 26, 2003, at 12:39 PM, Callum Brines wrote: > put uniEncode(gTagFile,"SimpleChinese") into gTagFile How are you getting the field contents into gTagFile? I have seen for Japanese that "the text of" a field is not the same as "the unicodeText of" a field. For Japanese, the space and line-end (ascii line-feed) are single bytes in "the text of" and double-bytes in "the unicodeText of". Dar Scott unicode student From dsc at swcp.com Fri Sep 26 19:04:00 2003 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 26 19:04:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: Message-ID: <77611335-F07C-11D7-9EB8-000A9567A3E6@swcp.com> On Thursday, September 25, 2003, at 08:38 AM, Trevor DeVore wrote: > I get a file that Flash MX reads without a problem. BBEdit still > doesn't recognize it but I will mess around with adding the BOM to the > file and see if that helps. Now I just need to find a way to get file > paths in unicode and I will have a unicode friendly application. Try putting the BOM before the unicode and then convert to UTF-8. (BTW, as you probably noticed, I got the bytes swapped in my earlier suggestion for creating the BOM. The principle still might work. function bom set the useUnicode to true return numToChar(abs(baseConvert("FEFF",16,10))) end if Or something like that. Or simply use the three byte UTF-8 version.) Dar Scott unicode sophomore From ptrendler at bigpond.com Fri Sep 26 19:10:00 2003 From: ptrendler at bigpond.com (Pat Trendler) Date: Fri Sep 26 19:10:00 2003 Subject: OT Lindows and Knoppix on Australian Mags' CDs Message-ID: <007a01c3848a$21f73bf0$0100a8c0@SUPER> This may be of interest to Oz Revvers: Australian Personal Computer (October) has Lindows OS 4.0 CD (yeah, I know that's probably and older vers). Complete with instr and also how to make a portable version on a 128MB USB mem key and take it with you whereever, school, uni, cafe,work. Australian PC World (October) has Knoppix 3.2 CD. Both full versions. From hangtime at earthlink.net Fri Sep 26 20:00:01 2003 From: hangtime at earthlink.net (HangTime) Date: Fri Sep 26 20:00:01 2003 Subject: use-revolution digest, Vol 1 #1953 - 18 msgs In-Reply-To: <200309250317.XAA09984@www.runrev.com> Message-ID: <6FA5276C-F084-11D7-806A-000393C67B60@earthlink.net> > Is there a way to get the itemOffset starting from the end of a text > block? Scott, would this work for you? function endItemOffset jTargetText,jTextBlock return (the number of items of jTextBlock) - (itemOffset(jTargetText,jTextBlock) - 1) end endItemOffset Hope it helps --HangTime [Will Compute for Food] B-)> From gizmotron at earthlink.net Fri Sep 26 20:03:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Fri Sep 26 20:03:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: On Friday, September 26, 2003, at 09:51 AM, Alex Rice wrote: > * Mark Brownell has written a Blowfish encryption engine in > transcript. You could use blowfish to encrypt the entire data stack, > instead of using Rev's password scheme. I'm working on a method to encapsulate complete data chunks as individual parts. One way to do this would be to use a pull parser to get one part at a time. Example: encrypted data here... In this text file example my encrypted data is htmlText where I deliberately remove line breaks, return numToChar(13) & numToChar(10) So later when a cross-platform file is decrypted "

" & return is used to replace "

" One implementation could be to save each page's encrypted data in an array that is savable in a customProperty. The reason I mention all this is Blowfish takes about a half a second to build the encryption boxes that are used to encrypt and decrypt data. If the data is encrypted in smaller sized user chunks then a Transcript/Blowfish is not noticed much. It can slow things down when you attempt to encrypt an entire data source all at once. Contact me off list if you are interested in getting Transcript/Blowfish. Mark Brownell From dan at shafermedia.com Fri Sep 26 20:11:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Fri Sep 26 20:11:00 2003 Subject: Using Valentina Locally, Switching to MySQL on Server` Message-ID: Is it a logical design approach to build a product so that as a stand-alone, it relies on Valentina but when deployed in a multi-user networked environment, it switches to a central MySQL (or similar) database? Would it be easy to compartmentalize the back end such that the move from one to the other could be fairly transparent? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 Fri Sep 26 20:59:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 26 20:59:00 2003 Subject: OT Lindows and Knoppix on Australian Mags' CDs In-Reply-To: <007a01c3848a$21f73bf0$0100a8c0@SUPER> Message-ID: > > This may be of interest to Oz Revvers: > > Australian Personal Computer (October) has Lindows OS 4.0 CD (yeah, I know > that's probably and older vers). > Complete with instr and also how to make a portable version on a 128MB USB > mem key and take it with you whereever, school, uni, cafe,work. > > Australian PC World (October) has Knoppix 3.2 CD. > > Both full versions. Good to know. I'll just pop down to the newsagent ;-) Although Alex has just put my CD in the post ;-) Cheers Monte From monte at sweattechnologies.com Fri Sep 26 20:59:30 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 26 20:59:30 2003 Subject: Using Valentina Locally, Switching to MySQL on Server` In-Reply-To: Message-ID: > Is it a logical design approach to build a product so that as a > stand-alone, it relies on Valentina but when deployed in a multi-user > networked environment, it switches to a central MySQL (or similar) > database? Would it be easy to compartmentalize the back end such that > the move from one to the other could be fairly transparent? If you use the Rev database API and don't use Valentina's Object-Relational features then yes. Personally I'm hoping that SQLite external is on it's way. Cheers Monte From soapdog at mac.com Fri Sep 26 22:03:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Fri Sep 26 22:03:00 2003 Subject: Using Valentina Locally, Switching to MySQL on Server` In-Reply-To: Message-ID: <08121633-F096-11D7-8454-00039387AE90@mac.com> On Friday, September 26, 2003, at 10:47 PM, Monte Goulding wrote: > > If you use the Rev database API and don't use Valentina's > Object-Relational > features then yes. Personally I'm hoping that SQLite external is on > it's > way. > > Cheers > > Monte wow, is someone working on a SQLite external??? Cheers > Andre Alves Garzia ? 2003 ? BRAZIL http://www.soapdog.org From monte at sweattechnologies.com Fri Sep 26 22:24:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 26 22:24:00 2003 Subject: Using Valentina Locally, Switching to MySQL on Server` In-Reply-To: <08121633-F096-11D7-8454-00039387AE90@mac.com> Message-ID: > On Friday, September 26, 2003, at 10:47 PM, Monte Goulding wrote: > > > > > If you use the Rev database API and don't use Valentina's > > Object-Relational > > features then yes. Personally I'm hoping that SQLite external is on > > it's > > way. > > > > Cheers > > > > Monte > > wow, is someone working on a SQLite external??? Think so... Was it a list member with Tuviah's assistance???? Cheers Monte From kray at sonsothunder.com Fri Sep 26 22:47:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 26 22:47:00 2003 Subject: Using Valentina Locally, Switching to MySQL on Server` In-Reply-To: Message-ID: <00e001c384a8$4dddf5b0$6501a8c0@LightningFlash> Dan, just curious... why start with Valentina and switch to MySQL instead of using Valentina Server? I know it's in beta right now, but I've been using it for awhile and it seems to work quite well for me and my client. It's not as robust as MySQL, but it is multi-user, has locked records, etc. and wouldn't require switching from one DB to another. 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 Shafer > Sent: Friday, September 26, 2003 8:00 PM > To: Revolution List > Subject: Using Valentina Locally, Switching to MySQL on Server` > > > Is it a logical design approach to build a product so that as a > stand-alone, it relies on Valentina but when deployed in a multi-user > networked environment, it switches to a central MySQL (or similar) > database? Would it be easy to compartmentalize the back end such that > the move from one to the other could be fairly transparent? > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 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 From lists at mangomultimedia.com Fri Sep 26 23:21:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Sep 26 23:21:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <77611335-F07C-11D7-9EB8-000A9567A3E6@swcp.com> Message-ID: <7AC1D9C2-F0A0-11D7-A52E-000A956C462A@mangomultimedia.com> Dar, That did it! The following code create a file that was read as a UTF8 file by BBEdit: on mouseUp set useUnicode to true put "/Users/trevordevore/Desktop/config.xml" into tPath open file tPath for binary write write uniDecode (bom() & the unicodeText of field 1, "UTF8") to file tPath close file tPath end mouseUp function bom set the useUnicode to true return numToChar(abs(baseConvert("FEFF",16,10))) end bom Thanks! -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com On Friday, September 26, 2003, at 05:52 PM, Dar Scott wrote: > > On Thursday, September 25, 2003, at 08:38 AM, Trevor DeVore wrote: > >> I get a file that Flash MX reads without a problem. BBEdit still >> doesn't recognize it but I will mess around with adding the BOM to >> the file and see if that helps. Now I just need to find a way to get >> file paths in unicode and I will have a unicode friendly application. > > Try putting the BOM before the unicode and then convert to UTF-8. > > (BTW, as you probably noticed, I got the bytes swapped in my earlier > suggestion for creating the BOM. The principle still might work. > > function bom > set the useUnicode to true > return numToChar(abs(baseConvert("FEFF",16,10))) > end if > > Or something like that. > > Or simply use the three byte UTF-8 version.) > > Dar Scott > unicode sophomore > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Fri Sep 26 23:35:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Sep 26 23:35:01 2003 Subject: use-revolution digest, Vol 1 #1953 - 18 msgs In-Reply-To: <6FA5276C-F084-11D7-806A-000393C67B60@earthlink.net> Message-ID: >> Is there a way to get the itemOffset starting from the end of a text >> block? > > Scott, would this work for you? > > function endItemOffset jTargetText,jTextBlock > return (the number of items of jTextBlock) - > (itemOffset(jTargetText,jTextBlock) - 1) > end endItemOffset It might if the textBlock used a single character delimiter (such as a comma), but I need to get the next-to-last itemOffset of a chunk. Thanks for the suggestion though. 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 Sep 27 00:24:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 27 00:24:00 2003 Subject: creating a Unicode (UTF-8) file using open/write/close file In-Reply-To: <7AC1D9C2-F0A0-11D7-A52E-000A956C462A@mangomultimedia.com> Message-ID: <1A16603F-F0A9-11D7-B00F-000A9567A3E6@swcp.com> On Friday, September 26, 2003, at 10:10 PM, Trevor DeVore wrote: > That did it! I am shocked! > return numToChar(abs(baseConvert("FEFF",16,10))) BTW, the abs() is only needed to get around a baseConvert() bug in the general case, which this is not. Also, you can figure out the constant expression in the message box, so this line might be shortened to this: return numToChar(65279) -- FEFF > Thanks! You are welcome. I hope it works on other platforms. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From psahores at easynet.fr Sat Sep 27 01:27:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Sep 27 01:27:00 2003 Subject: Using Valentina Locally, Switching to MySQL on Server` In-Reply-To: <00e001c384a8$4dddf5b0$6501a8c0@LightningFlash> References: <00e001c384a8$4dddf5b0$6501a8c0@LightningFlash> Message-ID: <1064643391.2786.17.camel@www.kmax.ici> Le sam 27/09/2003 ? 05:34, Ken Ray a ?crit : > Dan, just curious... why start with Valentina and switch to MySQL > instead of using Valentina Server? I know it's in beta right now, but > I've been using it for awhile and it seems to work quite well for me and > my client. It's not as robust as MySQL, but it is multi-user, has locked > records, etc. and wouldn't require switching from one DB to another. > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ Hi Dan, Ken, List, Agreed. Else, in taking care about the details : as generic as possible ANSI SQL statements, casual management of the access to both the local (even CD hosted) and/or networked datasources, usage of Valentina Server or PostgreSQL instead of MySQL to get the best SQL statements compatibility between the two kind of datasources..., it will, for sure, be ways to build great and usefull local/networked online updatables multimedia and ebooks encyclopedia solutions. Bests, Pierre > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Dan Shafer > > Sent: Friday, September 26, 2003 8:00 PM > > To: Revolution List > > Subject: Using Valentina Locally, Switching to MySQL on Server` > > > > > > Is it a logical design approach to build a product so that as a > > stand-alone, it relies on Valentina but when deployed in a multi-user > > networked environment, it switches to a central MySQL (or similar) > > database? Would it be easy to compartmentalize the back end such that > > the move from one to the other could be fairly transparent? > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > 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 > > > _______________________________________________ > 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 FlexibleLearning at aol.com Sat Sep 27 01:52:00 2003 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat Sep 27 01:52:00 2003 Subject: Offset from End? Message-ID: <1e5.109400b2.2ca68aca@aol.com> Is there a way to get the itemOffset starting from the end of a text block? Didn't appear to be an answer in the archives... num of items of tText - itemOffset(tStr,tText) ? /H -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Sat Sep 27 02:39:00 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 27 02:39:00 2003 Subject: Unicode problem with Simplified Chinese In-Reply-To: Message-ID: <23930A7E-F0BC-11D7-B00F-000A9567A3E6@swcp.com> On Friday, September 26, 2003, at 05:27 PM, Dar Scott wrote: >> When the tagged file is imported into InDesign, the Chinese >> character E4B88A (UTF8; 4E0A Hex) is appearing as E4B88D (4E0D Hex). >> All the other Chinese characters are okay. > > I don't think 4E0A is a single UTF-8 character. Same with 4E0D. Did > you mean some other encoding scheme? Sorry. I can see you mean E4B88A in UTF-8 which is 4E0A in UTF-16. And E4B88D in UTF-8 which is 4E0D in UTF-16. And those would be C9CF and B2BB in simplified Chinese. Well, assuming I'm using the uniDecode() function right; I'm still figuring this out. I looked on a simplified Chinese (GB2312-80) table and that looked right. Those looked the same as the unicode characters. I used uniEncode() to convert back and the resulting code looks OK. So, unicode functions look OK to me. I did notice the 0A and 0D pattern above and those remind me of ASCII LF and CR. Coincidence? Clue? It seems uniEncode() seems to handle ASCII mixed with simplified Chinese, so I would guess coincidence. Dar Scott unicode newbie From dsc at swcp.com Sat Sep 27 02:43:08 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 27 02:43:08 2003 Subject: Unicode problem with Simplified Chinese In-Reply-To: Message-ID: On Friday, September 26, 2003, at 12:39 PM, Callum Brines wrote: > put uniEncode(gTagFile,"SimpleChinese") into gTagFile > > and then write gTagFile to disk. > > When the tagged file is imported into InDesign, the Chinese character > E4B88A (UTF8; 4E0A Hex) is appearing as E4B88D (4E0D Hex). All the > other Chinese characters are okay. 0A? 0D? Are you writing using file: instead of binfile:? Dar Scott From dsc at swcp.com Sat Sep 27 02:51:01 2003 From: dsc at swcp.com (Dar Scott) Date: Sat Sep 27 02:51:01 2003 Subject: Unicode problem with Simplified Chinese In-Reply-To: Message-ID: On Saturday, September 27, 2003, at 01:31 AM, Dar Scott wrote: > On Friday, September 26, 2003, at 12:39 PM, Callum Brines wrote: > >> put uniEncode(gTagFile,"SimpleChinese") into gTagFile >> >> and then write gTagFile to disk. >> >> When the tagged file is imported into InDesign, the Chinese >> character E4B88A (UTF8; 4E0A Hex) is appearing as E4B88D (4E0D Hex). >> All the other Chinese characters are okay. > > 0A? 0D? > > Are you writing using file: instead of binfile:? Sorry. It's getting late. The above applies to using URL. You should use binfile. If you are writing to the file, you should be using binary instead of text in 'open file'. (Your mail header indicates you are on a Mac, so translation of ASCII LF to ASCII CR makes sense as the cause.) Dar Scott From mcdomi at free.fr Sat Sep 27 03:13:00 2003 From: mcdomi at free.fr (Dom) Date: Sat Sep 27 03:13:00 2003 Subject: Sheet woes... In-Reply-To: <20030926085028.64071.qmail@web11901.mail.yahoo.com> Message-ID: <1g1wh4d.1iulp8zvv1n6eM%mcdomi@free.fr> Jan Schenkel wrote: > Hope this clarified it a bit, It does! That's a tip I will soon place in my "Calepin" :-) -- From tuviah at runrev.com Sat Sep 27 04:23:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Sat Sep 27 04:23:00 2003 Subject: Using Valentina Locally, Switching to MySQL on Server References: <200309270640.CAA20618@www.runrev.com> Message-ID: <002401c384d7$5aabf600$afbe040a@user> >Agreed. Else, in taking care about the details : as generic as possible >ANSI SQL statements, casual management of the access to both the local >(even CD hosted) and/or networked datasources, usage of Valentina Server >or PostgreSQL instead of MySQL to get the best SQL statements Right best to use generic SQL where ever possible. You can also use revdb_dbtype to find out what database a connection is connected to, which can be useful for special casing SQL statements for a particular database. Visit developers contributions and download a sample of the software database developed originally by Ken Ray for Access, and modified by me to work with all databases. >wow, is someone working on a SQLite external??? We are looking into this, as well as supporting additional databases. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From tuviah at runrev.com Sat Sep 27 04:40:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Sat Sep 27 04:40:00 2003 Subject: CGI-engine for Windows References: <200309251602.MAA28087@www.runrev.com> Message-ID: <005701c384d9$c3b11d40$afbe040a@user> > but every time I try to use revolution.exe to >connect to mySQL on the same machine, I get the error >"revdberr,invalid database type" ; I've tried to copy >the libmysql.dll and even the entire database_drivers >dir into the same dir, but it didn't help. Move the actual database driver dbmysql.dll into the same directory or make sure that revdb_setdriverpath is set correctly. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From wmb at internettrainer.com Sat Sep 27 05:01:00 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Sep 27 05:01:00 2003 Subject: Lindows teaser In-Reply-To: <5A142358-F05E-11D7-AE8A-000A95763ABC@macosx.com> Message-ID: On Freitag, Sep 26, 2003, at 22:16 Europe/Vienna, Barry Levine wrote: > The words I keyed in on were "without having to install anything". I > erroneously thought it would permit me to do so once I decided I liked > it. *sigh* > > So, do you think that, for $50, we can actually write apps for this OS > and, more importantly, get paid by them for doing so? Look what I m doing: I give the Linux build of my learning tool ife for free, to all Win2Linux-switcher... (Nearly everybody which tties Linux the first time is kind of switcher:) 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 Sep 27 05:42:00 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Sat Sep 27 05:42:00 2003 Subject: Lindows teaser In-Reply-To: References: Message-ID: <1064658653.2785.50.camel@www.kmax.ici> Just to say that LindowsCD start and work perfectly under my old Samsung SN6300 PII 300 160 Mo RAM SNB Laptop. A good ocasion to set-up this old box as an home-made personal firewall/routeur. -- 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 malte.brill at t-online.de Sat Sep 27 05:56:01 2003 From: malte.brill at t-online.de (Malte Brill) Date: Sat Sep 27 05:56:01 2003 Subject: Localisation woes...Mac Os X Menubars Message-ID: Hi List, I?m working on version 1.1 of my small app. uGrabIt. I came across some trouble, so I thought it might be helpful to post how I coded around some parts of it and I also got a question. This new version of my program will be also available geman and I thought it?ll be a good idea to keep it expandable for other languages. Regarding the tip posted by Thierry a few days ago I thought it is a good idea to store all the localized Texts in an xxxxx.lproj folder in the resources folder of my app. Everything works out fine until it comes to menubars... Problem number 1: Menuhistory is not working with the "about" menu. I had a handler like this: on menupick which if the menuhistory of me=1 then --my stuff here end if if the menuhistory of me=2 then --my other stuff here end if put which, the menuhistory of me end menuPick The menuhistory returned 1 for both "about" and the 2nd entry of my menubutton. So I coded around it: on menupick which repeat with i=1 to the number of lines of me if line i of me=which then put i into lHasPicked exit repeat end if switch lHasPicked case 1 --mystuff here break case 2 --my other stuff here break end switch end menupick So after I got this working I placed two folders in the resources folder of my app. english.lproj german.lproj And tadaaaa! The system dialogues all appear in english instead of german. help stays help instead of Hilfe I removed the english.lproj folder and my dialogues show up in german. For some testing I placed a french.lproj folder in. The system dialogues show up in french instead of german. When I move the english.lproj folder back in, it turns english again. So here?s my guess. the Os looks at all .lproj folders that are in the resources folder. It grabs the first one it can find (in alphabetical order) and sets the system dialogues to the language specified by the name of that folder... Now how can I get the correct system Dialogue languages to work looking at the Users language? Any ideas? Regards, Malte From janschenkel at yahoo.com Sat Sep 27 06:03:02 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Sep 27 06:03:02 2003 Subject: CGI-engine for Windows In-Reply-To: <005701c384d9$c3b11d40$afbe040a@user> Message-ID: <20030927105121.37050.qmail@web11901.mail.yahoo.com> --- Tuviah Snyder wrote: > > but every time I try to use revolution.exe to > >connect to mySQL on the same machine, I get the > error > >"revdberr,invalid database type" ; I've tried to > copy > >the libmysql.dll and even the entire > database_drivers > >dir into the same dir, but it didn't help. > Move the actual database driver dbmysql.dll into the > same directory or make > sure that revdb_setdriverpath is set correctly. > Thanks for the info ; copied dbmysql.dll into the same dir, an it worked great :-) I tried revSetDatabaseDriversPath in my tests, but I must have gotten something wrong in the path because it wouldn't work, so I didn't pursue it. I tried it again just now, and that worked too :-) At any rate, this is good news for the project we're bidding on. Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From klaus at major-k.de Sat Sep 27 06:48:00 2003 From: klaus at major-k.de (Klaus Major) Date: Sat Sep 27 06:48:00 2003 Subject: Localisation woes...Mac Os X Menubars In-Reply-To: Message-ID: Hi Malte, yesterday i bugreported that non-english menus are not correctly supported on OS X. I also found that adding a (empty in my case) "German.lproj" folder to the resources will add even more trouble to that topic... ***Adding an empty "German.lproj" folder just will translate "Quit Revolution" to "Revolution beenden" and the name of the "Help" menu to "Hilfe"... Will work with any supported language on X, i think... No full translation, but its a start ;-) (Please dont beat me up if the following statement is bullsh.. er not correct: The engine is a carbon app and therefore cannot fully support all the OS X goodies like e.g. multi-langugage support like a cocoa app...?) I have not yet found some rules, but is for sure that this is a major (sic! ;-) bug!!! Every day i start my mac, i hope to see an update on the RR site... Not success so far... :-( Probably does not help much, but "solidarit?" :-) Have a nice weekend Klaus Major klaus at major-k.de www.major-k.de From malte.brill at t-online.de Sat Sep 27 07:04:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Sat Sep 27 07:04:00 2003 Subject: Localisation woes...Mac Os X Menubars In-Reply-To: <200309270640.CAA20641@www.runrev.com> Message-ID: Moin Klaus, >I also found that adding a (empty in my case) "German.lproj" folder to >the resources >will add even more trouble to that topic... What kind of trouble? >***Adding an empty "German.lproj" folder just will translate "Quit >Revolution" to >"Revolution beenden" and the name of the "Help" menu to "Hilfe"... >Will work with any supported language on X, i think... >No full translation, but its a start ;-) Well that?s what I hoped it would do, BUT: If you add an additional french.lproj folder, it?ll be frech in any way regardless of the chosen system language. :-( >Probably does not help much, but "solidarit?" :-) Danke! Maybe I must live with an half-hearted translation of the app. I thought about renaming the folders at runtime to xxx.nonactive, so that the menus will show correct on next startup, but this will only work if the user has Admin rights if the application is in the programs folder... *hmmmmm* Sch?nes Wochenende! Malte From thierry.arbellot at wanadoo.fr Sat Sep 27 07:38:00 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sat Sep 27 07:38:00 2003 Subject: Localisation woes...Mac Os X Menubars In-Reply-To: Message-ID: <9BE7702A-F0E5-11D7-9B86-000A27E40768@wanadoo.fr> > >> ***Adding an empty "German.lproj" folder just will translate "Quit >> Revolution" to >> "Revolution beenden" and the name of the "Help" menu to "Hilfe"... >> Will work with any supported language on X, i think... >> No full translation, but its a start ;-) > Well that?s what I hoped it would do, BUT: > If you add an additional french.lproj folder, it?ll be frech in any way > regardless of the chosen system language. :-( > What have you defined as your preferred language in the System Preferences? The OS checks the first language and search for a "lproj" folder with the same name. If it can't find the folder, it will check for the second language... e.g. your preferred language are German then English. To get menus in German, your must create "German.lproj" folder. To get them in English, you must create "English.lproj" folder AND remove "German.lproj". another example: you create 3 folders : "English.lproj", "German.lproj" and "French.lproj" To display menus in French, you must setup the first preferred language as French. Hope it helps. Regards. Thierry. From malte.brill at t-online.de Sat Sep 27 07:47:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Sat Sep 27 07:47:00 2003 Subject: use-revolution digest, Vol 1 #1963 - 17 msgs In-Reply-To: <200309270640.CAA20641@www.runrev.com> Message-ID: Hi Thierry, are these names case sensitive? I had german.lproj,french,lproj and english.lproj Preffered language is german, but it displays english. When removing english.lproj it displays french... >e.g. your preferred language are German then English. >To get menus in German, your must create "German.lproj" folder. >To get them in English, you must create "English.lproj" folder AND >remove "German.lproj". Seems as if I need to do further testing... Regards, Malte From malte.brill at t-online.de Sat Sep 27 07:58:00 2003 From: malte.brill at t-online.de (Malte Brill) Date: Sat Sep 27 07:58:00 2003 Subject: Localisation woes...Mac Os X Menubars In-Reply-To: <200309270640.CAA20641@www.runrev.com> Message-ID: Merci Thierry, the names are case sensitive. Now I got it working... Thanks a lot! Regards, Malte >Hi Thierry, >are these names case sensitive? >I had german.lproj,french,lproj and english.lproj >Preffered language is german, but it displays english. When removing >english.lproj it displays french... >>e.g. your preferred language are German then English. >>To get menus in German, your must create "German.lproj" folder. >>To get them in English, you must create "English.lproj" folder AND >>remove "German.lproj". >Seems as if I need to do further testing... >Regards, >Malte PS: My excuses for the wrong header in my previous post. From thierry.arbellot at wanadoo.fr Sat Sep 27 08:05:01 2003 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sat Sep 27 08:05:01 2003 Subject: use-revolution digest, Vol 1 #1963 - 17 msgs In-Reply-To: Message-ID: <57968090-F0E9-11D7-9B86-000A27E40768@wanadoo.fr> Hi Malte, You're right, folder's names are case sensitive. They must be spelled German, English, French... Regards. Thierry. On Saturday, September 27, 2003, at 02:35 PM, Malte Brill wrote: > Hi Thierry, > > are these names case sensitive? > I had german.lproj,french,lproj and english.lproj > Preffered language is german, but it displays english. When removing > english.lproj it displays french... > >> e.g. your preferred language are German then English. >> To get menus in German, your must create "German.lproj" folder. >> To get them in English, you must create "English.lproj" folder AND >> remove "German.lproj". > > Seems as if I need to do further testing... > > Regards, > > Malte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From MGreenb551 at aol.com Sat Sep 27 08:07:01 2003 From: MGreenb551 at aol.com (MGreenb551 at aol.com) Date: Sat Sep 27 08:07:01 2003 Subject: Offset from End? Message-ID: <0C3E74BB.07A31F89.0B440717@aol.com> If it's always from the end and I don't need a pointer within the text, then I use item -n. For example: Put "." before character -2 of line i of field "Expenses" Delete word n of MySentence -- n is negative Mark Greenberg From schrader at cox.net Sat Sep 27 09:25:00 2003 From: schrader at cox.net (Steve Schrader) Date: Sat Sep 27 09:25:00 2003 Subject: Printing Checkboxes In-Reply-To: <200309270640.CAA20594@www.runrev.com> Message-ID: I'm using the Mac version and am trying to print out a card that has checkboxes on it. The text of the checkboxes prints, but the checkmarks don't. In fact the empty box doesn't print either. Has anyone seen this or have a solution? From Roger.E.Eller at sealedair.com Sat Sep 27 09:31:00 2003 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat Sep 27 09:31:00 2003 Subject: [OT] - Off Topic - RE: Starting Lindows Message-ID: Gary, <2cents> I perceive this discussion as ON topic since what is being discussed is how to gain access to another Rev supported OS. Is this any different than the OS X shell, Windows registry, AppleScript and QuickTime discussions on this list? It's all part of the great things that Rev can do almost anywhere including on Lindows OS. I could skip these messages if I had no interest in them by simply filtering on the keyword "Lindows". Multi-Platform Revolutionaries, I got the LindowsCD yesterday, and it works great on my 1 Ghz PIII desktop PC and my P4 IBM T30 laptop. I already had a RedHat partition with Rev installed on it. I was able to see the Windows HD as well as the Linux ext3 partition AND LAUNCH REVOLUTION! Needless to say, I have ordered the full version of Lindows. Thanks to Chipp Walters for bringing Lindows 4.0 to the attention of the Rev community. Roger Eller roger.e.eller at sealedair.com On 09/26/2003 at 06:22 PM "Gary Rathbone" wrote: > Any chance we can use an Off Topic tab so I can skip all this non-Rev stuff? > Thanks > Gary Rathbone From alex at mindlube.com Sat Sep 27 11:55:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 27 11:55:00 2003 Subject: Printing Checkboxes In-Reply-To: Message-ID: On Saturday, September 27, 2003, at 08:13 AM, Steve Schrader wrote: > I'm using the Mac version and am trying to print out a card that has > checkboxes on it. The text of the checkboxes prints, but the > checkmarks don't. In fact the empty box doesn't print either. Has > anyone seen this or have a solution? Turn on Mac OS emulated look and feel instead of appearance manager? That's what I've had to do because printing "aqua" controls looks so terrible, especially checkboxes, buttons and images. 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 Sat Sep 27 12:19:00 2003 From: dan at shafermedia.com (Dan Shafer) Date: Sat Sep 27 12:19:00 2003 Subject: Using Valentina Locally, Switching to MySQL on Server` Message-ID: <2678DDE8-F10D-11D7-BA4D-0030656FB5D4@shafermedia.com> Ken Ray asked: > Dan, just curious... why start with Valentina and switch to MySQL > instead of using Valentina Server? I know it's in beta right now, but > I've been using it for awhile and it seems to work quite well for me > and > my client. It's not as robust as MySQL, but it is multi-user, has > locked > records, etc. and wouldn't require switching from one DB to another. > First, I didn't now about the Valentina server. :-) Second, I'd be disinclined to pay for a SQL database server implementation when there's mySQL out there for free with vast user support. Third, I'm sort of pre-disposed to avoid proprietary technologies where there are really good open source alternatives, as a general rule. The only reason I'm looking at Valentina for part of the deployment of this project is that I need a non-server solution. If SQLite is really in the works, that might be just as good or better. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From schrader at cox.net Sat Sep 27 12:28:01 2003 From: schrader at cox.net (Steve Schrader) Date: Sat Sep 27 12:28:01 2003 Subject: Printing Checkboxes In-Reply-To: <200309271601.MAA32040@www.runrev.com> Message-ID: <47A3A455-F10E-11D7-AB20-000393ACBA60@cox.net> Thanks, that did it. Odd solution. Which is broke, Revolution Printing or Apple's Appearance manager? On Saturday, September 27, 2003, at 12:01 PM, Alex Rice wrote: > On Saturday, September 27, 2003, at 08:13 AM, Steve Schrader wrote: > >> I'm using the Mac version and am trying to print out a card that has >> checkboxes on it. The text of the checkboxes prints, but the >> checkmarks don't. In fact the empty box doesn't print either. Has >> anyone seen this or have a solution? > > Turn on Mac OS emulated look and feel instead of appearance manager? > That's what I've had to do because printing "aqua" controls looks so > terrible, especially checkboxes, buttons and images. > Steve Schrader Faith begets Obedience which begets Faith very rough paraphrase of Deitrich Boenhoffer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 889 bytes Desc: not available URL: From alex at mindlube.com Sat Sep 27 12:44:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 27 12:44:00 2003 Subject: Printing Checkboxes In-Reply-To: <47A3A455-F10E-11D7-AB20-000393ACBA60@cox.net> Message-ID: On Saturday, September 27, 2003, at 11:16 AM, Steve Schrader wrote: > Thanks, that did it. Odd solution. Which is broke, Revolution Printing > or Apple's Appearance manager? It would seem Revolution is at fault. I thought I reported this bug, before bugzilla, and that it was acknowledged and fixed - or partially fixed, but apparently not and I can't find the emails from runrev. Can you bugzilla this one? Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From kray at sonsothunder.com Sat Sep 27 12:49:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sat Sep 27 12:49:00 2003 Subject: Using Valentina Locally, Switching to MySQL on Server In-Reply-To: <002401c384d7$5aabf600$afbe040a@user> Message-ID: <006301c3851d$e9c05e30$6601a8c0@LightningFlash> > Right best to use generic SQL where ever possible. You can > also use revdb_dbtype to find out what database a connection > is connected to, which can be useful for special casing SQL > statements for a particular database. Visit developers > contributions and download a sample of the software database > developed originally by Ken Ray for Access, and modified by > me to work with all databases. Where it that, BTW? I did a casual search of the RunRev site and couldn't find it... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From hangtime at earthlink.net Sat Sep 27 13:11:01 2003 From: hangtime at earthlink.net (HangTime) Date: Sat Sep 27 13:11:01 2003 Subject: Printing Checkboxes In-Reply-To: <200309271601.MAA32040@www.runrev.com> Message-ID: <646EE085-F114-11D7-ABF7-000393C67B60@earthlink.net> > >> I'm using the Mac version and am trying to print out a card that has >> checkboxes on it. The text of the checkboxes prints, but the >> checkmarks don't. In fact the empty box doesn't print either. Has >> anyone seen this or have a solution? >> The docs suggest taking a snapshot of the window, printing, and then deleting the snapshot, or (as Alex suggested) turn on Mac OS emulated look and feel instead of appearance manager. --HangTime [Will Compute for Food] B-)> From ambassador at fourthworld.com Sat Sep 27 13:11:31 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Sep 27 13:11:31 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: Mark Brownell wrote: > Contact me off list if you are interested in getting > Transcript/Blowfish. What terms is it available under? Is the final version not being posted to the Revolution_IPC group at Yahoo? -- 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 Sat Sep 27 13:24:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 27 13:24:00 2003 Subject: Printing Checkboxes In-Reply-To: <646EE085-F114-11D7-ABF7-000393C67B60@earthlink.net> Message-ID: <3F91A3FA-F116-11D7-9FEF-000393529642@mindlube.com> On Saturday, September 27, 2003, at 11:59 AM, HangTime wrote: > The docs suggest taking a snapshot of the window, printing, and then > deleting the snapshot, or (as Alex suggested) turn on Mac OS emulated > look and feel instead of appearance manager. Thanks- where in the docs does it say that? Unfortunately the screenshot method won't work if one is scaling the printout- say scaling window (card) width to paper width as I am doing. I guess it's kind of a luxury to be able to print cards and stacks and have real print job (text gets sent as text- images get sent as images) which is what Rev does. Screenshots are a good alternative in some cases. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gizmotron at earthlink.net Sat Sep 27 14:33:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Sep 27 14:33:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: On Saturday, September 27, 2003, at 10:59 AM, Richard Gaskin wrote: > What terms is it available under? Is the final version not being > posted to > the Revolution_IPC group at Yahoo? Hi Richard It's available there under basic CUA principles. I don't want to explain it here. I'm concerned that someone will need a lot of hand holding to implement it properly. There are export restriction laws in place by different countries that need to be followed when implementing it. This becomes the responsibility and liability of the developer using it in their apps. There are better and best user procedures when disguising the encryption key while implementing it in transcript. I made it available to the Revolution_IPC group because that small group didn't need much to understand it and they needed some encryption solution for all the work they are doing there. I did briefly explain its three major parts there. If anyone wants to use it and wants me as a consultant regarding it then I'm available to help anyone that needs my help with it. I will need to collect a consulting fee if that is the case. So money might act like an energy booster. On the other hand all my comments regarding rev_blowfish at the Revolution_IPC group are contribution to that group's greater cause. Right now, I'm a little swamped developing an encrypted filing system for MTML publishing. Here is a question I've never asked in a group like this. Has anyone here worked so hard on developing a software app that was so feature rich that the scope of it began to overwhelm your ability to concentrate? It's happened to me in short term moments a few years ago that lasted only several days but I feel like I'm just coming out of a six month phase of diminished capacity. This could be related to stress but it is more like writers block. I just can't work after I hit a limit each day. I have discovered that I was trying to keep all the code in my head until it was completed. I had to learn to compartmentalize the code into smaller parts and to deliberately try to forget the full content of the app's source code just working on one or two functions at a time. I've heard of burn out after about five years, I hope this isn't that. Anyone have or had experience with this or read an article regarding these kind of issues? Mark From alex at mindlube.com Sat Sep 27 15:12:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sat Sep 27 15:12:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: <3F00DF42-F125-11D7-9FEF-000393529642@mindlube.com> On Saturday, September 27, 2003, at 01:22 PM, Mark Brownell wrote: > So money might act like an energy booster. But is it drinkable? ;-) > I've heard of burn out after about five years, I hope this isn't > that. Anyone have or had experience with this or read an article > regarding these kind of issues? I would ask myself: Is it your project, or someone else's? Are you genuinely interested in the product, or just a worker bee? Do you have managers setting up ridiculous milestones and deadlines? Do you have managers working you 10 or more hours per day? If the answers are: someone else's, no, yes, yes, then it's probably burn out. Otherwise it's not so bad. I recommend long walk- good meal- sleep - then repeat after me "Thank [insert deity here] that I am not programming in C". There are some good personal productivity articles here . However the author seems to have superhuman amounts of optimism and operates in a different dimension that has a surplus of time. Hackers and Painters is an interesting one too If it's more an organizational problem than motivational then maybe do some UML and/or Use-Case modeling, print the diagrams out, then forget about them until the details start to overcome you. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gizmotron at earthlink.net Sat Sep 27 16:07:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sat Sep 27 16:07:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: <3F00DF42-F125-11D7-9FEF-000393529642@mindlube.com> Message-ID: On Saturday, September 27, 2003, at 01:00 PM, Alex Rice wrote: > On Saturday, September 27, 2003, at 01:22 PM, Mark Brownell wrote: >> So money might act like an energy booster. > > But is it drinkable? ;-) ah! poison. That might work for today. Thanks for the links. I guess I just miss the days when I could go 14 to 16 hours a day for weeks at a time writing all original concepts or original procedures. I wrote rev_blowfish while in this burnt state of mind in less than a couple of weeks, and that was while learning about the encryption algorithm and learning transcript for the first time. After I finished that it took months to get back in the saddle. I'm just getting my grasp around integrated MTML (extensible markup tags) within an htmlText WYSIWYG editable text field, that is the user sees styled text but has the ability to add more style changes or extensible markup while viewing the text in the rendered state. I've successfully integrated extensible markup within Rev's HTML rendering capabilities and done it so that the user can edit existing text with WYSIWYG tools without damaging the existing extensible markup. I've done what some XML inventors have dreamed would happen to XHTML but really never got supported much by innovated browser technology. Although I did most of this before in Director, RR has made doing many things easier, faster, and in some cases even possible. It was never possible doing this in a user friendly manor within Director. I just finished this capability this morning, it represents a major milestone for me so after the football game I think I'll go celebrate. It is Saturday isn't it? Mark From gary.rathbone at btclick.com Sat Sep 27 19:18:00 2003 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sat Sep 27 19:18:00 2003 Subject: [OT] - RE: Starting Lindows - Not Interested Message-ID: <000101c38554$4ec694d0$f600000a@porthos> Roger, > I perceive this discussion as ON topic since what is being discussed > is how to gain access to another Rev supported OS. Is this any > different than the OS X shell, Windows registry, AppleScript and > QuickTime discussions on this list? Fair point, just cos I'm not interested in this aspect doesn't mean others aren't. > It's all part of the great things that Rev can do almost anywhere > including on Lindows OS. I could skip these messages if I had no > interest in them by simply filtering on the keyword "Lindows". Again agreed. I could add filters for Lindows and with my crystal ball any other concepts I may not be interested in the future. Personally, I'd love a Rev Windows CE solution for PDA's - an untapped mass market as yet! Hint! :-) I've been a Metacard user for years; and Revolution since birth; ridden the Hypercard and the Supercard rollercoaster; I've seen this list grow from a few experimenters to the quality list of gurus offering support to the increasing number of well informed newcomers and converts... Consequently the volume of the list has increased dramatically, and yes, what once was an interesting read has transformed into a selective process of which emails I read and respond to. I don't know how others feel; Maybe its time to have more specific lists which Rev users can subscribe to as they wish, allowing individual active focus groups whilst providing the option of passive participation in other areas. As the Rev user base grows so will the list traffic; and yes Rev diversity is a massive strength, but do we *all* have to discuss every aspect ? Thanks Gary Rathbone BSc MBCS From dominique at alussinan.org Sun Sep 28 07:45:01 2003 From: dominique at alussinan.org (dom) Date: Sun Sep 28 07:45:01 2003 Subject: Sheet woes... In-Reply-To: <80D22B54-EF9F-11D7-86BD-000A27B49A96@major-k.de> Message-ID: <1g1vwu2.1hpib8q9fzx4wM%dominique@alussinan.org> Klaus Major wrote: > Can't you just store the date and check with a > > on preopenstack > if my_date <> the date then > ###do preopenstuff... > end if > ... > end preopenstack > > or something like that? Sure, I have to rewrite this preopentack handler... How to make it understand I didn't really leave the stack, but only opened a substack??? IMHO, that's a curious behaving... In fact, I tried to "memorize" the originating card, by push/pop, by cd id... but no luck: it seems that the preopenstack handler takes a precedence, or goes after to go to "today" card! -- Nouvelles photos : http://cooldomi.free.fr/CP/Barcelonnette/ From gbojsza at mac.com Sun Sep 28 07:46:11 2003 From: gbojsza at mac.com (Bojsza) Date: Sun Sep 28 07:46:11 2003 Subject: Selecting text using REGEX Message-ID: <6565EA5C-F0A1-11D7-AA85-003065F00EF2@mac.com> I have a large file that I have loaded into a field "incoming". I wish to parse particular text pieces out into another field "outgoing". The text is always between "value=question?>" and ends with "<" #the quotes are not part of the text example value=question?> TEXT I WISH TO PARSE OUT< Any suggestions would be helpful (I have several hundred lines to search through). thanks, Glen From gary.rathbone at btconnect.com Sun Sep 28 07:46:33 2003 From: gary.rathbone at btconnect.com (Gary Rathbone) Date: Sun Sep 28 07:46:33 2003 Subject: [OT] - Off Topic - RE: Starting Lindows - Not Interested In-Reply-To: Message-ID: <000001c38552$87d6ce40$f600000a@porthos> Roger, > I perceive this discussion as ON topic since what is being discussed is > how to gain access to another Rev supported OS. Is this any different than > the OS X shell, Windows registry, AppleScript and QuickTime discussions on > this list? Fair point, just cos I'm not interested in this aspect doesn't mean others aren't. > It's all part of the great things that Rev can do almost > anywhere including on Lindows OS. I could skip these messages if I had no > interest in them by simply filtering on the keyword "Lindows". Again agreed. I could add filters for Lindows and with my crystal ball any other concepts I may not be interested in the future. Personally, I'd love a Rev Windows CE solution for PDA's - an untapped mass market as yet! Hint! :-) I've been a Metacard user for years; and Revolution since birth; ridden the Hypercard and the Supercard rollercoaster; I've seen this list grow from a few experimenters to the quality list of gurus offering support to the increasing number of well informed newcomers and converts... Consequently the volume of the list has increased dramatically, and yes, what once was an interesting read has transformed into a selective process of which emails I read and respond to, based on the subject. I don't know how others feel; Maybe its time to have more specific lists which Rev users can subscribe to as they wish, allowing individual active focus groups whilst providing the option of passive participation in other areas. As the Rev user base grows so will the list traffic; and yes Rev diversity is a massive strength, but do we all have to discuss every aspect ? Thanks Gary Rathbone BSc MBCS From klaus at major-k.de Sun Sep 28 08:19:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 28 08:19:01 2003 Subject: Sheet woes... In-Reply-To: <1g1vwu2.1hpib8q9fzx4wM%dominique@alussinan.org> Message-ID: Bon jour Domi, > Klaus Major wrote: > >> Can't you just store the date and check with a >> >> on preopenstack >> if my_date <> the date then >> ###do preopenstuff... >> end if >> ... >> end preopenstack >> >> or something like that? > > Sure, I have to rewrite this preopentack handler... > > How to make it understand I didn't really leave the stack, but only > opened a substack??? I think that this message is also sent when you just come back to that stack. > IMHO, that's a curious behaving... > > In fact, I tried to "memorize" the originating card, by push/pop, by cd > id... but no luck: it seems that the preopenstack handler takes a > precedence, or goes after to go to "today" card! I do this always by setting a customprop and then ckeck it afterwards. If i want that my "preopenstack" will be run ONLY ONCE DEFINITVELY ;-) then i save that stack with a customprop -> firstrun -> set to true Then i script in my handler: on preopenstack if the firstrun of this stack = true then ### do my stuff the first and only time!!! set the firstrun of this stack to false end if end preopenstck This way this script will only run the very first time and only once. Must not be saved after that, of course ;-) Or set the firstrun back to true before saving! You get the picture... > Nouvelles photos : > http://cooldomi.free.fr/CP/Barcelonnette/ Have a nice sunday... Au revoir Klaus Major klaus at major-k.de www.major-k.de From rodneytamblyn at paradise.net.nz Sun Sep 28 09:39:01 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sun Sep 28 09:39:01 2003 Subject: transparent graphic with border visible, windows Message-ID: <0B42FA3C-F1C0-11D7-A050-003065F97100@paradise.net.nz> Just shifted my Virtual Exhibition system from OSX to Windows... and surprise! I've got a problem.... Can anyone tell me how to make a transparent graphic with visible border on Windows (It's easy on Mac). The graphic needs to be "opaque" so it will capture mouse clicks, but obviously I want it to show what's underneath, so the ink will in fact make it transparent apart from the border. I've tried all the obvious combinations and nothing works. The only solution I can see is: (1) use an image instead (eg small white gif), scale it to desired rectangle and set blend level (2) use two graphics, one with noop ink (transparent) and a second to show the border. Please tell me there's a better way.... Thanks. Rodney -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From klaus at major-k.de Sun Sep 28 09:59:01 2003 From: klaus at major-k.de (Klaus Major) Date: Sun Sep 28 09:59:01 2003 Subject: transparent graphic with border visible, windows In-Reply-To: <0B42FA3C-F1C0-11D7-A050-003065F97100@paradise.net.nz> Message-ID: Hi Rodney, > Just shifted my Virtual Exhibition system from OSX to Windows... and > surprise! I've got a problem.... Welcome to the club ;-) > Can anyone tell me how to make a transparent graphic with visible > border on Windows (It's easy on Mac). > The graphic needs to be "opaque" so it will capture mouse clicks, but > obviously I want it to show what's underneath, > so the ink will in fact make it transparent apart from the border. > > I've tried all the obvious combinations and nothing works. The only > solution I can see is: > (1) use an image instead (eg small white gif), scale it to desired > rectangle and set blend level > (2) use two graphics, one with noop ink (transparent) and a second to > show the border. > > Please tell me there's a better way.... Sorry to disappoint you, but you might have to stick with solution no. 2... Or no. 1... > Thanks. You're welcome :-) > Rodney > > -- > Rodney Tamblyn > 44 Melville Street > Dunedin > New Zealand > +64 3 4778606 > http://rodney.weblogs.com/ Regards Klaus Major klaus at major-k.de www.major-k.de From bornstein at designeq.com Sun Sep 28 10:32:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Sep 28 10:32:00 2003 Subject: transparent graphic with border visible, windows In-Reply-To: <0B42FA3C-F1C0-11D7-A050-003065F97100@paradise.net.nz> Message-ID: <561EA6C0-F1C7-11D7-B044-000A95909E26@designeq.com> On Sunday, September 28, 2003, at 10:28 AM, Rodney Tamblyn wrote: > Can anyone tell me how to make a transparent graphic with visible > border on Windows (It's easy on Mac). The graphic needs to be > "opaque" so it will capture mouse clicks, but obviously I want it to > show what's underneath, so the ink will in fact make it transparent > apart from the border. Any reason why it *has* to be a graphic. Why not just place a button over the area, set the opaque and showname to false, and set the border to whatever thickness you want. Or am I missing something? Regards, Howard Bornstein ---------------- D E S I G N E Q www.designeq.com From gizmotron at earthlink.net Sun Sep 28 11:06:01 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Sep 28 11:06:01 2003 Subject: Selecting text using REGEX In-Reply-To: <6565EA5C-F0A1-11D7-AA85-003065F00EF2@mac.com> Message-ID: <30928025-F1CC-11D7-AD1C-000A95859272@earthlink.net> On Friday, September 26, 2003, at 09:16 PM, Bojsza wrote: > The text is always between "value=question?>" and ends with "<" #the > quotes are not part of the text > > example > > value=question?> TEXT I WISH TO PARSE OUT< > > Any suggestions would be helpful (I have several hundred lines to > search through). Hi Bojsza, This looks like a case for a pull-parser... Your code looks like part of a fuller tag set that has the attribute, "value," that always appears at the end of the start tag. Example: TEXT I WISH TO PARSE OUT but your "value=question?>" fragment could be part of several different tag sets. Example: TEXT I WISH TO PARSE OUT Example: TEXT I WISH TO PARSE OUT Example: TEXT I WISH TO PARSE OUT Your tagging system requires a well formed component to it in that there can't be some other tag ending before your parsing technique encounters the correct instance of "<". Example: value=question?> TEXT I WISH TO PARSE OUT< I would use a pair of offSet() queries to build an array of results. This array would end up being keyed numerically with the first instance of the fragmented tag set being keyed as 1. If it turns out that you are using different full tag set names and need to tell them from each other then you should add a way to combine the numerical value and the tag name while keying the array. pull-parser: put the text of field "targetText" into tText put empty into tArray put 0 into tStart1 put 1 into tElementNum put the number of chars in "value=question?>" into dChars repeat put offset("value=question?>", tText, tStart1) into tNum1 put (tNum1 + tStart1) into tStart1 if tNum1 < 1 then exit repeat put offset("<", tText, tStart1) into tNum2 put (tNum2 + tStart1) into tStart2 if tNum2 < 1 then exit repeat put char (tStart1 + dChars) to (tStart2 - 1) of tText into zapped put zapped into tArray[tElementNum] add 1 to tElementNum end repeat You will get an array, tArray, that is either empty or is filled with results. There is probably a regEx way but I have found that this tends to be faster in most speed tests. Mark From hangtime at earthlink.net Sun Sep 28 12:10:00 2003 From: hangtime at earthlink.net (HangTime) Date: Sun Sep 28 12:10:00 2003 Subject: Printing Checkboxes In-Reply-To: <200309281147.HAA22698@www.runrev.com> Message-ID: <72B39012-F1D4-11D7-B21A-000393C67B60@earthlink.net> >> The docs suggest taking a snapshot of the window, printing, and then >> deleting the snapshot, > > Thanks- where in the docs does it say that? > i've just spent 10 minutes searching and I'll be darned if i can find the reference, but i'm sure i read that somewhere under issues and workarounds. --HangTime [Will Compute for Food] B-)> From alex at mindlube.com Sun Sep 28 13:14:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Sep 28 13:14:00 2003 Subject: Selecting text using REGEX In-Reply-To: <6565EA5C-F0A1-11D7-AA85-003065F00EF2@mac.com> Message-ID: On Friday, September 26, 2003, at 10:16 PM, Bojsza wrote: > I have a large file that I have loaded into a field "incoming". I wish > to parse particular text pieces out into another field "outgoing". > > The text is always between "value=question?>" and ends with "<" #the > quotes are not part of the text > > example > > value=question?> TEXT I WISH TO PARSE OUT< > > Any suggestions would be helpful (I have several hundred lines to > search through). I good job for regular expressions. Using regex the solution might vary depending if each a match is allowed to span more than one line or not. One solution could be: local tResult repeat for each line tLine in fld "incoming" if matchText(tLine, "value=question\?>(.+)<", tMatch) then put tMatch & linefeed after tResult end if end repeat put tResult into fld "outgoing" 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 Sun Sep 28 13:24:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Sep 28 13:24:00 2003 Subject: Selecting text using REGEX In-Reply-To: Message-ID: <4D802EF3-F1DF-11D7-9530-000393529642@mindlube.com> On Sunday, September 28, 2003, at 12:02 PM, Alex Rice wrote: > local tResult local tResult, tLine, tMatch 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 Sun Sep 28 13:51:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Sep 28 13:51:00 2003 Subject: Selecting text using REGEX In-Reply-To: <30928025-F1CC-11D7-AD1C-000A95859272@earthlink.net> Message-ID: <1CF7959A-F1E3-11D7-9530-000393529642@mindlube.com> On Sunday, September 28, 2003, at 09:55 AM, Mark Brownell wrote: > There is probably a regEx way but I have found that this tends to be > faster in most speed tests. I believe you it's faster in this case, but regex is usually faster than one might think. It is after all calling an optimized C library to do all the work :-) Here are two trim whitespace functions that had written. To my surprise the regex variant is way, way faster! -- -- regex method -- function trim pText get replaceText(pText, "^\s+", empty) return replaceText(it, "\s+$", empty) end trim -- -- non regex method -- local lWhitespaceChars on startup -- prepare list of characters to be used by trim() -- CRLF = ascii 13+10 put tab & space & CRLF into lWhitespaceChars end startup function trim pText repeat while char 1 of pText is in lWhitespaceChars delete char 1 of pText end repeat repeat while char -1 of pText is in lWhitespaceChars delete char -1 of pText end repeat return pText end trim Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From gregory.lypny at videotron.ca Sun Sep 28 14:25:00 2003 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sun Sep 28 14:25:00 2003 Subject: Standalone Name and Icon In-Reply-To: <200309281601.MAA27344@www.runrev.com> Message-ID: Hello everyone, Starting to dabble with my new Rev license in OS X. Wondering how to do the following: (1) Make my app's name appear in the Rev menu next to the Apple menu. (2) Set the standalone's icon to a picture I've created. (I do have some advice about this regarding MC, but I'm not sure if the steps are the same for Rev.) Regards, Greg From gizmotron at earthlink.net Sun Sep 28 14:47:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Sun Sep 28 14:47:00 2003 Subject: Selecting text using REGEX In-Reply-To: <1CF7959A-F1E3-11D7-9530-000393529642@mindlube.com> Message-ID: <162D05BE-F1EB-11D7-B168-000A95859272@earthlink.net> On Sunday, September 28, 2003, at 11:39 AM, Alex Rice wrote: > I believe you it's faster in this case, but regex is usually faster > than one might think. It is after all calling an optimized C library > to do all the work :-) Alex What is more surprising to me is how fast offset() is in Revolution. It's almost as fast as the TextChuncher Xtra for Director. TextChuncher Xtra was based on parts of C's string class and was written in C. It has a findAll() function that returns a numbered array of all instances found. Whenever you can extract or parse information without using a repeat loop it really speeds things up. I would love a transcript findAll() kind of offset function that does it all in the C library and returns it all in a numbered keyed array. This could be highly useful for creating indexes on the fly. Mark From gcanyon at inspiredlogic.com Sun Sep 28 16:39:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Sep 28 16:39:00 2003 Subject: Update: RevRTFer In-Reply-To: <006701c3844d$abc330b0$6501a8c0@LightningFlash> Message-ID: <98A7E58A-F1FA-11D7-A7E4-003065683ECC@inspiredlogic.com> This should be fixed and uploaded now. I have not tried the wiki-style export, since that's mainly for my own use and I don't need it yet. gc On Friday, September 26, 2003, at 09:45 AM, Ken Ray wrote: > Geoff, > > I get an error when trying to export as HTML... it gets to > "zoomBoxproperty" and gets an error: > > Type: defaultStack: can't find stack > Object: Process > Line: set the defaultStack to tStack > Hint: revDocsStarterKit > regards, Geoff Canyon gcanyon at inspiredlogic.com From graham.samuel at wanadoo.fr Sun Sep 28 17:10:00 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Sun Sep 28 17:10:00 2003 Subject: Does SharedText work? Message-ID: <5.2.1.1.0.20030928235025.00cede58@pop.wanadoo.fr> According to the TD, if I set the SharedText property of a field in a group to true, and that group appears on several cards, any change of the text of the field on any card will show up in them all. I have just such a field in a group and I suppose I've set its SharedText to true by checking the 'share text' box in the Property Inspector for the field (while editing the group); but I find that if I alter that field's text on one card (again while editing the group) only the card I happen to be showing is affected - the others keep the text they had before. What am I doing wrong? TIA Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From jacque at hyperactivesw.com Sun Sep 28 18:17:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Sep 28 18:17:00 2003 Subject: Selecting text using REGEX In-Reply-To: <1CF7959A-F1E3-11D7-9530-000393529642@mindlube.com> References: <1CF7959A-F1E3-11D7-9530-000393529642@mindlube.com> Message-ID: <3F776940.6090405@hyperactivesw.com> On 9/28/03 1:39 PM, Alex Rice wrote: > Here are two trim whitespace functions that had written. To my surprise > the regex variant is way, way faster! > > -- > -- regex method > -- > function trim pText > get replaceText(pText, "^\s+", empty) > return replaceText(it, "\s+$", empty) > end trim > > -- > -- non regex method -- > local lWhitespaceChars > > on startup > -- prepare list of characters to be used by trim() > -- CRLF = ascii 13+10 > put tab & space & CRLF into lWhitespaceChars > end startup > > function trim pText > repeat while char 1 of pText is in lWhitespaceChars > delete char 1 of pText > end repeat > repeat while char -1 of pText is in lWhitespaceChars > delete char -1 of pText > end repeat > return pText > end trim > For an easy "trim" function that is just as fast as regex, try this: return word 1 to -1 of pText In a test using text with 1000 leading white space characters and 500 trailing characters, the difference between the regex method and the above one-liner was one millisecond. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at mindlube.com Sun Sep 28 18:28:00 2003 From: alex at mindlube.com (Alex Rice) Date: Sun Sep 28 18:28:00 2003 Subject: Selecting text using REGEX In-Reply-To: <3F776940.6090405@hyperactivesw.com> Message-ID: On Sunday, September 28, 2003, at 05:05 PM, J. Landman Gay wrote: > For an easy "trim" function that is just as fast as regex, try this: > > return word 1 to -1 of pText > > In a test using text with 1000 leading white space characters and 500 > trailing characters, the difference between the regex method and the > above one-liner was one millisecond. Nice one- thanks Jacqueline. That's one's so concise it's hardly worth putting it into a separate function. No wonder transcript doesn't have a trim() function built in :-) Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From rodneytamblyn at paradise.net.nz Sun Sep 28 19:18:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sun Sep 28 19:18:00 2003 Subject: transparent graphic with border visible, windows In-Reply-To: <561EA6C0-F1C7-11D7-B044-000A95909E26@designeq.com> Message-ID: Hi Howard, I'm drawing irregular shaped objects, polygons, lines with arrows etc... as part of an annotation tool. ~ Rodney On Monday, September 29, 2003, at 03:20 AM, Howard Bornstein wrote: > > On Sunday, September 28, 2003, at 10:28 AM, Rodney Tamblyn wrote: > >> Can anyone tell me how to make a transparent graphic with visible >> border on Windows (It's easy on Mac). The graphic needs to be >> "opaque" so it will capture mouse clicks, but obviously I want it to >> show what's underneath, so the ink will in fact make it transparent >> apart from the border. > > Any reason why it *has* to be a graphic. Why not just place a button > over the area, set the opaque and showname to false, and set the > border to whatever thickness you want. > > Or am I missing something? > > 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 > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From kray at sonsothunder.com Sun Sep 28 20:01:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 28 20:01:01 2003 Subject: Selecting text using REGEX In-Reply-To: <3F776940.6090405@hyperactivesw.com> Message-ID: <00b401c38623$705c7270$6601a8c0@LightningFlash> > > -- > > -- regex method > > -- > > function trim pText > > get replaceText(pText, "^\s+", empty) > > return replaceText(it, "\s+$", empty) > > end trim > > For an easy "trim" function that is just as fast as regex, try this: > > return word 1 to -1 of pText Interesting... my regEx version of Trim was this: function Trim what local tText get matchText(what,"(?s)\s*(\S.*\S)\s*",tText) return tText end Trim Jacque's works well so long as there are no non-breaking spaces involved in the text you're looking at (which is 99.9% of the time, I'd guess). The advantage of regex is that .01% where you want to make sure you get every kind of whitespace character included in the trim... So I'm apt to use Jacque's approach for most of my needs, and only use the regex Trim when I suspect there may be non-breaking spaces involved. Personally, I think that functions like Trim are so useful, that they *should* be in Transcript, even if we can do it ourselves. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From myoung at bigskyneuro.com Sun Sep 28 21:01:00 2003 From: myoung at bigskyneuro.com (Michael Young) Date: Sun Sep 28 21:01:00 2003 Subject: Keep track of object type In-Reply-To: <200309281147.HAA22698@www.runrev.com> Message-ID: Hello, I can use snippet "abbr name of me" to learn an object type. But how can I keep track of the object type to use this information in a script located at the card object level rather than for example at the button object level? A concrete example of differences in button mouseup functioning: Button object script: on mouseup put first word of abbr name of me into fld "Field 1" end mouseup Field 1: button Card object script with no button object script on mouseup handler: on mouseup put first word of abbr name of me into fld "Field 1" end mouseup Field 1: card I have no problem with the Field 1 answers that I am getting, however I would like the Field 1 results in both situations to be button. How can I achieve that result? Thanks for your input, Michael From martin at pixelmedia.com.au Sun Sep 28 21:29:01 2003 From: martin at pixelmedia.com.au (Martin Steer) Date: Sun Sep 28 21:29:01 2003 Subject: OT: Selecting text using REGEX In-Reply-To: <162D05BE-F1EB-11D7-B168-000A95859272@earthlink.net> Message-ID: <0CF4EADC-F223-11D7-A8BB-00306571A218@pixelmedia.com.au> >> I believe you it's faster in this case, but regex is usually faster >> than one might think. It is after all calling an optimized C library >> to do all the work :-) RegEx is more about an optimised C library, but for Rev itself, I get the impression that it's more about the optimised data structures in RAM that Revolution comprises it's objects of? I've come to the conclusion that pretty much everything in Rev is a hash table, stacks, cards, buttons, properties, etc. Hence the loading times when you first start using stacks and objects as it loads them into RAM and the speed you get afterwards from the building of the nice fast data structures of the objects. For string variables it probably has hash indices behind the scenes that allow for speedy chunk expressions and text manipulation which, depending on circumstances (or algorithms), could be faster than RegEx. This is just my guess at how Rev works based on my experience with it, so please correct me if I'm wrong... better still, tell me if I'm right! :) hehe... Cheers, Marty Steer martin at pixelmedia.com.au From jacque at hyperactivesw.com Sun Sep 28 21:43:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Sep 28 21:43:00 2003 Subject: Selecting text using REGEX In-Reply-To: <00b401c38623$705c7270$6601a8c0@LightningFlash> References: <00b401c38623$705c7270$6601a8c0@LightningFlash> Message-ID: <3F77996D.8090401@hyperactivesw.com> On 9/28/03 7:48 PM, Ken Ray wrote: > The advantage of regex is that .01% where you want to make sure you get > every kind of whitespace character included in the trim... > > So I'm apt to use Jacque's approach for most of my needs, and only use > the regex Trim when I suspect there may be non-breaking spaces involved. Interesting. I didn't know that regex included non-breaking spaces in its definition of white space. So there's a place for both methods. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Sun Sep 28 21:54:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 28 21:54:01 2003 Subject: Keep track of object type In-Reply-To: Message-ID: <00c501c38633$4ba207f0$6601a8c0@LightningFlash> You don't want to use "me", you want to use "the target". And you don't really even need to use "abbr name"; you can just say: on mouseUp put first word of the target into fld "Field 1" end mouseUp HTH, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of > Michael Young > Sent: Sunday, September 28, 2003 8:50 PM > To: use-revolution at lists.runrev.com > Subject: Keep track of object type > > > Hello, > > I can use snippet "abbr name of me" to learn an object type. > But how can I keep track of the object type to use this > information in a script located at the card object level > rather than for example at the button object level? > > A concrete example of differences in button mouseup functioning: > > Button object script: > on mouseup > put first word of abbr name of me into fld "Field 1" > end mouseup > > Field 1: button > > Card object script with no button object script on mouseup > handler: on mouseup > put first word of abbr name of me into fld "Field 1" > end mouseup > > Field 1: card > > I have no problem with the Field 1 answers that I am getting, > however I would like the Field 1 results in both situations > to be button. How can I achieve that result? > > Thanks for your input, > > Michael > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From gcanyon at inspiredlogic.com Sun Sep 28 21:59:00 2003 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Sep 28 21:59:00 2003 Subject: revdocs wiki moved to new server -- address changes Message-ID: <2A8B291A-F227-11D7-A7E4-003065683ECC@inspiredlogic.com> The revdocs wiki has been unreliable of late -- freezing for no apparent reason. I've moved it onto my main server, which should be more reliable, but that means that the location has changed. Anyone who has a reference to wiki.macitworks.com should change it to: www.macitworks.com:8080 Sorry if this causes any inconvenience. Please let me know if you have any trouble getting to the server. regards, Geoff Canyon gcanyon at inspiredlogic.com From rodneytamblyn at paradise.net.nz Sun Sep 28 22:59:00 2003 From: rodneytamblyn at paradise.net.nz (Rodney Tamblyn) Date: Sun Sep 28 22:59:00 2003 Subject: transparent graphic with border visible, windows - partial solution In-Reply-To: Message-ID: For rectangle objects I thought of a simple solution which works: Make the rectangle and set it's ink to noop (or similar) , group it, then make the group showborder true. Doesn't help for non-rectangular shapes though.... R. From myoung at ieee.org Mon Sep 29 01:38:00 2003 From: myoung at ieee.org (Michael Young) Date: Mon Sep 29 01:38:00 2003 Subject: Keep track of object type In-Reply-To: <200309290156.VAA13758@www.runrev.com> Message-ID: Your suggestion worked. Thank you. Michael > > You don't want to use "me", you want to use "the target". And you don't > really even need to use "abbr name"; you can just say: > > on mouseUp > put first word of the target into fld "Field 1" > end mouseUp > > HTH, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ From dan at shafermedia.com Mon Sep 29 02:04:01 2003 From: dan at shafermedia.com (Dan Shafer) Date: Mon Sep 29 02:04:01 2003 Subject: Does SharedText work? Message-ID: <962F60DA-F249-11D7-8851-0030656FB5D4@shafermedia.com> Graham asked: > I have just such a field in a group and I suppose I've set its > SharedText > to true by checking the 'share text' box in the Property Inspector for > the > field (while editing the group); but I find that if I alter that > field's > text on one card (again while editing the group) only the card I > happen to > be showing is affected - the others keep the text they had before. > Just a possibility, but something I know I've done wrong more than once. Are you making sure that after you change the text, you tab or click out of that field before going to the next card to check the update? Silly, I know, but, as I say, it's bitten me in the rear before so I thought I'd suggest the simple answer. FWIW, IWOMM (It Works on My Machine) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolutionary Author of forthcoming 3-book set, "Revolution: Programming at the Speed of Thought" http://www.revolutionpros.com for More Info From mcdomi at free.fr Mon Sep 29 02:08:00 2003 From: mcdomi at free.fr (Dom) Date: Mon Sep 29 02:08:00 2003 Subject: Sheet woes... In-Reply-To: Message-ID: <1g20e9i.ur87vg1hbt534M%mcdomi@free.fr> Klaus Major wrote: > Have a nice sunday... I posted by error this msg under my "news" name, not under my "mc" name ;-) It seems it has been approved some days later... No harm: you could therefore take a glance at my digital photo web site :-) I will try your tip about "openstack" and other one-run handlers. That's 2 ou 3 methods to get around this problem :-) -- From scott at tactilemedia.com Mon Sep 29 03:01:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Sep 29 03:01:01 2003 Subject: imageSource Completed? Message-ID: When setting the imageSource of a field character, is there any way to determine when the image data has finished downloading, or some way to monitor the download? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From martin at harbourtown.co.uk Mon Sep 29 03:12:01 2003 From: martin at harbourtown.co.uk (Martin Baxter) Date: Mon Sep 29 03:12:01 2003 Subject: Printing Checkboxes In-Reply-To: <200309290157.VAA13868@www.runrev.com> Message-ID: I think the note you're thinking of is probably the one in "what's new.txt", in the revolution folder, under Limitations and Known Issues. martin > >>> The docs suggest taking a snapshot of the window, printing, and then >>> deleting the snapshot, >> >> Thanks- where in the docs does it say that? >> > >i've just spent 10 minutes searching and I'll be darned if i can find >the reference, but i'm sure i read that somewhere under issues and >workarounds. > >--HangTime [Will Compute for Food] B-)> From dean.snyder at jhu.edu Mon Sep 29 08:11:00 2003 From: dean.snyder at jhu.edu (Dean Snyder) Date: Mon Sep 29 08:11:00 2003 Subject: Unicode and Chunks Message-ID: <20030929125947.3747@smtp.jhu.edu> I've been enjoying using Unicode in Revolution 2.1 for the most part. The only problem I've encountered so far is that chunk evaluation doesn't seem to work correctly with Unicode characters. For example, if any byte of a double byte Unicode character is "09" that will increment the item count in chunk evaluation if you have set the itemDelimiter to "tab", ASCII 09; but, of course, the character is not a tab. [I've just subscribed to this list and this is my first post, so, sorry if this bug has been addressed previously.] Respectfully, Dean A. Snyder Scholarly Technology Specialist Library Digital Programs, Sheridan Libraries Garrett Room, MSE Library, 3400 N. Charles St. Johns Hopkins University Baltimore, Maryland, USA 21218 office: 410 516-6850 mobile: 410 245-7168 fax: 410-516-6229 Manager, Digital Hammurabi Project: www.jhu.edu/digitalhammurabi From chipp at chipp.com Mon Sep 29 09:10:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Mon Sep 29 09:10:01 2003 Subject: imageSource Completed? In-Reply-To: Message-ID: Sure, Download the file first, then set the filename of the img to it. You can monitor the progress of the download. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Scott Rossi > Sent: Monday, September 29, 2003 2:50 AM > To: Revolution List > Subject: imageSource Completed? > > > When setting the imageSource of a field character, is there any way to > determine when the image data has finished downloading, or some way to > monitor the download? > > Thanks & 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 jrvalent at wisc.edu Mon Sep 29 09:22:00 2003 From: jrvalent at wisc.edu (rand valentine) Date: Mon Sep 29 09:22:00 2003 Subject: opaque fields scrolling problem Message-ID: I am using mac os x.2.6, and have a problem with opaque fields when i scroll them. if i scroll a field back to the top, there are seeming fine horizontal white lines in the field's contents that render the contents unreadable until i click in the field or otherwise manipulate it. if i turn the field's "opaque" setting off, the field doesn't have this problem. But I don't want all of my fields transparent. Is there some field setting that corrects this? I checked the archive but could not find comment on this, it must be a common complaint. Thanks. rand valentine From lists at mangomultimedia.com Mon Sep 29 09:24:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Sep 29 09:24:01 2003 Subject: Unicode and Chunks In-Reply-To: <20030929125947.3747@smtp.jhu.edu> Message-ID: On Monday, September 29, 2003, at 06:59 AM, Dean Snyder wrote: > I've been enjoying using Unicode in Revolution 2.1 for the most part. > The > only problem I've encountered so far is that chunk evaluation doesn't > seem to work correctly with Unicode characters. For example, if any > byte > of a double byte Unicode character is "09" that will increment the item > count in chunk evaluation if you have set the itemDelimiter to "tab", > ASCII 09; but, of course, the character is not a tab. > > [I've just subscribed to this list and this is my first post, so, sorry > if this bug has been addressed previously.] Chunk expressions don't work correctly with unicode text right now though I believe it is being worked on. You have to write your own chunk handlers for use with unicode text. Take a look at the sample stack "Unicode text manipulation examples" at which shows some examples of getting lines in a field, etc. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From klaus at major-k.de Mon Sep 29 09:30:00 2003 From: klaus at major-k.de (Klaus Major) Date: Mon Sep 29 09:30:00 2003 Subject: opaque fields scrolling problem In-Reply-To: Message-ID: Hi Rand, > I am using mac os x.2.6, and have a problem with opaque fields when i > scroll them. if i scroll a field back to the top, there are seeming > fine > horizontal white lines in the field's contents that render the contents > unreadable until i click in the field or otherwise manipulate it. if i > turn > the field's "opaque" setting off, the field doesn't have this problem. > But I > don't want all of my fields transparent. Is there some field setting > that > corrects this? I checked the archive but could not find comment on > this, it > must be a common complaint. Thanks. this is a bug in the 2.1 engine and already reported. Hopefully we might see an update in the near future ;-) (Especially for OS X!) > rand valentine Regards Klaus Major klaus at major-k.de www.major-k.de From ambassador at fourthworld.com Mon Sep 29 09:39:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 29 09:39:01 2003 Subject: QT Licensing Info Message-ID: Following the discussion here about licensing QuickTime installers for inclusion on your CD-ROMs, I posted the questions raised here to Apple's QT discussion list. I got a personal reply from an Apple rep which clarifies things, and she's given me permission to post it here: ------------------------------------------------------------ Hello Richard, Thanks for your comments to the mailing list about QuickTime licensing. We work very hard to make it easy to distribute QuickTime, however we also must protect our technology and our brand. So the 7 page license agreement is what we feel is necessary for that protection, the rest of the pages are exhibits. We have had a very successful licensing program with thousands of licensees, and yes someone looks at each submission. One of the items submitted is sent to engineering as they use these products for testing new versions of QuickTime and the other is sent to marketing so that we can demonstrate these products and promote products that use and include QuickTime. We have a team of folks who can answer questions regarding the license if your customers should have any (cc:d here). And no we don't require an update to a product for each dot release of QuickTime. The license for QuickTime 6 might be a little confusing because we can only allow licenses for QuickTime 6.0.3 and later but people don't need to sign a new license or ship a revved version of their product when we release a new dot release of QuickTime. I hope this helps clarify things and that you continue to evangelize QuickTime. cheers, rhonda QuickTime Team ------------------------------------------------------------ -- 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 cb at callum.demon.co.uk Mon Sep 29 09:51:00 2003 From: cb at callum.demon.co.uk (Callum Brines) Date: Mon Sep 29 09:51:00 2003 Subject: Unicode problem with Simplified Chinese - InDesign unhappy with binfile Message-ID: >On Friday, September 26, 2003, at 12:39 PM, Callum Brines wrote >> put uniEncode(gTagFile,"SimpleChinese") into gTagFile >> >> and then write gTagFile to disk. >> >> When the tagged file is imported into InDesign, the Chinese >> character E4B88A (UTF8; 4E0A Hex) is appearing as E4B88D (4E0D Hex). >> All the other Chinese characters are okay. On Saturday, September 27, 2003, at 01:31 AM, Dar Scott wrote >You should use binfile. > >If you are writing to the file, you should be using binary instead of >text in 'open file'. Thanks Dar. I tried binfile but unfortunately InDesign will not import the resulting file with error "There is no filter for the requested operation". For the moment I will have to replace the E4B88A character in my source files with a holding character before running the files through my Rev formattting program, and then use search and replace in Indesign to reinsert the correct character at the other end. My worry is that over much longer stretches of text than the small sample I've been working with till now, other Chinese characters may be scrambled by the uniEncode function which would cause me serious problems. If I find a workaround for the problem I'll let you know. Thanks again Callum From x at monsieurx.com Mon Sep 29 10:21:01 2003 From: x at monsieurx.com (MisterX) Date: Mon Sep 29 10:21:01 2003 Subject: Problem with copy paste anyone? In-Reply-To: Message-ID: Hi everyone, Is it me or NT that doesn't copy everything through? In NT4 and NT5 (W2K), from c code copy-pasted directly from IExplorer to a field in MC or RR, all the semicolumns and brackets are gone. Sometimes the clipboard seems stuck on your last copy job in MC/RR... Naturally any other program copy pastes as it should... Thanks for any input... Im nut sure this is a bugzilla report to come yet... Secondary question, how do you know if your bug in bugzilla is "Aknowledged"? I didn't see a thing about it... cheers Xavier From ambassador at fourthworld.com Mon Sep 29 10:28:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 29 10:28:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: Mark Brownell wrote: > On Saturday, September 27, 2003, at 10:59 AM, Richard Gaskin wrote: > >> What terms is it available under? Is the final version not being >> posted to the Revolution_IPC group at Yahoo? > > It's available there under basic CUA principles. I don't want to > explain it here. I'm concerned that someone will need a lot of hand > holding to implement it properly. There are export restriction laws in > place by different countries that need to be followed when implementing > it. This becomes the responsibility and liability of the developer > using it in their apps. Wouldn't the disclaimer included with the original Blowfish algorithm suffice? > There are better and best user procedures when > disguising the encryption key while implementing it in transcript. I > made it available to the Revolution_IPC group because that small group > didn't need much to understand it and they needed some encryption > solution for all the work they are doing there. I did briefly explain > its three major parts there. If anyone wants to use it and wants me as > a consultant regarding it then I'm available to help anyone that needs > my help with it. I will need to collect a consulting fee if that is the > case. So money might act like an energy booster. For speed it would seem optimal to have it implemented in an external, or in the engine itself. The usability issues could be addressed along with that. Have you talked with Tuv about the possibility? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Mon Sep 29 10:29:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 29 10:29:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: <21B17254-F070-11D7-8BC6-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > I would like to see a stack protection feature that does encryption- > through and through. In order to open, run, read, edit, *do anything* > no matter if via engine or via IDE, first one would first have to > authenticate. It could be password authentication or public key > authentication. Authentication could be done by prompting the user, or > done by a script in an already running stack. I'd vote for that. Have you Bugzilla'd 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 wmb at internettrainer.com Mon Sep 29 10:47:01 2003 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Sep 29 10:47:01 2003 Subject: transparent graphic with border visible, windows In-Reply-To: <561EA6C0-F1C7-11D7-B044-000A95909E26@designeq.com> Message-ID: <7B554E7C-F292-11D7-901A-003065430226@internettrainer.com> On Sonntag, Sep 28, 2003, at 17:20 Europe/Vienna, Howard Bornstein wrote: > > On Sunday, September 28, 2003, at 10:28 AM, Rodney Tamblyn wrote: > >> Can anyone tell me how to make a transparent graphic with visible >> border on Windows (It's easy on Mac). The graphic needs to be >> "opaque" so it will capture mouse clicks, but obviously I want it to >> show what's underneath, so the ink will in fact make it transparent >> apart from the border. > > Any reason why it *has* to be a graphic. Why not just place a button > over the area, set the opaque and showname to false, and set the > border to whatever thickness you want. > > Or am I missing something? I have a similar problem, maybe thats the reason why you cant go with an opaque btn. I have such a btn over the area as you described. And this btn is set to apaque on some stacks so the user cant see the area under the btn and it is set to off that the btn does not work on this Stacks. This works perfectly on the MAc a blank area on a blank ground you can see nothing but on windows (builds) you see a ugly grey rectangle. I m thinking now how can I solve this problem, but can I do anything, when it works well on the MAc but not on Win..? Thanks for any ideas.... 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 Sep 29 10:48:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 29 10:48:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: References: Message-ID: >For speed it would seem optimal to have it implemented in an external, or in >the engine itself. Richard, Mark, et al: No eternals, please! libIPC is 100% Transcript, revBlowfish is 100% Transcript. Let's keep it that way or embed it in the engine. Rob Cozens Co Moderator, revolution_ipc group. -- GOT RIGHTS? What's your color code? From ambassador at fourthworld.com Mon Sep 29 11:02:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 29 11:02:01 2003 Subject: Linux & application metadata In-Reply-To: Message-ID: Monte Goulding wrote: >> AFAIK there is no standard UNIX way of binding files to applications- >> this would be handled at the level of the "Window Manager", and there >> are literally dozens of competing Window Managers for UNIX. The most >> popular Linux and BSD ones being KDE and Gnome. >> >> KDE does it with MIME types- other Window Managers probably also use >> MIME types as well, but there is no standard file location or format >> that I know of for this stuff. > > I had a feeling it has something to do with MIME types. Ouch... just found > this: http://www.gnome.org/learn/admin-guide/2.2/mimetypes-9.html > > But wait! ... http://www.freedesktop.org/standards/shared-mime-info-spec/ > looks better. Now where do these .desktop files go? > > Now I see why I've never released any of my apps on Linux. There's plenty of info on how to manually enter MIME info, but I'll be darned if I'm going to ask my end-users to do something that silly. Worse, it appears each of the window managers has a different scheme for doing this, and I've seen no indication that it's occured to any of them to standardize. :( I hope I'm wrong. I have some things to deploy to Linux and just finding this basic info has eaten more time than something this trivial deserves. Once I find the magic recipe for file associations, icon assignments, and putting an alias in the Start menu, I'll post a summary of instructions at my Rev 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 ambassador at fourthworld.com Mon Sep 29 11:06:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 29 11:06:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: Rob Cozens wrote: >> For speed it would seem optimal to have it implemented in an external, or in >> the engine itself. > > Richard, Mark, et al: > > No eternals, please! > > libIPC is 100% Transcript, revBlowfish is 100% Transcript. > > Let's keep it that way or embed it in the engine. What if externals were simplified to be as easy to use as native calls? I'd vote for the engine, but I'm mindul that if we put everything in the engine it'll become huge, laden with things only a few use. I'm just trying to keep options open for enhanced, high-speed capabilities without encumbering the engine. -- 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 Sep 29 11:12:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 29 11:12:00 2003 Subject: opaque fields scrolling problem In-Reply-To: Message-ID: <000c01c386a2$bb3eb9e0$6601a8c0@LightningFlash> > > I am using mac os x.2.6, and have a problem with opaque > fields when > > i scroll them. if i scroll a field back to the top, there > are seeming > > fine horizontal white lines in the field's contents that render the > > contents unreadable until i click in the field or otherwise > manipulate > > it. if i turn > > the field's "opaque" setting off, the field doesn't have > this problem. > > But I > > don't want all of my fields transparent. Is there some > field setting > > that > > corrects this? I checked the archive but could not find comment on > > this, it > > must be a common complaint. Thanks. > > this is a bug in the 2.1 engine and already reported. > > Hopefully we might see an update in the near future ;-) > (Especially for OS X!) There is a workaround -- set the border of the field to 0 or 1; that seems to do the trick. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Mon Sep 29 11:39:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 29 11:39:00 2003 Subject: Unicode problem with Simplified Chinese - InDesign unhappy with binfile In-Reply-To: Message-ID: On Monday, September 29, 2003, at 08:39 AM, Callum Brines wrote: > Thanks Dar. I tried binfile but unfortunately InDesign will not import > the resulting file with error "There is no filter for the requested > operation". I'm guessing that it did not like the line-end. Two ideas based on my assumption that it wants Mac line ends, that is, ASCII CRs: 1 If InDesign will take UTF-8, then convert your UTF-16 to UTF-8 and then save as text (file:). 2 Change the LF to an ASCII CR yourself in the Simplified Chinese. The BG coding has both bytes with the high bit set, so there should not be a clash. Look at the 'replace' command in the Transcript Dictionary. Simplified Chinese characters and ASCII characters are normally mixed and the uniEncode() handles that. The final UTF-16 result still needs to be saved as binary (binfile:). (This method has to be enhanced to become multiplatform.) (I don't think replacing the UTF-16 two-byte LF with a two-byte CR can be done with a simple replace.) > My worry is that over much longer stretches of text than the small > sample I've been working with till now, other Chinese characters may > be scrambled by the uniEncode function which would cause me serious > problems. If I find a workaround for the problem I'll let you know. I still think this is a problem with 0A bytes being converted to 0D. If that is the case, you will see others. When I tinkered with small strings using the codes you mentioned using uniEncode and uniDecode, the results looked OK to me. They acted as inverses and the codes looked right from the symbol tables at . You could try inserting other Simplified Chinese characters with 0A in the second byte and see if those get converted, too. Dar Scott uniCode Student **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From alex at mindlube.com Mon Sep 29 11:48:00 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 29 11:48:00 2003 Subject: Linux & application metadata In-Reply-To: Message-ID: <0CE7A9AB-F29B-11D7-97F9-000393529642@mindlube.com> On Monday, September 29, 2003, at 09:50 AM, Richard Gaskin wrote: > Worse, it appears each of the window managers has a different scheme > for > doing this, and I've seen no indication that it's occured to any of > them to > standardize. :( But the freedesktop.org site indicates there is some effort to standardize. Maybe in 10 years. :-) > I hope I'm wrong. You are not wrong, AFAIK. I'm not a full-time Linux user, anymore, however as long as I've used UNIX, there has always been different Window Managers in use. The Window Manager is a significant layer on top of X Windows that adds all desktop and window management functionality. X Windows without a window manager appears to be an empty grey stippled screen with a cursor. Launch an X Windows app with no window manager running and it will have no window frame, and no controls. Window Mgr (KDE, Gnome, Enlightenment, fvwm, twm, afterstep, ...) | X Windows (XFree86) | Linux OS > I have some things to deploy to Linux and just finding this basic info > has > eaten more time than something this trivial deserves. Once I find the > magic > recipe for file associations, icon assignments, and putting an alias > in the > Start menu, I'll post a summary of instructions at my Rev page. For what Window manager though? You have to pick one window manager, e.g. KDE - K Desktop Environment, and figure out how to do it for that window manager. There is not, and probably never will be, one way for all Linux machines. Because who knows what Window Manager the user will be running. KDE is used in Lindows (I think) and several other Linux distros. Sun Solaris is going to have (already has?) a Gnome variant. Redhat probably comes with KDE and Gnome but don't know what the default is anymore. Unfortunately most of the people in a position to fix this mess- and standardize the Window Managers- are people who just use the Window Manager as a vehicle for arranging tens of xterm console windows on their screen, and probably don't use file associations at all themselves- just use the shell for launching X Windows apps with a filename, or with command line options. :-( Command line is king as far as UNIX developers, and a lot of users, are concerned. 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 Mon Sep 29 11:56:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 29 11:56:01 2003 Subject: Problem with copy paste anyone? In-Reply-To: Message-ID: <4399AAB0-F29C-11D7-97F9-000393529642@mindlube.com> On Monday, September 29, 2003, at 09:14 AM, MisterX wrote: > Secondary question, how do you know if your bug in bugzilla is > "Aknowledged"? I didn't see a thing about it... You will get an email when a comment is added to the bug, or the bug's status is changed, or assigned to an engineer. Usually runrev posts a comment when they can verify the problem and are working on it. If all you get is silence then assume is just somewhere in the big queue and not ack-ed yet. 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 Mon Sep 29 12:03:54 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 29 12:03:54 2003 Subject: Unicode and Chunks In-Reply-To: <20030929125947.3747@smtp.jhu.edu> Message-ID: Welcome, Dean! On Monday, September 29, 2003, at 06:59 AM, Dean Snyder wrote: > I've been enjoying using Unicode in Revolution 2.1 for the most part. > The > only problem I've encountered so far is that chunk evaluation doesn't > seem to work correctly with Unicode characters. For example, if any > byte > of a double byte Unicode character is "09" that will increment the item > count in chunk evaluation if you have set the itemDelimiter to "tab", > ASCII 09; but, of course, the character is not a tab. At this time it seems that Revolution values are still byte sequences and as long as you are using one-byte characters those are char sequences. Unicode will be UTF-16 (16-bit chars with perhaps something special for 32). Those double-byte characters are flattened into a byte sequence based on host ordering (ick). So, at this time, you are working with bytes. Here are some ideas: 1 Convert to UTF-8. Each character is one to four bytes (for unicode version 4). This has the cool property that tab or even comma or the Revolution line end will not show up in the extension bytes. This should work with split and combine, too. 2 Highly experimental: Maybe there is an undocumented feature of useUnicode that will allow this to work. You might have to create a unicode tab char, 0009. Dar Scott unicode sophomore From ambassador at fourthworld.com Mon Sep 29 12:05:02 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 29 12:05:02 2003 Subject: Linux & application metadata In-Reply-To: <0CE7A9AB-F29B-11D7-97F9-000393529642@mindlube.com> Message-ID: Alex Rice wrote: > For what Window manager though? You have to pick one window manager, > e.g. KDE - K Desktop Environment, and figure out how to do it for that > window manager. There is not, and probably never will be, one way for > all Linux machines. Because who knows what Window Manager the user will > be running. For things window managers have in common (file associations, icons, start menu), it would not be hard -- from a technical standpoint -- to arrive at a common set of mechanisms to make that happen, with older methods still supported but deprecated. For the most oart these things are established with text files, so we're not talking about splitting the atom. ;) But that's only the technical side. Politically it would be a nightmare, expecting Linux project managers to favor the goal of worldwide end-user adoption over their personal favorite way of doing things. -- 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 Mon Sep 29 12:07:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 29 12:07:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: On Monday, September 29, 2003, at 09:17 AM, Richard Gaskin wrote: > Alex Rice wrote: > >> I would like to see a stack protection feature that does encryption- >> through and through. In order to open, run, read, edit, *do anything* >> no matter if via engine or via IDE, first one would first have to >> authenticate. It could be password authentication or public key >> authentication. Authentication could be done by prompting the user, or >> done by a script in an already running stack. > > I'd vote for that. Have you Bugzilla'd it? I have now :-) #723 "improved stack encryption capability" Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From lists at mangomultimedia.com Mon Sep 29 13:00:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Sep 29 13:00:00 2003 Subject: Executable not behaving correctly when launched using shell on Windows Message-ID: <2DF067C3-F2A5-11D7-95EE-000A956C462A@mangomultimedia.com> I have a program that consists of a splash screen and the program file. The splash screen is the executable which shows the splash graphic for 2 seconds, sets its location off the screen and opens the program stack in a new window. This works fine on Mac and windows when double clicking on the splash executable. I created an installer which launches the executable after installing the program. In the installer code when the user clicks on the "Launch Program" button the installer launches the program using applescript on mac and shell on windows. On the Mac everything works fine. On Windows, the splash screen appears, then disappears but never opens the main program stack window. The process is open, but no window. Everything works fine if I double click on the program executable directly. The code I use to open the app from the installer is: put shortFilePath (pFilePath) into pFilePath set hideConsoleWindows to true put shell ("start" && pFilePath) into tError Has anyone encountered something similar and know of a solution? Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From alex at mindlube.com Mon Sep 29 13:09:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 29 13:09:01 2003 Subject: Executable not behaving correctly when launched using shell on Windows In-Reply-To: <2DF067C3-F2A5-11D7-95EE-000A956C462A@mangomultimedia.com> Message-ID: <71048815-F2A6-11D7-97F9-000393529642@mindlube.com> On Monday, September 29, 2003, at 11:48 AM, Trevor DeVore wrote: > Has anyone encountered something similar and know of a solution? Try InnoSetup- it's free and it rocks http://www.jrsoftware.org/isinfo.php Sorry I don't know about that particular problem though. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From scott at tactilemedia.com Mon Sep 29 13:21:01 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Sep 29 13:21:01 2003 Subject: Executable not behaving correctly when launched using shell on Windows In-Reply-To: <2DF067C3-F2A5-11D7-95EE-000A956C462A@mangomultimedia.com> Message-ID: On 9/29/03 10:48 AM, "Trevor DeVore" wrote: > I created an installer which launches the executable after installing > the program. In the installer code when the user clicks on the "Launch > Program" button the installer launches the program using applescript on > mac and shell on windows. On the Mac everything works fine. On > Windows, the splash screen appears, then disappears but never opens the > main program stack window. The process is open, but no window. > Everything works fine if I double click on the program executable > directly. > > The code I use to open the app from the installer is: > put shortFilePath (pFilePath) into pFilePath > set hideConsoleWindows to true > put shell ("start" && pFilePath) into tError > > Has anyone encountered something similar and know of a solution? You might be missing a title parameter in your shell string. Try: put empty into tTitle put shell ("start" && tTitle && quote & pFilePath & quote) into tError Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From soapdog at mac.com Mon Sep 29 14:13:00 2003 From: soapdog at mac.com (Andre Garzia) Date: Mon Sep 29 14:13:00 2003 Subject: [Little OT] About The Green Edge Magazine/BlogWorkz/iBlog/RunRev Stacks (... or Why I Hate Tropical Storms) Message-ID: <3CC24442-F2CF-11D7-A064-00039387AE90@mac.com> Hi Folks, As some of you know, I am building a new apple newton magazine called the Green Edge magazine (www.thegreenedge.net). We're going pretty far, couple articles and interviews are already done and we we're planning to launch this week. With web, newtonbook, pdf and real paper versions. Also, I am the developer of BlogWorkz (http;//www.soapdog.org/blogworks) which is a Cocoa Blog Client, with some thousand happy users. It's like other iApps and got some cool features. And, I am the developer of old iBlog software (http://iblog.soapdog.org), I must say old because LiFli stole it's name and launched a same-name program without check for trademarks, but iBlog is the most used blog client out there, it's the only client for Mac Classic, and it's features are unrivalled even by todays standards. And last but not least, I was planning to release a couple libraries for the amazing Runtime Revolution (http://www.runrev.com), which is my premier programming language tool with amazing cross-compiler oportinities. The releases of XML-RPC Stack and ShareWare tools Stack are delayed because i've got not machine to further debug them and release them to our community. My tutorials for MacMagazine and AppleTalk Newsletter are delayed since I lost the iBook HD where they were. Feel free to use the preliminar version I upload to author resources. All my softwares and projects are freeware (some with source). Sorry for bulkmailing, I am at a internet Cafe, and I must pay by email (U$ 4 per email), this is a mail to let everyone related to my work to know why I will disapear for a while from the scene. The sad new is, I live in Brazil, it's raining season here, and last night, during a hellish storm, a thunderbolt striked near my house. My iBook crashed, it's HD was rendered to zero. It's burned beyond repair. My iMac G4 also suffered, it's ethernet is fried also. My APC NoBreak was not enought to solve this problems. Since my etherned card is on board, i must buy a new iMac G4 800 motherboard. Let's play the bill: * iBook New Batterie (old is fried) = R$ 300 * iBook New HD 30GB (old is fried) = R$500 * iMac G4 Motherboard = R$2090,00 * Total repair is = R$ 2890,00 which is almost U$ 1000 dollars. My salary is R$180, which is U$Almost-Two-Big-Macs-and-A-Coke. It's will take couple time for me to come back to production and development since I'm having a hardtime to fix all this stuff. My salary is not enought and my freelance progaming jobs are halted till my machines are back. If anyone who uses my software wants to help me fixing this mess, i've got a PayPal Account under agarzia at mac.com Thanks for all who helped in the last years efforts. Cheers on the crazy ones. Andre Garzia ? 2003 imac2 ibook p100 e uma torradeira.... From talbrech at student.umass.edu Mon Sep 29 14:41:01 2003 From: talbrech at student.umass.edu (talbrech at student.umass.edu) Date: Mon Sep 29 14:41:01 2003 Subject: Cursor: inverted colors Message-ID: <1064863754.3f78880a14855@mail-www4.oit.umass.edu> I am just getting into Rev programming and have a question about creating your own cursor. I have created a cursor (grabbing hand) by modifying a metacard icon with the drawing tools within Revolution. The icon looks great, but when I go to use it (command-click within a map field) it shows up at half the original size, AND its colors are inverted (white outline with a black hand instead of normal). I have read the previous suggestions in the listserve archives about this problem, but they do not seem to apply in this case because I created the icon within the program, with the program's drawing tools. Any suggestions? Thanks - Tamee Albrecht UMass Amherst, Geosciences From tuviah at runrev.com Mon Sep 29 14:53:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Mon Sep 29 14:53:00 2003 Subject: Problem with copy paste anyone? References: <200309291430.KAA31923@www.runrev.com> Message-ID: <00b101c386c1$c9f56aa0$6372fea9@user> >Secondary question, how do you know if your bug in bugzilla is >"Aknowledged"? I didn't see a thing about it... I'll usually mark it as assigned usually if I'm working on it or have verified it and it is on my to-do list. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From lists at mangomultimedia.com Mon Sep 29 15:10:00 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Sep 29 15:10:00 2003 Subject: Executable not behaving correctly when launched using shell on Windows In-Reply-To: Message-ID: <4D32736D-F2B7-11D7-95EE-000A956C462A@mangomultimedia.com> On Monday, September 29, 2003, at 12:09 PM, Scott Rossi wrote: >> >> The code I use to open the app from the installer is: >> put shortFilePath (pFilePath) into pFilePath >> set hideConsoleWindows to true >> put shell ("start" && pFilePath) into tError >> >> Has anyone encountered something similar and know of a solution? > > You might be missing a title parameter in your shell string. Try: > > put empty into tTitle > put shell ("start" && tTitle && quote & pFilePath & quote) into > tError That didn't solve it but it made me look at the help for the start command which I hadn't thought to do. :) The way to get it to work is to pass the working directory with the /D paramter. shell /D PathToWorkingDir programName.exe Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Mon Sep 29 15:12:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Sep 29 15:12:01 2003 Subject: Executable not behaving correctly when launched using shell on Windows In-Reply-To: <71048815-F2A6-11D7-97F9-000393529642@mindlube.com> Message-ID: <98D227AE-F2B7-11D7-95EE-000A956C462A@mangomultimedia.com> On Monday, September 29, 2003, at 11:57 AM, Alex Rice wrote: > > Try InnoSetup- it's free and it rocks > http://www.jrsoftware.org/isinfo.php > > Sorry I don't know about that particular problem though. Thanks Alex, I will have to take a look at this. Do you use it for your Windows installers? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Mon Sep 29 15:18:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 29 15:18:00 2003 Subject: flashing window when changing stack window properties Message-ID: <7F47FDB6-F2B8-11D7-8040-000A9567A3E6@swcp.com> This script segment causes the window to flash. lock screen set the resizable of me to true set the width of me to 310 set the height of me to 270 set the cantModify of me to false set the style of me to "topLevel" set the decorations of me to "default" unlock screen The flashing even happens in preOpenStack, which surprises me since the Transcript dictionary says it is executed before the stack window appears. This also happens with with several variations of the above script. (Also the stack name shows up momentarily on the title bar even though there is a label in at least one variation.) I saw workaround advice from Sarah back in April that suggested the changes can be made while the stack is invisible. I will try this. Yet, because of the flashing I suspect I might be doing something wrong. What is happening? How do I get around this? Dar Scott From alex at mindlube.com Mon Sep 29 15:19:01 2003 From: alex at mindlube.com (Alex Rice) Date: Mon Sep 29 15:19:01 2003 Subject: Executable not behaving correctly when launched using shell on Windows In-Reply-To: <98D227AE-F2B7-11D7-95EE-000A956C462A@mangomultimedia.com> Message-ID: <9DD764FA-F2B8-11D7-97F9-000393529642@mindlube.com> On Monday, September 29, 2003, at 02:00 PM, Trevor DeVore wrote: > Thanks Alex, I will have to take a look at this. Do you use it for > your Windows installers? Yes- although not yet for any Mindlube products. For my ARC, Inc. project I do use InnoSetup & it works perfectly. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From ambassador at fourthworld.com Mon Sep 29 15:26:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 29 15:26:01 2003 Subject: flashing window when changing stack window properties In-Reply-To: <7F47FDB6-F2B8-11D7-8040-000A9567A3E6@swcp.com> Message-ID: Dar Scott wrote: > This script segment causes the window to flash. > > lock screen > set the resizable of me to true > set the width of me to 310 > set the height of me to 270 > set the cantModify of me to false > set the style of me to "topLevel" > set the decorations of me to "default" > unlock screen > > The flashing even happens in preOpenStack, which surprises me since the > Transcript dictionary says it is executed before the stack window > appears. > > This also happens with with several variations of the above script. > (Also the stack name shows up momentarily on the title bar even though > there is a label in at least one variation.) Have you tried it without setting the style of the stack? -- 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 Mon Sep 29 15:42:00 2003 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 29 15:42:00 2003 Subject: flashing window when changing stack window properties In-Reply-To: <7F47FDB6-F2B8-11D7-8040-000A9567A3E6@swcp.com> References: <7F47FDB6-F2B8-11D7-8040-000A9567A3E6@swcp.com> Message-ID: <3F789671.9000704@hyperactivesw.com> On 9/29/03 3:07 PM, Dar Scott wrote: > This script segment causes the window to flash. > > lock screen > set the resizable of me to true > set the width of me to 310 > set the height of me to 270 > set the cantModify of me to false > set the style of me to "topLevel" > set the decorations of me to "default" > unlock screen > > The flashing even happens in preOpenStack, which surprises me since the > Transcript dictionary says it is executed before the stack window appears. > > This also happens with with several variations of the above script. > (Also the stack name shows up momentarily on the title bar even though > there is a label in at least one variation.) > > > I saw workaround advice from Sarah back in April that suggested the > changes can be made while the stack is invisible. I will try this. > Yet, because of the flashing I suspect I might be doing something wrong. > > What is happening? How do I get around this? The flash happens whenever you set the decorations, which forces a window redraw. Not sure if there is a good workaround, since the OS is responsible for the drawing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Sep 29 15:57:01 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 29 15:57:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: On Monday, September 29, 2003, at 10:55 AM, Alex Rice wrote: > #723 "improved stack encryption capability" The entry #577, "put stack into variable", might be generalized to allow 'save', 'open', and 'start using' to refer to variables. Perhaps with that encrypted stacks could then be saved in custom properties and decrypted before use. A script that looks forward to this might save the stack into a temporary folder and then open or start using. This reduces the problem to an encryption problem. The biggest part of that is not the method or the speed, but the logistics of keeping up with signatures and the like to allow users to verify the integrity of the module. Users will need to depend on the integrity of signers and either their experience and dedication to managing signed code or the review-ability of the code. To me, this means that initial encryption modules must be in Transcript, but I would consider an external. Another possibility would be external programs run by shell for some needs. We might consider which possible performance enhancements might best support encryption. I think #586 would help in encryption and not just for speed reasons. Variations on Blowfish might work. (I don't mean variation as in fiddling with it, I mean in application and handling ends.) If the situation is OK for using a stream cypher that works just the same as the one with the trademarked name RC4, I'd like that. I have yet to figure out how to get a SEAL license from IBM, so that is probably out. However, for the light needs of most people here, I think we can put together a simple stream cypher that can be reviewed easily. Even though it might be weak, it might be better than some because it is reviewable. Dar Scott From dsc at swcp.com Mon Sep 29 15:59:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 29 15:59:00 2003 Subject: flashing window when changing stack window properties In-Reply-To: <3F789671.9000704@hyperactivesw.com> Message-ID: <38869640-F2BE-11D7-8040-000A9567A3E6@swcp.com> On Monday, September 29, 2003, at 02:30 PM, J. Landman Gay wrote: > The flash happens whenever you set the decorations, which forces a > window redraw. Not sure if there is a good workaround, since the OS is > responsible for the drawing. I get three or four flashes. I need to see if setting the decorations cause all or whether the other sets also cause this. Dar Scott From dsc at swcp.com Mon Sep 29 16:00:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 29 16:00:00 2003 Subject: flashing window when changing stack window properties In-Reply-To: Message-ID: <58C3EA3C-F2BE-11D7-8040-000A9567A3E6@swcp.com> On Monday, September 29, 2003, at 02:14 PM, Richard Gaskin wrote: > Have you tried it without setting the style of the stack? I'll test that. Doesn't the decorations have to come after the style? Dar Scott From rgould8 at aol.com Mon Sep 29 17:22:01 2003 From: rgould8 at aol.com (Rob Gould) Date: Mon Sep 29 17:22:01 2003 Subject: name of .exe Rev app that sublaunches .rev file Message-ID: <3F78ADD7.4070601@aol.com> An HTML attachment was scrubbed... URL: From revlist at cableone.net Mon Sep 29 17:52:00 2003 From: revlist at cableone.net (Chris Sheffield) Date: Mon Sep 29 17:52:00 2003 Subject: name of .exe Rev app that sublaunches .rev file In-Reply-To: <3F78ADD7.4070601@aol.com> Message-ID: <000101c386da$c7060980$64fea8c0@chris1> When your ?stub? launcher has done its job, do you leave it in memory? If so, you could set a custom property in the main .exe and have your second stack ?get? that once it?s downloaded. Just one idea off the top of my head. It?s no different from accessing properties for objects in different stacks. 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 Rob Gould Sent: Monday, September 29, 2003 4:11 PM To: use-revolution use-revolution Subject: name of .exe Rev app that sublaunches .rev file I've got a Revolution app that is launched by an .exe file that I created in Revolution as a "stub" launcher.? This stub launch has just 1 line of code in it that tell it to run another .rev file from a web-site.? Is there a way, within that .rev file on the web-site to determine the name of the .exe file that launched it?? From ambassador at fourthworld.com Mon Sep 29 17:55:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 29 17:55:01 2003 Subject: name of .exe Rev app that sublaunches .rev file In-Reply-To: <3F78ADD7.4070601@aol.com> Message-ID: Rob Gould wrote: > I've got a Revolution app that is launched by an .exe file that I created in > Revolution as a "stub" launcher. This stub launch has just 1 line of code in > it that tell it to run another .rev file from a web-site. Is there a way, > within that .rev file on the web-site to determine the name of the .exe file > that launched it? If you're writing the standalone, why not just include a function in the mainstack script to return any data you need? If that won't work, you could get the staacks and walk through the list getting the filename of each.... -- 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 dean.snyder at jhu.edu Mon Sep 29 21:16:00 2003 From: dean.snyder at jhu.edu (Dean Snyder) Date: Mon Sep 29 21:16:00 2003 Subject: Unicode and Chunks In-Reply-To: References: Message-ID: <20030930020425.7769@smtp.earthlink.net> Trevor DeVore wrote at 8:12 AM on Monday, September 29, 2003: >Chunk expressions don't work correctly with unicode text right now >though I believe it is being worked on. You have to write your own >chunk handlers for use with unicode text. Take a look at the sample >stack "Unicode text manipulation examples" at > >which shows some examples of getting lines in a field, etc. Yes, but this won't take care of displaying Unicode text properly in table fields - the columns get all confused by the spurious tabs. We'll just have to wait for a fix for this. Respectfully, Dean A. Snyder Scholarly Technology Specialist Library Digital Programs, Sheridan Libraries Garrett Room, MSE Library, 3400 N. Charles St. Johns Hopkins University Baltimore, Maryland, USA 21218 office: 410 516-6850 mobile: 410 245-7168 fax: 410-516-6229 Manager, Digital Hammurabi Project: www.jhu.edu/digitalhammurabi From tuviah at runrev.com Mon Sep 29 21:32:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Mon Sep 29 21:32:00 2003 Subject: flashing window when changing stack window properties References: <200309291943.PAA11044@www.runrev.com> Message-ID: <003901c386f9$890f5d10$416db918@user> > I saw workaround advice from Sarah back in April that suggested the > changes can be made while the stack is invisible. I will try this. > Yet, because of the flashing I suspect I might be doing something wrong. > > What is happening? How do I get around this? The flash happens because Revolution needs to recreate the window and then redraw with the new decorations. Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From gizmotron at earthlink.net Mon Sep 29 22:14:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Mon Sep 29 22:14:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: On Monday, September 29, 2003, at 08:16 AM, Richard Gaskin wrote: >> Mark Brownell wrote: >> There are export restriction laws in place by different countries >> that need to be followed when implementing it. This becomes the >> responsibility and liability of the developer using it in their apps. > > Wouldn't the disclaimer included with the original Blowfish algorithm > suffice? Richard, If you mean from here: http://www.schneier.com/paper-blowfish-fse.html it might if I didn't need to explain the first part where the rev_blowfish app tries to restrict the encryption key level to 128 bit. It checks for proper key formation and usage. I built this as a demonstration of implementing blowfish. It is not really part of the Blowfish algorithm that comes up after key checking part. Blowfish works from 32 bit to 448 bit encryption levels in 32 bit level steps. The original disclaimer does not reflect the changes in security that have come along since 1993; either that or I forgot what it said. I'm not going to look it up. > For speed it would seem optimal to have it implemented in an external, > or in the engine itself. The usability issues could be addressed > along with that. Have you talked with Tuv about the possibility? > -- > Richard Gaskin No. I've talked with a few others at Rev about it though. If it were put into the engine then it would be limited to 128 and 64 bit formats because of export restrictions. That could put limitations on Rev distribution. If you add Blowfish into your own standalone apps this makes you, the developer, the person that needs to distribute the app properly under export laws. I have copyrighted the rev_blowfish.rev app so that I can claim restrictions on the actual rev_Blowfish.rev app. The source code inside rev_Blowfish.rev is free to use at your own risk if used responsibly just like it was back in 1993 by Bruce Schneier I learned from other open source examples in C, Visual Basic, and Lingo. This is just an example of it in Transcript. Mark From lists at mangomultimedia.com Mon Sep 29 22:17:01 2003 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon Sep 29 22:17:01 2003 Subject: Unicode and Chunks In-Reply-To: <20030930020425.7769@smtp.earthlink.net> Message-ID: On Monday, September 29, 2003, at 08:04 PM, Dean Snyder wrote: > Trevor DeVore wrote at 8:12 AM on Monday, September 29, 2003: > >> Chunk expressions don't work correctly with unicode text right now >> though I believe it is being worked on. You have to write your own >> chunk handlers for use with unicode text. Take a look at the sample >> stack "Unicode text manipulation examples" at >> > usercontributions.html> >> which shows some examples of getting lines in a field, etc. > > Yes, but this won't take care of displaying Unicode text properly in > table fields - the columns get all confused by the spurious tabs. > > We'll just have to wait for a fix for this. I don't know how you are getting the data you are using but I have created fields with tabs & unicode that display properly in tables. Doing something like: put uniEncode (tNewMovieName & tab & pMoviePath), "UTF16") into tNewLine set unicodeText of field "Myfield" to tNewLine works in most cases. You would have to change the encoding depending on the language. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dsc at swcp.com Mon Sep 29 22:34:00 2003 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 29 22:34:00 2003 Subject: snapshot on XP makes icons wink out Message-ID: <6B857E70-F2F5-11D7-8040-000A9567A3E6@swcp.com> I'm not sure whether this is an XP problem or a Revolution bug or something silly that I'm doing. On Windows XP, import snapshot or export snapshot causes the icons on the primary monitor to wink out. This flicker also shows up on other icons and buttons and the start menu. I've looked around on my video adaptor settings and didn't see anything that might apply. Dar Scott From monte at sweattechnologies.com Mon Sep 29 23:08:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Sep 29 23:08:00 2003 Subject: Linux & application metadata In-Reply-To: Message-ID: > > I had a feeling it has something to do with MIME types. Ouch... > just found > > this: http://www.gnome.org/learn/admin-guide/2.2/mimetypes-9.html > > > > But wait! ... > http://www.freedesktop.org/standards/shared-mime-info-spec/ > > looks better. Now where do these .desktop files go? > > > > Now I see why I've never released any of my apps on Linux. > > There's plenty of info on how to manually enter MIME info, but I'll be > darned if I'm going to ask my end-users to do something that silly. > > Worse, it appears each of the window managers has a different scheme for > doing this, and I've seen no indication that it's occured to any > of them to > standardize. :( The freedesktop.org site seems to be working towards that. I was wondering if this stuff was included in any of the package systems? > > I hope I'm wrong. > > I have some things to deploy to Linux and just finding this basic info has > eaten more time than something this trivial deserves. Once I > find the magic > recipe for file associations, icon assignments, and putting an > alias in the > Start menu, I'll post a summary of instructions at my Rev page. Sounds great. Maybe we should put together a script library for all this stuff when we work it out? I'll certaily let youknow if I find anything. Maybe Chipp can get his mate at Lindows to ask one of the developers there??? Cheers Monte From alex at mindlube.com Tue Sep 30 01:03:00 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 30 01:03:00 2003 Subject: [OT^2] The Revolution will not be televised Message-ID: <39127A84-F30A-11D7-ADFF-000393529642@mindlube.com> [Off Topic] . . . [Waaaay... Off Topic] . . . [Gill Scott Heron please forgive my caucasian @ss for co-opting your song] . . . onEvangelizeRev pWhatItISBrother You will not be able to stay home, brother. You will not be able to plug in, turn on and cop out. You will not be able to lose yourself on MPEGS and CANDY, Skip out for SCOTCH during LONG COMPILES, Because the revolution will not be televised. The revolution will not be televised. The revolution will not be brought to you by MICROSOFT In 4 parts without commercial interruptions. The revolution will not show you pictures of SOME EXECUTIVE blowing a bugle and leading a charge by IBM, BORLAND and ORACLE to eat hog maws confiscated from a SILICON VALLEY sanctuary. The revolution will not be televised. The revolution will not be brought to you by the BBC and will not star LINUS TORVALDS and ERIC RAYMOND or PENN and TELLER. The revolution will not give YOUR APP- BUZZWORD APPEAL. The revolution will not get rid of FEATURITIS. The revolution will not make YOUR PAYCHECK 5 FIGURES, because the revolution will not be televised, Brother. There will be no pictures of you and THE RUNREV CREW pushing that METACARD ENGINE down the block on the dead run, or trying to slide that METAL LOOK into a KILLER APP. CNET will not be able predict the winner at 8:32 or report from 29 districts OF STANDALONES. The revolution will not be televised. There will be no pictures of MONOPOLISTS shooting down HACKERS in the instant replay. There will be no pictures of MONOPOLISTS shooting down HACKERS in the instant replay. There will be no pictures of STEVE JOBS being run out of CUPERTINO on a rail with a brand new SCRIPTING LANGUAGE. There will be no slow motion or still life of RICHARD STALLMAN strolling through BOSTON in a Red, Black and Green liberation jumpsuit that he had been saving For just the proper occasion. JAVA, BASIC, and C# will no longer be so damned relevant, and USERS will not care if BILL finally gets down with STEVE on MICROSOFT RAVE NIGHT because RUNREV people will be in the street looking for a brighter day. The revolution will not be televised. There will be no highlights on the eleven o'clock news and no pictures of UBER COOL 19 YEAR OLD C.T.O.S and ESTHER DYSON blowing her nose. The KILLER APPS will not be written WITH C++, BASIC, JAVA, C#, PERL, OR FORTRAN. The revolution will not be televised. The revolution will not be right back after a message about a FEAR, UNCERTAINTY, OR DOUBT. You will not have to worry about a VIRUS IN YOUR EMAIL, MSDN SUBSCRIPTION, or the LATEST .COM BUZZWORD. The revolution will not go better with PROPRIETARY SOLUTIONS. The revolution will not fight the LICENSE that may cause LOCK-IN. The revolution will put you in the HACKER AND ARTIST's seat. The revolution will not be televised, will not be televised, will not be televised, will not be televised. The revolution will be no re-run brothers; The revolution will be live. end onEvangelizeRev -- -- Original Lyrics available at: -- Last 45 secs: -- From ambassador at fourthworld.com Tue Sep 30 01:24:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 30 01:24:01 2003 Subject: Distro Builder Message-ID: How do I save the settings in the Distribution Builder for a given stack file? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jeanne at runrev.com Tue Sep 30 01:48:03 2003 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Sep 30 01:48:03 2003 Subject: Distro Builder In-Reply-To: References: Message-ID: At 11:12 PM -0700 9/29/2003, Richard Gaskin wrote: >How do I save the settings in the Distribution Builder for a given stack >file? Choose Save Distribution As from the File menu. (To restore them, open the Distribution Builder and then choose Open Distribution.) -- 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 Tue Sep 30 02:04:01 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Sep 30 02:04:01 2003 Subject: Distro Builder In-Reply-To: Message-ID: > How do I save the settings in the Distribution Builder for a given stack > file? Do you mean individually? As in you have 5 stack files and you want to use 2 in another project but use the same settings??? You can't do that at the moment but I'd be interested to know how often you think such a feature would come in handy. Cheers Monte From xbury.cs at clearstream.com Tue Sep 30 02:24:01 2003 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue Sep 30 02:24:01 2003 Subject: Cursor: inverted colors Message-ID: Tamee, Im working on a tool to make cursors behave as they should but it is definitely not "built-in"... Transparencies work fine for imports but when you use these pictures as a cursor transparencies are definitely not imported correctly and all you get is an ugly picture with the wrong imagemask. There is also very little info in the help... Im testing a tool to make mask or alpha data work but after a few crashes I kind of left it for a rainy weekend day or a sleepless night... Can you use color pictures for cursors? Why isn't the transparency carried through? Should you use either alpha or mask data to make it work? Anyone's answer is welcome... If you want to help finish my cursor tool let me know... ---------------------=--------------------- Xavier Bury TNS NT LAN Server ext 6465 talbrech at student.umass.edu Sent by: use-revolution-admin at lists.runrev.com 29/09/03 21:29 Please respond to use-revolution To: use-revolution at lists.runrev.com cc: ^ Subject: Cursor: inverted colors I am just getting into Rev programming and have a question about creating your own cursor. I have created a cursor (grabbing hand) by modifying a metacard icon with the drawing tools within Revolution. The icon looks great, but when I go to use it (command-click within a map field) it shows up at half the original size, AND its colors are inverted (white outline with a black hand instead of normal). I have read the previous suggestions in the listserve archives about this problem, but they do not seem to apply in this case because I created the icon within the program, with the program's drawing tools. Any suggestions? Thanks - Tamee Albrecht UMass Amherst, Geosciences _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From graham.samuel at wanadoo.fr Tue Sep 30 04:36:00 2003 From: graham.samuel at wanadoo.fr (Graham) Date: Tue Sep 30 04:36:00 2003 Subject: Does SharedText work? Message-ID: <5.2.1.1.0.20030930001451.00c4c030@pop.wanadoo.fr> On Sun, 28 Sep 2003 23:53:09 -0700, Dan Shafer wrote: >Graham asked: > > > I have just such a field in a group and I suppose I've set its > > SharedText > > to true by checking the 'share text' box in the Property Inspector for > > the > > field (while editing the group); but I find that if I alter that > > field's > > text on one card (again while editing the group) only the card I > > happen to > > be showing is affected - the others keep the text they had before. > > >Just a possibility, but something I know I've done wrong more than >once. Are you making sure that after you change the text, you tab or >click out of that field before going to the next card to check the >update? Thanks for thinking of this Don - the explanation was even more painfully simple: I had misunderstood how the whole thing (shared text and 'backgrounds') works in RunRev. The fact is that if you create a stack with one card and put a group on it with a field within the group whose SharedText property is set to true, then when you create another card in that stack, the exact same group (with the same ID) appears on the new card. A field within this group is the one whose text gets shared. What I had done, OTOH, was to create a stack with several cards in it, and **later** I created a group on the first card. Then I copied and pasted this group to the other cards in the stack. This turns out to be entirely different from the above example - each pasted group has its own ID and is unrelated to its brothers apart from having the same name. I should have **placed** the group to get the effect I wanted. I have to admit this is all in the docs but I never had to understand it before, so I just made a wrong assumption. Doh. Graham --------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From bornstein at designeq.com Tue Sep 30 08:02:00 2003 From: bornstein at designeq.com (Howard Bornstein) Date: Tue Sep 30 08:02:00 2003 Subject: transparent graphic with border visible, windows In-Reply-To: <7B554E7C-F292-11D7-901A-003065430226@internettrainer.com> Message-ID: On Monday, September 29, 2003, at 11:34 AM, Wolfgang M. Bereuter wrote: > This works perfectly on the MAc a blank area on a blank ground you can > see nothing but on windows (builds) you see a ugly grey rectangle. Make sure that the ShowFocusBorder is set to false. I've found that on Windows, this shows up as a black or gray rectangle. Unfortunately, you don't see this with any of the Look and Feel options. Regards, Howard Bornstein ---------------- D E S I G N E Q www.designeq.com From jrvalent at wisc.edu Tue Sep 30 09:24:01 2003 From: jrvalent at wisc.edu (rand valentine) Date: Tue Sep 30 09:24:01 2003 Subject: opaque fields not scrolling correctly Message-ID: rand valentine wrote: > I am using mac os x.2.6, and have a problem with opaque fields when i > scroll them. if i scroll a field back to the top, there are seeming fine > horizontal white lines in the field's contents that render the contents > unreadable until i click in the field or otherwise manipulate it. if i turn > the field's "opaque" setting off, the field doesn't have this problem. > But I don't want all of my fields transparent. Is there some field setting > that corrects this? I checked the archive but could not find comment on > this, it must be a common complaint. Thanks. klaus major wrote in response: > this is a bug in the 2.1 engine and already reported. > Hopefully we might see an update in the near future ;-) yesterday i discovered that if i turn off the "three dimensional" property for the (opaque) field, then it works just fine. it's just not as pretty. rand From rcozens at pon.net Tue Sep 30 09:43:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 30 09:43:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: References: Message-ID: >What if externals were simplified to be as easy to use as native calls? Richard, et al: I guess I would find it difficult to complain too loudly IF that were the case AND the externals provided noticeable performance enhancements. In general, my vision for libIPC, revBlowfish, SDB, & other output from the revolution_ipc group, is for a package that that installs seamlessly on all platforms with no differences except the runtime engine. Rob Cozens, Co Moderator revolution_ipc group From steve at messimercomputing.com Tue Sep 30 10:29:00 2003 From: steve at messimercomputing.com (Stephen Messimer) Date: Tue Sep 30 10:29:00 2003 Subject: (no subject) Message-ID: <3EB96FE5-F359-11D7-BAD3-000A27D75508@messimercomputing.com> Hi All, This is just to let you know that the Public Beta of PreceptorTools has been release and is available for download. :-) ===================== For Immediate Release PreceptorTools Public Beta Released The New Way to Develop Courseware - In Minutes! Edinburgh, Scotland, 25th September, 2003 Messimer Computing, Inc. and Runtime Revolution Ltd. today jointly announced the release of the PreceptorTools public beta. With the PreceptorTools courseware builder, teachers, trainers and students can develop training modules, instructional aids, and presentations for every major platform in minutes, without any programming! Beginners can get started right away, while experienced Revolution developers can use Revolution's rich feature set to customize PreceptorTools for their own needs. Steve Messimer, President of Messimer Computing, said, "With its easy-to use ready-made lessons, PreceptorTools is perfect for busy teachers. The prebuilt navigation aids, quizzes, and exams let teachers focus on delivering educational solutions, without worrying about how to code them." Messimer added, "I chose Revolution because of its unrivaled ease of use and power. PreceptorTools taps that power for teachers and courseware developers to use." Kevin Miller, CEO of Runtime Revolution, said, "We're delighted Messimer Computing chose Revolution to develop PreceptorTools. In combination with Revolution's user-centric approach to development, PreceptorTools makes it even easier for courseware developers to create great computer-based training solutions." To download the public beta version of PreceptorTools, visit . This public beta can be used for 30 days. PreceptorTools 1.0 will ship in fourth quarter 2003, and will be distributed in the Runtime Revolution online store. About Runtime Revolution Founded in 1997, Runtime Revolution focuses on bringing user-centric development tools to all major platforms. The company produces Revolution, Revolution Express, and Ten Thumbs Typing Tutor. Runtime Revolution, which recently completed its acquisition of MetaCard Corp., is based in Edinburgh, Scotland. For more information, please visit the company on the web at . About Messimer Computing Messimer Computing, Inc. is an applications development firm located in Escanaba, Michigan. It has provided systems information services, custom database design, and application development services to companies and individuals throughout the Midwest since 1986. ### Messimer Computing, Inc. 208 1st Ave South Escanaba, Michigan 49829 http://www.messimercomputing.com email: steve at messimercomputing.com telephone: 1-906-748-2647 Dr Rod McCall Runtime Revolution Ltd 91 Hanover Street Edinburgh EH2 1DJ email: rodmc at runrev.com telephone: +44 (0) 131 718 4333 fax:+44 (0) 131 718 4334 ===================== I am currently working to update my website with reference material regarding PreceptorTools. It will probably take another week or two to finish that up as there is a lot to say. Please take a moment and stop by the site. http://www.messimercomputing.com By the way, I would like to thank the members of this list for all the help and encouragement they have offered over the last year. You are all great! Kind regards. Steve Stephen R. Messimer, PA 208 1st Ave. South Escanaba, MI 49829 www.messimercomputing.com -- Build Computer-Based Training modules FAST with preceptorTools? -- Public Beta available Now! -- Macintosh G-4 OSX 10.2.6, OS 9.2.2, 512MB RAM, Rev 2.0.2 From rcozens at pon.net Tue Sep 30 10:49:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 30 10:49:01 2003 Subject: PreceptorTools In-Reply-To: <3EB96FE5-F359-11D7-BAD3-000A27D75508@messimercomputing.com> References: <3EB96FE5-F359-11D7-BAD3-000A27D75508@messimercomputing.com> Message-ID: Congratulations, Steve! May PreceptorTools become part of a core of flagship applications demonstrating the power and capabilities of Runtime Revolution. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From psahores at easynet.fr Tue Sep 30 10:54:01 2003 From: psahores at easynet.fr (Pierre Sahores) Date: Tue Sep 30 10:54:01 2003 Subject: [Fwd: PreceptorTools Public Beta Released Message-ID: <1064936554.2655.22.camel@www.kmax.ici> Hi Steve, The subject header of your announcement was missing. I'm going to test PreceptorTools right now ;-) -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours GSM: +33 6 03 95 77 70 Pro: +33 1 41 60 52 68 Dom: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 Inspection acad?mique de Seine-Saint-Denis Applications et SGBD ACID SQL (WEB et PGI) Penser et produire "delta de rentabilit?" -------------- next part -------------- An embedded message was scrubbed... From: Stephen Messimer Subject: (no subject) Date: Tue, 30 Sep 2003 11:17:46 -0400 Size: 6254 URL: From kray at sonsothunder.com Tue Sep 30 11:11:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 30 11:11:01 2003 Subject: PreceptorTools In-Reply-To: Message-ID: <00f601c3876b$b8418d20$6601a8c0@LightningFlash> Same here! Congrats, Steve! 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 Cozens > Sent: Tuesday, September 30, 2003 10:35 AM > To: use-revolution at lists.runrev.com > Subject: Re: PreceptorTools > > > Congratulations, Steve! > > May PreceptorTools become part of a core of flagship applications > demonstrating the power and capabilities of Runtime Revolution. > -- > > Rob Cozens > CCW, Serendipity Software Company http://www.oenolog.net/who.htm > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From dean.snyder at jhu.edu Tue Sep 30 11:19:01 2003 From: dean.snyder at jhu.edu (Dean Snyder) Date: Tue Sep 30 11:19:01 2003 Subject: Unicode and Chunks In-Reply-To: References: Message-ID: <20030930160813.27811@smtp.jhu.edu> Trevor DeVore wrote at 9:05 PM on Monday, September 29, 2003: >I don't know how you are getting the data you are using but I have >created fields with tabs & unicode that display properly in tables. >Doing something like: > >put uniEncode (tNewMovieName & tab & pMoviePath), "UTF16") into tNewLine >set unicodeText of field "Myfield" to tNewLine > >works in most cases. You would have to change the encoding depending >on the language. I'm using a Unicode font that has 912 characters in a contiguous block of Unicode code points. Any single byte of any 2 byte Unicode code point in that block that equals "09" triggers tabbing in Revolution table fields. (The tab character is "09" in ASCII and "0009" in 2 byte Unicode). Respectfully, Dean A. Snyder Scholarly Technology Specialist Library Digital Programs, Sheridan Libraries Garrett Room, MSE Library, 3400 N. Charles St. Johns Hopkins University Baltimore, Maryland, USA 21218 office: 410 516-6850 mobile: 410 245-7168 fax: 410-516-6229 Manager, Digital Hammurabi Project: www.jhu.edu/digitalhammurabi From ambassador at fourthworld.com Tue Sep 30 11:32:00 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 30 11:32:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: Rob Cozens wrote: >> What if externals were simplified to be as easy to use as native calls? > > Richard, et al: > > I guess I would find it difficult to complain too loudly IF that were > the case AND the externals provided noticeable performance > enhancements. > > In general, my vision for libIPC, revBlowfish, SDB, & other output > from the revolution_ipc group, is for a package that that installs > seamlessly on all platforms with no differences except the runtime > engine. libIPC and SDB are moving along well and appear ideal as Transcript libraries. My only concern is for the performance, usability, and distribution limitations of revBlowfish. Mark has done a truly amazing job and deserves many kudos and at least a six-pack of his favorite beverage in recognition of what he's accomplished. But for Blowfish to become a practical option for general use it would require revisions; like Mark pointed out, its currently more an example than a product. I'd sure like to see truly strong encryption as a pair of functions available for common use. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From rpresender at earthlink.net Tue Sep 30 12:37:00 2003 From: rpresender at earthlink.net (Robert Presender) Date: Tue Sep 30 12:37:00 2003 Subject: Window's Icon Message-ID: <13660B16-F36B-11D7-B0AE-000393A19046@earthlink.net> Hi, I created a window's icon, for my standalone, a long time ago with Rev 1.1.1 without a problem. I am now trying to upgrade my application using Mac 10.2.6 and Windows ME but have not been able to include my icon for windows. I have used Iconographer and QTam (followed Chipp Walters' tutorial). I get a 766 byte .ico file but the Rev 2.1 builder alerts me to the fact that I need a 744 byte file. The alert is the same if I use v1.1.1 or 2.0.3. Hope someone can help me out. Thanks. I also did a list search without finding any help. Regards ... Bob From alex at mindlube.com Tue Sep 30 12:54:00 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 30 12:54:00 2003 Subject: Window's Icon In-Reply-To: <13660B16-F36B-11D7-B0AE-000393A19046@earthlink.net> Message-ID: <7996F4E4-F36D-11D7-9DE4-000393529642@mindlube.com> On Tuesday, September 30, 2003, at 11:25 AM, Robert Presender wrote: > Hi, > > I created a window's icon, for my standalone, a long time ago with Rev > 1.1.1 without a problem. I am now trying to upgrade my application > using Mac 10.2.6 and Windows ME but have not been able to include my > icon for windows. I have used Iconographer and QTam (followed Chipp > Walters' tutorial). > I get a 766 byte .ico file but the Rev 2.1 builder alerts me to the > fact that I need a 744 byte file. The alert is the same if I use > v1.1.1 or 2.0.3. > > Hope someone can help me out. Thanks. I also did a list search > without finding any help. Using Photoshop + QTam, I got a 766 byte .ico file that works with the Rev 2.1 builder. Donnow why it's insisting on 744 bytes for you. Sorry- no ideas. If you want me to mail you this icon for testing let me know. 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 Tue Sep 30 13:00:00 2003 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Sep 30 13:00:00 2003 Subject: Preceptor Tools In-Reply-To: <3EB96FE5-F359-11D7-BAD3-000A27D75508@messimercomputing.com> Message-ID: <20030930174904.78947.qmail@web11903.mail.yahoo.com> --- Stephen Messimer wrote: > Hi All, > > This is just to let you know that the Public Beta of > PreceptorTools has > been release and is available for download. :-) > Congratulations, Steve ; may the number of great add-ons for Revolution grow for the benefit of all :-) Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From pixelbird at interisland.net Tue Sep 30 13:03:01 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 30 13:03:01 2003 Subject: PreceptorTools In-Reply-To: <200309301520.LAA07287@www.runrev.com> Message-ID: Hello Steve, > Date: Tue, 30 Sep 2003 11:17:46 -0400 > From: Stephen Messimer > To: use-revolution at lists.runrev.com > Subject: (no subject) > Reply-To: use-revolution at lists.runrev.com > > Hi All, > > This is just to let you know that the Public Beta of PreceptorTools has > been release and is available for download. :-) > ===================== > For Immediate Release > > PreceptorTools Public Beta Released > The New Way to Develop Courseware - In Minutes! ---------- Congratulations for a much needed tool. I will spread the word. Ken N. From kray at sonsothunder.com Tue Sep 30 13:12:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 30 13:12:01 2003 Subject: Window's Icon In-Reply-To: <13660B16-F36B-11D7-B0AE-000393A19046@earthlink.net> Message-ID: <011a01c3877c$bf2010b0$6601a8c0@LightningFlash> I don't know why it's asking you for 744 instead of 766... but I did put in a feature request in BugZilla for "greater-than-16-color-icons" (Bug #730), and put a couple of votes on 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 > Robert Presender > Sent: Tuesday, September 30, 2003 12:25 PM > To: use-revolution at lists.runrev.com > Subject: Window's Icon > > > Hi, > > I created a window's icon, for my standalone, a long time ago > with Rev > 1.1.1 without a problem. I am now trying to upgrade my application > using Mac 10.2.6 and Windows ME but have not been able to include my > icon for windows. I have used Iconographer and QTam (followed Chipp > Walters' tutorial). > I get a 766 byte .ico file but the Rev 2.1 builder alerts me to the > fact that I need a 744 byte file. The alert is the same if I use > v1.1.1 or 2.0.3. > > Hope someone can help me out. Thanks. I also did a list search > without finding any help. > > Regards ... Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-> revolution > From pixelbird at interisland.net Tue Sep 30 13:14:00 2003 From: pixelbird at interisland.net (Ken Norris) Date: Tue Sep 30 13:14:00 2003 Subject: Saving Preferences In-Reply-To: <200309301520.LAA07287@www.runrev.com> Message-ID: Howdy, What are you favorite ways of saving Preferences? examples: external files, substacks, reading into CustomProps, hidden fields, etc. HTH, Ken N. From chipp at chipp.com Tue Sep 30 13:20:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Sep 30 13:20:01 2003 Subject: Linux & application metadata In-Reply-To: Message-ID: Hey guys, Lindows uses KDE which handles the MIME types. I'll do some research and get back to you. I'm thinking when the app first starts, it can write to a MIME file stored somewhere on the hard disk, but this is just a guess. I'll let you know more about it when I get there. best, Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > Goulding > Sent: Monday, September 29, 2003 10:57 PM > To: use-revolution at lists.runrev.com > Subject: RE: Linux & application metadata > > > > > > I had a feeling it has something to do with MIME types. Ouch... > > just found > > > this: http://www.gnome.org/learn/admin-guide/2.2/mimetypes-9.html > > > > > > But wait! ... > > http://www.freedesktop.org/standards/shared-mime-info-spec/ > > > looks better. Now where do these .desktop files go? > > > > > > Now I see why I've never released any of my apps on Linux. > > > > There's plenty of info on how to manually enter MIME info, but I'll be > > darned if I'm going to ask my end-users to do something that silly. > > > > Worse, it appears each of the window managers has a different scheme for > > doing this, and I've seen no indication that it's occured to any > > of them to > > standardize. :( > > The freedesktop.org site seems to be working towards that. I was wondering > if this stuff was included in any of the package systems? > > > > I hope I'm wrong. > > > > I have some things to deploy to Linux and just finding this > basic info has > > eaten more time than something this trivial deserves. Once I > > find the magic > > recipe for file associations, icon assignments, and putting an > > alias in the > > Start menu, I'll post a summary of instructions at my Rev page. > > Sounds great. Maybe we should put together a script library for all this > stuff when we work it out? I'll certaily let youknow if I find anything. > > Maybe Chipp can get his mate at Lindows to ask one of the developers > there??? > > Cheers > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at mindlube.com Tue Sep 30 13:25:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 30 13:25:01 2003 Subject: Saving Preferences In-Reply-To: Message-ID: On Tuesday, September 30, 2003, at 12:02 PM, Ken Norris wrote: > Howdy, > > What are you favorite ways of saving Preferences? > > examples: > > external files, substacks, reading into CustomProps, hidden fields, > etc. Definitely a data stack with custom properties. Here is a function, not really tested, that decides good place to save preferences x-platform -- -- prefsFolder() -- function prefsFolder local tAppDataF, tPrefsF, tAppPrefsF get the filename of stack the mainStack of stack kSelf set the itemDelimiter to "/" get item 1 to -2 of it put it into tStackF if the platform = "Win32" then -- for Windows 2000/XP put specialFolderPath(kCSIDL_APPDATA) into tAppDataF if tAppDataF = empty then -- maybe it's Win 95/98/ME? -- use the the mainstack folder return tStackF end if -- have user's application data folder (on 2000/XP) -- e.g. c:\documents and settings\alex\application data -- make sure our subfolder exists there put format("%s/%s", tAppDataF, "Mindlube") into tAppPrefsF -- else if the platform = "MacOS" then put specialFolderPath("Preferences") into tPrefsF put format("%s/%s", \ tPrefsF, \ "Mindlube") into tAppPrefsF else -- some Unix variant put format("%s/.%s", $HOME, "Mindlube") into tAppPrefsF end if -- does it exist if there is not a folder tAppPrefsF then create folder tAppPrefsF if the result <> empty then throw "failed to create prefs folder:" && the result && tAppPrefsF end if end if if not canWriteFileTo(tAppPrefsF) then throw "preferences folder is not writable:" && tAppPrefsF end if return tAppPrefsF end prefsFolder Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From rcozens at pon.net Tue Sep 30 13:46:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 30 13:46:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: References: Message-ID: Richard, et al: >... for Blowfish to become a practical option >for general use it would require revisions; like Mark pointed out, its >currently more an example than a product. As are libIPC, SDB, and possibly even Dar's contributions to the revolution_ipc stack library; but given the group is less than a year old and spent at least the first three months discussing how to organize & license its output, I think we have established our potential to take the foundations we have constructed and mold them into high-quality developers' tools. And let me emphasize "tools". Correct me if I misspeak, Jan: The goal of the revolution_ipc group is to provide tools for Revolution developers, NOT products. >I'd sure like to see truly >strong encryption as a pair of functions available for common use. That is a kind of tool we seek to create. Whether we create the functions as Transcript handlers in a library or externals is where your viewpoint may differ from mine. Mark has contributed Rev_Blowfish to the revolution_ipc group's stack library as a starting point for incorporating support for Blowfish encryption/decryption into the collection of IPC commands that will be released (most likely) in one library stack, Jan's libIPC. Anyone who would like to help turn our examples into produ... oops!, make that "tools" :{`), is welcome to join our group. Rob Cozens, Co Moderator revolution_ipc group From rcozens at pon.net Tue Sep 30 13:49:01 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 30 13:49:01 2003 Subject: Saving Preferences In-Reply-To: References: Message-ID: >What are you favorite ways of saving Preferences? Hi Ken, 1. Dialog subStacks of main library stack 2. Stack properties 3. Records in an external db -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From dsc at swcp.com Tue Sep 30 13:57:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 30 13:57:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: <5556D6B8-F376-11D7-9CDC-000A9567A3E6@swcp.com> On Tuesday, September 30, 2003, at 12:29 PM, Rob Cozens wrote: > Anyone who would like to help turn our examples into produ... oops!, > make that "tools" :{`), is welcome to join our group. One might use "product" in the sense of that which is produced. Though that produced by the group may be broad, the initial outcome that is key and primary will be freely usable (in some sense) components. Dar Scott From dsc at swcp.com Tue Sep 30 14:04:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 30 14:04:00 2003 Subject: snapshot on XP makes icons wink out In-Reply-To: <6B857E70-F2F5-11D7-8040-000A9567A3E6@swcp.com> Message-ID: <4685D36C-F377-11D7-9CDC-000A9567A3E6@swcp.com> On Monday, September 29, 2003, at 09:23 PM, Dar Scott wrote: > On Windows XP, import snapshot or export snapshot causes the icons on > the primary monitor to wink out. Anybody else seeing this on Windows? Try this in the message box: export snapshot of rect "0,0,100,100" to x as PNG Or something like that. Dar Scott From kray at sonsothunder.com Tue Sep 30 14:34:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 30 14:34:00 2003 Subject: Saving Preferences In-Reply-To: Message-ID: <012901c38788$1c7e3100$6601a8c0@LightningFlash> > What are you favorite ways of saving Preferences? Read in from an external file on startup; if the file doesn't exist, default prefs are applied inside the program an a new prefs file with the defaults is written out to disk. This way, if someone wants to reset their prefs to the defaults, all they need to do is throw away the prefs file. Just my $0.02, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Sep 30 14:36:02 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 30 14:36:02 2003 Subject: snapshot on XP makes icons wink out In-Reply-To: <4685D36C-F377-11D7-9CDC-000A9567A3E6@swcp.com> Message-ID: <012a01c38788$6985bc20$6601a8c0@LightningFlash> > Try this in the message box: > export snapshot of rect "0,0,100,100" to x as PNG Works here for me on WinXP... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rcozens at pon.net Tue Sep 30 14:38:00 2003 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 30 14:38:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: <5556D6B8-F376-11D7-9CDC-000A9567A3E6@swcp.com> References: <5556D6B8-F376-11D7-9CDC-000A9567A3E6@swcp.com> Message-ID: >One might use "product" in the sense of that which is produced Ah Dar, I knew someone would challenge that. :{`) I considered qualifying the remark with an analogy; but I believe there is a demonstrable difference between the concept of two handlers in a library and an encryption "product"...along the same lines as the difference between the collection of Rev socket commands and an IPC "product." -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.net/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From ambassador at fourthworld.com Tue Sep 30 15:18:01 2003 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 30 15:18:01 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: Rob Cozens wrote: > I considered qualifying the remark with an analogy; but I believe > there is a demonstrable difference between the concept of two > handlers in a library and an encryption "product"...along the same > lines as the difference between the collection of Rev socket commands > and an IPC "product." When I used "product" in my post I did so only to differentiate between a proof-of-concept and a finished usable work. Anything that requires consultation for installation and use will not be as widely used as a library like libURL, documented and ready to go. It's like Steve McConnel's summary of why a product takes an order of magnitude more time to make than a tool: "With a tool, it only needs to be possible to use it correctly. But with a product, it should be impossible to use it incorrectly." Side note in praise of libURL: libURL is one of the most beautiful, robust, flexible libraries I've ever even dreamed of. I've been using parts of it I've never used before for an article I'm writing, and I've been pleasantly surprised to find so much in it. FTP downloads -- even with callbacks updating a progress bar -- perform on par with Interarchy. Who would have thought we'd see performamce like that in a 4GL? In more than a year of shipping WebMerge with FTP I've only had two support issues related to that -- and both were in my code; libURL was doing its job perfectly. Hats off to everyone who contributed to libURL, esp. Dave Cragg for the great options added in recent versions. -- 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 Tue Sep 30 15:49:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 30 15:49:00 2003 Subject: snapshot on XP makes icons wink out In-Reply-To: <012a01c38788$6985bc20$6601a8c0@LightningFlash> Message-ID: On Tuesday, September 30, 2003, at 01:23 PM, Ken Ray wrote: >> Try this in the message box: >> export snapshot of rect "0,0,100,100" to x as PNG > > Works here for me on WinXP... Maybe it's my video cards; they are GeForce2 MX or something like that (based on driver info). Or something weird about using two monitors. Well, that's both good news and bad news. Anybody else? This is primarily visible with desktop icons or the start menu when the mouse button is down. Dar Scott From scott at tactilemedia.com Tue Sep 30 15:56:00 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Sep 30 15:56:00 2003 Subject: [ANN] For Sega Game Enthusiasts In-Reply-To: <3EB96FE5-F359-11D7-BAD3-000A27D75508@messimercomputing.com> Message-ID: Tactile Media Announces GeniSearch Are you a veteran Sega Genesis or MegaDrive player? Still have an old 16 bit cartridge system lying around? Then you might want to take a look at GeniSearch. Following up on a recent post regarding specialized Web browsers and our MacCentral news reader, we created GeniSearch: a Genesis game search browser that allows you to view descriptions, package art, screenshots and reviews of virtually every Genesis game ever made, and then hunt for selected games on eBay, all from a single interface. Using custom HTML parsing, GeniSearch acts as a conduit between GenesisCollective.com (an online repository for all things Genesis), and eBay auctions. You can also store favorite titles for later reference. Type the following in your message box: go stack url "http://www.tactilemedia.com/test/demo/genisearch.rev" Even if you're not a console gamer, you might want to try GeniSearch just to see the potential benefits of a specialized Web browser: more immediate access to the information you want without the clutter of full blown Web pages. (BTW, please keep in mind there are roughly 1,300 known Genesis games and not all of them are on eBay.) If you run into any problems, please let us know. Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Tue Sep 30 16:02:35 2003 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Sep 30 16:02:35 2003 Subject: [ANN] For Sega Game Enthusiasts In-Reply-To: Message-ID: > you might want to take a look at GeniSearch. (BTW, Mac & Windows only.) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Tue Sep 30 16:40:00 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 30 16:40:00 2003 Subject: [ANN] For Sega Game Enthusiasts In-Reply-To: Message-ID: <014601c38799$ae1c4460$6601a8c0@LightningFlash> Way cool, Scott! Love those specialized web browsers... 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 > Scott Rossi > Sent: Tuesday, September 30, 2003 3:45 PM > To: use-revolution at lists.runrev.com > Subject: [ANN] For Sega Game Enthusiasts > > > Tactile Media Announces GeniSearch > > Are you a veteran Sega Genesis or MegaDrive player? Still > have an old 16 bit cartridge system lying around? Then you > might want to take a look at GeniSearch. > > Following up on a recent post regarding specialized Web > browsers and our MacCentral news reader, we created > GeniSearch: a Genesis game search browser that allows you to > view descriptions, package art, screenshots and reviews of > virtually every Genesis game ever made, and then hunt for > selected games on eBay, all from a single interface. Using > custom HTML parsing, GeniSearch acts as a conduit between > GenesisCollective.com (an online repository for all things > Genesis), and eBay auctions. You can also store favorite > titles for later reference. > > Type the following in your message box: > > go stack url "http://www.tactilemedia.com/test/demo/genisearch.rev" > > Even if you're not a console gamer, you might want to try > GeniSearch just to see the potential benefits of a > specialized Web browser: more immediate access to the > information you want without the clutter of full blown Web pages. > > (BTW, please keep in mind there are roughly 1,300 known > Genesis games and not all of them are on eBay.) > > If you run into any problems, please let us know. > > Best 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 alex at mindlube.com Tue Sep 30 16:47:00 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 30 16:47:00 2003 Subject: revGoURL questions Message-ID: Why does A work, but not B? -- method A revGoURL "file:///" & the defaultFolder & "/launchThisDoc.pdf" -- method B revGoURL "file:launchThisDoc.pdf" I scoured the archives for the best way to launch a PDF file in Windows, and I guess I like method A the best. It's the method I have found that does all of - uses default PDF viewer program - non-blocking - not dependent on outsmarting the Windows shell - not dependent on registry lookups or anything else to go wrong. So is method A as bulletproof as I think? Any potential path problems between the defaultFolder and revGoURL? Also, what is the reason for the "///" in method A? I don't know what that represents in a URI. Thanks, Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From livfoss at blueyonder.co.uk Tue Sep 30 16:49:01 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Sep 30 16:49:01 2003 Subject: Saving Preferences Message-ID: On Tue, 30 Sep 2003 14:21:48 -0500, "Ken Ray" wrote: > >> What are you favorite ways of saving Preferences? > >Read in from an external file on startup; if the file doesn't exist, >default prefs are applied inside the program an a new prefs file with >the defaults is written out to disk. This way, if someone wants to reset >their prefs to the defaults, all they need to do is throw away the prefs >file. > I agree - on the Mac, there are specific places for Preferences files, and on Windows we have Application Data - although I am not sure exactly if/when permissions get to be a problem. The kind of prefs I'm interested in usually amount to a few flags which can easily be stored in a text file - of course if prefs are a lot more extensive then some other kind of data structure may be needed. My additional 2 eurocents Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From livfoss at blueyonder.co.uk Tue Sep 30 16:58:00 2003 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Tue Sep 30 16:58:00 2003 Subject: Distribution Builder strangeness Message-ID: I have been developing (using RR2.1) on a Windows XP machine, and I need the queryRegistry function - to get this I found that I had to include 'all others' in the build. When I did the build on the Windows machine, the folder with the .exe file also contained two .dlls. One was videograbber, I think, and I can't remember what the other one was... anyway I binned these and it didn't make any difference to the app in this particular case. I am now developing on a Mac (OS9) but still building for Windows, and the .dlls are apparently not in the build - can anyone explain this? As I don't need them, it isn't bothering me at the moment, but I can imagine that this difference in builds could cause real trouble in the future. Graham PS is anyone apart from me annoyed by the fact that Command-Q doesn't quit the distribution builder on the Mac, despite the menu saying it does? It seems too trivial to bugzilla, but I hope it gets cleaned up one day. -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / UK & France From dsc at swcp.com Tue Sep 30 17:11:00 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 30 17:11:00 2003 Subject: revGoURL questions In-Reply-To: Message-ID: <62B02DC8-F391-11D7-9CDC-000A9567A3E6@swcp.com> On Tuesday, September 30, 2003, at 03:35 PM, Alex Rice wrote: > Also, what is the reason for the "///" in method A? I don't know what > that represents in a URI. The file URL file:///alex/myfile.pdf is the same as file://localhost/alex/myfile.pdf In both cases the host name (empty or "localhost") refers to a local file system. Dar Scott From gizmotron at earthlink.net Tue Sep 30 17:13:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue Sep 30 17:13:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: <8FB258DB-F391-11D7-A12F-000A95859272@earthlink.net> On Tuesday, September 30, 2003, at 11:29 AM, Rob Cozens wrote: > Mark has contributed Rev_Blowfish to the revolution_ipc group's stack > library as a starting point for incorporating support for Blowfish > encryption/decryption into the collection of IPC commands that will be > released (most likely) in one library stack, Jan's libIPC. Rob, et al: This is how I envision using blowfish with Jan's libIPC. The Blowfish algorithm would be separated from all key authentication and encryption level handlers and would run from two parts. Part one would be the creation of the P and S boxes based on an encryption key passed to it. Part two would be encryption or decryption of data using these P and S boxes. This process would leave the algorithm's bit level wide open to developers, and in my opinion it should. In other words the developer would use 64 bit in a parameter and that would automatically limit the bit level to 64 bit encryption. function createBoxes, encryptionKey, bitLevel return P1Array return S1Array return S2Array return S3Array return S4Array end createBoxes So: createBoxes("abcdefgh", 64) gives you a set of boxes for this key these boxes could be stored as a fixed set of boxes that encrypt/decrypt can use later if you wish this capability. ----------------------- function encryptData dataToEncrypt -- uses the P1, S1, S2, S3, S4 arrays somehow. -- This is done so that preset boxes can be used that -- matches a certain encryption key. return encryptedDataChunk end encryptData function decryptData dataToDecrypt -- uses the P1, S1, S2, S3, S4 arrays somehow. -- This is done so that preset boxes can be used that -- matches a certain encryption key. return decryptedDataChunk end decryptData So: put encryptData("your data here") into blabWhat So: put decryptData("~1*^ /hd io&%") into sayWhat ------------------------ for a higher level of libIPC security there should be this even though it will slow things down during the first half second of process. function encryptDataBest dataToEncrypt, encryptionKey, bitLevel -- P1, S1, S2, S3, S4 arrays are created here first return encryptedDataChunk end encryptDataBest function decryptDataBest dataToDecrypt, encryptionKey, bitLevel -- P1, S1, S2, S3, S4 arrays are created here first return decryptedDataChunk end decryptDataBest So: put encryptData("your data here", "abcdefgh", 64) into blabWhat So: put decryptData("~1*^ /hd io&%", "abcdefgh", 64) into sayWhat ----------------------- So the thing here is you would have unrestricted blowfish that requires the developer to set the bit level available from the libIPC. It should be written so that if the parameter for bit level is missing that the function should exit without working. This puts the responsibility on the shoulders of the developer using the libIPC. Now what is not worked out here is a function for setting a proper access key. revBlowfish uses 56 chars everytime for the key. 32 bit encryption = 4 chars repeated 14 times = 56 64 bit encryption = 8 chars repeated 7 times = 56 96 bit encryption = 12 chars repeated 4.66 times = 56 128 bit encryption = 16 chars repeated 3.5 times = 56 So the createBoxes("abcdefgh", 64) would take the first 8 chars of the passed key and repeat them 7 times to create the key that blowfish uses to create the boxes. Proper key creation or use should be handled by the developer I think. If a generic key manipulation feature were desired then a separate function could be created for the libIPC. This would be used for situations where twelve keys where needed and only ten where provided Mark From gizmotron at earthlink.net Tue Sep 30 17:27:00 2003 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue Sep 30 17:27:00 2003 Subject: Saving encrypted customProperties outside the app? In-Reply-To: Message-ID: On Tuesday, September 30, 2003, at 09:18 AM, Richard Gaskin wrote: > Mark has done a truly amazing job and deserves > many kudos and at least a six-pack of his favorite beverage in > recognition > of what he's accomplished. Thanks, I'll drink to that... From monte at sweattechnologies.com Tue Sep 30 17:33:00 2003 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Sep 30 17:33:00 2003 Subject: Distribution Builder strangeness In-Reply-To: Message-ID: > I have been developing (using RR2.1) on a Windows XP machine, and I > need the queryRegistry function - to get this I found that I had to > include 'all others' in the build. queryRegistry is built into the engine. You don't need to chech 'all others' to get it. > > When I did the build on the Windows machine, the folder with the .exe > file also contained two .dlls. One was videograbber, I think, and I > can't remember what the other one was... anyway I binned these and it > didn't make any difference to the app in this particular case. These are the 'all others' > > I am now developing on a Mac (OS9) but still building for Windows, > and the .dlls are apparently not in the build - can anyone explain > this? As I don't need them, it isn't bothering me at the moment, but > I can imagine that this difference in builds could cause real trouble > in the future. > > Graham > > PS is anyone apart from me annoyed by the fact that Command-Q doesn't > quit the distribution builder on the Mac, despite the menu saying it > does? It seems too trivial to bugzilla, but I hope it gets cleaned up > one day. Please bugilla it if it's a problem for you. Regards Monte From alex at mindlube.com Tue Sep 30 17:51:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 30 17:51:01 2003 Subject: revGoURL questions In-Reply-To: <62B02DC8-F391-11D7-9CDC-000A9567A3E6@swcp.com> Message-ID: On Tuesday, September 30, 2003, at 03:59 PM, Dar Scott wrote: > > On Tuesday, September 30, 2003, at 03:35 PM, Alex Rice wrote: > >> Also, what is the reason for the "///" in method A? I don't know what >> that represents in a URI. > > The file URL > file:///alex/myfile.pdf > is the same as > file://localhost/alex/myfile.pdf > > In both cases the host name (empty or "localhost") refers to a local > file system. OK that makes sense. But how do I pass a relative URL to revGoURL? -- method B revGoURL "file:launchThisDoc.pdf" Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From tuviah at runrev.com Tue Sep 30 18:26:00 2003 From: tuviah at runrev.com (Tuviah Snyder) Date: Tue Sep 30 18:26:00 2003 Subject: Unicode and Chunks References: <200309301520.LAA07308@www.runrev.com> Message-ID: <00a801c387a8$ac3de9a0$416db918@user> >I'm using a Unicode font that has 912 characters in a contiguous block of >Unicode code points. Any single byte of any 2 byte Unicode code point in >that block that equals "09" triggers tabbing in Revolution table fields. >(The tab character is "09" in ASCII and "0009" in 2 byte Unicode). Sounds like a bug. Please report it to bugzilla and/or send me a sample stack offlist. Looks like we have at least 3 Snyders now on the Rev list:-) Tuviah Snyder Runtime Revolution Limited - Software at the Speed of Thought From dsc at swcp.com Tue Sep 30 19:01:01 2003 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 30 19:01:01 2003 Subject: [ANN] Tiny Loupe plugin Message-ID: I have made a small magnification plugin available free here: http://www.swcp.com/dsc/revstacks.html It is a small window that shows a magnified view of the region around the mouse pointer. There are no controls; you work hands-free and simply glance over to the magnified view as you work. The region is limited to the primary monitor, though the window can go on any monitor. (I tested this on OS X, Mac OS 9.2 and Windows XP. It looked good in all cases except I had flicker on my XP which I suspect is driver problem.) This is my first plugin, so if you see I did anything silly, please let me know. Dar Scott **************************************** Dar Scott Consulting http://www.swcp.com/dsc/ Programming Services **************************************** From rpresender at earthlink.net Tue Sep 30 19:11:01 2003 From: rpresender at earthlink.net (Robert Presender) Date: Tue Sep 30 19:11:01 2003 Subject: Windows Icon Message-ID: <37B389E2-F3A2-11D7-8D46-000393A19046@earthlink.net> Hi, Thanks to Alex and Ken for your input. I don't know what I was doing wrong but I took a break and restarted the process again. I again used the PC and QTam and used Rev v 2.0.3 and 2.1RC1. and now all is OK. I tried to repeat what I thought I did before my break but couldn't repeat the fault. Ah, the great mysteries of computers and programmers. Thanks again. Regards ... Bob From kray at sonsothunder.com Tue Sep 30 21:07:01 2003 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 30 21:07:01 2003 Subject: Saving Preferences In-Reply-To: Message-ID: <017601c387bf$156b6950$6601a8c0@LightningFlash> > Here is a function, not really tested, that decides good > place to save > preferences x-platform (snip) > put format("%s/%s", tAppDataF, "Mindlube") into tAppPrefsF Just curioius, Alex, why did you choose to use format() instead of: put tAppDataF & "/Mindlube" into tAppPrefsF ?? As I said, just curious... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From alex at mindlube.com Tue Sep 30 22:32:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 30 22:32:01 2003 Subject: Saving Preferences In-Reply-To: <017601c387bf$156b6950$6601a8c0@LightningFlash> Message-ID: <3CE71259-F3BE-11D7-A49C-000393529642@mindlube.com> On Tuesday, September 30, 2003, at 07:55 PM, Ken Ray wrote: >> put format("%s/%s", tAppDataF, "Mindlube") into tAppPrefsF > > Just curioius, Alex, why did you choose to use format() instead of: > > put tAppDataF & "/Mindlube" into tAppPrefsF Just habit... After using C, Perl, and PHP I start start to think in terms of the usual feature which in this case is the sprintf() method of building strings. Just using "&" definitely makes more sense in transcript. Although with more than a handful of strings to concatenate then I would start to prefer the format() method because I can separate in my mind the slots vs. the contents to be filled in to the slots. Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco From chipp at chipp.com Tue Sep 30 23:54:01 2003 From: chipp at chipp.com (Chipp Walters) Date: Tue Sep 30 23:54:01 2003 Subject: snapshot on XP makes icons wink out In-Reply-To: <6B857E70-F2F5-11D7-8040-000A9567A3E6@swcp.com> Message-ID: Hi Dar, Yep, this is the existing behavior. The desktop is redrawn each time a snapshot is created. I've mentioned this before as well, and would like to see it fixed. On slower machines, some of the windows don't even finish redrawing by the time the snapshot is taken. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dar Scott > Sent: Monday, September 29, 2003 10:23 PM > To: use-revolution at lists.runrev.com > Subject: snapshot on XP makes icons wink out > > > I'm not sure whether this is an XP problem or a Revolution bug or > something silly that I'm doing. > > On Windows XP, import snapshot or export snapshot causes the icons on > the primary monitor to wink out. This flicker also shows up on other > icons and buttons and the start menu. > > I've looked around on my video adaptor settings and didn't see anything > that might apply. > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at mindlube.com Tue Sep 30 23:57:01 2003 From: alex at mindlube.com (Alex Rice) Date: Tue Sep 30 23:57:01 2003 Subject: Selecting text using REGEX In-Reply-To: <00b401c38623$705c7270$6601a8c0@LightningFlash> Message-ID: <1F6166ED-F3CA-11D7-A49C-000393529642@mindlube.com> On Sunday, September 28, 2003, at 06:48 PM, Ken Ray wrote: > > Interesting... my regEx version of Trim was this: > > function Trim what > local tText > get matchText(what,"(?s)\s*(\S.*\S)\s*",tText) > return tText > end Trim Thanks Ken this is a good one. People might be confused about the (?s) since it's not in the transcript docs- but it is in the PCRE docs. (?s) says the dot metacharacter matches any character, including newlines. So for example: put space & linefeed & "hello" & linefeed & tab & "world" & tab & space into t put "|" & trim(t) & "|" -- result is |hello world| Alex Rice | Mindlube Software | http://mindlube.com what a waste of thumbs that are opposable to make machines that are disposable -Ani DiFranco