From jacque at hyperactivesw.com Fri Apr 1 01:11:06 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Apr 2005 00:11:06 -0600 Subject: Title bar on the side In-Reply-To: <6bf05e2f1c49f5dc7f177732649ec2fc@veggio.com> References: <6bf05e2f1c49f5dc7f177732649ec2fc@veggio.com> Message-ID: <424CE5FA.7070103@hyperactivesw.com> On 3/31/05 8:50 PM, Varen Swaab wrote: > Hi > > I'm trying to create a small palette window that has a title bar on the > left side (rather than the top) and I can't figure out how. I didn't see > any mention of this anywhere in the instructions. Does anyone have info > on whether this is possible? It isn't built-in, but it would be pretty easy to fake, I think. Take a screen shot of a system window that has the drag bar you want, and use a graphics program to extract just the drag bar area. Import the image into a Rev stack and place it at the left edge of the stack. Then script the image with a mousedown handler that sets the location of the stack to the location of the mouse, adjusted to global coordinates. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Apr 1 02:17:26 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 31 Mar 2005 23:17:26 -0800 Subject: Title bar on the side In-Reply-To: <424CE5FA.7070103@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: >> I'm trying to create a small palette window that has a title bar on the >> left side (rather than the top) and I can't figure out how. I didn't see >> any mention of this anywhere in the instructions. Does anyone have info >> on whether this is possible? > > It isn't built-in, but it would be pretty easy to fake, I think. Take a > screen shot of a system window that has the drag bar you want, and use a > graphics program to extract just the drag bar area. Import the image > into a Rev stack and place it at the left edge of the stack. Then script > the image with a mousedown handler that sets the location of the stack > to the location of the mouse, adjusted to global coordinates. You know, I could swear I did the above at some point, and going back through the archives, I found a reference to setting the decorations of a stack to a numerical value. Doing this in OSX works but there doesn't appear to be a palette style with vertical drag strip, so this must have worked only on pre-OSX systems. Jacque's right, though, you could create your own drag strip image to achieve the effect. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From cogyfarm at peoplepc.com Fri Apr 1 02:24:36 2005 From: cogyfarm at peoplepc.com (CogyFarm) Date: Fri, 01 Apr 2005 01:24:36 -0600 Subject: newbie database help Message-ID: <424CF734.4090704@peoplepc.com> I'm trying to create a database that has a form that is filled out from either a contained library of data or with new unknown data. The hardest part is I want the user to be able to see a larger ( higher resolution ) image of the car if they do some action (hover?) over the image that the library has. Also each car photo is preceded by the year then the identifier. The problem comes in when there is more then one photo available. 2004-001.jpg 2004-001a.jpg 2004-001b.jpg I need them to be able to "cycle" through each photo till they see the one they want and then associate that particular photo with the data in that record. I want this to be as automated as possible. Can anyone point me in the right general direction? I just dl'd revolution and Dreamcard last night. I have no idea what I'm doing yet or even which version I need. Troy From varen at veggio.com Fri Apr 1 02:26:16 2005 From: varen at veggio.com (Varen Swaab) Date: Thu, 31 Mar 2005 23:26:16 -0800 Subject: Title bar on the side In-Reply-To: References: Message-ID: I also thought I'd seen this before but I could be wrong. I **could** fake it like Jacque's suggestion but dealing with the look and feel on both Mac & Win systems would be a real pain and perhaps not very convincing. I'd really prefer to have a programmed solution. Thanks Var On Mar 31, 2005, at 11:17 PM, Scott Rossi wrote: > Recently, J. Landman Gay wrote: > >>> I'm trying to create a small palette window that has a title bar on >>> the >>> left side (rather than the top) and I can't figure out how. I didn't >>> see >>> any mention of this anywhere in the instructions. Does anyone have >>> info >>> on whether this is possible? >> >> It isn't built-in, but it would be pretty easy to fake, I think. Take >> a >> screen shot of a system window that has the drag bar you want, and >> use a >> graphics program to extract just the drag bar area. Import the image >> into a Rev stack and place it at the left edge of the stack. Then >> script >> the image with a mousedown handler that sets the location of the stack >> to the location of the mouse, adjusted to global coordinates. > > You know, I could swear I did the above at some point, and going back > through the archives, I found a reference to setting the decorations > of a > stack to a numerical value. Doing this in OSX works but there doesn't > appear to be a palette style with vertical drag strip, so this must > have > worked only on pre-OSX systems. > > Jacque's right, though, you could create your own drag strip image to > achieve the effect. > > 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 chris at carroll-davis.co.uk Fri Apr 1 03:18:58 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Fri, 1 Apr 2005 09:18:58 +0100 Subject: Speech in standalone - help! In-Reply-To: <1a8947e2a20bfeec529e3b100a467592@genesearch.com.au> References: <8791739ab7c4f00c7c797ccca0979b4c@charter.net> <317c96613e4e70c6f8e41b94b59b372f@carroll-davis.co.uk> <1a8947e2a20bfeec529e3b100a467592@genesearch.com.au> Message-ID: Sarah - thanks for this tip. I'll try this and let you know! Chris On 1 Apr 2005, at 04:58, Sarah Reichelt wrote: >> I need some advice on how to get speech working in a standalone app. >> I'm working on a (for me) big video script-writing utility that I >> want to feature a preview facility using text-to-speech. (OS X only) >> >> Now... speech works easily in development version running with Rev, >> but when I build a standalone, it fails. >> >> Here is a simple rev stack with one button and one field: >> www.chriscd.dsl.pipex.com/Speech_test.zip >> >> The development stack works fine. >> >> The OS X app doesn't work. I *did* select speech as an option in >> standalone maker, but no external resources seem to be copied over. >> I note that on the Windows side, "revspeech.dll" gets copied to >> destination. Should there not be some kind of OS X equivalent >> (presumably, "revspeech.bundle" ?) I tried manually copying this >> file to the application root, but still nothing. What am I doing >> wrong? >> > Some versions of Rev had a problem copying OS X externals to the > applications and then sometimes wouldn't even use them if you copied > them manually. > > You need to open the OS X application bundle after it is built - > right-click or control-click on the application and choose "Show > Package Contents". Burrow down through the folders: Contents -> MacOS > -> externals > I would guess that the externals folder is empty - copy the > revspeech.bundle manually to this folder and try it again. If this > still doesn't work, alter your "enableLibraries" handler to point to > the right place and see if that helps. > > Upgrading to the latest version of Rev will also solve this :-) > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre.rombauts at skynet.be Fri Apr 1 03:22:31 2005 From: andre.rombauts at skynet.be (=?iso-8859-1?Q?Andr=E9_Rombauts?=) Date: Fri, 1 Apr 2005 10:22:31 +0200 Subject: Transparent stacks/cards? Message-ID: <200504010822.j318MVXQ029752@outmx014.isp.belgacom.be> How do I make a stack transparent? A card? Is it possible to move a stack wtih controls set as empty? My aim is to design an application as a movable 'skin' on the desktop... Andr? From graham.samuel at wanadoo.fr Fri Apr 1 03:40:22 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Fri, 1 Apr 2005 10:40:22 +0200 Subject: Print Margin strangeness [was Re: ] Message-ID: <495564ba0b86f3d79b941d0745a2d839@wanadoo.fr> On Thu, 31 Mar 2005 15:32:48 -0600, Ken Ray wrote: >> I had written: >> Well, I did that - I was already using the printMargins settings (72 >> all round) to calculate where on the card to put the field that >> contains the print content, but at your suggestion at the last minute, >> just before the actual print statement, I set them to all 0s without >> going back and altering the position of the field. The result was (to >> me) extremely strange: the printing worked properly, in that each >> margin was now 1 inch (72 pixels). This also included the top and >> bottom margins. In reality my particular printer won't print on the >> whole paper surface, so margins of zero are meaningless. Thus I'm at a >> loss to understand why it worked. Eventually I'll try it on the PC and >> see if the thing behaves differently. >> >> Thanks very much for the advice - I just wish I understood why it >> worked. It seems to me pretty much like a bug in RR. > > I think it's because for some reason your printer driver was imposing > its > own margin of 1 inch that was then being *added to* by Rev, so it > became a 2 > inch (144 pixel!) margin. Now why your printer driver would do that I > don't > know... On Thu, 31 Mar 2005 16:43:52 -0600, "J. Landman Gay" wrote: > The printmargins always begin at the spot on the page where the printer > can start printing. If your printer imposes a 1" limitation on all > edges, then setting a printmargin of another inch will get you two > inches of white space. > > In other words, margin "0" is where your printer can lay down the > first ink. Wow! Thanks for all this, both of you - I appreciate it. Jacque, are you saying that the RunRev printMargins are not after all the distance from the physical edge of the paper to the point where the marking begins, but something else? This is certainly not what is implied by the RunRev documentation, and furthermore I have correctly used the printMargins to decide the width, height and position of the rectangular area in which printing can take place. For example, if the paper is 8.5 inches wide and the left and right margins are one inch, then the available width for printing is 6.5 inches wide, and the rectangle has to be left-right centred on the page. Same kind of calculation for the other axis, of course. All this one can work out from the margins, but then when it comes to actually telling the printer to print, you have to ignore all this and reset the margins to zero, or maybe some other value depending on the specific printer involved, which of course an application in RunRev can't know in advance (BTW, my Epson printer does not have standard margins of 1 inch, but a lot less, and they are not symmetrical, so it is not true to say that my printer 'imposes' a 1 inch limitation). Does this make sense, or is it a bug? It seems like a bug to me. And of course I have a long-standing gripe that one can't really interact with printer drivers in Rev, so the user can't set the margins in a sensible way - see bug number 1619, which although officially Unconfirmed (!) now has a fairly respectable 39 votes. I really think the RunRev team does need to pay more attention to printing. Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From scott at tactilemedia.com Fri Apr 1 03:50:02 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 Apr 2005 00:50:02 -0800 Subject: Transparent stacks/cards? In-Reply-To: <200504010822.j318MVXQ029752@outmx014.isp.belgacom.be> Message-ID: Recently, Andr? Rombauts wrote: > How do I make a stack transparent? A card? Is it possible to move a stack > wtih controls set as empty? > My aim is to design an application as a movable 'skin' on the desktop... There are a couple ways to do this, if I understand your question: 1) execute the following in your message box: go url "http://www.tactilemedia.com/download/camouflage.rev" 2) get Trevor DeVore's Window external: http://www.mangomultimedia.com/developer/revolution/window.html (The page reads Mac/Windows but the Windows version is not currently working.) Option 1 provides "fake" transparency but allows you to have 100% opaque controls on a seemingly transparent stack. Latency will be visible when dragging the stack on an older/slower machine. Option 2 provides real translucency for the entire window and its contents, so if you make your stack 50% transparent, your controls will also be 50% transparent. Then again, if you're asking about custom window shapes, see the windowShape property. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From graham.samuel at wanadoo.fr Fri Apr 1 03:46:01 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Fri, 1 Apr 2005 10:46:01 +0200 Subject: Printing examples? Message-ID: <2971095bafd12b2561566ebace421b4d@wanadoo.fr> On Fri, 1 Apr 2005 10:49:07 +1000, "Dwayne Rothe" wrote: > Hi Graham, > I think RunRev is definately limited in it's print functions > especially when > using win os. > I have been trying to find a way to have the default Windows print > preview > window appear from runrev. > Type res://C:\WINDOWS\System32\shdoclc.dll/preview.dlg into the > address bar > of your webbrowser to > see the BLANK example. If we could some how find a way to load our > projects > pages to it we would have > all the functions it offers like multiple page view, zoom-, zoom+, page > setup e.t.c > > For now I am using a clumsy but effective way of giving the user a > multiple > page preview(divides document into correct amount of pages for > printing as > per papersize). This is acheived using XMLNS routine and a small HTA > script. > Paste the code below into a text file and rename it print.hta copy it > to > your windows TEMP folder. [snip] Gosh - I could never have done this in 100 years, especially since I'm much more familiar with Macs than PCs (nevertheless my users are generally PC users). Your complete instructions have gone into my scrapbook and will be pressed into service. I'm glad you agree that RunRev needs to pay more attention to printing issues. Nobody has yet suggested a simple Transcript method (I mean one that works without non-Transcript code) of displaying the kind of print dialog you get in pretty well all published Windows apps. But the preview idea is certainly interesting. Thanks very much Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From graham.samuel at wanadoo.fr Fri Apr 1 03:52:41 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Fri, 1 Apr 2005 10:52:41 +0200 Subject: Best way to ask the user to wait? Message-ID: On Thu, 31 Mar 2005 12:10:06 -0800, Trevor DeVore wrote: > On Mar 31, 2005, at 1:14 AM, graham samuel wrote: >> I'd like to put up a kind of advisory note to the user saying >> something like >> >> "Please wait while we process your request" >> >> I don't want any reaction from the user, such as clicking on "OK" or >> "Cancel" - I just want to warn her/him that it may take some time to >> complete the next task. During this period, I have a nice animation >> for the person to look at, but I don't really want to add my note to >> the animated display. I suppose the usual thing is to put the cursor >> into 'hourglass' or 'pizza' mode (according to platform) and of course >> I can do this, but I just want to show my message first. >> >> What's the best way to implement this, do you think? > > Graham, > > Do you want to keep the user from clicking on other areas of your app > while this happens? For some tasks I have a "progress" stack that I > display as modal (but doesn't block current script execution). This > displays a progress bar (or animation) and keeps the user from clicking > on anything else until the process has completed. > > If this would work in your case you can do the following: > > 1) Create a stack. For this example I will name it "myProgress". > 2) Attach the script I've included below. > 3) To give a name to the progress stack: set the uTitle of stack > "myProgress" to "I'm doing something. Hold on." > 3) To show the stack: set the uShow of stack "myProgress" to true > 4) To hide the stack: set the uShow of stack "myProgress" to false > > In my script I have additional properties such as uProgress (updates a > progress bar) and uFeedback (updates text displayed to the user). This > script just has the basics included. > > Note that if you make a mistake during development and forget to close > the progress dialog you can hold down the command/control key and click > on the window to make it disappear (see the mousedown handler). [code part snipped] Thanks Trevor, that's what I need! I did already try to use a modal window and the whole thing seized up, so I was forced to learn how to get out of that (it's in the docs). I had not thought out the issue of whether I wanted the user to be cut out while progress was being made - the answer turns out to be so complex that I think I'll just stop the user until the wait is over just to simplify the logic. I must say I am being given a huge amount of excellent advice by members of the list just now. Great, isn't it? Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From dvk at dvkconsult.com.au Fri Apr 1 04:08:30 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri, 1 Apr 2005 19:08:30 +1000 Subject: Problem solving methods in software development In-Reply-To: <20050401090532.D2572930199@mail.runrev.com> References: <20050401090532.D2572930199@mail.runrev.com> Message-ID: On 01/04/2005, at 19:05, Alejandro Tejada wrote: > Hi Developers, > > Long time ago, surfing the net i found a forum, > where the administrator supervised the threads > and when a question was responded correctly or a > problem was solved, he (or she) closed the > message thread and added a message after the > thread that identified the problem solving > approach used to solve the problem or > respond the question... > > Did anyone remember which forums use this > approach? No, but while I can see its attraction I think it inappropriate for Rev or indeed for any other language of creative expression. Sure, we see the same question asked again (and again) but that is often helpful to newbies. More importantly, I see different answers touching on nuances of the original problem, or simply stylistically different ways of doing the same thing (and everyone has style preferences). So, when is a thread to be closed? regards David > > Thanks in advance. > > al From graham.samuel at wanadoo.fr Fri Apr 1 04:29:46 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Fri, 1 Apr 2005 11:29:46 +0200 Subject: Printing examples? Message-ID: Thanks to all who replied: I'm getting good advice on this. Chipp, thanks for your example of print with preview: I was doing something a bit like this, but your solution is better thought out, I gladly admit. On one point I don't quite concur. You wrote: > Call the PageSetup function (answer printer) and from this you get the > printPaperSize (tPageHeight and tPageWidth). You can use these to setup > your offscreen imaging stack. You also get the printMargins as well. > Use > these also to setup your offscreen print stack. Actually AFAICS the user can't reset the printMargins - they just stay stubbornly at 72 points all round (one inch) - at least this is what happens here on my OSX setup: in fact I can't display an OS-originated dialog which straightforwardly allows the user to reset the margins, it has to be done by a kind of trick. I think it might be easier on the PC - there the problem is different, in that I can't get the 'Print' dialog to appear at all. I just don't know how you can tell the PC to print more than one copy, for example. Still trying. Sarah wrote: >> 1. I arranged for the initialisation routine in my app to read the >> paper size and the margins and to make my stack the same size as the >> printPaperSize and my print area the same size as the page minus the >> margins. > Make the card the same size as the print area i.e. the printPaperSize > less the printMargins. > Have your printable objects fill the card so there is no excess space > left at the margins of the card. Ah! Light dawns! The RunRev card doesn't represent a page, as I had thought: it represents something that fills the printable area on the page, which can be completely different. I was using the wrong mental model. this means that the printMargins will not tell you where to put your printing on the card, although ironically they will tell you how wide the printable area is allowed to be. Sarah also wrote: > I don't know how Rev handles you setting the margins in Page Setup.. > but you can easily set them in your script: > set the printMargins to "50,50,50,50" Well, I want my user to be able to set the margins, as in other apps: in particular, I want the user to be able to select the largest available printable area on the page, which is certainly going to be greater than is implied by the default margins of 72,72,72,72, but will in most printers be more than 0,0,0,0 (true, there are some printers that do edge-to-edge printing, but this is unusual). So I would like to be able to detect what these limits are. Otherwise if my app, or my user, blindly sets the printMargins to some arbitrary value, some of the printing may be cut off - this of course depends on the particular printer being used, which in general the app can't know in advance. See Bug 1619. Thanks for all the advice Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From chris at carroll-davis.co.uk Fri Apr 1 05:57:32 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Fri, 1 Apr 2005 11:57:32 +0100 Subject: Speech in standalone - help! In-Reply-To: References: <8791739ab7c4f00c7c797ccca0979b4c@charter.net> <317c96613e4e70c6f8e41b94b59b372f@carroll-davis.co.uk> <1a8947e2a20bfeec529e3b100a467592@genesearch.com.au> Message-ID: <504542220025bef4b16bab1e953d4c02@carroll-davis.co.uk> Still doesn't work! Arghh. You were correct, the externals folder in the bundle was empty, but copying the revSpeech bundle there didn't solve it. Neither did altering "enableLibraries" path to point to it. I've just noticed this in Rev docs: >>> Important! When you install a new external by setting a stack's externals property, Revolution cannot use it until you either quit Revolution and then reopen the stack, or close the stack (after setting its destroyWindow property to true) and then reopen it. <<< I might be being really dense here, but how does this apply to standalone? If the standalone has only one stack, how can I close then reopen it? (Sorry, I'm new to this stuff!) Is there some kind of regime for installing/initializing externals that isn't obvious in the docs? Starting to get very frustrated with this! Chris p.s. I think I *am* on latest version of Rev. It says 2.5B1 in "About" box, but 2.6.2.77 with "Get info"... On 1 Apr 2005, at 09:18, Chris Carroll-Davis wrote: > Sarah - > > thanks for this tip. I'll try this and let you know! > > Chris > > > On 1 Apr 2005, at 04:58, Sarah Reichelt wrote: > >>> I need some advice on how to get speech working in a standalone app. >>> I'm working on a (for me) big video script-writing utility that I >>> want to feature a preview facility using text-to-speech. (OS X >>> only) >>> >>> Now... speech works easily in development version running with Rev, >>> but when I build a standalone, it fails. >>> >>> Here is a simple rev stack with one button and one field: >>> www.chriscd.dsl.pipex.com/Speech_test.zip >>> >>> The development stack works fine. >>> >>> The OS X app doesn't work. I *did* select speech as an option in >>> standalone maker, but no external resources seem to be copied over. >>> I note that on the Windows side, "revspeech.dll" gets copied to >>> destination. Should there not be some kind of OS X equivalent >>> (presumably, "revspeech.bundle" ?) I tried manually copying this >>> file to the application root, but still nothing. What am I doing >>> wrong? >>> >> Some versions of Rev had a problem copying OS X externals to the >> applications and then sometimes wouldn't even use them if you copied >> them manually. >> >> You need to open the OS X application bundle after it is built - >> right-click or control-click on the application and choose "Show >> Package Contents". Burrow down through the folders: Contents -> MacOS >> -> externals >> I would guess that the externals folder is empty - copy the >> revspeech.bundle manually to this folder and try it again. If this >> still doesn't work, alter your "enableLibraries" handler to point to >> the right place and see if that helps. >> >> Upgrading to the latest version of Rev will also solve this :-) >> >> Cheers, >> Sarah >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chris at carroll-davis.co.uk Fri Apr 1 08:03:44 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Fri, 1 Apr 2005 14:03:44 +0100 Subject: Speech in standalone - FIXED! In-Reply-To: <504542220025bef4b16bab1e953d4c02@carroll-davis.co.uk> References: <8791739ab7c4f00c7c797ccca0979b4c@charter.net> <317c96613e4e70c6f8e41b94b59b372f@carroll-davis.co.uk> <1a8947e2a20bfeec529e3b100a467592@genesearch.com.au> <504542220025bef4b16bab1e953d4c02@carroll-davis.co.uk> Message-ID: Phew! At last got it working. Something very very odd going on with file paths somewhere. It turned out to be part Revs fault - not copying revSpeech.bundle into externals folder in app bundle, and part my fault doing something odd with file path. Right, now for Windows... Thanks for your help on this! Chris On 1 Apr 2005, at 11:57, Chris Carroll-Davis wrote: > Still doesn't work! Arghh. You were correct, the externals folder in > the bundle was empty, but copying the revSpeech bundle there didn't > solve it. Neither did altering "enableLibraries" path to point to it. > > I've just noticed this in Rev docs: > >>> Important! When you install a new external by setting a stack's > externals property, Revolution cannot use it until you either quit > Revolution and then reopen the stack, or close the stack (after > setting its destroyWindow property to true) and then reopen it. <<< > > I might be being really dense here, but how does this apply to > standalone? If the standalone has only one stack, how can I close > then reopen it? (Sorry, I'm new to this stuff!) Is there some kind > of regime for installing/initializing externals that isn't obvious in > the docs? > > Starting to get very frustrated with this! > > > Chris > > p.s. I think I *am* on latest version of Rev. It says 2.5B1 in > "About" box, but 2.6.2.77 with "Get info"... > > > > > On 1 Apr 2005, at 09:18, Chris Carroll-Davis wrote: > >> Sarah - >> >> thanks for this tip. I'll try this and let you know! >> >> Chris >> >> >> On 1 Apr 2005, at 04:58, Sarah Reichelt wrote: >> >>>> I need some advice on how to get speech working in a standalone >>>> app. I'm working on a (for me) big video script-writing utility >>>> that I want to feature a preview facility using text-to-speech. >>>> (OS X only) >>>> >>>> Now... speech works easily in development version running with Rev, >>>> but when I build a standalone, it fails. >>>> >>>> Here is a simple rev stack with one button and one field: >>>> www.chriscd.dsl.pipex.com/Speech_test.zip >>>> >>>> The development stack works fine. >>>> >>>> The OS X app doesn't work. I *did* select speech as an option in >>>> standalone maker, but no external resources seem to be copied over. >>>> I note that on the Windows side, "revspeech.dll" gets copied to >>>> destination. Should there not be some kind of OS X equivalent >>>> (presumably, "revspeech.bundle" ?) I tried manually copying this >>>> file to the application root, but still nothing. What am I doing >>>> wrong? >>>> >>> Some versions of Rev had a problem copying OS X externals to the >>> applications and then sometimes wouldn't even use them if you copied >>> them manually. >>> >>> You need to open the OS X application bundle after it is built - >>> right-click or control-click on the application and choose "Show >>> Package Contents". Burrow down through the folders: Contents -> >>> MacOS -> externals >>> I would guess that the externals folder is empty - copy the >>> revspeech.bundle manually to this folder and try it again. If this >>> still doesn't work, alter your "enableLibraries" handler to point to >>> the right place and see if that helps. >>> >>> Upgrading to the latest version of Rev will also solve this :-) >>> >>> Cheers, >>> Sarah >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bill at bluewatermaritime.com Fri Apr 1 08:06:40 2005 From: bill at bluewatermaritime.com (Bill) Date: Fri, 01 Apr 2005 09:06:40 -0400 Subject: Printing tip -- open and close printing In-Reply-To: <2971095bafd12b2561566ebace421b4d@wanadoo.fr> Message-ID: I discovered something by accident when printing on my mac os x. The command "open printing" is quit powerful. I can do the command, then do some stuff like so: set the printmargins to 0,0,0,0 open printing with dialog print card "Form1" from 0,0 to 612,792 -- do stuff here print card "Form1303" from 0,0 to 612,792 --do other stuff here print card "Form 1304" from 0,0 to 612,792 -- then when you close printing it all spools and prints neatly. close printing I especially like it because now I can send multi-page faxes very easily. From 3mcgrath at adelphia.net Fri Apr 1 10:02:07 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Apr 2005 10:02:07 -0500 Subject: contains or is in Message-ID: <76044957b958b929d75fddbe96c81ee2@adelphia.net> Hello to the list, I have a question regarding contains versus is in. If I run the below script in an dragEnd handler it works with the 'is in' version. But when I swap to the contains version it skips the app part completely. The script is at the card level and the drag drops on a button. Any ideas why contains does not see the .exe or .app???? set the cMyAlias of the target to the dragData put the cMyAlias of the target into myAlias --if myAlias contains ".exe" or ".app" then if ".exe" is in myAlias or ".app" is in myAlias then set the cmyFolder of the target to "app" else if myAlias contains "." then -- haven't figured out how to tell if it is a file yet set the cmyFolder of the target to "file" else set the cmyFolder of the target to "folder" end if Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Fri Apr 1 10:03:45 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Apr 2005 10:03:45 -0500 Subject: contains or is in In-Reply-To: <76044957b958b929d75fddbe96c81ee2@adelphia.net> References: <76044957b958b929d75fddbe96c81ee2@adelphia.net> Message-ID: <0172aa7b814e15f8f43e3425f03e1e24@adelphia.net> I mean a dragDrop message..... On Apr 1, 2005, at 10:02 AM, Thomas McGrath III wrote: > Hello to the list, > > I have a question regarding contains versus is in. > If I run the below script in an dragEnd handler From 3mcgrath at adelphia.net Fri Apr 1 10:11:49 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Apr 2005 10:11:49 -0500 Subject: launch ? Message-ID: Hello to the list, I have another question. The command below for opening a folder works with quotes best. The launch "app" works with out the qoutes. But the launch 'file' does not work at all until I put the with " .app" which I didn't want to do. Any ideas how to force a document/file to open in the users default app with out knowing before hand what the doc/file type is??? on mouseUp put the cMyAlias of the target into myAlias -- added quotes???? long folder names put the cmyFolder of the target into gmyFolder if myAlias is not empty then switch gmyFolder -- this global needs stored for each instance - not done yet case "folder" -- than it is a folder to be opened (but not always true - need to fix) put quote & (the cMyAlias of the target) & quote into myAlias stsOpenFolder myAlias - - Ken Ray's function which does open folders - need to test on windows exit switch case "app" -- than it is an app to be launched (not always true - need to fix) launch myAlias -- only works if it is an application(OSX) with out quotes -- need to try on windows exit switch case "file" --put quote & (the cMyAlias of the target) & quote into myAlias -- does not work launch myAlias with "/Applications/Preview.app" -- check how to do files for this exit switch end switch end if end mouseUp Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From ambassador at fourthworld.com Fri Apr 1 11:36:05 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Apr 2005 08:36:05 -0800 Subject: About variable. In-Reply-To: References: <1741415575.20050331094136@ahsoftware.net> <590a11cb2b0926b72fbbc426804cb6c8@danshafer.com> <9b408d8e0503310600634ca32d@mail.gmail.com> <1741415575.20050331094136@ahsoftware.net> Message-ID: <424D7875.8070509@fourthworld.com> Martin Baxter wrote: > I don't find custom properties are very convenient for storing > arrays. Is everyone else using custom property sets for this ? An overview of using custom props as array storage: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dsc at swcp.com Fri Apr 1 11:45:35 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 1 Apr 2005 09:45:35 -0700 Subject: contains or is in In-Reply-To: <76044957b958b929d75fddbe96c81ee2@adelphia.net> References: <76044957b958b929d75fddbe96c81ee2@adelphia.net> Message-ID: <661838a01a7271921512675eb1d70b67@swcp.com> On Apr 1, 2005, at 8:02 AM, Thomas McGrath III wrote: > --if myAlias contains ".exe" or ".app" then if myAlias contains ".exe" or myAlias contains ".app" then Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From ambassador at fourthworld.com Fri Apr 1 11:46:40 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Apr 2005 08:46:40 -0800 Subject: The Campain Trail In-Reply-To: <424C2E5F.9000707@dreamscapesoftware.com> References: <424C2E5F.9000707@dreamscapesoftware.com> Message-ID: <424D7AF0.4030508@fourthworld.com> Derek Bump wrote: > Imagine if you could create your own "lookAndFeel" types (otherwise > known as Skins). This would be a HUGE advantage. You could make your > own buttons, fields, menus, whatever. All in all, giving you the > ability to make a user experience that much more interesting. What's stopping anyone from doing this right now? Altering the rendering routines would be a lot of work, and ultimately be very difficult for developers to use. That's why Apple and most others who offer skins and themes do so with a much simpler mechanism based on applying images to define the appearance of controls and even the window itself. Elements already under complete control by Rev developers: - Window shapes using images - Button appearances using images - Fill and fore color and patterns for controls and the card Take a good look at the Apple spec for skinning QT and you may be inspired to adopt some of that for making your own skin spec. I'm making one for WebMerge and a couple other apps I'm working on.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Fri Apr 1 11:48:40 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Apr 2005 08:48:40 -0800 Subject: Quicktime with Rev... New Question In-Reply-To: References: <8791739ab7c4f00c7c797ccca0979b4c@charter.net> Message-ID: <424D7B68.1080308@fourthworld.com> Mark Swindell wrote: > Is there a way to flip the QT player in Rev so that it is orientated > vertically rather that horizontally? I would like it to run alongside a > page of text from top to bottom, not underneath from side to side. Not directly, but it's not as difficult as it might seem to make your own controller with any behaviors and appearances you like. Everything the built-in controller can do is adjustable via script... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From douez at wanadoo.fr Fri Apr 1 11:49:36 2005 From: douez at wanadoo.fr (thierry) Date: Fri, 1 Apr 2005 18:49:36 +0200 Subject: set a prop after get url a stackfile In-Reply-To: <8fd61c4ad3327707d1c716fe1c8207e4@danshafer.com> References: <424B4F52.5020704@tweedly.net> <1359245929.20050331203916@wanadoo.fr> <8fd61c4ad3327707d1c716fe1c8207e4@danshafer.com> Message-ID: <1435478297.20050401184936@wanadoo.fr> Hi Klaus, Dan and all, thanks for your help.... as usual :-) but can't make it work :-( KM> Simply do this AFTER it has been downloaded: KM> ... KM> get url "http://....aStackFile" KM> put the short name of stack it into myTargetstack KM> save stack myTargetstack as "xyz" in fact, i did try in local, so: put url ( "binfile:" & theFullpath ) into aAnonymousStack then "open" or "go" "aAnonymousStack" starts the stack, but i got an error trying to get the name, or set a prop to the *aAnonymousStack* Where is the obvious ? what's wrong ? DS> This is a bit confusing to me, but perhaps only to me. Humm, i can understand your confusion, so do I :-) i was just playing with this to see how far one can go with this... So, let's take it as an exercise to increase my little understanding .... lateral thinking.... :-) just looking what we can do if we receive a "Stream stack", by a socket, or a compress stack saved in a Database or a stack in a custom property, or whatever... would like to ignore the name , but may be it's not possible. Does this make sense ? DS> If you've done a "get url" you either know the file name because you DS> explicitly supplied it or it is stored in a variable that you set or DS> the user chose it from some dialog or something, right? Grab the name DS> at the time that you know it and stick it into a variable. Let's call DS> that variable tStackIGot. Then you can: DS> set the customPropName of stack tStackIGot to customPropValue DS> No? >> after doing: get url http://....aStackFile >> >> i want to to set a customProp of this stack >> and save it on my disk... So, how can i get the Id of >> the stack or the name just after the get url ? >> i know i can do an OPEN IT, >> but i want to do this on the background, silently. >> From ambassador at fourthworld.com Fri Apr 1 12:02:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Apr 2005 09:02:15 -0800 Subject: Hints for porting apps from Mac to Win In-Reply-To: <770ac2d4f5747ede36868909f0b237fa@major-k.de> References: <770ac2d4f5747ede36868909f0b237fa@major-k.de> Message-ID: <424D7E97.1090306@fourthworld.com> Klaus Major wrote: > Hi friends, > > i just found an interesting article on the net, it is about realbasic > but it is written very common, so take a look, i found it very helpful... > > http://www.macdevcenter.com/pub/a/mac/2005/03/25/realbasic.html A good article indeed. It's disappointing that they chose to politicize it by arbitrarily inserting references to RealBASIC in there; it was a general GUI discussion not in any way specific to that 3GL, equally applicable to developers using any language. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From herz at ucsd.edu Fri Apr 1 12:02:36 2005 From: herz at ucsd.edu (Richard K. Herz) Date: Fri, 1 Apr 2005 09:02:36 -0800 Subject: Greek text in Rev fields under Linux References: <20050401090550.4D716930198@mail.runrev.com> Message-ID: <009001c536dc$9b8ecfe0$58bfef84@HerzLabS> Dar wrote: > Try a simple test like this (with or without setting the font): > > on mouseUp > set the useUnicode to true > set the unicodeText of field "field" to numToChar(0x222A) > end mouseUp > > You should get a union symbol. Didn't work. Got a dashed box in the field. Thanks. Rich From revdan at danshafer.com Fri Apr 1 12:07:00 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 1 Apr 2005 09:07:00 -0800 Subject: set a prop after get url a stackfile In-Reply-To: <1435478297.20050401184936@wanadoo.fr> References: <424B4F52.5020704@tweedly.net> <1359245929.20050331203916@wanadoo.fr> <8fd61c4ad3327707d1c716fe1c8207e4@danshafer.com> <1435478297.20050401184936@wanadoo.fr> Message-ID: You made a tiny but important mistake. On Apr 1, 2005, at 8:49 AM, thierry wrote: > in fact, i did try in local, so: > > put url ( "binfile:" & theFullpath ) into aAnonymousStack > Instead of "put", use "get" and don't put it into anything. get url ("binfile:" & theFullPath) put the short name of it into aAnonymousStack Then aAnonymousStack contains the name of the stack downloaded rather than the downloaded file itself. I tested that here and it seems to work. > then "open" or "go" "aAnonymousStack" starts the stack, > but i got an error trying to get the name, > or set a prop to the *aAnonymousStack* > > Where is the obvious ? what's wrong ? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From klaus at major-k.de Fri Apr 1 12:16:52 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 1 Apr 2005 19:16:52 +0200 Subject: Quicktime with Rev... New Question In-Reply-To: <424D7B68.1080308@fourthworld.com> References: <8791739ab7c4f00c7c797ccca0979b4c@charter.net> <424D7B68.1080308@fourthworld.com> Message-ID: <6bae57798ee8008620c56d705aabbcc8@major-k.de> Hi Mark and Richard and all, > Mark Swindell wrote: >> Is there a way to flip the QT player in Rev so that it is orientated >> vertically rather that horizontally? I would like it to run >> alongside a page of text from top to bottom, not underneath from side >> to side. > > Not directly, but it's not as difficult as it might seem to make your > own controller with any behaviors and appearances you like. > > Everything the built-in controller can do is adjustable via script... I just uploaded a little stack to Revonline: Username: klausimausi Title: Custom volume slider 2 little examples on how to create your own volume slider (horizontal or vertical) with my FAMOUS banana!!! :-) Have fun! > Richard Gaskin > Fourth World Media Corporation Regards Klaus Major klaus at major-k.de http://www.major-k.de From webmaster at dreamscapesoftware.com Fri Apr 1 12:24:14 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 01 Apr 2005 11:24:14 -0600 Subject: The Campain Trail In-Reply-To: <424D7AF0.4030508@fourthworld.com> References: <424C2E5F.9000707@dreamscapesoftware.com> <424D7AF0.4030508@fourthworld.com> Message-ID: <424D83BE.6080301@dreamscapesoftware.com> > Elements already under complete control by Rev developers: > - Window shapes using images > - Button appearances using images This is very true. I would just like to create the button "look" only once, and then have it apply to all buttons immediately. I find this to be a lot easier than create 3 different images for every button on my stack. > - Fill and fore color and patterns for controls and the card Yes, this works. But it is a lot more difficult. You have to create the look and feel every single time you want to implement a control. Imagine if you got your entire project done, and then you realized you need to create 2 more buttons and 3 more menus. Now you have to create 6 more button images, and 3 complete menus (all to the design you want). All in all, it would just be a whole lot easier if you could customize lookAndFeel themes. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From jhurley at infostations.com Fri Apr 1 12:28:25 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 1 Apr 2005 09:28:25 -0800 Subject: ANN Nine Ball with Spin (English) In-Reply-To: <20050401170356.28BB19300B3@mail.runrev.com> References: <20050401170356.28BB19300B3@mail.runrev.com> Message-ID: I couldn't resist adding spin (English) to Nine Ball. There are some things you can't do without it. For example there are occasions when you can't sink a ball without scratching--unless you can put spin on the cue ball. It is also needed on occasion to position the cue ball for the next shot. The spin had ramifications in so many areas. I think I caught them all, but there may be some hangover. (The last thing I checked was the cue ball striking the cushion with right spin. After it hit the cushion ALL the other balls began to move. Run Rev has this nasty habit of literally interpreting the code instead of what you meant. I fixed this, but other problems may be lurking.) Instructions for using spin are in the "Instructions" window. Basically, use the arrow keys to add a short red arrow to the end of the velocity vector. The magnitude and direction of the red arrow defines the magnitude and direction of the spin to be added to the velocity. So I hope this works: go url "http://home.infostations.net/jhurley/NineBallWithSpin.rev" I have taken the liberty of including Scott Rossi's wonderful graphics. Jim From klaus at major-k.de Fri Apr 1 12:37:29 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 1 Apr 2005 19:37:29 +0200 Subject: The Campain Trail In-Reply-To: <424D7AF0.4030508@fourthworld.com> References: <424C2E5F.9000707@dreamscapesoftware.com> <424D7AF0.4030508@fourthworld.com> Message-ID: Hi friends, > Derek Bump wrote: >> Imagine if you could create your own "lookAndFeel" types (otherwise >> known as Skins). This would be a HUGE advantage. You could make >> your own buttons, fields, menus, whatever. All in all, giving you >> the ability to make a user experience that much more interesting. > > What's stopping anyone from doing this right now? > > Altering the rendering routines would be a lot of work, and ultimately > be very difficult for developers to use. That's why Apple and most > others who offer skins and themes do so with a much simpler mechanism > based on applying images to define the appearance of controls and even > the window itself. > > Elements already under complete control by Rev developers: > - Window shapes using images > - Button appearances using images > - Fill and fore color and patterns for controls and the card > > Take a good look at the Apple spec for skinning QT and you may be > inspired to adopt some of that for making your own skin spec. > thanks, good read and very inspiring :-) And with Rev we could even go a step beyond by providing a non functional copy of our interface with movable controls, the user arranges them, add images etc... and clicks OK, we save the new locs, images etc... and voila, a VERY custom interface :-) Very quick and wild idea, but easy doable, for sure! :-) > I'm making one for WebMerge and a couple other apps I'm working on.... Cool as ever, Richard :-) > Richard Gaskin > Fourth World Media Corporation Enjoy your weekend Klaus Major klaus at major-k.de http://www.major-k.de From 3mcgrath at adelphia.net Fri Apr 1 12:37:46 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Apr 2005 12:37:46 -0500 Subject: contains or is in In-Reply-To: <661838a01a7271921512675eb1d70b67@swcp.com> References: <76044957b958b929d75fddbe96c81ee2@adelphia.net> <661838a01a7271921512675eb1d70b67@swcp.com> Message-ID: <362719b4151ceff08712d66796c4968a@adelphia.net> OOOHHH well that makes sense...... Thank you very much. Tom On Apr 1, 2005, at 11:45 AM, Dar Scott wrote: > > On Apr 1, 2005, at 8:02 AM, Thomas McGrath III wrote: > >> --if myAlias contains ".exe" or ".app" then > > if myAlias contains ".exe" or myAlias contains ".app" then > > Dar From douez at wanadoo.fr Fri Apr 1 12:41:20 2005 From: douez at wanadoo.fr (thierry) Date: Fri, 1 Apr 2005 19:41:20 +0200 Subject: set a prop after get url a stackfile In-Reply-To: References: <424B4F52.5020704@tweedly.net> <1359245929.20050331203916@wanadoo.fr> <8fd61c4ad3327707d1c716fe1c8207e4@danshafer.com> <1435478297.20050401184936@wanadoo.fr> Message-ID: <567438420.20050401194120@wanadoo.fr> Hi Dan, DS> You made a tiny but important mistake. DS> On Apr 1, 2005, at 8:49 AM, thierry wrote: >> put url ( "binfile:" & theFullpath ) into aAnonymousStack DS> Instead of "put", use "get" and don't put it into anything. DS> get url ("binfile:" & theFullPath) DS> put the short name of it into aAnonymousStack i got a Script error at "of it". the file has been loaded correctly. ????? testing on Win98 Rev2.5.1 DS> Then aAnonymousStack contains the name of the stack downloaded rather DS> than the downloaded file itself. DS> I tested that here and it seems to work. Best regards, thierry From howard.bornstein at gmail.com Fri Apr 1 12:42:40 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Fri, 1 Apr 2005 12:42:40 -0500 Subject: No subject In-Reply-To: <2dd6e34969ab5fa61fcca67b2da481b0@mac.com> References: <2dd6e34969ab5fa61fcca67b2da481b0@mac.com> Message-ID: <3f07cc2605040109427af29a25@mail.gmail.com> On Mar 29, 2005 10:15 AM, Melit?n Cardona Torres wrote: > I have this in a field: > > IPAE 16 > IPAE 1 > IPAE 7 > LAG 1 > JKAL 3 > JKAL 11 > JKAL 2 > > and I wish to get this (same alphabetical order, sorted numeric by > second word of each): > > IPAE 1 > IPAE 7 > IPAE 16 > LAG 1 > JKAL 2 > JKAL 3 > JKAL 11 > > I would be grateful for your suggestions. > > Thanks in advance > > Ton Cardona > Here's a quick and dirty solution. Assume the data is in a filed "data" and you have a button to do the sort. Use this handler in the button. on mouseUp put fld "data" into dataholder put the number of lines of dataholder into linecnt repeat with i = 1 to linecnt if word 1 of line i-1 of dataholder <> word 1 of line i of dataholder then put line i of dataholder&return after sorter end if if word 1 of line i+1 of dataholder = word 1 of line i of dataholder then put line i+1 of dataholder&return after sorter else sort lines of sorter numeric by word 2 of each put sorter after sorteddata put empty into sorter end if end repeat put sorteddata into fld "data" end mouseUp -- Regards, Howard Bornstein ----------------------- www.designeq.com From 3mcgrath at adelphia.net Fri Apr 1 12:49:59 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Apr 2005 12:49:59 -0500 Subject: ANN Nine Ball with Spin (English) In-Reply-To: References: <20050401170356.28BB19300B3@mail.runrev.com> Message-ID: LOL... I hate when it does that...... On Apr 1, 2005, at 12:28 PM, Jim Hurley wrote: > Run Rev has this nasty habit of literally interpreting the code > instead of what you meant. > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From klaus at major-k.de Fri Apr 1 12:51:38 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 1 Apr 2005 19:51:38 +0200 Subject: set a prop after get url a stackfile In-Reply-To: <567438420.20050401194120@wanadoo.fr> References: <424B4F52.5020704@tweedly.net> <1359245929.20050331203916@wanadoo.fr> <8fd61c4ad3327707d1c716fe1c8207e4@danshafer.com> <1435478297.20050401184936@wanadoo.fr> <567438420.20050401194120@wanadoo.fr> Message-ID: Bon soir Thierry, > Hi Dan, > > DS> You made a tiny but important mistake. > DS> On Apr 1, 2005, at 8:49 AM, thierry wrote: > >>> put url ( "binfile:" & theFullpath ) into aAnonymousStack > > DS> Instead of "put", use "get" and don't put it into anything. > > DS> get url ("binfile:" & theFullPath) > DS> put the short name of it into aAnonymousStack > > i got a Script error at "of it". > the file has been loaded correctly. ????? try this: get url ("binfile:" & theFullPath) put the short name of STACK it into aAnonymousStack Hope that helps... > testing on Win98 Rev2.5.1 > > DS> Then aAnonymousStack contains the name of the stack downloaded > rather > DS> than the downloaded file itself. > > DS> I tested that here and it seems to work. > > Best regards, thierry Best Klaus Major klaus at major-k.de http://www.major-k.de From fde101 at fjrhome.net Fri Apr 1 12:55:09 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 1 Apr 2005 12:55:09 -0500 Subject: No subject In-Reply-To: <3f07cc2605040109427af29a25@mail.gmail.com> References: <2dd6e34969ab5fa61fcca67b2da481b0@mac.com> <3f07cc2605040109427af29a25@mail.gmail.com> Message-ID: <6037ec0869b064df3aaaea5edfd81499@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Untested clean-up of that code: on mouseUp put empty into sorter -- these two lines are mainly to make me feel a little better, put empty into sorteddata -- coming from a background in lower-level languages like Pascal repeat for each line x in field "data" if word 1 of x = word 1 of line 1 of sorter then put x & cr after sorter else delete the last char of sorter sort lines of sorter numeric by word 2 of each put sorter after sorteddata put x into sorter end if end repeat put sorteddata & sorter into field "data" end mouseUp On Apr 1, 2005, at 12:42 PM, Howard Bornstein wrote: > on mouseUp > put fld "data" into dataholder > put the number of lines of dataholder into linecnt > repeat with i = 1 to linecnt > if word 1 of line i-1 of dataholder <> word 1 of line i of > dataholder then > put line i of dataholder&return after sorter > end if > if word 1 of line i+1 of dataholder = word 1 of line i of > dataholder then > put line i+1 of dataholder&return after sorter > else > sort lines of sorter numeric by word 2 of each > put sorter after sorteddata > put empty into sorter > end if > end repeat > put sorteddata into fld "data" > end mouseUp - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCTYr97aqtWrR9cZoRAg8DAJ9qnmgZgeQspeiVO/Y40Ro1wkOCiwCdHbcQ OezGisPeJtI3l/7b+KN45eA= =3XAX -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From ambassador at fourthworld.com Fri Apr 1 13:39:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Apr 2005 10:39:15 -0800 Subject: The Campain Trail In-Reply-To: <424D83BE.6080301@dreamscapesoftware.com> References: <424C2E5F.9000707@dreamscapesoftware.com> <424D7AF0.4030508@fourthworld.com> <424D83BE.6080301@dreamscapesoftware.com> Message-ID: <424D9553.6030308@fourthworld.com> Derek Bump wrote: > > Elements already under complete control by Rev developers: > > - Window shapes using images > > - Button appearances using images > > This is very true. I would just like to create the button "look" only > once, and then have it apply to all buttons immediately. I find this to > be a lot easier than create 3 different images for every button on my > stack. > > > - Fill and fore color and patterns for controls and the card > > Yes, this works. But it is a lot more difficult. You have to create > the look and feel every single time you want to implement a control. > Imagine if you got your entire project done, and then you realized you > need to create 2 more buttons and 3 more menus. Now you have to create > 6 more button images, and 3 complete menus (all to the design you want). > > All in all, it would just be a whole lot easier if you could customize > lookAndFeel themes. That sounds good, but what exactly does it mean? As I read the skinning specs for most apps, only QuickTime's is easy while the rest are a lot of work for elements outside of what the QT skin spec supports. We could break up the appearance of UI elements into two categories: static (such as icons and fill patterns) and dynamic (such a algorithmic gradient and fill procedures, like those used by Aqua). The Mozilla spec is arguably one of the my dynamic around, yet still makes heavy use of static elements: WinAmp takes a similar XML-based approach: Apple's QT spec takes the more technically simple option, comprised entirely of static elements: The challenge with dynamic elements is that they require coding. Rev has a good scripting language so one could do most things one would want for generating gradients, etc. dynamically at runtime using a frontscript which reads custom props in controls on preOpenCard and renders them according to whatever spec you like. It may be possible for RunRev to help speed up the execution of some elements by supporting XUL, but much of any truly sophisticated rendering would still require a lot of custom code. So while skinning could be made a bit more convenient, by its nature it will never be truly easy. Coding custom fill algorithms is a bit of work in any language. So while making truly dynamic skins means writing custom code in any skinning system, all of them provide ways to use images for quicker and simpler rendering wherever possible (fill patterns, fixed-size gradients, icons, etc.). And many skins can be made using only static elements without custom coding at all, including all skins made for QuickTime Player. Most of the stuff you'll need to define a skinning mechanism for your app can be done in Rev. If you find elements that have you scratching your head post 'em here and we'll see what we can come up with. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From howard.bornstein at gmail.com Fri Apr 1 13:46:35 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Fri, 1 Apr 2005 13:46:35 -0500 Subject: No subject In-Reply-To: References: Message-ID: <3f07cc2605040110461ea56c49@mail.gmail.com> On Apr 1, 2005 12:55 PM, Frank D. Engel, Jr. wrote: > > Untested clean-up of that code: > Your clean-up code needed a little cleaning up. :-) on mouseUp put empty into sorter -- these two lines are mainly to make me feel a little better, put empty into sorteddata -- coming from a background in lower-level languages like Pascal repeat for each line x in field "data" if word 1 of x = word 1 of line 1 of sorter then put x & cr after sorter else --delete the last char of sorter -- you need this CR to separate the lines sort lines of sorter numeric by word 2 of each put sorter after sorteddata put x & cr into sorter -- added "& cr" end if end repeat sort lines of sorter numeric by word 2 of each --otherwise the final sort never happens put sorteddata & sorter into field "data" end mouseUp -- Regards, Howard Bornstein ----------------------- www.designeq.com From dsc at swcp.com Fri Apr 1 13:47:02 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 1 Apr 2005 11:47:02 -0700 Subject: contains or is in In-Reply-To: <362719b4151ceff08712d66796c4968a@adelphia.net> References: <76044957b958b929d75fddbe96c81ee2@adelphia.net> <661838a01a7271921512675eb1d70b67@swcp.com> <362719b4151ceff08712d66796c4968a@adelphia.net> Message-ID: On Apr 1, 2005, at 10:37 AM, Thomas McGrath III wrote: > OOOHHH well that makes sense...... >> >>> --if myAlias contains ".exe" or ".app" then >> >> if myAlias contains ".exe" or myAlias contains ".app" then Thirty years ago I designed a language that would allow that and have it do what you want. It used what I called "name and expression factoring" to get alternative meanings and if only one was type consistent, it used that. (The advocates for typing would be glad to hear that it needed some built-in types to do this.) Dar From fde101 at fjrhome.net Fri Apr 1 13:59:09 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 1 Apr 2005 13:59:09 -0500 Subject: No subject In-Reply-To: <3f07cc2605040110461ea56c49@mail.gmail.com> References: <3f07cc2605040110461ea56c49@mail.gmail.com> Message-ID: <8028999774a8aa3d40fe5a7382478ca8@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well, like I said, it was untested ;-) Also, that last char (the CR which you said is needed to separate the lines) is separating the last line from a blank line which was not in the original field. That CR should indeed be removed before sorting in order to avoid the blank line being misplaced in the new material, the mistake then is in not adding it back in in the next line (after the sort). I'm trying to address the possibility that the sort might move that blank line to an earlier line in the string, which would result in the string not ending with a CR anyway. Even if the current version of Rev does not do this, I haven't seen any doctumentation that this will always be the case, since it is difficult to quantify how an empty string fits into a list when sorted numerically. (personally, I'd likely either put it in the beginning or consider it as zero, but again, Rev may have stuck it at the end, but is it documented that this will always be the case?) Similarly, the last char (another "original" CR) should be removed from the final output when it is placed into the field. One final note: all of this assumes unformatted (plain) text. That seems to be the case, so likely not an issue. Using any of these algorithms as presented will result in text formatting being lost if there was any. Thank you for catching those mistakes. I must be more tired than I thought... on mouseUp put empty into sorter put empty into sorteddata repeat for each line x in field "data" if word 1 of x = word 1 of line 1 of sorter then put x & cr after sorter else delete the last char of sorter sort lines of sorter numeric by word 2 of each put sorter & cr after sorteddata put x & cr into sorter end if end repeat delete the last char of sorter sort lines of sorter numeric by word 2 of each put sorteddata & sorter into field "data" end mouseUp On Apr 1, 2005, at 1:46 PM, Howard Bornstein wrote: > On Apr 1, 2005 12:55 PM, Frank D. Engel, Jr. > wrote: >> >> Untested clean-up of that code: >> > > > Your clean-up code needed a little cleaning up. :-) > > on mouseUp > put empty into sorter -- these two lines are mainly to make me > feel a little better, > put empty into sorteddata -- coming from a background in > lower-level languages like Pascal > > repeat for each line x in field "data" > if word 1 of x = word 1 of line 1 of sorter then > put x & cr after sorter > else > --delete the last char of sorter -- you need this CR to > separate the lines > sort lines of sorter numeric by word 2 of each > put sorter after sorteddata > put x & cr into sorter -- added "& cr" > end if > end repeat > sort lines of sorter numeric by word 2 of each --otherwise the > final sort never happens > > put sorteddata & sorter into field "data" > end mouseUp > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCTZn97aqtWrR9cZoRAs9mAJ43ETinCdJe8E0oqs9vtSgps0qYVwCeMV8x +hQqW0Jm4+aJltFWtSH19MU= =037b -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Fri Apr 1 14:00:29 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 1 Apr 2005 14:00:29 -0500 Subject: contains or is in In-Reply-To: References: <76044957b958b929d75fddbe96c81ee2@adelphia.net> <661838a01a7271921512675eb1d70b67@swcp.com> <362719b4151ceff08712d66796c4968a@adelphia.net> Message-ID: <1a202fdd20593fa8e43250a1cb4a7545@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Indeed, there is only one data type in Rev: strings. So that approach would not really work here. On Apr 1, 2005, at 1:47 PM, Dar Scott wrote: > > On Apr 1, 2005, at 10:37 AM, Thomas McGrath III wrote: > >> OOOHHH well that makes sense...... > >>> >>>> --if myAlias contains ".exe" or ".app" then >>> >>> if myAlias contains ".exe" or myAlias contains ".app" then > > Thirty years ago I designed a language that would allow that and have > it do what you want. It used what I called "name and expression > factoring" to get alternative meanings and if only one was type > consistent, it used that. > > (The advocates for typing would be glad to hear that it needed some > built-in types to do this.) > > Dar > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCTZpN7aqtWrR9cZoRAvLIAJ4vkhdiHcYJRiNAhSV3EhicvxiyaQCgjxhg Ist1qcZhISP/0HMW2C0lZZo= =UHgG -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From dsc at swcp.com Fri Apr 1 14:57:45 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 1 Apr 2005 12:57:45 -0700 Subject: contains or is in In-Reply-To: <1a202fdd20593fa8e43250a1cb4a7545@fjrhome.net> References: <76044957b958b929d75fddbe96c81ee2@adelphia.net> <661838a01a7271921512675eb1d70b67@swcp.com> <362719b4151ceff08712d66796c4968a@adelphia.net> <1a202fdd20593fa8e43250a1cb4a7545@fjrhome.net> Message-ID: <3ba23b9965a4ad2fcbb43893246f81b6@swcp.com> On Apr 1, 2005, at 12:00 PM, Frank D. Engel, Jr. wrote and signed: > Indeed, there is only one data type in Rev: strings. Yes. If you squint just right. One might say 1.89 types if you allow .8 for arrays and .09 for the result of arithmetic. (And there are a few times when there is a critical distinction between a reference expression to an object and a string that refers to the object.) I have suggested ways to integrate arrays and numbers into a pure scheme of strings, but those suggestions met with blank stares, so I think that kind of thing may not be right for Transcript, or I'm poor at explaining things, or (most likely) both. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From briany at qldlearning.com Fri Apr 1 15:38:59 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Apr 2005 12:38:59 -0800 Subject: contains or is in In-Reply-To: <76044957b958b929d75fddbe96c81ee2@adelphia.net> References: <76044957b958b929d75fddbe96c81ee2@adelphia.net> Message-ID: > --if myAlias contains ".exe" or ".app" then > if ".exe" is in myAlias or ".app" is in myAlias then > set the cmyFolder of the target to "app" > else if myAlias contains "." then -- haven't figured out how to tell > if it is a file yet else if (there is a file myAlias) > set the cmyFolder of the target to "file" > else else if (there is a folder myAlias) > set the cmyFolder of the target to "folder" > end if HTH, Brian From chipp at chipp.com Fri Apr 1 16:05:21 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 01 Apr 2005 15:05:21 -0600 Subject: The Campain Trail In-Reply-To: <424D9553.6030308@fourthworld.com> References: <424C2E5F.9000707@dreamscapesoftware.com> <424D7AF0.4030508@fourthworld.com> <424D83BE.6080301@dreamscapesoftware.com> <424D9553.6030308@fourthworld.com> Message-ID: <424DB791.8070403@chipp.com> Richard Gaskin wrote: > Most of the stuff you'll need to define a skinning mechanism for your > app can be done in Rev. If you find elements that have you scratching > your head post 'em here and we'll see what we can come up with. Yep, I agree. I've created a bunch of tools to help be 'skin' Rev apps. One is 'Interface Designer.' There's a picture of it along with some of the apps it's skinned at: www.altuit.com/webs/altuit2/RunRevCaseStudies/AltuitLabs.htm I also creaated a 100% skinnable and resizable browser called "LEO" www.altuit.com/webs/altuit2/RunRevCaseStudies/LEOif_big.jpg and www.altuit.com/webs/altuit2/RunRevCaseStudies/abrowser_big_big.jpg I use ButtonGadget (www.buttongadget.com) to create all my buttons (also build in Rev). It's really easy to 'skin' a radio, checkbox, or rectangle button. Fields are a bit harder as to my knowledge, there's no way to 'colorize' the scrollbars. -Chipp From ambassador at fourthworld.com Fri Apr 1 16:16:27 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Apr 2005 13:16:27 -0800 Subject: The Campain Trail In-Reply-To: <424DB791.8070403@chipp.com> References: <424C2E5F.9000707@dreamscapesoftware.com> <424D7AF0.4030508@fourthworld.com> <424D83BE.6080301@dreamscapesoftware.com> <424D9553.6030308@fourthworld.com> <424DB791.8070403@chipp.com> Message-ID: <424DBA2B.7000507@fourthworld.com> Chipp Walters wrote: > Richard Gaskin wrote: > >> Most of the stuff you'll need to define a skinning mechanism for your >> app can be done in Rev. > > Yep, I agree. I've created a bunch of tools to help be 'skin' Rev apps. > One is 'Interface Designer.' There's a picture of it along with some of > the apps it's skinned at: > > www.altuit.com/webs/altuit2/RunRevCaseStudies/AltuitLabs.htm GMTA - I've been working on a toolkit named SkinnerBox to dynamically apply user-generated skins to app UIs. Glad you posted yours; with so much client work here I'm finding it increasingly challenging to spend time on Rev tools.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From sanke at hrz.uni-kassel.de Fri Apr 1 16:20:58 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 01 Apr 2005 23:20:58 +0200 Subject: Mutilated "Faq" filenames (was: SearchDocs XML- final) Message-ID: <424DBB3A.7000205@hrz.uni-kassel.de> I took a second look at the way the "Faq" files' addresses are displayed in the search results and think Jerry Balzano's complaint makes some sense. On Wed, 30 Mar 2005, Jerry Balzano had written: > Wilhelm - > > This is awesome! FYI, however, on my Mac (OS 10.3), I am getting > clipping of the text of the XML files in the right-hand pane. It > only happens for some of the queries (usually FAQ but I haven't > tested thoroughly), and it's only the first three characters, usually > only the first line. > > - Jerry and I had answered: > Jerry, > > this is a feature! The Rev people have mutilated the filenames of > quite a number of XML files to shorten them. Have a look into your Faq > folder. I have now added the full "topic" line under the mutilated XML-file name (and link) for better orientation, e.g. "ge the action of arrow keys.xml How do I block or change the action of arrow keys" See --Wilhelm Sanke From kray at sonsothunder.com Fri Apr 1 16:22:16 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Apr 2005 15:22:16 -0600 Subject: No subject In-Reply-To: <3f07cc2605040109427af29a25@mail.gmail.com> Message-ID: On 4/1/05 11:42 AM, "Howard Bornstein" wrote: > On Mar 29, 2005 10:15 AM, Melit?n Cardona Torres wrote: >> I have this in a field: >> >> IPAE 16 >> IPAE 1 >> IPAE 7 >> LAG 1 >> JKAL 3 >> JKAL 11 >> JKAL 2 >> >> and I wish to get this (same alphabetical order, sorted numeric by >> second word of each): >> >> IPAE 1 >> IPAE 7 >> IPAE 16 >> LAG 1 >> JKAL 2 >> JKAL 3 >> JKAL 11 >> > Here's a quick and dirty solution. Assume the data is in a filed > "data" and you have a button to do the sort. Use this handler in the > button. > > on mouseUp > put fld "data" into dataholder > put the number of lines of dataholder into linecnt > repeat with i = 1 to linecnt > if word 1 of line i-1 of dataholder <> word 1 of line i of dataholder > then > put line i of dataholder&return after sorter > end if > if word 1 of line i+1 of dataholder = word 1 of line i of dataholder then > put line i+1 of dataholder&return after sorter > else > sort lines of sorter numeric by word 2 of each > put sorter after sorteddata > put empty into sorter > end if > end repeat > put sorteddata into fld "data" > end mouseUp I still think it's easier to let Rev handle the sorts: put fld 1 into tData sort tData numeric by word 2 of each sort tData by word 1 of each put tData into fld 2 Just my 2 cents, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From howard.bornstein at gmail.com Fri Apr 1 16:38:15 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Fri, 1 Apr 2005 16:38:15 -0500 Subject: No subject In-Reply-To: <7b79cc90961d73ff00a52c0319caad75@sonsothunder.com> References: <7b79cc90961d73ff00a52c0319caad75@sonsothunder.com> Message-ID: <3f07cc2605040113384bfdb543@mail.gmail.com> On Apr 1, 2005 4:22 PM, Ken Ray wrote: > On 4/1/05 11:42 AM, "Howard Bornstein" > wrote: > > > On Mar 29, 2005 10:15 AM, Melit?n Cardona Torres > > wrote: > >> I have this in a field: > >> > >> IPAE 16 > >> IPAE 1 > >> IPAE 7 > >> LAG 1 > >> JKAL 3 > >> JKAL 11 > >> JKAL 2 > >> > >> and I wish to get this (same alphabetical order, sorted numeric by > >> second word of each): > >> > >> IPAE 1 > >> IPAE 7 > >> IPAE 16 > >> LAG 1 > >> JKAL 2 > >> JKAL 3 > >> JKAL 11 > >> > > I still think it's easier to let Rev handle the sorts: > > put fld 1 into tData > sort tData numeric by word 2 of each > sort tData by word 1 of each > put tData into fld 2 > > Just my 2 cents, > Ken, I would have used the same code as yours, however, it doesn't preserve the original alphabetic order (which I assumed he wanted--if not then your code is perfect). My code (and Frank's) ends up with the list sorted like this: IPAE 1 IPAE 7 IPAE 16 LAG 1 JKAL 2 JKAL 3 JKAL 11 Yours puts LAG 1 at the end, since it sorts the entire list aphabetically. So if he wants to keep the original alpha order intact and just sort within the alpha groups, you need to add a little more control to the sorts. Otherwise the simple solution is fine. -- Regards, Howard Bornstein ----------------------- www.designeq.com From eric.chatonet at wanadoo.fr Fri Apr 1 16:51:36 2005 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Fri, 1 Apr 2005 23:51:36 +0200 Subject: set a prop after get url a stackfile In-Reply-To: <20050401191245.82DF8930070@mail.runrev.com> References: <20050401191245.82DF8930070@mail.runrev.com> Message-ID: <4a8abd8930ab5e7ee7bfb26f1734d6af@wanadoo.fr> Hi Thierry, Dan and Klaus, May be I did not understand correctly this thread :-) But, as it was possible with HC, you can get or set any property of any stack "silently" i.e. without "going" to it. For instance, try this: answer file "Choose any stack:" put the script of stack it -- that's for getting a property set the uPropTest of stack it to "Done" -- that's for setting a property save stack it -- as "xyz" delete stack it You will see absolutly nothing ;-) No trace in memory... But... look at the message box and open the stack as usual to verify its properties... Best regards, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet AT sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From kray at sonsothunder.com Fri Apr 1 18:08:39 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Apr 2005 17:08:39 -0600 Subject: No subject In-Reply-To: <3f07cc2605040113384bfdb543@mail.gmail.com> Message-ID: On 4/1/05 3:38 PM, "Howard Bornstein" wrote: > I would have used the same code as yours, however, it doesn't preserve > the original alphabetic order (which I assumed he wanted--if not then > your code is perfect). > > My code (and Frank's) ends up with the list sorted like this: > > IPAE 1 > IPAE 7 > IPAE 16 > LAG 1 > JKAL 2 > JKAL 3 > JKAL 11 > > Yours puts LAG 1 at the end, since it sorts the entire list > aphabetically. So if he wants to keep the original alpha order intact > and just sort within the alpha groups, you need to add a little more > control to the sorts. Otherwise the simple solution is fine. Ah... that explains it...thanks for letting me know! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From briany at qldlearning.com Fri Apr 1 18:35:01 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Apr 2005 15:35:01 -0800 Subject: No subject In-Reply-To: References: Message-ID: Here's on last stab at using Rev's built-in sort: sort lines of fld 1 numeric by (lineOffset(word 1 of each, fld 1)*100000 + (word 2 of each)) Woo hoo! Everyone loves cryptic one-liners! =P - Brian > On 4/1/05 3:38 PM, "Howard Bornstein" > wrote: > >> I would have used the same code as yours, however, it doesn't preserve >> the original alphabetic order (which I assumed he wanted--if not then >> your code is perfect). >> >> My code (and Frank's) ends up with the list sorted like this: >> >> IPAE 1 >> IPAE 7 >> IPAE 16 >> LAG 1 >> JKAL 2 >> JKAL 3 >> JKAL 11 >> >> Yours puts LAG 1 at the end, since it sorts the entire list >> aphabetically. So if he wants to keep the original alpha order intact >> and just sort within the alpha groups, you need to add a little more >> control to the sorts. Otherwise the simple solution is fine. > > Ah... that explains it...thanks for letting me know! > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Fri Apr 1 19:32:22 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 02 Apr 2005 01:32:22 +0100 Subject: No subject In-Reply-To: References: Message-ID: <424DE816.7010309@tweedly.net> Brian Yennie wrote: > Here's on last stab at using Rev's built-in sort: > > sort lines of fld 1 numeric by (lineOffset(word 1 of each, fld > 1)*100000 + (word 2 of each)) > > Woo hoo! Everyone loves cryptic one-liners! =P > I don't know if that quite gets it .... if the input were IPAE 1 LAG 2 IPAE 3 LAG 4 then your code would give IPAE 1 IPAE 3 LAG 2 LAG 4 while the non-Rev-sorting versions would have kept the data unchanged (they preserved blocks of lines with the same first item, rather than actually sorted on it). Howard said: >>> Yours puts LAG 1 at the end, since it sorts the entire list >>> aphabetically. So if he wants to keep the original alpha order intact >>> and just sort within the alpha groups, you need to add a little more >>> control to the sorts. Otherwise the simple solution is fine. >> >> I have long forgotten what the original question was - so I have no idea which would be "right" :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From runrev at rivertext.com Fri Apr 1 19:42:26 2005 From: runrev at rivertext.com (Brian Thomas) Date: Fri, 1 Apr 2005 16:42:26 -0800 Subject: 1010 error code HELP Message-ID: Hi. I just a got an email from an If Monks had Macs customer who consistently gets a 1010 error under Mac OS 9.1. This error does not (per Appleerrorcodes.com) appear to be a Mac OS error. At 4:52 PM -0500 4/1/05, Clare N. Shumway wrote: >I just installed If Monks___ from the CD to my computer (Blue&White >G3 running OS 9.1); the installation went as expected and I placed >the MonkBits folder at the first level of the hard drive. >When I try to open "If Monks" or the "Journal" I get a 1010 error. >Restarting had no effect. At 7:22 PM -0500 4/1/05, Clare N. Shumway wrote: >There is 256 mb of memory installed with 266 mb of virtual memory >allocated. The speed is 400 MHz. > I don't have any other computer. Does anyone know what this means? Thanks -- Brian From briany at qldlearning.com Fri Apr 1 20:23:40 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Apr 2005 17:23:40 -0800 Subject: No subject In-Reply-To: <424DE816.7010309@tweedly.net> References: <424DE816.7010309@tweedly.net> Message-ID: Ah, yes- I guess it's all in our different assumption about the data format =). I assumed that all of the first words were already grouped together... but you're right- my version was grouping the first item and then sorting the second. So if you _want_ the first items grouped, it'll do that for you- otherwise, the "scripted" solution is better. With that said, it would be nice if Rev natively supported multiple key, stable, and grouped sorts! > I don't know if that quite gets it .... if the input were > IPAE 1 > LAG 2 > IPAE 3 > LAG 4 > > then your code would give > IPAE 1 > IPAE 3 > LAG 2 > LAG 4 > > while the non-Rev-sorting versions would have kept the data unchanged > (they preserved blocks of lines with the same first item, rather than > actually sorted on it). From Cubist at aol.com Fri Apr 1 20:24:19 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 1 Apr 2005 20:24:19 EST Subject: contains or is in Message-ID: <74.50c7da4e.2f7f4e43@aol.com> On Apr 1, 2005, at 11:45 AM, Dar Scott wrote: > On Apr 1, 2005, at 8:02 AM, Thomas McGrath III wrote: > >> --if myAlias contains ".exe" or ".app" then > > if myAlias contains ".exe" or myAlias contains ".app" then You need to think more paranoid. How can you be *certain* that the substrings ".app" or ".exe" *won't* occur anyplace in a filename other than at the end? Better: put char -4 to -1 of myAlias into Fred if Fred = ".exe" or Fred = ".app" then Or even, since there *are* a few extensions out there which *aren't* three characters long: set the itemDelimiter to "." put item -1 of myAlias into Fred if Fred = "exe" or Fred = "app" then Hope this helps... From briany at qldlearning.com Fri Apr 1 20:24:57 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Apr 2005 17:24:57 -0800 Subject: 1010 error code HELP In-Reply-To: References: Message-ID: Brian, Are you using any externals? I believe I used to get that error when a shared library was missing for an external... > Hi. I just a got an email from an If Monks had Macs customer who > consistently gets a 1010 error under Mac OS 9.1. This error does not > (per Appleerrorcodes.com) appear to be a Mac OS error. > > At 4:52 PM -0500 4/1/05, Clare N. Shumway wrote: >> I just installed If Monks___ from the CD to my computer (Blue&White >> G3 running OS 9.1); the installation went as expected and I placed >> the MonkBits folder at the first level of the hard drive. >> When I try to open "If Monks" or the "Journal" I get a 1010 error. >> Restarting had no effect. > At 7:22 PM -0500 4/1/05, Clare N. Shumway wrote: >> There is 256 mb of memory installed with 266 mb of virtual memory >> allocated. The speed is 400 MHz. >> I don't have any other computer. > > > Does anyone know what this means? > > Thanks > > -- > Brian > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From 3mcgrath at adelphia.net Fri Apr 1 21:32:15 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Apr 2005 21:32:15 -0500 Subject: 1010 error code HELP In-Reply-To: References: Message-ID: <90615dbf97929176b959e2bb89d037d9@adelphia.net> This came from a realBasic site: FWIW - HTH http://support.realsoftware.com/listarchives/realbasic-nug/2000-09/ msg00966.html >1010 is "bad shared library" >It probably was looking for an extention that was not present (such as QT 4) >and couldn't continue without it. >I have tested a7 built appications on systems as low as 8.5 with no >problems, but I don't have access to anything that old (except for a couple >of mac Pluses that obviously wont run any RB stuff). >in response to: W T Goodall wrote: > My beta testers have reported the following > On a 6200 running MacOS 7.5.5 it ran just fine (Not all features tested). > On a 7100 running MacOS 7.6 it wouldn't even open. It > died with a 1010 error. > > It runs fine on a 6500 running MacOS 8.1. > It dies with a 1010 error on a 6100/60 running MacOS 8.1 > It runs fine on an iBook running MacOS 9.0. > It runs fine on a G3 running 9.0.4 > Might this have something to do with whether they have upgraded to > QuickTime 4? ------------------- There is also a reference on the MySQL site: HTH...... http://www.mysqlfreaks.com/errors/20.php Error dropping database (can't rmdir 'databaseName' Error Code: 1010 Error Info: no information yet Solutions for: Error dropping database (can't rmdir 'databaseName' Member: Guest Posted On: 01/18/2038 22:14 Well, if you're going to drop anyway ... just delete the directory that contains the dbase manually. I run Gentoo Linux and the dirs are located at "/var/lib/mysql". On Apr 1, 2005, at 8:24 PM, Brian Yennie wrote: > Brian, > > Are you using any externals? I believe I used to get that error when a > shared library was missing for an external... > >> Hi. I just a got an email from an If Monks had Macs customer who >> consistently gets a 1010 error under Mac OS 9.1. This error does not >> (per Appleerrorcodes.com) appear to be a Mac OS error. >> >> At 4:52 PM -0500 4/1/05, Clare N. Shumway wrote: >>> I just installed If Monks___ from the CD to my computer (Blue&White >>> G3 running OS 9.1); the installation went as expected and I placed >>> the MonkBits folder at the first level of the hard drive. >>> When I try to open "If Monks" or the "Journal" I get a 1010 error. >>> Restarting had no effect. >> At 7:22 PM -0500 4/1/05, Clare N. Shumway wrote: >>> There is 256 mb of memory installed with 266 mb of virtual memory >>> allocated. The speed is 400 MHz. >>> I don't have any other computer. >> >> >> Does anyone know what this means? >> >> Thanks >> >> -- >> Brian >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From erikhans08 at yahoo.com Fri Apr 1 23:18:02 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Fri, 1 Apr 2005 20:18:02 -0800 (PST) Subject: is ("u" & "e") = ("u" & umlaut) still true? In-Reply-To: 6667 Message-ID: <20050402041802.37166.qmail@web31315.mail.mud.yahoo.com> is ("u" & "e") = ("u" & umlaut) still true? that used to be acceptable usage. you could also use "ss" for that "B" looking thing. Erich Hansen erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From revdan at danshafer.com Fri Apr 1 12:07:00 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 1 Apr 2005 09:07:00 -0800 Subject: set a prop after get url a stackfile In-Reply-To: <1435478297.20050401184936@wanadoo.fr> References: <424B4F52.5020704@tweedly.net> <1359245929.20050331203916@wanadoo.fr> <8fd61c4ad3327707d1c716fe1c8207e4@danshafer.com> <1435478297.20050401184936@wanadoo.fr> Message-ID: You made a tiny but important mistake. On Apr 1, 2005, at 8:49 AM, thierry wrote: > in fact, i did try in local, so: > > put url ( "binfile:" & theFullpath ) into aAnonymousStack > Instead of "put", use "get" and don't put it into anything. get url ("binfile:" & theFullPath) put the short name of it into aAnonymousStack Then aAnonymousStack contains the name of the stack downloaded rather than the downloaded file itself. I tested that here and it seems to work. > then "open" or "go" "aAnonymousStack" starts the stack, > but i got an error trying to get the name, > or set a prop to the *aAnonymousStack* > > Where is the obvious ? what's wrong ? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From kj2005.28 at gmail.com Sat Apr 2 02:38:14 2005 From: kj2005.28 at gmail.com (Kevin J) Date: Sat, 2 Apr 2005 02:38:14 -0500 Subject: Socket progamming Tutorial Message-ID: Are there any good tutorials on socket programming for revolution? Thanks Kevin From capellan2000 at yahoo.com Sat Apr 2 02:55:08 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 1 Apr 2005 23:55:08 -0800 (PST) Subject: [ANN] Bezier Line 2s Message-ID: <20050402075509.1694.qmail@web40521.mail.yahoo.com> Hi Developers, Download the stack Bezier Line 2s from: Another step in the bezier graphics direction... ;-) Now, you see a closed bezier graphic to play with. Use only the arrow tool that is provided with this stack to move the handles and points. Notice that the start point and the end point of the closed graphic could move in syncronization. This new functionality required only 3 lines of code... :-)) I'm sure that if some of you take the time to check the code, this stack could be better. Thanks in advance. al Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest From chipp at chipp.com Sat Apr 2 04:28:59 2005 From: chipp at chipp.com (Chipp Walters) Date: Sat, 02 Apr 2005 03:28:59 -0600 Subject: ImageData broken for small images... Message-ID: <424E65DB.8050603@chipp.com> I've got a problem and maybe someone here can help. I think this is probably a bug in the engine. import snapshot from rect 0,0,3,3 crashes Rev in WinXP and makes an image with no imageData on MacOSX (or any rectangle with either width <5 or height <5) So, I wrote a nifty routine to grab the imagedata from a rect. But, it turns out trying to set the imagedata of an image smaller than 5x5 won't work at all. It sets the imageData to empty instead. Confirmed on both Mac and PC. So, I thought, capture the image larger and then crop it. Again more crashes. Has anyone else a fix for this or should I just bugzilla it? TIA, Chipp From briany at qldlearning.com Sat Apr 2 04:57:36 2005 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 2 Apr 2005 01:57:36 -0800 Subject: ImageData broken for small images... In-Reply-To: <424E65DB.8050603@chipp.com> References: <424E65DB.8050603@chipp.com> Message-ID: <40f9d017ee27922d0a738be4f4c637d7@qldlearning.com> Sounds like 'Zilla material to me, but if you're desperate for a dirty workaround, you could try taking your 4x4 (or less) imageData and scaling it byte-by-byte to 8x8, and then scaling the target image object down again by 50%. You'd still have 8x8 imageData, but a 4x4 image... (like I said, dirty...). That should work at least if the small imageData is truly the source of engine problems. - Brian > I've got a problem and maybe someone here can help. I think this is > probably a bug in the engine. > > import snapshot from rect 0,0,3,3 > crashes Rev in WinXP and makes an image with no imageData on MacOSX > > (or any rectangle with either width <5 or height <5) > > So, I wrote a nifty routine to grab the imagedata from a rect. But, it > turns out trying to set the imagedata of an image smaller than 5x5 > won't work at all. It sets the imageData to empty instead. Confirmed > on both Mac and PC. > > So, I thought, capture the image larger and then crop it. Again more > crashes. Has anyone else a fix for this or should I just bugzilla it? > > TIA, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From preid at reidit.co.uk Sat Apr 2 05:16:34 2005 From: preid at reidit.co.uk (Peter Reid) Date: Sat, 2 Apr 2005 11:16:34 +0100 Subject: Multiple Line SQL for MySQL? In-Reply-To: References: <31cfc3ce8382e88a7bafbc2f9fa8ee47@genesearch.com.au> Message-ID: >I use an alternative trim function that operates faster and removes >excess space between words as well as at the start & end: > >function trim pText > put empty into tNew > repeat for each word w in pText > put w & space after tNew > end repeat > delete last char of tNew > return tNew >end trim > >Cheers, >Sarah Hi Sarah Thanks for the tips etc. things seem to be moving along with the MySQL-based project now. 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 preid at reidit.demon.co.uk Web: http://www.reidit.co.uk http://www.reidit.demon.co.uk From b.xavier at internet.lu Sat Apr 2 05:40:23 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 2 Apr 2005 12:40:23 +0200 Subject: ImageData broken for small images... In-Reply-To: <424E65DB.8050603@chipp.com> Message-ID: <20050402105352.427849300F9@mail.runrev.com> i wonder if this is related to http://support.runrev.com/bugdatabase/show_bug.cgi?id=2353 ? Although I get no crashes... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chipp Walters > Sent: Saturday, April 02, 2005 11:29 > To: Use-Revolution > Subject: ImageData broken for small images... > > I've got a problem and maybe someone here can help. I think > this is probably a bug in the engine. > > import snapshot from rect 0,0,3,3 > crashes Rev in WinXP and makes an image with no imageData on MacOSX > > (or any rectangle with either width <5 or height <5) > > So, I wrote a nifty routine to grab the imagedata from a > rect. But, it turns out trying to set the imagedata of an > image smaller than 5x5 won't work at all. It sets the > imageData to empty instead. Confirmed on both Mac and PC. > > So, I thought, capture the image larger and then crop it. > Again more crashes. Has anyone else a fix for this or should > I just bugzilla it? > > TIA, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tominjapan at excite.com Sat Apr 2 06:56:56 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Sat, 2 Apr 2005 06:56:56 -0500 (EST) Subject: Python and Rev Message-ID: <20050402115656.21245B708@xprdmailfe14.nwk.excite.com> Note I didn't say Python "versus" Rev. I'm not about to abandon the enviroment that makes my life so easy if not darn pleasant ;-) I'm interested if Python and Rev can work together. Python seems good at some of the lower level stuff that Rev can't touch (like COM). Does anyone have experience with Python in general and connecting it to Rev in particular? many thanks in advance. tom mccarthy _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From tominjapan at excite.com Sat Apr 2 07:00:11 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Sat, 2 Apr 2005 07:00:11 -0500 (EST) Subject: iTunes to control Audio CDs Message-ID: <20050402120011.6BD4CB708@xprdmailfe14.nwk.excite.com> A while back I asked the list about shell scripts/externals that would allow me to control Audio CD playback the way mciSendString can do on Windows. No reply from the list. Also doing a web search of OSX shell scripts did not turn up anything promising. Then it ocurred to me that iTunes might be AppleScriptable to control an Audio CD. Any thoughts? tom mccarthy _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From hannu.kokko at iki.fi Sat Apr 2 07:26:19 2005 From: hannu.kokko at iki.fi (Hannu Kokko) Date: Sat, 02 Apr 2005 15:26:19 +0300 Subject: iTunes to control Audio CDs In-Reply-To: <20050402120011.6BD4CB708@xprdmailfe14.nwk.excite.com> Message-ID: Itunes is Applescriptable. Take a look at http://www.dougscripts.com/itunes/index.php. There might be some examples for you among the numerous scripts in there --h On 2.4.2005 15:00, "Thomas McCarthy" wrote: > > A while back I asked the list about shell scripts/externals that would allow > me to control Audio CD playback the way mciSendString can do on Windows. No > reply from the list. Also doing a web search of OSX shell scripts did not turn > up anything promising. > > Then it ocurred to me that iTunes might be AppleScriptable to control an Audio > CD. > > Any thoughts? > tom mccarthy > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Hannu Kokko "99,5% ain't enough" From klaus at major-k.de Sat Apr 2 07:56:35 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 2 Apr 2005 14:56:35 +0200 Subject: iTunes to control Audio CDs In-Reply-To: <20050402120011.6BD4CB708@xprdmailfe14.nwk.excite.com> References: <20050402120011.6BD4CB708@xprdmailfe14.nwk.excite.com> Message-ID: Hi Thomas, > A while back I asked the list about shell scripts/externals that would > allow me to control Audio CD playback the way mciSendString can do on > Windows. No reply from the list. Also doing a web search of OSX shell > scripts did not turn up anything promising. > > Then it ocurred to me that iTunes might be AppleScriptable to control > an Audio CD. why not use player objects in Rev on OS X? Quicktime plays/treats Audio-CD tracks as AIFF :-) Just tested, no problems! (!play ac "track on CD" however resulted in the beachball of death ;-) > Any thoughts? > tom mccarthy Best Klaus Major klaus at major-k.de http://www.major-k.de From graham.samuel at wanadoo.fr Sat Apr 2 07:58:18 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Sat, 2 Apr 2005 14:58:18 +0200 Subject: When is a menu not a menu? Message-ID: I know that menus are really buttons, but in the documentation there is an example: disable menu "Text" which implies that you can use the term 'menu' as being more descriptive. However, I found out that put exists(menu "myMenu" of grp "Main_Menu" of cd "Main" of stack "Main_Display") results in 'false', whereas put exists(btn "myMenu" of grp "Main_Menu" of cd "Main" of stack "Main_Display") returns 'true' In what circumstances does RR allow me to use the term 'menu' as a synonym for button? Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From 3mcgrath at adelphia.net Sat Apr 2 08:00:55 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 2 Apr 2005 08:00:55 -0500 Subject: iTunes to control Audio CDs In-Reply-To: References: Message-ID: <55ff74460bca9b5af5658a323e5ac26b@adelphia.net> Also, check out the Apple website and download the itunes scripts at: Website: http://www.apple.com/applescript/itunes/index.html Download scripts: http://images.apple.com/applescript/itunes/itunes-scripts.OSX.sit And, Macscripter.net at: http://scriptbuilders.net/category.php?search=itunes Tom On Apr 2, 2005, at 7:26 AM, Hannu Kokko wrote: > Itunes is Applescriptable. Take a look at > http://www.dougscripts.com/itunes/index.php. There might be some > examples > for you among the numerous scripts in there > > --h > > > On 2.4.2005 15:00, "Thomas McCarthy" wrote: > >> >> A while back I asked the list about shell scripts/externals that >> would allow >> me to control Audio CD playback the way mciSendString can do on >> Windows. No >> reply from the list. Also doing a web search of OSX shell scripts did >> not turn >> up anything promising. >> >> Then it ocurred to me that iTunes might be AppleScriptable to control >> an Audio >> CD. >> >> Any thoughts? >> tom mccarthy >> >> _______________________________________________ >> Join Excite! - http://www.excite.com >> The most personalized portal on the Web! >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > Hannu Kokko > "99,5% ain't enough" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Sat Apr 2 08:16:58 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 2 Apr 2005 08:16:58 -0500 Subject: When is a menu not a menu? In-Reply-To: References: Message-ID: <5a0f324ff02d127216379ca273e014cf@adelphia.net> I don't know all places but, the name of menu 1 -- evaluates to "button "File"" if "File" is your first menu doMenu "New Card" of menu "Object" disable menuItem 2 of menu "Styles" disable menu "Objects" disable menu 1 set the decorations of stack "Help" to "menu,maximize" set the enabled of menu "Window" to false enable menu 2 enable menuItem 3 of menu "Text" select menuItem 2 of menu "File" and menus: lock menus if the lockScreen then lock menus unlock menus if the lockScreen is false then unlock menus HTH Tom On Apr 2, 2005, at 7:58 AM, graham samuel wrote: > In what circumstances does RR allow me to use the term 'menu' as a > synonym for button? > > Graham > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From alex at tweedly.net Sat Apr 2 08:18:49 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 02 Apr 2005 14:18:49 +0100 Subject: Socket progamming Tutorial In-Reply-To: References: Message-ID: <424E9BB9.9040303@tweedly.net> Kevin J wrote: >Are there any good tutorials on socket programming for revolution? > > > There's one in the video tutorials - see "Internet chat" on http://support.runrev.com/tutorials/projects.php or in the "Samples" section of VideoTutorials in RevOnline. I have no idea how good or bad the video is - slow connection so I can't reasonably view it. I did download the PDF, and frankly it is not much use (actually, it's much worse than that - "useless" would more accurately describe how I feel about it. It's like a very brief overview on how to run the application - not on how to develop or script it. I hope you've got a high-speed connection, and the video is better. But at least you should be able to get the script of the stack to look at (I know they're supposed to be on-line - but the PDF doesn't say where. Sigh) That's for TCP sockets - for UDP (datagram) sockets there's my sample : in RevOnline, under my username "alextweedly" there are sample client and server echo stacks. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From 3mcgrath at adelphia.net Sat Apr 2 08:23:38 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 2 Apr 2005 08:23:38 -0500 Subject: When is a menu not a menu? In-Reply-To: References: Message-ID: WOW, don't look at the word menu too long. It starts to play with your head. I mean with a capitol M it is OK as in Menu. but as a lower case it is one of those words that becomes strange when you look at it too long. menu is the name for a menu but when you use a menu and put it in quotes as in "menu" or "menu,maximize" or say menu "Object" or menu "Styles" then the menu starts to look like menu from some strange language where menu actually means menu or menu as we say here but never say menu or menu cause that's just wrong. menu, menu, menu, menu, menu, menu, menu, menu, menu menu menu menu menu menu menu menu menu menu menu, menu, menu, menu, menu, menu, menu, menu, menu menu menu menu menu menu menu menu menu menu menu, menu, menu, menu, menu, menu, menu, menu, menu menu menu menu menu menu menu menu menu menu menu menu menu menu menu menu menu menu menu Tom On Apr 2, 2005, at 7:58 AM, graham samuel wrote: > menu Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From alex at tweedly.net Sat Apr 2 08:25:28 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 02 Apr 2005 14:25:28 +0100 Subject: Python and Rev In-Reply-To: <20050402115656.21245B708@xprdmailfe14.nwk.excite.com> References: <20050402115656.21245B708@xprdmailfe14.nwk.excite.com> Message-ID: <424E9D48.7070009@tweedly.net> Thomas McCarthy wrote: >Note I didn't say Python "versus" Rev. I'm not about to abandon the enviroment that makes my life so easy if not darn pleasant ;-) > >I'm interested if Python and Rev can work together. Python seems good at some of the lower level stuff that Rev can't touch (like COM). > >Does anyone have experience with Python in general and connecting it to Rev in particular? > > Yes to both. In fact, in the next day or so, I'm going to send in the second half of my "How to use IP multicast in Rev" description, which describes my Python-based solution ..... I've done two or three such projects - Python for either low-level access, or because it has much better access to existing libraries, and then using sockets to interface to Rev. None of them (except the multicast case above) is in a fit state to show anyone else, but that was because of changes in plans or interest rather than any issues using Python and Rev together. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From rcozens at pon.net Sat Apr 2 10:06:42 2005 From: rcozens at pon.net (Rob Cozens) Date: Sat, 02 Apr 2005 07:06:42 -0800 Subject: When is a menu not a menu? In-Reply-To: References: Message-ID: <6.2.1.2.1.20050402065702.01e16b38@pop3.pon.net> Hi Graham, >I found out that > > put exists(menu "myMenu" of grp "Main_Menu" of cd "Main" of stack > "Main_Display") > >results in 'false', whereas > > put exists(btn "myMenu" of grp "Main_Menu" of cd "Main" of stack > "Main_Display") > >returns 'true' > >In what circumstances does RR allow me to use the term 'menu' as a synonym >for button? Question: What response do you get to 'put exists(menu "My Menu")' when the menubar is active? One thing I can tell you with certainty--references to any menu or menuItem will fail in preopenStack handlers. It appears to me that Rev does not recognize any menu until after preopenCard logic has run; so whenever I need to change a menuItem during preopenStack logic, I find it is necessary to reference the control as a button instead of a menu. Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From martin at materiaprima.fsnet.co.uk Sat Apr 2 10:22:32 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Sat, 02 Apr 2005 16:22:32 +0100 Subject: When is a menu not a menu? In-Reply-To: Message-ID: >I know that menus are really buttons, but in the documentation there >is an example: > > disable menu "Text" > >which implies that you can use the term 'menu' as being more >descriptive. However, I found out that > > put exists(menu "myMenu" of grp "Main_Menu" of cd "Main" of stack >"Main_Display") > >results in 'false', whereas > > put exists(btn "myMenu" of grp "Main_Menu" of cd "Main" of stack >"Main_Display") > >returns 'true' > >In what circumstances does RR allow me to use the term 'menu' as a >synonym for button? > >Graham Hi Graham, I got quite confused about this too at first, but it was explained to me that menu "menuName" always refers to a menu in the *active* menu, whereas button "whatever" of cd "cdname" addresses the object specifically. I think the usage is meant to be that if you specifically want to do something to, or test something in, the active menu, whatever it happens to be, then you can use the "menu" syntax. On the other hand if you are trying to affect a specific menu button object, then use that form. I found this out when trying to set up a stack's menus in preopenstack. At that time they are not yet active, and you need to refer to the button objects explicitly. I think that if you do put exists(menu "myMenu") you would get true if such a menu were in the active menu bar and false if not. HTH Martin Baxter From webmaster at dreamscapesoftware.com Sat Apr 2 11:23:28 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 02 Apr 2005 10:23:28 -0600 Subject: shell() not waiting - not hiding Message-ID: <424EC700.9000901@dreamscapesoftware.com> In the documentation the shell() function explains that if you use the "get shell()" or "put shell()" methods that it will wait for a result code back from the program before continuing. Right now I'm working with the InnoSetup console compiler, and though it works great, my script is not waiting. In the end, I've been putting in a "wait for 10 seconds" line in my script. Also, even if I set showConsoleWindows to false, they still show. I tried locking the screen. Setting the shellCommand first. Nothing seems to be working, yet I use the showConsoleWindows property in many of my scripts and they are all working fine. Is it safe to assume that this is not a problem with Revolution, and it is somehow related to how the InnoSetup compiler is passing information? Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From capellan2000 at yahoo.com Sat Apr 2 11:45:25 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 2 Apr 2005 08:45:25 -0800 (PST) Subject: ANN Nine Ball with Spin (English) In-Reply-To: <20050402080826.0C2739300F2@mail.runrev.com> Message-ID: <20050402164525.4129.qmail@web40511.mail.yahoo.com> Hi Jim, Your have make better an already excellent stack! Greetings!!! :-) Like everyone, i have my wish list for your stack. ;-) This is my wish list for future versions of Nine Ball: 1- An undo command to place all the balls in their previous position after a shot. In real life this an impossible feature, but in the computer this is possible, by storing the loc of all the balls before a shot. 2- A floating console (or substack) that shows the numerical quantities of the variables that player is applying in a shot... this does not sound like much fun, but permits (with the undo option) to learn eventually how works forces in movement. 3- A pool Genie. This is a feature that suggest a shot to the player, with previews of outcomes of diverses shots. Yes, i know what you are thinking but this is not cheating. Consider this like a player in the computer... Thanks a lot for this real fun simulation! Keep up your goood work! al on Fri, 1 Apr 2005 Jim Hurley Wrote: > I couldn't resist adding spin (English) to Nine Ball. > [snip] > go url "http://home.infostations.net/jhurley/NineBallWithSpin.rev" > I have taken the liberty of including Scott Rossi's > wonderful graphics. Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest From b.xavier at internet.lu Sat Apr 2 12:01:54 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 2 Apr 2005 19:01:54 +0200 Subject: shell() not waiting - not hiding In-Reply-To: <424EC700.9000901@dreamscapesoftware.com> Message-ID: <20050402171518.4D6379300EE@mail.runrev.com> you can compare with which is my NT GUI shell example stack. It works fine here ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Derek Bump > Sent: Saturday, April 02, 2005 18:23 > To: How to use Revolution > Subject: shell() not waiting - not hiding > > In the documentation the shell() function explains that if > you use the "get shell()" or "put shell()" methods that it > will wait for a result code back from the program before continuing. > > Right now I'm working with the InnoSetup console compiler, > and though it works great, my script is not waiting. In the > end, I've been putting in a "wait for 10 seconds" line in my script. > > Also, even if I set showConsoleWindows to false, they still > show. I tried locking the screen. Setting the shellCommand > first. Nothing seems to be working, yet I use the > showConsoleWindows property in many of my scripts and they > are all working fine. > > Is it safe to assume that this is not a problem with > Revolution, and it is somehow related to how the InnoSetup > compiler is passing information? > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Images Easily with JPEGCompress 2.5 > http://www.dreamscapesoftware.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From index at kenjikojima.com Sat Apr 2 13:04:35 2005 From: index at kenjikojima.com (=?ISO-2022-JP?B?S2VuamkgS29qaW1hIC8gGyRCPi5FZzdyPCMbKEI=?=) Date: Sat, 2 Apr 2005 13:04:35 -0500 Subject: shell() not waiting - not hiding In-Reply-To: <424EC700.9000901@dreamscapesoftware.com> References: <424EC700.9000901@dreamscapesoftware.com> Message-ID: <0d134e118ba5d3dc496f73a3bb5f5c76@kenjikojima.com> On Apr 2, 2005, at 11:23 AM, Derek Bump wrote: > In the documentation the shell() function explains that if you use the > "get shell()" or "put shell()" methods that it will wait for a result > code back from the program before continuing. > > Right now I'm working with the InnoSetup console compiler, and though > it works great, my script is not waiting. In the end, I've been > putting in a "wait for 10 seconds" line in my script. > > Also, even if I set showConsoleWindows to false, they still show. I > tried locking the screen. Setting the shellCommand first. Nothing > seems to be working, yet I use the showConsoleWindows property in many > of my scripts and they are all working fine. I have same problem. Not always, then I cannot specify when I have. I remembered that I made a standalone and run the program. I had this problem. I had to quit. Second time when the standalone program run, I did not have the problem. But the copy of the standalone had the problem. I made another standalone. The new one did not have. I had the problem another time, but did not remember clearly. Revolution 2.5.1 and Windows XP Home Edition. Shell script was http://www.sonsothunder.com/devres/metacard/tips/file009.htm -- Kenji Kojima http://www.kenjikojima.com/ From scott at tactilemedia.com Sat Apr 2 13:35:17 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 02 Apr 2005 10:35:17 -0800 Subject: iTunes to control Audio CDs In-Reply-To: <20050402120011.6BD4CB708@xprdmailfe14.nwk.excite.com> Message-ID: Recently, Thomas McCarthy wrote: > A while back I asked the list about shell scripts/externals that would allow > me to control Audio CD playback the way mciSendString can do on Windows. No > reply from the list. Also doing a web search of OSX shell scripts did not turn > up anything promising. You might try here: http://www.tactilemedia.com/conductor/ Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at tweedly.net Sat Apr 2 14:17:27 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 02 Apr 2005 20:17:27 +0100 Subject: Rev, sockets, IP Multicast Part II In-Reply-To: <424B4F52.5020704@tweedly.net> References: <424B4F52.5020704@tweedly.net> Message-ID: <424EEFC7.5090102@tweedly.net> In part one, I briefly explained one reason why it would be native to have support for IP multicast in Rev - it provides very clean, easy solutions for certain types of problems. But how can we use IP Multicast when Rev doesn't support it ? [Remember - we can send multicast packets - it's only receiving them that is unsupported.] First obvious answer is to submit a Bugzilla request for multicast support - but quite honestly I don't see it as being a top priority for RR to do. Even as a multicast enthusiast and advocate, I can't see adding this feature as a high priority for RunRev. Second obvious solution is to write an external - but that sounds hard; I've barely written my first trivial external, and this one would need to generate asynchronous callbacks, etc. - so I decided it was the wrong thing to try for my first real external. Then the recent discussion about the possibility of solving a problem using multiple tools, with sockets to communicate between them gave me the third obvious solution. I've now written a "multicast bridge" - a program which can be run as a "server", accepts commands (on a UDP socket) to listen to a multicast group/port, and forwards everything each packet it receives to a specified UDP unicast port. You'd need only a single copy of this running on each machine - and any or all Rev apps which wanted to receive multicast packets could make use of it. I wrote this in Python - though it could easily be translated to C or C++ - but life really is too short for that; the Python version works just fine, and will handle reasonable packet rates. The application (in Rev, or any other language without native multicast support) sends commands to the "bridge" requesting that any packets it (the bridge) receives on a particular IP multicast group / port combination should be forwarded to the (unicast) IP address / port specified by the app. Normally, the app and bridge should be on the same machine - in fact, the default mode in the "bridge" is to only allow this case. Caveats: 1. IP Multicast is not universally supported on networks - so check that it is available everywhere you need it before committing to using it in a project. 2. The multicast "bridge" is a potential security hole if used carelessly - keep to the default Secure mode or if you need the flexibility. implement some real security such as md5 shared secrets (this is pretty simple - if you want to do it, let me know and I'll post the extended version of the bridge code and client stack). I'll try to post the sample client stack to RevOnline (as soon as I figure out how to do that without overwriting one of my existing stacks). I can't post the Python code for the multicast bridge there - so it is available from my web site, as is the Rev stack. The bridge code is at www.tweedly.net/RunRev/mcast-bridge.pyt A very simple python test program is at www.tweedly.net/RunRev/mcast-client.pyt A similarly simple test stack is at www.tweedly.net/RunRev/mcastclient.rev If you've never used Python - download a (free) copy (www.python.org), it's easy enough to use. Feel free to email me (on- or off-list) if you run into any problems, or have any questions. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From pixelbird at interisland.net Sat Apr 2 14:58:18 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sat, 2 Apr 2005 11:58:18 -0800 Subject: ANN Nine Ball with Spin (English) In-Reply-To: <20050401191244.AE55A9300CC@mail.runrev.com> References: <20050401191244.AE55A9300CC@mail.runrev.com> Message-ID: <653cb6308e32d58910df7e88a7ba2f34@interisland.net> Hi Jim. > > So I hope this works: > > go url "http://home.infostations.net/jhurley/NineBallWithSpin.rev" I get lines of gobbeley gook and then what looks like a bunch of handlers. It doesn't download a working stack, nor a built app, if that's what's supposed to happen. All the best, Ken N. From webmaster at dreamscapesoftware.com Sat Apr 2 15:04:23 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 02 Apr 2005 14:04:23 -0600 Subject: shell() not waiting - not hiding In-Reply-To: <20050402171518.4D6379300EE@mail.runrev.com> References: <20050402171518.4D6379300EE@mail.runrev.com> Message-ID: <424EFAC7.6000400@dreamscapesoftware.com> > you can compare with > which is my NT GUI shell example stack. I downloaded and tried it, and as I expected, it works just fine. But I still have the same issue with the consoleWindow appearing, and the shell() function not waiting. I'm just not sure what it is. And as Kenji mentioned, it's usually hit or miss, which leads me to believe that something is screwed up somewhere. :) Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From scott at tactilemedia.com Sat Apr 2 15:04:41 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 02 Apr 2005 12:04:41 -0800 Subject: ANN Nine Ball with Spin (English) In-Reply-To: <653cb6308e32d58910df7e88a7ba2f34@interisland.net> Message-ID: Recently, Ken Norris wrote: >> go url "http://home.infostations.net/jhurley/NineBallWithSpin.rev" > > I get lines of gobbeley gook and then what looks like a bunch of > handlers. It doesn't download a working stack, nor a built app, if > that's what's supposed to happen. Make sure you didn't just click the link -- you need the entire line in your message box, not a Web browser: go url "http://home.infostations.net/jhurley/NineBallWithSpin.rev" If you still have a problem with the entire line, just try again. There is an intermittent bug with retrieving stacks from URLs. 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 Apr 2 16:57:15 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 2 Apr 2005 14:57:15 -0700 Subject: Rev, sockets, IP Multicast Part II In-Reply-To: <424EEFC7.5090102@tweedly.net> References: <424B4F52.5020704@tweedly.net> <424EEFC7.5090102@tweedly.net> Message-ID: On Apr 2, 2005, at 12:17 PM, Alex Tweedly wrote: > But how can we use IP Multicast when Rev doesn't support it ? I have a vague memory of the other Alex writing an external. I have made a mock multicast using UDP. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From dsc at swcp.com Sat Apr 2 17:35:20 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 2 Apr 2005 15:35:20 -0700 Subject: shell() not waiting - not hiding In-Reply-To: <424EC700.9000901@dreamscapesoftware.com> References: <424EC700.9000901@dreamscapesoftware.com> Message-ID: <08d1311405176a4d1e5998442a229b43@swcp.com> On Apr 2, 2005, at 9:23 AM, Derek Bump wrote: > In the documentation the shell() function explains that if you use the > "get shell()" or "put shell()" methods that it will wait for a result > code back from the program before continuing. > > Right now I'm working with the InnoSetup console compiler, and though > it works great, my script is not waiting. Perhaps, it is writing to the console instead of stdout. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From capellan2000 at yahoo.com Sat Apr 2 18:13:52 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 2 Apr 2005 15:13:52 -0800 (PST) Subject: Problem solving methods in software development In-Reply-To: <20050402170015.C2877930146@mail.runrev.com> Message-ID: <20050402231352.83278.qmail@web40512.mail.yahoo.com> Hi David, David Vaughan wrote: > I think it is inappropriate for Rev > or indeed for any other language of creative > expression. Sure, we see the same question asked > again (and again) but that is often helpful > to newbies. And what happens when nobody offers an answer to common question... for example, look at this message No public answer, and looks like a very common task, that anyone could have tried before. By the way, if someone think that syncronizing sounds with balls movements in Jim Hurley's Nine Ball stack could be a very straightforward task to do... sorry to dissapoint... but actually is not. > More importantly, I see different answers touching > on nuances of the original problem, or simply > stylistically different ways of doing the same thing > (and everyone has style preferences). I completely agree :-) > So, when is a thread to be closed? When a functional answer is offered and accepted. So, Did anyone remember which forums identified the problem solving approach used to solve the problem or respond the question... Thanks in advance. al On Friday 01/04/2005, at 19:05, Alejandro Tejada wrote: > Hi Developers, > > Long time ago, surfing the net i found a forum, > where the administrator supervised the threads > and when a question was responded correctly or a > problem was solved, he (or she) closed the > message thread and added a message after the > thread that identified the problem solving > approach used to solve the problem or > respond the question... > > Did anyone remember which forums use this > approach? Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest From graham.samuel at wanadoo.fr Sat Apr 2 19:05:25 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Sun, 3 Apr 2005 02:05:25 +0200 Subject: Bug reports in standalones Message-ID: <027dbfd14326f979607182266ff2a72a@wanadoo.fr> This looks like a great facility but I haven't found any instructions about how to use it. For example, can I get the text of the error to appear on the screen? How is the email feature implemented (I didn't seem to get any of the emails)? The 'save report to file' is working well, but I'd just like to understand it a bit more... Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From tagged2000 at yahoo.com Sat Apr 2 20:09:09 2005 From: tagged2000 at yahoo.com (Rick Wood) Date: Sat, 2 Apr 2005 17:09:09 -0800 (PST) Subject: My Revolution Game Released Message-ID: <20050403010909.12521.qmail@web52303.mail.yahoo.com> I posted an early alpha version late last year on the revolution list. Now Im proud to announce that the game has been completed and released on my website. Along with it is the source code (stack file) so people can look into the code if they wish! You will need to download either the windows or Mac OSX game (~30MB) and source code and place the .rev file in the installed game directory, otherwise you might get some errors and no graphics will show. http://www.taggedsoftware.com I must admit some sections of code are more of a dirty hack than a clean code. I haven't optimized the code either, but I am working on releasing a new version at the end of the year with many improvements and optimizations. So feel free to email me (or post on the list) about sections of my code that you feel could be tweaked. Jeremy jeremy at taggedsoftware.com __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com From scott at tactilemedia.com Sat Apr 2 20:45:13 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 02 Apr 2005 17:45:13 -0800 Subject: Problem solving methods in software development In-Reply-To: <20050402231352.83278.qmail@web40512.mail.yahoo.com> Message-ID: Recently, Alejandro Tejada wrote: > By the way, if someone think that syncronizing > sounds with balls movements in Jim Hurley's Nine Ball > stack could be a very straightforward task to do... > sorry to dissapoint... but actually is not. If you use player objects, it can be done. You could probably get away with 3 or 4 players, with code to monitor the availability of each, and it would probably be most authentic to have a separate sound for the initial break, but it could be done. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From 3mcgrath at adelphia.net Sat Apr 2 22:18:08 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 2 Apr 2005 22:18:08 -0500 Subject: Problem solving methods in software development In-Reply-To: <20050402231352.83278.qmail@web40512.mail.yahoo.com> References: <20050402231352.83278.qmail@web40512.mail.yahoo.com> Message-ID: <2e3dae5f6b2cac182897f22e64466cca@adelphia.net> I just added this line to sound/speak when a ball is hit: revspeak "OUCH" -- which could be replaced with a sound for sure right after this part and IT WORKS here if tDistList is not empty then put min(tDistList) into sMin put tCollArray[sMin] into j revspeak "OUCH" On Apr 2, 2005, at 6:13 PM, Alejandro Tejada wrote: > By the way, if someone think that syncronizing > sounds with balls movements in Jim Hurley's Nine Ball > stack could be a very straightforward task to do... > sorry to dissapoint... but actually is not. Thomas J McGrath III 3mcgrath at adelphia.net 412-831-3094 220 Drake Road Bethel Park, PA 15102 <*)) >=< "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways - a Cigar in one hand - a large steak in the other - your body thoroughly used up, totally worn out, and screaming - WOO HOO! What a Ride!" From 3mcgrath at adelphia.net Sat Apr 2 22:20:30 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 2 Apr 2005 22:20:30 -0500 Subject: Problem solving methods in software development In-Reply-To: <2e3dae5f6b2cac182897f22e64466cca@adelphia.net> References: <20050402231352.83278.qmail@web40512.mail.yahoo.com> <2e3dae5f6b2cac182897f22e64466cca@adelphia.net> Message-ID: <78e036a7b56c65becc866a98524b7f7d@adelphia.net> I also put this in to announce a pocket: repeat with i = 0 to 9 put "ball" & i into tMoving repeat for each item tItem in tPocketList if within(grc tItem,the loc of button tMoving) then revspeak "You got one" -- ------- right here On Apr 2, 2005, at 10:18 PM, Thomas McGrath III wrote: > I just added this line to sound/speak when a ball is hit: > > revspeak "OUCH" -- which could be replaced with a sound for sure > > right after this part and IT WORKS here > > if tDistList is not empty then > put min(tDistList) into sMin > put tCollArray[sMin] into j > revspeak "OUCH" > > > On Apr 2, 2005, at 6:13 PM, Alejandro Tejada wrote: > >> By the way, if someone think that syncronizing >> sounds with balls movements in Jim Hurley's Nine Ball >> stack could be a very straightforward task to do... >> sorry to dissapoint... but actually is not. > > Thomas J McGrath III > 3mcgrath at adelphia.net > > 412-831-3094 > 220 Drake Road > Bethel Park, PA 15102 > > <*)) >=< > "Life should NOT be a journey to the grave with the intention of > arriving safely in an attractive and well preserved body, but rather > to skid in sideways - a Cigar in one hand - a large steak in the other > - your body thoroughly used up, totally worn out, and screaming - WOO > HOO! What a Ride!" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From jperryl at ecs.fullerton.edu Sun Apr 3 00:18:20 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 2 Apr 2005 21:18:20 -0800 (PST) Subject: Python and Rev In-Reply-To: <20050402115656.21245B708@xprdmailfe14.nwk.excite.com> Message-ID: I dunno, either, but as my husband is a Python geek, I'm keen to know as well! Judy On Sat, 2 Apr 2005, Thomas McCarthy wrote: > > Note I didn't say Python "versus" Rev. I'm not about to abandon the enviroment that makes my life so easy if not darn pleasant ;-) > > I'm interested if Python and Rev can work together. Python seems good at some of the lower level stuff that Rev can't touch (like COM). > > Does anyone have experience with Python in general and connecting it to Rev in particular? From revdan at danshafer.com Sun Apr 3 01:44:25 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 2 Apr 2005 22:44:25 -0800 Subject: Python and Rev In-Reply-To: References: Message-ID: <5b80db73a4179f2a1f5c776f4fa0ddd5@danshafer.com> Back in the early days when I was beginning to explore Rev and was doing a good bit of Python work, I remember experimenting with calling Python scripts from Rev using the shell() command and having some success. I suspect that approach has some real potential when we want to do things in Rev that are down at a lower level than Rev normally reaches or when we want to do something at which Python is just better (perhaps, e.g., XML parsing). On Apr 2, 2005, at 9:18 PM, Judy Perry wrote: > I dunno, either, but as my husband is a Python geek, I'm keen to know > as > well! > > Judy > > On Sat, 2 Apr 2005, Thomas McCarthy wrote: > >> >> Note I didn't say Python "versus" Rev. I'm not about to abandon the >> enviroment that makes my life so easy if not darn pleasant ;-) >> >> I'm interested if Python and Rev can work together. Python seems good >> at some of the lower level stuff that Rev can't touch (like COM). >> >> Does anyone have experience with Python in general and connecting it >> to Rev in particular? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From b.xavier at internet.lu Sun Apr 3 03:37:34 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 3 Apr 2005 09:37:34 +0200 Subject: Python and Rev In-Reply-To: <5b80db73a4179f2a1f5c776f4fa0ddd5@danshafer.com> Message-ID: <20050403075056.38916930075@mail.runrev.com> > > Back in the early days when I was beginning to explore Rev > and was doing a good bit of Python work, I remember > experimenting with calling Python scripts from Rev using the > shell() command and having some success. I suspect that > approach has some real potential when we want to do things in > Rev that are down at a lower level than Rev normally reaches > or when we want to do something at which Python is just > better (perhaps, e.g., XML parsing). Im shure that once we find a vector of action (shell calls or open process or sockets or file-level data-sharing for example) we could integrate a library to make python easy to call from RunRev like I do in WinNT administration! This is the way i managed other programming languages or shell interfaces in TAOO: For example the C function foobar is the same as the Rev script function foobar. (it could be a plotxy() or log10 function that doesn't exist in rev as well. We can do the same for functions that call Python (or whatever script language) functions. The variables, parameters and output formats equally use the same naming and the formats where applicable/practical. So in the end you end up with scripts and functions in Rev or any language that are sometimes exactly the same and can easily correspond across applications, IAC agents or network connections. This way you can transliterate code much easier - a crossplatform-code design principle that's quite a cool thing to do. The next step is making that work across the two environment without blocking either environment (a big shell limitation that could have been implemented as sockets were (do shell(x) with message shelldone). But that depends on how you want to process the info, etc... So that covers the operation across IDEs but not how to manage objects or actions across the two IDEs or runtimes. The data exchange is dependent only on what you need to transfer. But whatever is fastest is usually the best. XML is a good solution but is Rev's XML compatible with Python's? It may be simpler to roll out your own... Sometimes a simple cvs or tab format text is enough... Since you can't really send messages to RunRev from other programs (on pcs - without relaunching a new runrev exe???), the output can be a transaction log listed file by file in a process queue folder (a zillion advantages over other methods imoho) or an sql database! I like files because they are easy and simple and are much faster, safer and distributed processing capable! I haven't done a language library in Rev for Python yet for code interchange but I can share the template stack so you can make one for yourself... C java, javascript, php, flash are available. Only C is most complete but not extensively so. If there is interest in a python to transcript translation matrix or if you have one already, I might make some cool tools end of next week for it! Cheers Xavier From klaus at major-k.de Sun Apr 3 07:36:12 2005 From: klaus at major-k.de (Klaus Major) Date: Sun, 3 Apr 2005 13:36:12 +0200 Subject: BGs Message-ID: <37a409900cd24cf3052655fd28392158@major-k.de> Hi friends, short question: I have 2 groups whith their "backgroundbehaviour" set to false!!! They are not placed on any card, but same result, if theiy are already placed on some OTHER cards... Now i do: create cd place bg "eins" onto this cd on a card where there is NO bg placed yet! Works fine, BUT NOW bg "eins" has its "backgroundbehaviour" set to TRUE all of a sudden??? Could someone give a hint if this is the desired behaviour? I don't think so... But it is getting even stranger :-/ NEW stack with 2 bgs and NO bg behaviour!!!! on mouseUp create cd place bg "eins" onto this cd set the backgroundbehaviour of bg "eins" to false put the backgroundbehaviour of bg "eins" end mouseUp Puts "false" into the messagebox BUT the INSPECTOR tells me that it is TRUE!!!??? The checkbox is checked!!!!????? And if i fire a "create cd" on this new card, i have the bg "eins" on the new card, so the inspector is correct!!!!!!!!!??????? Any hints are very welcome... Regards Klaus Major klaus at major-k.de http://www.major-k.de From douez at wanadoo.fr Sun Apr 3 08:43:08 2005 From: douez at wanadoo.fr (thierry) Date: Sun, 3 Apr 2005 14:43:08 +0200 Subject: Python and Rev In-Reply-To: <5b80db73a4179f2a1f5c776f4fa0ddd5@danshafer.com> References: <5b80db73a4179f2a1f5c776f4fa0ddd5@danshafer.com> Message-ID: <1557216683.20050403144308@wanadoo.fr> Hi, DS> Back in the early days when I was beginning to explore Rev and was DS> doing a good bit of Python work, I remember experimenting with calling DS> Python scripts from Rev using the shell() command and having some DS> success. I suspect that approach has some real potential when we want DS> to do things in Rev that are down at a lower level than Rev normally DS> reaches or when we want to do something at which Python is just better DS> (perhaps, e.g., XML parsing). Don't know if you will be happy with this, but let's go :-) The last BIG project i've made with Rev is based on a full communication between Rev and Perl ( well, not Python ) but it is so similar in so many ways. I did a lot of tries with all the commands and functions we have in Rev, and after a lot of headackes, coffee and Hints from this list, i made a PerlSocket library in Rev and a RevSocket package in Perl and they talk and talk for ever :-) i start by launching Perl from Rev with some parameters , one is the port number for the sockets. Then i can exchange Information both way, working *only* with sockets... For instance, i can do in Perl SetaRevProperty( "PerlScript", \$BA ) ; which will end by : Set the Perlscript of theProject to tData , in Rev side. All this works like a swiss clock :-) At the beginning, i was mixing sockets message and process read and write; it was working well, but from this list i've seen so many *bad* remarks concerning exchanging datas with the open process for update, that i decided to only use sockets. This has been tested *thousands* of time before delivering my project, and it's used daily by a team in a genetic research centre. BUT, i did make it work only on PC machines ( Win98 and NT and w2k ). Anyway, all this could have be done with Python or C/C++ or whatever ! When i had time, i will be very happy to write about this more in details for the community... well, if some are interested :-) Are you ? Hope that helps, thierry >>> Note I didn't say Python "versus" Rev. I'm not about to abandon the >>> enviroment that makes my life so easy if not darn pleasant ;-) >>> >>> I'm interested if Python and Rev can work together. Python seems good >>> at some of the lower level stuff that Rev can't touch (like COM). >>> >>> Does anyone have experience with Python in general and connecting it >>> to Rev in particular? >> From douez at wanadoo.fr Sun Apr 3 08:43:44 2005 From: douez at wanadoo.fr (thierry) Date: Sun, 3 Apr 2005 14:43:44 +0200 Subject: set a prop after get url a stackfile In-Reply-To: <4a8abd8930ab5e7ee7bfb26f1734d6af@wanadoo.fr> References: <20050401191245.82DF8930070@mail.runrev.com> <4a8abd8930ab5e7ee7bfb26f1734d6af@wanadoo.fr> Message-ID: <367691224.20050403144344@wanadoo.fr> Hi Eric, Dan and Klaus, ?C> May be I did not understand correctly this thread :-) half of it :-) i was trying this in a different context. In your example, the it contains the path to the stack. In my example, the it contains the downloaded file (binary) of the stack. Imagine we have a stack stored in a custom properties, we can get the cAstack of stack "StacksinStack" ( => it contains the binary of the stack ), then how can we get the name or other properties ? As you can start a stack by this command : get url (http://nices_stacks_from_So Smart Soft... ) open it , i wanted to work with the customs props . I was thinking also to do : get url (http://nices_stacks_from_So Smart Soft... ) open invisible it .... but here how do i know the name of the opened stack ???? none of my tries work for me :-( The strangness is that Dan and Klaus seems to say that it should work ??? Voila pour le moment, Any comment ? Merci a tous, thierry ?C> For instance, try this: ?C> answer file "Choose any stack:" ?C> put the script of stack it -- that's for getting a property ?C> set the uPropTest of stack it to "Done" -- that's for setting a ?C> property ?C> save stack it -- as "xyz" ?C> delete stack it ?C> You will see absolutly nothing ;-) Yes, you're right.. From webmaster at dreamscapesoftware.com Sun Apr 3 08:50:31 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 03 Apr 2005 07:50:31 -0500 Subject: shell() not waiting - not hiding In-Reply-To: <08d1311405176a4d1e5998442a229b43@swcp.com> References: <424EC700.9000901@dreamscapesoftware.com> <08d1311405176a4d1e5998442a229b43@swcp.com> Message-ID: <424FE697.3080600@dreamscapesoftware.com> > Perhaps, it is writing to the console instead of stdout. This is probably what is happening. Is there any way to test for this? Also, what about the "start process" command. Can I utilize that command to run a Console program in the background, and get all information that it presents? Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From 3mcgrath at adelphia.net Sun Apr 3 08:53:16 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 3 Apr 2005 08:53:16 -0400 Subject: BGs In-Reply-To: <37a409900cd24cf3052655fd28392158@major-k.de> References: <37a409900cd24cf3052655fd28392158@major-k.de> Message-ID: Klaus, I thought the act of "Place"ing a group made it a background group. In fact I can not Place a group from the menu unless it is a background group. So if it shows up under the menu item then it must be a bg group. Once I start playing with the groups and script placing and or menu placing they all become BG groups FWIW tom On Apr 3, 2005, at 7:36 AM, Klaus Major wrote: > I have 2 groups whith their "backgroundbehaviour" set to false!!! > They are not placed on any card, but same result, if theiy are already > placed > on some OTHER cards... Thomas J McGrath III 3mcgrath at adelphia.net 412-831-3094 220 Drake Road Bethel Park, PA 15102 <*)) >=< "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways - a Cigar in one hand - a large steak in the other - your body thoroughly used up, totally worn out, and screaming - WOO HOO! What a Ride!" From webmaster at dreamscapesoftware.com Sun Apr 3 08:54:33 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 03 Apr 2005 07:54:33 -0500 Subject: Bug reports in standalones In-Reply-To: <027dbfd14326f979607182266ff2a72a@wanadoo.fr> References: <027dbfd14326f979607182266ff2a72a@wanadoo.fr> Message-ID: <424FE789.9040607@dreamscapesoftware.com> > This looks like a great facility but I haven't found any instructions > about how to use it. For example, can I get the text of the error to > appear on the screen? How is the email feature implemented (I didn't > seem to get any of the emails)? The 'save report to file' is working > well, but I'd just like to understand it a bit more... I honestly found that the bug reporter that you can include in your standalones to be buggy itself, and did not work for any of my programs. So instead I rolled my own. When an error occurs, my error script will execute and show a custom dialog that allows them to send the error report to me. It get's as much information about their system as possible, along with the error information, and then it emails it to me over a script on my server. Doing this, IMHO, allows you to have more control over the error report. You can get information not normally included, like the current rect of a window, what windows are open, how long the program has been open, so on and so fourth. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From klaus at major-k.de Sun Apr 3 09:00:11 2005 From: klaus at major-k.de (Klaus Major) Date: Sun, 3 Apr 2005 15:00:11 +0200 Subject: BGs In-Reply-To: References: <37a409900cd24cf3052655fd28392158@major-k.de> Message-ID: Hi Thomas, > Klaus, > > I thought the act of "Place"ing a group made it a background group. well, it looks like, but i don#t think this is the documented(?) and desired behaviour... You can placeAND remove ANY group (BG or NOT!) onto/from any card without having its "backgroundbehaviour" set to true! See the docs for "place"... > In fact I can not Place a group from the menu unless it is a > background group. So if it shows up under the menu item then it must > be a bg group. > Once I start playing with the groups and script placing and or menu > placing they all become BG groups Yes, that's what my test made clear... "place bg xyz..." WILL set the backgroundbehaviour to true! But setting that prop to false again does NOT work! I still don't think this is correct! Any other hints and opinions are very welcome :-) > FWIW > > tom Regards Klaus Major klaus at major-k.de http://www.major-k.de From 3mcgrath at adelphia.net Sun Apr 3 09:45:00 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 3 Apr 2005 09:45:00 -0400 Subject: ANN Nine ball with spin and sound Message-ID: Added a little sound to the game. From b.xavier at internet.lu Sun Apr 3 12:00:18 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 3 Apr 2005 18:00:18 +0200 Subject: shell() not waiting - not hiding In-Reply-To: <424FE697.3080600@dreamscapesoftware.com> Message-ID: <20050403161339.EDC27930075@mail.runrev.com> launch process doesn't return info but it does keep track of the application running via the openedprocesses function. It has some interests but the shell is much more standard IMOHO... You can start a shell with the "start" (see start /? or /help) DOS command to make the shell return directly to runrev right away but you will not get an answer back - you need to pipe it to a file instead which is not that hard to watch and catch later... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Derek Bump > Sent: Sunday, April 03, 2005 14:51 > To: How to use Revolution > Subject: Re: shell() not waiting - not hiding > > > Perhaps, it is writing to the console instead of stdout. > > This is probably what is happening. Is there any way to test > for this? > Also, what about the "start process" command. Can I > utilize that command to run a Console program in the > background, and get all information that it presents? > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Images Easily with JPEGCompress 2.5 > http://www.dreamscapesoftware.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at wanadoo.fr Sun Apr 3 12:17:10 2005 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Sun, 3 Apr 2005 18:17:10 +0200 Subject: set a prop after get url a stackfile In-Reply-To: <20050403160004.E119E93015C@mail.runrev.com> References: <20050403160004.E119E93015C@mail.runrev.com> Message-ID: <867fe4eb9771fac33cb5eb24351779ed@wanadoo.fr> Hi Thierry, go invisible url "http://home.infostations.net/jhurley/NineBallWithSpin.rev" -- very nice work :-) put the short name of this stack set the uTest of this stack to "Done" save this stack -- as "xyz" delete this stack -- memory cleanup Le 3 avr. 05, ? 18:00, thierry a ?crit : > As you can start a stack by this command : > get url (http://nices_stacks_from_So Smart Soft... ) > open it > > , i wanted to work with the customs props . > > I was thinking also to do : > > get url (http://nices_stacks_from_So Smart Soft... ) > open invisible it > .... > but here how do i know the name of the opened stack ???? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet AT sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From b.xavier at internet.lu Sun Apr 3 12:25:59 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 3 Apr 2005 18:25:59 +0200 Subject: Python and Rev In-Reply-To: <20050403075056.38916930075@mail.runrev.com> Message-ID: <20050403163920.49618930157@mail.runrev.com> get ready folks! /. is on the same brainwave or plane of thought... http://it.slashdot.org/it/05/04/03/0715209.shtml?tid=156&tid=8 I like a multi-language approach to programming! Maybe Rev can drive the Python GUI somewhere... cheers Xavier -- http://MonsieurX.com/runrev From sanke at hrz.uni-kassel.de Sun Apr 3 12:44:25 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 03 Apr 2005 18:44:25 +0200 Subject: BGs Message-ID: <42501D69.5070608@hrz.uni-kassel.de> On Sun, 3 Apr 2005, Klaus Major wrote: > Yes, that's what my test made clear... > "place bg xyz..." WILL set the backgroundbehaviour to true! > > But setting that prop to false again does NOT work! > I still don't think this is correct! > > Any other hints and opinions are very welcome Klaus, Indeed, there is nothing in the docs that provides information about this automatic setting of the backgroundbehavior to true when using the "place" command. However, using "copy to" puts a background on another card without setting the bg-behavior to true. Maybe that's why - having two different commands that almost do the same, but with the exception of the bg-behavior? Intended, but not documented? Cheers, Wilhelm From douez at wanadoo.fr Sun Apr 3 13:02:28 2005 From: douez at wanadoo.fr (thierry) Date: Sun, 3 Apr 2005 19:02:28 +0200 Subject: set a prop after get url a stackfile In-Reply-To: <867fe4eb9771fac33cb5eb24351779ed@wanadoo.fr> References: <20050403160004.E119E93015C@mail.runrev.com> <867fe4eb9771fac33cb5eb24351779ed@wanadoo.fr> Message-ID: <138886147.20050403190228@wanadoo.fr> ?C> Hi Thierry, ?C> go invisible url ?C> "http://home.infostations.net/jhurley/NineBallWithSpin.rev" -- very ?C> nice work :-) Indeed :-) ?C> put the short name of this stack ?C> set the uTest of this stack to "Done" ?C> save this stack -- as "xyz" ?C> delete this stack -- memory cleanup Excellent ! i have at least one solution. i would do a lock messages before the go, so no handlers could be triggered in the invisible stack.. but is this *Always* true ? merci a tous, et bonne soiree Regards, thierry >> As you can start a stack by this command : >> get url (http://nices_stacks_from_So Smart Soft... ) >> open it >> >> , i wanted to work with the customs props . >> >> I was thinking also to do : >> >> get url (http://nices_stacks_from_So Smart Soft... ) >> open invisible it >> .... >> but here how do i know the name of the opened stack ???? From 3mcgrath at adelphia.net Sun Apr 3 13:58:28 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 3 Apr 2005 13:58:28 -0400 Subject: ANN Nine ball with spin and sound In-Reply-To: References: Message-ID: <97d18d365cf30825d2f2591989a8548e@adelphia.net> OOPPS, username: mcgrath3 file: Nine ball with spin and sound On Apr 3, 2005, at 9:45 AM, Thomas McGrath III wrote: > Added a little sound to the game. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From b.xavier at internet.lu Sun Apr 3 14:18:19 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 3 Apr 2005 20:18:19 +0200 Subject: Python and Rev In-Reply-To: <20050403163920.49618930157@mail.runrev.com> Message-ID: <20050403183140.28C92930166@mail.runrev.com> >From the Python faq, regarding how to use python as a script lead to this jewel. I believe it means that you can run python directly in the shell or did I get it wrong? This'd'be cool! http://www.python.org/doc/faq/windows.html#id3 cheers Xavier From jhurley at infostations.com Sun Apr 3 14:24:24 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 3 Apr 2005 11:24:24 -0700 Subject: ANN Nine Ball with Spin (English) In-Reply-To: <20050402170015.C2877930146@mail.runrev.com> References: <20050402170015.C2877930146@mail.runrev.com> Message-ID: > >Message: 17 >Date: Sat, 2 Apr 2005 08:45:25 -0800 (PST) >From: Alejandro Tejada >Subject: Re: ANN Nine Ball with Spin (English) >To: use-revolution at lists.runrev.com >Message-ID: <20050402164525.4129.qmail at web40511.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >Hi Jim, > >Your have make better an already excellent stack! >Greetings!!! :-) > >Like everyone, i have my wish list for your >stack. ;-) > >This is my wish list for future versions of >Nine Ball: > >1- An undo command to place all the balls in >their previous position after a shot. >In real life this an impossible feature, >but in the computer this is possible, by >storing the loc of all the balls before >a shot. > >2- A floating console (or substack) that shows the >numerical quantities of the variables that player >is applying in a shot... this does not sound like >much fun, but permits (with the undo option) to >learn eventually how works forces in movement. > >3- A pool Genie. This is a feature that suggest a >shot to the player, with previews of outcomes >of diverses shots. Yes, i know what you are >thinking but this is not cheating. Consider this >like a player in the computer... Al, Whew! Great ideas, but not right now. Actually, I stumbled into Nine Ball by accident--isn't that always the way. I had set out to do a Statistical Mechanics simulation, an illustration of the Second law of Thermodynamics, demonstrating that a thermodynamic system assumes the most disordered state compatible with the constraints. It is easy to see this in physical space. Set a number of balls moving in a frictionless environment and they become randomly distributed in space. But the randomization takes place not only in geometric space but in velocity space as well. There was a popular misconception that if and when the universe began to contract that time would begin to move backward. Stephen Hawkings was one of the early advocates for this position. You can find a discussion of this in his "Short History of Time" The thing that Hawkings neglected was that a contracting universe is not becoming ordered, the entropy is not decreasing. One has to consider not just the decrease in geometric states available in the contracting space, but also the increase in velocity states made available in the contraction--gravitational energy converted to kinetic energy. The increase in disorder associated with the velocity states exceeds the loss in position states. The total disorder increases and all is right with the second law. So I wanted to show that if one had a large number of objects (pool balls) initially all moving with the same speed in the same direction (highly order velocities) that, if you introduced collisions, the velocities would randomize and eventually assume the Maxwell-Boltzmann distribution, i.e. a bell curve. But, alas, Run Rev was not quite up to the task. Couldn't get enough balls to make for good statistics. In any event, I didn't want to waste the collision routines, so I got caught up in Nine Ball. But I am off to something else right now--using Run Rev to create a simulation contrasting global warming on Venus, Earth and Mars. (Right now I need a tool for making circular arcs--like the Run Rev pie shaped circular segments, but without the radial lines. May be a job for Turtle Graphics.) Long winded way of saying, I'll have to pocket Nine Ball for the time being. Jim From alex at tweedly.net Sun Apr 3 14:24:08 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 03 Apr 2005 19:24:08 +0100 Subject: RevOnline's fingerprinting Message-ID: <425034C8.1080808@tweedly.net> Does anyone know a way to change (or remove) the "fingerprint" that RevOnline uses to keep track of your stacks to allow updating ? I put one stack up on RevOnline, then copied the stack to give me the start of my next project (at least, that's what I think I did). Now when I try to put the new project onto RevOnline, it thinks this is an update to the existing stack rather than a new one. So I need to figure out how to remove the fingerprint it used. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From soapdog at mac.com Sun Apr 3 14:28:14 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 3 Apr 2005 15:28:14 -0300 Subject: RevOnline's fingerprinting In-Reply-To: <425034C8.1080808@tweedly.net> References: <425034C8.1080808@tweedly.net> Message-ID: <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> On Apr 3, 2005, at 3:24 PM, Alex Tweedly wrote: > > Does anyone know a way to change (or remove) the "fingerprint" that > RevOnline uses to keep track of your stacks to allow updating ? > > I put one stack up on RevOnline, then copied the stack to give me the > start of my next project (at least, that's what I think I did). Now > when I try to put the new project onto RevOnline, it thinks this is an > update to the existing stack rather than a new one. So I need to > figure out how to remove the fingerprint it used. > > -- > Alex Tweedly http://www.tweedly.net Alex, I am really guessing here, but check for strange custom props or custom prop sets begining with Rev... Or maybe a invisible group, it can't be something else than that I think... Andre > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From jhurley at infostations.com Sun Apr 3 14:30:28 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 3 Apr 2005 11:30:28 -0700 Subject: ANN Nine ball with spin and sound In-Reply-To: <20050403160004.9092193015B@mail.runrev.com> References: <20050403160004.9092193015B@mail.runrev.com> Message-ID: > >Message: 6 >Date: Sun, 3 Apr 2005 09:45:00 -0400 >From: Thomas McGrath III <3mcgrath at adelphia.net> >Subject: ANN Nine ball with spin and sound >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=US-ASCII; format=flowed > >Added a little sound to the game. > Tom, Great idea. A little sound to go with Scott's graphics would make the game more realistic and more fun. I had done a poor man's version of this earlier. Just put put a "beep" command in the "resetVelocities" handler in the card script. Not as good as a "click", but it helps. I don't have any clicks on my machine. Run Rev chokes a bit on the break with all the beeping, but after that it works well. I found that this didn't work well on my Window machine. Much better on the Mac and particularly OS X. Jim From b.xavier at internet.lu Sun Apr 3 15:00:29 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 3 Apr 2005 21:00:29 +0200 Subject: The Breakpoint adventure (free scripts inside!) In-Reply-To: Message-ID: <20050403191350.42EAC930166@mail.runrev.com> Hello folks, After a few crashes and additions to bugzilla 2483, I've come up with a safe script to prevent the breakpoint bug crash boom bang that overjoyed my second holliday sunday morning with regular bugzilla-bullying! Hope the third is the charm ;) http://support.runrev.com/bugdatabase/show_bug.cgi?id=2483 (I assume you are now 2483 aware, so read on ;) The problem with this breakpoint bug is that a simple stack name change in the finder or explorer (while the stack is closed naturally) doesn't update long control names references in the debugobjects customprop mentioned in bugzilla. (I'll add that this is the same exact bug as 2341 when you move objects to or from groups after their revGM is set! Sorry, just an observation.) This fix-script will prevent you a lot of crashes until rev releases a fix for 2483. Im trying to finish a simple plugin to make it available in stack form but it might have to wait since im off to hollidaying far away from my cyberdesk next week! The bug is not that frequent but the lost work adds up (at least 5 a month here!!!)! Also I seem to get it more and more frequently and getting quite parano-save-yac after every gui or script change! It's sad but I have to! So this should make the whole thing much better... NO, i dont care to try to fix the broken relation, just avoid the potential crash, at first. The script on preopencard CheckRevBreakpoints CheckRevDebugObjects pass preopencard end preopencard on CheckRevBreakpoints put the breakpoints into bp repeat with x = the number of lines in bp down to 2 get item 1 of line x of bp if exists(it) then put the script of it into ds if the number of lines in ds < item 2 of line x of bp then delete line x of bp end if else delete line x of bp end if end repeat if bp is not the breakpoints then set the breakpoints to bp end if end CheckRevBreakpoints on CheckRevDebugObjects put the crevgeneral["debugobjects"] of the topstack into dbo repeat with x = the number of lines in dbo down to 1 get line x of dbo if not exists(it) then delete line x of dbo end if end repeat if dbo is not the crevgeneral["debugobjects"] of the topstack then set the crevgeneral["debugobjects"] of the topstack to dbo end if end CheckRevDebugObjects -- Remarks -- - DO NOT delete line 1 of the breakpoints (which is why that loop starts at 2 and not 1. I dont know why but doing so caused systematic crashes each time after execution - I had to rescript the whole thing 3 times to get it right before I started over-saving! It seems to be a bug rather than a feature though. That first script listed in the breakpoints doesn't have 500 lines where a breakpoint seems to be inserted continualy. I requested info in the bugzilla and exempted that line from deletion. What is funny is that if we set the breakpoints to empty we dont get the crash! So the explanation is a bit dubious I agree... Maybe it was another something else! But it doesn't prevent the breakpoint crash. Hence the second routine for the reference renaming problem. I not sooner than later found a stack with some 60 wrongful debugging references! So there proof you should also be watching your steps before the IDE gets the fix! - I didn't add the save stack routine because that's simple enough for anyone - You could also check the stacks at close, suspend, etc events You can add overides if you want. Please send me your fixes or erorrs so I can improve on it right away. I might not be able to do so after tomorow until next weekend but I'll have a cool little stack to either delete or fix the problems. Try to insert these scripts into a fronscript preopencard handler plugin stack so that you can be assured they are not intercepted or blocked from running. But backscript should work too. All that will be in the stack. These scripts are part of the TAOO library that checks stacks as they are opened to reduce program farts and do other useful stuff like update indexes, correct spelling, wrong dates, import data so you always have stuff up to date! In this simple example the top stack is used and not checked properly in this script btw, im just releasing the "main" script for you in case you already have the problem, want to play with it or share improvements. Now you have less crashes, less lost breakpoints (which leaks as less max breakpoints)! More uptime, and better behaved breakpoints! All I can say is, have a better day so can have more time for your self and your family and REAL adventures!!! cheers Xavier http://MonsieurX.com/runrev From dsc at swcp.com Sun Apr 3 15:13:14 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 3 Apr 2005 13:13:14 -0600 Subject: shell() not waiting - not hiding In-Reply-To: <20050403161339.EDC27930075@mail.runrev.com> References: <20050403161339.EDC27930075@mail.runrev.com> Message-ID: On Apr 3, 2005, at 10:00 AM, MisterX wrote: > You can start a shell with the "start" (see start /? or /help) DOS > command > to make the shell return directly to runrev right away but you will > not get > an answer back - you need to pipe it to a file instead which is not > that > hard to watch and catch later... If the application is writing to the console instead of to stdout, then this might not work. Maybe there is a way to ask the console window for data. Or maybe there is a switch to control output. Piping might be a good way to check the output hypothesis. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From kray at sonsothunder.com Sun Apr 3 16:29:40 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 03 Apr 2005 14:29:40 -0600 Subject: [ANN] RevZilla 2.0 Message-ID: I'm proud to announce that RevZilla 2.0 is now available, and includes the following features: - Direct login - no more cookies! - Works in Rev 2.5, MetaCard, and can be run as a standalone - Can now respond to or change bugs and re-submit - no need to go to Bugzilla for this anymore! - The ability to store and retrieve bugs in progress for offline generation - The ability to add bugs that are not yours to a "Watch List" so you can monitor them along with your own bugs - Revised search using lists instead of popup menus for easy selection - Store commonly used search criteria and retrieve them at will - RevZilla is now completely resizable so you can see as much or as little as you want - Integrates with the altPlugin toolbar! and more! You can get RevZilla 2.0 at the following places: Sons of Thunder Web Site: http://www.sonsothunder.com/devres/revolution/downloads/RevZilla2.htm RevNet: Stacks > Utilities > RevZilla 2.0 RevOnline: User: kray (Note that if you want to get the Version History document to know exactly what has been added or changed in 2.0, you'll have to download it from my web site.) If you run into any problems or have any suggestions, please contact me directly. Enjoy the upgrade! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revdan at danshafer.com Sun Apr 3 16:21:38 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 3 Apr 2005 13:21:38 -0700 Subject: BGs In-Reply-To: <42501D69.5070608@hrz.uni-kassel.de> References: <42501D69.5070608@hrz.uni-kassel.de> Message-ID: <7a630302d1d2065a98c112e6e635e357@danshafer.com> This behavior seems only slightly surprising on reflection but I agree it should be better documented. Copying a background from one card to another *duplcates* the background so that changes made to one of them will not be reflected in the copy. Placing a background seems to me to at least imply that the author intends for the background to be shared so that changes to the background made from any card will be reflected in all other cards on which the background appears. To make that happen, the group must be set to behave as a background. So while it may seem presumptuous of Rev to take this step without notifying you or confirming your intent, the ultimate outcome does in fact feel correct to me. On Apr 3, 2005, at 9:44 AM, Wilhelm Sanke wrote: > On Sun, 3 Apr 2005, Klaus Major wrote: > >> Yes, that's what my test made clear... >> "place bg xyz..." WILL set the backgroundbehaviour to true! >> >> But setting that prop to false again does NOT work! >> I still don't think this is correct! >> >> Any other hints and opinions are very welcome > > > > Klaus, > > Indeed, there is nothing in the docs that provides information about > this automatic setting of the backgroundbehavior to true when using > the "place" command. > > However, using "copy to" puts a background on another card without > setting the bg-behavior to true. > > Maybe that's why - having two different commands that almost do the > same, but with the exception of the bg-behavior? Intended, but not > documented? > > Cheers, > > Wilhelm > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Sun Apr 3 16:27:10 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 3 Apr 2005 13:27:10 -0700 Subject: Python and Rev In-Reply-To: <20050403163920.49618930157@mail.runrev.com> References: <20050403163920.49618930157@mail.runrev.com> Message-ID: A couple of years ago, I wrote a chapter in a small booklet published by O'Reilly that consisted of a collection of case study/success profiles of Python projects, all (or at least most) of which were fairly serious apps. Python was my favorite language until I adopted Rev and, from a language perspective, I find it nearly as natural as Transcript with the added tremendous benefit of being object-oriented. My ideal world would be one in which I could build great UIs in Revolution's IDE, and then code the behaviors of the stacks/apps interchangeably in Transcript and Python. That is my definition of Software Nirvana. On Apr 3, 2005, at 9:25 AM, MisterX wrote: > get ready folks! /. is on the same brainwave or plane of thought... > > http://it.slashdot.org/it/05/04/03/0715209.shtml?tid=156&tid=8 > > I like a multi-language approach to programming! > > Maybe Rev can drive the Python GUI somewhere... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Sun Apr 3 16:29:17 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 3 Apr 2005 13:29:17 -0700 Subject: Python and Rev In-Reply-To: <20050403163920.49618930157@mail.runrev.com> References: <20050403163920.49618930157@mail.runrev.com> Message-ID: <154cbacf9639652c81dd15aa2bfda9de@danshafer.com> On Apr 3, 2005, at 9:25 AM, MisterX wrote: > Maybe Rev can drive the Python GUI somewhere... > Just before I climbed on the Rev bandwagon -- a move I do not regret, just to be clear -- I was working on an Open Source Python project called PythonCard, an attempt to reproduce some of the ease of development of HyperCard with a fully object-oriented scripting language underneath. Kevin Altis, who wrote one of the premier HyperCard products, a truly powerful PIM (Personal Information Manager), was heading up that project. I think he has sort of set it aside for the moment as he's taken up the unpaid cause of evangelizing Python more broadly, a move he felt was necessary before PythonCard could become real. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From alex at tweedly.net Sun Apr 3 17:14:59 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 03 Apr 2005 22:14:59 +0100 Subject: Python and Rev In-Reply-To: <154cbacf9639652c81dd15aa2bfda9de@danshafer.com> References: <20050403163920.49618930157@mail.runrev.com> <154cbacf9639652c81dd15aa2bfda9de@danshafer.com> Message-ID: <42505CD3.5010009@tweedly.net> Dan Shafer wrote: > > On Apr 3, 2005, at 9:25 AM, MisterX wrote: > >> Maybe Rev can drive the Python GUI somewhere... >> > Just before I climbed on the Rev bandwagon -- a move I do not regret, > just to be clear -- I was working on an Open Source Python project > called PythonCard, an attempt to reproduce some of the ease of > development of HyperCard with a fully object-oriented scripting > language underneath. ditto (though much more recently) > Kevin Altis, who wrote one of the premier HyperCard products, a truly > powerful PIM (Personal Information Manager), was heading up that > project. I think he has sort of set it aside for the moment as he's > taken up the unpaid cause of evangelizing Python more broadly, a move > he felt was necessary before PythonCard could become real. Kevin A. asked a couple of days ago (on the Pythoncard mail list) for peoples' "gripes and likes", so that he can prioritize issues heading towards a "1.0" release, so there's actually quite a bit of activity going on right now, after a few quiet months. MHO - Pythoncard makes a great attempt to simplify working with wxPython (and allows you to reach through and use wxPython when necessary); it makes it natural to produce apps which feel much more "native" than RunRev; the extent of the built-in libraries and easy access to standard libraries ("externals") are wonderful; and, finally, the ease of doing multi-person projects is a joy. Oh and I should mention - I've only encountered 3 or 4 of bugs in Pythoncard and the underlying libraries, and I either fixed them myself or got fixes for the others via the mailing list within a couple of days. But on the other hand, the resource editor and IDE just feel so clunky and old-fashioned compared to Rev that it is a joy to fire up the Rev IDE again after a Python project .... and Rev encourages simple solutions, while Python supports my natural inclination to be over-complex. I guess when the glass is half-full, I notice that I enjoy programming in both of them - unlike most of the languages and environments I've used. And when the glass is half-empty, I regret that I can't have the ideal combination of the two. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From alex at tweedly.net Sun Apr 3 17:31:43 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 03 Apr 2005 22:31:43 +0100 Subject: RevOnline's fingerprinting In-Reply-To: <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> Message-ID: <425060BF.6000306@tweedly.net> Andre Garzia wrote: > > On Apr 3, 2005, at 3:24 PM, Alex Tweedly wrote: > >> >> Does anyone know a way to change (or remove) the "fingerprint" that >> RevOnline uses to keep track of your stacks to allow updating ? > > I am really guessing here, but check for strange custom props or > custom prop sets begining with Rev... Or maybe a invisible group, it > can't be something else than that I think... Thanks Andre - it's a customproperty called "fingerprint" in the custompropertyset "cREVOnline" Setting it to empty works !! I've now uploaded my sample multicast client to RevOnline. Thanks again -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From jhurley at infostations.com Sun Apr 3 18:53:52 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 3 Apr 2005 15:53:52 -0700 Subject: Where is reshape polygon? In-Reply-To: <20050403160004.9092193015B@mail.runrev.com> References: <20050403160004.9092193015B@mail.runrev.com> Message-ID: Where is reshape polygon in 2.5? I'd look it up in the documentation, but that aspect of 2.5 doesn't work on my OS X 10.2.3--sadly. Jim BTW, The question I posed earlier--how do you create an arc--turned out to be really simple. My apologies to those who have already responded. (I get the digest version of the list.) To draw an arc of radius 50 at the point 100,200 running from 0 degrees to 90 degrees call: put 100, 200 into tOrigin arc tOrigin, 50, 0,90 with: on arc startPt, r, tStartAngle,tEndAngle put item 1 of startPt into x0 put item 2 of startPt into y0 repeat with a = tStartAngle to tEndAngle put x0 + r*cosine(a) into x put y0 + r* sine(a) into y put round(x),round(y) & cr after results end repeat set the points of graphic "arc" to results end arc function sine a return sin(a/180*pi) end sine function cosine a return cos(a/180*pi) end cosine From graham.samuel at wanadoo.fr Sun Apr 3 18:54:16 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Mon, 4 Apr 2005 00:54:16 +0200 Subject: More trouble with print dialogs Message-ID: <09a165bc95926b79c2497fe80f43d709@wanadoo.fr> I am now trying to implement a printing scheme for the PC version of my current app. I have constructed a handler that prints a multipage document. Its input parameters are a title and the text to print. It works - no frills, but it does the job. In my 'File' menu don't have a simple one-item 'Print' menu: instead I have a 'Page Setup' item (I need to provide this in case the user wants to switch to landscape for example) and several 'Print' subitems, one for each type of data that I want to print, so the 'Print' part of the 'File' menu looks like Print... Datatype A Datatype B Datatype C Well, this works OK **unless** the user chooses to call the 'Page Setup' item, which uses 'answer printer' as expected by Rev. The trouble with this is that this opens a dialog which includes not only stuff about the page and paper settings, but also a 'print' button. If the user presses this, I won't know about it (it's all taking place inside Windows XP), so I will not have prepared any data to print. How do other people cope with this type of problem? It's late, and I may be confused, but I can't see a way out. TIA Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From pixelbird at interisland.net Sun Apr 3 19:24:44 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 3 Apr 2005 16:24:44 -0700 Subject: ANN Nine Ball with Spin (English) In-Reply-To: <20050403125629.93F17930135@mail.runrev.com> References: <20050403125629.93F17930135@mail.runrev.com> Message-ID: <44fbbcee78041314eebea88945e192a3@interisland.net> Hi Scott, > Date: Sat, 02 Apr 2005 12:04:41 -0800 > From: Scott Rossi > Subject: Re: ANN Nine Ball with Spin (English) > Make sure you didn't just click the link -- you need the entire line > in your > message box, not a Web browser: > > go url "http://home.infostations.net/jhurley/NineBallWithSpin.rev" Oh, hmm, I didn't think. I figured it was a SA. > > If you still have a problem with the entire line, just try again. > There is > an intermittent bug with retrieving stacks from URLs. OK-- thanks for the heads up. All the best, Ken N. From drothe at optusnet.com.au Sun Apr 3 21:33:32 2005 From: drothe at optusnet.com.au (Dwayne Rothe) Date: Mon, 4 Apr 2005 11:33:32 +1000 Subject: Rename Duplicate References: <20050403230617.25A0F9300BB@mail.runrev.com> Message-ID: <001e01c538b6$523c8b30$03daa4cb@p4c2> Hi All, Trying to find the easiest way to rename a (new)string if it already exists in a list! If a user tries to add an existing name to a list I want it to be named the same but adding a digit to the end. e.g Example exists so name new entery to Example(2), Example(2) exists so name new to Example(3) e.t.c any ideas woold be appreciated thanx............. Dwayne Rothe From runrev at rivertext.com Sun Apr 3 22:52:19 2005 From: runrev at rivertext.com (Brian Thomas) Date: Sun, 3 Apr 2005 18:52:19 -0800 Subject: 1010 error code HELP In-Reply-To: References: Message-ID: >Brian, > >Are you using any externals? I believe I used to get that error when >a shared library was missing for an external... I'm not using externals and Monks works on other G3 iMacs. Does anyone else have any ideas > >>Hi. I just a got an email from an If Monks had Macs customer who >>consistently gets a 1010 error under Mac OS 9.1. This error does >>not (per Appleerrorcodes.com) appear to be a Mac OS error. >> >>At 4:52 PM -0500 4/1/05, Clare N. Shumway wrote: >>>I just installed If Monks___ from the CD to my computer >>>(Blue&White G3 running OS 9.1); the installation went as expected >>>and I placed the MonkBits folder at the first level of the hard >>>drive. >>>When I try to open "If Monks" or the "Journal" I get a 1010 error. >>>Restarting had no effect. >>At 7:22 PM -0500 4/1/05, Clare N. Shumway wrote: >>>There is 256 mb of memory installed with 266 mb of virtual memory >>>allocated. The speed is 400 MHz. >>> I don't have any other computer. >> >> >>Does anyone know what this means? >> >>Thanks >> >>-- >>Brian >>_______________________________________________ >>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 -- Brian From userev at canelasoftware.com Sun Apr 3 22:20:21 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Sun, 3 Apr 2005 19:20:21 -0700 Subject: [ANN] RevZilla 2.0 In-Reply-To: References: Message-ID: <0822c9432fd032a94c6f4e473c74837d@canelasoftware.com> Thanks Ken for this. It is a truly useful program. I personally use it way to often. ;) Mark Talluto -- CANELA Software http://www.canelasoftware.com From kray at sonsothunder.com Sun Apr 3 23:04:54 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 03 Apr 2005 22:04:54 -0500 Subject: How to get the difference between two lists? Message-ID: I've got two lists - one with is the "comprehensive" list that is return-delimited, like: 3 5 6 7 11 14 18 21 And another list which is the list I would like to *remove* from the comprehensive list: 5 6 11 18 Which should give me: 3 7 14 21 I can of course do a repeat loop through the small list and remove those items from the comprehensive list, but I'm wondering if there's a faster way to do this. The numbers will always be sorted in ascending numeric order, but there may be thousands of them, so I'm not looking forward to a repeat loop. Any ideas? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sarahr at genesearch.com.au Sun Apr 3 23:10:15 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 4 Apr 2005 13:10:15 +1000 Subject: 1010 error code HELP In-Reply-To: References: Message-ID: >> Are you using any externals? I believe I used to get that error when >> a shared library was missing for an external... > > > I'm not using externals and Monks works on other G3 iMacs. Does anyone > else have any ideas > What about any Rev externals or Quicktime? There was a problem at some stage with the standalone builder not copying the required externals to the standalone. Do you have a check for Quicktime on startup and do you check it's version to see it can handle what you need? HTH, Sarah From sarahr at genesearch.com.au Sun Apr 3 23:12:20 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 4 Apr 2005 13:12:20 +1000 Subject: More trouble with print dialogs In-Reply-To: <09a165bc95926b79c2497fe80f43d709@wanadoo.fr> References: <09a165bc95926b79c2497fe80f43d709@wanadoo.fr> Message-ID: <46480cb6d713ef589c5a0a43e672b4cd@genesearch.com.au> > Well, this works OK **unless** the user chooses to call the 'Page > Setup' item, which uses 'answer printer' as expected by Rev. The > trouble with this is that this opens a dialog which includes not only > stuff about the page and paper settings, but also a 'print' button. If > the user presses this, I won't know about it (it's all taking place > inside Windows XP), so I will not have prepared any data to print. > What happens if you check either "the result" or "it" after the answer printer? If either of them contained "Print" you could use that to go straight to your print routines. Cheers, Sarah From simplsol at aol.com Sun Apr 3 23:21:23 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Sun, 03 Apr 2005 23:21:23 -0400 Subject: How to get the difference between two lists? In-Reply-To: References: Message-ID: <8C706DC831C70C3-920-1368F@mblk-d18.sysops.aol.com> Ken, Is it possible to skip the "remove" items when the comprehensive list is built? Paul Looney -----Original Message----- From: Ken Ray To: Use Revolution List Sent: Sun, 03 Apr 2005 22:04:54 -0500 Subject: How to get the difference between two lists? I've got two lists - one with is the "comprehensive" list that is return-delimited, like: 3 5 6 7 11 14 18 21 And another list which is the list I would like to *remove* from the comprehensive list: 5 6 11 18 Which should give me: 3 7 14 21 I can of course do a repeat loop through the small list and remove those items from the comprehensive list, but I'm wondering if there's a faster way to do this. The numbers will always be sorted in ascending numeric order, but there may be thousands of them, so I'm not looking forward to a repeat loop. Any ideas? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sun Apr 3 23:28:52 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Apr 2005 20:28:52 -0700 Subject: 1010 error code HELP In-Reply-To: References: Message-ID: <4250B474.9040307@fourthworld.com> Brian Thomas wrote: >>> Hi. I just a got an email from an If Monks had Macs customer who >>> consistently gets a 1010 error under Mac OS 9.1. This error does not >>> (per Appleerrorcodes.com) appear to be a Mac OS error. That domain appears to have an incomplete list. Using Google I found several resources which mention Error ID 1010: error 1010 dsBadLibrary: DS Errors which are specific to the new runtime model introduced with PowerPC Another explanation for the same code says: 1010 kInvalidObjectIDErr Object ID for ObjectRequest is bad And another, citing CarbonCore/MacErrors.h: dsBadLibrary = 1010, /* Bad shared library */ And this one from the RB list: Basically a 1010 means that a shared library couldn't be loaded because something it needs isn't available. (It also means that you don't have MacsBug installed, which IMHO is a big mistake for any developer -- and for almost any user -- in classic MacOS.) >>> At 4:52 PM -0500 4/1/05, Clare N. Shumway wrote: >>>> I just installed If Monks___ from the CD to my computer >>>> (Blue&White G3 running OS 9.1); the installation went as >>>> expected and I placed the MonkBits folder at the first >>>> level of the hard drive. When I try to open "If Monks" >>>> or the "Journal" I get a 1010 error. Restarting had no >>>> effect. >>> >>> At 7:22 PM -0500 4/1/05, Clare N. Shumway wrote: >>>> There is 256 mb of memory installed with 266 mb of virtual >>>> memory allocated. The speed is 400 MHz. >> >> Are you using any externals? I believe I used to get that error >> when a shared library was missing for an external... > > I'm not using externals and Monks works on other G3 iMacs. Does anyone > else have any ideas What about the speech externals? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kray at sonsothunder.com Sun Apr 3 23:30:01 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 03 Apr 2005 22:30:01 -0500 Subject: How to get the difference between two lists? In-Reply-To: <8C706DC831C70C3-920-1368F@mblk-d18.sysops.aol.com> Message-ID: On 4/3/05 10:21 PM, "simplsol at aol.com" wrote: > Ken, > Is it possible to skip the "remove" items when the comprehensive list > is built? Nope... good thought, though... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From monte at sweattechnologies.com Sun Apr 3 23:30:40 2005 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Apr 2005 13:00:40 +0930 Subject: How to get the difference between two lists? References: Message-ID: <01ff01c538c6$acf27ca0$0402a8c0@Fred> > I've got two lists - one with is the "comprehensive" list that is > return-delimited, like: > > 3 > 5 > 6 > 7 > 11 > 14 > 18 > 21 > > And another list which is the list I would like to *remove* from the > comprehensive list: > > 5 > 6 > 11 > 18 > > Which should give me: > > 3 > 7 > 14 > 21 > > I can of course do a repeat loop through the small list and remove those > items from the comprehensive list, but I'm wondering if there's a faster > way > to do this. The numbers will always be sorted in ascending numeric order, > but there may be thousands of them, so I'm not looking forward to a repeat > loop. How about: split the long list into an array loop over the short list delete array elements for each line of the short list combine the long list resort the long list Should be faster than deleting a line in the middle of a long list but I could be wrong. It's a pity we don't have an inverse of the intersect command. Cheers Monte From dsc at swcp.com Sun Apr 3 23:44:18 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 3 Apr 2005 21:44:18 -0600 Subject: How to get the difference between two lists? In-Reply-To: References: Message-ID: <03686b787cdcf6f7098447d0384252c8@swcp.com> On Apr 3, 2005, at 9:04 PM, Ken Ray wrote: > I can of course do a repeat loop through the small list and remove > those > items from the comprehensive list, but I'm wondering if there's a > faster way > to do this. Some wild ideas: 1. Convert the smaller list into a regex and use replaceText(). 2. Convert the long list to an array and loop through the smaller one and delete. Oh, wait, that's a loop. 3. Represent sets as arrays spanning the universe of numbers for your lists. Represent your sets with these. If a number is in the set, the value is 1. If not, the value is 0. Define intersection as *. Define complement as take away one and times -1. The set difference is the intersection with the complement of the set to be taken away. Remember * and + can apply to arrays. 4. Represent sets as a string of bits, 8 bits per char in a string. Use binaryDecode and binaryEncode and bitAnd and bitNot and loop 32 bits at a time. Whoops, that's looping, but each pass takes care of 32 values in your universe. 5. Take the middle line of the small list and find it or where it would be in the big list. Concatenate the result of recursion of applying your function to the fronts and to the backs, where those do not include the middle line. 6. I know it involves loops, but I have looped through both loops together and that was satisfactory for what I was doing, but I was not that happy with it. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From ambassador at fourthworld.com Sun Apr 3 23:49:04 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Apr 2005 20:49:04 -0700 Subject: How to get the difference between two lists? In-Reply-To: References: Message-ID: <4250B930.2030008@fourthworld.com> Ken Ray wrote: > I've got two lists - one with is the "comprehensive" list that is > return-delimited, like: > > 3 > 5 > 6 > 7 > 11 > 14 > 18 > 21 > > And another list which is the list I would like to *remove* from the > comprehensive list: > > 5 > 6 > 11 > 18 > > Which should give me: > > 3 > 7 > 14 > 21 > > I can of course do a repeat loop through the small list and remove those > items from the comprehensive list, but I'm wondering if there's a faster way > to do this. The numbers will always be sorted in ascending numeric order, > but there may be thousands of them, so I'm not looking forward to a repeat > loop. With 10,000 lines in my main list and 5,000 lines in my exclude list, it takes only 25 milliseconds to use this on my single-processor PBG4 1MHz: function ShortList pList, pExcludelist repeat for each line tLine in pList if tLine is not among the lines of pExcludeList then put tLine & cr after tNulist end if end repeat delete last char of tNuList return tNuList end ShortList -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From simplsol at aol.com Mon Apr 4 00:24:12 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Mon, 04 Apr 2005 00:24:12 -0400 Subject: How to get the difference between two lists? Message-ID: <8C706E549DC5D13-920-1391F@mblk-d18.sysops.aol.com> Ken, Would it help to 1. mark cards that need to be removed 2. sort by marked cards 3. delete the marked cards Still a repeat loop, but each card would not have to be evaluated during the loop. Paul Looney From tominjapan at excite.com Mon Apr 4 01:00:41 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Mon, 4 Apr 2005 01:00:41 -0400 (EDT) Subject: Python and Rev Message-ID: <20050404050041.79F76B6BB@xprdmailfe14.nwk.excite.com> I just remembered that HyperCard allowed scripting in AppleScript in its stacks and objects. Wouldn't it be nice if Rev also did that with Python? To further muddy the waters... While looking into other tools, I discovered Ruby, a language designed by a Japanese no less. And I found a IDE called WideStudio for building Ruby things--it also supports C++, Java and Perl as well as Python and Ruby. Anybody familiar with Ruby or WideStudio? (again, I will definitely continue to use Rev for my daily programming. just looking for additional tools) tom mccarthy _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From kray at sonsothunder.com Mon Apr 4 01:20:50 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Apr 2005 00:20:50 -0500 Subject: How to get the difference between two lists? In-Reply-To: <8C706E549DC5D13-920-1391F@mblk-d18.sysops.aol.com> Message-ID: On 4/3/05 11:24 PM, "simplsol at aol.com" wrote: > Ken, > Would it help to > 1. mark cards that need to be removed > 2. sort by marked cards > 3. delete the marked cards > Still a repeat loop, but each card would not have to be evaluated > during the loop. Well, the problem is that it is not cards I'm dealing with but lists of numbers (record IDs) that are returned from database calls. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Mon Apr 4 01:23:35 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Apr 2005 00:23:35 -0500 Subject: How to get the difference between two lists? In-Reply-To: <4250B930.2030008@fourthworld.com> Message-ID: On 4/3/05 10:49 PM, "Richard Gaskin" wrote: > > With 10,000 lines in my main list and 5,000 lines in my exclude list, it > takes only 25 milliseconds to use this on my single-processor PBG4 1MHz: Unfortunately this is something that will be executed in a loop several thousand times, so even at 25ms * 2000 that ends up being 50 seconds, which is way too long. I'll see what I can do with arrays - I'll let you all know how it turns out. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jperryl at ecs.fullerton.edu Mon Apr 4 01:42:38 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 3 Apr 2005 22:42:38 -0700 (PDT) Subject: Python and Rev In-Reply-To: <154cbacf9639652c81dd15aa2bfda9de@danshafer.com> Message-ID: Neither I nor my Python-loving spouse has ever been able to get PythonCard working. Is it possible? Judy On Sun, 3 Apr 2005, Dan Shafer wrote: > Just before I climbed on the Rev bandwagon -- a move I do not regret, > just to be clear -- I was working on an Open Source Python project > called PythonCard, an attempt to reproduce some of the ease of > development of HyperCard with a fully object-oriented scripting > language underneath. Kevin Altis, who wrote one of the premier > HyperCard products, a truly powerful PIM (Personal Information > Manager), was heading up that project. I think he has sort of set it > aside for the moment as he's taken up the unpaid cause of evangelizing > Python more broadly, a move he felt was necessary before PythonCard > could become real. From yvescoppe at skynet.be Mon Apr 4 01:44:02 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 4 Apr 2005 07:44:02 +0200 Subject: How to get the difference between two lists? In-Reply-To: References: Message-ID: <50ed416afede7353411c05058d4c1648@skynet.be> Le 4 avr. 05, ? 07:23, Ken Ray a ?crit : > On 4/3/05 10:49 PM, "Richard Gaskin" > wrote: > >> >> With 10,000 lines in my main list and 5,000 lines in my exclude list, >> it >> takes only 25 milliseconds to use this on my single-processor PBG4 >> 1MHz: > > Unfortunately this is something that will be executed in a loop several > thousand times, so even at 25ms * 2000 that ends up being 50 seconds, > which > is way too long. > > Hi Ken, Try this : on mouseUp answer excludeLines(fld "Liste2", fld "Liste1") end mouseUp function excludeLines pList1, pList2 repeat for each line tLine in pList1 put 1 into tArray[tLine] end repeat repeat for each line tLine in pList2 if tArray[tLine] < 1 then put 2 into tArray[tLine] put tLine & cr after tRetVal end if end repeat delete char -1 of tRetVal return tRetVal end excludeLines here it works. Greetings. Yves COPPE yvescoppe at skynet.be From briany at qldlearning.com Mon Apr 4 02:07:33 2005 From: briany at qldlearning.com (Brian Yennie) Date: Sun, 3 Apr 2005 23:07:33 -0700 Subject: How to get the difference between two lists? In-Reply-To: References: Message-ID: Ken, What kind of database? You might be able to keep these operations in-database, depending on what the tables/ needs are. For example: SELECT recID FROM someTable WHERE (recID IN (3,5,6,7,11,14,18,21)) AND NOT (recID IN (5,6,11,18)) It's a little kludgey using the above, but keeping the work in-database somewhere might give you good results. The database delete of course could be something like: DELETE FROM someTable WHERE recID IN (5,6,11,18); Dunno if that springs an idea or works- but most database engines will work through long lists of recIDs very fast. If you can get the results as a side effect of queries you need to make anyway, all the better. One other idea: repeat for each line l in (tOriginalList&cr&tRemoveList) if (tArray[l] is not empty) then delete tArray[l] else put l into tArray[l] end repeat combine tArray This is off the top of my head, but the idea is: combine the lists and pass through once. If you already saw an item, it must need to be deleted (so empty the array item). Otherwise, just pop it into the array. Combine when done. IOW- combine them and delete anything with a duplicate. HTH! Brian > On 4/3/05 11:24 PM, "simplsol at aol.com" wrote: > >> Ken, >> Would it help to >> 1. mark cards that need to be removed >> 2. sort by marked cards >> 3. delete the marked cards >> Still a repeat loop, but each card would not have to be evaluated >> during the loop. > > Well, the problem is that it is not cards I'm dealing with but lists of > numbers (record IDs) that are returned from database calls. > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Mon Apr 4 02:21:20 2005 From: chipp at chipp.com (Chipp Walters) Date: Sun, 03 Apr 2005 23:21:20 -0700 Subject: The Breakpoint adventure (free scripts inside!) In-Reply-To: <20050403191350.42EAC930166@mail.runrev.com> References: <20050403191350.42EAC930166@mail.runrev.com> Message-ID: <4250DCE0.9040401@chipp.com> Hi Xavier, Thanks for tracking this down. Also, if you use my altClean plugin to routinely clean your stacks, it will kill off the problem properties you mention... best, Chipp MisterX wrote: > Hello folks, > > After a few crashes and additions to bugzilla 2483, I've come up with a safe > script to prevent the breakpoint bug crash boom bang that overjoyed my > second holliday sunday morning with regular bugzilla-bullying! Hope the > third is the charm ;) > > http://support.runrev.com/bugdatabase/show_bug.cgi?id=2483 > > (I assume you are now 2483 aware, so read on ;) From dick.kriesel at mail.com Mon Apr 4 03:31:55 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 03 Apr 2005 23:31:55 -0800 Subject: How to get the difference between two lists? In-Reply-To: <4250B930.2030008@fourthworld.com> Message-ID: On 4/3/05 7:49 PM, "Richard Gaskin" wrote: > > With 10,000 lines in my main list and 5,000 lines in my exclude list, it > takes only 25 milliseconds to use this on my single-processor PBG4 1MHz: > > > function ShortList pList, pExcludelist > repeat for each line tLine in pList > if tLine is not among the lines of pExcludeList then > put tLine & cr after tNulist > end if > end repeat > delete last char of tNuList > return tNuList > end ShortList Wow, that's fast. So I decided to compare it to an implementation of Dar's second suggestion, which I've been using for a long time. The test I tried yields times very different from Richard's. Even though my machine is a dual 2 GHz G5, function "Shortlist" took almost a hundred times longer than Richard reported. I wonder why the times are so different. But the other function ran almost 70 times faster than function "Shortlist." Here are the other function, the "test" handler, and the test results: function difference pList1,pList2 split pList1 with return and tab repeat for each line tLine in pList2 delete variable pList1[tLine] end repeat return the keys of pList1 end difference --------------------- on test repeat with i = 3 to 30000 step 3 -- 10000 multiples of 3 put i & cr after tBig end repeat delete last char of tBig put "number of lines in tBig:" && number of lines in tBig & cr repeat with i = 2 to 10000 step 2 -- 5000 multiples of 2 put i & cr after tLittle end repeat delete last char of tLittle put "number of lines in tLittle:" && number of lines in tLittle \ & cr after msg put the milliseconds into tBefore put shortList(tBig,tLittle) into tDiff1 put the milliseconds into tAfter put "elapsed milliseconds for Shortlist:" && (tAfter - tBefore) \ & cr after msg put the milliseconds into tBefore put difference(tBig,tLittle) into tDiff2 put the milliseconds into tAfter put "elapsed milliseconds for difference:" && (tAfter - tBefore) \ & cr after msg sort tDiff2 numeric put "matching results:" && (tDiff1 = tDiff2) & cr after msg end test --------------------- number of lines in tBig: 10000 number of lines in tLittle: 5000 elapsed milliseconds for Shortlist: 2423 elapsed milliseconds for difference: 35 matching results: true From dvk at dvkconsult.com.au Mon Apr 4 02:33:09 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon, 4 Apr 2005 16:33:09 +1000 Subject: How to get the difference between two lists? In-Reply-To: <20050404063437.8ADAE930161@mail.runrev.com> References: <20050404063437.8ADAE930161@mail.runrev.com> Message-ID: On 04/04/2005, at 16:34, Ken Ray wrote: > > I've got two lists - one with is the "comprehensive" list that is > return-delimited, like: > 3 > 5 > 6 > And another list which is the list I would like to *remove* from the > comprehensive list: > 5 > 6 > Which should give me: > 3 > > Any ideas? Ken (and all the other ingenious people), you have something against the "intersect" command? Convert both lists to arrays and intersect them leaving only the non-common elements. cheers David > > Ken Ray > Sons of Thunder Software From monte at sweattechnologies.com Mon Apr 4 02:39:30 2005 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Apr 2005 16:09:30 +0930 Subject: How to get the difference between two lists? References: <20050404063437.8ADAE930161@mail.runrev.com> Message-ID: <029601c538e1$0e4f4400$0402a8c0@Fred> > Ken (and all the other ingenious people), you have something against the > "intersect" command? > > Convert both lists to arrays and intersect them leaving only the > non-common elements. My understanding is the intersect command creates an array with only common keys. If there was an inverse of the command it would be perfect as you say. Cheers Monte From kray at sonsothunder.com Mon Apr 4 02:40:42 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Apr 2005 01:40:42 -0500 Subject: How to get the difference between two lists? In-Reply-To: Message-ID: On 4/4/05 2:31 AM, "Dick Kriesel" wrote: >> With 10,000 lines in my main list and 5,000 lines in my exclude list, it >> takes only 25 milliseconds to use this on my single-processor PBG4 1MHz: > > Wow, that's fast. So I decided to compare it to an implementation of Dar's > second suggestion, which I've been using for a long time. The test I tried > yields times very different from Richard's. Even though my machine is a > dual 2 GHz G5, function "Shortlist" took almost a hundred times longer than > Richard reported. I wonder why the times are so different. Mine ran that slowly as well... perhaps Richard's doing something we aren't? > But the other function ran almost 70 times faster than function "Shortlist." That's awesome, Dick... I didn't get a chance to benchmark it so I'll use that instead. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Mon Apr 4 02:41:27 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Apr 2005 01:41:27 -0500 Subject: How to get the difference between two lists? In-Reply-To: Message-ID: On 4/4/05 1:33 AM, "David Vaughan" wrote: > Ken (and all the other ingenious people), you have something against > the "intersect" command? Yes - what I need is the *opposite* of intersect... you see using intersect only returns the *common* elements, not the *non-common* elements. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at tactilemedia.com Mon Apr 4 02:57:46 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 03 Apr 2005 23:57:46 -0700 Subject: [ANN] RevZilla 2.0 In-Reply-To: Message-ID: Recently, Ken Ray wrote: > I'm proud to announce that RevZilla 2.0 is now available Ken, you rule. Thanks for continuing to make this available. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Mon Apr 4 04:07:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Apr 2005 01:07:15 -0700 Subject: How to get the difference between two lists? In-Reply-To: References: Message-ID: <4250F5B3.7090703@fourthworld.com> Dick Kriesel wrote: > On 4/3/05 7:49 PM, "Richard Gaskin" wrote: > >>With 10,000 lines in my main list and 5,000 lines in my exclude list, it >>takes only 25 milliseconds to use this on my single-processor PBG4 1MHz: >> >>function ShortList pList, pExcludelist >> repeat for each line tLine in pList >> if tLine is not among the lines of pExcludeList then >> put tLine & cr after tNulist >> end if >> end repeat >> delete last char of tNuList >> return tNuList >>end ShortList > > > Wow, that's fast. So I decided to compare it to an implementation of Dar's > second suggestion, which I've been using for a long time. The test I tried > yields times very different from Richard's. Even though my machine is a > dual 2 GHz G5, function "Shortlist" took almost a hundred times longer than > Richard reported. I wonder why the times are so different. > > But the other function ran almost 70 times faster than function "Shortlist." Indeed it did. My earlier test was bunk -- can I use jet lag as my excuse today? :) Here's the latest test below -- the array version is indeed orders of magnitude faster. But one note from Ken raises a question -- Ken wrote: Unfortunately this is something that will be executed in a loop several thousand times, so even at 25ms * 2000 that ends up being 50 seconds, which is way too long. You've probably already consider this, but is there a way you can reduce the number of iterations? on mouseUp repeat with i = 1 to 10000 put i&cr after tList end repeat put xList(tList) into tExcludeList -- put the millisecs into t get ShortList1(tList, tExcludeList) put the millisecs - t into t1 -- put the millisecs into t get ShortList2(tList,tExcludeList) put the millisecs - t into t2 -- put t1 && t2 end mouseUp function ShortList1 pList, pExcludelist repeat for each line tLine in pList if tLine is not among the lines of pExcludeList then put tLine & cr after tNulist end if end repeat delete last char of tNuList return tNuList end ShortList1 function ShortList2 pList, pExcludelist split pList with return and tab repeat for each line tLine in pExcludelist delete variable pList[tLine] end repeat return the keys of pList end ShortList2 function xList pList repeat for each line tLine in pList if tLine mod 2 = 0 then put tLine & cr after tNulist end if end repeat delete last char of tNuList return tNuList end xList -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brunnerc at earthlink.net Fri Apr 1 18:42:15 2005 From: brunnerc at earthlink.net (Cornelia Brunner) Date: Fri, 01 Apr 2005 18:42:15 -0500 Subject: Editing standalone Message-ID: I am an education researcher building little applications for non-commercial uses (not a programmer) and I have I have just done a really stupid thing and replaced my folder with the original .rev file in it with a folder containing the standalone (Mac). Now I need to edit the application but I no longer have the .rev file. Is there a way to re-open the standalone inside Revolution? I would greatly appreciate any help, any work-around that lets me get back inside the application without having to start all over. And I HAVE learned my lesson! -- Cornelia Brunner, Ph.D. Associate Director EDC/Center for Children and Technology 96 Morton Street New York, NY 10014 Tel: 212 807 4228 Fax: 212 633 8804 cbrunner at edc.org http://www2.edc.org/CCT/ From brunnerc at earthlink.net Sat Apr 2 09:53:55 2005 From: brunnerc at earthlink.net (Cornelia Brunner) Date: Sat, 02 Apr 2005 09:53:55 -0500 Subject: Edit standalone Message-ID: I am an educational researcher, not a programmer, making little educational applets and I make a lot of mistakes, but I just did a really stupid thing: I replaced a folder containing a standalone and the original .rev file with a new standalone folder. Now I need to edit the applet and I no longer have the .rev file. Is there any way to open a standalone in Revolution? What can I do to get back inside it other than starting all over? Help! Anyone? Thanks -- Cornelia Brunner, Ph.D. Associate Director EDC/Center for Children and Technology 96 Morton Street New York, NY 10014 Tel: 212 807 4228 Fax: 212 633 8804 cbrunner at edc.org http://www2.edc.org/CCT/ From alex at tweedly.net Mon Apr 4 08:15:08 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Apr 2005 13:15:08 +0100 Subject: Python and Rev In-Reply-To: References: Message-ID: <42512FCC.8080203@tweedly.net> Judy Perry wrote: >Neither I nor my Python-loving spouse has ever been able to get PythonCard >working. > >Is it possible? > It's certainly possible; there were some problems in earlier versions but 0.8 and 0.8.1 should be fine. If you want to give it another try, let me know off-list what the problems are (or, probably better, join the Pythoncard mail list at http://lists.sourceforge.net/lists/listinfo/pythoncard-users and if you have any problems, tell that list about them .... there's a chance it'll still be me that answers, but there are a number of more knowledgeable and helpful people on there) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From alex at tweedly.net Mon Apr 4 08:31:03 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Apr 2005 13:31:03 +0100 Subject: Rename Duplicate In-Reply-To: <001e01c538b6$523c8b30$03daa4cb@p4c2> References: <20050403230617.25A0F9300BB@mail.runrev.com> <001e01c538b6$523c8b30$03daa4cb@p4c2> Message-ID: <42513387.3070502@tweedly.net> Dwayne Rothe wrote: >Hi All, >Trying to find the easiest way to rename a (new)string if it already exists >in a list! >If a user tries to add an existing name to a list I want it to be named the >same but adding a digit to the end. >e.g Example exists so name new entery to Example(2), Example(2) exists so >name new to Example(3) e.t.c > >any ideas woold be appreciated thanx............. > > Here's a simple function (and test script - you need a field "inField" to get the input) local lList = "ss, tt, ss(1), ss(2)," -- start with some values already there on mouseUp put field "inField" into t put generateString(t, lList) & comma after lList put "now have " && lList & cr after msg end mouseUp function generateString p, pList if p is among the items of pList then put 1 into i repeat while p & "(" & i & ")" is among the items of pList add 1 to i end repeat return p & "(" & i & ")" else return p end if end generateString -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From kray at sonsothunder.com Mon Apr 4 09:13:54 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Apr 2005 08:13:54 -0500 Subject: How to get the difference between two lists? In-Reply-To: <029601c538e1$0e4f4400$0402a8c0@Fred> Message-ID: On 4/4/05 1:39 AM, "Monte Goulding" wrote: >> Ken (and all the other ingenious people), you have something against the >> "intersect" command? >> >> Convert both lists to arrays and intersect them leaving only the >> non-common elements. > > My understanding is the intersect command creates an array with only common > keys. If there was an inverse of the command it would be perfect as you say. I added this as an enhancement request to Bugzilla (Bug #2763 if anyone wants to vote on it). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From 3mcgrath at adelphia.net Mon Apr 4 09:15:05 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 4 Apr 2005 09:15:05 -0400 Subject: RevOnline's fingerprinting In-Reply-To: <425060BF.6000306@tweedly.net> References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> <425060BF.6000306@tweedly.net> Message-ID: <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> Where is this custompropertyset ?? I looked in the revOnline stack and my shared stack and could not find it?? Thanks tom On Apr 3, 2005, at 5:31 PM, Alex Tweedly wrote: > Thanks Andre - it's a customproperty called "fingerprint" in the > custompropertyset "cREVOnline" > Setting it to empty works !! > Thomas J McGrath III 3mcgrath at adelphia.net 412-831-3094 220 Drake Road Bethel Park, PA 15102 <*)) >=< "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways - a Cigar in one hand - a large steak in the other - your body thoroughly used up, totally worn out, and screaming - WOO HOO! What a Ride!" From chris at carroll-davis.co.uk Mon Apr 4 09:31:44 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Mon, 4 Apr 2005 14:31:44 +0100 Subject: QT player question In-Reply-To: <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> <425060BF.6000306@tweedly.net> <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> Message-ID: <34a5338d2fe2642cdfcd22c881178960@carroll-davis.co.uk> Hello all - I expect this is an easy question, but I can't seem to see how to do it! How do I see if a player is playing? The playrate property always returns 1 (I want to play movies at normal speed) I had thought it might return "0" if the movie was not playing. The movie() function only seems to work with video clips, not player objects. So I can't say "if the movie is done..." I need the equivalent of a "playing()" function that would return true or false. A (virtual) Mars bar to the first person with the answer!!! Chris From 3mcgrath at adelphia.net Mon Apr 4 09:50:59 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 4 Apr 2005 09:50:59 -0400 Subject: How to get the difference between two lists? In-Reply-To: <4250B930.2030008@fourthworld.com> References: <4250B930.2030008@fourthworld.com> Message-ID: Richard had shared that some time ago and it worked great, the thing is for some reason (SuperCard, I guess) I have a hard time putting my mind around repeat for each line tLine and then if tLine - I have used it but it doesn't always come to mind in trying to figure something out. Love it though..... tom On Apr 3, 2005, at 11:49 PM, Richard Gaskin wrote: > function ShortList pList, pExcludelist > repeat for each line tLine in pList > if tLine is not among the lines of pExcludeList then > put tLine & cr after tNulist > end if > end repeat > delete last char of tNuList > return tNuList > end ShortList Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From soapdog at mac.com Mon Apr 4 09:58:19 2005 From: soapdog at mac.com (Andre Garzia) Date: Mon, 4 Apr 2005 10:58:19 -0300 Subject: RevOnline's fingerprinting In-Reply-To: <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> <425060BF.6000306@tweedly.net> <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> Message-ID: On Apr 4, 2005, at 10:15 AM, Thomas McGrath III wrote: > Where is this custompropertyset ?? I looked in the revOnline stack and > my shared stack and could not find it?? > > Thanks Thomas, This custom property probably do not appear on the default inspector for its name begins with REV, try using an alternative prop editor like those in altToolbar or Devolution. PS: or inspect it using the messagebox.. cheer andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From 3mcgrath at adelphia.net Mon Apr 4 10:03:19 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 4 Apr 2005 10:03:19 -0400 Subject: Edit standalone In-Reply-To: References: Message-ID: <225c2f4fb61fdd8f23c76bfb2b87b1c2@adelphia.net> On the Mac you can select the .app build and left click select "show package contents" and go through contents/ Mac OS/ etc. till you see the .rev stack and open that. Tom On Apr 2, 2005, at 9:53 AM, Cornelia Brunner wrote: > I am an educational researcher, not a programmer, making little > educational > applets and I make a lot of mistakes, but I just did a really stupid > thing: > I replaced a folder containing a standalone and the original .rev > file with > a new standalone folder. Now I need to edit the applet and I no longer > have > the .rev file. Is there any way to open a standalone in Revolution? > What can > I do to get back inside it other than starting all over? > Help! Anyone? Thanks > > -- > Cornelia Brunner, Ph.D. > Associate Director > EDC/Center for Children and Technology > 96 Morton Street > New York, NY 10014 > Tel: 212 807 4228 > Fax: 212 633 8804 > cbrunner at edc.org > http://www2.edc.org/CCT/ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Mon Apr 4 10:03:45 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 4 Apr 2005 10:03:45 -0400 Subject: RevOnline's fingerprinting In-Reply-To: References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> <425060BF.6000306@tweedly.net> <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> Message-ID: <400931939e227f9f5155ae2155371707@adelphia.net> Thanks Tom On Apr 4, 2005, at 9:58 AM, Andre Garzia wrote: > > On Apr 4, 2005, at 10:15 AM, Thomas McGrath III wrote: > >> Where is this custompropertyset ?? I looked in the revOnline stack >> and my shared stack and could not find it?? >> >> Thanks > > Thomas, > > This custom property probably do not appear on the default inspector > for its name begins with REV, try using an alternative prop editor > like those in altToolbar or Devolution. > > PS: or inspect it using the messagebox.. > cheer > andre > > -- > Andre Alves Garzia ? 2004 > Soap Dog Studios - BRAZIL > http://studio.soapdog.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Mon Apr 4 10:17:50 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 4 Apr 2005 10:17:50 -0400 Subject: Edit standalone In-Reply-To: <225c2f4fb61fdd8f23c76bfb2b87b1c2@adelphia.net> References: <225c2f4fb61fdd8f23c76bfb2b87b1c2@adelphia.net> Message-ID: <81ca83fd3dc3716f4dff17e6205c445a@adelphia.net> I just tried this again and the rev file in the bundle is now showing up as a pc file???? and changing it to a .rev does not work. I wonder if it was just the os9 ones that worked???? I don't know how to get it open... Tom On Apr 4, 2005, at 10:03 AM, Thomas McGrath III wrote: > On the Mac you can select the .app build and left click select "show > package contents" and go through contents/ Mac OS/ etc. till you see > the .rev stack and open that. > > Tom > > On Apr 2, 2005, at 9:53 AM, Cornelia Brunner wrote: > >> I am an educational researcher, not a programmer, making little >> educational >> applets and I make a lot of mistakes, but I just did a really stupid >> thing: >> I replaced a folder containing a standalone and the original .rev >> file with >> a new standalone folder. Now I need to edit the applet and I no >> longer have >> the .rev file. Is there any way to open a standalone in Revolution? >> What can >> I do to get back inside it other than starting all over? >> Help! Anyone? Thanks >> SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From chris at carroll-davis.co.uk Mon Apr 4 10:22:25 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Mon, 4 Apr 2005 15:22:25 +0100 Subject: Edit standalone In-Reply-To: <81ca83fd3dc3716f4dff17e6205c445a@adelphia.net> References: <225c2f4fb61fdd8f23c76bfb2b87b1c2@adelphia.net> <81ca83fd3dc3716f4dff17e6205c445a@adelphia.net> Message-ID: FWI, I just tried here too and it didn't work for me either. Chris On 4 Apr 2005, at 15:17, Thomas McGrath III wrote: > I just tried this again and the rev file in the bundle is now showing > up as a pc file???? and changing it to a .rev does not work. I wonder > if it was just the os9 ones that worked???? I don't know how to get it > open... > > > Tom > > On Apr 4, 2005, at 10:03 AM, Thomas McGrath III wrote: > >> On the Mac you can select the .app build and left click select "show >> package contents" and go through contents/ Mac OS/ etc. till you see >> the .rev stack and open that. >> >> Tom >> >> On Apr 2, 2005, at 9:53 AM, Cornelia Brunner wrote: >> >>> I am an educational researcher, not a programmer, making little >>> educational >>> applets and I make a lot of mistakes, but I just did a really stupid >>> thing: >>> I replaced a folder containing a standalone and the original .rev >>> file with >>> a new standalone folder. Now I need to edit the applet and I no >>> longer have >>> the .rev file. Is there any way to open a standalone in Revolution? >>> What can >>> I do to get back inside it other than starting all over? >>> Help! Anyone? Thanks >>> > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From fde101 at fjrhome.net Mon Apr 4 10:24:04 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 10:24:04 -0400 Subject: shell() not waiting - not hiding In-Reply-To: References: <20050403161339.EDC27930075@mail.runrev.com> Message-ID: <8a9ff76778f6985fc374a90761adacc8@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Some Windows programs (and even some UNIX apps anymore) detach themselves from the tty from which they were launched; this would most likely result in Rev returning early, even while the app is still running. On Apr 3, 2005, at 3:13 PM, Dar Scott wrote: > > On Apr 3, 2005, at 10:00 AM, MisterX wrote: > >> You can start a shell with the "start" (see start /? or /help) DOS >> command >> to make the shell return directly to runrev right away but you will >> not get >> an answer back - you need to pipe it to a file instead which is not >> that >> hard to watch and catch later... > > If the application is writing to the console instead of to stdout, > then this might not work. Maybe there is a way to ask the console > window for data. Or maybe there is a switch to control output. > > Piping might be a good way to check the output hypothesis. > > Dar > > -- > ********************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > Programming Services and Software > ********************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUU4F7aqtWrR9cZoRArA3AJ4itVZfXIhkLo/+7tmitwmiWxVMTACdEXwd 7neqR9NuwNM+73k7INlTKUE= =A2CV -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From klaus at major-k.de Mon Apr 4 10:25:28 2005 From: klaus at major-k.de (Klaus Major) Date: Mon, 4 Apr 2005 16:25:28 +0200 Subject: QT player question In-Reply-To: <34a5338d2fe2642cdfcd22c881178960@carroll-davis.co.uk> References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> <425060BF.6000306@tweedly.net> <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> <34a5338d2fe2642cdfcd22c881178960@carroll-davis.co.uk> Message-ID: Hi Chris, > Hello all - > > I expect this is an easy question, but I can't seem to see how to do > it! How do I see if a player is playing? Watch very hard :-) > The playrate property always returns 1 (I want to play movies at > normal speed) The playrate determines the plaback speed of your movie and 0 means that a playing movie is currently paused ;-) > I had thought it might return "0" if the movie was not playing. > The movie() function only seems to work with video clips, not player > objects. So I can't say "if the movie is done..." > > I need the equivalent of a "playing()" function that would return true > or false. Since there is no direct way to dtermine what you want, use a little trick: function movie_is_playing put the currenttime of player xyz into ct wait 10 millisecs return (the currenttime fo player xyz < ct) ##will be true if the movie is inded playing, else will be false end movie_is_playing Here i just check 2 different "times" and see if they are identical or not... Hope that helps... > A (virtual) Mars bar to the first person with the answer!!! > > Chris Best Klaus Major klaus at major-k.de http://www.major-k.de From jhurley at infostations.com Mon Apr 4 10:27:10 2005 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 4 Apr 2005 07:27:10 -0700 Subject: How to get the difference between two lists? In-Reply-To: <20050404063437.CEC10930170@mail.runrev.com> References: <20050404063437.CEC10930170@mail.runrev.com> Message-ID: > >Message: 6 >Date: Sun, 03 Apr 2005 22:04:54 -0500 >From: Ken Ray >Subject: How to get the difference between two lists? >To: Use Revolution List >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >I've got two lists - one with is the "comprehensive" list that is >return-delimited, like: >(snip) Ken, I wrote a short stack (non-pancake) a short time ago to deal with the multitude of e-mail list among the various volunteer groups in my community, extract duplicates, find common lines, etc. It will generate the both the intersection and the union of any two lists. Don't know if this is any help but you can see with go url "http://home.infostations.net/jhurley/CompareLists.rev" Jim From klaus at major-k.de Mon Apr 4 10:36:39 2005 From: klaus at major-k.de (Klaus Major) Date: Mon, 4 Apr 2005 16:36:39 +0200 Subject: QT player question In-Reply-To: References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> <425060BF.6000306@tweedly.net> <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> <34a5338d2fe2642cdfcd22c881178960@carroll-davis.co.uk> Message-ID: <773dbf3062064671ab241c3660c49022@major-k.de> Hi Chris, TYPO alarm, sorry!!! > ... > function movie_is_playing > put the currenttime of player xyz into ct > wait 10 millisecs > return (the currenttime fo player xyz > ct) ### GREATER THAN! Best Klaus Major klaus at major-k.de http://www.major-k.de From chris at carroll-davis.co.uk Mon Apr 4 10:40:23 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Mon, 4 Apr 2005 15:40:23 +0100 Subject: QT player question In-Reply-To: References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> <425060BF.6000306@tweedly.net> <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> <34a5338d2fe2642cdfcd22c881178960@carroll-davis.co.uk> Message-ID: <18b3acca1d3b67a580579e9e92fe944c@carroll-davis.co.uk> Thanks Klaus! your solution works fine, but you were beaten off-list. >> use: the paused of player x doh! as simple as that!!!! I *hate* missing simple stuff! Thanks again, Chris On 4 Apr 2005, at 15:25, Klaus Major wrote: > Hi Chris, > >> Hello all - >> >> I expect this is an easy question, but I can't seem to see how to do >> it! How do I see if a player is playing? > > Watch very hard :-) > >> The playrate property always returns 1 (I want to play movies at >> normal speed) > > The playrate determines the plaback speed of your movie and 0 means > that a playing > movie is currently paused ;-) > >> I had thought it might return "0" if the movie was not playing. >> The movie() function only seems to work with video clips, not player >> objects. So I can't say "if the movie is done..." >> >> I need the equivalent of a "playing()" function that would return >> true or false. > > Since there is no direct way to dtermine what you want, use a little > trick: > > function movie_is_playing > put the currenttime of player xyz into ct > wait 10 millisecs > return (the currenttime fo player xyz < ct) > ##will be true if the movie is inded playing, else will be false > end movie_is_playing > > Here i just check 2 different "times" and see if they are identical or > not... > > Hope that helps... > >> A (virtual) Mars bar to the first person with the answer!!! >> >> Chris > > Best > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Mon Apr 4 10:41:48 2005 From: klaus at major-k.de (Klaus Major) Date: Mon, 4 Apr 2005 16:41:48 +0200 Subject: QT player question In-Reply-To: References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> <425060BF.6000306@tweedly.net> <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> <34a5338d2fe2642cdfcd22c881178960@carroll-davis.co.uk> Message-ID: <75e13575e8a861a96d5027d645cfe196@major-k.de> Hi Chris, and since we are also able to play movies backwards, this one will also cover that one :-) function movie_is_playing put the currenttime of player xyz into ct wait 10 millisecs return (the currenttime fo player xyz <> ct) end movie_is_playing Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Mon Apr 4 10:52:06 2005 From: klaus at major-k.de (Klaus Major) Date: Mon, 4 Apr 2005 16:52:06 +0200 Subject: QT player question In-Reply-To: <18b3acca1d3b67a580579e9e92fe944c@carroll-davis.co.uk> References: <425034C8.1080808@tweedly.net> <8a8589b4c7367e4e43a94a76efa7d8d7@mac.com> <425060BF.6000306@tweedly.net> <36e5052c43880ba025a239d8dd48dcb5@adelphia.net> <34a5338d2fe2642cdfcd22c881178960@carroll-davis.co.uk> <18b3acca1d3b67a580579e9e92fe944c@carroll-davis.co.uk> Message-ID: Hi Chris, > Thanks Klaus! > > your solution works fine, but you were beaten off-list. > >> use: the paused of player x DAMN! ;-) > doh! as simple as that!!!! > I *hate* missing simple stuff! > Thanks again, > > Chris Best Klaus Major klaus at major-k.de http://www.major-k.de From devin_asay at byu.edu Mon Apr 4 10:51:57 2005 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 04 Apr 2005 08:51:57 -0600 Subject: Edit standalone In-Reply-To: References: Message-ID: <6fe7913d62337fd1f0a7637f1b3c82dd@byu.edu> Cornelia, I don't know of any way of opening the stack once compiled. You may at least be able to recover the text in fields and custom properties and perhaps even some of the scripts by opening the application bundle (appName>Contents>MacOS>StackName) in a text editor like BBedit, or even in a web browser or in MS Word. Devin Asay On Apr 2, 2005, at 7:53 AM, Cornelia Brunner wrote: > I am an educational researcher, not a programmer, making little > educational > applets and I make a lot of mistakes, but I just did a really stupid > thing: > I replaced a folder containing a standalone and the original .rev > file with > a new standalone folder. Now I need to edit the applet and I no longer > have > the .rev file. Is there any way to open a standalone in Revolution? > What can > I do to get back inside it other than starting all over? > Help! Anyone? Thanks > > -- > Cornelia Brunner, Ph.D. > Associate Director > EDC/Center for Children and Technology > 96 Morton Street > New York, NY 10014 > Tel: 212 807 4228 > Fax: 212 633 8804 > cbrunner at edc.org > http://www2.edc.org/CCT/ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From eric.chatonet at wanadoo.fr Mon Apr 4 10:52:40 2005 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Mon, 4 Apr 2005 16:52:40 +0200 Subject: Revolution UI Elements in Lists (was RevOnline's fingerprinting) In-Reply-To: <20050404143846.A0F739301C0@mail.runrev.com> References: <20050404143846.A0F739301C0@mail.runrev.com> Message-ID: Hi Andre, Le 4 avr. 05, ? 16:38, Andre Garzia a ?crit : > This custom property probably do not appear on the default inspector > for its name begins with REV, try using an alternative prop editor like > those in altToolbar or Devolution. Or just turn on Revolution UI Elements in Lists option in the View menu :-) Best regards, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet AT sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at wanadoo.fr Mon Apr 4 11:11:07 2005 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Mon, 4 Apr 2005 17:11:07 +0200 Subject: [ANN] #012 How-To stack: Asking password Message-ID: Hi everyone, How-To stack #012: Asking password Shows how to ask a password in a customary field. Usually, the job is done using 2 fields, one of which is hidden. Here a custom property stored in the field is used as a substitute for the usual 2nd hidden field. This way makes it easy to copy/paste the scripted field into any stack where it will work immediatly :-) On RevOnLine: User name: So Smart Software Category: Programming On RevNet: Tutorials section To donwload RevNet, go to http://www.fourthworld.com/rev/index.html Directly by pasting into the message box: go url "http://www.sosmartsoftware.com/downloads/Asking%20Password.rev" With best regards, Eric Chatonet. --------------------------------------------------------------- For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch --------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet AT sosmartsoftware.com/ Post 24, Bd de Port-Royal 75005 Paris Phone (33) 143 317 762 Mobile (33) 620 745 086 --------------------------------------------------------------- From fde101 at fjrhome.net Mon Apr 4 11:13:15 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 11:13:15 -0400 Subject: Python and Rev In-Reply-To: <20050404050041.79F76B6BB@xprdmailfe14.nwk.excite.com> References: <20050404050041.79F76B6BB@xprdmailfe14.nwk.excite.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rev allows AppleScript via the "do ... as AppleScript" command. Perhaps this could be extended to support things like do ... as Python do ... as Ruby do ... as AmericanEnglish ;-) or whatever? On Apr 4, 2005, at 1:00 AM, Thomas McCarthy wrote: > > I just remembered that HyperCard allowed scripting in AppleScript in > its stacks and objects. Wouldn't it be nice if Rev also did that with > Python? > > To further muddy the waters... > While looking into other tools, I discovered Ruby, a language designed > by a Japanese no less. And I found a IDE called WideStudio for > building Ruby things--it also supports C++, Java and Perl as well as > Python and Ruby. Anybody familiar with Ruby or WideStudio? > > (again, I will definitely continue to use Rev for my daily > programming. just looking for additional tools) > > tom mccarthy > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUVmL7aqtWrR9cZoRAiqDAJ9m1H/LmpT11PN5fFoEfa+WNsbAFgCfXKob 5qYI2KJlGMCl1Lj3isnS05M= =Q8yC -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From eric.chatonet at wanadoo.fr Mon Apr 4 11:22:20 2005 From: eric.chatonet at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Chatonet?=) Date: Mon, 4 Apr 2005 17:22:20 +0200 Subject: [ANN] Thumbnails Picker 1.1 released In-Reply-To: <20050318055830.A057593028A@mail.runrev.com> References: <20050318055830.A057593028A@mail.runrev.com> Message-ID: <9bd4a09fa0ac5303253b14b99475c993@wanadoo.fr> Hi everyone, Thumbnails Picker 1.1 is available from http://www.sosmartsoftware.com/ This version includes now 4 output compression types : JPEG Auto, JPEG Manual, PNG and GIF (With Thumbnails Picker 1.0, only JPEG Manual was available.) By drag and drop, Thumbnails Picker lets you create JPEG, PNG or GIF optimized thumbnails from any JPEG, PNG, GIF or BMP file. Creation per unit, or fully automated batch processing. JPEG quality and dimensions choice (from 20 up to 360 pixels large). Bilingual software (English/French). Identical appearance on all platforms. Best regards, Eric Chatonet. --------------------------------------------------------------- For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch --------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet AT sosmartsoftware.com/ Post 24, Bd de Port-Royal 75005 Paris Phone (33) 143 317 762 Mobile (33) 620 745 086 --------------------------------------------------------------- From kray at sonsothunder.com Mon Apr 4 11:47:02 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Apr 2005 10:47:02 -0500 Subject: How to get the difference between two lists? In-Reply-To: Message-ID: On 4/4/05 9:27 AM, "Jim Hurley" wrote: > I wrote a short stack (non-pancake) a short time ago to deal with the > multitude of e-mail list among the various volunteer groups in my > community, extract duplicates, find common lines, etc. > > It will generate the both the intersection and the union of any two > lists. Don't know if this is any help but you can see with > > go url "http://home.infostations.net/jhurley/CompareLists.rev" Very cool, Jim, thanks! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From fde101 at fjrhome.net Mon Apr 4 11:22:56 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 11:22:56 -0400 Subject: How to get the difference between two lists? In-Reply-To: References: <20050404063437.CEC10930170@mail.runrev.com> Message-ID: <245f80df858d8f26e81c9faa9f1ce871@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Okay, so anyone want to report on this one (untested, but should be rather efficient): This algorithm assumes that every item in the exclusion list is included in the master list, that there are no duplicate items in either list, and that both lists are in ascending numeric order: put empty into targetList put (excludeList & cr & 100000000000000000) into eCopy -- use some absurdly huge -- number, guaranteed to not be in either list, and to be larger than the largest possible -- number in either list put 1 into z repeat for each line x in masterList if x < (line z of eCopy) then put (x & cr) after targetList else add 1 to z end repeat delete the last char of targetList On Apr 4, 2005, at 10:27 AM, Jim Hurley wrote: >> >> Message: 6 >> Date: Sun, 03 Apr 2005 22:04:54 -0500 >> From: Ken Ray >> Subject: How to get the difference between two lists? >> To: Use Revolution List >> Message-ID: >> Content-Type: text/plain; charset="US-ASCII" >> >> I've got two lists - one with is the "comprehensive" list that is >> return-delimited, like: >> (snip) > > > Ken, > > I wrote a short stack (non-pancake) a short time ago to deal with the > multitude of e-mail list among the various volunteer groups in my > community, extract duplicates, find common lines, etc. > > It will generate the both the intersection and the union of any two > lists. Don't know if this is any help but you can see with > > go url "http://home.infostations.net/jhurley/CompareLists.rev" > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUVvQ7aqtWrR9cZoRAh7pAJ0ajDgAWnoR/007yYs3bio03xk8lQCfQhzo FxOsMhZvTLt2NQF9ixuKDfk= =1IIo -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Mon Apr 4 11:27:36 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 11:27:36 -0400 Subject: My Revolution Game Released In-Reply-To: <20050403010909.12521.qmail@web52303.mail.yahoo.com> References: <20050403010909.12521.qmail@web52303.mail.yahoo.com> Message-ID: <958e8e057d725be55ca515d7d386201c@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Looks good! A vast improvement over the earlier alpha version. I'll try to play with it a bit more later on if I get time. On Apr 2, 2005, at 8:09 PM, Rick Wood wrote: > I posted an early alpha version late last year on the > revolution list. Now Im proud to announce that the > game has been completed and released on my website. > Along with it is the source code (stack file) so > people can look into the code if they wish! You will > need to download either the windows or Mac OSX game > (~30MB) and source code and place the .rev file in the > installed game directory, otherwise you might get some > errors and no graphics will show. > > http://www.taggedsoftware.com > > I must admit some sections of code are more of a dirty > hack than a clean code. I haven't optimized the code > either, but I am working on releasing a new version at > the end of the year with many improvements and > optimizations. So feel free to email me (or post on > the list) about sections of my code that you feel > could be tweaked. > > Jeremy > jeremy at taggedsoftware.com > > > > __________________________________ > Do you Yahoo!? > Yahoo! Personals - Better first dates. More second dates. > http://personals.yahoo.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUVzp7aqtWrR9cZoRAi0oAJsEz43cT9T67Gopd5bKTXQ8e/uwIwCgg6ty A2MLywbXopQgBFQ0MeasM9o= =eHuP -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From joel.guillod at net2000.ch Mon Apr 4 12:15:07 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Mon, 4 Apr 2005 18:15:07 +0200 Subject: Python and Rev In-Reply-To: <20050404160022.DC5AC930102@mail.runrev.com> References: <20050404160022.DC5AC930102@mail.runrev.com> Message-ID: <4dcece30ec1c0d681f3c0c7f96d748c9@net2000.ch> > Anybody familiar with Ruby or WideStudio? Personnaly I use Eclipse + PyDev + Ant + wxDesigner for GUI (I am trying it currently) + wxPython (i.e. a wrapper for the wxWidgets as the multiplatform GUI). At first a bit more complex than Revolution or RealBasic IDE but opensource, much more reliable and quick fixes by the wide developers' community, object oriented with more complex data structures and many important modules ready to use (xslt, database, sockets, easy C/C++ externals, ...). Like others I will probably keep Rev for some programming but the most important - and the most difficult - is to use the right tool for the right thing...! > Rev allows AppleScript via the "do ... as AppleScript" command. > Perhaps this could be extended to support things like > > do ... as Python > do ... Why not? But under MacOSX 3.x you just have to run the following script: put "print 'hello'" into thePythonScript put shell("python -c " "e& thePythonScript & quote) (also similar for ruby...). From scott at tactilemedia.com Mon Apr 4 13:00:21 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 04 Apr 2005 10:00:21 -0700 Subject: QT player question In-Reply-To: <34a5338d2fe2642cdfcd22c881178960@carroll-davis.co.uk> Message-ID: Recently, Chris Carroll-Davis wrote: > I expect this is an easy question, but I can't seem to see how to do > it! How do I see if a player is playing? Check the paused of the player: if the paused of player 1 then do xyz Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From capellan2000 at yahoo.com Mon Apr 4 13:06:31 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 4 Apr 2005 10:06:31 -0700 (PDT) Subject: Detecting the stack that have the mouse pointer In-Reply-To: <20050404160022.A15289300E2@mail.runrev.com> Message-ID: <20050404170631.11866.qmail@web40506.mail.yahoo.com> Hi Developers, I have a mousemove handler in a frontscript. This mousemove handler puts the X,Y position in the message box and i want to know the mode of the stack over which the mouse pointer is. Toplevel stacks have a mode of 1 palettes, modeless stacks and modal stack have different numbers. for example: i expect that when i move the mouse over a stack, appears in the message box: 35,79 stack "mytoplevelstack" mode 1 or 10,10 stack "myCustomstack" mode 2 How could i do this without clicking on the stack? Thanks in advance. al Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com From scott at tactilemedia.com Mon Apr 4 13:23:37 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 04 Apr 2005 10:23:37 -0700 Subject: Detecting the stack that have the mouse pointer In-Reply-To: <20050404170631.11866.qmail@web40506.mail.yahoo.com> Message-ID: Recently, Alejandro Tejada wrote: > I have a mousemove handler in > a frontscript. > This mousemove handler puts the X,Y > position in the message box and i want > to know the mode of the stack over which > the mouse pointer is. > Toplevel stacks have a mode of 1 > palettes, modeless stacks and modal stack > have different numbers. > > for example: > > i expect that when i move the mouse over > a stack, appears in the message box: > > 35,79 stack "mytoplevelstack" mode 1 > > or > > 10,10 stack "myCustomstack" mode 2 > > How could i do this without clicking on > the stack? One way is to replace your mouseMove handler with a looping script that checks every line in the openStacks. Something like: on checkMode put the openStacks into tList repeat for each line L in tList if within(stack L,the screenMouseLoc) then put the mode of stack L end repeat send "checkMode" to me in 50 millisecs end checkMode You also might be able to limit the check to a few stacks. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at tweedly.net Mon Apr 4 13:27:22 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Apr 2005 18:27:22 +0100 Subject: How to get the difference between two lists? In-Reply-To: <245f80df858d8f26e81c9faa9f1ce871@fjrhome.net> References: <20050404063437.CEC10930170@mail.runrev.com> <245f80df858d8f26e81c9faa9f1ce871@fjrhome.net> Message-ID: <425178FA.20904@tweedly.net> Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Okay, so anyone want to report on this one (untested, but should be > rather efficient): > > This algorithm assumes that every item in the exclusion list is > included in the master list, that there are no duplicate items in > either list, and that both lists are in ascending numeric order: That assumption isn't met by the earlier test data - so I can't do an exact comparison with the earlier cases. But with 10,000 in the full list, and 1,667 in the smaller list (instead of 5000), the times are new code: 183 ms difference: 15 ms Surprising - I expected it to be faster, but I tried a few variants and they all had much the same timings. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From kray at sonsothunder.com Mon Apr 4 13:46:20 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Apr 2005 12:46:20 -0500 Subject: Detecting the stack that have the mouse pointer In-Reply-To: Message-ID: On 4/4/05 12:23 PM, "Scott Rossi" wrote: > on checkMode > put the openStacks into tList > repeat for each line L in tList > if within(stack L,the screenMouseLoc) then put the mode of stack L > end repeat > send "checkMode" to me in 50 millisecs > end checkMode Can't you just say: put the mode of the mouseStack ?? I tested it this way - put this script into a button: on mouseUp CheckIt end mouseUp on CheckIt if the commandKey is down then exit CheckIt if the mouseStack <> "" then put the short name of the mouseStack && (the mode of the mouseStack) end if send "CheckIt" to me in 50 milliseconds end CheckIt Click the button, and start moving over different stacks - you should see it change accordingly. Hold down the Command key to make it stop. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From fde101 at fjrhome.net Mon Apr 4 13:48:37 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 13:48:37 -0400 Subject: How to get the difference between two lists? In-Reply-To: <425178FA.20904@tweedly.net> References: <20050404063437.CEC10930170@mail.runrev.com> <245f80df858d8f26e81c9faa9f1ce871@fjrhome.net> <425178FA.20904@tweedly.net> Message-ID: <83d06b062ea15efe7ae65b8511aff0af@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Interesting. Note that it would not be difficult to modify that code to support lists which do not meet those criteria (as long as both lists are still sorted, or else you'd need to sort them first), but I already lost the old stats: is this 15ms faster. or slower? Given the problems with that one, I'm curious: how does something like this compare (this version only requires that both lists are in ascending numeric order): put empty into the targetList put 1 into x put the number of lines in the masterList into maxX put line 1 of the masterList into y repeat for each line z in the exceptList repeat while (y < z) and (x <= maxX) put (y & cr) after the targetList add 1 to x put line x of the masterList into y end repeat repeat while (y = z) and (x <= maxX) add 1 to x put line x of the masterList into y end repeat end repeat repeat with x = x to maxX put (line x of the masterList) & cr after the targetList end repeat delete the last char of the targetList On Apr 4, 2005, at 1:27 PM, Alex Tweedly wrote: > Frank D. Engel, Jr. wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Okay, so anyone want to report on this one (untested, but should be >> rather efficient): >> >> This algorithm assumes that every item in the exclusion list is >> included in the master list, that there are no duplicate items in >> either list, and that both lists are in ascending numeric order: > > That assumption isn't met by the earlier test data - so I can't do an > exact comparison with the earlier cases. > > But with 10,000 in the full list, and 1,667 in the smaller list > (instead of 5000), the times are > new code: 183 ms > difference: 15 ms > > Surprising - I expected it to be faster, but I tried a few variants > and they all had much the same timings. > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUX327aqtWrR9cZoRApgRAJ96CZkw6IseDfnRyeV5nsVa3d8SGQCfYQ23 CSOK7Y1hy9S50fKTpxl7klk= =Nil+ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From alex at tweedly.net Mon Apr 4 14:07:07 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Apr 2005 19:07:07 +0100 Subject: How to get the difference between two lists? In-Reply-To: <83d06b062ea15efe7ae65b8511aff0af@fjrhome.net> References: <20050404063437.CEC10930170@mail.runrev.com> <245f80df858d8f26e81c9faa9f1ce871@fjrhome.net> <425178FA.20904@tweedly.net> <83d06b062ea15efe7ae65b8511aff0af@fjrhome.net> Message-ID: <4251824B.9090003@tweedly.net> Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Interesting. Note that it would not be difficult to modify that code > to support lists which do not meet those criteria (as long as both > lists are still sorted, or else you'd need to sort them first), but I > already lost the old stats: is this 15ms faster. or slower? It's not "faster" or "slower". The earlier comparison compared two functions - "Shortlist" and "difference". "difference" is the code that uses arrays and delete variable - i.e. the second of the suggested methods from Dar, and also suggested by Monte. Combining the previous stats and the new one, (i.e. extrapolating and guessing) you get something like old Shortlist : 300 new code (and variants) : 200 + / - a bit difference : 15 i.e. all the methods that loop through making use of the fact that the data in each list is sorted are significantly faster than using "among the lines of", but much slower than using the arrays. > Given the problems with that one, I'm curious: how does something like > this compare (this version only requires that both lists are in > ascending numeric order): > looks like just another variant - I'm guessing it will be 200ms give or take a bit, and don't feel the need to know exactly how much plus or minus; the array method is clearly the one to use. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005 From scott at tactilemedia.com Mon Apr 4 14:41:42 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 04 Apr 2005 11:41:42 -0700 Subject: Detecting the stack that have the mouse pointer In-Reply-To: Message-ID: Recently, Ken Ray wrote: >> on checkMode >> put the openStacks into tList >> repeat for each line L in tList >> if within(stack L,the screenMouseLoc) then put the mode of stack L >> end repeat >> send "checkMode" to me in 50 millisecs >> end checkMode > > Can't you just say: > > put the mode of the mouseStack Even better - thanks Ken. :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Mon Apr 4 14:43:01 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 04 Apr 2005 13:43:01 -0500 Subject: [ANN] RevZilla 2.0 In-Reply-To: References: Message-ID: <42518AB5.6040108@chipp.com> Hi Ken, Thanks for the great update! I checked all my bugs and votes and it works perfectly. And thanks for making it altPlugin compatible (And thanks to Jerry Daniels for helping). One of the cool things about making it compatible with altPlugin, is that users can easily get updates for RevZilla through the altPlugin update architecture. Those of you who use altPlugin, you'll want to drop RevZilla into your 'altPlugs' folder, then launch Rev and select 'refresh plugins' from the small blue triangle dropdown menu. best, Chipp Ken Ray wrote: > I'm proud to announce that RevZilla 2.0 is now available, and includes the > following features: > - Integrates with the altPlugin toolbar! From ambassador at fourthworld.com Mon Apr 4 14:57:45 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Apr 2005 11:57:45 -0700 Subject: [ANN] RevZilla 2.0 In-Reply-To: <42518AB5.6040108@chipp.com> References: <42518AB5.6040108@chipp.com> Message-ID: <42518E29.9080501@fourthworld.com> Chipp Walters wrote: > Hi Ken, > > Thanks for the great update! I checked all my bugs and votes and it > works perfectly. > > And thanks for making it altPlugin compatible (And thanks to Jerry > Daniels for helping). One of the cool things about making it compatible > with altPlugin, is that users can easily get updates for RevZilla > through the altPlugin update architecture. What's required for alt compatibility? Anything we might addrress in the Rev interoperability initiative? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From capellan2000 at yahoo.com Mon Apr 4 15:01:25 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 4 Apr 2005 12:01:25 -0700 (PDT) Subject: Detecting the stack that have the mouse pointer In-Reply-To: <20050404160022.A15289300E2@mail.runrev.com> Message-ID: <20050404190125.42379.qmail@web40505.mail.yahoo.com> Ah! mouseStack :-) Thanks a lot Scott and Ken for your answers! My oversight of the mouseStack only means that i've not used this function before. But it's very useful for recreating an interface in RR/MC. There is no doubt. I have to practice more frecuently this area of development, (along with sockets, cgi, binary data reading and writing, game programming, databases, customproperties sets, etc...) al Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest From jacque at hyperactivesw.com Mon Apr 4 15:17:28 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Apr 2005 14:17:28 -0500 Subject: Detecting the stack that have the mouse pointer In-Reply-To: <20050404170631.11866.qmail@web40506.mail.yahoo.com> References: <20050404170631.11866.qmail@web40506.mail.yahoo.com> Message-ID: <425192C8.6080609@hyperactivesw.com> On 4/4/05 12:06 PM, Alejandro Tejada wrote: > Hi Developers, > > I have a mousemove handler in > a frontscript. > This mousemove handler puts the X,Y > position in the message box and i want > to know the mode of the stack over which > the mouse pointer is. > Toplevel stacks have a mode of 1 > palettes, modeless stacks and modal stack > have different numbers. > > for example: > > i expect that when i move the mouse over > a stack, appears in the message box: > > 35,79 stack "mytoplevelstack" mode 1 > > or > > 10,10 stack "myCustomstack" mode 2 > > How could i do this without clicking on > the stack? Will the "mousestack" property help? "Get the mode of the mousestack". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 4 15:36:31 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Apr 2005 14:36:31 -0500 Subject: Shrinking Mac stack Message-ID: <4251973F.1090207@hyperactivesw.com> I am still having the problem where the bottom of a stack gets cut off on Mac standalone builds when the stack contains a menu bar. This has been going on forever and usually (but not always) can be fixed by setting the desired stack height in a preopenstack handler. Since I don't see many complaints about this behavior, I'm wondering if others are still seeing it or if it is just me. If it is just me, does anyone know what causes it? I'd very much like to avoid using the work-around hack if possible. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Apr 4 15:43:14 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 04 Apr 2005 12:43:14 -0700 Subject: Shrinking Mac stack In-Reply-To: <4251973F.1090207@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: > I am still having the problem where the bottom of a stack gets cut off > on Mac standalone builds when the stack contains a menu bar. This has > been going on forever and usually (but not always) can be fixed by > setting the desired stack height in a preopenstack handler. > > Since I don't see many complaints about this behavior, I'm wondering if > others are still seeing it or if it is just me. If it is just me, does > anyone know what causes it? I'd very much like to avoid using the > work-around hack if possible. The way I avoid this issue is to place the menu in a substack and reference it from there. 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 Apr 4 15:48:49 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 4 Apr 2005 13:48:49 -0600 Subject: How to get the difference between two lists? In-Reply-To: References: Message-ID: <4002c87d586db0ac60a8fad0495e7112@swcp.com> On Apr 4, 2005, at 12:07 AM, Brian Yennie wrote: > What kind of database? You might be able to keep these operations > in-database, depending on what the tables/ needs are. I like this one, Ken. In general, I'd reconsider the overall design. Specifically, I'd think about queries that do what you want. If the set has to be a single value, then I'd consider a blob that represents a bit set as the db representation. Dar From jbv.silences at Club-Internet.fr Mon Apr 4 16:11:06 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 04 Apr 2005 22:11:06 +0200 Subject: How to get the difference between two lists? References: <4002c87d586db0ac60a8fad0495e7112@swcp.com> Message-ID: <42519F54.8E8A630A@Club-Internet.fr> > > I like this one, Ken. In general, I'd reconsider the overall design. > Specifically, I'd think about queries that do what you want. If the > set has to be a single value, then I'd consider a blob that represents > a bit set as the db representation. > well, I don't know... I've been heavily using Rev cgi and mySQL during the past few months, and I found out that extracting raw data from the db and processing them (sorting, comparing...) in Transcript is most of the time much faster than writing sophisticated SQL code... JB From chipp at chipp.com Mon Apr 4 16:24:46 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 04 Apr 2005 15:24:46 -0500 Subject: [ANN] RevZilla 2.0 In-Reply-To: <42518E29.9080501@fourthworld.com> References: <42518AB5.6040108@chipp.com> <42518E29.9080501@fourthworld.com> Message-ID: <4251A28E.9090102@chipp.com> Richard Gaskin wrote: > What's required for alt compatibility?Hi Richard, If anyone's interested in making their plugin 'altPlugin compatible' they can check out: http://www.altuit.com/webs/altuit2/altPluginCover/CreateyourownPlugins.htm The advantage of using altPlugins is the ease at which you can release updates w/out having to put any update code in your plugin. For those who are wondering what an altPlugin is, it's just any old stack, which can open with a click of the mouse. AltPlugins can reside anywhere on your hard disk, or if you drop them in the altPlugs folder (contained in the plugin folder) they are auto-added to the toolbar. More about them can be found at: http://www.altuit.com/webs/altuit2/altPluginCover/About.htm > Anything we might addrress in the Rev interoperability initiative? > Sounds like a great idea! Jerry Daniels will soon be releasing a whole slew of altPlugin enbabled productivity tools for Rev. The more, the merrier :-) -Chipp From dsc at swcp.com Mon Apr 4 16:29:26 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 4 Apr 2005 14:29:26 -0600 Subject: How to get the difference between two lists? In-Reply-To: <42519F54.8E8A630A@Club-Internet.fr> References: <4002c87d586db0ac60a8fad0495e7112@swcp.com> <42519F54.8E8A630A@Club-Internet.fr> Message-ID: On Apr 4, 2005, at 2:11 PM, jbv wrote: > I've been heavily using Rev cgi and mySQL during the past > few months, and I found out that extracting raw data from the > db and processing them (sorting, comparing...) in Transcript > is most of the time much faster than writing sophisticated > SQL code... I bow to your experience. In that case, I'd look for a way to keep sets in the db in a form that is handy for their use. If use is primarily set operations, I'd look toward optimizing that, and choosing the representation for that optimization. I think that leaves out an array as representation. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From ambassador at fourthworld.com Mon Apr 4 16:38:13 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Apr 2005 13:38:13 -0700 Subject: [ANN] RevZilla 2.0 In-Reply-To: <4251A28E.9090102@chipp.com> References: <42518AB5.6040108@chipp.com> <42518E29.9080501@fourthworld.com> <4251A28E.9090102@chipp.com> Message-ID: <4251A5B5.6060702@fourthworld.com> Chipp Walters wrote: >> Anything we might addrress in the Rev interoperability initiative? >> > > Sounds like a great idea! Jerry Daniels will soon be releasing a whole > slew of altPlugin enbabled productivity tools for Rev. The more, the > merrier :-) Precisely. The growing number of tool suites in the Rev community is what led to the creation of the RevInterop initiative. Currently each toolkit uses its own method of identifying the info needed for updates, integration, etc., but if we could take the time to draft one universal standard then all tools could ideally be fully interchangeable without futher modification. The initial rought draft identifies a number of common elements needed by all plugins, including author, copyright, URL, and more. Since most of these types of data were already identified by Dublin Core, we've light-heartedly adopted the name of "Edinburgh Core" for these properties. That initial rough draft and a sample library stack with placeholder properties are available at: All input from plugin developers is appreciated. No such initiative can be useful in a vacuum. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From fde101 at fjrhome.net Mon Apr 4 16:39:45 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 16:39:45 -0400 Subject: How to get the difference between two lists? In-Reply-To: <42519F54.8E8A630A@Club-Internet.fr> References: <4002c87d586db0ac60a8fad0495e7112@swcp.com> <42519F54.8E8A630A@Club-Internet.fr> Message-ID: <6f3607ef4715d4c450eef8f241c310f0@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That depends on how you write the queries, how busy the server is, how much information needs to be shuttled between the client and the server, and various other factors. Also, an ad hoc query against an SQL server needs to be parse, planned, and executed by the server each time it is sent. A complex query may be better handled as a stored procedure, so that it can be pre-planned; this will cut down on execution time later on. If you are dealing with a large amount of information, processing it on the server may cut down on time spent transmitting info across a slower network which will later be eliminated anyway. Additionally, depending on the operations being performed, the server may be able to take advantage of indexes, etc. that the client will not have access to. Now as far as using the SQL server to maintain lists, if you can store each entry as a separate row in a table, for example (based on PostgreSQL and untested; may or may not be the most efficient queries in some cases): CREATE TABLE myLists ( listID INTEGER NOT NULL, listValue TEXT ); CREATE INDEX ndxMyLists ON myLists (listID, listValue); Now to retrieve a list in sorted order by value: SELECT listValue FROM myLists WHERE (listID = 1) ORDER BY listValue; To perform an intersection operation between two lists: SELECT DISTINCT listValue FROM myLists WHERE (listID = 1) AND (listValue IN (SELECT listValue FROM myLists WHERE (listID = 2)))) To perform a union operation between two lists: (SELECT listValue FROM myLists WHERE (listID = 1)) UNION (SELECT listValue FROM myLists WHERE (listID = 2)) **or** SELECT DISTINCT listValue FROM myLists WHERE ((listID = 1) OR (listID = 2)) To perform a set difference: SELECT listValue FROM myLists WHERE (listID = 1) AND NOT (listValue IN (SELECT listValue FROM myLists WHERE (listID = 2))) Note that this set difference is only different from my suggestion for intersection by a single NOT operator... I missed the original post, what else did you need to be able to do? BTW, one of the issues with using mySQL like this is its lack of support for stored procedures, or have they added this capability yet? Even pure SQL stored procedures would be fine for most of this stuff... On Apr 4, 2005, at 4:11 PM, jbv wrote: >> >> I like this one, Ken. In general, I'd reconsider the overall design. >> Specifically, I'd think about queries that do what you want. If the >> set has to be a single value, then I'd consider a blob that represents >> a bit set as the db representation. >> > > well, I don't know... > I've been heavily using Rev cgi and mySQL during the past > few months, and I found out that extracting raw data from the > db and processing them (sorting, comparing...) in Transcript > is most of the time much faster than writing sophisticated > SQL code... > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUaYR7aqtWrR9cZoRAviWAJ9SzSDGdg3JJNPdmCoOka8RVk7otwCfdB1I 5YwzbHHISddnuNB20nd3fR4= =FSMG -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From lists at mangomultimedia.com Mon Apr 4 16:40:10 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2005 13:40:10 -0700 Subject: How to get the difference between two lists? In-Reply-To: <42519F54.8E8A630A@Club-Internet.fr> References: <4002c87d586db0ac60a8fad0495e7112@swcp.com> <42519F54.8E8A630A@Club-Internet.fr> Message-ID: <6092321269677a8a0de2ec64cab736c0@mangomultimedia.com> On Apr 4, 2005, at 1:11 PM, jbv wrote: > well, I don't know... > I've been heavily using Rev cgi and mySQL during the past > few months, and I found out that extracting raw data from the > db and processing them (sorting, comparing...) in Transcript > is most of the time much faster than writing sophisticated > SQL code... Do you mean that the transcript sorting code executes faster than the mySQL doing the sorting (with something like 'SELECT ID, FirstName, LastName FROM people ORDER BY LastName') or that it is just easier for you to handle everything in transcript rather than figuring out the SQL syntax to perform some of the sorts, joins, etc.? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From chipp at chipp.com Mon Apr 4 16:42:35 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 04 Apr 2005 15:42:35 -0500 Subject: Shrinking Mac stack In-Reply-To: <4251973F.1090207@hyperactivesw.com> References: <4251973F.1090207@hyperactivesw.com> Message-ID: <4251A6BB.2010407@chipp.com> Hi Jacque, Hope this helps: (from an earlier post:) For those of you who've come lately to this, the problem was simple. How to add menus for both Mac and PC to an existing stack *without* ever resizing the existing stack. As you all probably know, the minute you add a menu to a stack, it's height is recalculated whenever it opens on a different platform. The reason is that the menubar is 'on the card' for the PC, but at the top of the screen for the Mac. So, when viewing the stack on the Mac, the stack is automatically reduced in height by the amount of the menubar (thus screwing up my carefully rendered screen layout;-). bummer, especially if you don't want this behavior. So, Richard's idea was pretty straightforward: set the editmenu property of the stack to true hide the menu group So, here's how it works: When the stack is opened up on the Mac, because the editmenu prop is true, the menus appear at the top of the card and not in the menubar. But a little known fact (only Richard knows it apparently as it's not documented) is that the menus will appear in the menubar if the menuGrp is hidden! So, just hide the group and then show it if the platform is Win32. Works like a charm...and no resizing of the stack whatsoever. Cool, and thanks Richard! -Chipp J. Landman Gay wrote: > I am still having the problem where the bottom of a stack gets cut off > on Mac standalone builds when the stack contains a menu bar. This has > been going on forever and usually (but not always) can be fixed by > setting the desired stack height in a preopenstack handler. > > Since I don't see many complaints about this behavior, I'm wondering if > others are still seeing it or if it is just me. If it is just me, does > anyone know what causes it? I'd very much like to avoid using the > work-around hack if possible. > From fde101 at fjrhome.net Mon Apr 4 16:50:12 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 16:50:12 -0400 Subject: How to get the difference between two lists? In-Reply-To: <6092321269677a8a0de2ec64cab736c0@mangomultimedia.com> References: <4002c87d586db0ac60a8fad0495e7112@swcp.com> <42519F54.8E8A630A@Club-Internet.fr> <6092321269677a8a0de2ec64cab736c0@mangomultimedia.com> Message-ID: <1469ccec10691127643961c7c9009659@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If the DB is properly indexed, there is no way that Transcript should be able to perform that kind of sort faster than the DB server. An SQL server should be able to use an index to perform that kind of sort substantially faster than it could be done by a generic sorting algorithm, such as what Rev would need to use with its 'sort' command. The only major exception is when the client is distributed among multiple computers (different people accessing the server simultaneously with the client on separate machines per user) and the database server is on hardware which is being very heavily used. In this case, the client may be able to sort the incoming data faster than the DB can, only due to the server being slowed down by a heavy processing load of multiple other users. However, there would need to be a rather extreme number of users for a correctly indexed database to slow down to this point, at least with a query like that one, since the index should allow the server to just read off the needed data in a sorted order to begin with, rather than needing to take any extra steps to sort it at all. Complex views might complicate the matter somewhat, but last time I checked, MySQL did not support views (a somewhat strange omission for such a popular db server...) On Apr 4, 2005, at 4:40 PM, Trevor DeVore wrote: > Do you mean that the transcript sorting code executes faster than the > mySQL doing the sorting (with something like 'SELECT ID, FirstName, > LastName FROM people ORDER BY LastName') or that it is just easier for > you to handle everything in transcript rather than figuring out the > SQL syntax to perform some of the sorts, joins, etc.? > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUaiE7aqtWrR9cZoRAmPVAKCRLmyw301tHZCVzVhcMaM+uICS3gCfV2x7 uYM3tgGMtRwDDHAQvizbhmc= =sJMT -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jbv.silences at Club-Internet.fr Mon Apr 4 17:10:40 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 04 Apr 2005 23:10:40 +0200 Subject: How to get the difference between two lists? References: <4002c87d586db0ac60a8fad0495e7112@swcp.com> <6092321269677a8a0de2ec64cab736c0@mangomultimedia.com> Message-ID: <4251AD47.33D48F5D@Club-Internet.fr> I must confess that I'm much more fluent in Transcript than in SQL, so productivity-wise, I feel more confortable writing complex transcript than complex SQL... Nevertheless I'm working on a project involving a table with 23,000 entries (so far) and 35 fields in each (total weight 5Mb) that makes heavy use of indexes. I have SQL requests involving at least 5 to 7 fields, that extract 12 to 20 flds, and on which I perform successive sorts. for instance : SELECT A, B, C, D, E, F, G FROM myTable WHERE A>10 AND B>A AND H>G etc... the selection can reach 1000 to 1500 lines and then : sort lines of myRequest ascending international by item 6 of each sort lines of myRequest ascending numeric by item 5 of each sort lines of myRequest ascending numeric by item 4 of each sort lines of myRequest ascending international by item 2 of each etc and then further processing, like grouping lines in which item 1 contains similar values to be displayed in different tables in a HTML page and / or comparing values of item 6 of each line with a set of values already stored in a field of another table, etc. then build (rather complex) HTML pages by reading template txt files and replacing certain kew words with HTML code build in the same script around data from the db... --------------- I didn't perform any speed test, but the general feeling is that cgi requests are performed significantly faster when most sorting / processing is done in Transcript than in SQL... I also have a client web app (made with Rev) that accesses the same db / server, and the feeling is the same... JB > Do you mean that the transcript sorting code executes faster than the > mySQL doing the sorting (with something like 'SELECT ID, FirstName, > LastName FROM people ORDER BY LastName') or that it is just easier for > you to handle everything in transcript rather than figuring out the SQL > syntax to perform some of the sorts, joins, etc.? From jbv.silences at Club-Internet.fr Mon Apr 4 17:15:14 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 04 Apr 2005 23:15:14 +0200 Subject: How to get the difference between two lists? References: <4002c87d586db0ac60a8fad0495e7112@swcp.com> <6092321269677a8a0de2ec64cab736c0@mangomultimedia.com> Message-ID: <4251AE59.C53CA0B8@Club-Internet.fr> Oh, 1 thing I forgot : I didn't find the syntax for the SQL equivalent of Transcript "sort international" JB From cubist at aol.com Mon Apr 4 17:18:58 2005 From: cubist at aol.com (Quentin Long) Date: Mon, 04 Apr 2005 14:18:58 -0700 Subject: ANN Nine Ball with Spin (English) References: <20050403230616.DD2D59300AE@mail.runrev.com> Message-ID: <4251AF42.3000804@aol.com> sez jhurley at infostations.com > But I am off to something else right now--using Run Rev to create a > simulation contrasting global warming on Venus, Earth and Mars. > (Right now I need a tool for making circular arcs--like the Run Rev > pie shaped circular segments, but without the radial lines. May be a > job for Turtle Graphics.) Graphics can be filled or not-filled, and you can also adjust the thickness/color/etc of the line. THus, why not try a *non-filled* arc? Hope this helps... From lists at mangomultimedia.com Mon Apr 4 17:24:37 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2005 14:24:37 -0700 Subject: Shrinking Mac stack In-Reply-To: <4251973F.1090207@hyperactivesw.com> References: <4251973F.1090207@hyperactivesw.com> Message-ID: <70c5f807f7aa0d1684956ff49121b77d@mangomultimedia.com> On Apr 4, 2005, at 12:36 PM, J. Landman Gay wrote: > I am still having the problem where the bottom of a stack gets cut off > on Mac standalone builds when the stack contains a menu bar. This has > been going on forever and usually (but not always) can be fixed by > setting the desired stack height in a preopenstack handler. > > Since I don't see many complaints about this behavior, I'm wondering > if others are still seeing it or if it is just me. If it is just me, > does anyone know what causes it? I'd very much like to avoid using the > work-around hack if possible. I hadn't seen this in a while but not more than 10 minutes after reading this I noticed this on an app we are testing right now. I don't see it on my development computer but it does happen on another computer here at the office. So the bug is still alive and well. In the case I'm looking at right now the card height is reported correctly and my controls resize to the visible size of the stack but the bottom 21 pixels of the stack are just white (my graphics/controls are cut off). When I switch to use the stack height to resize controls then my controls resize just above the 21 pixels that are white. So it would appear that Revolution is displaying the window equal to the height of the card but only drawing controls into a height equal to the height of the stack. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From briany at qldlearning.com Mon Apr 4 17:27:36 2005 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 4 Apr 2005 14:27:36 -0700 Subject: How to get the difference between two lists? In-Reply-To: References: <4002c87d586db0ac60a8fad0495e7112@swcp.com> <42519F54.8E8A630A@Club-Internet.fr> Message-ID: I'm sure all of this is application specific, but generally speaking if you are pulling data from MySQL and _then_ sorting it in Transcript faster than in-database, there is probably something non-optimal about the database schema or queries. Generally speaking, when I'm working on a web application that needs to handle a lot of hits, it's a huge red flag if I have to post-sort anything out of the database. That's not to say Rev can't take the wheel and do a pretty good job (kudos to Rev), but I can't remember an instance where I couldn't make more of an impact working on the database side of things. With that said, if it's a factor of needing to do _other_ things in Rev at the same time, programming efficiency, etc- then it's a perfectly fine solution. I would be shocked to find that Rev is better optimized for sorting than MySQL in any general sense. I'm wondering if it's worth pulling out any more specifics that someone can share about their table structures, queries, etc? Please note I don't mean that sorting should literally be offloaded back to the database- but that there is almost always a fast way to get it that way in the first place, especially if we're just dealing with recID lookups and sorts. - Brian >> I've been heavily using Rev cgi and mySQL during the past >> few months, and I found out that extracting raw data from the >> db and processing them (sorting, comparing...) in Transcript >> is most of the time much faster than writing sophisticated >> SQL code... From lists at mangomultimedia.com Mon Apr 4 16:58:25 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2005 13:58:25 -0700 Subject: How to get the difference between two lists? In-Reply-To: <1469ccec10691127643961c7c9009659@fjrhome.net> References: <4002c87d586db0ac60a8fad0495e7112@swcp.com> <42519F54.8E8A630A@Club-Internet.fr> <6092321269677a8a0de2ec64cab736c0@mangomultimedia.com> <1469ccec10691127643961c7c9009659@fjrhome.net> Message-ID: <3d8c9f5f92e9f2340c23cfdc986d0cca@mangomultimedia.com> On Apr 4, 2005, at 1:50 PM, Frank D. Engel, Jr. wrote: > > If the DB is properly indexed, there is no way that Transcript should > be able to perform that kind of sort faster than the DB server. An > SQL server should be able to use an index to perform that kind of sort > substantially faster than it could be done by a generic sorting > algorithm, such as what Rev would need to use with its 'sort' command. That was my thought as well which is why I wanted to clarify the statement. > The only major exception is when the client is distributed among > multiple computers (different people accessing the server > simultaneously with the client on separate machines per user) and the > database server is on hardware which is being very heavily used. In > this case, the client may be able to sort the incoming data faster > than the DB can, only due to the server being slowed down by a heavy > processing load of multiple other users. However, there would need to > be a rather extreme number of users for a correctly indexed database > to slow down to this point, at least with a query like that one, since > the index should allow the server to just read off the needed data in > a sorted order to begin with, rather than needing to take any extra > steps to sort it at all. Complex views might complicate the matter > somewhat, but last time I checked, MySQL did not support views (a > somewhat strange omission for such a popular db server...) Views were just barely added with the 5.0 release. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dvk at dvkconsult.com.au Mon Apr 4 17:46:52 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue, 5 Apr 2005 07:46:52 +1000 Subject: How to get the difference between two lists? In-Reply-To: <20050404143845.4519D9301BC@mail.runrev.com> References: <20050404143845.4519D9301BC@mail.runrev.com> Message-ID: <39f9654d3d8ec003b227f9b6c18d5e2c@dvkconsult.com.au> On 05/04/2005, at 0:38, Ken Ray wrote: > > On 4/4/05 1:39 AM, "Monte Goulding" > wrote: > >>> Ken (and all the other ingenious people), you have something against >>> the >>> "intersect" command? >>> >>> Convert both lists to arrays and intersect them leaving only the >>> non-common elements. >> >> My understanding is the intersect command creates an array with only >> common >> keys. If there was an inverse of the command it would be perfect as >> you say. > > I added this as an enhancement request to Bugzilla (Bug #2763 if anyone > wants to vote on it). I'll vote for it Ken. While I am at it I might vote that I do not reverse-read documentation as well ;-) cheers David > > Ken Ray > Sons of Thunder Software From fde101 at fjrhome.net Mon Apr 4 17:57:50 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 17:57:50 -0400 Subject: How to get the difference between two lists? In-Reply-To: <39f9654d3d8ec003b227f9b6c18d5e2c@dvkconsult.com.au> References: <20050404143845.4519D9301BC@mail.runrev.com> <39f9654d3d8ec003b227f9b6c18d5e2c@dvkconsult.com.au> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 put sourceArray into sectArray intersect sectArray with exceptArray repeat for each line k in the keys of sectArray delete variable sourceArray[k] end repeat On Apr 4, 2005, at 5:46 PM, David Vaughan wrote: > > On 05/04/2005, at 0:38, Ken Ray wrote: >> >> On 4/4/05 1:39 AM, "Monte Goulding" >> wrote: >> >>>> Ken (and all the other ingenious people), you have something >>>> against the >>>> "intersect" command? >>>> >>>> Convert both lists to arrays and intersect them leaving only the >>>> non-common elements. >>> >>> My understanding is the intersect command creates an array with only >>> common >>> keys. If there was an inverse of the command it would be perfect as >>> you say. >> >> I added this as an enhancement request to Bugzilla (Bug #2763 if >> anyone >> wants to vote on it). > > I'll vote for it Ken. While I am at it I might vote that I do not > reverse-read documentation as well ;-) > > cheers > David >> >> Ken Ray >> Sons of Thunder Software > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUbhe7aqtWrR9cZoRAnLrAKCIW7F2FUuw1nlySpVd5IOdRF0C7ACgiWdm yl4goDLYuppb5TVh7V72aX0= =JJJw -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From zack at savagecool.com Mon Apr 4 18:30:48 2005 From: zack at savagecool.com (zack) Date: Mon, 04 Apr 2005 15:30:48 -0700 Subject: Table Field Message-ID: Hello, I am rev newbie. I have tab delimitated list in variable and I would like to display it a table field, and I am having some difficulty. Does anyone have any example stacks on how to use table fields? Or any other advice Thanks so much for your help z From fde101 at fjrhome.net Mon Apr 4 19:10:00 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 19:10:00 -0400 Subject: Table Field In-Reply-To: References: Message-ID: <2b05aa75d8680e64c826b58d0813e59e@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 on mouseUp ... set up myVariable ... put myVariable into field "My Table Field" end mouseUp Can you be more specific about what kind of trouble you are having? On Apr 4, 2005, at 6:30 PM, zack wrote: > Hello, > > I am rev newbie. I have tab delimitated list in variable and I would > like > to display it a table field, and I am having some difficulty. Does > anyone > have any example stacks on how to use table fields? Or any other > advice > > Thanks so much for your help > > z > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUclI7aqtWrR9cZoRAubBAJ0RhOzoGQ0QEb1sm/kRrkt2Ii2eHgCfRVLQ 9RhUw9aL7hWaAs033xS3Hm0= =3dxS -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From zack at savagecool.com Mon Apr 4 19:19:47 2005 From: zack at savagecool.com (zack) Date: Mon, 04 Apr 2005 16:19:47 -0700 Subject: Table Field In-Reply-To: <2b05aa75d8680e64c826b58d0813e59e@fjrhome.net> Message-ID: Sorry, I would like it to display like a spreadsheet, With columns and rows appearing in the cells Instead it is just displaying in one long string. The fields are delimitated by TAB and the records are makes with a RETURN. Field1 Field2 field3 etc etc etc But when put myVariable into field "my Table field" I get one long string. It is not split up into the cells as I expected. Is Rev looking for different delimiters? z On 4/4/05 4:10 PM, "Frank D. Engel, Jr." wrote: > on mouseUp > ... set up myVariable ... > > put myVariable into field "My Table Field" > end mouseUp > > > Can you be more specific about what kind of trouble you are having? From fde101 at fjrhome.net Mon Apr 4 19:24:38 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 4 Apr 2005 19:24:38 -0400 Subject: Table Field In-Reply-To: References: Message-ID: <6a6f6de084d9716151682749c8f17e45@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You need to set the properties of the field to behave like a table. You can do this using the "Table" page of the Property Inspector for the field, or (assuming you have Rev 2.5 or newer) you can simply drag out a "Table Field" from the toolbar rather than an ordinary "Field" (the Table Field icon is right next to the Field icon). You can control column widths using the tabStops property, which is also available from the Table page of the Property Inspector. On Apr 4, 2005, at 7:19 PM, zack wrote: > Sorry, > > I would like it to display like a spreadsheet, With columns and rows > appearing in the cells Instead it is just displaying in one long > string. > > The fields are delimitated by TAB and the records are makes with a > RETURN. > > Field1 Field2 field3 > etc etc etc > > But when put myVariable into field "my Table field" I get one long > string. > It is not split up into the cells as I expected. > > Is Rev looking for different delimiters? > > z > > > On 4/4/05 4:10 PM, "Frank D. Engel, Jr." wrote: > >> on mouseUp >> ... set up myVariable ... >> >> put myVariable into field "My Table Field" >> end mouseUp >> >> >> Can you be more specific about what kind of trouble you are having? > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUcy37aqtWrR9cZoRAjlTAJ0Vpyhx+EmeHBkC7FfyyJMy42UgcwCggLtg JO/t9g3wjHE2MJfquLD7Ep8= =ZCo4 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From revolution at jaedworks.com Mon Apr 4 20:15:05 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 4 Apr 2005 17:15:05 -0700 Subject: BGs In-Reply-To: <7a630302d1d2065a98c112e6e635e357@danshafer.com> References: <42501D69.5070608@hrz.uni-kassel.de> <7a630302d1d2065a98c112e6e635e357@danshafer.com> Message-ID: At 1:21 PM -0700 4/3/05, Dan Shafer wrote: >Copying a background from one card to another *duplcates* the >background so that changes made to one of them will not be reflected >in the copy. Placing a background seems to me to at least imply that >the author intends for the background to be shared so that changes >to the background made from any card will be reflected in all other >cards on which the background appears. To make that happen, the >group must be set to behave as a background. Actually, this isn't so - a group can be shared without having its backgroundBehavior property set to true. Shared groups worked fine even before the backgroundBehavior property was added to the language. What backgroundBehavior does is cause shared groups to be automatically placed on new cards, as well as tweaking the message path for the group so it matches HyperCard's behavior more closely. (My only excuse for not documenting that "place" turns on backgroundBehavior is that no one told me about the change, and I didn't stumble across it on my own when the property was added. If I had been told about it, I would have argued that it was a bug, not a feature. Commands shouldn't spew side effects like that, even if they're documented. As it is, apparently if you want a shared group whose backgroundBehavior property is false, you need to remember to reset the property after every time you place the group on a card.) The whole situation with backgroundBehavior is confusing. It was added in order to better emulate HyperCard backgrounds, which it does, but there were collateral changes (for example, changes to what "the backgroundNames" means) that resulted in, IMHO, a mess. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From erikhans08 at yahoo.com Mon Apr 4 22:00:32 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 4 Apr 2005 19:00:32 -0700 (PDT) Subject: typo alert! In-Reply-To: 6667 Message-ID: <20050405020032.90532.qmail@web31315.mail.mud.yahoo.com> "the currenttime fo player" this is American Southern, our answer to Bayrisch. erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com From katir at hindu.org Mon Apr 4 23:39:21 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 4 Apr 2005 17:39:21 -1000 Subject: Toggle Listbehavior Message-ID: I want to toggle the listbehavior of a fld with a simple check btn: on mouseUp set the listbehavior of fld "ToDo" to the hilite of me end mouseUp problem: it works to set listbehavior to true but unchecking leaves "orphaned to true props" : locktext ## remains set to true dontwrap ## remains set to true is this a bug? If setting listbehavior to true turns these properties on, then should they not be turned off if they were not on in the first place? The following is of course a simple work around, but I was thinking perhaps there was an issue with setting listbehavior to false. Or is this expected behavior... on mouseUp put "locktext,dontwrap,listbehavior" into tProps repeat for each item x in tProps set the x of fld "ToDo" to the hilite of me end repeat end mouseUp Sivakatirswami From briany at qldlearning.com Tue Apr 5 00:04:26 2005 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 4 Apr 2005 21:04:26 -0700 Subject: Toggle Listbehavior In-Reply-To: References: Message-ID: <0eb73d4de9b747304b0bb8e4210ae2e7@qldlearning.com> Sivakatirswami, I think what you are finding is that these properties are only "linked" by means of the Rev IDE. They are in fact totally independent, it's just that the IDE emulates certain types of "canned" objects by sometimes locking multiple properties together. As such, your workaround is actually the proper use, I believe. - Brian > I want to toggle the listbehavior of a fld with a simple check btn: > > on mouseUp > set the listbehavior of fld "ToDo" to the hilite of me > end mouseUp > > problem: it works to set listbehavior to true but > > unchecking leaves "orphaned to true props" : > > locktext ## remains set to true > dontwrap ## remains set to true > > is this a bug? If setting listbehavior to true turns these properties > on, then should they not be turned off if they were not on in the > first place? The following is of course a simple work around, but I > was thinking perhaps there was an issue with setting listbehavior to > false. Or is this expected behavior... > > on mouseUp > put "locktext,dontwrap,listbehavior" into tProps > repeat for each item x in tProps > set the x of fld "ToDo" to the hilite of me > end repeat > end mouseUp > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From soapdog at mac.com Tue Apr 5 00:34:09 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 5 Apr 2005 01:34:09 -0300 Subject: what is the Rev interoperability initiative? (was Re: [ANN] RevZilla 2.0) In-Reply-To: <42518E29.9080501@fourthworld.com> References: <42518AB5.6040108@chipp.com> <42518E29.9080501@fourthworld.com> Message-ID: <08969543f10725513ea3ab4b3785d589@mac.com> On Apr 4, 2005, at 3:57 PM, Richard Gaskin wrote: > Anything we might addrress in the Rev interoperability initiative? > Richard, please tell me what is this... I never heard about it... Cheers > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Tue Apr 5 00:45:57 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Apr 2005 21:45:57 -0700 Subject: what is the Rev interoperability initiative? (was Re: [ANN]RevZilla 2.0) In-Reply-To: <08969543f10725513ea3ab4b3785d589@mac.com> References: <42518AB5.6040108@chipp.com> <42518E29.9080501@fourthworld.com> <08969543f10725513ea3ab4b3785d589@mac.com> Message-ID: <42521805.2080101@fourthworld.com> Andre Garzia wrote: > On Apr 4, 2005, at 3:57 PM, Richard Gaskin wrote: >> Anything we might addrress in the Rev interoperability initiative? >> > > please tell me what is this... I never heard about it... Earlier today I wrote: > Precisely. The growing number of tool suites in the Rev > community is what led to the creation of the RevInterop > initiative. > > Currently each toolkit uses its own method of identifying > the info needed for updates, integration, etc., but if we > could take the time to draft one universal standard then > all tools could ideally be fully interchangeable without > futher modification. > > The initial rought draft identifies a number of common > elements needed by all plugins, including author, copyright, > URL, and more. Since most of these types of data were > already identified by Dublin Core, we've light-heartedly > adopted the name of "Edinburgh Core" for these properties. > > That initial rough draft and a sample library stack with > placeholder properties are available at: > > > All input from plugin developers is appreciated. No such > initiative can be useful in a vacuum. :) -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Apr 5 00:58:31 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Apr 2005 23:58:31 -0500 Subject: Toggle Listbehavior In-Reply-To: References: Message-ID: <42521AF7.4010904@hyperactivesw.com> On 4/4/05 10:39 PM, Sivakatirswami wrote: > I want to toggle the listbehavior of a fld with a simple check btn: > > on mouseUp > set the listbehavior of fld "ToDo" to the hilite of me > end mouseUp > > problem: it works to set listbehavior to true but > > unchecking leaves "orphaned to true props" : > > locktext ## remains set to true > dontwrap ## remains set to true > > is this a bug? If setting listbehavior to true turns these properties > on, then should they not be turned off if they were not on in the first > place? It doesn't seem like a bug to me. The listbehavior can't work without both locktext and dontwrap also set; if they aren't set, you don't have listbehavior. However, both locktext and dontwrap can be used independently regardless of listbehavior, so I think it makes sense to leave them on when listbehavior is turned off. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Apr 5 01:44:30 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 4 Apr 2005 23:44:30 -0600 Subject: How to get the difference between two lists? In-Reply-To: References: Message-ID: <09134432f83f1bc5af48f906462e6901@swcp.com> On Apr 3, 2005, at 9:04 PM, Ken Ray wrote: > I can of course do a repeat loop through the small list and remove > those > items from the comprehensive list, but I'm wondering if there's a > faster way > to do this. I took a break and tried my hand at this. The function using offset did better than array element deletion in some cases. The function using replaceText() did poorly for medium size lists and bailed out for large lists to be removed. I think there is something fishy (that is n^2) in replaceText(). The last one was my attempt to avoid 'line n' and is similar to Frank's, I think. It was still a little bit slower than array element deletion in my tests. function shortListDar2 pList, pExcludeList local resultList = "" put lf before pList put 0 into lastUsedChar if char -1 of pList is not lf then put lf after pList repeat for each line ex in pExcludeList put lf & ex & lf into exWithLF get offset(exWithLf,pList,lastUsedChar) if it is not zero then put char lastUsedChar+1 to lastUsedChar+it of pList after resultList put lastUsedChar + it + length(exWithLF) - 1 into lastUsedChar end if end repeat put char lastUsedChar+1 to -1 of pList after resultList return char 2 to -2 of resultList end shortListDar2 --function shortListDar3 pList, pExcludeList -- get "(?m)^" & replaceText(pExcludeList,"\n","\n|^") & "\n" -- return replaceText(pList,it,empty) --end shortListDar3 function shortListDar4 pList, pExcludeList local resultList put lf & "10000000000000" after pExcludeList put line 1 of pExcludeList into checkLine put 1 into charOffset repeat for each line listLine in pList repeat while checkLine < listLine add length(checkLine)+1 to charOffset put line 1 of (char charoffset to charoffset+20 of pExcludeList) into checkLine end repeat if listLine < checkline then put listLine & lf after resultList end if end repeat return char 1 to -2 of resultList end shortListDar4 -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From chipp at chipp.com Tue Apr 5 03:21:11 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 05 Apr 2005 02:21:11 -0500 Subject: ANN: Successor to IdeaFisher: eXpertSystem ships... Message-ID: <42523C67.7010104@chipp.com> This is an interesting project. The client had been working for 8 months with a developer in RB trying to get this product out, but due to problems, they just couldn't make it happen. So they turned to Rev and (fortunate for us) contacted us off of the Rev website 'consultants' list. Unlike the name implies, this IS NOT an expert system, but rather a brainstorming tool which uses 'Expert Modules' to help users work through problems and generate solutions. It's the successor to the successful product "IdeaFisher" which has thousands of users. We started the project in late December and had about 90% of it done in late January. Since then, we've added a slew of features and spent time debugging. I'll be putting up a Case Study shortly with details about Rev's ability to solve some of critical problems. Most interesting in the development was the integration of MagicCarpet's 'Auto-updating' delivery system, which enabled the client to see realtime results each time they launched eXs-- as it updated to reflect the current changes. Another interesting point is it was developed 99% on PC's and they only had Macs:-). We've tried this 'realtime' approach before with much less success, as it takes a very special client to understand they are not always looking at 'finished' software. Some clients tend to go into 'instant micro-manage' mode, a problem we didn't have with ExitPath. Thankfully, they, like us, were goal-oriented and focussed on the larger picture of shipping a finished product. I would say this loose 'extreme programming' model has been very successful for us and our client. Of course, the proof is in the sales:-) The Press Release is at: (there's also a free trial download) http://www.prweb.com/releases/2005/3/prweb219298.htm --Chipp From klaus at major-k.de Tue Apr 5 04:47:45 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 5 Apr 2005 10:47:45 +0200 Subject: BGs In-Reply-To: References: <42501D69.5070608@hrz.uni-kassel.de> <7a630302d1d2065a98c112e6e635e357@danshafer.com> Message-ID: <2ee9f6177e2adbf8bdc19ecdeac24412@major-k.de> Hi Jeanne, > At 1:21 PM -0700 4/3/05, Dan Shafer wrote: >> Copying a background from one card to another *duplcates* the >> background so that changes made to one of them will not be reflected >> in the copy. Placing a background seems to me to at least imply that >> the author intends for the background to be shared so that changes to >> the background made from any card will be reflected in all other >> cards on which the background appears. To make that happen, the group >> must be set to behave as a background. > > Actually, this isn't so - a group can be shared without having its > backgroundBehavior property set to true. Shared groups worked fine > even before the backgroundBehavior property was added to the language. > What backgroundBehavior does is cause shared groups to be > automatically placed on new cards, as well as tweaking the message > path for the group so it matches HyperCard's behavior more closely. EXACTLY! That's what i meant... :-) > (My only excuse for not documenting that "place" turns on > backgroundBehavior AHA!!!! OK, once i know, it is not harmful anymore :-) > is that no one told me about the change, and I didn't stumble across > it on my own when the property was added. If I had been told about it, > I would have argued that it was a bug, not a feature. Commands > shouldn't spew side effects like that, even if they're documented. As > it is, apparently if you want a shared group whose backgroundBehavior > property is false, you need to remember to reset the property after > every time you place the group on a card.) But "set the backgroundbehaviour of grp xyz to false" does NOT work after placing that group onto a card, and that might be a bug? In my case i want to loop though a textfile, create cards and place DIFFERENT bgs (with NO bgbeh.) onto the cards according to the current "record"... > The whole situation with backgroundBehavior is confusing. Yo, took me quite a long time to understand, but now is it pretty logical to me ;-) > It was added in order to better emulate HyperCard backgrounds, which > it does, but there were collateral changes (for example, changes to > what "the backgroundNames" means) that resulted in, IMHO, a mess. > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From jhurley at infostations.com Tue Apr 5 09:16:16 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 5 Apr 2005 06:16:16 -0700 Subject: ANN Nine Ball with Spin (English) In-Reply-To: <20050405021444.5A1CD9300C2@mail.runrev.com> References: <20050405021444.5A1CD9300C2@mail.runrev.com> Message-ID: > >Message: 8 >Date: Mon, 04 Apr 2005 14:18:58 -0700 >From: Quentin Long >Subject: Re: ANN Nine Ball with Spin (English) >To: use-revolution at lists.runrev.com >Message-ID: <4251AF42.3000804 at aol.com> >Content-Type: text/plain; charset=us-ascii; format=flowed > >sez jhurley at infostations.com >> But I am off to something else right now--using Run Rev to create a >> simulation contrasting global warming on Venus, Earth and Mars. >> (Right now I need a tool for making circular arcs--like the Run Rev >> pie shaped circular segments, but without the radial lines. May be a >> job for Turtle Graphics.) > Graphics can be filled or not-filled, and you can also adjust the >thickness/color/etc of the line. THus, why not try a *non-filled* arc? > Hope this helps... Quentin, Are you referring to the Run Rev arc using the circle graphic with given arc length? The problem I have with this is that I need an arc without radial lines. But fortunately it is easy to build one in Run Rev. Put the following into a button script: on mouseUp arc the loc of me,100,0,180+90,"myArc" end mouseUp on arc startPt, r, tStartAngle,tEndAngle,tName put item 1 of startPt into x0 put item 2 of startPt into y0 repeat with a = tStartAngle to tEndAngle put x0 + r*cos(a/180*pi) into x put y0 + r* sin(a/180*pi) into y put round(x),round(y) & cr after results end repeat set the points of graphic tName to results end arc And you will get a three-quarters circle, with radius 100, drawn around the button. (You will need a line graphic with the name "myArc." ) Following up on the "Poll the sum(7,9)" thread, I'm one of those who can't add, so I always let Run Rev do it for me, hence the 180 +90. Jim From jhurley at infostations.com Tue Apr 5 09:26:30 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 5 Apr 2005 06:26:30 -0700 Subject: ANN Nine Ball with Spin (English) Message-ID: And just for fun, to run an arrow around a circle: on mouseUp put 0 into tStartAngle put 360 into tEndAngle set the endArrow of grc "myArc" to true repeat 180 times arc the loc of me,100,tStartAngle,tEndAngle,"myArc" add 2 to tStartAngle add 2 to tEndAngle unlock screen -- Necessary only in Mac OS X end repeat end mouseUp (snip) >Put the following into a button script: > >on mouseUp > arc the loc of me,100,0,180+90,"myArc" >end mouseUp > >on arc startPt, r, tStartAngle,tEndAngle,tName > put item 1 of startPt into x0 > put item 2 of startPt into y0 > repeat with a = tStartAngle to tEndAngle > put x0 + r*cos(a/180*pi) into x > put y0 + r* sin(a/180*pi) into y > put round(x),round(y) & cr after results > end repeat > set the points of graphic tName to results >end arc From wouter.abraham at scarlet.be Tue Apr 5 09:40:22 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Tue, 5 Apr 2005 15:40:22 +0200 Subject: How to get the difference between two lists? In-Reply-To: <03686b787cdcf6f7098447d0384252c8@swcp.com> References: <03686b787cdcf6f7098447d0384252c8@swcp.com> Message-ID: <993b886a6f701020146462b830c6f3d8@scarlet.be> On 04 Apr 2005, at 05:44, Dar Scott wrote: > > On Apr 3, 2005, at 9:04 PM, Ken Ray wrote: > >> I can of course do a repeat loop through the small list and remove >> those >> items from the comprehensive list, but I'm wondering if there's a >> faster way >> to do this. > > Some wild ideas: > > 1. Convert the smaller list into a regex and use replaceText(). snip It would have been nice if the "filter" function was fully regex compatible then Dar's idea of turning it into a regex statement could produce something like a one-liner. For the proposed example with the current state of the filter function it needs 2 lines (not counting the lines for the preparation of the regex)3 filter tOrigList without "[56]" filter tOrigList without "1[18]" Gr W. From byront at mac.com Tue Apr 5 10:53:57 2005 From: byront at mac.com (Byron Turner) Date: Tue, 5 Apr 2005 07:53:57 -0700 Subject: handler error of the simplest kind Message-ID: I'm getting a handler error with this! Any ideas? Worked fine for weeks in the message box, but now that its in a menu . . on combat go stack "combat" end combat Byron "As democracy is perfected, the office of president represents, more and more closely, the inner soul of the people. On some great and glorious day the plain folks of the land will reach their heart's desire at last and the White House will be adorned by a downright moron." --H. L. Mencken From revolution at jaedworks.com Tue Apr 5 12:02:21 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 5 Apr 2005 09:02:21 -0700 Subject: BGs In-Reply-To: <2ee9f6177e2adbf8bdc19ecdeac24412@major-k.de> References: <42501D69.5070608@hrz.uni-kassel.de> <7a630302d1d2065a98c112e6e635e357@danshafer.com> <2ee9f6177e2adbf8bdc19ecdeac24412@major-k.de> Message-ID: At 10:47 AM +0200 4/5/05, Klaus Major wrote: >But "set the backgroundbehaviour of grp xyz to false" does NOT work >after placing that group onto a card, >and that might be a bug? Huh. I just did it. (Via the message box though, not the property inspector.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Tue Apr 5 11:33:10 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 5 Apr 2005 08:33:10 -0700 Subject: Python and Rev In-Reply-To: References: <20050404050041.79F76B6BB@xprdmailfe14.nwk.excite.com> Message-ID: At 11:13 AM -0400 4/4/05, Frank D. Engel, Jr. wrote: >Rev allows AppleScript via the "do ... as AppleScript" command. >Perhaps this could be extended to support things like > >do ... as Python >do ... as Ruby >do ... as AmericanEnglish ;-) > >or whatever? I'm holding out for "do...whatIWantNotWhatISaid". ;-) Seriously, the "do as applescript" capability is based on Apple's Script Language Interface, which means if someone wrote a module for Python, etc. then those languages would automatically become available from within Rev. (I think there's a module floating around that implements Javascript, and one or two others besides AppleScript.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From fde101 at fjrhome.net Tue Apr 5 12:24:46 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 5 Apr 2005 12:24:46 -0400 Subject: Python and Rev In-Reply-To: References: <20050404050041.79F76B6BB@xprdmailfe14.nwk.excite.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, but only under Mac OS X (maybe Classic). Extending Rev to support this would allow this to be used cross-platform, as most of these scripting languages are available cross-platform. On Apr 5, 2005, at 11:33 AM, Jeanne A. E. DeVoto wrote: > At 11:13 AM -0400 4/4/05, Frank D. Engel, Jr. wrote: >> Rev allows AppleScript via the "do ... as AppleScript" command. >> Perhaps this could be extended to support things like >> >> do ... as Python >> do ... as Ruby >> do ... as AmericanEnglish ;-) >> >> or whatever? > > I'm holding out for "do...whatIWantNotWhatISaid". ;-) Seriously, the > "do as applescript" capability is based on Apple's Script Language > Interface, which means if someone wrote a module for Python, etc. then > those languages would automatically become available from within Rev. > (I think there's a module floating around that implements Javascript, > and one or two others besides AppleScript.) > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUrvO7aqtWrR9cZoRAkipAJ9R/HSIPTwJ6NbROFJkRq3Pt9OMJQCgkKnu 84gRAOeKDhIoPEBIimy+0KY= =MWGt -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From davis.phil at comcast.net Tue Apr 5 12:27:30 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 05 Apr 2005 09:27:30 -0700 Subject: BGs In-Reply-To: References: <42501D69.5070608@hrz.uni-kassel.de> <7a630302d1d2065a98c112e6e635e357@danshafer.com> <2ee9f6177e2adbf8bdc19ecdeac24412@major-k.de> Message-ID: <4252BC72.9040808@comcast.net> Klaus, is 'backgroundbehaviour' a Rev synonym for 'backgroundbehavior'? (Note differences in spelling.) If not, maybe that would explain your results. Phil Davis Jeanne A. E. DeVoto wrote: > At 10:47 AM +0200 4/5/05, Klaus Major wrote: > >> But "set the backgroundbehaviour of grp xyz to false" does NOT work >> after placing that group onto a card, >> and that might be a bug? > > > Huh. I just did it. (Via the message box though, not the property > inspector.) > From kray at sonsothunder.com Tue Apr 5 12:27:50 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Apr 2005 11:27:50 -0500 Subject: ANN: Successor to IdeaFisher: eXpertSystem ships... In-Reply-To: <42523C67.7010104@chipp.com> Message-ID: On 4/5/05 2:21 AM, "Chipp Walters" wrote: > This is an interesting project. The client had been working for 8 months > with a developer in RB trying to get this product out, but due to > problems, they just couldn't make it happen. So they turned to Rev and > (fortunate for us) contacted us off of the Rev website 'consultants' list. Congratulations, Chipp! Looks like another home run for Altuit and RunRev! :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From klaus at major-k.de Tue Apr 5 12:38:58 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 5 Apr 2005 18:38:58 +0200 Subject: BGs In-Reply-To: <4252BC72.9040808@comcast.net> References: <42501D69.5070608@hrz.uni-kassel.de> <7a630302d1d2065a98c112e6e635e357@danshafer.com> <2ee9f6177e2adbf8bdc19ecdeac24412@major-k.de> <4252BC72.9040808@comcast.net> Message-ID: <0624bb2456cd891c5cdeec877386dc02@major-k.de> Hi Phil, > Klaus, is 'backgroundbehaviour' a Rev synonym for > 'backgroundbehavior'? (Note differences in spelling.) If not, maybe > that would explain your results. Mon dieux, now that you mention it...!!! Damn, the result of a higher education! Bloody americans :-D But since Rev is very tolerant language-wise (highlight/hilite etc...) that should NOT be a problem, but i will check this one, thanks! > Phil Davis Regards Klaus Major klaus at major-k.de http://www.major-k.de From ananelson at mac.com Tue Apr 5 12:39:16 2005 From: ananelson at mac.com (Ana Nelson) Date: Tue, 5 Apr 2005 17:39:16 +0100 Subject: Displaying Query Results in List Box Message-ID: <639242587b2a2944ac573a48654cf69e@mac.com> I would like to display multiple rows of a query in list box. If I use the Database Query Builder and set the Database property of a list field to the relevant Query, then the results display somewhat like a spreadsheet which is what I want. I would like to know how to accomplish this manually. If I say: put revDatabaseColumnNamed(tRecordSet, "Surname") into field "Name List" then I just get a single record showing up in the list field. From dsc at swcp.com Tue Apr 5 12:58:51 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 5 Apr 2005 10:58:51 -0600 Subject: How to get the difference between two lists? In-Reply-To: <993b886a6f701020146462b830c6f3d8@scarlet.be> References: <03686b787cdcf6f7098447d0384252c8@swcp.com> <993b886a6f701020146462b830c6f3d8@scarlet.be> Message-ID: <2f3b0a5f24e75b255251d8fc2405f742@swcp.com> On Apr 5, 2005, at 7:40 AM, Wouter wrote: > It would have been nice if the "filter" function was fully regex > compatible then Dar's idea of turning it into a regex statement could > produce something like a one-liner. > I tried it and it was a oneliner. It was awfully slow. It took six seconds (IIRC) for a thousand and couldn't compile the regex for 10,000. There have been several times when I tried using the replaceText() function and was surprised at how slow it was. I may be thinking about it wrong. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ********************************************** From wouter.abraham at scarlet.be Tue Apr 5 13:12:40 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Tue, 5 Apr 2005 19:12:40 +0200 Subject: How to get the difference between two lists? In-Reply-To: <2f3b0a5f24e75b255251d8fc2405f742@swcp.com> References: <03686b787cdcf6f7098447d0384252c8@swcp.com> <993b886a6f701020146462b830c6f3d8@scarlet.be> <2f3b0a5f24e75b255251d8fc2405f742@swcp.com> Message-ID: <2f9f90c9db66a697a4705cf8565d3f46@scarlet.be> Could you compile a oneliner regex that worked in rev's filter function? completely amazed, W. On 05 Apr 2005, at 18:58, Dar Scott wrote: > > On Apr 5, 2005, at 7:40 AM, Wouter wrote: > >> It would have been nice if the "filter" function was fully regex >> compatible then Dar's idea of turning it into a regex statement could >> produce something like a one-liner. >> > > I tried it and it was a oneliner. > > It was awfully slow. It took six seconds (IIRC) for a thousand and > couldn't compile the regex for 10,000. > > There have been several times when I tried using the replaceText() > function and was surprised at how slow it was. I may be thinking > about it wrong. > > Dar > > -- > ********************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > Programming Services and Software > ********************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Tue Apr 5 13:16:55 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Apr 2005 10:16:55 -0700 Subject: Python and Rev In-Reply-To: References: <20050404050041.79F76B6BB@xprdmailfe14.nwk.excite.com> Message-ID: <5d50375b9b3bbc2ca5fd8b3aee456fa2@danshafer.com> I suspect the answer to how to do all of this (other than whatIWantNotWhatISaid, which would be way cool, Jeanne!) lies in the OSA - Open Scripting Architecture. You can get a basic view of this at http://tinyurl.com/64hmu (I TinyURLed it because the true URL is 127 characters long). As far as I know, this is an Apple-only technology but something compatible may have been developed on Windows. On Apr 5, 2005, at 8:33 AM, Jeanne A. E. DeVoto wrote: > At 11:13 AM -0400 4/4/05, Frank D. Engel, Jr. wrote: >> Rev allows AppleScript via the "do ... as AppleScript" command. >> Perhaps this could be extended to support things like >> >> do ... as Python >> do ... as Ruby >> do ... as AmericanEnglish ;-) >> >> or whatever? > > I'm holding out for "do...whatIWantNotWhatISaid". ;-) Seriously, the > "do as applescript" capability is based on Apple's Script Language > Interface, which means if someone wrote a module for Python, etc. then > those languages would automatically become available from within Rev. > (I think there's a module floating around that implements Javascript, > and one or two others besides AppleScript.) > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Tue Apr 5 13:18:15 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Apr 2005 10:18:15 -0700 Subject: Python and Rev In-Reply-To: References: <20050404050041.79F76B6BB@xprdmailfe14.nwk.excite.com> Message-ID: <4d4085ed1c9fb445834f186b6de049e7@danshafer.com> I agree, Frank. The key seems to lie in finding a way to essentially create the OSA (Open Scripting Architecture) as a Rev framework, no small task to be sure but one that perhaps the famous MonsieurX is up to? On Apr 5, 2005, at 9:24 AM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Yes, but only under Mac OS X (maybe Classic). > > Extending Rev to support this would allow this to be used > cross-platform, as most of these scripting languages are available > cross-platform. > > On Apr 5, 2005, at 11:33 AM, Jeanne A. E. DeVoto wrote: > >> At 11:13 AM -0400 4/4/05, Frank D. Engel, Jr. wrote: >>> Rev allows AppleScript via the "do ... as AppleScript" command. >>> Perhaps this could be extended to support things like >>> >>> do ... as Python >>> do ... as Ruby >>> do ... as AmericanEnglish ;-) >>> >>> or whatever? >> >> I'm holding out for "do...whatIWantNotWhatISaid". ;-) Seriously, the >> "do as applescript" capability is based on Apple's Script Language >> Interface, which means if someone wrote a module for Python, etc. >> then those languages would automatically become available from within >> Rev. (I think there's a module floating around that implements >> Javascript, and one or two others besides AppleScript.) >> -- >> jeanne a. e. devoto ~ revolution at jaedworks.com >> http://www.jaedworks.com Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Tue Apr 5 13:20:03 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Apr 2005 10:20:03 -0700 Subject: ANN: Successor to IdeaFisher: eXpertSystem ships... In-Reply-To: <42523C67.7010104@chipp.com> References: <42523C67.7010104@chipp.com> Message-ID: <50d5db8dc863a92b7b2de1942def1fc3@danshafer.com> Chipp..... Sounds like a good session at RevConWest. On Apr 5, 2005, at 12:21 AM, Chipp Walters wrote: > Most interesting in the development was the integration of > MagicCarpet's 'Auto-updating' delivery system, which enabled the > client to see realtime results each time they launched eXs-- as it > updated to reflect the current changes. Another interesting point is > it was developed 99% on PC's and they only had Macs:-). We've tried > this 'realtime' approach before with much less success, as it takes a > very special client to understand they are not always looking at > 'finished' software. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From aj445 at traverse.lib.mi.us Tue Apr 5 13:32:18 2005 From: aj445 at traverse.lib.mi.us (SB) Date: Tue, 5 Apr 2005 13:32:18 -0400 Subject: user-movable fields? In-Reply-To: <20050405160101.39DC39302CC@mail.runrev.com> References: <20050405160101.39DC39302CC@mail.runrev.com> Message-ID: Hi, Is there a way to make fields that the standalone user can write in and then move around within a window? For example, so that you could have a set of notecards or buttons in a window that the user can name and then arrange in different clumps by moving them with the mouse. Sandy From fde101 at fjrhome.net Tue Apr 5 13:37:06 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 5 Apr 2005 13:37:06 -0400 Subject: user-movable fields? In-Reply-To: References: <20050405160101.39DC39302CC@mail.runrev.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Look up the 'tool' and 'mode' properties in the docs. That should get you started. On Apr 5, 2005, at 1:32 PM, SB wrote: > Hi, > > Is there a way to make fields that the standalone user can write in > and then move around within a window? > > For example, so that you could have a set of notecards or buttons in > a window that the user can name and then arrange in different clumps > by moving them with the mouse. > > Sandy > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUszC7aqtWrR9cZoRAg0YAJ0ScBn+bVxNC39uBD7USRWF5+ONTwCfewL4 m5bSq3qXJEUiHbsoWLBbAqQ= =Y7aa -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From klaus at major-k.de Tue Apr 5 13:39:29 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 5 Apr 2005 19:39:29 +0200 Subject: user-movable fields? In-Reply-To: References: <20050405160101.39DC39302CC@mail.runrev.com> Message-ID: Hi Sandy, > Hi, > > Is there a way to make fields that the standalone user can write in > and then move around within a window? Yes, put this into the script of your "fields to be moved" and advice the user to hold down the Control key to be able to move the fields around: on mousedown grab me end mousedown Hope that helps... > For example, so that you could have a set of notecards or buttons in > a window that the user can name and then > arrange in different clumps by moving them with the mouse. > > Sandy Regards Klaus Major klaus at major-k.de http://www.major-k.de From dburgun at dsl.pipex.com Tue Apr 5 13:51:10 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 5 Apr 2005 18:51:10 +0100 Subject: Rectangle Problem In-Reply-To: References: Message-ID: Hi, On a card I have a Rectangle Object called "BoundingRect". This object has a script attached to it that contains the following handlers: mouseEnter, mouseLeave, mouseDown, mouseStillDown and mouseUp to track the position of the mouse and allow the user to draw rectangles, e.g. when the user mouseDown's and then moves the mouse, a rectangle graphic is created and resized until the mouse is released. This works just fine. Now I would like to be able to select a rectangle that has already been created and allow the user to modify it's size. In fact what I would like is the exact same functionality as the RunRev IDE provides, e.g. when the user clicks in the rect I'd like the grow boxes to appear and allow the user to resize the box. Is there any easy way to get this functionality into my stack? Thanks a lot Dave From dsc at swcp.com Tue Apr 5 14:03:42 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 5 Apr 2005 12:03:42 -0600 Subject: How to get the difference between two lists? In-Reply-To: <2f9f90c9db66a697a4705cf8565d3f46@scarlet.be> References: <03686b787cdcf6f7098447d0384252c8@swcp.com> <993b886a6f701020146462b830c6f3d8@scarlet.be> <2f3b0a5f24e75b255251d8fc2405f742@swcp.com> <2f9f90c9db66a697a4705cf8565d3f46@scarlet.be> Message-ID: <9a66f1cd8fc862bdf26f946a5af68728@swcp.com> On Apr 5, 2005, at 11:12 AM, Wouter wrote: > Could you compile a oneliner regex that worked in rev's filter > function? Not one that worked. Only the replaceText() worked and then for smaller lists. This is what I tried: // replaceText version function shortListDar3 pL, pEx return replaceText(pL,"(?m)^" & replaceText(pEx,"\n","\n|^") & "\n",empty) end shortListDar3 // filter version function shortListDar5 pL, pEx filter pL without replaceText(pEx,"\n","|") return pL end shortListDar5 Dar From 3mcgrath at adelphia.net Tue Apr 5 14:09:07 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 5 Apr 2005 14:09:07 -0400 Subject: BGs In-Reply-To: <0624bb2456cd891c5cdeec877386dc02@major-k.de> References: <42501D69.5070608@hrz.uni-kassel.de> <7a630302d1d2065a98c112e6e635e357@danshafer.com> <2ee9f6177e2adbf8bdc19ecdeac24412@major-k.de> <4252BC72.9040808@comcast.net> <0624bb2456cd891c5cdeec877386dc02@major-k.de> Message-ID: <572f89dd2e85108eaae2e4a1d24d7499@adelphia.net> Bloody americans are all hyper and like to shorten our words as much as possible. But then abbreviated messaging did take off in Europe for IM and SMS, so..... I like the story about when I went to work for Westinghouse and noticed that they were spelling Employee as Employe and I mentioned it to them. Well they showed me the first Dictionary where the one E version was accepted with a letter of acceptance from the publisher. The story goes that someone at Westinghouse decided they could somehow save a lot of money if they didn't have to type the extra E and requested the new version be accepted by the Dictionary publisher, AND they were accepted. Now you would be hard pressed to find a spell checker or dictionary where both versions are not accepted. Of course we all know where this leads, 1984 - Orson Wells etc........ Bloody Tom McGrath On Apr 5, 2005, at 12:38 PM, Klaus Major wrote: > Mon dieux, now that you mention it...!!! > Damn, the result of a higher education! > Bloody americans :-D Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Tue Apr 5 14:11:14 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 5 Apr 2005 14:11:14 -0400 Subject: user-movable fields? In-Reply-To: References: <20050405160101.39DC39302CC@mail.runrev.com> Message-ID: Is the control key behavior just in the IDE or will it work in a standalone? Don't we need to code the control behavior for a standalone? TOm On Apr 5, 2005, at 1:39 PM, Klaus Major wrote: > Hi Sandy, > >> Hi, >> >> Is there a way to make fields that the standalone user can write in >> and then move around within a window? > > Yes, put this into the script of your "fields to be moved" and advice > the user > to hold down the Control key to be able to move the fields around: > > on mousedown > grab me > end mousedown > > > Hope that helps... > >> For example, so that you could have a set of notecards or buttons in >> a window that the user can name and then >> arrange in different clumps by moving them with the mouse. >> >> Sandy > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From devin_asay at byu.edu Tue Apr 5 14:19:00 2005 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 05 Apr 2005 12:19:00 -0600 Subject: Displaying Query Results in List Box In-Reply-To: <639242587b2a2944ac573a48654cf69e@mac.com> References: <639242587b2a2944ac573a48654cf69e@mac.com> Message-ID: <1315382fdf723117f3e39fe468481d19@byu.edu> Ana, Check out revDataFromQuery, which should allow you to grab large chunks of the data from the database and then do whatever you want with it in Revolution. Devin On Apr 5, 2005, at 10:39 AM, Ana Nelson wrote: > I would like to display multiple rows of a query in list box. If I use > the Database Query Builder and set the Database property of a list > field to the relevant Query, then the results display somewhat like a > spreadsheet which is what I want. > > I would like to know how to accomplish this manually. > > If I say: > put revDatabaseColumnNamed(tRecordSet, "Surname") into field "Name > List" > > then I just get a single record showing up in the list field. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From scott at tactilemedia.com Tue Apr 5 14:24:39 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 05 Apr 2005 11:24:39 -0700 Subject: BGs In-Reply-To: <572f89dd2e85108eaae2e4a1d24d7499@adelphia.net> Message-ID: Recently, Thomas McGrath III wrote: > Bloody americans are all hyper and like to shorten our words as much as > possible. But then abbreviated messaging did take off in Europe for IM > and SMS, so..... Don't get me started with you guys and "colour"... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From devin_asay at byu.edu Tue Apr 5 14:35:48 2005 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 05 Apr 2005 12:35:48 -0600 Subject: handler error of the simplest kind In-Reply-To: References: Message-ID: <90a334c59cfd81096f2b6ceca114b2fd@byu.edu> On Apr 5, 2005, at 8:53 AM, Byron Turner wrote: > I'm getting a handler error with this! Any ideas? > > Worked fine for weeks in the message box, but now that its in a menu . > . > > on combat > go stack "combat" > end combat Byron, What kind of error are you getting? If it's a "handler not found" error, it's usually because a syntax error somewhere in any handler prevented the entire script from compiling. Try making a trivial change to the script and Applying it again, then see if your handler call works. Also make sure that the handler is located in a script that's in the message path of the calling object. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mikeythek at gmail.com Tue Apr 5 14:39:37 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 5 Apr 2005 14:39:37 -0400 Subject: BGs In-Reply-To: References: <572f89dd2e85108eaae2e4a1d24d7499@adelphia.net> Message-ID: <9b408d8e050405113938ee61ad@mail.gmail.com> Yeah, damn limies! [;-P -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From wouter.abraham at scarlet.be Tue Apr 5 14:58:24 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Tue, 5 Apr 2005 20:58:24 +0200 Subject: How to get the difference between two lists? In-Reply-To: <9a66f1cd8fc862bdf26f946a5af68728@swcp.com> References: <03686b787cdcf6f7098447d0384252c8@swcp.com> <993b886a6f701020146462b830c6f3d8@scarlet.be> <2f3b0a5f24e75b255251d8fc2405f742@swcp.com> <2f9f90c9db66a697a4705cf8565d3f46@scarlet.be> <9a66f1cd8fc862bdf26f946a5af68728@swcp.com> Message-ID: <279fde49dc037fb640445b10990ead66@scarlet.be> On 05 Apr 2005, at 20:03, Dar Scott wrote: snip > > // filter version > function shortListDar5 pL, pEx > filter pL without replaceText(pEx,"\n","|") > return pL > end shortListDar5 > > Dar > > This was the reason I was lamenting that rev's filter "command" is not fully regex compatible. Your replaceText part returns a "|" delimited list. But the "|" (or) does not work in the filter command. Not as in filter x without "5|6|11|18" nor as in filter x without "[56]|1[18]". The "|" seems even to be ignored between [ ] brackets. Gr W. From jacque at hyperactivesw.com Tue Apr 5 15:02:36 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Apr 2005 14:02:36 -0500 Subject: Can't open file Message-ID: <4252E0CC.5090301@hyperactivesw.com> If I do this on Win98 it works: get pathToMyFile() -- returns "C:/My Documents/myfile.txt" open file it write "1234" to file it close file it But if I do this, I get "can't open file": get pathToMyFile() put "1234" into url ("file://"&it) Why? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Tue Apr 5 15:25:47 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Apr 2005 12:25:47 -0700 Subject: Can't open file In-Reply-To: <4252E0CC.5090301@hyperactivesw.com> References: <4252E0CC.5090301@hyperactivesw.com> Message-ID: <9f90cdfc49ca638d8d33670331c84d70@mangomultimedia.com> On Apr 5, 2005, at 12:02 PM, J. Landman Gay wrote: > If I do this on Win98 it works: > > get pathToMyFile() -- returns "C:/My Documents/myfile.txt" > open file it > write "1234" to file it > close file it > > But if I do this, I get "can't open file": > > get pathToMyFile() > put "1234" into url ("file://"&it) > > Why? I don't think you are supposed to have the "//" after "file:" are you? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jacque at hyperactivesw.com Tue Apr 5 15:51:53 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Apr 2005 14:51:53 -0500 Subject: Can't open file In-Reply-To: <9f90cdfc49ca638d8d33670331c84d70@mangomultimedia.com> References: <4252E0CC.5090301@hyperactivesw.com> <9f90cdfc49ca638d8d33670331c84d70@mangomultimedia.com> Message-ID: <4252EC59.2000308@hyperactivesw.com> On 4/5/05 2:25 PM, Trevor DeVore wrote: > On Apr 5, 2005, at 12:02 PM, J. Landman Gay wrote: > >> If I do this on Win98 it works: >> >> get pathToMyFile() -- returns "C:/My Documents/myfile.txt" >> open file it >> write "1234" to file it >> close file it >> >> But if I do this, I get "can't open file": >> >> get pathToMyFile() >> put "1234" into url ("file://"&it) >> >> Why? > > > I don't think you are supposed to have the "//" after "file:" are you? Urk. Thanks. It was a brain fart I guess, but the funny thing is that it has been in my script for a couple of weeks and works okay on Mac OS X (which is why I didn't catch it, I suppose.) So now that I have that working, I want to make the file invisible. Any ideas why this standard snippet is failing: replace "/" with "\" in tPath -- this contains what "it" had before put "attrib"&& quote & tPath & quote && "-h" into tCommand set the hideConsoleWindows to true put shell (tCommand) into theError I get no error, but the file remains visible. The command doesn't work from the DOS prompt either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Apr 5 15:59:42 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 5 Apr 2005 13:59:42 -0600 Subject: Can't open file In-Reply-To: <4252EC59.2000308@hyperactivesw.com> References: <4252E0CC.5090301@hyperactivesw.com> <9f90cdfc49ca638d8d33670331c84d70@mangomultimedia.com> <4252EC59.2000308@hyperactivesw.com> Message-ID: <6c0cc24acbc20f020edda5d15a76bdab@swcp.com> On Apr 5, 2005, at 1:51 PM, J. Landman Gay wrote: > put "attrib"&& quote & tPath & quote && "-h" into tCommand +H Maybe? dar From revolution at jaedworks.com Tue Apr 5 15:59:29 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 5 Apr 2005 12:59:29 -0700 Subject: user-movable fields? In-Reply-To: References: <20050405160101.39DC39302CC@mail.runrev.com> Message-ID: At 2:11 PM -0400 4/5/05, Thomas McGrath III wrote: >Is the control key behavior just in the IDE or will it work in a >standalone? Don't we need to code the control behavior for a >standalone? No: Control-clicking (or right-clicking) an unlocked field sends mouseDown, mouseUp, etc. instead of opening the field for editing. This is built-in behavior of fields. (There's a note in the docs for mouseDown and mouseUp.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From jacque at hyperactivesw.com Tue Apr 5 16:08:53 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Apr 2005 15:08:53 -0500 Subject: Can't open file In-Reply-To: <6c0cc24acbc20f020edda5d15a76bdab@swcp.com> References: <4252E0CC.5090301@hyperactivesw.com> <9f90cdfc49ca638d8d33670331c84d70@mangomultimedia.com> <4252EC59.2000308@hyperactivesw.com> <6c0cc24acbc20f020edda5d15a76bdab@swcp.com> Message-ID: <4252F055.7090308@hyperactivesw.com> On 4/5/05 2:59 PM, Dar Scott wrote: > > On Apr 5, 2005, at 1:51 PM, J. Landman Gay wrote: > >> put "attrib"&& quote & tPath & quote && "-h" into tCommand > > > +H > > Maybe? > Ah. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From yvescoppe at skynet.be Tue Apr 5 16:31:35 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 5 Apr 2005 22:31:35 +0200 Subject: Scrolling flds Message-ID: Hi list, I have a fld with an alphabetical list I have a script to automatically scroll the fld at the beginning of a clicked letter : tKey (thank you Klaus) put lineOffset(return & tKey, fld "body") into lo set the scroll of field "body" to (lo * the effective textHeight of field "body") now, I have a problem : the list fld begins with a variable number of lines which are numbers and then begins the alphabetical list so, to set the scroll of field "body", I have to add some variable number to (lo * the effective textHeight of field "body") I cannot find out how I have to calculate this correction i've tried : put lineOffset(return & "a", fld "body") into tcorrection set the scroll of field "body" to (lo * the effective textHeight of field "body")+ tcorrection it's good at the beginnning of the list fld but after some lines, it's not correct anymore where is the error ? Greetings. Yves COPPE yvescoppe at skynet.be From kray at sonsothunder.com Tue Apr 5 16:32:01 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Apr 2005 15:32:01 -0500 Subject: Rectangle Problem In-Reply-To: Message-ID: On 4/5/05 12:51 PM, "David Burgun" wrote: > Hi, > > On a card I have a Rectangle Object called "BoundingRect". This > object has a script attached to it that contains the following > handlers: > > mouseEnter, mouseLeave, mouseDown, mouseStillDown and mouseUp to > track the position of the mouse and allow the user to draw > rectangles, e.g. when the user mouseDown's and then moves the mouse, > a rectangle graphic is created and resized until the mouse is > released. This works just fine. > > Now I would like to be able to select a rectangle that has already > been created and allow the user to modify it's size. In fact what I > would like is the exact same functionality as the RunRev IDE > provides, e.g. when the user clicks in the rect I'd like the grow > boxes to appear and allow the user to resize the box. > > Is there any easy way to get this functionality into my stack? Dave, is there any reason you're not using the built in functionality of Rev - i.e. to set the tool to the rectangle tool and then after they finish drawing to switch to the pointer tool? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From userev at canelasoftware.com Tue Apr 5 16:44:26 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 5 Apr 2005 13:44:26 -0700 Subject: Shrinking Mac stack In-Reply-To: <70c5f807f7aa0d1684956ff49121b77d@mangomultimedia.com> References: <4251973F.1090207@hyperactivesw.com> <70c5f807f7aa0d1684956ff49121b77d@mangomultimedia.com> Message-ID: On Apr 4, 2005, at 2:24 PM, Trevor DeVore wrote: > On Apr 4, 2005, at 12:36 PM, J. Landman Gay wrote: > >> I am still having the problem where the bottom of a stack gets cut >> off on Mac standalone builds when the stack contains a menu bar. This >> has been going on forever and usually (but not always) can be fixed >> by setting the desired stack height in a preopenstack handler. >> >> Since I don't see many complaints about this behavior, I'm wondering >> if others are still seeing it or if it is just me. If it is just me, >> does anyone know what causes it? I'd very much like to avoid using >> the work-around hack if possible. > > I hadn't seen this in a while but not more than 10 minutes after > reading this I noticed this on an app we are testing right now. I > don't see it on my development computer but it does happen on another > computer here at the office. So the bug is still alive and well. > > In the case I'm looking at right now the card height is reported > correctly and my controls resize to the visible size of the stack but > the bottom 21 pixels of the stack are just white (my graphics/controls > are cut off). When I switch to use the stack height to resize > controls then my controls resize just above the 21 pixels that are > white. > > So it would appear that Revolution is displaying the window equal to > the height of the card but only drawing controls into a height equal > to the height of the stack. > I have noticed that the problem arises when you do the following: 1. Build the stack to look as it should on the Mac first 2. Build the Win standalone on a Mac. The Win version will push everything down to make room for the menubar. If you build the standalone on the Win system, all is well. Mark Talluto -- CANELA Software http://www.canelasoftware.com From dburgun at dsl.pipex.com Tue Apr 5 17:05:09 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 5 Apr 2005 22:05:09 +0100 Subject: Rectangle Problem In-Reply-To: References: Message-ID: >On 4/5/05 12:51 PM, "David Burgun" wrote: > >> Hi, >> >> On a card I have a Rectangle Object called "BoundingRect". This >> object has a script attached to it that contains the following >> handlers: >> >> mouseEnter, mouseLeave, mouseDown, mouseStillDown and mouseUp to >> track the position of the mouse and allow the user to draw >> rectangles, e.g. when the user mouseDown's and then moves the mouse, >> a rectangle graphic is created and resized until the mouse is >> released. This works just fine. >> >> Now I would like to be able to select a rectangle that has already >> been created and allow the user to modify it's size. In fact what I >> would like is the exact same functionality as the RunRev IDE >> provides, e.g. when the user clicks in the rect I'd like the grow >> boxes to appear and allow the user to resize the box. >> >> Is there any easy way to get this functionality into my stack? > >Dave, is there any reason you're not using the built in functionality of Rev On big reason, I don't know how to do it? >- i.e. to set the tool to the rectangle tool and then after they finish >drawing to switch to the pointer tool? Not sure what you mean? Exactly what code do I use and which handler do I use? Oh and which object should I attach the script to? Thanks in Advance Dave From eric.chatonet at sosmartsoftware.com Tue Apr 5 17:15:09 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Apr 2005 23:15:09 +0200 Subject: Scrolling flds In-Reply-To: References: Message-ID: <4c25e739d099e6929d00b10b84135925@sosmartsoftware.com> Bonsoir Yves, LineOffset returns the number of lines between the beginning of a value and an occurrence of a specified string. So, LineOffset does not take care of numbers or alpha chars and *stupidly counts the lines*. That's all :-) So the code Klaus provided *should* work in all cases. Your problem (I can't figure it) is elsewhere... FixedLineHeight set to false? Does not help to much :-( Le 5 avr. 05, ? 22:31, Yves COPPE a ?crit : > I have a fld with an alphabetical list > I have a script to automatically scroll the fld at the beginning of a > clicked letter : tKey > (thank you Klaus) > > put lineOffset(return & tKey, fld "body") into lo > set the scroll of field "body" to (lo * the effective textHeight of > field "body") > > now, I have a problem : > the list fld begins with a variable number of lines which are numbers > and then begins the alphabetical list > so, to set the scroll of field "body", I have to add some variable > number to (lo * the effective textHeight of field "body") > I cannot find out how I have to calculate this correction > > i've tried : > > put lineOffset(return & "a", fld "body") into tcorrection > set the scroll of field "body" to (lo * the effective textHeight of > field "body")+ tcorrection > > it's good at the beginnning of the list fld but after some lines, it's > not correct anymore > where is the error ? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet AT sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jacque at hyperactivesw.com Tue Apr 5 17:40:34 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Apr 2005 16:40:34 -0500 Subject: Shrinking Mac stack In-Reply-To: References: <4251973F.1090207@hyperactivesw.com> <70c5f807f7aa0d1684956ff49121b77d@mangomultimedia.com> Message-ID: <425305D2.6090009@hyperactivesw.com> On 4/5/05 3:44 PM, Mark Talluto wrote: > > On Apr 4, 2005, at 2:24 PM, Trevor DeVore wrote: > >> On Apr 4, 2005, at 12:36 PM, J. Landman Gay wrote: >> >>> I am still having the problem where the bottom of a stack gets cut >>> off on Mac standalone builds when the stack contains a menu bar. This >>> has been going on forever and usually (but not always) can be fixed >>> by setting the desired stack height in a preopenstack handler. >>> >>> Since I don't see many complaints about this behavior, I'm wondering >>> if others are still seeing it or if it is just me. If it is just me, >>> does anyone know what causes it? I'd very much like to avoid using >>> the work-around hack if possible. >> >> >> I hadn't seen this in a while but not more than 10 minutes after >> reading this I noticed this on an app we are testing right now. I >> don't see it on my development computer but it does happen on another >> computer here at the office. So the bug is still alive and well. >> >> In the case I'm looking at right now the card height is reported >> correctly and my controls resize to the visible size of the stack but >> the bottom 21 pixels of the stack are just white (my graphics/controls >> are cut off). When I switch to use the stack height to resize >> controls then my controls resize just above the 21 pixels that are white. >> >> So it would appear that Revolution is displaying the window equal to >> the height of the card but only drawing controls into a height equal >> to the height of the stack. >> > > I have noticed that the problem arises when you do the following: > > 1. Build the stack to look as it should on the Mac first > 2. Build the Win standalone on a Mac. > > The Win version will push everything down to make room for the menubar. > > If you build the standalone on the Win system, all is well. That's good to know -- I'll keep that in mind. But in my case, I was creating on a Mac and building for a Mac. I've seen the white area at the bottom of stacks in other projects, but in this case everything was in the proper place but the stack height was too short. It cut off the bottom of all the lower objects by the height of the menubar. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From simplsol at aol.com Tue Apr 5 17:44:46 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Tue, 05 Apr 2005 17:44:46 -0400 Subject: Scrolling flds In-Reply-To: <4c25e739d099e6929d00b10b84135925@sosmartsoftware.com> References: <4c25e739d099e6929d00b10b84135925@sosmartsoftware.com> Message-ID: <8C7083FD1FE63A3-EE4-62AE@mblk-d50.sysops.aol.com> Here is an alternative script for scrolling a list field based on a click in an alpha field: on mouseDown --list must be sorted for alphas to make sense: if the hilite of btn "Sort the Card List" is false then send "mouseUp" to btn "Sort the Card List" get the value of the clickLine if it is empty then set the scroll of fld "Card List" to "0" exit mouseDown end if if it is "..." then ask "Find this character in the card list:" with "A" if the result is "Cancel" then exit mouseDown end if put fld "Card List" into temp repeat with i = 1 to the number of lines of temp if char 1 of line i of temp is it then set the scroll of fld "Card List" to ((i -1) * 12)--lineHeight is 12 pixels exit mouseDown end if end repeat -- if there was no matching alpha then beep beep end mouseDown I have used this for a couple years now and it works well for me. Note: I have "..." (three dots/periods) at the top of the list which will bring up a dialog asking the user for special letters/characters which are not part of the alpha list (like umlauts, tildas, etc.). Paul Looney -----Original Message----- From: Eric Chatonet To: How to use Revolution Sent: Tue, 5 Apr 2005 23:15:09 +0200 Subject: Re: Scrolling flds Bonsoir Yves,? ? LineOffset returns the number of lines between the beginning of a value and an occurrence of a specified string.? So, LineOffset does not take care of numbers or alpha chars and *stupidly counts the lines*. That's all :-)? So the code Klaus provided *should* work in all cases.? Your problem (I can't figure it) is elsewhere...? FixedLineHeight set to false?? Does not help to much :-(? ? Le 5 avr. 05, ? 22:31, Yves COPPE a ?crit :? ? > I have a fld with an alphabetical list? > I have a script to automatically scroll the fld at the beginning of a > clicked letter : tKey? > (thank you Klaus)? >? > put lineOffset(return & tKey, fld "body") into lo? > set the scroll of field "body" to (lo * the effective textHeight of > field "body")? >? > now, I have a problem :? > the list fld begins with a variable number of lines which are numbers > and then begins the alphabetical list? > so, to set the scroll of field "body", I have to add some variable > number to (lo * the effective textHeight of field "body")? > I cannot find out how I have to calculate this correction? >? > i've tried :? >? > put lineOffset(return & "a", fld "body") into tcorrection? > set the scroll of field "body" to (lo * the effective textHeight of > field "body")+ tcorrection? >? > it's good at the beginnning of the list fld but after some lines, it's > not correct anymore? > where is the error ?? ? Amicalement,? ? Eric Chatonet.? ----------------------------------------------------------------? So Smart Software? ? For institutions, companies and associations? Built-to-order applications: management, multimedia, internet, etc.? Windows, Mac OS and Linux... With the French touch? ----------------------------------------------------------------? Web site http://www.sosmartsoftware.com/? Email eric.chatonet AT sosmartsoftware.com/? Phone 33 (0)1 43 31 77 62? Mobile 33 (0)6 20 74 50 86? ----------------------------------------------------------------? ? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? http://lists.runrev.com/mailman/listinfo/use-revolution? From fde101 at fjrhome.net Tue Apr 5 18:22:07 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 5 Apr 2005 18:22:07 -0400 Subject: Rectangle Problem In-Reply-To: References: Message-ID: <5fa48609c727f2636e194fe5a3305566@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Look up the tool, style and templateGraphic properties and the newGraphic message in the docs. As for the style property, you are primarily interested in how it applies to graphic objects (you can skip a lot of material which applies to other types of objects). On Apr 5, 2005, at 5:05 PM, David Burgun wrote: >> On 4/5/05 12:51 PM, "David Burgun" wrote: >> Dave, is there any reason you're not using the built in functionality >> of Rev > > On big reason, I don't know how to do it? > >> - i.e. to set the tool to the rectangle tool and then after they >> finish >> drawing to switch to the pointer tool? > > Not sure what you mean? Exactly what code do I use and which handler > do I use? Oh and which object should I attach the script to? - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUw+P7aqtWrR9cZoRAuZmAJ0Xps2DZFnYlgfIbqEILKh/v5um6ACbBbEI sFulrRlCYag4cYvvygoQfUs= =rAuM -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Tue Apr 5 18:25:10 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 5 Apr 2005 18:25:10 -0400 Subject: Shrinking Mac stack In-Reply-To: <425305D2.6090009@hyperactivesw.com> References: <4251973F.1090207@hyperactivesw.com> <70c5f807f7aa0d1684956ff49121b77d@mangomultimedia.com> <425305D2.6090009@hyperactivesw.com> Message-ID: <7e0406dce45e337221ae2def125e6c55@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I finally worked around this problem where it is important to me by finding the proper height of the stack and setting it to that height in a preOpenStack handler. Make sure you find the height of the stack with the menu bar in the stack window (the Windows height, not the Mac height) when setting from preOpenStack; this seems to solve the problem for both platforms automatically. On Apr 5, 2005, at 5:40 PM, J. Landman Gay wrote: > > That's good to know -- I'll keep that in mind. But in my case, I was > creating on a Mac and building for a Mac. I've seen the white area at > the bottom of stacks in other projects, but in this case everything > was in the proper place but the stack height was too short. It cut off > the bottom of all the lower objects by the height of the menubar. > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCUxBG7aqtWrR9cZoRAt1OAJwPueq7TbtCPbe02t0UsbnIptBriwCfbkaO 2+42quhq7rL73+blQgemCAM= =Bvrg -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From ambassador at fourthworld.com Tue Apr 5 18:46:37 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Apr 2005 15:46:37 -0700 Subject: handler error of the simplest kind In-Reply-To: References: Message-ID: <4253154D.10501@fourthworld.com> Byron Turner wrote: > I'm getting a handler error with this! Any ideas? > > Worked fine for weeks in the message box, but now that its in a menu . . > > on combat > go stack "combat" > end combat Menus are Mennonites, and maintain a fierce conviction of relying on a higher power to resolve conflicts without resorting to combat. The Message Box is agnostic, so it'll execute anything with narry a second thought. So you could try changing the handler name from "combat" to "nonLethalResolution" and see if the menu will handle it. If that doesn't do it make sure the menuPick message is calling the right handler. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From soapdog at mac.com Tue Apr 5 19:52:01 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 5 Apr 2005 20:52:01 -0300 Subject: [ann] vObject Package Pre-Release (vCard and iCalendar) Message-ID: <435dec66b697849ae4df2c18cf423b21@mac.com> Hi Folks, since some folks here showed growing interest in the vObject package, I am releasing a pre-release, it's fully working just the documentation is not fully done yet. The Package contains: * vObject Package main stack -- That is the mainstack, it contains some documentation as well as the RFCs that spec vCard and iCalendar * vObjectLib -- the library, just start using it, also the true documentation is inside the stack script. * vcarddemo -- a simple vCard demo, that can export and import vCards. In the next days, I'll finish the docs and create iCalendar examples. iCalendar is missing the docs and examples, but the routines are there. Please read all and send feedback the stack is at: go stack url "http://www.soapdog.org/vObjectPackage.rev" 568k stack.... Need Feedback Andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From boinjyboing at hotmail.com Tue Apr 5 20:13:31 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Tue, 5 Apr 2005 17:13:31 -0700 Subject: Table behavior Message-ID: I have just started playing around with fields that have "table" behavior. I was planning on writing a little spreadsheet program. However, it appears that the closeField message is not sent to the field when its behavior is like a Table. This can be demonstrated: create a new Table from the toolbox. Put this in its script: on closefield answer "closefield was called" end closefield When the user edits a cell and then clicks on a different field, no message is sent. But when the "Cell Editing" property of the field is turned off, then the message is sent as I expected. I'd like to know when the data in the field changes. But if closefield doesn't work (and exitfield is sent only when data is not changed) then what do you use? -Ben From byront at mac.com Tue Apr 5 20:35:21 2005 From: byront at mac.com (Byron Turner) Date: Tue, 5 Apr 2005 17:35:21 -0700 Subject: handler error of the simplest kind In-Reply-To: <90a334c59cfd81096f2b6ceca114b2fd@byu.edu> References: <90a334c59cfd81096f2b6ceca114b2fd@byu.edu> Message-ID: <72cb5b541019422f9f9a23350d045609@mac.com> > On Apr 5, 2005, at 8:53 AM, Byron Turner wrote: > >> I'm getting a handler error with this! Any ideas? >> >> Worked fine for weeks in the message box, but now that its in a menu >> . . >> >> on combat >> go stack "combat" >> end combat > > Byron, > > What kind of error are you getting? If it's a "handler not found" > error, it's usually because a syntax error somewhere in any handler > prevented the entire script from compiling. Try making a trivial > change to the script and Applying it again, then see if your handler > call works. > > Also make sure that the handler is located in a script that's in the > message path of the calling object. > > Devin The error is "Handler: Error in Statement" I should have mentioned that the hander executes just fine. As per Richard's suggestion I tried changing the name of the handler to no avail. I have (what may be a similar problem) in another handler in a substack and after puzzling over it for days, I finally just turned error reporting off and everything seems fine. However, when real problems show up, that creates a problem , so I'd sure like to find out what's going on. From kray at sonsothunder.com Tue Apr 5 22:06:27 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Apr 2005 21:06:27 -0500 Subject: Rectangle Problem In-Reply-To: Message-ID: On 4/5/05 4:05 PM, "David Burgun" wrote: >>> Is there any easy way to get this functionality into my stack? >> >> Dave, is there any reason you're not using the built in functionality of Rev > > On big reason, I don't know how to do it? > >> - i.e. to set the tool to the rectangle tool and then after they finish >> drawing to switch to the pointer tool? > > Not sure what you mean? Exactly what code do I use and which handler > do I use? Oh and which object should I attach the script to? Well, suppose you've got a stack that is supposed to be your drawing area, and you have a palette of tools (like a rectangle for drawing rectangles, and an arrow for going into "pointer" tool mode - you may have more, but you get the idea). In the floating palette you set the tool of the topStack when a tool is clicked: on mouseUp -- the "rectangle tool" button choose graphic tool end mouseUp on mouseUp -- the "pointer tool" button choose pointer tool end mouseUp When a new graphic is created, you'll get a 'newGraphic' message, and you can do something like this to make sure it is "selected" (i.e. it has resizing handles): on newGraphic set the selected of the target to true end newGraphic HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Tue Apr 5 22:10:54 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Apr 2005 21:10:54 -0500 Subject: Shrinking Mac stack In-Reply-To: <7e0406dce45e337221ae2def125e6c55@fjrhome.net> References: <4251973F.1090207@hyperactivesw.com> <70c5f807f7aa0d1684956ff49121b77d@mangomultimedia.com> <425305D2.6090009@hyperactivesw.com> <7e0406dce45e337221ae2def125e6c55@fjrhome.net> Message-ID: <4253452E.9020108@hyperactivesw.com> On 4/5/05 5:25 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I finally worked around this problem where it is important to me by > finding the proper height of the stack and setting it to that height in > a preOpenStack handler. > > Make sure you find the height of the stack with the menu bar in the > stack window (the Windows height, not the Mac height) when setting from > preOpenStack; this seems to solve the problem for both platforms > automatically. That's been my workaround for a few years now, but I did have one stack where that trick wouldn't work for some reason. That's the stack I uploaded to the bug database. I wish they'd just fix it entirely so we didn't have to worry about it. Again, in the MC IDE it usually works as it is supposed to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Tue Apr 5 22:13:42 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Apr 2005 21:13:42 -0500 Subject: Scrolling flds In-Reply-To: Message-ID: On 4/5/05 3:31 PM, "Yves COPPE" wrote: > Hi list, > > I have a fld with an alphabetical list > > I have a script to automatically scroll the fld at the beginning of a > clicked letter : tKey > > (thank you Klaus) > > put lineOffset(return & tKey, fld "body") into lo Be careful... when you look for "return & tKey", you need to look for it in "return & fld "body"" otherwise you'll be one line off AND you will never match the first line. For example, consider this list, which I'll call tFruit (and I use "CR" instead of "return"): apple banana grape watermelon If I ask for lineOffset(CR & "b",tFruit), I'll get "1" instead of "2" because the first part of the match (the CR following "apple") is on line 1 instead of line 2. Similarly, if I ask for lineOffset(CR & "a",tFruit), I will get 0 because the list doesn't start with a CR; it starts with "a". So to make it work properly, you need to do: put lineOffset(CR & "b",CR & tFruit) This causes my list to look like this: apple banana grape watermelon So matching CR & "b" matches the CR following "apple", which is on line 2. Start there, and see if you still need to adjust your scrolling. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From bill at bluewatermaritime.com Tue Apr 5 22:18:40 2005 From: bill at bluewatermaritime.com (Bill) Date: Tue, 05 Apr 2005 22:18:40 -0400 Subject: [ann] vObject Package Pre-Release (vCard and iCalendar) In-Reply-To: <435dec66b697849ae4df2c18cf423b21@mac.com> Message-ID: When I go url "http://www.soapdog.org/vObjectPackage.rev" I get: stack is corrupted, check for ~ backup file On 4/5/05 7:52 PM, "Andre Garzia" wrote: > Hi Folks, > > since some folks here showed growing interest in the vObject package, I > am releasing a pre-release, it's fully working just the documentation > is not fully done yet. > The Package contains: > * vObject Package main stack -- That is the mainstack, it contains some > documentation as well as the RFCs that spec vCard and iCalendar > * vObjectLib -- the library, just start using it, also the true > documentation is inside the stack script. > * vcarddemo -- a simple vCard demo, that can export and import vCards. > > In the next days, I'll finish the docs and create iCalendar examples. > iCalendar is missing the docs and examples, but the routines are there. > Please read all and send feedback > the stack is at: > > go stack url "http://www.soapdog.org/vObjectPackage.rev" > > 568k stack.... > > Need Feedback > Andre | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From drothe at optusnet.com.au Tue Apr 5 22:55:08 2005 From: drothe at optusnet.com.au (Dwayne Rothe) Date: Wed, 6 Apr 2005 12:55:08 +1000 Subject: Seperate numbers from text References: <20050406004852.1FB4D930161@mail.runrev.com> Message-ID: <002101c53a54$17dd9a70$39fe1dd3@p4c2> Is there a way to seperate numbers from text in a string? e.g "string69" to return 69 or "string69also" to return 69 Is it possible to filter somehow? Cheers Thanx........ From soapdog at mac.com Tue Apr 5 23:22:58 2005 From: soapdog at mac.com (Andre Garzia) Date: Wed, 6 Apr 2005 00:22:58 -0300 Subject: [ann] vObject Package Pre-Release (vCard and iCalendar) In-Reply-To: References: Message-ID: <9881f15764b3c0d381e0ef43edbd3eca@mac.com> Bill, I set up an alternate url go stack url "http://www.wecode.org/vObjectPackage.rev" this I tested and is working... thanks andre On Apr 5, 2005, at 11:18 PM, Bill wrote: > When I > > go url "http://www.soapdog.org/vObjectPackage.rev" > > I get: > > > stack is corrupted, check for ~ backup file > > > On 4/5/05 7:52 PM, "Andre Garzia" wrote: > >> Hi Folks, >> >> since some folks here showed growing interest in the vObject package, >> I >> am releasing a pre-release, it's fully working just the documentation >> is not fully done yet. >> The Package contains: >> * vObject Package main stack -- That is the mainstack, it contains >> some >> documentation as well as the RFCs that spec vCard and iCalendar >> * vObjectLib -- the library, just start using it, also the true >> documentation is inside the stack script. >> * vcarddemo -- a simple vCard demo, that can export and import vCards. >> >> In the next days, I'll finish the docs and create iCalendar examples. >> iCalendar is missing the docs and examples, but the routines are >> there. >> Please read all and send feedback >> the stack is at: >> >> go stack url "http://www.soapdog.org/vObjectPackage.rev" >> >> 568k stack.... >> >> Need Feedback >> Andre > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- http://www.bluewatermaritime.com > ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ > ^^^^ ^^^^ ^^^ ^^ > ^^^^ ^^^ > > 24 hour cell: (787) 378-6190 > fax: (787) 809-8426 > > Blue Water Maritime > P.O. Box 91 > Puerto Real, PR 00740 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From revdan at danshafer.com Tue Apr 5 23:23:58 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Apr 2005 20:23:58 -0700 Subject: [ann] vObject Package Pre-Release (vCard and iCalendar) In-Reply-To: References: Message-ID: <42ec7e007e6f4895d1ffbd9d0a48ba83@danshafer.com> Strange. It downloaded fine for me. On Apr 5, 2005, at 7:18 PM, Bill wrote: > When I > > go url "http://www.soapdog.org/vObjectPackage.rev" > > I get: > > > stack is corrupted, check for ~ backup file > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Tue Apr 5 23:24:40 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Apr 2005 20:24:40 -0700 Subject: Seperate numbers from text In-Reply-To: <002101c53a54$17dd9a70$39fe1dd3@p4c2> References: <20050406004852.1FB4D930161@mail.runrev.com> <002101c53a54$17dd9a70$39fe1dd3@p4c2> Message-ID: Great place for a regular expression. I don't know how to *write* it mind you, but it's probably the solution. On Apr 5, 2005, at 7:55 PM, Dwayne Rothe wrote: > Is there a way to seperate numbers from text in a string? > e.g "string69" to return 69 or "string69also" to return 69 > > Is it possible to filter somehow? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From Cubist at aol.com Tue Apr 5 23:34:02 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Tue, 5 Apr 2005 23:34:02 EDT Subject: Table behavior Message-ID: <1e3.390d4a6d.2f84b2aa@aol.com> sez boinjyboing at hotmail.com: >I have just started playing around with fields that have "table" behavior. >I was planning on writing a little spreadsheet program. However, it appears >that the closeField message is not sent to the field when its behavior >is like a Table. > >This can be demonstrated: create a new Table from the toolbox. Put this >in its script: >on closefield > answer "closefield was called" >end closefield >When the user edits a cell and then clicks on a different field, no message >is sent. >But when the "Cell Editing" property of the field is turned off, then the >message is sent as I expected. > >I'd like to know when the data in the field changes. But if closefield >doesn't work (and exitfield is sent only when data is not changed) then >what do you use? Something like this in the script of that field might work: local OldData,ImInside local Intervl = 50 on mouseEnter set the OldData of me to me set the ImInside of me to true set the ItzChanged of me to false send "CheckForChanges" to me in Intervl milliseconds WhateverElseYouDoOnME end MouseEnter on CheckForChanges set the ItzChanged of me to (me <> OldData) if (the ImInside of me) then send "CheckForChanges" to me in Intervl milliseconds else set the ImInside of me to false end if end CheckForChanges With this code, your field gets an ItzChanged property, updated in 20-times-a-second realtime, that is "true" if the field's content differs from what it was at the time the mouse entered the field, and "false" if the field's current content is unchanged from what it used to be. You can use "the ItzChanged of field Whatever" to make use of this information in any other script/handler you like. Hope this helps... From kray at sonsothunder.com Tue Apr 5 23:51:09 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Apr 2005 22:51:09 -0500 Subject: Seperate numbers from text In-Reply-To: <002101c53a54$17dd9a70$39fe1dd3@p4c2> Message-ID: On 4/5/05 9:55 PM, "Dwayne Rothe" wrote: > Is there a way to seperate numbers from text in a string? > e.g "string69" to return 69 or "string69also" to return 69 > > Is it possible to filter somehow? Well, if you only have one number in the string (i.e. not something like "one45two50three60"), you can use this: function GetNum pWhat local tNum get matchText(pWhat,"([0-9]+)",tNum) return tNum end GetNum HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From aj445 at traverse.lib.mi.us Wed Apr 6 00:40:27 2005 From: aj445 at traverse.lib.mi.us (SB) Date: Wed, 6 Apr 2005 00:40:27 -0400 Subject: user-movable fields In-Reply-To: <20050406004851.442DF930151@mail.runrev.com> References: <20050406004851.442DF930151@mail.runrev.com> Message-ID: Thank you all! I just put a demo of the user-movable fields, and an example of how it might be useful, in the user spaces of revonline-- "User movable fields", under programming. This is so cool-- when I first thought of it this morning, I figured it would take arduous programming. Amazing. Smart Rev--very RAD. Sandy (aka Troutfoot) From bvlahos at mac.com Wed Apr 6 01:42:46 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 5 Apr 2005 22:42:46 -0700 Subject: [ann] vObject Package Pre-Release (vCard and iCalendar) In-Reply-To: <435dec66b697849ae4df2c18cf423b21@mac.com> References: <435dec66b697849ae4df2c18cf423b21@mac.com> Message-ID: Andre, Thanks for this. Your timing is impeccable. I was just about to tackle vCard import/export myself for a project and you saved me time. Thank you, Bill Vlahos On Apr 5, 2005, at 4:52 PM, Andre Garzia wrote: > Hi Folks, > > since some folks here showed growing interest in the vObject package, > I am releasing a pre-release, it's fully working just the > documentation is not fully done yet. > The Package contains: > * vObject Package main stack -- That is the mainstack, it contains > some documentation as well as the RFCs that spec vCard and iCalendar > * vObjectLib -- the library, just start using it, also the true > documentation is inside the stack script. > * vcarddemo -- a simple vCard demo, that can export and import vCards. > > In the next days, I'll finish the docs and create iCalendar examples. > iCalendar is missing the docs and examples, but the routines are > there. Please read all and send feedback > the stack is at: > > go stack url "http://www.soapdog.org/vObjectPackage.rev" > > 568k stack.... > > Need Feedback > Andre > > -- > Andre Alves Garzia ? 2004 > Soap Dog Studios - BRAZIL > http://studio.soapdog.org > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From yvescoppe at skynet.be Wed Apr 6 02:13:27 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 6 Apr 2005 08:13:27 +0200 Subject: Scrolling flds In-Reply-To: <4c25e739d099e6929d00b10b84135925@sosmartsoftware.com> References: <4c25e739d099e6929d00b10b84135925@sosmartsoftware.com> Message-ID: <4e8f39f0d8384203f4c36a2a7bf63a69@skynet.be> Le 5 avr. 05, ? 23:15, Eric Chatonet a ?crit : > Bonsoir Yves, > > LineOffset returns the number of lines between the beginning of a > value and an occurrence of a specified string. > So, LineOffset does not take care of numbers or alpha chars and > *stupidly counts the lines*. That's all :-) > So the code Klaus provided *should* work in all cases. > Your problem (I can't figure it) is elsewhere... > FixedLineHeight set to false? > Does not help to much :-( > > I've seen the problem but can't get a solution the fld which must scroll MUST have the listbehavior set to true now I'd like to make the script run on a fld which has listbehavior set to false and lockttext to false...is it possible ? Thanks. Greetings. Yves COPPE yvescoppe at skynet.be From ptrendler at bigpond.com Wed Apr 6 02:34:06 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Wed, 6 Apr 2005 16:34:06 +1000 Subject: user-movable fields References: <20050406004851.442DF930151@mail.runrev.com> Message-ID: <00b701c53a72$afda4fd0$0100000a@super> Sandy, This doesn't quite work. You need: on mousedown thebutton if thebutton is 3 then grab me end mousedown See Jeanne's email and the docs for mousedown in an unlocked field (right click for Win, control click Mac) It probably seemed to work for you because you were using the pointer tool in the IDE. Pat patrend at bigpond.com ----- Original Message ----- From: "SB" To: Sent: Wednesday, April 06, 2005 2:40 PM Subject: Re: user-movable fields > Thank you all! > > I just put a demo of the user-movable fields, and an example of how it > might be useful, in the user spaces of revonline-- "User movable fields", > under programming. > > This is so cool-- when I first thought of it this morning, I figured it > would take arduous programming. Amazing. Smart Rev--very RAD. > > > Sandy (aka Troutfoot) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Signe.Sanne at roman.uib.no Wed Apr 6 02:44:14 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Wed, 06 Apr 2005 08:44:14 +0200 Subject: user-movable fields? In-Reply-To: References: <20050405160101.39DC39302CC@mail.runrev.com> Message-ID: <4253853E.4000707@roman.uib.no> Jeanne A. E. DeVoto skrev: > At 2:11 PM -0400 4/5/05, Thomas McGrath III wrote: > >> Is the control key behavior just in the IDE or will it work in a >> standalone? Don't we need to code the control behavior for a standalone? > > > No: Control-clicking (or right-clicking) an unlocked field sends > mouseDown, mouseUp, etc. instead of opening the field for editing. This > is built-in behavior of fields. (There's a note in the docs for > mouseDown and mouseUp.) Surprise surprise... when you select the text in an unlocked field and drag it to another unlocked field, you move the text to this new field. When control-clicking and dragging you put a copy of the text into the new field. (This is on Windows.) There are always new things to learn! Regards Signe Marie Sanne From revolution at jaedworks.com Wed Apr 6 02:46:41 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 5 Apr 2005 23:46:41 -0700 Subject: Seperate numbers from text In-Reply-To: <002101c53a54$17dd9a70$39fe1dd3@p4c2> References: <20050406004852.1FB4D930161@mail.runrev.com> <002101c53a54$17dd9a70$39fe1dd3@p4c2> Message-ID: At 12:55 PM +1000 4/6/05, Dwayne Rothe wrote: >Is there a way to seperate numbers from text in a string? >e.g "string69" to return 69 or "string69also" to return 69 > >Is it possible to filter somehow? Here's one way: repeat for each char thisChar in myString if thisChar is a number then put thisChar after numbersOnlyString end repeat -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From Signe.Sanne at roman.uib.no Wed Apr 6 03:02:33 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Wed, 06 Apr 2005 09:02:33 +0200 Subject: Can't open file Message-ID: <42538989.3080709@roman.uib.no> > So now that I have that working, I want to make the file invisible. Any > ideas why this standard snippet is failing: > > replace "/" with "\" in tPath -- this contains what "it" had before > put "attrib"&& quote & tPath & quote && "-h" into tCommand > set the hideConsoleWindows to true > put shell (tCommand) into theError > > I get no error, but the file remains visible. The command doesn't work > from the DOS prompt either. I tried replacing -h with +h as Dar suggested, but this just results in a dimmed icon, the file can still be opened. Other suggestions? And how do we make it visible again? Regards Signe Marie Sanne From kray at sonsothunder.com Wed Apr 6 03:07:56 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 06 Apr 2005 02:07:56 -0500 Subject: Can't open file In-Reply-To: <42538989.3080709@roman.uib.no> Message-ID: On 4/6/05 2:02 AM, "Signe Marie Sanne" wrote: > >> So now that I have that working, I want to make the file invisible. Any >> ideas why this standard snippet is failing: >> >> replace "/" with "\" in tPath -- this contains what "it" had before >> put "attrib"&& quote & tPath & quote && "-h" into tCommand >> set the hideConsoleWindows to true >> put shell (tCommand) into theError >> >> I get no error, but the file remains visible. The command doesn't work >> from the DOS prompt either. > > I tried replacing -h with +h as Dar suggested, but this just results in a > dimmed icon, the file can still be opened. Other suggestions? And how do we > make it visible again? Actually it *is* invisible, but you have your Windows preference set to show invisible files (they are shown as dimmed). To set it visible again, use -h. Basically +h means "add 'hidden' attribute" and -h means "remove 'hidden' attribute". Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ptrendler at bigpond.com Wed Apr 6 03:20:35 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Wed, 6 Apr 2005 17:20:35 +1000 Subject: user-movable fields? References: <20050405160101.39DC39302CC@mail.runrev.com> <4253853E.4000707@roman.uib.no> Message-ID: <00ca01c53a79$3be14500$0100000a@super> So, if you only want to let the user move the field, but not move or copy the text, would you use on dragStart end dragStart on mousedown thebutton if thebutton is 3 then grab me end mousedown This works, but just wondered if this was the right way. Pat ----- Original Message ----- From: "Signe Marie Sanne" To: "How to use Revolution" Sent: Wednesday, April 06, 2005 4:44 PM Subject: Re: user-movable fields? > Jeanne A. E. DeVoto skrev: >> At 2:11 PM -0400 4/5/05, Thomas McGrath III wrote: >> >>> Is the control key behavior just in the IDE or will it work in a >>> standalone? Don't we need to code the control behavior for a standalone? >> >> >> No: Control-clicking (or right-clicking) an unlocked field sends >> mouseDown, mouseUp, etc. instead of opening the field for editing. This >> is built-in behavior of fields. (There's a note in the docs for mouseDown >> and mouseUp.) > > Surprise surprise... when you select the text in an unlocked field and > drag it to another unlocked field, you move the text to this new field. > When control-clicking and dragging you put a copy of the text into the new > field. (This is on Windows.) There are always new things to learn! > > Regards > Signe Marie Sanne > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Signe.Sanne at roman.uib.no Wed Apr 6 03:40:20 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Wed, 06 Apr 2005 09:40:20 +0200 Subject: Can't open file In-Reply-To: References: Message-ID: <42539264.5000905@roman.uib.no> Ken Ray skrev: > On 4/6/05 2:02 AM, "Signe Marie Sanne" wrote: > > >> >> >>>So now that I have that working, I want to make the file invisible. Any >>>ideas why this standard snippet is failing: >>> >>> replace "/" with "\" in tPath -- this contains what "it" had before >>> put "attrib"&& quote & tPath & quote && "-h" into tCommand >>> set the hideConsoleWindows to true >>> put shell (tCommand) into theError >>> >>>I get no error, but the file remains visible. The command doesn't work >>>from the DOS prompt either. >> >>I tried replacing -h with +h as Dar suggested, but this just results in a >>dimmed icon, the file can still be opened. Other suggestions? And how do we >>make it visible again? > > > Actually it *is* invisible, but you have your Windows preference set to show > invisible files (they are shown as dimmed). To set it visible again, use -h. > Basically +h means "add 'hidden' attribute" and -h means "remove 'hidden' > attribute". > Thanks for the clarification. In Control Panel --> Folder Options --> View --Hidden files and folders, the option Show hidden files and folders was actually checked. Signe Marie From dburgun at dsl.pipex.com Wed Apr 6 03:52:03 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 6 Apr 2005 08:52:03 +0100 Subject: Rectangle Problem In-Reply-To: <5fa48609c727f2636e194fe5a3305566@fjrhome.net> References: <5fa48609c727f2636e194fe5a3305566@fjrhome.net> Message-ID: Hi, I've looked at trying to use the Rectangle tool to do this but it doesn't do exactly what I want. I suppose it might be to describe what I am trying to do in more detail: I have some hard copy (A0, A1 paper size) plans of buildings and am using an accurate Crosshair mouse or Tablet in order to take measurements from the plan. Each plan shows the scale factor (which can be 10:1, 20:1, 50:1, 100:1 200:1 etc.). So the user enters the scale factor, then uses the mouse to mark corners of door and window openings. Since the DPI of the Mouse is known, it is possible to get accurate (enough) measurements. This is physically performed by clicking in the defined area (just a pre-defined rectangle called "BoundingRect", the Script for doing this is attached to this object) and then lining up the top/left corner of the opening on the drawing with the mouse. The user then clicks to define the Top/Left corner and then drags the mouse to define Bottom/Right corner. An interactive rectangle is then displayed using the "mouseStillDown" handler. Once the user does a mouseUp, the rectangle is made permanent. While the drawing operation is in progress the size in pixels and mm is being displayed in fields at the top of the screen. This works fine. I now what to be able to: 1. Select the rectangles and move them about inside "BoundingRect" I have this working, when I create the Rectangle Graphic, I just copy a template rectangle that I have previously created using the RunRev IDE. This Template Object contains scripts to handle the moving of the Rectangle. This works quite well an it's neat that the Script from the template can be duped and used so easilly (I have made it so the script does not reference any "hard" names so it works regardsless of the object being used, which is cool!). 2. Resize a rectangle using a method similar to the way in which the IDE works (e.g. via the 8 resize boxes). I am not sure how to do this? Do I create 8 more rectangle objects and somehow "pin" them to the corners and middles of the bounding box of the Rectangle? If not how to I draw and react to the 8 boxes? 3. Sometime in the future I will need to handle a different type of object. It will have a rectanglular bounding box, but there could be a lot of seperate openings within the bounds of the rectangle. e.g, There could be a tic-tac-toe style (3x3) pattern. Any ideas on how to implement that would be greatly appreciated too! Thanks for your help, I am really pleased with what I have so far, I do have one specific programming question too: Given I have a "BoundingRect" and "UserRect", how can I check that "UserRect" is inside "BoundingRect"? If it overlaps I want to either clip the rectangle or stop it from moving outside of the BoundingRect in the first place. All the Best Dave >Look up the tool, style and templateGraphic properties and the >newGraphic message in the docs. > >As for the style property, you are primarily interested in how it >applies to graphic objects (you can skip a lot of material which >applies to other types of objects). > >On Apr 5, 2005, at 5:05 PM, David Burgun wrote: > >>>On 4/5/05 12:51 PM, "David Burgun" wrote: >>>Dave, is there any reason you're not using the built in functionality of Rev >> >>On big reason, I don't know how to do it? >> >>>- i.e. to set the tool to the rectangle tool and then after they finish >>>drawing to switch to the pointer tool? >> >>Not sure what you mean? Exactly what code do I use and which >>handler do I use? Oh and which object should I attach the script to? From sims at ezpzapps.com Wed Apr 6 03:59:29 2005 From: sims at ezpzapps.com (sims) Date: Wed, 6 Apr 2005 09:59:29 +0200 Subject: put the text of the target into tS Message-ID: I'm using the following is a card script to have Rev speak text, works fine unless the target is a Check Box btn. How can I add Check Box btns to the items that get read? on mouseEnter put the text of the target into tS if tS is not empty then revSpeak tS end if end mouseEnter tia sims From douez at wanadoo.fr Wed Apr 6 04:18:44 2005 From: douez at wanadoo.fr (thierry) Date: Wed, 6 Apr 2005 10:18:44 +0200 Subject: Seperate numbers from text In-Reply-To: <002101c53a54$17dd9a70$39fe1dd3@p4c2> References: <20050406004852.1FB4D930161@mail.runrev.com> <002101c53a54$17dd9a70$39fe1dd3@p4c2> Message-ID: <16510266993.20050406101844@wanadoo.fr> Hi, DR> Is there a way to seperate numbers from text in a string? DR> e.g "string69" to return 69 or "string69also" to return 69 try this : put "asdfsdfsdf765xcxccxcv123cvccv" into s -- erase all numbers put replaceText( s, "\d+", empty ) into r1 -- erase all text put replaceText( s, "[^\d]+", empty ) into r2 put "1st replace: " & r1 &cr& "2nd replace: " & r2 In the Doc, you can look at matchText, matchChunk, replace, replaceText, regular expression,.... HTH, thierry DR> Cheers Thanx........ From Cubist at aol.com Wed Apr 6 05:10:08 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Wed, 6 Apr 2005 05:10:08 EDT Subject: Rectangle Problem Message-ID: sez dburgun at dsl.pipex.com: >Given I have a "BoundingRect" and "UserRect", how can I check that >"UserRect" is inside "BoundingRect"? If it overlaps I want to either >clip the rectangle or stop it from moving outside of the BoundingRect >in the first place. Well, a rect is a four-number list, right? If UserRect is wholly contained within BoundingRect, the "left" value for UserRect will be equal to, or greater than, the "left" value for BoundingRect; similarly, the "down" value for UserRect will be less than, or equal to, the "down" value for BoundingRect; and so on. Thus, what you want can be done by a function like this: function ItsInside UserRect, BoundRect if item 1 of UserRect => item 1 of BoundRect then return false if item 2 of UserRect => item 2 of BoundRect then return false if item 3 of UserRect <= item 3 of BoundRect then return false if item 4 of UserRect <= item 4 of BoundRect then return false return true end ItsInside If you wanted to, you could turn this handler's code into a one-liner by combining the four comparisons, like so: on ItsInside Ru, Rb # mind the line-wrap! return ((item 1 of Ru => item 1 of Rb) and (item 2 of Ru => item 2 of Rb) and (item 3 of Ru <= item 3 of Rb) and (item 4 of Ru <= item 4 of Rb)) end ItsInside Hope this helps... From eric.chatonet at sosmartsoftware.com Wed Apr 6 05:16:56 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Apr 2005 11:16:56 +0200 Subject: put the text of the target into tS In-Reply-To: References: Message-ID: Hi Sims, Le 6 avr. 05, ? 09:59, sims a ?crit : > I'm using the following is a card script to have Rev speak text, works > fine unless the target is a Check Box btn. > > How can I add Check Box btns to the items that get read? > > on mouseEnter > put the text of the target into tS > if tS is not empty then > revSpeak tS > end if > end mouseEnter Here is a draft for managing sound tooltips (place it in the card script): local lAllowSoundTooltip ------------------------------------ on mouseEnter put true into lAllowSoundTooltip send "SayIt" to the target in the tooltipdelay millisecs -- ? end mouseEnter ------------------------------------ on mouseDown StopSayIt -- ? end mouseDown ------------------------------------ on mouseLeave StopSayIt -- ? end mouseLeave ------------------------------------ on mouseRelease StopSayIt -- ? end mouseRelease ------------------------------------ on SayIt local tS ----- if not lAllowSoundTooltip then exit SayIt put the mouseLoc into tLoc wait 100 milliseconds with messages if the mouseLoc = tLoc then switch case "field" is in the target put target into tS break default put the short name of the target into tS end switch put false into lAllowSoundTooltip revSpeak tS end if end SayIt ------------------------------------ on StopSayIt revStopSpeech put false into lAllowSoundTooltip end StopSayIt Far from perfect but can help :-) Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Wed Apr 6 05:35:57 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Apr 2005 11:35:57 +0200 Subject: [ann] vObject Package Pre-Release (vCard and iCalendar) In-Reply-To: <435dec66b697849ae4df2c18cf423b21@mac.com> References: <435dec66b697849ae4df2c18cf423b21@mac.com> Message-ID: <2e4fed2bdbaa6b4091ed369112104c07@sosmartsoftware.com> Hi andre, Great job :-) Clear and well documented. Thanks. Best, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From douez at wanadoo.fr Wed Apr 6 05:38:21 2005 From: douez at wanadoo.fr (thierry) Date: Wed, 6 Apr 2005 11:38:21 +0200 Subject: Rectangle Problem In-Reply-To: References: Message-ID: <869356395.20050406113821@wanadoo.fr> Hi, Are you aware of this rev function ( not command ) INTERSECT ! which returns true if 2 Rev objects overlap, false otherwise. if intersect( btn x, field y) then .... HTH, >>Given I have a "BoundingRect" and "UserRect", how can I check that >>"UserRect" is inside "BoundingRect"? If it overlaps I want to either >>clip the rectangle or stop it from moving outside of the BoundingRect >>in the first place. Best regards, thierry From ananelson at mac.com Wed Apr 6 06:04:54 2005 From: ananelson at mac.com (Ana Nelson) Date: Wed, 6 Apr 2005 11:04:54 +0100 Subject: Displaying Query Results in List Box Message-ID: <58d184a1eb78b4768c604b6e64c520ca@mac.com> Yes, thank you, this works and is probably sufficient. I would still be interested to know if there is a way to do this with a live record set. -Ana > Ana, > > Check out revDataFromQuery, which should allow you to grab large chunks > of the data from the database and then do whatever you want with it in > Revolution. > > Devin > > On Apr 5, 2005, at 10:39 AM, Ana Nelson wrote: > > > I would like to display multiple rows of a query in list box. If I > use > > the Database Query Builder and set the Database property of a list > > field to the relevant Query, then the results display somewhat like a > > spreadsheet which is what I want. > > > > I would like to know how to accomplish this manually. > > > > If I say: > > put revDatabaseColumnNamed(tRecordSet, "Surname") into field "Name > > List" > > > > then I just get a single record showing up in the list field. > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University From dburgun at dsl.pipex.com Wed Apr 6 06:16:29 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 6 Apr 2005 11:16:29 +0100 Subject: Rectangle Problem In-Reply-To: References: Message-ID: Ok, yes thanks, I was just about coming to the conclusion that this was the only way to achieve this. I looked at the "within" function/keyword which works on points, seems like it would be good to make this work with two objects, so you could write: if within("UserRect","BoundingRect") then ......................... end if I alsso looked at "intersect" which sort of does what I want, but doesn't make sure the whole Rect is within another Rect. Guess it works just as well as a defined function tho, thanks a lot. I am playing with this now, Thanks a lot Dave >sez dburgun at dsl.pipex.com: >>Given I have a "BoundingRect" and "UserRect", how can I check that >>"UserRect" is inside "BoundingRect"? If it overlaps I want to either >>clip the rectangle or stop it from moving outside of the BoundingRect >>in the first place. > Well, a rect is a four-number list, right? If UserRect is wholly contained >within BoundingRect, the "left" value for UserRect will be equal to, or >greater than, the "left" value for BoundingRect; similarly, the >"down" value for >UserRect will be less than, or equal to, the "down" value for >BoundingRect; and >so on. Thus, what you want can be done by a function like this: > >function ItsInside UserRect, BoundRect > if item 1 of UserRect => item 1 of BoundRect then return false > if item 2 of UserRect => item 2 of BoundRect then return false > if item 3 of UserRect <= item 3 of BoundRect then return false > if item 4 of UserRect <= item 4 of BoundRect then return false > return true >end ItsInside > > If you wanted to, you could turn this handler's code into a one-liner by >combining the four comparisons, like so: > >on ItsInside Ru, Rb > # mind the line-wrap! > return ((item 1 of Ru => item 1 of Rb) and (item 2 of Ru => item 2 of Rb) >and (item 3 of Ru <= item 3 of Rb) and (item 4 of Ru <= item 4 of Rb)) >end ItsInside > > Hope this helps... >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From Stgoldberg at aol.com Wed Apr 6 09:08:34 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Wed, 6 Apr 2005 09:08:34 EDT Subject: Which uses more memory - Import as Control vs Referenced Control? Message-ID: I am trying to decide whether or not to use "Import as Control" or "Referenced Control" for importing jpegs into a Revolution program. On the one hand, I'd like to avoid putting out a standalone program with a separate folder containing all of the pictures (Referenced Control), but I'd also like to conserve disc space for the standalone application. I understand that "Referenced Control" simply uses the same photo repeatedly without taking up extra memory for each time the photo is used. Does "Import as Control" take up additional memory each time the same photo is duplicated in the program? Thanks. Stephen Goldberg From jhurley at infostations.com Wed Apr 6 09:27:24 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 6 Apr 2005 06:27:24 -0700 Subject: Ann: Greenhouse effect on Venus In-Reply-To: <20050406080622.F0DE8930142@mail.runrev.com> References: <20050406080622.F0DE8930142@mail.runrev.com> Message-ID: It is worthwhile to examine what effect greenhouse gases have on the temperature of other planets besides Earth. It turns out that Venus is very hot, about 832 degrees Fahrenheit. But how much of this due to greenhouse gases and how much to the fact that it is closer to the Sun? To neutralize the proximity effect I have introduced a comparison standard, a Blackbody planet. In the stack below it is possible to place this imaginary planet anywhere in the (near) solar system and observe its temperature, the steady state temperature when the incident solar radiation absorbed by the black body is balanced by thermal radiation from the black body, something that is easy to compute. It doesn't make any predictions for our planet (Just the astronomical facts, ma'm), only that there is a frightening omen on the horizon. Possibly of some interested to the teachers on the list? To view this stack, run the following from the msg box: go url "http://home.infostations.net/jhurley/GreenhouseEffect.rev" Jim From fde101 at fjrhome.net Wed Apr 6 10:03:08 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 6 Apr 2005 10:03:08 -0400 Subject: Rectangle Problem In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Untested: if intersect(rect1, rect2) then put the rect of rect1 into bigrect put the rect of rect2 into smallrect if item 1 of smallrect < item 1 of bigrect then put item 1 of bigrect into item 1 of smallrect if item 2 of smallrect < item 2 of bigrect then put item 2 of bigrect into item 2 of smallrect if item 3 of smallrect > item 3 of bigrect then put item 3 of bigrect into item 3 of smallrect if item 4 of smallrect > item 4 of bigrect then put item 4 of bigrect into item 4 of smallrect set the rect of rect2 to smallrect end if On Apr 6, 2005, at 6:16 AM, David Burgun wrote: > Ok, yes thanks, I was just about coming to the conclusion that this > was the only way to achieve this. I looked at the "within" > function/keyword which works on points, seems like it would be good to > make this work with two objects, so you could write: > > if within("UserRect","BoundingRect") then > ......................... > end if > > > I alsso looked at "intersect" which sort of does what I want, but > doesn't make sure the whole Rect is within another Rect. > > Guess it works just as well as a defined function tho, thanks a lot. I > am playing with this now, > > Thanks a lot > Dave > >> sez dburgun at dsl.pipex.com: >>> Given I have a "BoundingRect" and "UserRect", how can I check that >>> "UserRect" is inside "BoundingRect"? If it overlaps I want to either >>> clip the rectangle or stop it from moving outside of the BoundingRect >>> in the first place. >> Well, a rect is a four-number list, right? If UserRect is wholly >> contained >> within BoundingRect, the "left" value for UserRect will be equal to, >> or >> greater than, the "left" value for BoundingRect; similarly, the >> "down" value for >> UserRect will be less than, or equal to, the "down" value for >> BoundingRect; and >> so on. Thus, what you want can be done by a function like this: >> >> function ItsInside UserRect, BoundRect >> if item 1 of UserRect => item 1 of BoundRect then return false >> if item 2 of UserRect => item 2 of BoundRect then return false >> if item 3 of UserRect <= item 3 of BoundRect then return false >> if item 4 of UserRect <= item 4 of BoundRect then return false >> return true >> end ItsInside >> >> If you wanted to, you could turn this handler's code into a >> one-liner by >> combining the four comparisons, like so: >> >> on ItsInside Ru, Rb >> # mind the line-wrap! >> return ((item 1 of Ru => item 1 of Rb) and (item 2 of Ru => item 2 >> of Rb) >> and (item 3 of Ru <= item 3 of Rb) and (item 4 of Ru <= item 4 of Rb)) >> end ItsInside >> >> Hope this helps... >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCU+wc7aqtWrR9cZoRAqW9AJ0W9B5xhtuzyZsdjJm5WEkaht3B/QCfaZ5q wnPAfSFbsap+n/gAZim8OM0= =LZAu -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From revolution at jaedworks.com Wed Apr 6 10:05:54 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 6 Apr 2005 07:05:54 -0700 Subject: Which uses more memory - Import as Control vs Referenced Control? In-Reply-To: References: Message-ID: At 9:08 AM -0400 4/6/05, Stgoldberg at aol.com wrote: >I am trying to decide whether or not to use "Import as Control" or >"Referenced Control" for importing jpegs into a Revolution program. >On the one hand, >I'd like to avoid putting out a standalone program with a separate folder >containing all of the pictures (Referenced Control), but I'd also like to >conserve disc space for the standalone application. I understand >that "Referenced >Control" simply uses the same photo repeatedly without taking up >extra memory for >each time the photo is used. Does "Import as Control" take up additional >memory each time the same photo is duplicated in the program? Thanks. Yes. If you're displaying the same image in more than one place, you may want to make it the icon of a button instead. (Check the icon property in the docs.) An icon can be of any size, and a transparent button doesn't display a button frame - only the icon image is visible. You can use the same image as the icon of multiple buttons, and the image is not duplicated on disk. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From fde101 at fjrhome.net Wed Apr 6 10:09:10 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 6 Apr 2005 10:09:10 -0400 Subject: Which uses more memory - Import as Control vs Referenced Control? In-Reply-To: References: Message-ID: <6054e6b037d8e72ab31f6f9209b1d3e6@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I believe it does use more memory; have you considered importing the photo once then setting the icon property of a transparent button set not to autohilite and to not show its name to the ID of that photo? On Apr 6, 2005, at 9:08 AM, Stgoldberg at aol.com wrote: > I am trying to decide whether or not to use "Import as Control" or > "Referenced Control" for importing jpegs into a Revolution program. > On the one hand, > I'd like to avoid putting out a standalone program with a separate > folder > containing all of the pictures (Referenced Control), but I'd also like > to > conserve disc space for the standalone application. I understand that > "Referenced > Control" simply uses the same photo repeatedly without taking up extra > memory for > each time the photo is used. Does "Import as Control" take up > additional > memory each time the same photo is duplicated in the program? Thanks. > Stephen Goldberg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCU+2H7aqtWrR9cZoRAm0CAJ9ZFuAhttmCKl9ed5Hm5UXRlRfnwQCdFPpQ PIK/Y9G138DoZDvswQgUI6E= =nMF7 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From alex at tweedly.net Wed Apr 6 07:11:06 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 06 Apr 2005 12:11:06 +0100 Subject: Rectangle Problem In-Reply-To: References: Message-ID: <4253C3CA.8050806@tweedly.net> David Burgun wrote: > Ok, yes thanks, I was just about coming to the conclusion that this > was the only way to achieve this. I looked at the "within" > function/keyword which works on points, seems like it would be good to > make this work with two objects, so you could write: > > if within("UserRect","BoundingRect") then > ......................... > end if > For a rectangle to be (wholly) within another, any two opposite corners must each be within it ... so function RectWithinRect UserRect, BoundRect return (item 1 to 2 of UserRect is within BoundRect) and (item 3 to 4 of UserRect is within BoundRect) end RectWithinRect or if you want to check for being within objects rather than any rectangle function RectWithinObj UserRect, Obj return within(item 1 to 2 of UserRect, Obj) and within(item 3 to 4 of UserRect, Obj) end RectWithinObj (BUT - beware that not all objects have rectangular interiors - so this can give wrong answers on some polygons, or partially transparent images, or .....) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.2 - Release Date: 05/04/2005 From aj445 at traverse.lib.mi.us Wed Apr 6 13:15:46 2005 From: aj445 at traverse.lib.mi.us (SB) Date: Wed, 6 Apr 2005 13:15:46 -0400 Subject: user-movable fields In-Reply-To: <20050406080619.6126F9301E5@mail.runrev.com> References: <20050406080619.6126F9301E5@mail.runrev.com> Message-ID: <84131989-A6BF-11D9-A515-000A95F0C744@leo.nmc.edu> Hi Pat and Signe, Hmmm, maybe I'm missing something, but the original code seems to work OK to move the fields either in the IDE or a standalone on OS X. Is this not true in Windows? I just had a big Windows problem in another area, so want to know these things early! thanks, Sandy > This doesn't quite work. You need: > > on mousedown thebutton > if thebutton is 3 then grab me > end mousedown > > See Jeanne's email and the docs for mousedown in an unlocked field > (right > click for Win, control click Mac) > > It probably seemed to work for you because you were using the pointer > tool > in the IDE. > > Pat > ....... > So, if you only want to let the user move the field, but not move or > copy > the text, would you use > > on dragStart > end dragStart > > on mousedown thebutton > if thebutton is 3 then grab me > end mousedown > > This works, but just wondered if this was the right way. > > Pat >> Surprise surprise... when you select the text in an unlocked field and >> drag it to another unlocked field, you move the text to this new >> field. >> When control-clicking and dragging you put a copy of the text into >> the new >> field. (This is on Windows.) There are always new things to learn! >> >> Regards >> Signe Marie Sanne From soapdog at mac.com Wed Apr 6 18:39:02 2005 From: soapdog at mac.com (Andre Garzia) Date: Wed, 6 Apr 2005 19:39:02 -0300 Subject: OT: is there something wrong with the list? Message-ID: Hi folks, is there something wrong with the list or it's just low traffic today, the last email I received today was at 2 PM, no email in the last 6 hours.... is this true? Andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From ptrendler at bigpond.com Wed Apr 6 19:05:32 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Thu, 7 Apr 2005 09:05:32 +1000 Subject: user-movable fields References: <20050406080619.6126F9301E5@mail.runrev.com> <84131989-A6BF-11D9-A515-000A95F0C744@leo.nmc.edu> Message-ID: <000501c53afd$27d7fb10$0100000a@super> Sandy, I hadn't built a windows standalone (win xp pro), but seeing your question, I've just tried it out. With just "grab me" in the mouseup: right click does move just the field. selecting text and left click drags the text. selecting text and control left click drags amd copies the text. With just "grab me" in the mouseup (if thebutton is 3 not needed) and on/end dragStart: right click moves only the field. text cannot be moved or copied with or without control key. HTH Pat ----- Original Message ----- From: "SB" To: Sent: Thursday, April 07, 2005 3:15 AM Subject: Re: user-movable fields > Hi Pat and Signe, > > Hmmm, maybe I'm missing something, but the original code seems to work OK > to move the fields either in the IDE or a standalone on OS X. > > Is this not true in Windows? I just had a big Windows problem in another > area, so want to know these things early! > > thanks, > > Sandy > >> This doesn't quite work. You need: >> >> on mousedown thebutton >> if thebutton is 3 then grab me >> end mousedown >> >> See Jeanne's email and the docs for mousedown in an unlocked field (right >> click for Win, control click Mac) >> >> It probably seemed to work for you because you were using the pointer >> tool >> in the IDE. >> >> Pat >> ....... > >> So, if you only want to let the user move the field, but not move or copy >> the text, would you use >> >> on dragStart >> end dragStart >> >> on mousedown thebutton >> if thebutton is 3 then grab me >> end mousedown >> >> This works, but just wondered if this was the right way. >> >> Pat > >>> Surprise surprise... when you select the text in an unlocked field and >>> drag it to another unlocked field, you move the text to this new field. >>> When control-clicking and dragging you put a copy of the text into the >>> new >>> field. (This is on Windows.) There are always new things to learn! >>> >>> Regards >>> Signe Marie Sanne > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wow at together.net Wed Apr 6 19:11:59 2005 From: wow at together.net (wow at together.net) Date: Wed, 6 Apr 2005 19:11:59 -0400 Subject: Pinging Message-ID: <114780-22005436231159568@M2W075.mail2web.com> Suggestions for a reliable, quick way to assess if a valid Internet connection is present (it's something my program will need to do every five minutes or so). Thanks. Richard Miller Imprinter Technologies -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From europe at ehug.info Wed Apr 6 19:36:20 2005 From: europe at ehug.info (Mark Schonewille) Date: Thu, 07 Apr 2005 01:36:20 +0200 Subject: Reading from data from socket does not work on MacOS X Message-ID: <42547274.6020304@ehug.info> Hello, I am trying to create a server that handles POST actions from web forms. Rather than using cgi, I read the socket and handle the request. If the request contains the data from the web form, it is written to a file. This works fine if the server is running MacOS 9, but not on MacOS X. The test script is fairly simple: on foo accept connections on port 8181 -- may test for result end foo on connected theIP thePort read from socket theIP with message "readSocket" end connected on readSocket theIP theMsg put theMsg end readSocket The webform starts with a tag such as:
There is nothing special about the remainder of the web form. Also, the web form sends data correctly from Mozilla, FireFox, and Netscape. I am quite sure that nothing is wrong with that. If the server runs on MacOS 8 or MacOS 9, I can submit the webform from within any browser. The data appear correctly in the message box (or in a field in a standalone, with slight adjustments to the script). However, if the server is running on MacOS X, I can see that a connection is made and Rev receives data, but the last line, which should contain the submitted data, is not included. Which might cause this? Did anyone try this before and have you experienced similar problems? Best regards, Mark -- eHUG coordinator mailto:europe at ehug.info fax: +1 501 633 94 04 http://home.wanadoo.nl/mark.sch http://www.ehug.info From briany at qldlearning.com Wed Apr 6 19:36:14 2005 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 6 Apr 2005 16:36:14 -0700 Subject: Pinging In-Reply-To: <114780-22005436231159568@M2W075.mail2web.com> References: <114780-22005436231159568@M2W075.mail2web.com> Message-ID: <533284f4d381a6c48379687367396e3c@qldlearning.com> Richard, These should help give you some ideas: http://www.google.com/search?q=internet+connection+site:lists.runrev.com - Brian > Suggestions for a reliable, quick way to assess if a valid Internet > connection is present (it's something my program will need to do every > five > minutes or so). > > Thanks. > Richard Miller > Imprinter Technologies > > -------------------------------------------------------------------- > mail2web - Check your email from the web at > http://mail2web.com/ . > > > _______________________________________________ > 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 Apr 6 19:42:33 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 7 Apr 2005 09:42:33 +1000 Subject: Table behavior In-Reply-To: References: Message-ID: > I have just started playing around with fields that have "table" > behavior. I was planning on writing a little spreadsheet program. > However, it appears that the closeField message is not sent to the > field when its behavior is like a Table. > > This can be demonstrated: create a new Table from the toolbox. Put > this in its script: > on closefield > answer "closefield was called" > end closefield > When the user edits a cell and then clicks on a different field, no > message is sent. > But when the "Cell Editing" property of the field is turned off, then > the message is sent as I expected. > > I'd like to know when the data in the field changes. But if closefield > doesn't work (and exitfield is sent only when data is not changed) > then what do you use? > I don't know the answer, but here is a technique for finding out. Open the Message Watcher from the Development menu, make sure the Suppress... list is not suppressing handlers not handled. Then type in a cell and click somewhere else and see if any messages are generated. Cheers, Sarah From tkuypers at pandora.be Wed Apr 6 19:52:40 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Thu, 7 Apr 2005 01:52:40 +0200 Subject: Error saving standalone Message-ID: <6dd082b33135c9ac222f4d2df764fb53@pandora.be> Hi gang, I get an error when saving a RR application as a standalone for OS-X: "There was an error while saving the standalone application". This is all the info RR shows me, so any advice is welcome.. I'm working on a Mac running OS-X 10.3.8, the application uses the "revGoURL" command, so the internet library is the only one selected in the Stand Alone Settings, but switching to the basic options for the required inclusions gives the same result. Any advice anyone? Regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From alex at tweedly.net Wed Apr 6 20:33:37 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 07 Apr 2005 01:33:37 +0100 Subject: Reading from data from socket does not work on MacOS X In-Reply-To: <42547274.6020304@ehug.info> References: <42547274.6020304@ehug.info> Message-ID: <42547FE1.4020907@tweedly.net> Mark Schonewille wrote: > Hello, > > I am trying to create a server that handles POST actions from web > forms. Rather than using cgi, I read the socket and handle the > request. If the request contains the data from the web form, it is > written to a file. This works fine if the server is running MacOS 9, > but not on MacOS X. > > The test script is fairly simple: > > on foo > accept connections on port 8181 > -- may test for result > end foo > Shouldn't that be accept connections on port 8181 with message "connected" (Though I have no clue why that would work on OS9 and not on OS X ..... I'm hoping you made a typo in copying) > on connected theIP thePort > read from socket theIP with message "readSocket" > end connected > > on readSocket theIP theMsg > put theMsg > end readSocket > > The webform starts with a tag such as: > > > > There is nothing special about the remainder of the web form. Also, > the web form sends data correctly from Mozilla, FireFox, and Netscape. > I am quite sure that nothing is wrong with that. > > If the server runs on MacOS 8 or MacOS 9, I can submit the webform > from within any browser. The data appear correctly in the message box > (or in a field in a standalone, with slight adjustments to the > script). However, if the server is running on MacOS X, I can see that > a connection is made and Rev receives data, but the last line, which > should contain the submitted data, is not included. Which might cause > this? Did anyone try this before and have you experienced similar > problems? > > Best regards, > > Mark > -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.2 - Release Date: 05/04/2005 From europe at ehug.info Wed Apr 6 20:47:17 2005 From: europe at ehug.info (Mark Schonewille) Date: Thu, 07 Apr 2005 02:47:17 +0200 Subject: Reading from data from socket does not work on MacOS X In-Reply-To: <42547FE1.4020907@tweedly.net> References: <42547274.6020304@ehug.info> <42547FE1.4020907@tweedly.net> Message-ID: <42548315.4080301@ehug.info> Alex, Obviously, you're right. I copied the connected and readSocket handler and added the foo handler later. Anyway, with or without message "connected", it doesn't work. Any ideas? Mark Alex Tweedly wrote: > Mark Schonewille wrote: > >> Hello, >> >> I am trying to create a server that handles POST actions from web >> forms. Rather than using cgi, I read the socket and handle the >> request. If the request contains the data from the web form, it is >> written to a file. This works fine if the server is running MacOS 9, >> but not on MacOS X. >> >> The test script is fairly simple: >> >> on foo >> accept connections on port 8181 >> -- may test for result >> end foo >> > Shouldn't that be > accept connections on port 8181 with message "connected" > > (Though I have no clue why that would work on OS9 and not on OS X ..... > I'm hoping you made a typo in copying) -- eHUG coordinator mailto:europe at ehug.info fax: +1 501 633 94 04 http://home.wanadoo.nl/mark.sch http://www.ehug.info From frank at backtalk.com Wed Apr 6 21:09:21 2005 From: frank at backtalk.com (Frank Leahy) Date: Thu, 7 Apr 2005 02:09:21 +0100 Subject: HTTP PUT problems Message-ID: <978a51febd4a3696459f7ea078b38123@backtalk.com> I'm trying to use HTTP PUT to put an image onto an image service, and can't seem to make it work. Has anyone had any success doing this? The call I'm using is put URL ("binfile:" & photoFile) into URL "http://www.foo.com/upload.php" Also, after the upload completes, this file returns status information but I can't figure out how to get the status data via a libUrl call. Thanks in advance! -- Frank Leahy Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From dvk at dvkconsult.com.au Wed Apr 6 21:15:13 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu, 7 Apr 2005 11:15:13 +1000 Subject: Ann: Greenhouse effect on Venus In-Reply-To: <20050406160033.92FA49300B0@mail.runrev.com> References: <20050406160033.92FA49300B0@mail.runrev.com> Message-ID: <89a5b6e7bd1bf6743c800dcf73b4cfe4@dvkconsult.com.au> On 07/04/2005, at 2:00, Jim Hurley wrote: > > It is worthwhile to examine what effect greenhouse gases have on the > temperature of other planets besides Earth. It turns out that Venus is > very hot, about 832 degrees Fahrenheit. But how much of this due to > greenhouse gases and how much to the fact that it is closer to the > Sun? > > To neutralize the proximity effect I have introduced a comparison > standard, a Blackbody planet. In the stack below it is possible to > place this imaginary planet anywhere in the (near) solar system and > observe its temperature, the steady state temperature when the > incident solar radiation absorbed by the black body is balanced by > thermal radiation from the black body, something that is easy to > compute. > snip Jim, So why is Mars colder than a blackbody planet in its orbit position? Just curious. thanks David > > Jim From briany at qldlearning.com Wed Apr 6 21:17:58 2005 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 6 Apr 2005 18:17:58 -0700 Subject: Reading from data from socket does not work on MacOS X In-Reply-To: <42548315.4080301@ehug.info> References: <42547274.6020304@ehug.info> <42547FE1.4020907@tweedly.net> <42548315.4080301@ehug.info> Message-ID: <805b6bb44dacc1b4bb37e1b0c29cb89e@qldlearning.com> Mark, What happens if you change: on connected theIP thePort read from socket theIP with message "readSocket" end connected To on connected theIP thePort read from socket theIP for 1 line with message "readSocket" end connected ? I believe there are some platform differences involving open-ended reads. You should be able to get the exact amount to read by doing measured reads, checking the content-length of the POST, and then reading for that number of bytes past the HTTP headers. Something like, in pseudo code: read until (cr&cr) -- end of the headers find content-length header -- should read "Content-Length: 387" or something like that read for the content length display content HTH, Brian > Alex, > > Obviously, you're right. I copied the connected and readSocket handler > and added the foo handler later. Anyway, with or without message > "connected", it doesn't work. Any ideas? > > Mark > > > Alex Tweedly wrote: >> Mark Schonewille wrote: >>> Hello, >>> >>> I am trying to create a server that handles POST actions from web >>> forms. Rather than using cgi, I read the socket and handle the >>> request. If the request contains the data from the web form, it is >>> written to a file. This works fine if the server is running MacOS 9, >>> but not on MacOS X. >>> >>> The test script is fairly simple: >>> >>> on foo >>> accept connections on port 8181 >>> -- may test for result >>> end foo >>> >> Shouldn't that be >> accept connections on port 8181 with message "connected" >> (Though I have no clue why that would work on OS9 and not on OS X >> ..... I'm hoping you made a typo in copying) > > -- > > eHUG coordinator > mailto:europe at ehug.info > fax: +1 501 633 94 04 > http://home.wanadoo.nl/mark.sch > http://www.ehug.info > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From monte at sweattechnologies.com Wed Apr 6 21:34:31 2005 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Apr 2005 11:04:31 +0930 Subject: Greenhouse effect on Venus References: <20050406080622.F0DE8930142@mail.runrev.com> Message-ID: <006401c53b11$f28bacd0$0402a8c0@Fred> Hey... this is cool ;-) (I'm here all week folds!) So I think this thing is telling me that the greenhouse gasses are heating up Venus by 700F? Ouch. Would be nice to have a converter on this thing so it can switch to Celsius mode. Cheers Monte > It is worthwhile to examine what effect greenhouse gases have on the > temperature of other planets besides Earth. It turns out that Venus is > very hot, about 832 degrees Fahrenheit. But how much of this due to > greenhouse gases and how much to the fact that it is closer to the Sun? > > To neutralize the proximity effect I have introduced a comparison > standard, a Blackbody planet. In the stack below it is possible to place > this imaginary planet anywhere in the (near) solar system and observe its > temperature, the steady state temperature when the incident solar > radiation absorbed by the black body is balanced by thermal radiation from > the black body, something that is easy to compute. > > It doesn't make any predictions for our planet (Just the astronomical > facts, ma'm), only that there is a frightening omen on the horizon. > > Possibly of some interested to the teachers on the list? > > To view this stack, run the following from the msg box: > > go url "http://home.infostations.net/jhurley/GreenhouseEffect.rev" > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dsquance at elkvalley.net Wed Apr 6 22:05:22 2005 From: dsquance at elkvalley.net (David Squance) Date: Wed, 6 Apr 2005 20:05:22 -0600 Subject: List archive In-Reply-To: References: <20050406080622.F0DE8930142@mail.runrev.com> Message-ID: How long is the time lag before messages are searchable in the archive? I know there has been a few postings re scrolling flds, and I've dumped the one I want to go back to. I though by entering (in quotes) a phrase from a reply to one of the messages, I could work back through the thread and find the one I want, but it comes up with nothing (or old messages, if the phrase isn't unique to a particular message.) Thanks, Dave From briany at qldlearning.com Wed Apr 6 22:13:22 2005 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 6 Apr 2005 19:13:22 -0700 Subject: List archive In-Reply-To: References: <20050406080622.F0DE8930142@mail.runrev.com> Message-ID: <6b561e9a565859df1847527d4c1ac16b@qldlearning.com> FWIW, I see results on Google which are less than a month old. If it's more recent than that, you could always try downloading the recent archive files from here: http://lists.runrev.com/pipermail/use-revolution/ HTH, Brian > How long is the time lag before messages are searchable in the > archive? I know there has been a few postings re scrolling flds, and > I've dumped the one I want to go back to. I though by entering (in > quotes) a phrase from a reply to one of the messages, I could work > back through the thread and find the one I want, but it comes up with > nothing (or old messages, if the phrase isn't unique to a particular > message.) > > Thanks, > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dsquance at elkvalley.net Wed Apr 6 22:31:36 2005 From: dsquance at elkvalley.net (David Squance) Date: Wed, 6 Apr 2005 20:31:36 -0600 Subject: List archive In-Reply-To: <6b561e9a565859df1847527d4c1ac16b@qldlearning.com> References: <20050406080622.F0DE8930142@mail.runrev.com> <6b561e9a565859df1847527d4c1ac16b@qldlearning.com> Message-ID: <7cdff3447a5ea2f521d11083c71a4902@elkvalley.net> Thanks. What I wanted was only a day or two old, but your suggestion worked fine. Dave On Apr 6, 2005, at 8:13 PM, Brian Yennie wrote: > FWIW, I see results on Google which are less than a month old. If it's > more recent than that, you could always try downloading the recent > archive files from here: > > http://lists.runrev.com/pipermail/use-revolution/ > > HTH, > > Brian > > >> How long is the time lag before messages are searchable in the >> archive? I know there has been a few postings re scrolling flds, and >> I've dumped the one I want to go back to. I though by entering (in >> quotes) a phrase from a reply to one of the messages, I could work >> back through the thread and find the one I want, but it comes up with >> nothing (or old messages, if the phrase isn't unique to a particular >> message.) >> >> Thanks, >> Dave >> >> _______________________________________________ >> 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 drothe at optusnet.com.au Wed Apr 6 23:57:36 2005 From: drothe at optusnet.com.au (Dwayne Rothe) Date: Thu, 7 Apr 2005 13:57:36 +1000 Subject: Seperate numbers from text References: <20050406160034.F0D1D9300B5@mail.runrev.com> Message-ID: <003001c53b25$f0312af0$34f6a4cb@p4c2> Thanx to all who replied, I think Jeannes answer is probably the simplest to use; repeat for each char thisChar in myString if thisChar is a number then put thisChar after numbersOnlyString end repeat I was using a similar script but was only returning 1 number, looking at the code above I now see I had put tNums into (instead of after) tNumString. Ooops! I NOW SEE THE LIGHT! Cheers and thanx........ D.Rothe From phillip at addaxbank.com Wed Apr 6 05:21:18 2005 From: phillip at addaxbank.com (phillip mukhwana) Date: Wed, 6 Apr 2005 12:21:18 +0300 Subject: Interfacing with MS Outlook Message-ID: Hi Danny, I am trying to do exactly what you mentioned...i.e. not try and re-invent the wheel yet take advantage of the rapid deployment capabilities of Revolution and combine these with existing functionality in Outlook. Have you had any joy on this since posting this? I have racked the internet looking for some code or external that I might use but have drawn only blanks so far. I would appreciate if you have found anything. Phillip DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual named. If you are not the intended recipient you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost,destroyed, arrive late or incomplete or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. From chipp at chipp.com Thu Apr 7 04:46:54 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 07 Apr 2005 01:46:54 -0700 Subject: HTTP PUT problems In-Reply-To: <978a51febd4a3696459f7ea078b38123@backtalk.com> References: <978a51febd4a3696459f7ea078b38123@backtalk.com> Message-ID: <4254F37E.1050609@chipp.com> I've always used libUrlMultipartFormData and posting it to a URL. -Chipp Frank Leahy wrote: > I'm trying to use HTTP PUT to put an image onto an image service, and > can't seem to make it work. Has anyone had any success doing this? From chipp at chipp.com Thu Apr 7 04:49:38 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 07 Apr 2005 01:49:38 -0700 Subject: Error saving standalone In-Reply-To: <6dd082b33135c9ac222f4d2df764fb53@pandora.be> References: <6dd082b33135c9ac222f4d2df764fb53@pandora.be> Message-ID: <4254F422.5060706@chipp.com> Ton, A couple of things you might try: 1) Make sure you select an empty folder with a name different from the app name 2) Make sure your stack ends in .rev --Chipp Ton Kuypers wrote: > Hi gang, > > I get an error when saving a RR application as a standalone for OS-X: > "There was an error while saving the standalone application". > > This is all the info RR shows me, so any advice is welcome.. From eric.chatonet at sosmartsoftware.com Thu Apr 7 05:19:24 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Apr 2005 11:19:24 +0200 Subject: Error saving standalone In-Reply-To: <6dd082b33135c9ac222f4d2df764fb53@pandora.be> References: <6dd082b33135c9ac222f4d2df764fb53@pandora.be> Message-ID: <27ba4d46444bdb06e3b7a9483e1b2470@sosmartsoftware.com> Hi Ton, Le 7 avr. 05, ? 01:52, Ton Kuypers a ?crit : > I get an error when saving a RR application as a standalone for OS-X: > "There was an error while saving the standalone application". As you seem to be a Belgian revolutionary :-) you might check your path names and remove accentuated vowels and other characters from them whose ASCII values are more than 122 (i.e. use only abcABC...xyzXYZ). That's a well-known issue in our latin countries ;-) Amicalement, Eric Chatonet. --------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch --------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Post 24, Bd de Port-Royal 75005 Paris Phone (33) 143 317 762 Mobile (33) 620 745 086 --------------------------------------------------------------- From tkuypers at pandora.be Thu Apr 7 06:45:16 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Thu, 7 Apr 2005 12:45:16 +0200 Subject: Error saving standalone In-Reply-To: <4254F422.5060706@chipp.com> References: <6dd082b33135c9ac222f4d2df764fb53@pandora.be> <4254F422.5060706@chipp.com> Message-ID: :-((( Somewhere in the process I seem to have removed the .rev extension... added it and now it works! :-))) Thanks! Regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 7-apr-05, at 10:49, Chipp Walters wrote: > Ton, > > A couple of things you might try: > > 1) Make sure you select an empty folder with a name different from the > app name > 2) Make sure your stack ends in .rev > > --Chipp > > Ton Kuypers wrote: >> Hi gang, >> I get an error when saving a RR application as a standalone for OS-X: >> "There was an error while saving the standalone application". >> This is all the info RR shows me, so any advice is welcome.. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Thu Apr 7 07:35:22 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 07 Apr 2005 12:35:22 +0100 Subject: Interfacing with MS Outlook In-Reply-To: References: Message-ID: <42551AFA.6010704@tweedly.net> phillip mukhwana wrote: >Hi Danny, > > > >I am trying to do exactly what you mentioned...i.e. not try and >re-invent the wheel yet take advantage of the rapid deployment >capabilities of Revolution and combine these with existing functionality >in Outlook. > > > >Have you had any joy on this since posting this? I have racked the >internet looking for some code or external that I might use but have >drawn only blanks so far. I would appreciate if you have found anything. > > You might take a look with Google at "python com outlook" There are a number of open source Python projects that use ActiveX to interface to Outlook, since they're open source, you might find enough info from them to help. Though you still have to interface to ActiveX - I don't know of (and quick search didn't find) any RR external to give access to ActiveX. Maybe you would need to use a Python (or other language) intermediary to get from RR to ActiveX. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.2 - Release Date: 05/04/2005 From wow at together.net Thu Apr 7 07:45:48 2005 From: wow at together.net (Richard Miller) Date: Thu, 7 Apr 2005 07:45:48 -0400 Subject: Controlling brightness In-Reply-To: <42551AFA.6010704@tweedly.net> References: <42551AFA.6010704@tweedly.net> Message-ID: <155551e31abe48c51fce6eb4bcf0d90d@together.net> Is there a shell or Apple script that can control the screen brightness under OS X (that could be used from within Rev)? Alternately, is there a way to generate an F1 or F2 function key message (as those keys adjust screen brightness on an IBook)? Thanks. Richard Miller Imprinter Technologies From alex at tweedly.net Thu Apr 7 08:23:12 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 07 Apr 2005 13:23:12 +0100 Subject: Intercepting shutdown attempts Message-ID: <42552630.9090908@tweedly.net> I have an app that needs to save some data before the app quits. When the users quits from the menu (or shortcut), it's easy - but I can't seem to find out if they quit by clicking the 'close' ("X") box in the window decorations. I read about "shutdown" and "shutdownrequest" messages in the docs - so I added handlers for those to the stack's script - but they don't seem to be invoked. The stack script now looks like on shutdown answer "shutdown" end shutdown on shutdownrequest answer "shutdownrequest" end shutdownrequest When I quit via the menu (which uses the "quit" command), it calls the shutdownrequest handler - but not when I click on the "close" ("X") icon. Am I missing something obvious here ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.2 - Release Date: 05/04/2005 From ptrendler at bigpond.com Thu Apr 7 09:06:48 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Thu, 7 Apr 2005 23:06:48 +1000 Subject: Intercepting shutdown attempts References: <42552630.9090908@tweedly.net> Message-ID: <007101c53b72$aae03ca0$0100000a@super> on closestackrequest works for me. Pat ----- Original Message ----- From: "Alex Tweedly" To: "How to use Revolution" Sent: Thursday, April 07, 2005 10:23 PM Subject: Intercepting shutdown attempts > > I have an app that needs to save some data before the app quits. > > When the users quits from the menu (or shortcut), it's easy - but I > can't seem to find out if they quit by clicking the 'close' ("X") box in > the window decorations. I read about "shutdown" and "shutdownrequest" > messages in the docs - so I added handlers for those to the stack's > script - but they don't seem to be invoked. > > The stack script now looks like > > on shutdown > answer "shutdown" > end shutdown > on shutdownrequest > answer "shutdownrequest" > end shutdownrequest > > When I quit via the menu (which uses the "quit" command), it calls the > shutdownrequest handler - but not when I click on the "close" ("X") icon. > > Am I missing something obvious here ? > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.2 - Release Date: 05/04/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From thierry.arbellot at wanadoo.fr Thu Apr 7 09:41:36 2005 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Thu, 7 Apr 2005 15:41:36 +0200 Subject: Controlling brightness In-Reply-To: <155551e31abe48c51fce6eb4bcf0d90d@together.net> References: <42551AFA.6010704@tweedly.net> <155551e31abe48c51fce6eb4bcf0d90d@together.net> Message-ID: <0b16d343c9349b6b5f1a56c9ed3112c9@wanadoo.fr> Hi, A good place for this kind of question is the site MacScripter I found this on this site: http://bbs.applescript.net/viewtopic.php?t=3899&highlight=brightness Hope it helps Thierry Le 2005, Apr 7, , ? 13:45, Richard Miller a ?crit : > Is there a shell or Apple script that can control the screen > brightness under OS X (that could be used from within Rev)? > Alternately, is there a way to generate an F1 or F2 function key > message (as those keys adjust screen brightness on an IBook)? > > Thanks. > Richard Miller > Imprinter Technologies > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Apr 7 09:49:50 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 Apr 2005 08:49:50 -0500 Subject: Interfacing with MS Outlook In-Reply-To: Message-ID: On 4/6/05 4:21 AM, "phillip mukhwana" wrote: > I am trying to do exactly what you mentioned...i.e. not try and > re-invent the wheel yet take advantage of the rapid deployment > capabilities of Revolution and combine these with existing functionality > in Outlook. What are you trying to do with Outlook from Revolution? And we're talking Outlook not Outlook Express here, right? The reason I ask is that there's a lot that can be done with VB Script from within Rev, and VB Script can drive Outlook, so if you post what it is you're trying to do, that would get us closer to a solution. Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From bnz2 at cdc.gov Thu Apr 7 09:35:38 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 7 Apr 2005 09:35:38 -0400 Subject: Interfacing with MS Outlook Message-ID: <64878EF567131D4596246171F75FD4A974458A@m-epo-1.epo.cdc.gov> This may be a bit off from what you guys want... But there is a way to generate an e-mail in outlook from RR. The basic idea is to use RR to create a document with all the needed MS-Word scripting so that, when you use a shell command to launch the document, it automatically opens up as an e-mail in Outlook. These e-mails include an embedded picture and quite a few html-style links for navigation within the document. I do this for work, and it works great. However, it was rather tricky to set up, and (for reasons I do not fully comprehend) there are some computers in a different department at work where it does not work - probably something to do with the MS Word email envelope not being compatible with the version of MS Word on that computer. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Alex Tweedly Sent: Thursday, April 07, 2005 7:35 AM To: How to use Revolution Subject: Re: Interfacing with MS Outlook phillip mukhwana wrote: >Hi Danny, > > > >I am trying to do exactly what you mentioned...i.e. not try and >re-invent the wheel yet take advantage of the rapid deployment >capabilities of Revolution and combine these with existing functionality >in Outlook. > > > >Have you had any joy on this since posting this? I have racked the >internet looking for some code or external that I might use but have >drawn only blanks so far. I would appreciate if you have found anything. > > You might take a look with Google at "python com outlook" There are a number of open source Python projects that use ActiveX to interface to Outlook, since they're open source, you might find enough info from them to help. Though you still have to interface to ActiveX - I don't know of (and quick search didn't find) any RR external to give access to ActiveX. Maybe you would need to use a Python (or other language) intermediary to get from RR to ActiveX. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.2 - Release Date: 05/04/2005 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Thu Apr 7 11:21:23 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Apr 2005 10:21:23 -0500 Subject: Error saving standalone In-Reply-To: References: <6dd082b33135c9ac222f4d2df764fb53@pandora.be> <4254F422.5060706@chipp.com> Message-ID: <42554FF3.4050000@hyperactivesw.com> On 4/7/05 5:45 AM, Ton Kuypers wrote: > :-((( > > Somewhere in the process I seem to have removed the .rev extension... > added it and now it works! I have entered a bug report on this. I think it is an unnecessary requirement. Almost no Mac OS 9 users include extensions in their file names, and because the default OS X setting is to hide extensions, many OS X users don't add them either. I can't see any reason why an extension should be a requirement for building a standalone, especially as there are several very easy, alternate ways to check whether a file is a stack or not. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Thu Apr 7 11:38:54 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 7 Apr 2005 12:38:54 -0300 Subject: [ann] vObject Package Pre-Release (vCard and iCalendar) In-Reply-To: References: <435dec66b697849ae4df2c18cf423b21@mac.com> Message-ID: <4bda9888f843cf0d3d50f719d5d8e9e5@mac.com> Folks, anyone here want to give me any feedback? I am finishing some more docs and examples which I'll post by friday Andre > Andre, > > Thanks for this. Your timing is impeccable. I was just about to tackle > vCard import/export myself for a project and you saved me time. > > Thank you, > Bill Vlahos > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From alex at tweedly.net Thu Apr 7 12:33:59 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 07 Apr 2005 17:33:59 +0100 Subject: [ANN] Another solitaire game - TriPeaks. Message-ID: <425560F7.2060801@tweedly.net> I've put a version of TriPeaks (the Patience / Solitaire game that used to come with Windows) up on RevOnline and on my web site ( www.tweedly.net/RunRev ) The RevOnline version is unable to store scores and preferences between sessions (I use a separate preferences stack to store these so that they can be used from a standalone, and RevOnline really doesn't allow for separate stacks. Neither does Dreamcard Player.) The full version from the web site will store your preferences (speed, sounds, etc.) and scores between sessions. And it will even update them if you try to quit - thanks Pat for the tip on closestackrequest !!) There's a Windows standalone on the website, but not Mac or Unix since I can't test those. If some kind Mac and/or Unix user would volunteer to test them, I'd like to do the other versions too. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.2 - Release Date: 05/04/2005 From alex at tweedly.net Thu Apr 7 12:54:03 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 07 Apr 2005 17:54:03 +0100 Subject: [ann] vObject Package Pre-Release (vCard and iCalendar) In-Reply-To: <4bda9888f843cf0d3d50f719d5d8e9e5@mac.com> References: <435dec66b697849ae4df2c18cf423b21@mac.com> <4bda9888f843cf0d3d50f719d5d8e9e5@mac.com> Message-ID: <425565AB.8080401@tweedly.net> Andre Garzia wrote: > > Folks, > > anyone here want to give me any feedback? I am finishing some more > docs and examples which I'll post by friday I've just started looking at it now - will give you more feedback by tonight ... But I like colorized scripts, so first thing I did was look at the colorize problem. It's not caused by the complexity of the script - it seems to be just a result of your commenting style. I'll check into this some more and enter a BZ if I can confirm it completely, but I am already 95% sure that colorize can't deal with a block comment that finishes with the line **/ You have some block comments like /* * some text **/ Just changing the last line to * */ (i.e. adding a space between the two asterisks) prevents the colorize problem (in my small sample cases). I did a find/replace "**/" to "* */" on your lib script, and it now colorizes OK. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.2 - Release Date: 05/04/2005 From jhurley at infostations.com Thu Apr 7 13:12:38 2005 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 7 Apr 2005 10:12:38 -0700 Subject: Ann: Greenhouse effect on Venus In-Reply-To: <20050407090138.C76CC9300BB@mail.runrev.com> References: <20050407090138.C76CC9300BB@mail.runrev.com> Message-ID: > >Message: 13 >Date: Thu, 7 Apr 2005 11:15:13 +1000 >From: David Vaughan >Subject: Re: Ann: Greenhouse effect on Venus >To: use-revolution at lists.runrev.com >Message-ID: <89a5b6e7bd1bf6743c800dcf73b4cfe4 at dvkconsult.com.au> >Content-Type: text/plain; charset=US-ASCII; format=flowed > > > > >snip > >Jim, > >So why is Mars colder than a blackbody planet in its orbit position? >Just curious. > >thanks >David > David, Because Mars is not black, it will absorb only some on the incident solar radiation and reflect it reflects the rest, while the Black Body planet absorbs all of the solar radiation and so is hotter. (This assumes that Mars does no trapping.) The tricky thing to understand is why Venus, which only absorbs some of the solar radiation, is hotter than a black body which absorbs all of the solar radiation. The answer is that a good absorber is also a good radiator. The black body absorbs more heat from the Sun than Venus, but it also radiates more of it energy than Venus. Venus is not as good an absorber, but it is also a poor radiator because it *traps* the solar radiation through the greenhouse effect and that energy which is trapped is not radiated. Hope this explains it. Jim From jhurley at infostations.com Thu Apr 7 13:18:11 2005 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 7 Apr 2005 10:18:11 -0700 Subject: Greenhouse effect on Venus In-Reply-To: <20050407090138.C76CC9300BB@mail.runrev.com> References: <20050407090138.C76CC9300BB@mail.runrev.com> Message-ID: > >Message: 15 >Date: Thu, 7 Apr 2005 11:04:31 +0930 >From: "Monte Goulding" >Subject: Re: Greenhouse effect on Venus >To: "How to use Revolution" >Message-ID: <006401c53b11$f28bacd0$0402a8c0 at Fred> >Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=response > >Hey... this is cool ;-) (I'm here all week folds!) > >So I think this thing is telling me that the greenhouse gasses are heating >up Venus by 700F? Ouch. > >Would be nice to have a converter on this thing so it can switch to Celsius >mode. > >Cheers > >Monte Monte, How provincial of me. I have added a Celsius/Fahrenheit option. Try go url "http://home.infostations.net/jhurley/GreenhouseEffect2.rev" And look for the preferences under the Help menu. Jim From JUAN.C.VEIGA at saic.com Thu Apr 7 13:30:06 2005 From: JUAN.C.VEIGA at saic.com (Veiga, Juan C.) Date: Thu, 7 Apr 2005 13:30:06 -0400 Subject: Looking for RunRev Scripting Developer (US) Message-ID: <6A47CB4A48D1EA49A6F7AB618490D64920BA6B94@mcl-its-exs03.mail.saic.com> Contract Opportunity I'm heading up a project to develop a prototype application and need a RunRev developer experienced in database scripting. The goal is to use RunRev to create a unified product experience. RunRev needs to be integrated with an Oracle database (and other applications). The project is a full-time assignment and will last 4-6 weeks. Ideally, would like the developer to work on-site, but will consider an off-site person. The project is located in the Tysons Corner, Virginia area. For more details, please call me on 703-693-7599 or reply to juan.c.veiga at saic.com Thanks! From frank at backtalk.com Thu Apr 7 15:11:48 2005 From: frank at backtalk.com (Frank Leahy) Date: Thu, 7 Apr 2005 20:11:48 +0100 Subject: reading data from socket after a PUT or POST? Message-ID: <1d2b65e952ceedd7987537a7b34be151@backtalk.com> Does anyone know how to read data on a socket after using libUrl to do a PUT or POST? I'm uploading an image to a web server (successfully!), and the web server sends a response back after the PUT or POST completes...but I can't figure out how to either 1) get libUrl to read the response and return the data, or 2) read from the socket myself before it gets closed by the web server. Anyone know how to do this? Thanks in advance, -- Frank Leahy Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From jbv.silences at Club-Internet.fr Thu Apr 7 15:57:59 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 07 Apr 2005 21:57:59 +0200 Subject: reading data from socket after a PUT or POST? References: <1d2b65e952ceedd7987537a7b34be151@backtalk.com> Message-ID: <425590C4.E6CB5DEB@Club-Internet.fr> Frank , > Does anyone know how to read data on a socket after using libUrl to do > a PUT or POST? > > I'm uploading an image to a web server (successfully!), and the web > server sends a response back after the PUT or POST completes...but I > can't figure out how to either 1) get libUrl to read the response and > return the data, it's quite simple : the response from the server is in the "it" variable after the POST; for example : get "" post "myValue" to URL "http://www.myDomain.com/cgi-bin/myScript.cgi" wait until it is not "" if it contains "OK" then do something else end if There are probably more elegant ways to code it, but it works. And you get the idea. Hth, JB From revolution at derbrill.de Thu Apr 7 16:57:06 2005 From: revolution at derbrill.de (Malte Brill) Date: Thu, 7 Apr 2005 22:57:06 +0200 Subject: Disable screensaver? In-Reply-To: <20050407160018.CCA6F9300ED@mail.runrev.com> Message-ID: <99AA371C-A7A7-11D9-B8FF-0030659A795C@derbrill.de> Hi list, has anyone an idea how to disable screensavers on Win and Mac by script? I need to quickly finish a small presentation that updates the screen permanently and the screensaver might get in the way. Can I do this somehow? Thanks, Malte From gregory.lypny at videotron.ca Thu Apr 7 17:07:13 2005 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 07 Apr 2005 17:07:13 -0400 Subject: Stripping away HTML Message-ID: Hello Everyone, Is there a way in Revolution to strip away the HTML code from a web page, leaving just the content in plain text? Greg From eric.chatonet at sosmartsoftware.com Thu Apr 7 17:10:26 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Apr 2005 23:10:26 +0200 Subject: Stripping away HTML In-Reply-To: References: Message-ID: <9b9c8a94fdb041e35fca50d6733e846a@sosmartsoftware.com> Hi Gregory, Put your web page into a field and get the text of the field: put url "xyz" into fld "MyHiddenField" put fld "MyHiddenField" into tPlainText Le 7 avr. 05, ? 23:07, Gregory Lypny a ?crit : > Hello Everyone, > > Is there a way in Revolution to strip away the HTML code from a web > page, leaving just the content in plain text? > > Greg > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Best regards, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bnz2 at cdc.gov Thu Apr 7 17:10:33 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 7 Apr 2005 17:10:33 -0400 Subject: Stripping away HTML Message-ID: <64878EF567131D4596246171F75FD4A946A0FA@m-epo-1.epo.cdc.gov> Here is one way that should work - don't know if there might be a more efficient way. Set the htmltext of field "myfield" to URL Put field "myfield" into field "myotherfield" -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gregory Lypny Sent: Thursday, April 07, 2005 5:07 PM To: Revolution Subject: Stripping away HTML Hello Everyone, Is there a way in Revolution to strip away the HTML code from a web page, leaving just the content in plain text? Greg _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From ps1 at softseven.org Thu Apr 7 22:08:40 2005 From: ps1 at softseven.org (Paul Salyers) Date: Thu, 07 Apr 2005 21:08:40 -0500 Subject: Disable screensaver? In-Reply-To: <99AA371C-A7A7-11D9-B8FF-0030659A795C@derbrill.de> References: <20050407160018.CCA6F9300ED@mail.runrev.com> <99AA371C-A7A7-11D9-B8FF-0030659A795C@derbrill.de> Message-ID: <6.1.1.1.2.20050407210601.025c8f18@softseven.org> At 03:57 PM 4/7/2005, you wrote: >Hi list, > >has anyone an idea how to disable screensavers on Win and Mac by script? I >need to quickly finish a small presentation that updates the screen >permanently and the screensaver might get in the way. Can I do this somehow? > >Thanks, > >Malte Dear Malte In the Windows right mouse click the screen choose properties, then [Screen Savers] then none then OK I do not know about the Mac. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From chipp at chipp.com Thu Apr 7 22:16:32 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 07 Apr 2005 21:16:32 -0500 Subject: Disable screensaver? In-Reply-To: <6.1.1.1.2.20050407210601.025c8f18@softseven.org> References: <20050407160018.CCA6F9300ED@mail.runrev.com> <99AA371C-A7A7-11D9-B8FF-0030659A795C@derbrill.de> <6.1.1.1.2.20050407210601.025c8f18@softseven.org> Message-ID: <4255E980.3060103@chipp.com> Paul, I think Malte said "by script." Malte, There's a .vbs script at: http://www.kellys-korner-xp.com/xp_tweaks.htm Perhaps that will help w/Windows. -Chipp Paul Salyers wrote: > At 03:57 PM 4/7/2005, you wrote: > >> Hi list, >> >> has anyone an idea how to disable screensavers on Win and Mac by >> script? I need to quickly finish a small presentation that updates the >> screen permanently and the screensaver might get in the way. Can I do >> this somehow? >> >> Thanks, >> >> Malte From harrison at all-auctions.com Thu Apr 7 23:01:45 2005 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 7 Apr 2005 23:01:45 -0400 Subject: Greenhouse effect on Venus In-Reply-To: References: <20050407090138.C76CC9300BB@mail.runrev.com> Message-ID: > ... > > go url "http://home.infostations.net/jhurley/GreenhouseEffect2.rev" > > And look for the preferences under the Help menu. > > Jim > Jim, Why do I get a page full of code and garbage when I go to this website? Is this code suppose to execute as a website stack or a downloadable one? If downloadable perhaps it needs to be compressed first as a zip file? Rick Harrison From katir at hindu.org Thu Apr 7 23:35:01 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 7 Apr 2005 17:35:01 -1000 Subject: OT: Andre email me Message-ID: <89194ce5c9bf9401153fe3020365ba6a@hindu.org> To list: excuse me for using this list like this, but I can't fly to Brazil just now... :-) Aloha... Andre: I replied to your last email but you haven't responded, so I think your "paranoid spam filter" may have eaten it again? Sivakatirswami From scott at tactilemedia.com Thu Apr 7 23:35:26 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 07 Apr 2005 20:35:26 -0700 Subject: Greenhouse effect on Venus In-Reply-To: Message-ID: Recently, Rick Harrison wrote: >> go url "http://home.infostations.net/jhurley/GreenhouseEffect2.rev" >> >> And look for the preferences under the Help menu. >> >> Jim >> > > Jim, > > Why do I get a page full of code and garbage when I go to this website? > > Is this code suppose to execute as a website stack or a downloadable > one? This is not a Web URL but rather a line of code to be executed in your message box, quotes and all: go url "http://home.infostations.net/jhurley/GreenhouseEffect2.rev" Online stacks are a wonderful way to share. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ptrendler at bigpond.com Fri Apr 8 00:16:52 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Fri, 8 Apr 2005 14:16:52 +1000 Subject: Greenhouse effect on Venus References: Message-ID: <006001c53bf1$cf4240f0$0100000a@super> You may also see the script editor 'cos Jim forgot to clear the breakpoints. Just go to the development menu and clear the breakpoints. If you then get script errors just close them and do a save. You may need to "close and remove from memory" and then reopen. Pat ---- Original Message ----- From: "Scott Rossi" To: "How to use Revolution" Sent: Friday, April 08, 2005 1:35 PM Subject: Re: Greenhouse effect on Venus > Recently, Rick Harrison wrote: > >>> go url "http://home.infostations.net/jhurley/GreenhouseEffect2.rev" >>> >>> And look for the preferences under the Help menu. >>> >>> Jim >>> >> >> Jim, >> >> Why do I get a page full of code and garbage when I go to this website? >> >> Is this code suppose to execute as a website stack or a downloadable >> one? > > This is not a Web URL but rather a line of code to be executed in your > message box, quotes and all: > > go url "http://home.infostations.net/jhurley/GreenhouseEffect2.rev" > > Online stacks are a wonderful way to share. > > 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 briany at qldlearning.com Fri Apr 8 00:29:23 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 7 Apr 2005 21:29:23 -0700 Subject: Greenhouse effect on Venus In-Reply-To: References: Message-ID: <38848d37ba263b7fc6c57ca9f5d79653@qldlearning.com> I wonder, since this is a common (and understandable) mistake for those not familiar... Perhaps someone could craft a simple CGI script (in Rev if they like, but Perl or PHP might make it easier on hosts) that would check the user-agent and either: a) If the connection comes from a browser, redirect to a page describing how "go url" works in Rev OR b) If the request comes from Rev, just send the stack Various other things might grow off of it- the ability to offer scripts compressed, download "launcher" stacks from the web page, etc. I'm not decided on how useful it would or wouldn't be. Anyone? - Brian > This is not a Web URL but rather a line of code to be executed in your > message box, quotes and all: > > go url "http://home.infostations.net/jhurley/GreenhouseEffect2.rev" > > Online stacks are a wonderful way to share. From Signe.Sanne at roman.uib.no Fri Apr 8 05:12:53 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Fri, 08 Apr 2005 11:12:53 +0200 Subject: OT: Key to RevOnLine Message-ID: <42564B15.2040004@roman.uib.no> When in RevOnLine I sent my email address in order to get the key. The confirmation message said it would be effectuated within 24 hours, but after 2 weeks still no response. I even sent it to Support. Hope someone in Scotland reads this. Thanks in advance. Signe Marie Sanne From rbarber at yhb.att.ne.jp Fri Apr 8 08:34:37 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Fri, 8 Apr 2005 07:34:37 -0500 Subject: xcmd for OS 9 to X In-Reply-To: <7c347cbfc088b37c33e278706e5a5834@qldlearning.com> References: <4243C161.4010006@chipp.com> <7c347cbfc088b37c33e278706e5a5834@qldlearning.com> Message-ID: <3dae1ed302c9618e19a80fe10f9c3ebc@yhb.att.ne.jp> Hi, I just dug out a stack that uses an xcmd made a couple of years ago. It worked on OS 9, which is what I was using at the time, but doesn't want to work on OS X. Does it need to be recompiled? or changed in another way? I tried setting the externals of the stack to "./nameofexternal" where nameofexternal is what ResEdit reports as the name of the code resource, but RR reports that it can't find the handler. Thanks Ron From yvescoppe at skynet.be Fri Apr 8 08:37:19 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 8 Apr 2005 14:37:19 +0200 Subject: Mac OS X type/creator Message-ID: <2825612bcb19108e84a322f6f00ca40f@skynet.be> Hi, can someone give the filtetype of a "preview" jpg file on Mac OS X ? thanks. Greetings. Yves COPPE yvescoppe at skynet.be From klaus at major-k.de Fri Apr 8 08:44:34 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 8 Apr 2005 14:44:34 +0200 Subject: Mac OS X type/creator In-Reply-To: <2825612bcb19108e84a322f6f00ca40f@skynet.be> References: <2825612bcb19108e84a322f6f00ca40f@skynet.be> Message-ID: <3c89ca1dd199c84ccfee929f1e8877f6@major-k.de> Bon jour, > Hi, > can someone give the filtetype of a "preview" jpg file on Mac OS X ? prvwJPEG Please use "the long files" function to check for other needed filetypes ;-) > thanks. You're welcome! > Greetings. > > Yves COPPE > yvescoppe at skynet.be Have a nice weekend Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Fri Apr 8 08:46:54 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 8 Apr 2005 14:46:54 +0200 Subject: xcmd for OS 9 to X In-Reply-To: <3dae1ed302c9618e19a80fe10f9c3ebc@yhb.att.ne.jp> References: <4243C161.4010006@chipp.com> <7c347cbfc088b37c33e278706e5a5834@qldlearning.com> <3dae1ed302c9618e19a80fe10f9c3ebc@yhb.att.ne.jp> Message-ID: Hi Ron, > Hi, > > I just dug out a stack that uses an xcmd made a couple of years ago. > It worked on OS 9, which is what I was using at the time, but doesn't > want to work on OS X. > Does it need to be recompiled? or changed in another way? The first one, since externals on OS X have to be in the "bundle" format... > I tried setting the externals of the stack to "./nameofexternal" where > nameofexternal > is what ResEdit reports as the name of the code resource, but RR > reports that it can't find the handler. Rev will see through these kind of tricks immediately ;-) > Thanks > Ron Regards Klaus Major klaus at major-k.de http://www.major-k.de From rbarber at yhb.att.ne.jp Fri Apr 8 09:04:33 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Fri, 8 Apr 2005 08:04:33 -0500 Subject: xcmd for OS 9 to X In-Reply-To: References: <4243C161.4010006@chipp.com> <7c347cbfc088b37c33e278706e5a5834@qldlearning.com> <3dae1ed302c9618e19a80fe10f9c3ebc@yhb.att.ne.jp> Message-ID: <623025fa3ca2f9e2003267e7e09758f2@yhb.att.ne.jp> Thanks Klaus, I was afraid of that. Next question: Is there anyone willing to re-compile this small xternal for me for OS X? Thanks Ron On Apr 8, 2005, at 7:46 AM, Klaus Major wrote: > Hi Ron, > >> Hi, >> >> I just dug out a stack that uses an xcmd made a couple of years ago. >> It worked on OS 9, which is what I was using at the time, but doesn't >> want to work on OS X. >> Does it need to be recompiled? or changed in another way? > > The first one, since externals on OS X have to be in the "bundle" > format... > >> I tried setting the externals of the stack to "./nameofexternal" >> where nameofexternal >> is what ResEdit reports as the name of the code resource, but RR >> reports that it can't find the handler. > > Rev will see through these kind of tricks immediately ;-) > >> Thanks >> Ron > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ananelson at mac.com Fri Apr 8 09:20:20 2005 From: ananelson at mac.com (Ana Nelson) Date: Fri, 8 Apr 2005 14:20:20 +0100 Subject: Can't set font color of htmltext in a list field Message-ID: I have text such as the following which I put into the htmltext of a list field:

Mary Bloggs

Joe Bloggs>

This works fine, but I can't seem to change the color of the text. I have tried:

John Doe

and several variations, none of which seem to produce any result. The "John Doe" is displayed, and if I make the line bold or italic that shows up correctly, but color (or any other font attribute) doesn't work. When I paste the lines of text into Dreamweaver they show the correct color. I want to be able to set the colour of individual lines of text, not the entire block of text. From yvescoppe at skynet.be Fri Apr 8 10:17:45 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 8 Apr 2005 16:17:45 +0200 Subject: Mac OS X type/creator In-Reply-To: <3c89ca1dd199c84ccfee929f1e8877f6@major-k.de> References: <2825612bcb19108e84a322f6f00ca40f@skynet.be> <3c89ca1dd199c84ccfee929f1e8877f6@major-k.de> Message-ID: Le 8 avr. 05, ? 14:44, Klaus Major a ?crit : > Bon jour, > >> Hi, >> can someone give the filtetype of a "preview" jpg file on Mac OS X ? > > prvwJPEG > Thank you Klaus Greetings. Yves COPPE yvescoppe at skynet.be From revdan at danshafer.com Fri Apr 8 11:25:38 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 8 Apr 2005 08:25:38 -0700 Subject: RevCon West Ballots Mailed Message-ID: <30583f6adb44e11947add049b8d5fb86@danshafer.com> If you are one of the wise and intelligent folks who have already signed up for the $70 price savings for the upcoming RevCon West conference, check your email box. You should have received this morning an email from me listing the candidate topics for inclusion in the conference. Chipp and I really want your feedback on these topics. Only Early Bird registrants will have this opportunity. If you signed up and don't receive this email today, please let me know and I'll straighten the situation out immediately. Now, if you're reading this and you INTEND to sign up for Early Bird registration to save $70 and get to help shape the conference, check your calendar. You have exactly one week to get your registration in. The June 17-18 conference in beautiful coastal Monterey, California, will be information-packed and fun-filled. You're not going to want to miss it. Trust me on this. Details are at http://www.altuit.com/webs/altuit/RevConWest. You can sign up with PayPal right on the site. Looking forward to seeing lots of Revolutionaries in June in Monterey! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From ps1 at softseven.org Fri Apr 8 11:28:12 2005 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 08 Apr 2005 10:28:12 -0500 Subject: Disable screensaver? In-Reply-To: <99AA371C-A7A7-11D9-B8FF-0030659A795C@derbrill.de> References: <20050407160018.CCA6F9300ED@mail.runrev.com> <99AA371C-A7A7-11D9-B8FF-0030659A795C@derbrill.de> Message-ID: <6.1.1.1.2.20050408102733.030b6408@softseven.org> At 03:57 PM 4/7/2005, you wrote: >Hi list, > >has anyone an idea how to disable screensavers on Win and Mac by script? I >need to quickly finish a small presentation that updates the screen >permanently and the screensaver might get in the way. Can I do this somehow? > >Thanks, > >Malte Sorry, didn't see "by script" bad eyes! :( Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From heather at runrev.com Fri Apr 8 11:46:03 2005 From: heather at runrev.com (Heather Nagey) Date: Fri, 08 Apr 2005 16:46:03 +0100 Subject: OT: Key to RevOnLine In-Reply-To: <20050408133344.EDA2593012D@mail.runrev.com> Message-ID: > When in RevOnLine I sent my email address in order to get the key. > The confirmation message said it would be effectuated within 24 hours, > but after 2 weeks still no response. I even sent it to Support. Hope someone > in Scotland reads this. Thanks in advance. I responded to you some time ago. Could you check you don?t have your spam filters filtering out mail from support at runrev.com? Please email me personally and we'll try again, Regards, Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From kray at sonsothunder.com Fri Apr 8 12:09:02 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 08 Apr 2005 11:09:02 -0500 Subject: Can't set font color of htmltext in a list field In-Reply-To: Message-ID: On 4/8/05 8:20 AM, "Ana Nelson" wrote: > I have text such as the following which I put into the htmltext of a > list field: > >

Mary Bloggs

>

Joe Bloggs>

> > This works fine, but I can't seem to change the color of the text. > > I have tried: > >

John Doe

> > and several variations, none of which seem to produce any result. That's odd, since I tested it and it worked for me. Here's what I did (see if you can replicate it): I placed a list field and a button on a new stack, and then set the script of the button to: on mouseUp put "

John Doe

" into tHTML set the htmlText of fld 1 to tHTML end mouseUp And clicked the button, and it worked. Can you try this at your end? Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sanke at hrz.uni-kassel.de Fri Apr 8 12:29:44 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 08 Apr 2005 18:29:44 +0200 Subject: Can't set font color of htmltext in a list field Message-ID: <4256B178.2080206@hrz.uni-kassel.de> On Friday, Fri Apr 8, Ana Nelson ananelson at mac.com wrote: > I have text such as the following which I put into the htmltext of a > list field: > >

Mary Bloggs

>

Joe Bloggs>

> > This works fine, but I can't seem to change the color of the text. > > I have tried: > >

John Doe

> > and several variations, none of which seem to produce any result. The > "John Doe" is displayed, and if I make the line bold or italic that > shows up correctly, but color (or any other font attribute) doesn't > work. When I paste the lines of text into Dreamweaver they show the > correct color. > > I want to be able to set the colour of individual lines of text, not > the entire block of text. Mary, Your code is almost O.K., there is only one Space too many between ""&line tLine of tInterim&"" in tInterim set the htmltext of fld "ListField" to tInterim end if end mouseUp" or of course without resorting to HTMLText: "on mouseUp set the wholematches to true put lineoffset("Three", fld "Listfield") into tLine set the textcolor of line tLine of fld "ListField" to green end mouseUp" Regards, Wilhelm Sanke From sanke at hrz.uni-kassel.de Fri Apr 8 12:45:32 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 08 Apr 2005 18:45:32 +0200 Subject: Can't set font color of htmltext in a list field Message-ID: <4256B52C.5010805@hrz.uni-kassel.de> On Friday, Fri Apr 8, Ana Nelson ananelson at mac.com wrote: > I have text such as the following which I put into the htmltext of a > list field: > >

Mary Bloggs

>

Joe Bloggs>

> (snip) Sorry Ana, that I addressed you incorrectly in my last post. Your "Mary Bloggs" line interfered. Cheers, Wilhelm Sanke From ananelson at mac.com Fri Apr 8 13:29:50 2005 From: ananelson at mac.com (Ana Nelson) Date: Fri, 8 Apr 2005 18:29:50 +0100 Subject: Can't set font color of htmltext in a list field Message-ID: <09139181de27ccc8429fce8b449483ba@mac.com> Hi, Wilhelm, Thank you very much for your reply. The code is now working properly. Regards, Ana From sanke at hrz.uni-kassel.de Fri Apr 8 15:47:50 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 08 Apr 2005 21:47:50 +0200 Subject: Stripping away HTML Message-ID: <4256DFE6.50809@hrz.uni-kassel.de> On Fri Apr 8, Eric Chatonet eric.chatonet at sosmartsoftware.com wrote: > Hi Gregory, > > Put your web page into a field and get the text of the field: > > put url "xyz" into fld "MyHiddenField" > put fld "MyHiddenField" into tPlainText > > Le 7 avr. 05, ? 23:07, Gregory Lypny a ?crit : > > > Hello Everyone, > > > > Is there a way in Revolution to strip away the HTML code from a web > > page, leaving just the content in plain text? > > > > Greg While this is a convenient and quick way to get sort of a "raw" version of the text of a HTML file - which then in most cases needs to be further edited - if you want to extract text from a special kind of HTMl files more often or on a regular basis, you should adapt your script to the specific structure of the HTML file. Two examples: 1. Extracting text from articles of the online version of magazine "Education Week" The script assumes you have got three fields, two of which are named "HTMLText" and "Transtext" "on mouseUp # fld 1 contains the HTML code of an "Education Week" article from set the htmltext of fld "HTMLText" to fld 1 put fld "HTMLText" into fld "Transtext" put the htmltext of fld "TransText" into tInterim put the number of lines of tInterim into LNumber repeat with i = LNumber down to 1 if line i of tInterim contains " " then delete line i of tInterim end repeat replace "“" with Quote in tInterim replace "”" with Quote in tInterim replace "’" with "'" in tInterim replace "—" with "'" in tInterim set the htmltext of fld "Transtext" to tInterim end mouseUp" The "replace" lines provide proper "Quotes" and apostrophes. Line "if line i of tInterim contains " " then delete line i of tInterim" serves to remove code from the beginning of the web page. If this line would be left out you would get text like the following at the beginning of your "plain" text: "var _hbEC=0,_hbE=new Array;function _hbEvent(a,b){b=_hbE[_hbEC++]=new Object();b._N=a;b._C=0;return b;} var hbx=_hbEvent("pv");hbx.vpc="HBX0100u";hbx.gn="ehg-editorialpro.hitbox.com"; //BEGIN EDITABLE SECTION //CONFIGURATION VARIABLES hbx.acct="DM540902PMCA";//ACCOUNT NUMBER(S) hbx.pn="PUT+PAGE+NAME+HERE";//PAGE NAME(S) hbx.mlc="CONTENT+CATEGORY";//MULTI-LEVEL CONTENT CATEGORY hbx.pndef="title";//DEFAULT PAGE NAME hbx.ctdef="full";//DEFAULT CONTENT CATEGORY //OPTIONAL PAGE VARIABLES //ACTION SETTINGS hbx.fv="";//FORM VALIDATION MINIMUM ELEMENTS OR SUBMIT FUNCTION NAME hbx.lt="auto";//LINK TRACKING hbx.dlf="n";//DOWNLOAD FILTER hbx.dft="n";//DOWNLOAD FILE NAMING hbx.elf="n";//EXIT LINK FILTER //SEGMENTS AND FUNNELS hbx.seg="++";//VISITOR SEGMENTATION hbx.fnl="";//FUNNELS //CAMPAIGNS hbx.cmp="";//CAMPAIGN ID hbx.cmpn="";//CAMPAIGN ID IN QUERY hbx.dcmp="";//DYNAMIC CAMPAIGN ID hbx.dcmpn="";//DYNAMIC CAMPAIGN ID IN QUERY..." etc. 2. Extracting the plain text worth searching from the XML files of the Rev "Dictionary" I used similar routines to store the searchable text portions as arrays in my tool "Searchdocs" (See last version at The script assumes you have got two fields named "Display" and "Transtext". Because during the conversion from XML to text "Tabs" can happen to be inserted into the plain text, line "replace Tab with CR in tXML" is helpful for better formatting. See the different results when you leave out this line. "on mouseUp answer file "Choose XML file from"&&Quote&"Dictionary"&Quote&&"folder." put it into Adresse put "file:"&Adresse into Fxml put URL Fxml into tXML put offset("",tXML) + 15 into ANam put offset("]]>",tXML) -1 into ENam put char ANam to ENam of tXML into tTitle put offset("",tXML) + 17 into Asyn put offset("]]>",tXML) -1 into Esyn put char Asyn to Esyn of tXML into tSyntax put lineoffset("",tXML) into Zeile delete line 2 to (Zeile - 1) of tXML put tsyntax before tXML set the htmltext of fld "Transtext" to tXML put the text of fld "Transtext" into tXML replace Tab with CR in tXML put tTitle&CR&CR before tXML put tXML into fld "Display" set the textstyle of line 1 of fld "Display" to bold end mouseUp" Parsing the XML files to achieve a layout similar to that of the display of the full articles of the Dictionary in the left pane of stack "SearchDocs" of course needs a different and more complex approach. Regards, Wilhelm Sanke From Stgoldberg at aol.com Fri Apr 8 18:17:15 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Fri, 8 Apr 2005 18:17:15 EDT Subject: Can one manually resize an object proportionately? Message-ID: <1e1.39efe3a3.2f885ceb@aol.com> Although one can go into the Revolution property inspector and do some calculation to resize an object proportionately, e.g. to say 1/3 the size, when trying to do this manually I do not see a way to control the resizing proportionately. In Photoshop, for instance, holding down the Shift key while doing the resizing insures that that picture resizes proportionately. Is there a way of doing something similar in Revolution? That would save time. Thanks. Steve Goldberg From drothe at optusnet.com.au Sat Apr 9 00:05:44 2005 From: drothe at optusnet.com.au (Dwayne Rothe) Date: Sat, 9 Apr 2005 14:05:44 +1000 Subject: RunRev versus WinRar Message-ID: <001701c53cb9$68a70600$b5f6a4cb@p4c2> Who came first RunRev or WinRar? As a matter of interest I would like to point out that RunRev & WinRar are using the same application extension of .rev I found it interesting that after installing the latest version of WinRar that all my Revolution icons have now change to a RAR Recovery Volume icon, its three books with a medical kit at the front of it. I thought it would be easy to change it through properties and assigning it to Revolution.exe, but the little bugger is persistent. This is annoying as you can't simply click on a .rev stack to intiate Revolution... So who really has rights to the .rev extension? Are there any copyright issues e.t.c or can anyone one use the same extension for their product? Anyway I would much rather bin WinRar than Revolution. Cheers Dwayne Rothe... From petearmstrong88 at yahoo.com Sat Apr 9 00:19:47 2005 From: petearmstrong88 at yahoo.com (Peter Armstrong) Date: Fri, 8 Apr 2005 21:19:47 -0700 (PDT) Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES Message-ID: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> Hello, I'm new to Revolution (Rev 2.5.1: Mac OSX 10.3.8). After a few associates mentioned Rev I thought I'd spend a week or so using the software, looking to migrate a few of our projects and team to Rev. THE SCRIPT EDITOR IS A JOKE AND HAS SERIOUS ISSUES!! How can you expect any programmer to take your product seriously when the sacred script editor has SO MANY BUGS!! I became wary of it when small niggly things went wrong, then I LOST a whole bunch of code! Here's just the top 10 issues I found, most on the 2nd day: ---------------------------- 01 Going to single handler view, closing the script then opening again, then back to multi-handler view lost ALL MY STACK SCRIPT. EMPTY. THEN OTHER SCRIPTS IN THE STACK APPEARED TO BE EMPTY TOO! ALL EMPTY!? 02 Going to 'single handler' view doesn't parse the last handler, handler name shows but content appears empty. 03 Syntax coloring doesn't work properly (not everything is parsed correctly) and ends up looking like a handful of colored balloons... I needed to customize colors to make any sense of this. 04 On some occasions (when a modal dialog is open, an error occurs?) dialog after dialog repeatedly appears warning that 'can't edit while executing'. Seemed to appear three times? 05 Pre-emptive typing seems to only parse some of the keyword tokens? I can't work out what is parsed and what is not: functions, constants...? For example 'openstack' is parsed, 'itemDel' isn't? (Actually it did parse once, then it didn't the second time?) Don't know. 06 On another occasion all my script formatting (bold etc) was lost. Something happened, I opened and all my careful formatting was GONE. 07 Windows all over the place. I found I was constantly opening up the variable watcher, shuffling windows around (I'm on a 22 inch monitor), resizing, closing opening trying to see what is going on. Surely during development these could be organized properly, perhaps with variable watcher attached to the side or bottom of the script window with and expander triangle? I found I had to constantly expand the width of this to see things properly. 08 Lots of incorrect errors. I got 'Can't find Handler' when in fact it was an error in the script of the stack handler!! What sort of message is that!? Wasted time trying to work out why the message wasn?t being passed down the message path. 09 I found sending more than one parameter in a function call from the message box only accepted the first parameter. Fine if sent from a button but no good if sent from message box. 2nd, 3rd etc parameters are ignored. 10 Escape doesn't close the window, it puts some weird symbol in the script window. The 'double-enter' to accept and save a script is kinda weird, why can't you stick to a more conforming 'save and close' system? ---------------------------- After enjoying your software my confidence rating dropped to ZERO. Get it together, these glaring issues make your product look like a beta or late alpha. I don't mind issues in other areas but the SCRIPT EDITOR IS SACRED! Doesn't anyone else notice these things? How long has Rev been around? How can I write code if I can't SAFELY edit without worrying about code loss? I know some will brand me as a 'disgruntled programmer', however I'm just so used to a clean SAFE scripting environment that Rev made me feel VERY UNSURE of the environment. I?d love to switch our team over ? an excellent and extensive set of script functions and commands -- however I don?t trust Rev now. Perhaps there is there a way I can edit in BBedit and then save back to Rev??? At least I?d know that the script is safe, even if my code has bugs. On the up side: once out of the nightmare script editor/ debugger, code and samples all seemed to execute well. Excellent speed. I see that you keep adding and adding more to Rev, why not SUBTRACT things that don?t work and get the others working properly. For example, tables also lost data, I basically gave up on the Table Object and cRevTable etc. Good luck, I?ll keep looking out for script editor fixes and improvements. In the meantime, if any serious programmers can tell me how to use BBedit with Rev then I?d much appreciate it. Seems the IDE is a very leaky tank but the engine is pretty stable. regards, Peter Armstrong -- __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail From ambassador at fourthworld.com Sat Apr 9 00:33:44 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Apr 2005 21:33:44 -0700 Subject: RunRev versus WinRar In-Reply-To: <001701c53cb9$68a70600$b5f6a4cb@p4c2> References: <001701c53cb9$68a70600$b5f6a4cb@p4c2> Message-ID: <42575B28.7080305@fourthworld.com> Dwayne Rothe wrote: > As a matter of interest I would like to point out that > RunRev & WinRar are using the same application extension > of .rev ... > This is annoying as you can't simply click on a .rev stack > to intiate Revolution... > So who really has rights to the .rev extension? > Are there any copyright issues e.t.c or can anyone one use > the same extension for their product? The real culprit here is Microsoft, for not bothering to create a registry for file types to be associated with specific applications. Apple at least has a creator code registry: But on Windows, in the absence of any guidance from the mother ship developers are left to their own devices, hoping and praying their file extensions don't conflict. A few developers have taken it upon themselves to try to compensate for Microsoft's inattention to this critical aspect of OS design, maintaining databases of file extensions and associated apps. One of the most popular of these is FILExt: Searching for "rev" there I find these apps listed there as using "rev": FrameMaker GeoWorks WinRAR Workshare Synergy So if it's any consolation, you're not alone. Along with security issues and anti-trust violations, it's just part of the Windows culture. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dsc at swcp.com Sat Apr 9 00:53:48 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 8 Apr 2005 22:53:48 -0600 Subject: RunRev versus WinRar In-Reply-To: <001701c53cb9$68a70600$b5f6a4cb@p4c2> References: <001701c53cb9$68a70600$b5f6a4cb@p4c2> Message-ID: On Apr 8, 2005, at 10:05 PM, Dwayne Rothe wrote: > Who came first RunRev or WinRar? http://www.file-ext.com ... shows this: REV = FrameMaker document; see MIF REV = Geoworks revision file REV = Revolution stack I guess there will always be conflicts. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From ambassador at fourthworld.com Sat Apr 9 00:55:07 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Apr 2005 21:55:07 -0700 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> References: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> Message-ID: <4257602B.7020404@fourthworld.com> Peter Armstrong wrote: > After enjoying your software my confidence rating > dropped to ZERO. Did you mean to send that to support at runrev.com? The users in this discussion forum don't make the script editor. At least not Rev's. > Seems the IDE is a very leaky tank but the engine is > pretty stable. I feel pretty strongly about the engine myself. FWIW, the engine is about 14 years old, and the RunRev IDE much more recent. The engine used to be owned by MetaCard Corp., and after the acquisition of the engine by RunRev Ltd. the old MetaCard IDE was re-released as an open source project: Many people consider the MC IDE to be quite primitive, but it's for that reason that I use it: it keeps the minimal distance between my work and the engine. It may not have the features you're looking for, and I can't say I recommend it. My point is merely agreement about your favorable view of the engine, and to note that it's powerful enough to support any number of IDEs, at least two of which are open source. So if one's not to your liking you can contribute to another, or write your own. Of course whether the engine is valuable enough to make working on IDE for it worthwhile is a subjective choice, and I'd understand if your first reaction was something along the lines of "WTF?!?". ;) But for a lot of us the engine has delivered an unmatched ROI that more than makes up for any deficiencies in the IDEs available for it. For myself and my clients, the engine is the only thing that matters. We tend to make a lot of our own tools for working with it anyway. I can't say I've been paticularly enamored of any of the IDEs I've worked with for any scripting language, but at least with the Rev engine I have the power I need to roll my own.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dsc at swcp.com Sat Apr 9 01:03:50 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 8 Apr 2005 23:03:50 -0600 Subject: RunRev versus WinRar In-Reply-To: <42575B28.7080305@fourthworld.com> References: <001701c53cb9$68a70600$b5f6a4cb@p4c2> <42575B28.7080305@fourthworld.com> Message-ID: On Apr 8, 2005, at 10:33 PM, Richard Gaskin wrote: > The real culprit here is Microsoft, for not bothering to create a > registry for file types to be associated with specific applications. Yeah! Only operating systems from Microsoft use file extensions! They shoulda... Uh. Wait. You sure about this, Richard? Dar From ambassador at fourthworld.com Sat Apr 9 01:20:53 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Apr 2005 22:20:53 -0700 Subject: RunRev versus WinRar In-Reply-To: References: <001701c53cb9$68a70600$b5f6a4cb@p4c2> <42575B28.7080305@fourthworld.com> Message-ID: <42576635.3070700@fourthworld.com> Dar Scott wrote: > > On Apr 8, 2005, at 10:33 PM, Richard Gaskin wrote: >> The real culprit here is Microsoft, for not bothering to create a >> registry for file types to be associated with specific applications. > > Yeah! Only operating systems from Microsoft use file extensions! They > shoulda... > > Uh. Wait. You sure about this, Richard? I didn't say Microsoft was alone in the use of file extensions. I merely noted that they didn't bother to make a registry for them. Unless the folks at FILExt and the rest are as wrong as me, last I heard Microsoft still doesn't maintain anything like Apple's application signature registry. Of course, Linux doesn't either. But it seems a bit early yet to have high expectations of usability in the Linux community. ;) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From lists at mangomultimedia.com Sat Apr 9 02:12:02 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 8 Apr 2005 23:12:02 -0700 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> References: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> Message-ID: <492a9dbfc67d39b0f85f63d38196d3a8@mangomultimedia.com> On Apr 8, 2005, at 9:19 PM, Peter Armstrong wrote: > > Good luck, I?ll keep looking out for script editor > fixes and improvements. In the meantime, if any > serious programmers can tell me how to use BBedit with > Rev then I?d much appreciate it. Seems the IDE is a > very leaky tank but the engine is pretty stable. Download mlxEditor at . This will allow you to edit scripts in BBEdit. I have a language module available at which provides some basic syntax coloring and populates the function menu. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From chipp at chipp.com Sat Apr 9 03:11:13 2005 From: chipp at chipp.com (Chipp Walters) Date: Sat, 09 Apr 2005 00:11:13 -0700 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> References: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> Message-ID: <42578011.50206@chipp.com> Hi Peter, Welcome to Revolution. Sorry you're having so many problems. Reminds me when I first starting trying to integreate VB scripts with the Visual InterDev and not knowing what I was doing, got very upset... Of the many issues you complain about, some are part of learning how to use Rev. Sorry. As Richard says, there are other script editors out there, but all of them come with a learning curve. And, there are also many of us who are developing Professional applications using the IDE you so quickly dismiss. I think a bit of patience and perseverance may go a long way to solving your problems. For instance, this past week I built a font rendering engine and font editor, with full anti-aliasing support. Of course there were some hurdles to deal with. A couple emails to support and this list helped solve the problems. Richard's correct about the ROI, if you can get your head around the technology (which some people have a harder time doing). Now regarding your concerns. One thing to remember, is that unlike most all other script platforms, the RR IDE was built entirely with Transcript. This is a testament to just how powerful the engine is. Peter Armstrong wrote: > 01 Going to single handler view, closing the script > then opening again, then back to multi-handler view > lost ALL MY STACK SCRIPT. EMPTY. THEN OTHER SCRIPTS > IN THE STACK APPEARED TO BE EMPTY TOO! ALL EMPTY!? I don't know about this one, as the first thing I do when I open my copy is set it to multi-handler view. Been doing that for years, and I haven't had the need to post in all caps about it ;-) If you're worrying about losing data, check out my free altArchive plugin at http://www.altuit.com/webs/altuit2/altPluginCover/about.htm > > 02 Going to 'single handler' view doesn't parse the > last handler, handler name shows but content appears > empty. Again, I stay primarily with the multi-handler view. So, this issue isn't a 'deal killer' for me. > > 03 Syntax coloring doesn't work properly (not > everything is parsed correctly) and ends up looking > like a handful of colored balloons... I needed to > customize colors to make any sense of this. The colorization of scripts is something not supported by the engine, so the RR team creates a custom property set to hold this data. Sometimes, the set is cleared out, especially after building a standalone. I have a plugin altClean which removes all of these custom properties and reduces the file sizes significantly. I, agree, the parsing doesn't always color correctly. Try using the tab key to help auto format. Jerry Daniels has a script editor called 'Constellation' which does a much better job. It's currently in beta and should be released at RevCon West. > > 04 On some occasions (when a modal dialog is open, an > error occurs?) dialog after dialog repeatedly appears > warning that 'can't edit while executing'. Seemed to > appear three times? Yep, that's a problem, you can't edit a script during execution. You need to control-period and terminate the current script which is running, then edit and save your script. Of course, I'm not aware of any other language which allows you to edit the script which is currently executing. I'm sure Andre or Dar will correct me here :-) > > 05 Pre-emptive typing seems to only parse some of the > keyword tokens? I can't work out what is parsed and > what is not: functions, constants...? For example > 'openstack' is parsed, 'itemDel' isn't? (Actually it > did parse once, then it didn't the second time?) > Don't know. Again, not a feature I use, but you can right click on any token in your script to open the Reference manual....though it doesn't always get it right. There are other ref manuals out there too. Daniels and Sanke both have one. > > 06 On another occasion all my script formatting (bold > etc) was lost. Something happened, I opened and all my > careful formatting was GONE. Yep, see my comment above. Good idea not to use the formatting capability. > > 07 Windows all over the place. I found I was > constantly opening up the variable watcher, shuffling > windows around (I'm on a 22 inch monitor), resizing, > closing opening trying to see what is going on. > Surely during development these could be organized > properly, perhaps with variable watcher attached to > the side or bottom of the script window with and > expander triangle? I found I had to constantly expand > the width of this to see things properly. Most of us settle into a window configuration we like. I prefer using the application browser to the right of the revMenubar, the toolbar along the left, my stack windows just below the revMenubar, the script editor below that, the msg box right below the app browser, and the variable watcher under the msg box. Course, you're mileage may vary. Also, I set it up in Prefs under Script Editor: Hide Palettes OFF Hide Message Box OFF Hide Errors OFF > > 08 Lots of incorrect errors. I got 'Can't find > Handler' when in fact it was an error in the script of > the stack handler!! What sort of message is that!? > Wasted time trying to work out why the message wasn?t > being passed down the message path. Those are engine messages, and aren't always correct. In your case, the handler called in the script editor may not have been able to compile correctly and so the error is thrown there. Understanding how to use the debugger will help solve most all of these issue. There should be a good session on using the debugger at RevCon West. > > 09 I found sending more than one parameter in a > function call from the message box only accepted the > first parameter. Fine if sent from a button but no > good if sent from message box. 2nd, 3rd etc parameters > are ignored. You're doing something wrong. Create a stack. put the following in the stack script: function concatThis p1,p2 return p1&&p2 end concatThis type into the msg: put concatThis("hello","world") you will see the result below: hello world. > > 10 Escape doesn't close the window, it puts some weird > symbol in the script window. The 'double-enter' to > accept and save a script is kinda weird, why can't you > stick to a more conforming 'save and close' system? > > ---------------------------- Hmmm, to me Escape is kinda weird as a 'window closer'. I guess it's all in what you like. The reason why Apply doesn't save and close is that for many of us, we want the script window to stay open. If you want to apply and close, all at once, then ctrl-return will do the trick. > > After enjoying your software my confidence rating > dropped to ZERO. As I said, a little patience, perseverance and some politely worded questions on the list here will go a long way. > I know some will brand me as a 'disgruntled > programmer', Yep, you got that one right. -Chipp Walters From b.xavier at internet.lu Sat Apr 9 06:06:47 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 9 Apr 2005 12:06:47 +0200 Subject: Python and Rev In-Reply-To: <4d4085ed1c9fb445834f186b6de049e7@danshafer.com> Message-ID: <20050409101947.9780A930068@mail.runrev.com> Dan Said, > I agree, Frank. The key seems to lie in finding a way to > essentially create the OSA (Open Scripting Architecture) as a > Rev framework, no small task to be sure but one that perhaps > the famous MonsieurX is up to? > > Extending Rev to support this would allow this to be used > > cross-platform, as most of these scripting languages are available > > cross-platform. > >> At 11:13 AM -0400 4/4/05, Frank D. Engel, Jr. wrote: > >>> Rev allows AppleScript via the "do ... as AppleScript" command. > >>> Perhaps this could be extended to support things like > >>> do ... as Python > >>> do ... as Ruby > >>> do ... as AmericanEnglish ;-) > >>> or whatever? Sorry, im late responding... Sorry for the length, it's quite a subject I like to explore and experiment with! What I can add is that a compatibility layer can be built into your APIs using a stackinuse. Emulate "whatever" command names or functions from any language and then, you have the language layer. These can be emulated script or archived script objects. I think you get the picture... Detecting the language is not hard but better left to a previous or lower level layer stack in use for correct code execution distribution/assignment. Sorry for the lame language talk. Just think of it as abstract object pseudo grammar programming logic engine. Parsing "message box" commands in natural language (because executing a script is quite different) or using a handler doasAppleScript can be an intermediary or tertiary library. This function interceptor grabs any script as parameter (or a function call from the taoo[-applescript eg]-agent) and throws it at the os in a sugar/honey AppleEvent or shell... So to speak. The hard part is translating or doing the real time execution of "translated code". Not impossible, not that accurate (up to a 50% success/failure), you can imagine it's too much processing to add to an execution queue too unless it's a once a year ordeal. ;) The TAOO solution to this is to attack all sides of the equation. A simple expression recognition algorithm and then assembling the " contextual objects" between a verb (or series of), a source(s), a target(s), a mode of operation and expressing it in a script if it didn't exist already post-recognition. But that's TAOO Stage 4 which is in 3rd priority for the moment. Stage 1 being ready or near! The recently released Andre's iCalendar, Alejandro's graphic objects, Chipp's plugins, Richard's Devolution, and many more can be easily adapted. Any plugin addition doesn't 'add' features but 'multiplies' them by the number of possible actions in a lower level managing that agent. You imagine now what that can do with an addition language added... As far as Im concerned, it's much better to be poliglot than not! http://www.monsieurx.com/hyper/xos/screenshots/ The first 3 xos images are some of these layers of libraries. I know Python and perl and many other language can be easily managed in TAOO and also without TAOO in RunRev. There is a trade off naturally. You have to use the TAOO library (or at least a script in stackinuse/library form) and the languages are missing the intermediary levels to detect language (unassembled but independently ready in the Transcriptolator) to name a bit of the tricks under development. While I saw a msg from Richard waiting for a plug-in standard, which I agree to, im going on with a rather more intricate design (with the needed stuff in on demand - rather than on request). The plugins are more like scripts than like stacks and loaded dynamically. But i have still to see what limits I find in the IDE so I can build a controller. All I can say is that a plug-in language and api is better than just a standard! And to this Im writing But the secret is allowing ambiguity... And that's a whole other topic in logic and dynamic parsing for relational lookups and indexing maintenance cycles... It can get complicated depending how you want to implement this. My problem is keeping a nuclear, simple, congruent and flexible model that allows easy language connectivity for objects including language words and their meaning. Dont overdose on this food for thought! Again, TAOO is a groupping of plugins, agents, libraries, context managers, I invite anyone to inquire in their areas of interest and add as once Alejandro asked a couple years ago, your own language keywords... So I see the ambiguity is the key object to manage before we can get there... But there's nothing stopping the gathering of tools to make the TAOO the most complete script encyclopedia or most featured tool available on any and all platforms... If you dont mind software under construction and there is interest, I will do my best to make a rapid release of TAOO. If someone knowledgeable with international IP legal and patent licensing protection can contact me I'd be overjoyed to get that along even faster. For now, TAOO is just a wiki RAD and platform made in Rev with its own rev-made ingredients if you want a simple comparison. I'll start working more on wiki and object layer apis in the coming months. I find it interesting to say the least. cheers Xavier -- http:// monsieurx.com/runrev From b.xavier at internet.lu Sat Apr 9 06:17:12 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 9 Apr 2005 12:17:12 +0200 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> Message-ID: <20050409103017.E2592930184@mail.runrev.com> Peter, I've mentioned a million times and as usual future complains dont seem to be an issue ;) The script editor, although rather simple, is not so bad once you get used to avoiding its traps. But it's much better than it previously was... I made a much superior editor to the old MetaCard editor years ago and no one really helped or motivated me to make it more competent and runrev 2.5 solved the majority of its pains. But wait a few and I'll release bliss to your scripting senses (debugging features will not be ready yet though). Chipp, Im glad to hear that there is one more editor coming! Competition is healthy and sign of a good market ;) cheers Xavier http://monsieurx.com/runrev > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Peter Armstrong > Sent: Saturday, April 09, 2005 06:20 > To: use-revolution at lists.runrev.com > Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES > > Hello, I'm new to Revolution (Rev 2.5.1: Mac OSX 10.3.8). > After a few associates mentioned Rev I thought I'd spend a > week or so using the software, looking to migrate a few of > our projects and team to Rev. > > THE SCRIPT EDITOR IS A JOKE AND HAS SERIOUS ISSUES!! > > How can you expect any programmer to take your product > seriously when the sacred script editor has SO MANY BUGS!! > > I became wary of it when small niggly things went wrong, then > I LOST a whole bunch of code! Here's just the top 10 issues > I found, most on the 2nd day: > > ---------------------------- > > 01 Going to single handler view, closing the script then > opening again, then back to multi-handler view lost ALL MY > STACK SCRIPT. EMPTY. THEN OTHER SCRIPTS IN THE STACK > APPEARED TO BE EMPTY TOO! ALL EMPTY!? > > 02 Going to 'single handler' view doesn't parse the last > handler, handler name shows but content appears empty. > > 03 Syntax coloring doesn't work properly (not everything is > parsed correctly) and ends up looking like a handful of > colored balloons... I needed to customize colors to make any > sense of this. > > 04 On some occasions (when a modal dialog is open, an error > occurs?) dialog after dialog repeatedly appears warning that > 'can't edit while executing'. Seemed to appear three times? > > 05 Pre-emptive typing seems to only parse some of the keyword > tokens? I can't work out what is parsed and what is not: > functions, constants...? For example 'openstack' is parsed, > 'itemDel' isn't? (Actually it did parse once, then it didn't > the second time?) Don't know. > > 06 On another occasion all my script formatting (bold > etc) was lost. Something happened, I opened and all my > careful formatting was GONE. > > 07 Windows all over the place. I found I was constantly > opening up the variable watcher, shuffling windows around > (I'm on a 22 inch monitor), resizing, closing opening trying > to see what is going on. > Surely during development these could be organized properly, > perhaps with variable watcher attached to the side or bottom > of the script window with and expander triangle? I found I > had to constantly expand the width of this to see things properly. > > 08 Lots of incorrect errors. I got 'Can't find Handler' when > in fact it was an error in the script of the stack handler!! > What sort of message is that!? > Wasted time trying to work out why the message wasnt being > passed down the message path. > > 09 I found sending more than one parameter in a function call > from the message box only accepted the first parameter. Fine > if sent from a button but no good if sent from message box. > 2nd, 3rd etc parameters are ignored. > > 10 Escape doesn't close the window, it puts some weird symbol > in the script window. The 'double-enter' to accept and save a > script is kinda weird, why can't you stick to a more > conforming 'save and close' system? > > ---------------------------- > > After enjoying your software my confidence rating dropped to ZERO. > > Get it together, these glaring issues make your product look > like a beta or late alpha. I don't mind issues in other > areas but the SCRIPT EDITOR IS SACRED! > > Doesn't anyone else notice these things? How long has Rev > been around? How can I write code if I can't SAFELY edit > without worrying about code loss? > > I know some will brand me as a 'disgruntled programmer', > however I'm just so used to a clean SAFE scripting > environment that Rev made me feel VERY UNSURE of the environment. > > Id love to switch our team over  an excellent and extensive > set of script functions and commands -- however I dont trust > Rev now. > > Perhaps there is there a way I can edit in BBedit and then > save back to Rev??? At least Id know that the script is > safe, even if my code has bugs. > > On the up side: once out of the nightmare script editor/ > debugger, code and samples all seemed to execute well. > Excellent speed. > > I see that you keep adding and adding more to Rev, why not > SUBTRACT things that dont work and get the others working > properly. For example, tables also lost data, I basically > gave up on the Table Object and cRevTable etc. > > Good luck, Ill keep looking out for script editor fixes and > improvements. In the meantime, if any serious programmers > can tell me how to use BBedit with Rev then Id much > appreciate it. Seems the IDE is a very leaky tank but the > engine is pretty stable. > > regards, > > Peter Armstrong > -- > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sat Apr 9 07:00:49 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 9 Apr 2005 13:00:49 +0200 Subject: RunRev versus WinRar In-Reply-To: <42576635.3070700@fourthworld.com> Message-ID: <20050409111351.6E9CA93015B@mail.runrev.com> > > On Apr 8, 2005, at 10:33 PM, Richard Gaskin wrote: > >> The real culprit here is Microsoft, for not bothering to create a > >> registry for file types to be associated with specific > applications. 30 seconds search yielded the microsoft page regarding this subject in general. Not a list but the reason why there isn't one. in sum, the list is already in the registry of your windows installation, the rest is up to you as is the usual windows culture... Ignorance of the enemy is a sure way to defeat - Sun Tzu > But on Windows, in the absence of any guidance from the > mother ship developers are left to their own devices, hoping > and praying their file extensions don't conflict. > A few developers have taken it upon themselves to try to > compensate for Microsoft's inattention to this critical > aspect of OS design, maintaining databases of file extensions > and associated apps. There is no global registry but there are plenty of sites with the links or reference to any file extensions. On Windows, it's your job to know, not Apple's or Microsofts - and that's why QT has been a big pain in the hind each time it overides the file types or display settings! What I find funny however is the OT inferences made against a product that do have a complete tool set to cope with this issue and not mentioning it. Not that I like Moft but if you're not capable of coping with MS security issues, why even mention it? What is the point within file types assignment? A previously mentioned tip reference would have been more helpful. If I find security issues a more benefitial than a small-OS-market it's my problem not a reason to evangelize an over-priced product, let alone justify the rev-pref for mac os which is a thorn in itself sometimes. See my second point... Anyway to resolve your "Rev" extension issues on windows: Note there's no way to change the rev extension via the preferences but you are free to do so in your scripts! Open an explorer window (windowkey+E), go to tools, open options, click on the file extensions tab and click on "advanced" (w2k or newer) now you can edit or set what "context menu" item will (by default) open, edit, or spit your file the way you want. Including having more than one app for any application. That way you can overide any Moft app editing or opening your html files or insuring Rev opens your stacks. I find that much more flexible than all I ever saw coming down from Apple except for alias to drop onto ;)... The second point... Why the above is irrelevant... I'd rather rant on another similar but more basic (pain in the ***) type of issue: Rev still can't open stacks normally on PCs when you double click on it's documents - the stacks or your application's stack-documents... Win32 always opens another session of Rev, this is still not handled correctly on windows since 4 years and there's no alternative. Im pretty sure I mentioned it before to Scott or Kevin but haven't seen complains and made my own solution... But you can't send shell commands to runrev or double click a second document or you'll have this second runrev session and you'll surely get a stack-overwrite problem... Now, that's a security risk for file integrity if I've ever seen one! Any file assignment is just a simple plain-old shell assign command any Windows that users should be aware of like the paths variables. But there's nothing we can do for the extra Rev sessions opening other than rewriting a file explorer for my Rev sessions... How does it work on Mac OSX? MacOS? Do you get an extra rev session when you doubleclick a stack or does rev open it "normally" as a second stack window? Just my 2 cents and probably another 2 new bugzillas for tomorow! cheers Xavier -- http://monsieurx.com/runrev From petearmstrong88 at yahoo.com Sat Apr 9 07:34:52 2005 From: petearmstrong88 at yahoo.com (Peter Armstrong) Date: Sat, 9 Apr 2005 04:34:52 -0700 (PDT) Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES Message-ID: <20050409113452.1147.qmail@web80903.mail.scd.yahoo.com> Dear fellow Revolution Programmers. Thank you so much for your kind help! I must thank you all for your positive input. Your understanding has helped my early frustration with this software. I guess the main point of reference is other script editing environments (both scripted and compiled) that I've had to deal with over the past 16 years. Rev has really made me worry about the SAFETY of my code. I'm sitting here testing, learning, then BOOM! Gone. Sure I should have saved two hours ago but I was immersed in an early newbie Rev issue, just some simple code. The backup was several hours of learning ago... This was the SINGLE point that made me churn. I'm sorry to upset the list, not good for a newbie. Thank you Trevor for you help running scripts externally, I'll give that a go shortly, I know BBEdit and that will promise more hope until the Script Editor in the IDE is fixed properly (REV team??). You are very kind. Thanks Chipp, all very helpful comments. I'll try patience (I was until I lost code, that hasn't happened for years!) and perhaps try the BBEdit path. Chipp I'm sorry but I don't feel handlers not appearing and code disappearing is 'part of learning how to use Rev'. Sure I'll never try single handler view ever again, however shouldn't this be disabled or debugged? Poor Dreamcard hopefuls. Richard thanks so much for all the ROI reference. Yes I can see that Rev could be the tool of preference for my team, however I can not see them scripting in the IDE right now. Sure we can figure a way around, but that does not seem to be the correct way, the IDE should be the integrated environment that is supposed to be. I'll try and work out an optimal setup for Rev and see if that works. I know I'm not being flexible in my thinking -- actually I was AMAZED that Rev IDE was built in Rev, an excellent testament to the strength of the Engine -- but I don't usually get a huge list of User Interface issues and bugs after just a few days testing. Maybe Rev IDE has expanded way too far too fast. Anywhere, anywhere in the IDE major bugs are permitted, just not in the script editor. That's all I think. You know I'll probably be one of the converts shortly, once I figure out what I can trust and what I can't. As Richard pointed out the engine is a relative known, an old stable, so maybe that is where we look for stability and security. Thanks so much for helping me out, very very much appreciated. Funnily enough I realized that on day four of frustrations - the frustrations with bugs not to mention my own code - that I needed to see if anyone else felt the same way. Sad song I sent out but really thought this is poor form. I will stay off the soap box, seems that others realize the script editor is in need of an overhaul... thus the alternatives. If I think back to HyperCard, SuperCard, VB, Director, Flash and even early Code Warrior? I can't remember my code disappearing. Well maybe with VideoWorks Interactive? So enough. I'll keep quiet and hope that one of the Rev team comes back with some sort of validation on this rant. Or maybe not. My team of five is only a five pack but I'm sure there are others out there that may cross your path and find similar issues. Rev you have an amazing engine to build on, you have done an excellent job building a complete IDE inside it, however if you want to compete, get the simple things sorted first. Don't you think? Regards, Peter Armstrong __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From dburgun at dsl.pipex.com Sat Apr 9 07:50:33 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 9 Apr 2005 12:50:33 +0100 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> References: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> Message-ID: Hi, I've been using RunRev on and off for about a year now. I must say this I kind of agree with you about the Script Editor. However I really don't see it as that big an issue if you just follow the following rules: 1. Don't use the Single Handler Mode. It's annoying because I like the locals, globals and parameters tabs that show you what the handler is using. 2. Under Mac OS (9 and X) there seem to be a lot of window refresh problems when switching to Single Handler Mode anyway, e.g. to see the code properly you have to click the window "zoom" button else the left edges get cut off. 3. I have taken to using the "Apply Scrtipt and Save Stack" Command from the File Menu (wish I could assign this a Command Key) before running a changed script. I also Copy and Paste the Script into a Text File before before I do a big change or I just copy and Paste the whole object into a "temp" Stack (I always have a "temp" stack while I am developing in RunRev and Drop all kinds of temp objects and code into it. You can always just Hide the Stack or Delete it before final distribution. You can also use the "Enter" key (as apposed to the return key) which will Apply the script and then hitting it again will close the window. So to quickly Apply, Save the Whole Stack and Close the Script Window, Use "Apply Script and Save Stack" and hit "Enter". I would just love it if there were another File Menu Command "Apply, Save Stack and Close Script" and it had a Command Key assigned to it. Is there any way to "patch" the IDE to do this. 4. Yes, I agree, loads of windows do seem to appear all over the place. I have two 17 inch monitors and it's really hard to organise and place the IDEs windows where you would like them. For instance I would like all the IDE windows to be on the second screen (which has a higher resoltion) and the App I am working on to be on the Main Monitor (where is is most likely to be when the end user is running the app), but some IDE windows insist on opening on the Main montior instead of the monitor I moved it to last time. This is annoying to say the least! The App Browser does this which is particulary upsetting! 5. I agree, the formatting and colorizations don't work correctly. It's a pain and I wish it were fixed. I don't understand how "rect" seems always to be colored correctly but "rectangle" only seems to be colorized at more or less random! I found doing a select all and then manually selecting "formatting" and "colorization" sometimes does the trick. 6. There are other editors you could use, I see there is a plugin to allow you to use BBEdit. Does anyone know if there is a plugin available for CodeWarrior. I am looking into this now. I would like to see how I got on using an external editor, it may speed up the whole process, however I don't know how it would work in the debugger???? 7. Another moan is that the property inspector (and other PopUp windows) do not respond to Command+W, so if you open an inspector by accident and then Command+W to close it again, the wrong window closes!!! Grrrrr!!!! If it just ignored the Command+W if a Floating Window had focus it would be nice! I agree that there are some major issues with the Script Editor, and to be honest, the whole way in which scripts are edited, debugged and maintained, should be looked at and completely redesigned/rewritten IMO. The way in which you have grope around in order to find and open a script is not very nice. You can use the "revNavigator" plug in which helps to EditScripts and takes up much less room on the monitor than the Application Browser. But that only provies fast(er) access to an objects script. The Apply/Save Issues are still there. Also it would be nice to have some kind of Source Control Built into the Scripting Editor/Maintenance System. This is a major advantage of using an IDE/Editor like code warrior. You could create a "dummy" CodeWarrior Project (and echo it to a source control system) with each file being a script for an RunRev object. The compile/make phase could send these files to RunRev, which would then Compile and Replace the script with the text from the CodeWarrior Compile/Make Process. This would quite a good way of doing things in lue of a better Script Editor/Maintenance system. Is it possible?!! However, with all the issues I have pointed out, it still doesn't put me off using RunRev, I find that I can be much more productive even with there issues and I am sure that they will be addressed and fixed in the fullness of time and I will then be even more productive! I hope that this helped you to get around the annoyances of the Script Editor and that you continue to use RunRev and eventually contribute some useful knowledge to the community. All the Best Dave >Hello, I'm new to Revolution (Rev 2.5.1: Mac OSX >10.3.8). After a few associates mentioned Rev I >thought I'd spend a week or so using the software, >looking to migrate a few of our projects and team to >Rev. > >THE SCRIPT EDITOR IS A JOKE AND HAS SERIOUS ISSUES!! > >How can you expect any programmer to take your product >seriously when the sacred script editor has SO >MANY BUGS!! > >I became wary of it when small niggly things went >wrong, then I LOST a whole bunch of code! Here's just >the top 10 issues I found, most on the 2nd day: > >---------------------------- > >01 Going to single handler view, closing the script >then opening again, then back to multi-handler view >lost ALL MY STACK SCRIPT. EMPTY. THEN OTHER SCRIPTS >IN THE STACK APPEARED TO BE EMPTY TOO! ALL EMPTY!? > >02 Going to 'single handler' view doesn't parse the >last handler, handler name shows but content appears >empty. > >03 Syntax coloring doesn't work properly (not >everything is parsed correctly) and ends up looking >like a handful of colored balloons... I needed to >customize colors to make any sense of this. > >04 On some occasions (when a modal dialog is open, an >error occurs?) dialog after dialog repeatedly appears >warning that 'can't edit while executing'. Seemed to >appear three times? > >05 Pre-emptive typing seems to only parse some of the >keyword tokens? I can't work out what is parsed and >what is not: functions, constants...? For example >'openstack' is parsed, 'itemDel' isn't? (Actually it >did parse once, then it didn't the second time?) >Don't know. > >06 On another occasion all my script formatting (bold >etc) was lost. Something happened, I opened and all my >careful formatting was GONE. > >07 Windows all over the place. I found I was >constantly opening up the variable watcher, shuffling >windows around (I'm on a 22 inch monitor), resizing, >closing opening trying to see what is going on. >Surely during development these could be organized >properly, perhaps with variable watcher attached to >the side or bottom of the script window with and >expander triangle? I found I had to constantly expand >the width of this to see things properly. > >08 Lots of incorrect errors. I got 'Can't find >Handler' when in fact it was an error in the script of >the stack handler!! What sort of message is that!? >Wasted time trying to work out why the message wasn?t >being passed down the message path. > >09 I found sending more than one parameter in a >function call from the message box only accepted the >first parameter. Fine if sent from a button but no >good if sent from message box. 2nd, 3rd etc parameters >are ignored. > >10 Escape doesn't close the window, it puts some weird >symbol in the script window. The 'double-enter' to >accept and save a script is kinda weird, why can't you >stick to a more conforming 'save and close' system? > >---------------------------- > >After enjoying your software my confidence rating >dropped to ZERO. > >Get it together, these glaring issues make your >product look like a beta or late alpha. I don't mind >issues in other areas but the SCRIPT EDITOR IS SACRED! > >Doesn't anyone else notice these things? How long has >Rev been around? How can I write code if I can't >SAFELY edit without worrying about code loss? > >I know some will brand me as a 'disgruntled >programmer', however I'm just so used to a clean SAFE >scripting environment that Rev made me feel VERY >UNSURE of the environment. > >I?d love to switch our team over ? an excellent and >extensive set of script functions and commands -- >however I don?t trust Rev now. > >Perhaps there is there a way I can edit in BBedit and >then save back to Rev??? At least I?d know that the >script is safe, even if my code has bugs. > >On the up side: once out of the nightmare script >editor/ debugger, code and samples all seemed to >execute well. Excellent speed. > >I see that you keep adding and adding more to Rev, why >not SUBTRACT things that don?t work and get the others >working properly. For example, tables also lost data, >I basically gave up on the Table Object and cRevTable >etc. > >Good luck, I?ll keep looking out for script editor >fixes and improvements. In the meantime, if any >serious programmers can tell me how to use BBedit with >Rev then I?d much appreciate it. Seems the IDE is a >very leaky tank but the engine is pretty stable. > >regards, > >Peter Armstrong >-- > > > > > >__________________________________ >Do you Yahoo!? >Yahoo! Mail - Helps protect you from nasty viruses. >http://promotions.yahoo.com/new_mail >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From hannu.kokko at iki.fi Sat Apr 9 07:56:31 2005 From: hannu.kokko at iki.fi (Hannu Kokko) Date: Sat, 09 Apr 2005 14:56:31 +0300 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <42578011.50206@chipp.com> Message-ID: On 9.4.2005 10:11, "Chipp Walters" wrote: > > Yep, that's a problem, you can't edit a script during execution. You > need to control-period and terminate the current script which is > running, then edit and save your script. Of course, I'm not aware of any > other language which allows you to edit the script which is currently > executing. I'm sure Andre or Dar will correct me here :-) For example: Smalltalk with VisualWorks.Lovely tool (for its time). Many fond memories. But unfortunately that tool while it exists is a bit dead/comatose at the moment. --h Hannu Kokko "99,5% ain't enough" From jsng at wayoflife.org Sat Apr 9 09:23:31 2005 From: jsng at wayoflife.org (Jesse Sng) Date: Sat, 9 Apr 2005 21:23:31 +0800 Subject: Using OS X Services In-Reply-To: <42575B28.7080305@fourthworld.com> References: <001701c53cb9$68a70600$b5f6a4cb@p4c2> <42575B28.7080305@fourthworld.com> Message-ID: Hi, One of the things I'm trying to figure out is whether it is possible for a Rev application to call on OS X services? Is is just a simple matter of using the domenu command or do I need to use some external to accomplish this? Also, if the service is a text service, do I need to actually have a field with a selection so that it would work? Jesse From chipp at chipp.com Sat Apr 9 10:07:42 2005 From: chipp at chipp.com (Chipp Walters) Date: Sat, 09 Apr 2005 07:07:42 -0700 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409113452.1147.qmail@web80903.mail.scd.yahoo.com> References: <20050409113452.1147.qmail@web80903.mail.scd.yahoo.com> Message-ID: <4257E1AE.9080906@chipp.com> Peter, As Richard suggested, you should contact support at runrev.com and see if they can help you with any of these issues. There's also a Bugzilla database you can peruse and add to as well. Another serious bug to look out for is the 'breakpoints' bug. If you have set breakpoints ('red dot') in your scripts and rename a stack or stack file, you can bring the whole thing crashing down. Here's why. RR stores a list of your breakpoints in a special custom prop set, just like it does the script formatting. It stores it using the long name of the stack, and if it get's changed, then when it 'looks it up' it can't find it and undelicately crashes. The fix is pretty easy, either get in the habit of removing breakpoints, or use my altClean plugin anytime you change the name(s) of a stack (thanks Xavier for helping track this down!). Sorry there are so many 'gotchas', but once you know where the potholes are, you get in the habit of not 'stepping' in them. It still doesn't excuse them, but it's nice to know there are a lot less of them now than there were a year ago. As I mentioned, the altArchive plugin saves serialized versions of your code with a single button press. If you're worried about losing code, that's one solution which is used by many. I can't remember the last time I lost any substantial scripts. Please keep asking questions here. There are lots who have been down the same road and are eager to help. best, Chipp From gwalias-rev at yahoo.com Sat Apr 9 10:42:23 2005 From: gwalias-rev at yahoo.com (Gordon Webster) Date: Sat, 9 Apr 2005 07:42:23 -0700 (PDT) Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> Message-ID: <20050409144223.47493.qmail@web51109.mail.yahoo.com> Dear Peter See what a great group of friendly and helpful people there are using Rev! I would wager that on a lot of lists, your posting would have raised hackles and prompted a lot of less than helpful responses. This list is really one of the strengths of using Rev and if you have any problems, there's always this community of incredibly smart, friendly and helpful people to help you out - I see it happen every day. It sometimes feels like having really good 24/7 tech support - come to think of it, I sometimes wonder when these guys actually sleep! If I were you Peter, I'd give Rev another chance and experience for yourself the excellent support you get from the Rev community by letting them help you work through the problems you described. Best Gordon From j.dixon7 at btinternet.com Sat Apr 9 10:56:29 2005 From: j.dixon7 at btinternet.com (John Dixon) Date: Sat, 09 Apr 2005 15:56:29 +0100 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <4257602B.7020404@fourthworld.com> Message-ID: On 9/4/05 5:55 am, "Richard Gaskin" wrote: > > But for a lot of us the engine has delivered an unmatched ROI that more > than makes up for any deficiencies in the IDEs available for it. > > For myself and my clients, the engine is the only thing that matters. > We tend to make a lot of our own tools for working with it anyway. > > I can't say I've been paticularly enamored of any of the IDEs I've > worked with for any scripting language, but at least with the Rev engine > I have the power I need to roll my own.... Well said! John Dixon From zellner at tamu.edu Sat Apr 9 11:03:26 2005 From: zellner at tamu.edu (Ronald Zellner) Date: Sat, 9 Apr 2005 10:03:26 -0500 Subject: Record Sound Message-ID: Does anyone have an example of a simple Record Sound stack that has all the pathnames and bugs worked out? Also, what is the RecordInput value for using iSight audio or a USB mic? Thanks, Ron From bvlahos at mac.com Sat Apr 9 11:44:46 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 9 Apr 2005 08:44:46 -0700 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409113452.1147.qmail@web80903.mail.scd.yahoo.com> References: <20050409113452.1147.qmail@web80903.mail.scd.yahoo.com> Message-ID: <0cc19ab4d39be2f54873c0b3e1adfb8c@mac.com> Just to let you know that I've been developing in the IDE for years and have never lost code or had most of the problems you described. Bill Vlahos On Apr 9, 2005, at 4:34 AM, Peter Armstrong wrote: > Yes > I can see that Rev could be the tool of preference for > my team, however I can not see them scripting in the > IDE right now. From ambassador at fourthworld.com Sat Apr 9 12:05:09 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Apr 2005 09:05:09 -0700 Subject: RunRev versus WinRar In-Reply-To: <20050409111351.6E9CA93015B@mail.runrev.com> References: <20050409111351.6E9CA93015B@mail.runrev.com> Message-ID: <4257FD35.9060508@fourthworld.com> MisterX wrote: >>>On Apr 8, 2005, at 10:33 PM, Richard Gaskin wrote: >>> >>>>The real culprit here is Microsoft, for not bothering to create a >>>>registry for file types to be associated with specific >> >>applications. > > There is no global registry but there are plenty of sites with the links or > reference to any file extensions. On Windows, it's your job to know, not > Apple's or Microsofts Precisely. But without the OS vendor managing a central registry, we must rely on the goodwill of third parties and their various ad hoc substitutes; i.e., it may not be possible to "know"; at best we can only guess, and hope. To the degree that Apple maintains support for creator codes in a file's Finder metadata, the situation is less ambiguous: either the developer registered their creator code with Apple, or the developer chose to risk user confusion. Microsoft developers have no such choice; the ambiguity being part of the design, risk of user confusion is ever-present. There are rumors of an internal warfare within Apple over whether to maintain creator codes for the long term (indeed heated debate over this critical issue was cause for Apple to shut down the HI Dev list); if the NeXT team wins the same ambiguity will be introduced into Mac OS X. > Rev still can't open stacks normally on PCs when you double click on it's > documents - the stacks or your application's stack-documents... Win32 always > opens another session of Rev, this is still not handled correctly on windows > since 4 years and there's no alternative. Im pretty sure I mentioned it > before to Scott or Kevin but haven't seen complains and made my own > solution... But you can't send shell commands to runrev or double click a > second document or you'll have this second runrev session and you'll surely > get a stack-overwrite problem... Now, that's a security risk for file > integrity if I've ever seen one! How does this differ from Notepad or Internet Explorer? Try this: 1. Open Notepad 2. Type something in the new document 3. Save it to the desktop, but leave it open 4. In the desktop, double-click the saved document - it opens a second instance; changes saved in either instance will overwrite the file, but neither instance will let the other know I can't find verse and chapter on this behavior in the Win HIG, but it's a documented part of the OS (Ken, still have that reference handy?). -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ps1 at softseven.org Sat Apr 9 12:10:32 2005 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 09 Apr 2005 11:10:32 -0500 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <0cc19ab4d39be2f54873c0b3e1adfb8c@mac.com> References: <20050409113452.1147.qmail@web80903.mail.scd.yahoo.com> <0cc19ab4d39be2f54873c0b3e1adfb8c@mac.com> Message-ID: <6.1.1.1.2.20050409110345.02ffa510@softseven.org> At 10:44 AM 4/9/2005, you wrote: >Just to let you know that I've been developing in the IDE for years and >have never lost code or had most of the problems you described. > >Bill Vlahos > >On Apr 9, 2005, at 4:34 AM, Peter Armstrong wrote: > >>Yes >>I can see that Rev could be the tool of preference for >>my team, however I can not see them scripting in the >>IDE right now. > >Rev is BOSS! > >I came from VB and I like Rev lots better, I have only lost 1 stack with >Rev, well it's not totally lost I still have it on my hard drive but when >I try to open it Rev shuts down. It was a small stack when I was learning >to write and read the registry. No big deal. Never have load a script as >someone stated. Oh Yea, I like Rev because it's not Billy Boy infested. >I'll be glad when there is a windows like linux OS complete with point & >click and easy to install. I have received much more help here than I did >on the VB egroups. > > > >Paul Salyers >PS1 - Senior Rep. >PS1 at softseven.org >Http://ps1.SoftSeven.org From revolution at derbrill.de Sat Apr 9 14:42:04 2005 From: revolution at derbrill.de (Malte Brill) Date: Sat, 9 Apr 2005 20:42:04 +0200 Subject: Disable screensaver? In-Reply-To: <20050408133345.36720930130@mail.runrev.com> Message-ID: <11A2F634-A927-11D9-BF35-0030659A795C@derbrill.de> Thanks Chipp (and Paul), the main problem I had has vanished as I was toled the sys-admin will disable screensavers and install Quicktime on all 180 machines, so I don?t need to disable screensavers by script for this job. (lucky me. :-) ) I will look at the link you posted anyway as I want to be able to do it (the next customer might not have a good sys-admin) Thanks again! Malte From revolution at derbrill.de Sat Apr 9 15:09:37 2005 From: revolution at derbrill.de (Malte Brill) Date: Sat, 9 Apr 2005 21:09:37 +0200 Subject: # Can one manually resize an object proportionately? In-Reply-To: <20050408133345.36720930130@mail.runrev.com> Message-ID: Hi Steve, >Although one can go into the Revolution property inspector and do some >calculation to resize an object proportionately, e.g. to say 1/3 the size, when >trying to do this manually I do not see a way to control the resizing >proportionately. You can easiely write a function to do it and do your resizing with the messageBox. If you like to take a look at libRMC (a small Multimedia Library I wrote) you can save a bit of work. :-) You will need to put the stack in the messagepath (start using stack "libRMC") If you want to find out what other features it offers type libRMCInfo into the messagebox. From the docs: aspectScale left,top,right,bottom[,setLockLoc] set the aspectScale of img "myImage" to 100,100,400,400,true set the aspectScale of fld "myField" to the rect of grc "myGraphic" setting the aspectScale of a control scales it in the correct width-to-height ratio to the biggest dimensions possible to fit in the specified rectangle. you can specify if the lockLoc of the control should be set to avoid unwanted resizing when closing/reopening cards. You find the library here: http://www.derbrill.de/librmc/libRMC.rev.zip The docs: http://www.derbrill.de/librmc/docs.pdf Cheers, Malte From nec556 at retena.com Sat Apr 9 15:53:34 2005 From: nec556 at retena.com (Eduardo) Date: Sat, 09 Apr 2005 21:53:34 +0200 Subject: opengl Message-ID: <6.0.3.0.0.20050409214820.0193f3d0@localhost> Hello: I'm trying the 2.5.1 revolution and want to know if there is a way to use opengl in a stack for display 3d, multiplatform of course. TIA ----------------------------------------------------------------------------------------------------------------------------- La diferencia entre la teoria y la practica es que en teoria no hay, pero en la practica si From warren at howsoft.com Sat Apr 9 16:03:45 2005 From: warren at howsoft.com (Bob Warren) Date: Sat, 9 Apr 2005 17:03:45 -0300 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES Message-ID: <002601c53d3f$614bf8d0$0201a8c0@john> Since Microsoft decided to assassinate VB6 about 2 years ago, I have been looking for some kind of satisfactory alternative. I quite soon encountered Transcript, which is even more friendly and user-oriented than Basic. I was overjoyed. But since then I have been bugged (if you will excuse the pun) by what to me is an eccentric and confusing IDE/Script Editor. I fully agree with Peter when he says:- "these glaring issues make your product look like a beta or late alpha. I don't mind issues in other areas but the SCRIPT EDITOR IS SACRED!" -and for this reason I have been terribly frustrated. I have never wholeheartedly adopted RunRev, and probably never will, unless another of Peter's recommendations is finally adopted: "I see that you keep adding and adding more to Rev, why not SUBTRACT things that don't work and get the others working properly." As other List members have pointed out, there have been improvements over the last few years, but it is obvious that you cannot make a silk purse out of a sow's ear. I will never forget what my mathematics teacher wrote in my school report at the age of 11: "Robert should not let a pleasing manner be a substitute for real effort". Unfortunately, much of the very friendly advice Peter has received from the List adds up to "Don't waste your time complaining about the dangerous state of the road, just drive around the potholes". I note that Peter is apparently already beginning to feel ashamed of himself, and, who knows, he will eventually become just one more sucker who has involved himself in an unfortunate love affair. As for myself, I will crawl back into my usually silent corner again and pray that at least before the century is out (if I live that long), RunRev will have decided to do something about their IDE. From europe at ehug.info Sat Apr 9 16:23:33 2005 From: europe at ehug.info (Mark Schonewille) Date: Sat, 09 Apr 2005 22:23:33 +0200 Subject: Using OS X Services In-Reply-To: References: <001701c53cb9$68a70600$b5f6a4cb@p4c2> <42575B28.7080305@fourthworld.com> Message-ID: <425839C5.60507@ehug.info> Jesse, Only applications that have been created in Cocoa can use these services. Since most major applications are not created in Cocoa, I think Apple made a slight mistake here. Mark Jesse Sng wrote: > Hi, > > One of the things I'm trying to figure out is whether it is possible for > a Rev application to call on OS X services? > > Is is just a simple matter of using the domenu command or do I need to > use some external to accomplish this? > > Also, if the service is a text service, do I need to actually have a > field with a selection so that it would work? > > > Jesse -- eHUG coordinator mailto:europe at ehug.info fax: +1 501 633 94 04 http://home.wanadoo.nl/mark.sch http://www.ehug.info From yvescoppe at skynet.be Sat Apr 9 16:42:29 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 9 Apr 2005 22:42:29 +0200 Subject: Using OS X Services In-Reply-To: <425839C5.60507@ehug.info> References: <001701c53cb9$68a70600$b5f6a4cb@p4c2> <42575B28.7080305@fourthworld.com> <425839C5.60507@ehug.info> Message-ID: Le 09-avr.-05, ? 22:23, Mark Schonewille a ?crit : > Jesse, > > Only applications that have been created in Cocoa can use these > services. Since most major applications are not created in Cocoa, I > think Apple made a slight mistake here. > > Mark > > Could it be possible to access the Mac OS X services with an external ? Greetings. Yves COPPE yvescoppe at skynet.be From petearmstrong88 at yahoo.com Sat Apr 9 19:12:13 2005 From: petearmstrong88 at yahoo.com (Peter Armstrong) Date: Sat, 9 Apr 2005 16:12:13 -0700 (PDT) Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES Message-ID: <20050409231213.65037.qmail@web80902.mail.scd.yahoo.com> Dear Revolution Community. Thanks so much again for your comments, it is a truly amazing community! One day I hope to contribute back in. My rather heated comments on the buggy IDE are somewhat appeased by a more than helpful community so very generous with their answers and thoughtful comments. Thanks Trevor, the external edit in BBEdit seems to work nicely! At last I can relax and get down to understanding Rev and not worry about my code. An excellent addition (Transcript terms) to BBEdit. Thanks Alex (?) at Mindlube for the great MLXEditor, seems to be the conduit necessary between Rev and the outside world. Great! Nice and easy, works perfectly as far as I can tell. Maybe Rev should build something like this in to the IDE? Bill thanks for your comment that you have been using the IDE for years no problem. I?ll try and create a recipe for the code loss I suffered the other day and post it to Bugzie. Seems like it is the Single Handler view, which I was just exploring (I noticed too that it only sometimes loads the local/global variables correctly). Just out of interest: does the Rev team contribute to the list? Just wondering. Also I didn't want to contact them yet as we are still evaluating the software and I'm sure they are deep in code land... fixing? Chipp thanks too for pointing out how Rev handles scripts. I found that there seems to be a custom property (?) that stores the script, formatted. Getting the script of an object (unformatted) is separate from the custom prop that seems just to store a formatted version of it, with an MD5 fingerprint (I assume as a checksum to see if anything has changed). Seems an odd way to do things. Oh well. So I guess the Script Cleaner removes the extra baggage? Does building a standalone do the same? Xavier: is your editor the UltaEditor plug-in? I couldn?t find your editor on your page, perhaps I just missed it. (Unfortunately - or fortunately as I see it - I develop on Mac and port-test on our PCs so UltaEditor isn?t really an option.) Many many thanks though. Thanks to everyone else, plus the few that didn't want to comment directly on the list, I agree with you. In the end I need to make a simple and quite serious decision: should we spend time and try and develop a project in Rev? And into the future: should we switch our whole team over to Rev? At least with a stable editor I can and will continue evaluating the product without worry. The list has been more than helpful in helping me to ?drive around the potholes? for the time being. For the record: if the List hadn't been so kind and generous, I would have left Rev with a bad taste in my mouth after about a week of testing. My earlier excitement with the power built in to the Rev engine, and my earlier speed tests, would have been lost on a list of issues that can and should be fixed. If getting new customers is part of the Rev teams aim, then perhaps a bit of tidying up would be in order? It seems from the list things have improved somewhat, so there is hope is what I hear. Feature freeze n fix. As a suggestion perhaps the Rev List could start up a small spec for a new script editor? A basic screen layout showing dock-able Variable and Message watcher and a streamlined interface could be a start point. There are plenty of good editors out there we could use as reference ... optimised functional layout and best real estate use. I?d certainly be willing to help, however my Transcript skills are rather lacking at this early stage... ROI is a very valid point. I?ll be able to look at this later once I get past first base... but I am very impressed with the engine. I wouldn?t feel I had a good ROI if I sat my team down and asked them to write a simple script editor as their first project. The breakpoint issue is a fantastic tip, I?ll keep that in mind when I have to return to Rev for debugging. Who is the team than developed the Engine? Hats off to this team! Are they still developing it as a separate company? Seems like Metacard no longer exists? Is there a list that tells me what has been recently added to the Engine (and may be buggy), separate from Rev additions? I guess that any command starting with RevCommandName is a transcript equivalent? Is there a way to turn OFF storing the custom property formatted script? Surely this bloats out the stack considerably and from what I can gather (and guess by my loss of data) may have other issues... just to make the scripts look pretty (pretty wild if you turn on default script colorization!). I?d opt for the plain Jane version if it saved all the other issues. BTW thanks Trevor, script colorization in BBEdit works perfectly and is actually useful. I?m a programmer and I run a small team so we are very familiar with development cycles. Rev has done an amazing job, no two ways about it. The community is extremely kind and nurtures newbies, rather rare to see. Makes me want to immediately get in and fix the Transcript code myself, if I could, and contribute back. I just wonder how committed Rev are to their alpha - beta - gold candidate cycle? Maybe the product has enough features now to sit down and go back over what has already been put in place? I have had many issues with tables, again loss of data and data returning after I?ve hit the delete key. Very odd. Are tables a recent addition? I?ll stay clear of these too. Thanks again to all the kind and generous spirits out there. I?ll keep testing Rev and hope for more success, which I know will come. Perhaps then my questions will be more focused on silly script mistakes and learning Transcript, a process I will certainly enjoy. Regards, Peter Armstrong __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From ambassador at fourthworld.com Sat Apr 9 19:32:38 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Apr 2005 16:32:38 -0700 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409231213.65037.qmail@web80902.mail.scd.yahoo.com> References: <20050409231213.65037.qmail@web80902.mail.scd.yahoo.com> Message-ID: <42586616.6000206@fourthworld.com> Peter Armstrong wrote: > In the end I need to make a simple and quite serious > decision: should we spend time and try and develop a > project in Rev? And into the future: should we switch > our whole team over to Rev? Do the one project first, then you can decide from an informed place about the efficacy of moving the whole team. :) > As a suggestion perhaps the Rev List could start up a > small spec for a new script editor? I've been asked to make the script editor from my devolution toolkit open source. (Buried in ). My editor is forked from the one in the MC IDE, so it would take some non-trivial work to integrate it with Rev's debugger. And for myself, I'd really rather find a way to move the various subwindows (e.g., Variable Watcher) into one window to relieve what feels like clutter to me now, but I'm sure others feel differently and we'd have to sort out what's best (or have multiple versions). It'll take some work to prepare it for an open source process, but if there's sufficient interest from people willing to do some hefty coding I'll do the groundwork to set that up. Provided that interest turns into actual code, this could be a first step toward an "atomic" IDE, one in which the IDE itself is really just a shell that holds together any number of interchangeable components.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From lists at mangomultimedia.com Sat Apr 9 19:57:14 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 9 Apr 2005 16:57:14 -0700 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409231213.65037.qmail@web80902.mail.scd.yahoo.com> References: <20050409231213.65037.qmail@web80902.mail.scd.yahoo.com> Message-ID: <5bd109719662e0f12b15e789f14821df@mangomultimedia.com> On Apr 9, 2005, at 4:12 PM, Peter Armstrong wrote: > Thanks Trevor, the external edit in BBEdit seems to > work nicely! At last I can relax and get down to > understanding Rev and not worry about my code. An > excellent addition (Transcript terms) to BBEdit. You might want to look at using BBEdit Glossaries. You can create mouseUp, mouseDown handlers, if/then, repeat loops, etc. or just a generic glossary entry which creates a function or command from the selected word. This saves a lot of typing. > Thanks Alex (?) at Mindlube for the great MLXEditor, > seems to be the conduit necessary between Rev and the > outside world. Great! Nice and easy, works perfectly > as far as I can tell. Maybe Rev should build > something like this in to the IDE? It would be nice if Rev added support for 3rd party editors in the future as part of the package but for now Alex has a plugin that does a great job. I use BBEdit for just about everything I do and so I've become proficient with the BBEdit way of doing things. Not having to switch between different editors makes me much more efficient since I'm not having to switch modes if you will. I also like to command tab between my applications in Rev and my scripts in BBEdit. I think it keeps things a little less cluttered. I only open up the Rev editor when I need to debug (hold down the shift key while opening a script to by-pass BBEdit and open the script in Rev). > Is there a way to turn OFF storing the custom property > formatted script? Surely this bloats out the stack > considerably and from what I can gather (and guess by > my loss of data) may have other issues... just to make > the scripts look pretty (pretty wild if you turn on > default script colorization!). I?d opt for the plain > Jane version if it saved all the other issues. BTW > thanks Trevor, script colorization in BBEdit works > perfectly and is actually useful. If you turn off script colorization and formatting and don't edit your scripts in Rev then I don't think the script gets stored by Rev since you are opening and editing in BBEdit. I could be wrong about this though. I use Chipp's plugins and I don't think my stacks ever have script bloat when using altClean. Rev is an excellent development tool. It has quirks and that can sometimes be a hassle, but I feel that I have been the most productive I've ever been using Rev. It really puts a lot of power in your hands and for that reason I'm willing to deal with the quirks. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From b.xavier at internet.lu Sat Apr 9 20:04:42 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 10 Apr 2005 02:04:42 +0200 Subject: RevSession opening issue (was RE: RunRev versus WinRar) In-Reply-To: <4257FD35.9060508@fourthworld.com> Message-ID: <20050410001740.D2D439300E4@mail.runrev.com> > Precisely. But without the OS vendor managing a central > registry, we must rely on the goodwill of third parties and > their various ad hoc substitutes; i.e., it may not be > possible to "know"; at best we can only guess, and hope. Although I miss the "creator" code which was quite handy, it doesn't prevent (and please correct me if this has been fixed since) other files from being opened by the wrong program on macs. Examples like ttxt, ????, MSFT, R*ch, etc will definitely force you to choose manually which program to use or have an add on editor to change the creator codes to your liking. Something which doesn't work without file extensions !!! So was my mac experience. On PCs, one or many types are handled by your favorite app. You just set the extensions, and done. I know there can be conflicts but even at work with 40 million files, all the IDEs you'd care to hear, I haven't had word of trouble in this dept... > > Rev still can't open stacks normally on PCs when you double > click on > > it's documents - the stacks or your application's > stack-documents... > > Win32 always opens another session of Rev... > How does this differ from Notepad or Internet Explorer? > > Try this: > > 1. Open Notepad > 2. Type something in the new document > 3. Save it to the desktop, but leave it open 4. In the > desktop, double-click the saved document > - it opens a second instance; changes saved in either instance > will overwrite the file, but neither instance will let the > other know > > I can't find verse and chapter on this behavior in the Win > HIG, but it's a documented part of the OS (Ken, still have > that reference handy?). Im not sorry at all for the long detailed explanation that follows. Just a bit of background, and behavior design by example principles. Just hope it helps ya dig or tame the dark side - irony, sarcasm, inferences are all figments of your or my imagination and is purely fictional or just a figment. I tried to stay objective (xed.) Let's not look at what Moft recommends (notepad is just not a good example of GUI standards (like most NT4 guis - note it took MS until W2K to put the control-s shortcut in the menu! And F3 is so intuitive while Cmd-F gather dust. grrr) - notepad is rather a lame tool for usability testing (no drag'n'drop though) or standards comparison (it's ok to test fonts, or r/w files or edit html, cmd's or txt files for example). But look at how ....ALL..... other programs do open many docs into one app session which also are the likes of Rev, I mean real Editors... Whether files are opened as different files, tabs or cards in a parent window, doesn't matter but you have the choice and that's where the double clicking becomes pratical for Rev Files or becomes a "thing to avoid doing". Most programs also offer to watch or correct or overide or not the extension in the OS which is a common feature im sure you've seen too. UltraEdit, Photoshop, CodeWarrior, the Flash IDE, etc, etc, etc all work as expected... Sorry to contradict you again but it's more of a rule of thumb or a common sense standard, or a feature design or a programmer's choice. I dont like most Moft or Apple programmers for their lack of insight in correct and in depth management of the common sense of some GUIs but that's another "monopolistic behavior" economics of innovation story. A curious exception you mentioned is the browser area. Here, there's no lack of innovation in a lame delivery environment - stacks are much better ;) But... Depending on the preferences you set in your pc (you know, options in the tools menu), you can have IExploiter open new windows or reuse the window (same in dos or explorer); ABBrowser(.com), gives you the option of tabs, or new windows and FireFox screws it up by default reusing your current (or last viewed) tab - but there's surely a plugin to solve this! After 6 years in the NT world, I got to add that there are the MS standards (and WMI is truely awesome and scales up to advanced directory forests in a snap - pun int.!), then there's the normal (common sense) standards, the mac standards (very nice as usual but poor on keyboard ergonomics (last i tried)), the lame standards (win3.1, nt4, some unix, some mac gui limitations none of which can't be enlightned with crash-risk increasing extensions) and last but not least the opensource standards - usually the best of all of the above. None is wrong, just unpleasant at some point or many. Some of the most sophisticated software I got has some of the worst GUIs out of their purpose program - it's so far out that it's mind boggling a programmer touched this! It's amazing they are so popular or that it never gets fixed either, let alone cost money, or how they became the best of their class!!! But making nice guis takes time, testing and more time! ;< It seems like a trivial thing but it cascades farther than one dares imagine. That's the intrisic and stochastic nature and interface design of gui economics andor ergonomics thing... but that's another IT ecosystem ;) I dont mean to be an expert in it nor is my word to be mixed with Absolute (i only drink our belgian mineral water Jupiler ;), but I like to weight all advantages and disadvantages and compound them by the frequency at which I can or cannot use them... Then it's practical or not. In brief, this one "session opening" issue makes the iexplorer standards or any other Win32 file launching ability (toolbars, palettes, start menu, shortcuts, cmds, etc...) useless to open further stacks in the only session you'll ever open and use. It also makes it possible to change rev stacks using two different running sessions if you do see it in time (and it's not hard not to notice you have 2 rev session opened.) I think that covers enough frag damage digging bullets in other kill zones. And a possible route with an extension to my windows batch to open RunRev (the one that saves sessions.logs from being overwritten!) Well, that wasn't so hard to resume after all. Richard, i dare not venture arguing against Macs. Like many others and for very valid reasons, we can't justify a platform switch but enjoy the possibility to share cross-platform tools up to where it is support[ed|able] - after that, it is just the extra steps that make good software conform easily or not to others or even on [our|your|e] own platform (thus less support for all no matter what - but that comes at the IDE or IDE GUI level to start. And 2.5, 2.5.1, are showing progress!). I see business or ergonomic issues which I keep pointing out that need adapting to quality standards. I hope the critique is taken positively and not as a rant. Just had too add some background credibility babling i guess ;) My short week off the cyber world visiting my mom was truely invigorating and mind opening too. Would you believe my mom has more creative nitrous than me? ;) If you're ever around Lyon.fr, and need a bed and breakfast, you'll flip! It's not so bad, I can still do ma own gui to ma own standard across HC, FMP, MC, AS and Rev! (More to come Dan!) Just adapting to other standards... The simple solution to this problem was writing my own NeXT pseudo-Browser+TAOO Preview+Editor... All modular and "reassemblable" into any other app! Now that's a feature cascading standard! And it only gets better! Want to join the TAOO team yet? Watch the next thread! Cheerios Xav http://monsieurx.com/runrev From b.xavier at internet.lu Sat Apr 9 20:18:56 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 10 Apr 2005 02:18:56 +0200 Subject: opengl In-Reply-To: <6.0.3.0.0.20050409214820.0193f3d0@localhost> Message-ID: <20050410003154.2B83C9300E4@mail.runrev.com> Ed, > Hello: I'm trying the 2.5.1 revolution and want to know if > there is a way to use opengl in a stack for display 3d, > multiplatform of course. Canon Oye! We all want openGL, we're all voting for that bugzilla suggestion (si senor! pero donde se fue?), we all love you for posting that mail, one more to the list! ;) Scripteable polygons or 3D bezier meshes would be cool too with shading and multiple light objects - plugins a la wazoo, realtime shading, doom scenarios walkthrough and all ;) Meanwhile, you can use some cool tricks like Alejandro's 3D objects or there was a nice mesh animation out there but forgot who brought it out... You're best best is creating animations prior or along the stack's program. Quicktime is the easiest to implement and it's cross-platform with opengl importing along the way somewhere (adobe 3d, strata, etc...). I just do 3D in 2D moires for the moment... But I noticed a few excellent multiplaform 3D renderers on open/sourceforge.org. Blender (ggl it) is weird but does it all with truely jedi quality and seemingly free open source. Pre-render and play later in your stack is how the Mist legend started! A common interactive alternative solution... Manga style animations are also possible with graphic backgrounds... Who remembers Cosmic Osmo? Vectors you need to render yourself but I think you got more power than a Vector arcade game there! So what do you want to do? cheers Xavier http://monsieurx.com/runrev From b.xavier at internet.lu Sat Apr 9 20:30:20 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 10 Apr 2005 02:30:20 +0200 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050409113452.1147.qmail@web80903.mail.scd.yahoo.com> Message-ID: <20050410004318.D3070930061@mail.runrev.com> Peter, > I guess the main point of reference is other script editing > environments (both scripted and compiled) that I've had to > deal with over the past 16 years. Rev has really made me > worry about the SAFETY of my code. I'm sitting here testing, > learning, then BOOM! Gone. This is usually know as the enlightment process in scripting. >From this process are borned newer generations of scripts and sturdier software that can widthstand crashes for eternity! Just save often or use an auto saver (not hard to do with the send "savestack" to the topstack in 20 seconds kind of script But it's not always advisable to save continually... ;) There's more than one CVS type solution also that you can build or already available. Im writing a virtual Undo mechanism for example... What do you want to redo in your os later is probably what you didn't want to do and undid before. How many IDEs or apps or OSs have that? I'll try working on it a bit more soon I promess... Then we are all saved! ;)) cheers Xav http://monsieurx.com/runrev From b.xavier at internet.lu Sat Apr 9 20:51:03 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 10 Apr 2005 02:51:03 +0200 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <4257602B.7020404@fourthworld.com> Message-ID: <20050410010400.F271E93012E@mail.runrev.com> > I feel pretty strongly about the engine myself. Woah! I like that kind of feeling! Like using a Mac, a Z3 Coupe or RunRev right? :) > FWIW, the engine is about 14 years old, and the RunRev IDE > much more recent. The engine used to be owned by MetaCard > Corp., and after the acquisition of the engine by RunRev Ltd. > the old MetaCard IDE was re-released as an open source project: > > > Many people consider the MC IDE to be quite primitive, but > it's for that reason that I use it: it keeps the minimal > distance between my work and the engine. I honor that! I also hope to make Richard glad to hear that TAOO will support Metacard no matter how primitive it may look. Although it may thoughen the competition for Devolution (which I'll gladly test for enhanced compatibility) it will not interfeer and keep that path to the finished app the shortest ever as you like to feel! And add a zillion more primitive features to it! revolutions and competition are so healthy ;) cheers Xav From ps1 at softseven.org Sat Apr 9 23:22:56 2005 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 09 Apr 2005 22:22:56 -0500 Subject: troubles getting a global thisThing,thatThing,theOtherThing to work. Message-ID: <6.1.1.1.2.20050409220834.029069e8@softseven.org> Dear Rev Programmer, I need help on passing a global variable from the stack to the cards on at least a 2 card stack. I would like to pass my age to both cards (24) we will say, when the cards open. Please help a working stack would be nice. Thank you! Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From kray at sonsothunder.com Sat Apr 9 23:58:55 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 09 Apr 2005 22:58:55 -0500 Subject: troubles getting a global thisThing,thatThing,theOtherThing to work. In-Reply-To: <6.1.1.1.2.20050409220834.029069e8@softseven.org> Message-ID: On 4/9/05 10:22 PM, "Paul Salyers" wrote: > Dear Rev Programmer, > > I need help on passing a global variable from the stack to the cards on at > least a 2 card stack. > > I would like to pass my age to both cards (24) we will say, when the cards > open. script of stack: --------------- global gMyAge on openStack put 24 into gMyAge end openStack script of cards: ---------------- global gMyAge on openCard put gMyAge into field 1 -- or wherever you need it end openCard > Please help a working stack would be nice. Yes, but not necessary since it's so simple... :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From matt.denton at limelight.com.au Sun Apr 10 00:25:01 2005 From: matt.denton at limelight.com.au (Matt Denton) Date: Sun, 10 Apr 2005 14:25:01 +1000 Subject: XML and Plists In-Reply-To: <20050409160005.E80139300F9@mail.runrev.com> References: <20050409160005.E80139300F9@mail.runrev.com> Message-ID: <118aa5e6368388098dfa878faa2012e2@limelight.com.au> Hello all. Has anyone had experience parsing then using Apple's PLIST XML? I've attached the DTD and spent quite a bit of time fiddling around with it, however I haven't had much success navigating the tree or getting node values. I ended up ditching this and built my own simple structure. Has anyone created or worked with PLISTs? Caveats? I'll go back and and spend some more time now that I've got a better handle on the Rev XML commands (sometimes a bit finicky) however if anyone has had a go and has any tips or sample code then I would much appreciate it. Many thanks again! Cheers M@ Matt Denton From Karen at curlypaws.com Sun Apr 10 06:06:01 2005 From: Karen at curlypaws.com (Karen) Date: Sun, 10 Apr 2005 11:06:01 +0100 Subject: [ANN] Stock Portfolio Message-ID: I've finally finished my first Revolution project thanks to all the wonderfully helpful people on this list. I've packaged it up and I'm currently wondering whether to attempt to market it as shareware :-). It isn't as impressive as a lot of the stuff I've seen from other list members (like Jim's Pool program), but I'm quite pleased with it! The program is intended to allow you to track stock prices and your own portfolio of shares. It runs under either Windows XP or Mac OS X. I've done quite a bit of testing on it, but any bug reports would be very welcome. It uses price data from Yahoo so there are slight delays on the prices. At the moment it caters for US and UK stocks, but it shouldn't be difficult to add other markets. You can view graphs of the price data, pull up further details, export the historical price data and print stuff out. You can set an automatic update frequency and set the currency through the preferences window. There is online help, available from the Help menu within the program. The text of this is all complete though I'm still adding screenshots. There isn't an "online store" yet as I've not decided whether to market it and some of the other links such as Support, Copyright and Privacy don't work yet either. As a thank you to all on the list for your help, I've decided to throw it open to list members for free. If you are interested then drop me an e-mail and I'll send you a key for it. The program itself can be downloaded at http://www.curlypaws.com/stockportfolio/ and should allow you to add 5 stocks and 1 portfolio item without needing a registration key. I'd love to hear what you think of it. Thanks, Karen From david at dvglasgow.wanadoo.co.uk Sun Apr 10 06:10:43 2005 From: david at dvglasgow.wanadoo.co.uk (Mr D Glasgow) Date: Sun, 10 Apr 2005 11:10:43 +0100 Subject: Physiological data acquisition via USB In-Reply-To: <20050410041218.931C0930150@mail.runrev.com> References: <20050410041218.931C0930150@mail.runrev.com> Message-ID: <1667ab851b6418faf450d8a899f51226@dvglasgow.wanadoo.co.uk> This has popped up on the list now and then, but typically those trying to achieve it seem to retire disillusioned. The last one in the archives was Elizabeth Dalton....are you still out there Elizabeth? Did you get anywhere? In fact, is there *anyone* out there who has managed to use Rev to acquire either galvanic skin response or heart rate on either Mac or Win (as usual, preferably both)? Best Wishes, David Glasgow http://www.i-psych.co.uk From Stgoldberg at aol.com Sun Apr 10 07:58:55 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 10 Apr 2005 07:58:55 EDT Subject: Can one manually resize an object proportionately? Message-ID: <1e1.3a07a808.2f8a6eff@aol.com> Thanks, Malte for your suggestions. However, in this case what I am suggesting is that rather than having to type in numbers to resize an object proportionately, there needs to be some way to do this manually, such as holding down the Shift key while doing the resizing (like in Photoshop), which I don't see is a feature of Revolution. In that way, one can do the resizing on the fly, eyeballing whether or not the object is the right size for the card, rather than having to experiment with different numbers until the size seems right. So if anyone has way of doing this, I'd certainly like to hear about it. Thanks. Steve Goldberg In a message dated 4/10/05 12:23:47 AM, use-revolution-request at lists.runrev.com writes: > From: Malte Brill > Subject: Re: # Can one manually resize an object proportionately? > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain;? ? charset=US-ASCII;? ? format=flowed > > Hi Steve, > > >Although one can go into the Revolution property inspector and do some > >calculation to resize an object proportionately, e.g. to say 1/3 the > size, when > >trying to do this manually I do not see a way to control the resizing > >proportionately. > > You can easiely write a function to do it and do your resizing with the > messageBox. > > If you like to take a look at libRMC (a small Multimedia Library I > wrote) you can save a bit of work. :-) > > You will need to put the stack in the messagepath (start using stack > "libRMC") > > If you want to find out what other features it offers type > > libRMCInfo > > ? into the messagebox. > > From the docs: > > aspectScale left,top,right,bottom[,setLockLoc] > > set the aspectScale of img "myImage" to 100,100,400,400,true > set the aspectScale of fld "myField" to the rect of grc "myGraphic" > > setting the aspectScale of a control scales it in the correct > width-to-height ratio to the biggest dimensions possible to fit in the > specified rectangle. you can specify if the lockLoc of the control > should be set to avoid unwanted resizing when closing/reopening cards. > > > You find the library here: > > http://www.derbrill.de/librmc/libRMC.rev.zip > > The docs: > > http://www.derbrill.de/librmc/docs.pdf > > Cheers, > > From Stgoldberg at aol.com Sun Apr 10 08:08:06 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 10 Apr 2005 08:08:06 EDT Subject: Does it save disk space using a grouped image as a background? Message-ID: <54.41fbae7f.2f8a7126@aol.com> If an image is going to appear on many cards and one wants to save disc space, I found the advice very useful from the forum to use the image as an icon. I was wondering whether or not it may also save disc space to group the image and set it to act as a background. For instance if I have an image that I'd like to use as a button to appear on many cards, if I set it to act as a background, will it use less disc space than if I did not set it to act as a background? Or would I need to import it as a "referenced control" in order to conserve disk space? Thanks. Steve Goldberg From marty at vertex.ucls.uchicago.edu Sun Apr 10 08:38:39 2005 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Sun, 10 Apr 2005 07:38:39 -0500 (CDT) Subject: # Can one manually resize an object proportionately? In-Reply-To: <20050410041218.03F5E930147@mail.runrev.com> References: <20050410041218.03F5E930147@mail.runrev.com> Message-ID: Malte Brill writes: > > Hi Steve, > > >Although one can go into the Revolution property inspector and do some > >calculation to resize an object proportionately, e.g. to say 1/3 the > size, when > >trying to do this manually I do not see a way to control the resizing > >proportionately. > > You can easiely write a function to do it and do your resizing with the > messageBox. Yes, but why should you have to do that? All other Mac apps that I work with will resize an object proportionately if the shift key is held down as the corner handle is grabbed. Why on earth doesn't RR do this? Is there a reason, or is it an oversight? (Is it a feature or a bug?) Seems like every time I ask a question like this, it turns out there's a thought-out reason that RR is implemented the way it is. (Such as, I asked why it's the default to have images revert to their original sizes and positions unless locked, and it turns out that that was a deliberate decision, not a bug the way I thought it was.) Anyway, is there a reason that Shift-drag doesn't resize proportionately, or is it an oversight? cheers, - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From Stgoldberg at aol.com Sun Apr 10 09:38:53 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 10 Apr 2005 09:38:53 EDT Subject: Suggestions for a new Revolution User Guide Message-ID: <1f9.76b75bd.2f8a866d@aol.com> As a new Revolution user (former HyperCard/mTropolis user) and having read through the User Manual and Dan Shafer's book, I find the program very powerful and useful. However, I'd like to make the following suggestions toward producing a new User Guide, and which I think would better attract new users. There are important basic features in the present user interface that seem to be inadequately documented even for those with a programming background, let alone those totally new to programming. I suspect Revolution may turn off new potiential users unless certain changes are made to the documentation. My suggestions toward a new manual are as follows: 1. Eliminate the printed Transcript Language reference guide. It is duplicated in a much more efficient manner in the onscreen Reference Documentation window. 2. Eliminate the "How To" section in the printed User Guide. Much of this is already in the Topics section of onscreen Reference Documentation which can be beefed up to include all of the "How To" topics. 3. Instead, have a single, smaller user manual organized so there is: A. A new friendly introductory chapter describing the general features of Revolution. As is, the manual is not very user-friendly to newbees. One has to go through some 55 pages before getting to a section called "About Revolution for new developers". These first 55 pages could largely be placed in an Appendix, so that someone totally new to programming does not have to wade through it. B. There needs to be a systematic explanation of the various windows in Revolution, in particular the Inspector and message box windows, which are not presently well documented. The reader should be taken through each checkbox and menu item in the inspector and message box windows. The Tools window also does not seem well-documented in any one place (Where is there an explanation as to how to make proper use of the slider, progress bar, little arrows and scrollbar items, and the drawing tools?) One can find scattered information but it does not seem well-organized in any one place. C. There should be a systematic explanation of the main top menubar, including all the features of the "Standalone Application Settings" part of the File menu, which presently is not well documented. Thus the "Menus" section of the present User Manual should be upgraded. D. There should be a brief overall chapter on Revolution scripting. It need not be extremely detailed. Details can be obtained in the already excellent Dictionary in the "Reference Documentation" Window. Also, when Dan Shafer completes his book (I still remember reading through and using his excellent book on HyperCard scripting some years ago) it should be very valuable in pointing out and elaborating on the more advanced and useful things that scripting can do. E. I'd keep the Shortcuts and Troubleshooting parts of the present User Manual. The Glossary terms don't have to be listed over 12 pages in the Index. It is sufficient to have them just listed in the Glossary, which could actually be eliminated in favor of simply putting a Glossary on disc as part of the "Reference Documentation". In general it is easier to read short segments of text on a computer than long paragraphs of text, so the short segments (Topics, Dictionary, Objects, Glossary) would fit well being placed on-screen, while longer explanations would fit better in a book. (By the way, I have been writing, editing and publishing medical books and CDs for the past 25 years, at www.medmaster.net, and am used to evaluating which forms of communication fit better in a book and which on CD). With a single, short, well-documented, organized manual it would be easier to attract new users. I'd be happy to help write (or edit) one myself at no charge, if the current developers are interested, since I am so impressed with the potential for Revolution, but first I'd have to fully understand all the features myself. So far, I've found this forum a great avenue for communication. I'm looking forward to the conference at Monterey. Steve Goldberg www.medmaster.net stgoldberg at aol.com From mikeythek at gmail.com Sun Apr 10 09:48:44 2005 From: mikeythek at gmail.com (Mikey) Date: Sun, 10 Apr 2005 09:48:44 -0400 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050410010400.F271E93012E@mail.runrev.com> References: <4257602B.7020404@fourthworld.com> <20050410010400.F271E93012E@mail.runrev.com> Message-ID: <9b408d8e050410064852551c7f@mail.gmail.com> IT'S THE TAO! Anyway, if I could get some of you to submit some of the well-known (but not-so-well-documented) issues for the Tao Blog it would be nice. You can view the Tao of Runtime Revolution at taoofrunrev.blogspot.com You can email me here, or if you think you might be a more frequent contributor, you can email me and join the project. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From Stgoldberg at aol.com Sun Apr 10 10:47:04 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 10 Apr 2005 10:47:04 EDT Subject: Suggestions for a new Revolution User Guide Message-ID: <8e.2510a731.2f8a9668@aol.com> This is an addendum to my previous note also listed today. I erred in referring to the current Glossary terms being listed in the "Index". Rather they currently are listed, of course, in the Table of Contents, and as mentioned, the Glossary terms do not need to be duplicated in the Table of Contents. It is sufficient to list them in the Glossary itself. Also, as has been pointed out in previous forum discussions, the book needs an Index as well. Otherwise it is difficult to find what one is looking for. Steve Goldberg From ambassador at fourthworld.com Sun Apr 10 11:03:12 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 10 Apr 2005 08:03:12 -0700 Subject: Currency and percentage in numeric evaluation Message-ID: <42594030.4000207@fourthworld.com> I need to evaluate a large number of short strings to determine whether they are numeric. Some of these are percentages, and include the "%", and others are currency and can contain "$". the Euro, Yen, or any number of other signs. With dates we have a convenient test: try to convert it, and if it fails it will tell you why. But we have no such convenience with percentages and currency. So what is the most efficient (heck, I'd settle for reasonable efficient) way to determine if a string is numeric given the wide range of currency formats in common use? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From b.xavier at internet.lu Sun Apr 10 11:29:33 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 10 Apr 2005 17:29:33 +0200 Subject: Currency and percentage in numeric evaluation In-Reply-To: <42594030.4000207@fourthworld.com> Message-ID: <20050410154231.4509893005F@mail.runrev.com> if it's a number return true other wise you have to parse it char by char to do any kind of an effective job. A grep bolean search could help too... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Sunday, April 10, 2005 17:03 > To: How to use Revolution > Subject: Currency and percentage in numeric evaluation > > I need to evaluate a large number of short strings to > determine whether they are numeric. Some of these are > percentages, and include the "%", and others are currency and > can contain "$". the Euro, Yen, or any number of other signs. > > With dates we have a convenient test: try to convert it, and > if it fails it will tell you why. > > But we have no such convenience with percentages and > currency. So what is the most efficient (heck, I'd settle > for reasonable efficient) way to determine if a string is > numeric given the wide range of currency formats in common use? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Sun Apr 10 11:46:47 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Apr 2005 17:46:47 +0200 Subject: Currency and percentage in numeric evaluation In-Reply-To: <42594030.4000207@fourthworld.com> References: <42594030.4000207@fourthworld.com> Message-ID: Hi Richard, A post by Thierry Douez (R?p : Seperate numbers from text Date: 6 avril 2005 10:18:44 GMT+02:00) might get you started: > Hi, > > DR> Is there a way to seperate numbers from text in a string? > DR> e.g "string69" to return 69 or "string69also" to return 69 > > try this : > > put "asdfsdfsdf765xcxccxcv123cvccv" into s > -- erase all numbers > put replaceText( s, "\d+", empty ) into r1 > > -- erase all text > put replaceText( s, "[^\d]+", empty ) into r2 But I am afraid it's a real problem if you want to trigger all kinds of expressions : $12 12 $ $12.65 12,65 $ etc. If you have no decimal values, an approach by "word" may be helpful... Best regards, Le 10 avr. 05, ? 17:03, Richard Gaskin a ?crit : > I need to evaluate a large number of short strings to determine > whether they are numeric. Some of these are percentages, and include > the "%", and others are currency and can contain "$". the Euro, Yen, > or any number of other signs. > > With dates we have a convenient test: try to convert it, and if it > fails it will tell you why. > > But we have no such convenience with percentages and currency. So > what is the most efficient (heck, I'd settle for reasonable efficient) > way to determine if a string is numeric given the wide range of > currency formats in common use? Eric Chatonet. ---------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From b.xavier at internet.lu Sun Apr 10 11:54:35 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 10 Apr 2005 17:54:35 +0200 Subject: ANN: BreakpointNavigator Plugin release Message-ID: <20050410160731.973BC9300CE@mail.runrev.com> Here's the release of the breakpoints navigator plugin stack. You can view the screenshots and download it from This stack will delete your badly referenced breakpoints and delete bad customproperties to inexisting controls to save you from loosing work as detailed in bugzilla 2483. The stack is working quite well but im not sure I got all the quirks out. Please let me know if you encounter anything or a stack that doesn't get fixed! This stack was not mac tested so If here's any visual problems, I'd love to see a screen shot (gif or png if possible) to resolve it. Regards, Xavier http://monsieurx.com/runrev From dsc at swcp.com Sun Apr 10 12:01:44 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 10 Apr 2005 10:01:44 -0600 Subject: Currency and percentage in numeric evaluation In-Reply-To: <42594030.4000207@fourthworld.com> References: <42594030.4000207@fourthworld.com> Message-ID: <80ffff6b2e058535b7fdce1d0113341a@swcp.com> On Apr 10, 2005, at 9:03 AM, Richard Gaskin wrote: > I need to evaluate a large number of short strings to determine > whether they are numeric. Some of these are percentages, and include > the "%", and others are currency and can contain "$". the Euro, Yen, > or any number of other signs. If this is an 8-bit encoding, and these are lines, then maybe you can separate them with filter. Do you need E notation, too? If you need a more exact match, you might need to use a regex. If this is unicode, you might need to process each unicode character or make an ugly regex for your byte order. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From swartart at iafrica.com Sun Apr 10 13:03:16 2005 From: swartart at iafrica.com (Ryno Swart) Date: Sun, 10 Apr 2005 19:03:16 +0200 Subject: Tabbed buttons. In-Reply-To: <20050410041218.45E189300E4@mail.runrev.com> Message-ID: <6EAA7FE4-A9E2-11D9-9AD0-003065D180EE@iafrica.com> Does anybody have a simple (simple!) example of working with tabbed buttons? I went through the documentation, even searched the net, but the only information I could find was so obscure as to be useless. I need to have spelled out "With the edit tool selected, click on the tab marked 'Tab 1'. Now open the script editor... " and so forth. Many thanks, folks. Ryno. From jhurley at infostations.com Sun Apr 10 13:43:31 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 10 Apr 2005 10:43:31 -0700 Subject: [ANN] Stock Portfolio In-Reply-To: <20050410160039.99F939300DA@mail.runrev.com> References: <20050410160039.99F939300DA@mail.runrev.com> Message-ID: > >Message: 2 >Date: Sun, 10 Apr 2005 11:06:01 +0100 >From: Karen >Subject: [ANN] Stock Portfolio >To: "use-revolution at lists.runrev.com" > >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >I've finally finished my first Revolution project thanks to all the >wonderfully helpful people on this list. I've packaged it up and I'm >currently wondering whether to attempt to market it as shareware :-). It >isn't as impressive as a lot of the stuff I've seen from other list members >(like Jim's Pool program), but I'm quite pleased with it! >(snip) (Thought this a good place to snip :)) Karen, Very impressive for a first effort--or last for that matter. I felt so proud when I did my first: Print "Hello" I don't do stocks. My last stock drop about 80% and the company gouged CA (where I live) driving up electricity rates. A double whammy. So I can't be of any help on the utility of your program. But, and this is the tinniest thing, if you would like to convert numbers like I see on your web site (10442.87) to the usual comma formatted form, i.e. 10,442.87, you may want to use the following converter: function commaFormat tNum put tNum mod 1 into remainder -- 0.87 delete char 1 of remainder -- .87 put trunc(tNum) into tNum --10442 put the number of chars in tNum into n repeat with i = 1 to trunc((n-1)/3) put comma after char n - 3*i of tNum end repeat return tNum& remainder end commaformat There may be a built-in Run Rev version. Jim From dsquance at elkvalley.net Sun Apr 10 14:21:15 2005 From: dsquance at elkvalley.net (David Squance) Date: Sun, 10 Apr 2005 12:21:15 -0600 Subject: ANN: BreakpointNavigator Plugin release In-Reply-To: <20050410160731.973BC9300CE@mail.runrev.com> References: <20050410160731.973BC9300CE@mail.runrev.com> Message-ID: <281c58708c6f01c4e27e754aa29f7f1d@elkvalley.net> I get only a screen full of script. Is this a 'go url' thingy for the message box? Dave On Apr 10, 2005, at 9:54 AM, MisterX wrote: > Here's the release of the breakpoints navigator plugin stack. > > You can view the screenshots and download it from > > > > This stack will delete your badly referenced breakpoints and delete bad > customproperties to inexisting controls to save you from loosing work > as > detailed in bugzilla 2483. > > > > The stack is working quite well but im not sure I got all the quirks > out. > Please let me know if you encounter anything or a stack that doesn't > get > fixed! This stack was not mac tested so If here's any visual problems, > I'd > love to see a screen shot (gif or png if possible) to resolve it. > > Regards, > Xavier > http://monsieurx.com/runrev > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at derbrill.de Sun Apr 10 14:46:46 2005 From: revolution at derbrill.de (Malte Brill) Date: Sun, 10 Apr 2005 20:46:46 +0200 Subject: Can one manually resize an object proportionately? In-Reply-To: <20050410160039.D62119300DB@mail.runrev.com> Message-ID: Hi Steve, ok. I thought about it for a while and scripted a little quirky version. It works relatively good. Hold down the commandKey while resizing. Hope it helps. With libRMC in use try this in your stacks script (mind linewraps!): on moveControl set the isLeftObj of this cd to the left of the selectedObject set the isTopObj of this cd to the top of the selectedObject set the isrightObj of this cd to the right of the selectedObject set the isbottomObj of this cd to the bottom of the selectedObject end moveControl on selectedObjectChanged if the selectedObject is empty then pass selectedObjectChanged put the selectedObject set the isLeftObj of this cd to the left of the selectedObject set the isTopObj of this cd to the top of the selectedObject set the isrightObj of this cd to the right of the selectedObject set the isbottomObj of this cd to the bottom of the selectedObject end selectedObjectChanged on resizeControl if the commandKey is down then if the mouseH>the isLeftObj of this cd then put the isLeftObj of this cd into x1 put the mouseH into x2 set the leftFlag of this cd to true else put the isrightObj of this cd into x2 put the mouseH into x1 set the leftFlag of this cd to false end if if the mouseV>the isTopObj of this cd then put the isTopObj of this cd into y1 put the mouseH into y2 set the topFlag of this cd to true else put the isbottomObj of this cd into y2 put the mouseH into y1 set the topFlag of this cd to false end if if libRMC is not in the stacksInUse then answer "You must start using libRMC for this handler to work" end if set the aspectScale of the selectedObject to x1,y1,x2,y2,false if the topFlag of this cd then set the top of the selectedObject to the isTopObj of this cd else set the bottom of the selectedObject to the istopObj of this cd end if if the leftFlag of this cd then set the left of the selectedObject to the isLeftObj of this cd else set the right of the selectedObject to the isleftObj of this cd end if set the isLeftObj of this cd to the left of the selectedObject set the isTopObj of this cd to the top of the selectedObject set the isrightObj of this cd to the right of the selectedObject set the isbottomObj of this cd to the bottom of the selectedObject else set the isLeftObj of this cd to the left of the selectedObject set the isTopObj of this cd to the top of the selectedObject set the isrightObj of this cd to the right of the selectedObject set the isbottomObj of this cd to the bottom of the selectedObject pass resizeControl end if end resizeControl @Marty: Holding down the shiftkey resizes a control in a quadratic ratio. I like it as a feature even though I agree it should be the other way. Maybe you should enter a request into Bugzilla. Cheers, Malte From howard.bornstein at gmail.com Sun Apr 10 15:09:59 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sun, 10 Apr 2005 15:09:59 -0400 Subject: Can one manually resize an object proportionately? In-Reply-To: References: Message-ID: <3f07cc260504101209823e837@mail.gmail.com> On Apr 10, 2005 7:58 AM, Stgoldberg at aol.com wrote: > Thanks, Malte for your suggestions. However, in this case what I am > suggesting is that rather than having to type in numbers to resize an > object proportionately, there needs to be some way to do this manually, such > as holding down the Shift key while doing the resizing (like in Photoshop), which I > don't see is a feature of Revolution. Here's a quick and dirty way to do what you want. I'm sure someone can come up with a more elegant method. In your stack script put this handler: on mousemove global gRatio,gObject if the optionkey is down then put empty into gRatio end if if there is a selectedobject then if the selectedobject <> gObject then put empty into gRatio end if put the selectedobject into gObject put the width of gObject into tWidth put the height of gObject into tHeight if gRatio is empty then put tWidth/tHeight into gRatio end if if the commandkey is down then set the width of gObject to (the height of gObject * gRatio) end if end if pass mousemove end mousemove You hold down the commandkey to resize proportionally given the exisiting proportions. If you want to change the proportions, then hold down the option key while you change them. Then use the command-key to resize proportionally to the new proportions (is this getting confusing)? Of course, you have to use the selection tool, not the browse tool. Unfortunately, holding the shift key forces the sides of the object to always be equal. The mousemove handler can't override this. :-( -- Regards, Howard Bornstein ----------------------- www.designeq.com From revdan at danshafer.com Sun Apr 10 15:22:46 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 10 Apr 2005 12:22:46 -0700 Subject: New Guide to the IDE in Process Message-ID: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> As I have been participating in this list the past couple of weeks, I have (like everyone else) noticed another significant round of concern about the paucity of documentation on the Rev IDE. As I am now within a day or two of finishing my next promised eBooklet on printing in Rev, I've decided to take the pulse of the community on the demand for a book on the IDE as my next eBook project. My intent is to describe the IDE functionally, perhaps in a manner that looks like the Peachpit Press "Visual QuickStart Guides", i.e., a huge number of screen shots with annotated call-outs and associated notes. So, step one. Please let me know either off-list (revdan at danshafer.com) or here if you'd be interested in purchasing such an eBook if it were available for immediate download at a price of, say, $15. If it seems there's enough interest, I'll move this up on my list. Meanwhile, there are a couple of topics proposed for inclusion in RevCon West June 17-18 in Monterey on the IDE. If you want to: (a) save $70 on the price of admission; (b) vote for IDE-related topics to be included on the agenda; and (c) attend what is shaping up to be the biggest Rev developer gathering ever, please go to the Web site in my sig below. The $70 Early Bird Discount ends Friday, April 15. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From SimPLsol at aol.com Sun Apr 10 15:27:38 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Sun, 10 Apr 2005 15:27:38 EDT Subject: Currency and percentage in numeric evaluation Message-ID: <66.54be1e71.2f8ad82a@aol.com> Richard, You could add zero to it and see if you get an error. Since currency signs are usually the first of last character, you could strip the first or last character after using the zero test above, then test for zero again. Or make a list of all major currencies and see if the first or last character of the string is in the list (the currency list will probably be shorter than you expect). Paul Looney From byront at mac.com Sun Apr 10 15:47:39 2005 From: byront at mac.com (Byron Turner) Date: Sun, 10 Apr 2005 12:47:39 -0700 Subject: more strange behavior - some scripts forgotten Message-ID: Almost every object whose script I open asks to apply changes when I go to close, whether or not there is any script in it or any changes have been made. Should I be worried? Scripts that I fixed long ago, seem to be reverting back to earlier versions. Example I have a script where I created a global and another object script uses that global. When I looked just now, the first object had no reference to that global or any of the succeeding script, but the second object retained it. I opened a previous version and found the first object's script. I've also noted that in my longest script characters take a very long time to show up . . as much as several seconds after I begin typing. Obviously, I'm very concerned. Any theories? Any suggestions on how to proceed? Mac OSX Dual 2.5 G5 6.5 Gig RAM PowerBook 1 GHz 500 MB RAM Same problems on both machines as far as I can tell. From scott at tactilemedia.com Sun Apr 10 16:03:53 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 10 Apr 2005 13:03:53 -0700 Subject: KeyDown/Press Issue - Help Needed ASAP Message-ID: Howdy List: Got a user test happening tomorrow and ran up against an issue on Windows XP where pressed keys cannot be reliably detected and am looking (praying) for a workaround. Have been trying to use the keysDown function to tell when keys are pressed, versus not pressed (default behavior on Windows seems to be keyUp is immediately sent after keyDown, regardless of whether key has been released). Even when used within a repeating handler set to 8 milliseconds below, pressed keys are not reliably detected (empty is often returned even while key is held down): [button script] on mouseUp set hilite of me to not the hilite of me if the hilite of me then set the allowKeyTrack of me to true trackKeys else set the allowKeyTrack of me to false end mouseUp on trackKeys if not the allowKeyTrack of me then exit trackKeys send "trackKeys" to me in 8 millisecs get keysDown() if it <> "" then put it into fld 1 else put "" into fld 1 end trackKeys Can anyone see if this works differently for you? If not, any ideas for a workaround? Tired and under then gun over here... Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Sun Apr 10 16:22:16 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 10 Apr 2005 14:22:16 -0600 Subject: KeyDown/Press Issue - Help Needed ASAP In-Reply-To: References: Message-ID: <0669185471918a01356f3b6d065eaa8b@swcp.com> On Apr 10, 2005, at 2:03 PM, Scott Rossi wrote: > Have been trying to use the keysDown function to tell when keys are > pressed, Maybe you can use rawKeyDown and rawKeyUp. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From Stgoldberg at aol.com Sun Apr 10 16:33:40 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 10 Apr 2005 16:33:40 EDT Subject: Can one manually resize an object proportionately? Message-ID: <127.59e64d7d.2f8ae7a4@aol.com> I have a very crude way of addressing the problem of trying to reduce an object manually proportionately. One takes the vector line tool and draws a line starting just inside the upper left hand border of the image and dragging it to just inside the lower right border of the image. Then you select the image and drag it along the line, thereby keeping the proportions. After the image is the right size, one can erase the line. However, it does seem it would be much better if Revolution changed the scripting so that one can proportionately reduce an object simply by holding down the Shift key while dragging. As it is, holding down the Shift key while dragging changes the object to be a square, which doesn't seem all that useful. Steve Goldberg From alex at tweedly.net Sun Apr 10 16:49:12 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Apr 2005 21:49:12 +0100 Subject: KeyDown/Press Issue - Help Needed ASAP In-Reply-To: References: Message-ID: <42599148.7000200@tweedly.net> Scott Rossi wrote: >Howdy List: > >Got a user test happening tomorrow and ran up against an issue on Windows XP >where pressed keys cannot be reliably detected and am looking (praying) for >a workaround. > > >Have been trying to use the keysDown function to tell when keys are pressed, >versus not pressed (default behavior on Windows seems to be keyUp is >immediately sent after keyDown, regardless of whether key has been >released). Even when used within a repeating handler set to 8 milliseconds >below, pressed keys are not reliably detected (empty is often returned even >while key is held down): >Can anyone see if this works differently for you? If not, any ideas for a >workaround? Tired and under then gun over here... > > > Works the same for me, sorry. I believe this is the way it is expected to work on Windows. The key "repeat" behaviour is built-in. I *think* there's a cure using Start menu / Controls / Accessibility options Select the keyboard tab Click Filter keys Click on "Settings" and then "Ignore repeated keystrokes" I think it then does what you want - but wouldn't guarantee it (And also not sure if there is a compromise that keeps the keyboard usable for normal use AND does this. Google for "repeat key windows" - good luck ! -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From frank at backtalk.com Sun Apr 10 17:00:17 2005 From: frank at backtalk.com (Frank Leahy) Date: Sun, 10 Apr 2005 22:00:17 +0100 Subject: XML and Plists In-Reply-To: <20050410160039.99F939300DA@mail.runrev.com> References: <20050410160039.99F939300DA@mail.runrev.com> Message-ID: My app reads the iPhoto plist to determine where the default iPhoto library is, and it also reads the iPhoto xml database file. I use string functions to find the particular strings that I need rather than using Rev's XML library. Faster and simpler that way (to develop and to execute). The only caveat is that if the XML is UTF8, you need to make sure you read it as UTF8 not as text. Also, if I needed to write an XML file I would do it using string output rather than attempting to use the Rev XML library as well. Regards, -- Frank Leahy Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Apr 10, 2005, at 5:00 PM, use-revolution-request at lists.runrev.com wrote: > From: Matt Denton > Subject: XML and Plists > To: use-revolution at lists.runrev.com > Message-ID: <118aa5e6368388098dfa878faa2012e2 at limelight.com.au> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Hello all. > > Has anyone had experience parsing then using Apple's PLIST XML? I've > attached the DTD and spent quite a bit of time fiddling around with it, > however I haven't had much success navigating the tree or getting node > values. I ended up ditching this and built my own simple structure. > > Has anyone created or worked with PLISTs? Caveats? > > I'll go back and and spend some more time now that I've got a better > handle on the Rev XML commands (sometimes a bit finicky) however if > anyone has had a go and has any tips or sample code then I would much > appreciate it. From rbarber at yhb.att.ne.jp Sun Apr 10 18:24:49 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Sun, 10 Apr 2005 17:24:49 -0500 Subject: Apple's Language Analysis In-Reply-To: <7c347cbfc088b37c33e278706e5a5834@qldlearning.com> References: <4243C161.4010006@chipp.com> <7c347cbfc088b37c33e278706e5a5834@qldlearning.com> Message-ID: <3e919cc3cdab2f364a097197734d7998@yhb.att.ne.jp> Hi, Is there anyone willing to compile Apple's Language Analysis SDK for use on OS X? I have a sample of the xfcn that works on OS 9 but need to bring it to X. I can send you the SDK (or you can download it from Apple) as well as the sample stack for OS 9 if you can help me with this. Thanks Ron From mikeythek at gmail.com Sun Apr 10 20:44:21 2005 From: mikeythek at gmail.com (Mikey) Date: Sun, 10 Apr 2005 20:44:21 -0400 Subject: Tabbed buttons. In-Reply-To: <6EAA7FE4-A9E2-11D9-9AD0-003065D180EE@iafrica.com> References: <20050410041218.45E189300E4@mail.runrev.com> <6EAA7FE4-A9E2-11D9-9AD0-003065D180EE@iafrica.com> Message-ID: <9b408d8e050410174447900536@mail.gmail.com> I suppose I do, after farting around for a couple of weeks with them. Email me off list to discuss what you're looking for and we'll see if the collective has provided me with the information you desire. -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bill at bluewatermaritime.com Sun Apr 10 21:00:33 2005 From: bill at bluewatermaritime.com (Bill) Date: Sun, 10 Apr 2005 21:00:33 -0400 Subject: New Guide to the IDE in Process In-Reply-To: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> Message-ID: Dan: Look at the format and design of the maranGraphics books www.idgbooks.com that are called Visual "Read Less, Learn More". They are also a collection of screen shots with very clear graphics and formatting. Bill On 4/10/05 3:22 PM, "Dan Shafer" wrote: > As I have been participating in this list the past couple of weeks, I > have (like everyone else) noticed another significant round of concern > about the paucity of documentation on the Rev IDE. As I am now within a > day or two of finishing my next promised eBooklet on printing in Rev, > I've decided to take the pulse of the community on the demand for a > book on the IDE as my next eBook project. > > My intent is to describe the IDE functionally, perhaps in a manner that > looks like the Peachpit Press "Visual QuickStart Guides", i.e., a huge > number of screen shots with annotated call-outs and associated notes. > > So, step one. Please let me know either off-list (revdan at danshafer.com) > or here if you'd be interested in purchasing such an eBook if it were > available for immediate download at a price of, say, $15. If it seems > there's enough interest, I'll move this up on my list. > > Meanwhile, there are a couple of topics proposed for inclusion in > RevCon West June 17-18 in Monterey on the IDE. If you want to: (a) save > $70 on the price of admission; (b) vote for IDE-related topics to be > included on the agenda; and (c) attend what is shaping up to be the > biggest Rev developer gathering ever, please go to the Web site in my > sig below. The $70 Early Bird Discount ends Friday, April 15. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From bill at bluewatermaritime.com Sun Apr 10 21:03:50 2005 From: bill at bluewatermaritime.com (Bill) Date: Sun, 10 Apr 2005 21:03:50 -0400 Subject: XML and Plists In-Reply-To: Message-ID: I agree. I am writing a complex XML export for the Coast Guard reports and I tried using various XML programs as well as REV XML library and it is faster (and makes clearer output) to use string functions in REV and manually put the whole thing together. But I am also not a good one to ask as I don't really get the point of the whole nodes and tree things and just treat it as data with labels instead. On 4/10/05 5:00 PM, "Frank Leahy" wrote: > My app reads the iPhoto plist to determine where the default iPhoto > library is, and it also reads the iPhoto xml database file. I use > string functions to find the particular strings that I need rather than > using Rev's XML library. Faster and simpler that way (to develop and > to execute). The only caveat is that if the XML is UTF8, you need to > make sure you read it as UTF8 not as text. > > Also, if I needed to write an XML file I would do it using string > output rather than attempting to use the Rev XML library as well. > > Regards, > -- Frank Leahy > > Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users > See us on the web at http://www.webphotospro.com/ > > On Apr 10, 2005, at 5:00 PM, use-revolution-request at lists.runrev.com > wrote: > >> From: Matt Denton >> Subject: XML and Plists >> To: use-revolution at lists.runrev.com >> Message-ID: <118aa5e6368388098dfa878faa2012e2 at limelight.com.au> >> Content-Type: text/plain; charset=US-ASCII; format=flowed >> >> Hello all. >> >> Has anyone had experience parsing then using Apple's PLIST XML? I've >> attached the DTD and spent quite a bit of time fiddling around with it, >> however I haven't had much success navigating the tree or getting node >> values. I ended up ditching this and built my own simple structure. >> >> Has anyone created or worked with PLISTs? Caveats? >> >> I'll go back and and spend some more time now that I've got a better >> handle on the Rev XML commands (sometimes a bit finicky) however if >> anyone has had a go and has any tips or sample code then I would much >> appreciate it. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From kray at sonsothunder.com Sun Apr 10 21:41:51 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 10 Apr 2005 20:41:51 -0500 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES Message-ID: On 4/10/05 8:48 AM, "Mikey" wrote: > IT'S THE TAO! > > Anyway, if I could get some of you to submit some of the well-known > (but not-so-well-documented) issues for the Tao Blog it would be nice. How do you submit an issue? I went to taoofrunrev.blogspot.com and don't see a way to add a new one. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From capellan2000 at yahoo.com Sun Apr 10 22:12:20 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 10 Apr 2005 19:12:20 -0700 (PDT) Subject: Can one manually resize an object proportionately? Message-ID: <20050411021220.53981.qmail@web40527.mail.yahoo.com> on Sun, 10 Apr 2005 Steve Goldberg wrote: > there needs to be some way to do > this manually, such as holding down > the Shift key while doing the resizing (like in > Photoshop), which I don't see > is a feature of Revolution. In that way, one can > do the resizing on the fly, > eyeballing whether or not the object is the right > size for the card, rather > than having to experiment with different numbers > until the size seems right. So > if anyone has way of doing this, I'd certainly like > to hear about it. Thanks. Howard Bornstein answer: > Here's a quick and dirty way to do what you want. > I'm sure someone can come up with a more > elegant method. > In your stack script put this handler [snip] Hi Steve and Howard, I added a mouseup and mousedoubleup handler to the stack script provided by Howard, to choose the pointer tool (pressing controlkey and mouseup over the target object) and choose the browse tool again to resume normal operation (by doubleclicking over the background). I uploaded an stack that works if you open it by double clicking, but does not work if you open in the development environment, unless you "suspend Revolution". Use the keys combination provided by Howard after you have the pointer tool, to resize proportionally. I notice that it resizes from center, not from a corner. Download it from: al Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From revdan at danshafer.com Sun Apr 10 22:13:21 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 10 Apr 2005 19:13:21 -0700 Subject: New Guide to the IDE in Process In-Reply-To: References: Message-ID: <9c094a2c53b84bb39c08149a8398bf1c@danshafer.com> Bill... Thanks. I will. I'm tinkering with format ideas anyway at the moment. Dan On Apr 10, 2005, at 6:00 PM, Bill wrote: > Dan: > > Look at the format and design of the maranGraphics books > www.idgbooks.com > that are called Visual "Read Less, Learn More". They are also a > collection > of screen shots with very clear graphics and formatting. > > Bill > > > On 4/10/05 3:22 PM, "Dan Shafer" wrote: > >> As I have been participating in this list the past couple of weeks, I >> have (like everyone else) noticed another significant round of concern >> about the paucity of documentation on the Rev IDE. As I am now within >> a >> day or two of finishing my next promised eBooklet on printing in Rev, >> I've decided to take the pulse of the community on the demand for a >> book on the IDE as my next eBook project. >> >> My intent is to describe the IDE functionally, perhaps in a manner >> that >> looks like the Peachpit Press "Visual QuickStart Guides", i.e., a huge >> number of screen shots with annotated call-outs and associated notes. >> >> So, step one. Please let me know either off-list >> (revdan at danshafer.com) >> or here if you'd be interested in purchasing such an eBook if it were >> available for immediate download at a price of, say, $15. If it seems >> there's enough interest, I'll move this up on my list. >> >> Meanwhile, there are a couple of topics proposed for inclusion in >> RevCon West June 17-18 in Monterey on the IDE. If you want to: (a) >> save >> $70 on the price of admission; (b) vote for IDE-related topics to be >> included on the agenda; and (c) attend what is shaping up to be the >> biggest Rev developer gathering ever, please go to the Web site in my >> sig below. The $70 Early Bird Discount ends Friday, April 15. >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Co-Chair >> RevConWest '05 >> June 17-18, 2005, Monterey, California >> http://www.altuit.com/webs/altuit/RevConWest >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- http://www.bluewatermaritime.com > ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ > ^^^^ ^^^^ ^^^ ^^ > ^^^^ ^^^ > > 24 hour cell: (787) 378-6190 > fax: (787) 809-8426 > > Blue Water Maritime > P.O. Box 91 > Puerto Real, PR 00740 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jmac at consensustech.com Sun Apr 10 22:37:25 2005 From: jmac at consensustech.com (Jim MacConnell) Date: Sun, 10 Apr 2005 19:37:25 -0700 Subject: ANN: BreakpointNavigator Plugin release In-Reply-To: <281c58708c6f01c4e27e754aa29f7f1d@elkvalley.net> Message-ID: > I get only a screen full of script. Is this a 'go url' thingy for the > message box? > Dave This question keeps coming up (lots of new users?) and the answer is routinely. Open Rev then use "go url" in the message box... Not the most convenient since I am not a full time coder and I rarely have Rev open. So opening it and copying and pasting into the message box seems a hassle. So.... since no one has said the obvious, I will. If you ever click a url in the revlist email or as in this case click on a link on a "Rever's" website and end up with a web page full of Transcript and/or gibberish..... Particularly one that starts with: #!/bin/sh # MetaCard 2.4 stack # The following is not ASCII text, # so now would be a good time to q out of more ... a simple "Save Page As?" works to save the file locally. A quick double click on that will then open the file in Rev... Much more convenient in my mind. Not only that but it lets me go back to the file when I have a spare moment and actually take the time to enjoy working with it. Only one caution....make sure to keep the ".rev" or ".mc" extension if you want to preserve double-click opening (Safari (Mac OS X) sees the file as a text file and asks if you'd like to add a ".txt" extension on the end.. Not a good idea). Hope this helps... Jim From ambassador at fourthworld.com Mon Apr 11 01:20:36 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 10 Apr 2005 22:20:36 -0700 Subject: RevSession opening issue (was RE: RunRev versus WinRar) In-Reply-To: <20050410001740.D2D439300E4@mail.runrev.com> References: <20050410001740.D2D439300E4@mail.runrev.com> Message-ID: <425A0924.6000506@fourthworld.com> MisterX wrote: >>> Rev still can't open stacks normally on PCs when you double >>> click on it's documents - the stacks or your application's >>> stack-documents... >>> >>> Win32 always opens another session of Rev... >> >> How does this differ from Notepad or Internet Explorer? ... > ... look at how ....ALL..... other programs do open many docs > into one app session ... > UltraEdit, Photoshop, CodeWarrior, the Flash IDE, etc, etc, etc all work as > expected... Sorry to contradict you again but it's more of a rule of thumb > or a common sense standard, or a feature design or a programmer's choice. Which is it? About half the apps on my Wintel box launch into multiple instances, and the other half into multiple instances. The oddest of the lot was MS' Address Book: it opens multiple instances, but apparently maintains a real-time connection between them, as adding records to one causes the other to update almost instantly. I agree it would be nice to have an option to allow Rev apps to open a single instance when a document is double-clicked. I couldn't find your request for that, but I'll happily add my vote to it if you'll provide the Bugzilla request number. My point was simply that what Rev does is the default behavior on Windows (and if memory serves on Linux as well). Evidently it's possible to alter this behavior to have documents opened in an already-running instance, but it's not a simple thing to do. In fact, if the combined efforts of Ken and myself are any indication, it's not even simple to find out how to do it. The best we could turn up are workaround snippets from third parties; we could not turn up a Microsoft recommendation for implementing single-instance apps, and the issue appears to be avoided altogether in the Microsoft HIG. If you have a URL to a Microsoft recommendation in their code examples and/or HIG please add it to your Bugzilla feature request. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jperryl at ecs.fullerton.edu Mon Apr 11 01:51:04 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 Apr 2005 22:51:04 -0700 (PDT) Subject: Tabbed buttons. In-Reply-To: <6EAA7FE4-A9E2-11D9-9AD0-003065D180EE@iafrica.com> Message-ID: Ryno, I'll send you a PDF and a stack separately shortly from my mac.com account. Judy On Sun, 10 Apr 2005, Ryno Swart wrote: > Does anybody have a simple (simple!) example of working with tabbed > buttons? I went through the documentation, even searched the net, but > the only information I could find was so obscure as to be useless. I > need to have spelled out "With the edit tool selected, click on the tab > marked 'Tab 1'. Now open the script editor... " and so forth. Many > thanks, folks. > > Ryno. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From xbury.cs at clearstream.com Mon Apr 11 03:00:43 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 11 Apr 2005 09:00:43 +0200 Subject: KeyDown/Press Issue - Help Needed ASAP Message-ID: Hi, Im not sure we are talking about the same thing... But just in case... It could also be the "accessibility" control panel. Where the shiftkey becomes sticky (the old mac term?) or allows the use of the numeric keypad to move the mouse after a few presses of teh shift key. Avoid installing it if possible! cheers Xavier >Works the same for me, sorry. >I believe this is the way it is expected to work on Windows. The key >"repeat" behaviour is built-in. >I *think* there's a cure using >Start menu / Controls / Accessibility options > >Select the keyboard tab > >Click Filter keys > >Click on "Settings" and then "Ignore repeated keystrokes" > >I think it then does what you want - but wouldn't guarantee it (And >also not sure if there is a compromise that keeps the keyboard usable >for normal use AND does this. > >Google for "repeat key windows" - good luck ! ----------------------------------------- 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 kray at sonsothunder.com Mon Apr 11 03:03:28 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 11 Apr 2005 02:03:28 -0500 Subject: RevSession opening issue (was RE: RunRev versus WinRar) In-Reply-To: <425A0924.6000506@fourthworld.com> Message-ID: On 4/11/05 12:20 AM, "Richard Gaskin" wrote: > In fact, if the combined efforts of Ken and myself are any indication, > it's not even simple to find out how to do it. The best we could turn > up are workaround snippets from third parties; we could not turn up a > Microsoft recommendation for implementing single-instance apps, and the > issue appears to be avoided altogether in the Microsoft HIG. > > If you have a URL to a Microsoft recommendation in their code examples > and/or HIG please add it to your Bugzilla feature request. Here's some interesting info on multiple/single instances: Article at DeveloperFusion by Joseph Newcomer ============================== I found a very good description of the problem and also how Microsoft chooses mistaken approaches to handle multiple instances themselves. Here's the URL: http://www.developerfusion.co.uk/show/1716/4/ That and the next 6 pages (hit "next") give you these articles: Avoiding Multiple Instances of an Application - The basic problem Avoiding Multiple Instances of an Application - Why FindWindow doesn't work Avoiding Multiple Instances of an Application - Send Message: Race Conditions Avoiding Multiple Instances of an Application - Shared Variable: A different problem Avoiding Multiple Instances of an Application - Generalizing the solution for NT Avoiding Multiple Instances of an Application - The source code Avoiding Multiple Instances of an Application - Summary Of course, this *still* isn't Microsoft's official stance on things. Article from Microsoft ============= However here's an article *from* Microsoft on "How to Write an Application That Supports Fast User Switching in Windows XP": http://support.microsoft.com/kb/310153/EN-US/ Where you get the curious (funny!) statement: "Note that wherever possible you must ensure that Windows XP applications support multiple instances running simultaneously in the same or different user sessions. Applications that do not allow multiple instances are not considered best-practice Windows XP applications." ROFLOL! Go figure! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From xbury.cs at clearstream.com Mon Apr 11 03:44:28 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 11 Apr 2005 09:44:28 +0200 Subject: RevSession opening issue (was RE: RunRev versus WinRar) Message-ID: I did find one similar bugzilla 2596 but the issue is different if not ironical ;) The bugzilla for the single instance rev launching requenst is 2776. As for some programming references, I'll see what our guru says... cheers Xavier On 11.04.2005 09:03:28 use-revolution-bounces wrote: >On 4/11/05 12:20 AM, "Richard Gaskin" wrote: > >> In fact, if the combined efforts of Ken and myself are any indication, >> it's not even simple to find out how to do it. The best we could turn >> up are workaround snippets from third parties; we could not turn up a >> Microsoft recommendation for implementing single-instance apps, and the >> issue appears to be avoided altogether in the Microsoft HIG. >> >> If you have a URL to a Microsoft recommendation in their code examples >> and/or HIG please add it to your Bugzilla feature request. > >Here's some interesting info on multiple/single instances: > >Article at DeveloperFusion by Joseph Newcomer >============================== >I found a very good description of the problem and also how Microsoft >chooses mistaken approaches to handle multiple instances themselves. Here's >the URL: > >http://www.developerfusion.co.uk/show/1716/4/ > >That and the next 6 pages (hit "next") give you these articles: > >Avoiding Multiple Instances of an Application - The basic problem >Avoiding Multiple Instances of an Application - Why FindWindow doesn't >work >Avoiding Multiple Instances of an Application - Send Message: Race >Conditions >Avoiding Multiple Instances of an Application - Shared Variable: A >different problem >Avoiding Multiple Instances of an Application - Generalizing the solution >for NT >Avoiding Multiple Instances of an Application - The source code >Avoiding Multiple Instances of an Application - Summary > >Of course, this *still* isn't Microsoft's official stance on things. > >Article from Microsoft >============= >However here's an article *from* Microsoft on "How to Write an Application >That Supports Fast User Switching in Windows XP": > >http://support.microsoft.com/kb/310153/EN-US/ > >Where you get the curious (funny!) statement: > >"Note that wherever possible you must ensure that Windows XP applications >support multiple instances running simultaneously in the same or different >user sessions. Applications that do not allow multiple instances are not >considered best-practice Windows XP applications." > >ROFLOL! > >Go figure! > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > > > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 jenworth at centurytel.net Sat Apr 9 08:11:02 2005 From: jenworth at centurytel.net (Marvin Wurth) Date: Sat, 9 Apr 2005 07:11:02 -0500 Subject: MySQL Date Conversion Problem Message-ID: <712FC50E-A8F0-11D9-8E4B-000393983366@centurytel.net> I have found the following problem and would like someone to please confirm my findings before I post Bug report. I have been using the following functions posted by Sarah Reichelt to convert dates from MySQL to Revolution and back to MySQL. The functions are: -- converts a system short date into an SQL format date -- uses current date if none supplied -- function SQLDate pDate if pDate is empty then put the short system date into pDate convert pDate from short system date to dateItems return item 1 of pDate & "-" & item 2 of pDate & "-" & item 3 of pDate end SQLDate -- reverse function to convert SQL date to short system date -- function SystemDate pDate if pDate is empty then return the short system date replace "-" with comma in pDate put ",0,0,0,0" after pDate convert pDate from dateItems to short system date return pDate end SystemDate I been using the functions for about 6 months and they work great! Thanks Sarah. But yesterday I noticed working in Revolution 2.5.1 on Mac OS X 10.3.8, that when a date came in from MySQL, Revolution was displaying one day earlier. For example if the date in MySQL which is formatted as '2005-02-01' was converted to '01/31/05'. The conversion back to MySQL works correctly. What is even stranger is if the date is in the same week as the current date then the conversion is correct. For example '2005-04-08' to '04/08/05' works correctly. When I tested the functions with different platforms and versions of Revolution, I found the following results. Windows XP SP2, Revolution 2.1.2 works correctly. Windows XP SP2, Revolution 2.5.1 works correctly. SuSE 9.2, Revolution 2.5 works correctly. Mac OS 9.2 in Classic Mode, Revolution 2.2.1 works correctly. Mac OS X 10.3.8, Revolution 2.1.2 works correctly. Mac OS X 10.3.8, Revolution 2.2.1 works correctly. Mac OS X 10.3.8, Revolution 2.5.1 failed. It looks to me like there is some type of problem in 2.5.1 and short system date. I have a small test stack I created for testing if any would like me to email it to them. If you have any questions, please let me know. Your help is much appreciated. Thanks, Marvin Wurth From alex at tweedly.net Mon Apr 11 04:39:48 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 11 Apr 2005 09:39:48 +0100 Subject: RevSession opening issue (was RE: RunRev versus WinRar) In-Reply-To: References: Message-ID: <425A37D4.5000800@tweedly.net> Ken Ray wrote: > Of course, this *still* isn't Microsoft's official stance on things. > >Article from Microsoft >============= >However here's an article *from* Microsoft on "How to Write an Application >That Supports Fast User Switching in Windows XP": > > http://support.microsoft.com/kb/310153/EN-US/ > >Where you get the curious (funny!) statement: > > "Note that wherever possible you must ensure that Windows XP applications >support multiple instances running simultaneously in the same or different >user sessions. Applications that do not allow multiple instances are not >considered best-practice Windows XP applications." > >ROFLOL! > >Go figure! > [ what am I doing defending Msoft ??? ] I think that paragraph is an accurate description of MS's current beliefs and practices. The significant word being the "XP" in "Windows XP applications". Over time, MS has recommended a variety of style - single vs multiple vs multiple synch'ed vs .... anything you can imagine. But sometime in the mid-90s, they realized that multiple instances produces the fewest problems, and settled on that as their preferred style. Most, if not all, RECENT Microsoft apps follow that "best practice", and I suspect any that don't just haven't had a big enough revision done in years. - Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From xbury.cs at clearstream.com Mon Apr 11 04:57:18 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 11 Apr 2005 10:57:18 +0200 Subject: RevSession opening issue (was RE: RunRev versus WinRar) Message-ID: It's true that under multi-user-multi-session NT servers, the single instance can be useless. But in this case, RunRev document launching (from explorer or shell) is useless for a single session and even dangerous for multiple sessions with unsychronized file writes... Hope there is a solution for all cases ;) cheers Xavier On 11.04.2005 10:39:48 use-revolution-bounces wrote: >Ken Ray wrote: > >> Of course, this *still* isn't Microsoft's official stance on things. >> >>Article from Microsoft >>============= >>However here's an article *from* Microsoft on "How to Write an Application >>That Supports Fast User Switching in Windows XP": >> >> http://support.microsoft.com/kb/310153/EN-US/ >> >>Where you get the curious (funny!) statement: >> >> "Note that wherever possible you must ensure that Windows XP applications >>support multiple instances running simultaneously in the same or different >>user sessions. Applications that do not allow multiple instances are not >>considered best-practice Windows XP applications." >> >>ROFLOL! >> >>Go figure! >> >[ what am I doing defending Msoft ??? ] > >I think that paragraph is an accurate description of MS's current >beliefs and practices. The significant word being the "XP" in "Windows >XP applications". Over time, MS has recommended a variety of style - >single vs multiple vs multiple synch'ed vs .... anything you can >imagine. But sometime in the mid-90s, they realized that multiple >instances produces the fewest problems, and settled on that as their >preferred style. > >Most, if not all, RECENT Microsoft apps follow that "best practice", and >I suspect any that don't just haven't had a big enough revision done in >years. > >- >Alex Tweedly http://www.tweedly.net ----------------------------------------- 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 rjb at robelko.com Sun Apr 10 23:23:58 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 11 Apr 2005 05:23:58 +0200 Subject: Currency and percentage in numeric evaluation In-Reply-To: <66.54be1e71.2f8ad82a@aol.com> References: <66.54be1e71.2f8ad82a@aol.com> Message-ID: >Richard, >You could add zero to it and see if you get an error. >Since currency signs are usually the first of last character, you could strip >the first or last character after using the zero test above, then test for >zero again. >Or make a list of all major currencies and see if the first or last character >of the string is in the list (the currency list will probably be shorter than >you expect). >Paul Looney With currencies things are a bit more messy than that, I am afraid. Currency symbol may be more than a single character. It can be up front or behind. There may be a space between the currency symbol and the number. Then, if decimals are allowed, as it usually is with currencies, the decimal separator could be period or comma depending where the entries originate. Accounting-type reporting will usually have thousands separator as well. I doubt it is possible to have a generic checking routine that does not include explicit knowledge of currency symbols unless you do not care whether these are truly currencies. Then you could go word by word using matchtext to see if there is a number up front or in back. Robert From jhurley at infostations.com Mon Apr 11 07:23:13 2005 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 11 Apr 2005 04:23:13 -0700 Subject: Writing to a web site? Message-ID: This is something that is new to me and I have no understanding of the options. I have considered using Run Rev to get the 4 additional numbers in zip codes. At the site http://scikits.com/lookup.html (or http://zip4.usps.com/zip4/welcome.jsp) one can enter an address such as 123 Broad St, 95959 and receive a reply: 123 BROAD ST NEVADA CITY CA 95959-2623 But the web site that offers this results is listed as: http://zip4.usps.com/zip4/zip4_responseA.jsp Needless to say, there is no web site for every address. So there appears to be no option to simply call up a web site and parse the results. It seems that the only option would be able to Write to a web site (at least to site which present this option) as well as Read from the site. Seems unlikely. Does Run Rev offer any options in this circumstance? Jim From chipp at chipp.com Mon Apr 11 07:49:27 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 11 Apr 2005 06:49:27 -0500 Subject: Writing to a web site? In-Reply-To: References: Message-ID: <425A6447.6050906@chipp.com> Hi Jim Have you tried posting the form data to the http://zip4.usps.com/zip4/zip4_responseA.jsp page? see the post command in the docs. That's how I would do it. -Chipp Jim Hurley wrote: > This is something that is new to me and I have no understanding of the > options. > > I have considered using Run Rev to get the 4 additional numbers in zip > codes. From kkaufman at snet.net Mon Apr 11 08:21:14 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon, 11 Apr 2005 08:21:14 -0400 Subject: New Guide to the IDE in Process In-Reply-To: <20050411015501.0EBC99300DD@mail.runrev.com> References: <20050411015501.0EBC99300DD@mail.runrev.com> Message-ID: Please chalk one up for me. Kurt On Apr 10, 2005, at 9:55 PM, use-revolution-request at lists.runrev.com wrote: > So, step one. Please let me know either off-list (revdan at danshafer.com) > or here if you'd be interested in purchasing such an eBook if it were > available for immediate download at a price of, say, $15. If it seems > there's enough interest, I'll move this up on my list. From dcragg at lacscentre.co.uk Mon Apr 11 08:39:45 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 11 Apr 2005 13:39:45 +0100 Subject: Writing to a web site? In-Reply-To: References: Message-ID: <3ae49b344a769e72f050a184879fac89@lacscentre.co.uk> On 11 Apr 2005, at 12:23, Jim Hurley wrote: > This is something that is new to me and I have no understanding of the > options. > > I have considered using Run Rev to get the 4 additional numbers in zip > codes. > > At the site > > http://scikits.com/lookup.html (or > http://zip4.usps.com/zip4/welcome.jsp) > > one can enter an address such as 123 Broad St, 95959 and receive a > reply: > > 123 BROAD ST > NEVADA CITY CA 95959-2623 > > But the web site that offers this results is listed as: > > http://zip4.usps.com/zip4/zip4_responseA.jsp > > Needless to say, there is no web site for every address. > > So there appears to be no option to simply call up a web site and > parse the results. It seems that the only option would be able to > Write to a web site (at least to site which present this option) as > well as Read from the site. Seems unlikely. > > Does Run Rev offer any options in this circumstance? > I'm not sure if I understand what you want to do. You can use the post command to use the url described above. This basically emulates the form submission of the webpage. (You have to look through the raw source of the webpage to find the necessary form field values.) For example, the following script uses your example address to put the webpage normally returned into field 1. on mouseUp put empty into field 1 put "Selection=" & 1 after tQuery put "&" after tQuery put "address1=" & urlEncode("123 BROAD ST") after tQuery put "&" after tQuery put "zipcode=" & 95959 after tQuery put "http://zip4.usps.com/zip4/zip4_responseA.jsp" into tUrl post tQuery to url tUrl if the result <> empty then answer the result else set the htmltext of field 1 to it end if end mouseUp Cheers Dave From rpresender at cox.net Mon Apr 11 09:07:14 2005 From: rpresender at cox.net (Robert Presender) Date: Mon, 11 Apr 2005 06:07:14 -0700 Subject: Currency and percentage in numeric evaluation In-Reply-To: <20050410160039.83B679300CC@mail.runrev.com> References: <20050410160039.83B679300CC@mail.runrev.com> Message-ID: Hi Richard: I put the following into the msg box put "12%" into holder put holder is a number The above returns returns false Regards .... Bob On Apr 10, 2005, at 9:00 AM, Richard Gaskin wrote: > I need to evaluate a large number of short strings to determine whether > they are numeric. Some of these are percentages, and include the "%", > and others are currency and can contain "$". the Euro, Yen, or any > number of other signs. > > With dates we have a convenient test: try to convert it, and if it > fails it will tell you why. > > But we have no such convenience with percentages and currency. So what > is the most efficient (heck, I'd settle for reasonable efficient) way > to > determine if a string is numeric given the wide range of currency > formats in common use? > > -- > Richard Gaskin > Fourth World Media Corporation From xbury.cs at clearstream.com Mon Apr 11 09:14:42 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 11 Apr 2005 15:14:42 +0200 Subject: Currency and percentage in numeric evaluation Message-ID: I just found in my stack folder a currency number formatting stack. There is no author, no about, no idea who made it. But it came from my external stacks. The idea is that if you can make a parser to make a currency format of any kind, this process can be easily reversed to do the opposite... So who made that stack? It's called "Currency.mc" cheers Xavier On 11.04.2005 15:07:14 use-revolution-bounces wrote: >Hi Richard: > >I put the following into the msg box > >put "12%" into holder >put holder is a number > >The above returns returns false > >Regards .... Bob > > > >On Apr 10, 2005, at 9:00 AM, Richard Gaskin wrote: >> I need to evaluate a large number of short strings to determine whether >> they are numeric. Some of these are percentages, and include the "%", >> and others are currency and can contain "$". the Euro, Yen, or any >> number of other signs. >> >> With dates we have a convenient test: try to convert it, and if it >> fails it will tell you why. >> >> But we have no such convenience with percentages and currency. So what >> is the most efficient (heck, I'd settle for reasonable efficient) way >> to >> determine if a string is numeric given the wide range of currency >> formats in common use? >> >> -- >> Richard Gaskin >> Fourth World Media Corporation > >_______________________________________________ >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 arietext at mac.com Mon Apr 11 09:29:09 2005 From: arietext at mac.com (arie van der ent) Date: Mon, 11 Apr 2005 15:29:09 +0200 Subject: New Guide to the IDE in Process In-Reply-To: References: <20050411015501.0EBC99300DD@mail.runrev.com> Message-ID: <6e77c666a8e0f53ac466146cd151d573@mac.com> Me too Arie van der Ent Op 11-apr-05 om 14:21 heeft Kurt Kaufman het volgende geschreven: > Please chalk one up for me. > > Kurt > > On Apr 10, 2005, at 9:55 PM, use-revolution-request at lists.runrev.com > wrote: > >> So, step one. Please let me know either off-list >> (revdan at danshafer.com) >> or here if you'd be interested in purchasing such an eBook if it were >> available for immediate download at a price of, say, $15. If it seems >> there's enough interest, I'll move this up on my list. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From annika at itinfo.dk Mon Apr 11 09:36:38 2005 From: annika at itinfo.dk (annika) Date: Mon, 11 Apr 2005 15:36:38 +0200 Subject: Dreamcard player on Windows Message-ID: Hi, I've run in to problems running Revolution stacks in the Dreamcard player 2.5.1 on Windows XP. As far as I understand, after inquiring at Runrev support, I should be able to open a Revolution stack in the player by double clicking the stack. However after uninstalling all other Revolution applications from the PC and installing the player, my stack cannot be opened by double clicking, and if I try to set its file association to the player this doesn't work either. I can open the stack by dragging it to the player, but being able to open it by double clicking is crucial in our use situation. I'd be greatful for any help on this. /annika From JUAN.C.VEIGA at saic.com Mon Apr 11 09:59:29 2005 From: JUAN.C.VEIGA at saic.com (Veiga, Juan C.) Date: Mon, 11 Apr 2005 09:59:29 -0400 Subject: Tabbed buttons. Message-ID: <6A47CB4A48D1EA49A6F7AB618490D64920CEA5AB@mcl-its-exs03.mail.saic.com> Hi Judy! My good friend Rob Gould developed a tabbed button file for me last week. Reply with your email address and I'll send it to you. BTY, he ok'd me sending it to you. Juan -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Judy Perry Sent: Monday, April 11, 2005 1:51 AM To: How to use Revolution Subject: Re: Tabbed buttons. Ryno, I'll send you a PDF and a stack separately shortly from my mac.com account. Judy On Sun, 10 Apr 2005, Ryno Swart wrote: > Does anybody have a simple (simple!) example of working with tabbed > buttons? I went through the documentation, even searched the net, but > the only information I could find was so obscure as to be useless. I > need to have spelled out "With the edit tool selected, click on the tab > marked 'Tab 1'. Now open the script editor... " and so forth. Many > thanks, folks. > > Ryno. > > _______________________________________________ > 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 dcragg at lacscentre.co.uk Mon Apr 11 10:16:58 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 11 Apr 2005 15:16:58 +0100 Subject: MySQL Date Conversion Problem In-Reply-To: <712FC50E-A8F0-11D9-8E4B-000393983366@centurytel.net> References: <712FC50E-A8F0-11D9-8E4B-000393983366@centurytel.net> Message-ID: <67d6c71270497341a1a5dd46662eda1b@lacscentre.co.uk> On 9 Apr 2005, at 13:11, Marvin Wurth wrote: > -- reverse function to convert SQL date to short system date > -- > function SystemDate pDate > if pDate is empty then return the short system date > replace "-" with comma in pDate > put ",0,0,0,0" after pDate > convert pDate from dateItems to short system date > return pDate > end SystemDate > > > I been using the functions for about 6 months and they work great! > Thanks > Sarah. But yesterday I noticed working in Revolution 2.5.1 on Mac OS X > 10.3.8, that when a date came in from MySQL, Revolution was displaying > one > day earlier. For example if the date in MySQL which is formatted as > '2005-02-01' was converted to '01/31/05'. The conversion back to MySQL > works correctly. What is even stranger is if the date is in the same > week > as the current date then the conversion is correct. For example > '2005-04-08' to '04/08/05' works correctly. > > When I tested the functions with different platforms and versions of > Revolution, I found the following results. > > Windows XP SP2, Revolution 2.1.2 works correctly. > Windows XP SP2, Revolution 2.5.1 works correctly. > SuSE 9.2, Revolution 2.5 works correctly. > Mac OS 9.2 in Classic Mode, Revolution 2.2.1 works correctly. > Mac OS X 10.3.8, Revolution 2.1.2 works correctly. > Mac OS X 10.3.8, Revolution 2.2.1 works correctly. > Mac OS X 10.3.8, Revolution 2.5.1 failed. > > I see the same problem here. But if I change the conversion function as follows, it works OK. function SystemDate pDate if pDate is empty then return the short system date replace "-" with comma in pDate put ",2,0,0,0" after pDate --CHANGED HERE convert pDate from dateItems to short system date return pDate end SystemDate Cheers Dave From mikeythek at gmail.com Mon Apr 11 10:25:44 2005 From: mikeythek at gmail.com (Mikey) Date: Mon, 11 Apr 2005 10:25:44 -0400 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: References: Message-ID: <9b408d8e050411072520829af5@mail.gmail.com> You either: 1) Let me know that you want to join the blog (i.e. be a semi-regular contributor), and I add you or 2) You send your single entry to me and I'll add it. The point here was to exercise control over the content and presentation so that it's usable. If you choose to join you can post without sending it through me first. -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From fde101 at fjrhome.net Mon Apr 11 10:43:23 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 11 Apr 2005 10:43:23 -0400 Subject: Using OS X Services In-Reply-To: References: <001701c53cb9$68a70600$b5f6a4cb@p4c2> <42575B28.7080305@fourthworld.com> <425839C5.60507@ehug.info> Message-ID: <4ee9d5710db021d6a77b7cfe89edf96a@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Services can indeed be accessed from Carbon, but there is extra work involved. For details on programming services in Carbon apps, see: http://developer.apple.com/documentation/Carbon/Conceptual/appservices/ index.html On Apr 9, 2005, at 4:42 PM, Yves COPPE wrote: > > Le 09-avr.-05, ? 22:23, Mark Schonewille a ?crit : > >> Jesse, >> >> Only applications that have been created in Cocoa can use these >> services. Since most major applications are not created in Cocoa, I >> think Apple made a slight mistake here. >> >> Mark >> >> > > > Could it be possible to access the Mac OS X services with an external ? > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCWo0L7aqtWrR9cZoRAsijAJ41KYluO3dN1zMpX5jtFmHUQ5fy3ACdEDSg 1w6+6vJbbyCbGEVf3jVy8Hk= =jLyX -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From len-morgan at crcom.net Mon Apr 11 10:46:10 2005 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 11 Apr 2005 09:46:10 -0500 Subject: ANN: BreakpointNavigator Plugin release In-Reply-To: <20050411132817.60E9E9300DD@mail.runrev.com> References: <20050411132817.60E9E9300DD@mail.runrev.com> Message-ID: <425A8DB2.20307@crcom.net> This will not work if you are on Windows. I believe that a bugzilla report is already sitting at RunRev concerning double-clicking on .rev files. What happens is that the mouse cursor disappears whenever you go over the window that is opened. If you use the IDE to File->Open Stack, it will work fine. I have no idea if anyone is looking at this or not but I consider it a big deal since users are expecting to double-click on an icon to launch it. Len Morgan >... a simple "Save Page As?" works to save the file locally. A quick double >click on that will then open the file in Rev... Much more convenient in my >mind. Not only that but it lets me go back to the file when I have a spare >moment and actually take the time to enjoy working with it. > >Only one caution....make sure to keep the ".rev" or ".mc" extension if you >want to preserve double-click opening (Safari (Mac OS X) sees the file as a >text file and asks if you'd like to add a ".txt" extension on the end.. Not >a good idea). > >Hope this helps... > >Jim > > > > From b.xavier at internet.lu Mon Apr 11 10:49:31 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 11 Apr 2005 16:49:31 +0200 Subject: Dreamcard player on Windows In-Reply-To: Message-ID: <20050411150225.193F4930065@mail.runrev.com> Annika, if you open a cmd and type "assoc .rev" , it will tell you who or what program is associated with the rev extension. typing assoc alone will give you all the classes available with their assigned types. Unfortunately, no matter how i reverse the function i dont get revolution anything... I know I've installed Rev after winrar. So I know now the problem - most probable that runrev doesnt create a filetype class for it's files at installation - another bugzilla i guess - note that it's only useful for the first file you open also! And we've been discussing this on another thread. I've also posted in that thread how to reassign your file type to your application. In brief, go to explorer, menu->tools->options, file associations tab and edit "rev" to open with what you want! cheers Xavier http://monsieurx.com/runrev > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of annika > Sent: Monday, April 11, 2005 15:37 > To: use-revolution at lists.runrev.com > Cc: Carsten Levin > Subject: Dreamcard player on Windows > > Hi, > I've run in to problems running Revolution stacks in the > Dreamcard player 2.5.1 on Windows XP. > As far as I understand, after inquiring at Runrev support, I > should be able to open a Revolution stack in the player by > double clicking the stack. However after uninstalling all > other Revolution applications from the PC and installing the > player, my stack cannot be opened by double clicking, and if > I try to set its file association to the player this doesn't > work either. > I can open the stack by dragging it to the player, but being > able to open it by double clicking is crucial in our use situation. > I'd be greatful for any help on this. > > /annika > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From howard.bornstein at gmail.com Mon Apr 11 10:56:50 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Mon, 11 Apr 2005 10:56:50 -0400 Subject: more strange behavior - some scripts forgotten In-Reply-To: <79749bc7ee2ce707c314b9b470a32425@mac.com> References: <79749bc7ee2ce707c314b9b470a32425@mac.com> Message-ID: <3f07cc2605041107562a4fd986@mail.gmail.com> On Apr 10, 2005 3:47 PM, Byron Turner wrote: > Almost every object whose script I open asks to apply changes when I go > to close, whether or not there is any script in it or any changes have > been made. Should I be worried? > > Scripts that I fixed long ago, seem to be reverting back to earlier > versions. Example I have a script where I created a global and another > object script uses that global. When I looked just now, the first > object had no reference to that global or any of the succeeding > script, but the second object retained it. I opened a previous version > and found the first object's script. > > I've also noted that in my longest script characters take a very long > time to show up . . as much as several seconds after I begin typing. > > Obviously, I'm very concerned. Any theories? Any suggestions on how > to proceed? > The first issue I've seen frequently since the release of Rev 2.5.1. I keep meaning to find a good recipe so I can Bugzilla it. Fortunately, it's just an annoyance. I don't know why your scripts are reverting. Have you considered using Chipp Walters' AltArchive plugin to make serialized backups of your stack? It can be a real life-saver. I've periodically noticed the kind of slowdown you describe. Usually I quit and restart Rev and that fixes it. -- Regards, Howard Bornstein ----------------------- www.designeq.com From heather at runrev.com Mon Apr 11 10:28:31 2005 From: heather at runrev.com (Heather Nagey) Date: Mon, 11 Apr 2005 15:28:31 +0100 Subject: ARE YOU SERIOUS REV TEAM? MAJOR SCRIPT EDITOR ISSUES In-Reply-To: <20050410041218.45E189300E4@mail.runrev.com> Message-ID: > Just out of interest: does the Rev team contribute to > the list? Just wondering. Also I didn't want to > contact them yet as we are still evaluating the > software and I'm sure they are deep in code land... > fixing? Welcome to the Revolution, Peter. Yes, the team does occasionally contribute to this list, but not in general the engineers, who as you surmise are deep in codeland and that?s where we like to keep them. If you have specific issues you want the team to address, an email to support at runrev.com is your second line of exploration, ideally after posting here and letting the community whittle down your issues :) As I'm sure you appreciate, we are a small team, and we need to stay very focussed on getting the important stuff done, like actually fixing the issues the community is concerned about. I'm sure you also would like to visit bugzilla: http://support.runrev.com/bugzilla And post any new and well defined bugs you may have there. We greatly appreciate this feedback. Rev is still working on getting the IDE as user friendly and rock solid as everyone would like, but I think most long term members would agree we've made great strides in this direction. We continue to work on it as our top priority. Thanks for the interesting discussion, and I hope all the clear issues that have emerged are either already residing in bugzilla or about to be added for our engineers attention, Warm regards Heather Customer support and listmom -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From jhurley at infostations.com Mon Apr 11 11:18:02 2005 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 11 Apr 2005 08:18:02 -0700 Subject: Writing to a web site? In-Reply-To: <20050411132817.85E2B9300DE@mail.runrev.com> References: <20050411132817.85E2B9300DE@mail.runrev.com> Message-ID: > >Message: 15 >Date: Mon, 11 Apr 2005 13:39:45 +0100 >From: Dave Cragg >Subject: R >To: How to use Revolution >Message-ID: <3ae49b344a769e72f050a184879fac89 at lacscentre.co.uk> >Content-Type: text/plain; charset=US-ASCII; format=flowed > > >On 11 Apr 2005, at 12:23, Jim Hurley wrote: > >> This is something that is new to me and I have no understanding of the >> options. >> >> I have considered using Run Rev to get the 4 additional numbers in zip >> codes. >> >> At the site >> >> http://scikits.com/lookup.html (or >> http://zip4.usps.com/zip4/welcome.jsp) >> >> one can enter an address such as 123 Broad St, 95959 and receive a >> reply: >> >> 123 BROAD ST >> NEVADA CITY CA 95959-2623 >> >> But the web site that offers this results is listed as: >> >> http://zip4.usps.com/zip4/zip4_responseA.jsp >> >> Needless to say, there is no web site for every address. >> >> So there appears to be no option to simply call up a web site and >> parse the results. It seems that the only option would be able to >> Write to a web site (at least to site which present this option) as >> well as Read from the site. Seems unlikely. >> >> Does Run Rev offer any options in this circumstance? >> > >I'm not sure if I understand what you want to do. You can use the post >command to use the url described above. This basically emulates the >form submission of the webpage. (You have to look through the raw >source of the webpage to find the necessary form field values.) For >example, the following script uses your example address to put the >webpage normally returned into field 1. > >on mouseUp > put empty into field 1 > > put "Selection=" & 1 after tQuery > put "&" after tQuery > put "address1=" & urlEncode("123 BROAD ST") after tQuery > put "&" after tQuery > put "zipcode=" & 95959 after tQuery > > put "http://zip4.usps.com/zip4/zip4_responseA.jsp" into tUrl > > post tQuery to url tUrl > if the result <> empty then > answer the result > else > set the htmltext of field 1 to it > end if > >end mouseUp > > >Cheers >Dave > Dave and Chip, Well, this opens up a whole new facet of Run. So much to learn. Thanks again. Jim From b.xavier at internet.lu Mon Apr 11 11:20:21 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 11 Apr 2005 17:20:21 +0200 Subject: more strange behavior - some scripts forgotten In-Reply-To: <3f07cc2605041107562a4fd986@mail.gmail.com> Message-ID: <20050411153319.0FE559300D6@mail.runrev.com> > On Apr 10, 2005 3:47 PM, Byron Turner wrote: > > Almost every object whose script I open asks to apply > changes when I > > go to close, whether or not there is any script in it or > any changes > > have been made. Should I be worried? This is just the same kind of bugs that annoy me since switching to rev. Just type control-return or enter twice... Since it's usual to come back to a script, I just type enter once which saves the script and then SAVE and the test... The other alternative is to use my ControlsN2O plugin - no dialog, and it's just the fastest editor out there (has no features either ;)! Im coming out also with an super quick editor to kick some butt and show some real editor features I've been sitting on for 2 years ;) > > Scripts that I fixed long ago, seem to be reverting back to earlier > > versions. Example I have a script where I created a global and > > another object script uses that global. When I looked just > now, the > > first object had no reference to that global or any of the > succeeding > > script, but the second object retained it. I opened a previous > > version and found the first object's script. I've seen this a couple times and was wondering what on earth if it wasn't me! Part of the HotKeyN2O motivation to undo any silly thing... > > I've also noted that in my longest script characters take a > very long > > time to show up . . as much as several seconds after I begin typing. I dont have that problem unless you use a previous version on HotKeyN2O... If you do, just deactivate the plugin mode or clear the undo objects database and lower the undo-events recorded to see. It could just be another plugin taking your cpu time... Cheers Xavier -- http://monsieurx.com/runrev From JUAN.C.VEIGA at saic.com Mon Apr 11 11:41:46 2005 From: JUAN.C.VEIGA at saic.com (Veiga, Juan C.) Date: Mon, 11 Apr 2005 11:41:46 -0400 Subject: Tabbed buttons. Message-ID: <6A47CB4A48D1EA49A6F7AB618490D64920CEA9BB@mcl-its-exs03.mail.saic.com> Judy, If you return your email address, I have a rev file with the tabbed buttons as described. It was developed by Rob Gould for me and he has no problems sharing. Juan -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Judy Perry Sent: Monday, April 11, 2005 1:51 AM To: How to use Revolution Subject: Re: Tabbed buttons. Ryno, I'll send you a PDF and a stack separately shortly from my mac.com account. Judy On Sun, 10 Apr 2005, Ryno Swart wrote: > Does anybody have a simple (simple!) example of working with tabbed > buttons? I went through the documentation, even searched the net, but > the only information I could find was so obscure as to be useless. I > need to have spelled out "With the edit tool selected, click on the tab > marked 'Tab 1'. Now open the script editor... " and so forth. Many > thanks, folks. > > Ryno. > > _______________________________________________ > 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 eric.chatonet at sosmartsoftware.com Mon Apr 11 12:22:44 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 11 Apr 2005 18:22:44 +0200 Subject: [ANN] #013 How-To stack: Managing tabbed buttons Message-ID: <6ed8bea1820692f835ea841b23f5d07f@sosmartsoftware.com> Hi everyone, These last few days, I saw many questions about tabbed buttons. A quick search in the mailing list showed about 150 recurrente requests to this topic. So, some of you might be interested by: How-To stack #013: Managing tabbed buttons (specially dedicated to beginners) Shows how to manage tabbed buttons with 2 methods: Multiple cards method (each tab is a card) and Groups method (each tab is a group). And by script, how to set the tabs names, how to select a tab, how to disable or enable a tab, etc. On RevOnLine: User name: So Smart Software Category: Programming On RevNet: Tutorials section To donwload RevNet, go to http://www.fourthworld.com/rev/index.html Directly by pasting into the message box: go url "http://www.sosmartsoftware.com/downloads/ Managing%20Tabbed%20Buttons.rev" Previous "How-To" stacks are available from RevOnLine or RevNet or by pasting into the message box: #001 How to magnify images and only images! go url "http://www.sosmartsoftware.com/downloads/ Magnifying%20images%20only.rev" #002 How to change card dimensions go url "http://www.sosmartsoftware.com/downloads/ Managing%20card%20dimensions.rev" #003 How to install brushed metal appearance on all platforms go url "http://www.sosmartsoftware.com/downloads/ Managing%20brushed%20metal.rev" #004 How to manage HTML lists on the fly go url "http://www.sosmartsoftware.com/downloads/Managing%20HTML%20lists.rev" #005 How to drag and drop images and different ways to store images go url "http://www.sosmartsoftware.com/downloads/ Images%20drag%20and%20drop.rev" #006 How to manage contextual tooltips on the fly go url "http://www.sosmartsoftware.com/downloads/Managing%20Tooltips.rev" #007 How to manage "Snap to" scrollbars (revised on 3/3/05) go url "http://www.sosmartsoftware.com/downloads/Managing%20Scrollbars.rev" #008 How to build a menu on the fly go url "http://www.sosmartsoftware.com/downloads/Managing%20Menus.rev" #009 How to fix the decorations (titlebar appearance) go url "http://www.sosmartsoftware.com/downloads/Managing%20Titlebars.rev" #010 How to drag and drop files and folders go url "http://www.sosmartsoftware.com/downloads/ Managing%20Drag%20and%20Drop.rev" #011 How to manage user waiting go url "http://www.sosmartsoftware.com/downloads/Managing%20Waitings.rev" #012 How to ask a password go url "http://www.sosmartsoftware.com/downloads/Asking%20Password.rev" With best regards, Eric Chatonet. --------------------------------------------------------------- For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch --------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet AT sosmartsoftware.com/ Post 24, Bd de Port-Royal 75005 Paris Phone (33) 143 317 762 Mobile (33) 620 745 086 --------------------------------------------------------------- From swartart at iafrica.com Mon Apr 11 12:34:04 2005 From: swartart at iafrica.com (Ryno Swart) Date: Mon, 11 Apr 2005 18:34:04 +0200 Subject: Tabbed buttons In-Reply-To: <20050411160004.277979300D3@mail.runrev.com> Message-ID: <84586B12-AAA7-11D9-85CA-003065D180EE@iafrica.com> Hey Juan, It is for me. Judy understands these things already. So if you could please pass it my way, that would be great. Ryno (email address above) > Judy, > > If you return your email address, I have a rev file with the tabbed > buttons > as described. It was developed by Rob Gould for me and he has no > problems > sharing. > > Juan From kray at sonsothunder.com Mon Apr 11 12:33:21 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 11 Apr 2005 11:33:21 -0500 Subject: Dreamcard player on Windows In-Reply-To: <20050411150225.193F4930065@mail.runrev.com> Message-ID: On 4/11/05 9:49 AM, "MisterX" wrote: > Annika, > > if you open a cmd and type "assoc .rev" , it will tell you who or what > program is associated with the rev extension. > > typing assoc alone will give you all the classes available with their > assigned types. > > Unfortunately, no matter how i reverse the function i dont get revolution > anything... I know I've installed Rev after winrar. So I know now the > problem - most probable that runrev doesnt create a filetype class for it's > files at installation - another bugzilla i guess - note that it's only > useful for the first file you open also! And we've been discussing this on > another thread. When I do "assoc .rev" I get "rev_auto_file", which if you track it down in RegEdit in HKCR, it points to Revolution (2.2 on my machine, even though 2.5.1 is installed). It seems as though the installer will create an entry if there isn't one, but won't update an entry if there is one (I still have 2.2 on my PC along with 2.5.1). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Mon Apr 11 12:35:56 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 11 Apr 2005 11:35:56 -0500 Subject: [ANN] #013 How-To stack: Managing tabbed buttons In-Reply-To: <6ed8bea1820692f835ea841b23f5d07f@sosmartsoftware.com> Message-ID: On 4/11/05 11:22 AM, "Eric Chatonet" wrote: > How-To stack #013: Managing tabbed buttons (specially dedicated to > beginners) > Shows how to manage tabbed buttons with 2 methods: Multiple cards > method (each tab is a card) and Groups method (each tab is a group). > And by script, how to set the tabs names, how to select a tab, how to > disable or enable a tab, etc. Very nice, Eric... keep up the good work! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From david at dvglasgow.wanadoo.co.uk Mon Apr 11 12:42:11 2005 From: david at dvglasgow.wanadoo.co.uk (Mr D Glasgow) Date: Mon, 11 Apr 2005 17:42:11 +0100 Subject: Physiological data acquisition via USB In-Reply-To: <20050410160039.D62119300DB@mail.runrev.com> References: <20050410160039.D62119300DB@mail.runrev.com> Message-ID: On 10 Apr 2005, at 5:00 pm, David Glasgow wrote: > Message: 3 > Date: Sun, 10 Apr 2005 11:10:43 +0100 > From: Mr D Glasgow > Subject: Physiological data acquisition via USB > To: use-revolution at lists.runrev.com > Message-ID: <1667ab851b6418faf450d8a899f51226 at dvglasgow.wanadoo.co.uk> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > This has popped up on the list now and then, but typically those trying > to achieve it seem to retire disillusioned. The last one in the > archives was Elizabeth Dalton....are you still out there Elizabeth? > Did you get anywhere? > > In fact, is there *anyone* out there who has managed to use Rev to > acquire either galvanic skin response or heart rate on either Mac or > Win (as usual, preferably both)? I'll take the silence on this as a "no". Pity. If that changes, and you are reading this in the archive, drop me a line. (Unless it is after 2010 when I won't be that interested any more, and USB will have gone the way of.....well everything in the world of computer connectivity) Best Wishes, David Glasgow http://www.i-psych.co.uk From alex at tweedly.net Mon Apr 11 12:49:11 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 11 Apr 2005 17:49:11 +0100 Subject: Dreamcard player on Windows In-Reply-To: References: Message-ID: <425AAA87.9000609@tweedly.net> annika wrote: > Hi, > I've run in to problems running Revolution stacks in the Dreamcard > player 2.5.1 on Windows XP. > As far as I understand, after inquiring at Runrev support, I should > be able to open a Revolution stack in the player by double clicking > the stack.However after uninstalling all other Revolution applications > from the PC and installing the player, my stack cannot be opened by > double clicking, and if I try to set its file association to the > player this doesn't work either. This could be a problem with the order things happened. I think the DC Player won't change existing associations - so if your machine previously had a Runrev installation on it, then the .rev files would remain associated with the RR; then when you de-installed RR, you might finish up with no association for a .rev file. You should be able to re-install the association from the Tools ... / Folder Options / File Types menu on any file explorer window - or perhaps by re-installing DC Player after removing the other RR applications. Note you will then run into Bugzilla 2138 - cursor is invisible when opened by double-click, no way to exit secure mode. > I can open the stack by dragging it to the player, but being able to > open it by double clicking is crucial in our use situation. > I'd be greatful for any help on this. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From alex at tweedly.net Mon Apr 11 12:51:50 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 11 Apr 2005 17:51:50 +0100 Subject: ANN: BreakpointNavigator Plugin release In-Reply-To: <425A8DB2.20307@crcom.net> References: <20050411132817.60E9E9300DD@mail.runrev.com> <425A8DB2.20307@crcom.net> Message-ID: <425AAB26.20708@tweedly.net> Len Morgan wrote: > This will not work if you are on Windows. I believe that a bugzilla > report is already sitting at RunRev concerning double-clicking on .rev > files. What happens is that the mouse cursor disappears whenever you > go over the window that is opened. If you use the IDE to File->Open > Stack, it will work fine. > BZ 2138 > I have no idea if anyone is looking at this or not but I consider it a > big deal since users are expecting to double-click on an icon to > launch it. I considered it a big deal too - but it's been over 7 months since I entered the bug report, and it is still in "Unconfirmed" state, so I guess the folks at RunRev disagree with us. Note I no longer consider it important - I just regard the Player as unusable, and bought a Studio license so I can build standalones. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From dsc at swcp.com Mon Apr 11 12:56:44 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 11 Apr 2005 10:56:44 -0600 Subject: Physiological data acquisition via USB In-Reply-To: References: <20050410160039.D62119300DB@mail.runrev.com> Message-ID: <07770a1c9ad125f40eaa4e69b2315a62@swcp.com> On Apr 11, 2005, at 10:42 AM, Mr D Glasgow wrote: > If that changes, and you are reading this in the archive, drop me a > line. (Unless it is after 2010 when I won't be that interested any > more, and USB will have gone the way of.....well everything in the > world of computer connectivity) Some USB devices for DAQ look just like a serial device. This might not be the case for yours, but it might. If so, it would look like, say, COM5: on Windows. Dar Scott -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From b.xavier at internet.lu Mon Apr 11 13:13:37 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 11 Apr 2005 19:13:37 +0200 Subject: Dreamcard player on Windows In-Reply-To: Message-ID: <20050411172631.3E9609300AE@mail.runrev.com> > When I do "assoc .rev" I get "rev_auto_file", which if you > track it down in RegEdit in HKCR, it points to Revolution > (2.2 on my machine, even though > 2.5.1 is installed). It seems as though the installer will > create an entry if there isn't one, but won't update an entry > if there is one (I still have 2.2 on my PC along with 2.5.1). > That would explain it... Too bad there's no option to ask at install time like all other programs do... I wont mind not writing my 3rd installer bugzilla since... (no, i wont rant again) Xav From jacque at hyperactivesw.com Mon Apr 11 14:04:46 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2005 13:04:46 -0500 Subject: Can't create file Message-ID: <425ABC3E.3040403@hyperactivesw.com> I have a client with a problem I can't figure out, and am hoping someone here may know the answer. A standalone creates a text file in the same folder as the application. This works fine almost all the time on all platforms. However, very rarely, we get an error message on Win98 "can't open that file". If the handler is repeated immediately, the file does get created. This has happened only twice out of hundreds of successful attempts. The machine is not networked, so no one else could have had the file open. The script basically just calculates a file path, then does "open file for write". That's when the error occurs. Anyone know what would cause this failure, which corrects itself on a second attempt? We have only seen it on Win98. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Apr 11 14:07:14 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Apr 2005 11:07:14 -0700 Subject: Currency and percentage in numeric evaluation In-Reply-To: References: <20050410160039.83B679300CC@mail.runrev.com> Message-ID: <425ABCD2.10907@fourthworld.com> Robert Presender wrote: > On Apr 10, 2005, at 9:00 AM, Richard Gaskin wrote: > >> I need to evaluate a large number of short strings to >> determine whether they are numeric. Some of these are >> percentages, and include the "%", and others are >> currency and can contain "$". the Euro, Yen, or any >> number of other signs. >> >> With dates we have a convenient test: try to convert >> it, and if it fails it will tell you why. >> >> But we have no such convenience with percentages and >> currency. So what is the most efficient (heck, I'd >> settle for reasonable efficient) way to determine if >> a string is numeric given the wide range of currency >> formats in common use? > > I put the following into the msg box > > put "12%" into holder > put holder is a number > > The above returns returns false Precisely the problem: in the context of my application (in which numeric comparisons are done with monetary and percentage values in addition to raw numbers) "12%" needs to be treated as a number. In lieu of any consistently reliable way to determine if a string may be a monetary amount, I've opted for the user to be able to specify if a given field should be treated as such. While I'd rather have that done automatically, it's more important that I remove all ambiguity in order to do a proper comparison. Thanks for all the input in this. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsquance at elkvalley.net Mon Apr 11 14:31:43 2005 From: dsquance at elkvalley.net (David Squance) Date: Mon, 11 Apr 2005 12:31:43 -0600 Subject: [ANN] #013 How-To stack: Managing tabbed buttons In-Reply-To: <6ed8bea1820692f835ea841b23f5d07f@sosmartsoftware.com> References: <6ed8bea1820692f835ea841b23f5d07f@sosmartsoftware.com> Message-ID: <11a11799a3b5c26ef6e8acf21671c94c@elkvalley.net> > How-To stack #013: Managing tabbed buttons (specially dedicated to > beginners) > Shows how to manage tabbed buttons with 2 methods: Multiple cards > method (each tab is a card) and Groups method (each tab is a group). > And by script, how to set the tabs names, how to select a tab, how to > disable or enable a tab, etc. Thanks, Eric. I for one appreciate your efforts and find these very helpful. I'm curious about the opening card of this stack. All but the first two rev menu items disappear unless one switches to the pointer. And there is no way to get a resize option for that window. I couldn't access the bottom of the info field, and had to go to 'contents' in the card inspector to access the whole thing. There I could copy and paste it for printing. May have something to do with my still using RR2.1.2 Dave -- From jperryl at ecs.fullerton.edu Mon Apr 11 15:01:36 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 11 Apr 2005 12:01:36 -0700 (PDT) Subject: [ANN] #013 How-To stack: Managing tabbed buttons In-Reply-To: <11a11799a3b5c26ef6e8acf21671c94c@elkvalley.net> Message-ID: FWIW, I am working on a creating/using tabs PDF tutorial that I will post the URL for as well as the completed stack it helps you create shortly (meaning, sometime today I hope). I hope that anyone interested will take a look and offer constructive comments. Judy > > How-To stack #013: Managing tabbed buttons (specially dedicated to > > beginners) > > Shows how to manage tabbed buttons with 2 methods: Multiple cards > > method (each tab is a card) and Groups method (each tab is a group). > > And by script, how to set the tabs names, how to select a tab, how to > > disable or enable a tab, etc. From b.xavier at internet.lu Mon Apr 11 15:16:51 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 11 Apr 2005 21:16:51 +0200 Subject: ANN: BreakpointNavigator Plugin release In-Reply-To: <425AAB26.20708@tweedly.net> Message-ID: <20050411192945.1CB08930061@mail.runrev.com> > I considered it a big deal too - but it's been over 7 months > since I entered the bug report, and it is still in > "Unconfirmed" state, so I guess the folks at RunRev disagree > with us. Note I no longer consider it important - I just > regard the Player as unusable, and bought a Studio license so > I can build standalones. Echo! Same goes for the revGM support!!! From RR, support@ or anyone in the list... (you all know Im quite attached to this one >;)) But the constructive (taoist) critique would rather say... Why not write your own file browser [or GM]? The conclusion is quite clear to me after these past months waiting for an answer.... It is possible and usually takes less time than waiting from bugzilla or mailist replys (although rarely)! (ok i do have an experience advantage but i write these as I'd like to use them naturally or as a newbie... So I believe it's good for all of us and our customers. While I like to write fixes for RunRevs debug problems (or GM problems inclusive,) I've come to realise that writing your own is good for a few reasons: 1) you can support it yourself, 2) no support delays or disappointing replys that took more time to write than to query an answer regarding a bug status! 3) You can support, enhance and maintain it yourself, 4) you can have 2X, 10X, 100X more features than they will ever dream of in the time it takes them to fix any little problem! So the conclusion is: make life easy for yourself and others... dont forget to write the bugzilla though! Not everyone will pay for your super-solution or sponsor your stack-solution to the problem but at least there will be an answer for the end-user in the near future... Instead of making a whole solution that is against what exists, try first to rather make something that extends it and if that is futile or a blocker, do it yourself! This for the TAO of Rev stack design: fix the easy bugs first... If you have an IDE bug, try to go around it. Pin the bugzilla but plan for the alternative. There's always a way... When I had a problem with the answer dialog however, I had to find a different way to display the message and even just a card can do the trick! There's more tips like these... For example, small bugs take as much time as fixing one big bug and most users dont notice the big bug but keep being pestered by the small bugs... So... But dont forget either to fix the big bug or it will continue coming back to haunt your popularity as a cool app... sorry to bore you with client-support-chemistry theory but you'll see it sooner or later... it's a fact of development and my humble experience. I just hope you find the right catalist to tame the technical issues before they become wild business perception problems... Regards Xavier -- http://monsieurx.com/runrev - not just a stack of stacks! From gbojsza at gmail.com Mon Apr 11 15:52:52 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Mon, 11 Apr 2005 15:52:52 -0400 Subject: Using a field variable with exp10() Message-ID: <3d8af415050411125261f7ed54@mail.gmail.com> This must be simple thing but I have tried several variations and was hoping soeone would know off the top of their head. I have a field vTXpower that has the number 2 in it I would like to use the exp10() function normally if you did put the exp10 of (2) results in 100 which is correct I can do put 2 into tnum put the exp10 of (tnum) and this works but I cannot get put the fld "vTXpower" into tnum put the exp10 of (tnum) So I guess it is not taking the 2 from the field "vTXpower" as a real number?? Any insight is appreciated. thanks From alex at tweedly.net Mon Apr 11 16:01:07 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 11 Apr 2005 21:01:07 +0100 Subject: Using a field variable with exp10() In-Reply-To: <3d8af415050411125261f7ed54@mail.gmail.com> References: <3d8af415050411125261f7ed54@mail.gmail.com> Message-ID: <425AD783.8070504@tweedly.net> Glen Bojsza wrote: >but I cannot get >put the fld "vTXpower" into tnum >put the exp10 of (tnum) > >So I guess it is not taking the 2 from the field "vTXpower" as a real number?? > >Any insight is appreciated. > > This works OK for me - whether I type 2 or 2.0 or 2.5 into the field. Is there maybe some odd invisible character in there ? What happens if you do >put the fld "vTXpower" into tnum >put tnum into msg > > How about >>put the fld "vTXpower" into tnum >>add 1 to tnum >> >> -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 From dsquance at elkvalley.net Mon Apr 11 16:04:21 2005 From: dsquance at elkvalley.net (David Squance) Date: Mon, 11 Apr 2005 14:04:21 -0600 Subject: Using a field variable with exp10() In-Reply-To: <3d8af415050411125261f7ed54@mail.gmail.com> References: <3d8af415050411125261f7ed54@mail.gmail.com> Message-ID: > put the fld "vTXpower" into tnum > put the exp10 of (tnum) This worked for me. Could there be something else, like a hidden character in the field? Dave -- From davis.phil at comcast.net Mon Apr 11 16:30:11 2005 From: davis.phil at comcast.net (Phil Davis) Date: Mon, 11 Apr 2005 13:30:11 -0700 Subject: Can't create file In-Reply-To: <425ABC3E.3040403@hyperactivesw.com> References: <425ABC3E.3040403@hyperactivesw.com> Message-ID: <425ADE53.4050601@comcast.net> A few months ago I had an intermittent file creation problem related to the HD spinning down after a certain period of idle time. I corrected it by first (before trying to save) getting the 'detailed files' in the target directory. That forced the HD to spin up and then the write would succeed. That was on XP but the principle still applies. Don't know if your symptom could have a similar cause, but I thought it was worth sharing. Phil Davis J. Landman Gay wrote: > I have a client with a problem I can't figure out, and am hoping someone > here may know the answer. > > A standalone creates a text file in the same folder as the application. > This works fine almost all the time on all platforms. However, very > rarely, we get an error message on Win98 "can't open that file". If the > handler is repeated immediately, the file does get created. This has > happened only twice out of hundreds of successful attempts. The machine > is not networked, so no one else could have had the file open. > > The script basically just calculates a file path, then does "open file > for write". That's when the error occurs. > > Anyone know what would cause this failure, which corrects itself on a > second attempt? We have only seen it on Win98. > From lists at mangomultimedia.com Mon Apr 11 16:20:18 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 11 Apr 2005 13:20:18 -0700 Subject: revExecuteSQL and escaping values In-Reply-To: References: <3d8af415050411125261f7ed54@mail.gmail.com> Message-ID: <2c891dbf4d0510d20ccc098a858604d8@mangomultimedia.com> I was under the impression that when using binding with revdb that the values would be escaped when creating the sql statement. For example put "that's it" into myVar revExecuteSQL myDBID, "UPDATE myTable SET Description = :1 WHERE ID = 1", "myVar" would execute the statement like this: UPDATE myTable SET Description = 'that\'s it' WHERE ID = 1 This does not seem to be the case with revdb however since I am getting errors in my sql syntax whenever I have a variable with a single quote in it. Perhaps I just expected this since that is how Valentina works and as far as I can tell there is no way in revdb to access the active databases native string escape functions. Anyone have any insight here? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From eric.chatonet at sosmartsoftware.com Mon Apr 11 17:00:04 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 11 Apr 2005 23:00:04 +0200 Subject: [ANN] #013 How-To stack: Managing tabbed buttons In-Reply-To: <11a11799a3b5c26ef6e8acf21671c94c@elkvalley.net> References: <6ed8bea1820692f835ea841b23f5d07f@sosmartsoftware.com> <11a11799a3b5c26ef6e8acf21671c94c@elkvalley.net> Message-ID: <61ae2ec7ca94261043b0921cd3e4b7d4@sosmartsoftware.com> Hi David, I open this How-To stack from the web with Rev 1.x, 2.2.x and 2.5.x... and it seems to work as expected :-) So, I am sorry to be unable to help you :-( May be there was a problem when downloading: try it once more: go url "http://www.sosmartsoftware.com/downloads/ Managing%20Tabbed%20Buttons.rev" Best regards, Eric Chatonet. Le 11 avr. 05, ? 20:31, David Squance a ?crit : >> How-To stack #013: Managing tabbed buttons (specially dedicated to >> beginners) >> Shows how to manage tabbed buttons with 2 methods: Multiple cards >> method (each tab is a card) and Groups method (each tab is a group). >> And by script, how to set the tabs names, how to select a tab, how to >> disable or enable a tab, etc. > > Thanks, Eric. I for one appreciate your efforts and find these very > helpful. I'm curious about the opening card of this stack. All but > the first two rev menu items disappear unless one switches to the > pointer. And there is no way to get a resize option for that window. > I couldn't access the bottom of the info field, and had to go to > 'contents' in the card inspector to access the whole thing. There I > could copy and paste it for printing. May have something to do with > my still using RR2.1.2 > Dave ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From fde101 at fjrhome.net Mon Apr 11 17:21:08 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 11 Apr 2005 17:21:08 -0400 Subject: Using a field variable with exp10() In-Reply-To: References: <3d8af415050411125261f7ed54@mail.gmail.com> Message-ID: <97fb294e34d66aab32c5b86dcc2ab9b7@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is everyone actually typing "the" before "fld"? I didnt't think that would actually work. Try removing the "the" and see if that fixes the problem. If not, then try put exp10(tnum) for the second statement; using the "the" format for functions has caused some problems for me in the past, going to the more traditional parenthetical notation seems to have done away with those problems. Now we are looking at, in effect (and yes, this should also work): put exp10(fld "vTXpower") On Apr 11, 2005, at 4:04 PM, David Squance wrote: >> put the fld "vTXpower" into tnum >> put the exp10 of (tnum) > > This worked for me. Could there be something else, like a hidden > character in the field? > > Dave > -- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCWupF7aqtWrR9cZoRAo7DAJ0ZSNgKu3AzW0ukR/lpA2BR5DyHGwCcDWAH FCx/Ftr/QNu7K/RKrlfa8Ow= =NXg2 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From gandalf at doctorTimothyMiller.com Mon Apr 11 17:47:05 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 11 Apr 2005 14:47:05 -0700 Subject: Physiological data acquisition via USB In-Reply-To: <07770a1c9ad125f40eaa4e69b2315a62@swcp.com> References: <20050410160039.D62119300DB@mail.runrev.com> <07770a1c9ad125f40eaa4e69b2315a62@swcp.com> Message-ID: >On Apr 11, 2005, at 10:42 AM, Mr D Glasgow wrote: > >>If that changes, and you are reading this in the archive, drop me a >>line. (Unless it is after 2010 when I won't be that interested >>any more, and USB will have gone the way of.....well everything in >>the world of computer connectivity) > >Some USB devices for DAQ look just like a serial device. This might >not be the case for yours, but it might. If so, it would look like, >say, COM5: on Windows. > >Dar Scott > >-- I recently discovered that USB ports in Windows (probly macintosh too) are highly configurable. Click on the hardware tab in the system control panel, find the com ports item, open it, double click on the com port you want to use. Lotsa configurations there. Nevertheless, I recently tried to program a biomedical device with a 9 pin serial port, using a USB-->serial adaptor, on Windows XP. As far as I can tell, I did everything right. It still didn't work. Possibly the problem lay with the programming software rather than the com port. Maybe you'll have better luck. I missed the front end of this thread, so I'm just guessing at the original question. I hope I wasn't too far off. If I was, well, never mind. TM From gbojsza at gmail.com Mon Apr 11 17:54:40 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Mon, 11 Apr 2005 17:54:40 -0400 Subject: Using a field variable with exp10() In-Reply-To: <97fb294e34d66aab32c5b86dcc2ab9b7@fjrhome.net> References: <3d8af415050411125261f7ed54@mail.gmail.com> <97fb294e34d66aab32c5b86dcc2ab9b7@fjrhome.net> Message-ID: <3d8af41505041114546fadbbd@mail.gmail.com> That does the trick... removing the "of" seems to fix it? On Apr 11, 2005 5:21 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Is everyone actually typing "the" before "fld"? I didnt't think that > would actually work. > > Try removing the "the" and see if that fixes the problem. > > If not, then try > > put exp10(tnum) > > for the second statement; using the "the" format for functions has > caused some problems for me in the past, going to the more traditional > parenthetical notation seems to have done away with those problems. > > Now we are looking at, in effect (and yes, this should also work): > > put exp10(fld "vTXpower") > > > On Apr 11, 2005, at 4:04 PM, David Squance wrote: > > >> put the fld "vTXpower" into tnum > >> put the exp10 of (tnum) > > > > This worked for me. Could there be something else, like a hidden > > character in the field? > > > > Dave > > -- > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCWupF7aqtWrR9cZoRAo7DAJ0ZSNgKu3AzW0ukR/lpA2BR5DyHGwCcDWAH > FCx/Ftr/QNu7K/RKrlfa8Ow= > =NXg2 > -----END PGP SIGNATURE----- > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon Apr 11 18:25:35 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2005 17:25:35 -0500 Subject: Can't create file In-Reply-To: <425ADE53.4050601@comcast.net> References: <425ABC3E.3040403@hyperactivesw.com> <425ADE53.4050601@comcast.net> Message-ID: <425AF95F.8050109@hyperactivesw.com> On 4/11/05 3:30 PM, Phil Davis wrote: > A few months ago I had an intermittent file creation problem related to > the HD spinning down after a certain period of idle time. I corrected it > by first (before trying to save) getting the 'detailed files' in the > target directory. That forced the HD to spin up and then the write would > succeed. That was on XP but the principle still applies. > > Don't know if your symptom could have a similar cause, but I thought it > was worth sharing. Thanks -- I never would have thought of this. I'm not sure how you did. :) I'll ask the client whether the program had been paused for a while before the error occurred. You may be on to something here. > > Phil Davis > > > > J. Landman Gay wrote: > >> I have a client with a problem I can't figure out, and am hoping >> someone here may know the answer. >> >> A standalone creates a text file in the same folder as the >> application. This works fine almost all the time on all platforms. >> However, very rarely, we get an error message on Win98 "can't open >> that file". If the handler is repeated immediately, the file does get >> created. This has happened only twice out of hundreds of successful >> attempts. The machine is not networked, so no one else could have had >> the file open. >> >> The script basically just calculates a file path, then does "open file >> for write". That's when the error occurs. >> >> Anyone know what would cause this failure, which corrects itself on a >> second attempt? We have only seen it on Win98. >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at dvglasgow.wanadoo.co.uk Mon Apr 11 19:06:46 2005 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Tue, 12 Apr 2005 00:06:46 +0100 Subject: Physiological data acquisition via USB In-Reply-To: <20050411213422.2BEB39300DB@mail.runrev.com> References: <20050411213422.2BEB39300DB@mail.runrev.com> Message-ID: On 11 Apr 2005, at 10:34 pm, use-revolution-request at lists.runrev.com wrote: > Some USB devices for DAQ look just like a serial device. This might > not be the case for yours, but it might Dar, My problem is that I can't find a device to use. Can you give me any specific examples? TIA David From gjbalzano at ucsd.edu Mon Apr 11 19:07:09 2005 From: gjbalzano at ucsd.edu (Jerry Balzano) Date: Mon, 11 Apr 2005 16:07:09 -0700 Subject: New Guide to the IDE in Process In-Reply-To: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> Message-ID: <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> Count me in as an interested party as well, although I have to say that $15 seems a little steep. The various "Take Control" books for various facets of Mac OS X, many of which are over 100 pages in length, are all $10 or less, and several are only $5. Do add the message box (perhaps including SoSmart's very nice Message Picker) and its various "modes" among your topic list. Thanks, JerryB On Apr 10, 2005, at 12:22 PM, Dan Shafer wrote: > So, step one. Please let me know either off-list > (revdan at danshafer.com) or here if you'd be interested in purchasing > such an eBook if it were available for immediate download at a price > of, say, $15. If it seems there's enough interest, I'll move this up > on my list. From sarahr at genesearch.com.au Mon Apr 11 19:34:39 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 12 Apr 2005 09:34:39 +1000 Subject: MySQL Date Conversion Problem In-Reply-To: <712FC50E-A8F0-11D9-8E4B-000393983366@centurytel.net> References: <712FC50E-A8F0-11D9-8E4B-000393983366@centurytel.net> Message-ID: <72290943c905c95f184c07b7be4793b4@genesearch.com.au> I bet you just switched to daylight-savings time :-) This is a 'feature" of Rev on OS X that has been driving me crazy for ages. Dave's solution is the correct one, just put a 2 in the dateitems. Cheers, Sarah On 11 Apr 2005, at 6:04 PM, Marvin Wurth wrote: > I have found the following problem and would like someone to please > confirm my findings before I post Bug report. > > I have been using the following functions posted by Sarah Reichelt to > convert dates from MySQL to Revolution and back to MySQL. The > functions > are: > > -- converts a system short date into an SQL format date > -- uses current date if none supplied > -- > function SQLDate pDate > if pDate is empty then put the short system date into pDate > convert pDate from short system date to dateItems > return item 1 of pDate & "-" & item 2 of pDate & "-" & item 3 of > pDate > end SQLDate > > > -- reverse function to convert SQL date to short system date > -- > function SystemDate pDate > if pDate is empty then return the short system date > replace "-" with comma in pDate > put ",0,0,0,0" after pDate > convert pDate from dateItems to short system date > return pDate > end SystemDate > > > I been using the functions for about 6 months and they work great! > Thanks > Sarah. But yesterday I noticed working in Revolution 2.5.1 on Mac OS X > 10.3.8, that when a date came in from MySQL, Revolution was displaying > one > day earlier. For example if the date in MySQL which is formatted as > '2005-02-01' was converted to '01/31/05'. The conversion back to MySQL > works correctly. What is even stranger is if the date is in the same > week > as the current date then the conversion is correct. For example > '2005-04-08' to '04/08/05' works correctly. > > When I tested the functions with different platforms and versions of > Revolution, I found the following results. > > Windows XP SP2, Revolution 2.1.2 works correctly. > Windows XP SP2, Revolution 2.5.1 works correctly. > SuSE 9.2, Revolution 2.5 works correctly. > Mac OS 9.2 in Classic Mode, Revolution 2.2.1 works correctly. > Mac OS X 10.3.8, Revolution 2.1.2 works correctly. > Mac OS X 10.3.8, Revolution 2.2.1 works correctly. > Mac OS X 10.3.8, Revolution 2.5.1 failed. > > It looks to me like there is some type of problem in 2.5.1 and short > system date. I have a small test stack I created for testing if any > would > like me to email it to them. If you have any questions, please let me > know. Your help is much appreciated. > > Thanks, > > Marvin Wurth From monte at sweattechnologies.com Mon Apr 11 19:35:54 2005 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Apr 2005 09:05:54 +0930 Subject: Physiological data acquisition via USB References: <20050410160039.D62119300DB@mail.runrev.com> Message-ID: <002601c53eef$3470a2f0$0402a8c0@Fred> >> >> This has popped up on the list now and then, but typically those trying >> to achieve it seem to retire disillusioned. The last one in the >> archives was Elizabeth Dalton....are you still out there Elizabeth? >> Did you get anywhere? >> >> In fact, is there *anyone* out there who has managed to use Rev to >> acquire either galvanic skin response or heart rate on either Mac or >> Win (as usual, preferably both)? > > I'll take the silence on this as a "no". Pity. > > If that changes, and you are reading this in the archive, drop me a line. > (Unless it is after 2010 when I won't be that interested any more, and > USB will have gone the way of.....well everything in the world of computer > connectivity) Hi David I have one app that parses the saved file from a Polar HR Monitor. If you are interested in that I think I have the file spec around here somewhere... Cheers Monte From gjbalzano at ucsd.edu Mon Apr 11 19:44:53 2005 From: gjbalzano at ucsd.edu (Jerry Balzano) Date: Mon, 11 Apr 2005 16:44:53 -0700 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: <425AAB26.20708@tweedly.net> References: <20050411132817.60E9E9300DD@mail.runrev.com> <425A8DB2.20307@crcom.net> <425AAB26.20708@tweedly.net> Message-ID: Although I haven't tested this on my PC, let me chime in vigorously on the importance of squashing this particular bug. Here's part of the problem, Alex. (I noted a similar problem previously for the "Globals" bug (#2721).) You may have entered it 7 months ago, but nobody has voted for it! Actually, it has -- had -- two (2) votes; I doubled this by weighing in with 2 myself. But anyone who agrees -- for the sake of Dreamcard newbies if nothing else -- that you ought to be able to double-click a Rev/Dreamcard file to open Dreamcard Player, should get thee to the votery (http://support.runrev.com/bugzilla/bugzilla.php) and weigh in yourself. Seriously, if we want this community to grow and to attract new users via the Dreamcard vehicle, this universal double-click-it-and-it-opens function has gotta work!! - Jerry On Apr 11, 2005, at 9:51 AM, Alex Tweedly wrote: > Len Morgan wrote: > >> This will not work if you are on Windows. I believe that a bugzilla >> report is already sitting at RunRev concerning double-clicking on >> .rev files. What happens is that the mouse cursor disappears whenever >> you go over the window that is opened. If you use the IDE to >> File->Open Stack, it will work fine. >> > BZ 2138 > >> I have no idea if anyone is looking at this or not but I consider it >> a big deal since users are expecting to double-click on an icon to >> launch it. > > I considered it a big deal too - but it's been over 7 months since I > entered the bug report, and it is still in "Unconfirmed" state, so I > guess the folks at RunRev disagree with us. Note I no longer consider > it important - I just regard the Player as unusable, and bought a > Studio license so I can build standalones. > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Mon Apr 11 20:08:30 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 11 Apr 2005 17:08:30 -0700 Subject: New Guide to the IDE in Process In-Reply-To: <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> Message-ID: <41ba5a4cfbcc985465824ae65721d610@danshafer.com> On Apr 11, 2005, at 4:07 PM, Jerry Balzano wrote: > Count me in as an interested party as well, although I have to say > that $15 seems a little steep. The various "Take Control" books for > various facets of Mac OS X, many of which are over 100 pages in > length, are all $10 or less, and several are only $5. > If you sell a few thousand or even a few hundred copies of an eBook, you can price it lower than you can if you expect to sell a few dozen or at most 100. Rev's installed base being what it is (no, I don't know what it is; they won't tell anyone, even me, which is good business but no less annoying for that), I have to figure a higher price point to have even a remote chance of being paid a reasonable hourly rate for my effort. > Do add the message box (perhaps including SoSmart's very nice Message > Picker) and its various "modes" among your topic list. > The Message Box will be included. No third party products will. > Thanks, > JerryB ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From gjbalzano at ucsd.edu Mon Apr 11 20:22:25 2005 From: gjbalzano at ucsd.edu (Jerry Balzano) Date: Mon, 11 Apr 2005 17:22:25 -0700 Subject: New Guide to the IDE in Process In-Reply-To: <41ba5a4cfbcc985465824ae65721d610@danshafer.com> References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> <41ba5a4cfbcc985465824ae65721d610@danshafer.com> Message-ID: On Apr 11, 2005, at 5:08 PM, Dan Shafer wrote: > The Message Box will be included. No third party products will. Hmmmm ... not even freeware third party products? Not even ones you yourself use frequently? I don't currently produce any, so I can speak relatively disinterestedly here, but for me part of the value of the proposed Guide is an opportunity to "look over Dan Shafer's shoulder" as he works through (and around!) the various facets of the Rev experience. Are you making an "in principle" argument here? If so, what's the principle? Jerry From zack at savagecool.com Mon Apr 11 23:19:11 2005 From: zack at savagecool.com (zack) Date: Mon, 11 Apr 2005 20:19:11 -0700 Subject: Can't Select the First Line of List Field Message-ID: Hello Everyone. I have a list field with three items in it. I can select lines two and 3 but I can't select the first line. Anybody have any ideas? I am brand new so assume I know nothing. Thanks z From davis.phil at comcast.net Mon Apr 11 23:46:29 2005 From: davis.phil at comcast.net (Phil Davis) Date: Mon, 11 Apr 2005 20:46:29 -0700 Subject: Can't create file In-Reply-To: <425AF95F.8050109@hyperactivesw.com> References: <425ABC3E.3040403@hyperactivesw.com> <425ADE53.4050601@comcast.net> <425AF95F.8050109@hyperactivesw.com> Message-ID: <425B4495.8020902@comcast.net> J. Landman Gay wrote: > On 4/11/05 3:30 PM, Phil Davis wrote: > >> A few months ago I had an intermittent file creation problem related >> to the HD spinning down after a certain period of idle time. I >> corrected it by first (before trying to save) getting the 'detailed >> files' in the target directory. That forced the HD to spin up and then >> the write would succeed. That was on XP but the principle still applies. >> >> Don't know if your symptom could have a similar cause, but I thought >> it was worth sharing. > > > Thanks -- I never would have thought of this. I'm not sure how you did. :) It's an A.D.D. thing. Some people call it "highly distractable" or "unable to sustain focus". I call it "able to notice an uncommon number of details simultaneously." :o) Phil From jacque at hyperactivesw.com Tue Apr 12 00:45:59 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2005 23:45:59 -0500 Subject: Can't Select the First Line of List Field In-Reply-To: References: Message-ID: <425B5287.1010502@hyperactivesw.com> On 4/11/05 10:19 PM, zack wrote: > Hello Everyone. > > I have a list field with three items in it. I can select lines two and 3 > but I can't select the first line. > > Anybody have any ideas? Do you have any other object overlapping the top of the field? If so, that could block the mouse click. If not, does the field have a script that could be interfering? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zack at savagecool.com Tue Apr 12 01:23:14 2005 From: zack at savagecool.com (zack) Date: Mon, 11 Apr 2005 22:23:14 -0700 Subject: Can't Select the First Line of List Field In-Reply-To: <425B5287.1010502@hyperactivesw.com> Message-ID: That was it! Told you I know nothing. Thanks! On 4/11/05 9:45 PM, "J. Landman Gay" wrote: > On 4/11/05 10:19 PM, zack wrote: > >> Hello Everyone. >> >> I have a list field with three items in it. I can select lines two and 3 >> but I can't select the first line. >> >> Anybody have any ideas? > > Do you have any other object overlapping the top of the field? If so, > that could block the mouse click. If not, does the field have a script > that could be interfering? From rjearp at hotmail.com Tue Apr 12 01:30:19 2005 From: rjearp at hotmail.com (Bob Earp) Date: Mon, 11 Apr 2005 22:30:19 -0700 Subject: Weird PC Transcript error problems....Help!! Message-ID: The following is repeatable on both an HP laptop and a desktop running WinXP. This along with a number of other inconsitencies of Rev on PC's is driving me crazy to the point I'm on the verge of giving up on it, and I really don't want to. If anybody can help I'd appreciate it. If I create a simple one card stack with a single button that has the following script everything works fine; on mouseUp put the ticks end mouseUp The ticks get put into the message box. I can also create a simple one card stack with three graphics grouped and named "Foo", and a button with the following script, and everything works fine; on mouseUp hide grp "Foo" lock screen show group "Foo" unlock screen with visual iris open end mouseUp The group shows with an iris open, albeit at completely different speeds on each machine. However, if I add "put the ticks" in the second example as follows, I get an "unquoted literal" error at the line "unlock screen with visual iris open". on mouseUp put the ticks hide grp "Foo" lock screen show group "Foo" unlock screen with visual iris open end mouseUp I can repeat this with other handlers and get different errors, but in every case I do not get errors when doing the same on a Mac. Is the error handling different on the PC ? I have reloaded Rev a couple of times and just accept the default settings regarding the script editor etc. Thanks for your consideration, Bob... Bob Earp - Ashford Training Technologies, White Rock, BC, Canada. _________________________________________________________________ Powerful Parental Controls Let your child discover the best the Internet has to offer. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From janschenkel at yahoo.com Tue Apr 12 01:54:25 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 11 Apr 2005 22:54:25 -0700 (PDT) Subject: Weird PC Transcript error problems....Help!! In-Reply-To: 6667 Message-ID: <20050412055425.49215.qmail@web60506.mail.yahoo.com> --- Bob Earp wrote: > The following is repeatable on both an HP laptop and > a desktop running > WinXP. This along with a number of other > inconsitencies of Rev on PC's is > driving me crazy to the point I'm on the verge of > giving up on it, and I > really don't want to. If anybody can help I'd > appreciate it. > > [snip] > > However, if I add "put the ticks" in the second > example as follows, I get an > "unquoted literal" error at the line "unlock screen > with visual iris open". > > on mouseUp > put the ticks > hide grp "Foo" > lock screen > show group "Foo" > unlock screen with visual iris open > end mouseUp > > I can repeat this with other handlers and get > different errors, but in every > case I do not get errors when doing the same on a > Mac. > > Is the error handling different on the PC ? I have > reloaded Rev a couple > of times and just accept the default settings > regarding the script editor > etc. > > Thanks for your consideration, Bob... > Hi Bob, Try putting quotes around the name of your visual effect, as in : unlock screen with visual "iris open" Coulb it be that you have turned on the 'Variable checking' option in the script editor on Windows, and not on Mac ? When variable checking is on, the compiler is strict and wants the name of every variable declared in advance (global or local) before you can use it. When it is off, the compiler will convert what it thinks is the name of a variable, to a variable with the content of what you scripted, so in the case : unlock screen with visual iris open it will interpret it as : unlock screen with visual "iris open" based on some internal heuristics of what it would expect to follow next after unlock screen with visual Hope this helped, Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail From sarahr at genesearch.com.au Tue Apr 12 02:01:17 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 12 Apr 2005 16:01:17 +1000 Subject: Weird PC Transcript error problems....Help!! In-Reply-To: References: Message-ID: I don't have an explanation for this and I always use a Mac, but here are some suggestions: - try putting the effect in quotes e.g. unlock screen with visual "iris open" - I prefer this way of using visual effects: lock screen show group "Foo" visual effect "iris open" -- queue the effect for next unlock unlock screen - this allows you to add the optional speed parameter to the visual effect, but it is still processor and graphics dependent. HTH, Sarah On 12 Apr 2005, at 3:36 PM, Bob Earp wrote: > The following is repeatable on both an HP laptop and a desktop running > WinXP. This along with a number of other inconsitencies of Rev on > PC's is driving me crazy to the point I'm on the verge of giving up on > it, and I really don't want to. If anybody can help I'd appreciate > it. > > If I create a simple one card stack with a single button that has the > following script everything works fine; > on mouseUp > put the ticks > end mouseUp > > The ticks get put into the message box. > > I can also create a simple one card stack with three graphics grouped > and named "Foo", and a button with the following script, and > everything works fine; > on mouseUp > hide grp "Foo" > lock screen > show group "Foo" > unlock screen with visual iris open > end mouseUp > > The group shows with an iris open, albeit at completely different > speeds on each machine. > > However, if I add "put the ticks" in the second example as follows, I > get an "unquoted literal" error at the line "unlock screen with visual > iris open". > > on mouseUp > put the ticks > hide grp "Foo" > lock screen > show group "Foo" > unlock screen with visual iris open > end mouseUp > > I can repeat this with other handlers and get different errors, but in > every case I do not get errors when doing the same on a Mac. > > Is the error handling different on the PC ? I have reloaded Rev a > couple of times and just accept the default settings regarding the > script editor etc. > > Thanks for your consideration, Bob... > > Bob Earp - Ashford Training Technologies, White Rock, BC, Canada. From revdan at danshafer.com Mon Apr 11 21:36:59 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 11 Apr 2005 18:36:59 -0700 Subject: New Guide to the IDE in Process In-Reply-To: References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> <41ba5a4cfbcc985465824ae65721d610@danshafer.com> Message-ID: The "in principle" argument is simple. The unadorned, unenhanced IDE is the common denominator that needs documenting. Third-party tools should be documented by their developers, not in a general-usage IDE document. There are several completely alternate IDEs running around out there. I think the basic need is for documenting what comes with Rev out of the box. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From ambassador at fourthworld.com Tue Apr 12 03:04:44 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 00:04:44 -0700 Subject: Euro currency formats Message-ID: <425B730C.9090603@fourthworld.com> Semi-OT question for you folks in Europe: Is currency formatting for all nations that use the Euro consistent, or are there regional variations of how we might expect a currency string to be formatted? TIA - -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From xbury.cs at clearstream.com Tue Apr 12 03:10:35 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 12 Apr 2005 09:10:35 +0200 Subject: Euro currency formats Message-ID: Richard, The only variants i've seen are the usual EU symbol or EU letters before or after the number. Comma or period is used alternatively for decimal or thousands separation... Most europeans use the comma as a decimal "point" but there's no fixed standard. cheers Xavier On 12.04.2005 09:04:44 use-revolution-bounces wrote: >Semi-OT question for you folks in Europe: > >Is currency formatting for all nations that use the Euro consistent, or >are there regional variations of how we might expect a currency string >to be formatted? > >TIA - ----------------------------------------- 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 eric.chatonet at sosmartsoftware.com Tue Apr 12 03:25:13 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 12 Apr 2005 09:25:13 +0200 Subject: Euro currency formats In-Reply-To: <425B730C.9090603@fourthworld.com> References: <425B730C.9090603@fourthworld.com> Message-ID: <3912480adebea7f05ceee075fd14f641@sosmartsoftware.com> Hi Richard, Here in France, in Germany, Italy and Spain, we use the euro symbol after the amount separated by a space. I don't know about other countries as Poland or Malta :-) Normally, comma should be used for decimal separation and stays the rule but Anglo American habit gain ground since computer globalization. Space (usual) or comma (accounting) are used as thousands separators. You could check commercial web sites... Le 12 avr. 05, ? 09:04, Richard Gaskin a ?crit : > Is currency formatting for all nations that use the Euro consistent, > or are there regional variations of how we might expect a currency > string to be formatted? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From chipp at chipp.com Tue Apr 12 03:26:03 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 12 Apr 2005 02:26:03 -0500 Subject: New Guide to the IDE in Process In-Reply-To: References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> <41ba5a4cfbcc985465824ae65721d610@danshafer.com> Message-ID: <425B780B.5090801@chipp.com> You won't even throw in a plug for altPlugins? I mean, how many times has altArchive saved your skin;-) cw Dan Shafer wrote: > The "in principle" argument is simple. The unadorned, unenhanced IDE is > the common denominator that needs documenting. Third-party tools should > be documented by their developers, not in a general-usage IDE document. > There are several completely alternate IDEs running around out there. I > think the basic need is for documenting what comes with Rev out of the box. From eric.chatonet at sosmartsoftware.com Tue Apr 12 03:36:28 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 12 Apr 2005 09:36:28 +0200 Subject: New Guide to the IDE in Process In-Reply-To: References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> <41ba5a4cfbcc985465824ae65721d610@danshafer.com> Message-ID: <93df33528ee8a09bcde6706da96087f0@sosmartsoftware.com> Hi Dan and Jerry, I do agree Dan's position :-) You can't know all third party products and if they will stay available and reliable in the future. As for Message Box Picker, bilingual (English/French) documentation is included :-) The unenhanced IDE is already a deep enough forest... Nevertheless, a third party products list would be useful but it's another job... off the topic. Le 12 avr. 05, ? 03:36, Dan Shafer a ?crit : >> Do add the message box (perhaps including SoSmart's very nice Message >> Picker) and its various "modes" among your topic list. >> > The Message Box will be included. No third party products will. > The "in principle" argument is simple. The unadorned, unenhanced IDE > is the common denominator that needs documenting. Third-party tools > should be documented by their developers, not in a general-usage IDE > document. There are several completely alternate IDEs running around > out there. I think the basic need is for documenting what comes with > Rev out of the box. Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From sims at ezpzapps.com Tue Apr 12 04:00:27 2005 From: sims at ezpzapps.com (sims) Date: Tue, 12 Apr 2005 10:00:27 +0200 Subject: Euro currency formats In-Reply-To: <3912480adebea7f05ceee075fd14f641@sosmartsoftware.com> References: <425B730C.9090603@fourthworld.com> <3912480adebea7f05ceee075fd14f641@sosmartsoftware.com> Message-ID: >Hi Richard, > >Here in France, in Germany, Italy and Spain, we use the euro symbol >after the amount separated by a space. >I don't know about other countries as Poland or Malta :-) Malta will not be using the euro for a few more years. They now use the Malta Liri - LM is used to represent the Malta Liri (I know...looks backwards). Usually people use a space, sometimes not, between the LM and the first number. If the number is one thousand (single digit thousands) they do not use a comma or separator...if the number is in tens of thousands then they use a comma. All cash register receipts go out three decimal points...example: this morning I bought two kilos of tomatoes and the receipt reads 0.700 Maybe a look at Kagi's web site might also be helpful, Richard. The European Revolution Conference 2006 will be using the euro. hth, sims From xbury.cs at clearstream.com Tue Apr 12 04:21:36 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 12 Apr 2005 10:21:36 +0200 Subject: Euro currency formats Message-ID: There's more info at http://publications.eu.int/code/en/en-5000700.htm (although nothing about how to write the number). The ISO standard for currency is known as 4217 and is revised continually. I brought this up following Sims comment because the Maltese ISO is 3 letters not just 2! I have a series Filemaker databases that use a series of relative informations for curencies, exchanges, phone numbers, etc... I was thinking about converting them in stack form sooner or later for the basic TAOO knowledgebase... I might hasten it ;) cheers Xavier ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rjb at robelko.com Tue Apr 12 04:24:41 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 12 Apr 2005 10:24:41 +0200 Subject: Euro currency formats In-Reply-To: References: Message-ID: >Richard, > >The only variants i've seen are the usual EU symbol or EU letters before >or after the number. Actually, in reality, it can be either a single-character euro symbol, letters EU, or letters EUR. The symbol should be written after the number AFAIK, but I have seen it written up front quite often, like $, although usually with a space between it and the number. Even with dollar or other currencies, some places use the three-char international designations (USD for US dollar, for example). Same goes for countries that haven't switched to euro yet. For example, Poland may use ZL, the traditional designation for Zloty, or PLN, its international designation. Robert From sims at ezpzapps.com Tue Apr 12 04:28:49 2005 From: sims at ezpzapps.com (sims) Date: Tue, 12 Apr 2005 10:28:49 +0200 Subject: Euro currency formats In-Reply-To: References: Message-ID: >There's more info at http://publications.eu.int/code/en/en-5000700.htm >(although nothing about how to write the number). > >The ISO standard for currency is known as 4217 and is revised continually. > >I brought this up following Sims comment because the Maltese ISO is 3 >letters not just 2! Ah yes...even more complications. The banks will use the MTL, thanks for reminding me, but everyone else uses LM. Looks like a real minefield Richard. sims From boehmisch at animabit.de Tue Apr 12 04:16:15 2005 From: boehmisch at animabit.de (boehmisch at animabit.de) Date: 12 Apr 2005 08:16:15 UT Subject: Q: European Revolution Conference 2006, when where who ... Message-ID: Hello, newbie migrated from toolbook. The 2004 event in Malta was to far for me. European Revolution Conference 2006 - will it be a "continental" event? Where, when who ... Regards, Franz Mit freundlichen Gr??en Franz B?hmisch http://www.animabit.de GF Animabit Multimedia Software GmbH Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 boehmisch at animabit.de Original Message processed by David InfoCenter Subject: Re: Euro currency formats (12-Apr-2005 10:00) From: sims at ezpzapps.com To: boehmisch at animabit.de The European Revolution Conference 2006 will be using the euro. hth, sims _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution at lists.runrev.com To: sims at ezpzapps.com use-revolution at lists.runrev.com From marisa.kosaisaevee at netgalileo.com Tue Apr 12 05:26:42 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa Kosaisaevee) Date: Tue, 12 Apr 2005 16:26:42 +0700 Subject: Unicode Displaying in Runtime Revolution Message-ID: <425B9452.70907@netgalileo.com> I have a problem in displaying the data from query, content of UTF-8 (Thai) I'd already tried every functions and properties to display unicode text but the result is a mixed up characters (non-Thai). As the database used the Unicode (UTF-8), it's said that I need convert them by uniEncode or uniDecode. Since, the textFont property shouldn't be use with Unicode or I should put just "Unicode". However, all that didn't work. So, I tried on the textFont property again. In it's property, I put the name of Thai Font and Langauge (ie: "Kedmanee","Thai"). This time it showed repeated Thai characters, not what it should be. Finally, I checked out the mailing list for those who had the same problem. I found one suggestion using unicodeText together with uniEncode, which I tried but doesn't work, too. Later, I assumed that problems may be on the database side. So, I tried put the Thai's word through Script Editor and use the unicodeText and uniEncode to make it displayed. Still, the result is mixed up chararters. Then, I tried to type the Thai's word directly to the content of the field into Property Inspecter pane. It does show exaclty the word I typed!! Therefore, I tried, again, through the Script Editor using put command with Thai characters string. It turned out as those non-Thai mixed up characters again!?!? Anyway, that is not what I want. Since, I aimed to display a query data from database, which are Thais characters of Unicode charset; UTF-8, using the Script Editor. Now, I confused of what and where I had done wrong or maybe I misunderstood about the unicode concept in RunRev. As for the first time, all I did is just retrieved all the data from database without unicode conversion but the result was, also, non-Thai mixed up chararters. However, I look forward to every suggestions. Thank you in advance Marisa From alex at tweedly.net Tue Apr 12 06:23:00 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 12 Apr 2005 11:23:00 +0100 Subject: Q: European Revolution Conference 2006, when where who ... In-Reply-To: References: Message-ID: <425BA184.1040607@tweedly.net> boehmisch at animabit.de wrote: >Hello, > >newbie migrated from toolbook. >The 2004 event in Malta was to far for me. >European Revolution Conference 2006 - will it be a "continental" event? >Where, when who ... > Nothing has been officially announced yet, and I have no "inside" knowledge, but I expect ..... it will be in November 2006 it will be in Malta who will be decided much, much closer to the time. But although it's not on mainland Europe, don't think of Malta as "too far". It's a popular holiday destination from most of Europe, so it is pretty well connected by flights - for example, 3 a week from Munich, at reasonable prices (currently 250 EU return). I could even get a direct flight from a provincial airport in Scotland !! EuroRevCon 2004 had attendees from UK, Norway, Italy, France, Germany, Spain (and possibly more) as well as Brazil and the US. - Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 From marisa.kosaisaevee at netgalileo.com Tue Apr 12 06:28:56 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa Kosaisaevee) Date: Tue, 12 Apr 2005 17:28:56 +0700 Subject: Unicode Displaying in Runtime Revolution In-Reply-To: <425B9452.70907@netgalileo.com> References: <425B9452.70907@netgalileo.com> Message-ID: <425BA2E8.8050505@netgalileo.com> Marisa Kosaisaevee wrote: > I have a problem in displaying the data from query, content of UTF-8 > (Thai) > > I'd already tried every functions and properties to display unicode > text but the result is a mixed up characters (non-Thai). As the > database used the Unicode (UTF-8), it's said that I need convert them > by uniEncode or uniDecode. Since, the textFont property shouldn't be > use with Unicode or I should put just "Unicode". However, all that > didn't work. So, I tried on the textFont property again. In it's > property, I put the name of Thai Font and Langauge (ie: > "Kedmanee","Thai"). This time it showed repeated Thai characters, not > what it should be. Finally, I checked out the mailing list for those > who had the same problem. I found one suggestion using unicodeText > together with uniEncode, which I tried but doesn't work, too. > > Later, I assumed that problems may be on the database side. So, I > tried put the Thai's word through Script Editor and use the > unicodeText and uniEncode to make it displayed. Still, the result is > mixed up chararters. Then, I tried to type the Thai's word directly to > the content of the field into Property Inspecter pane. It does show > exaclty the word I typed!! Therefore, I tried, again, through the > Script Editor using put command with Thai characters string. It turned > out as those non-Thai mixed up characters again!?!? > > Anyway, that is not what I want. Since, I aimed to display a query > data from database, which are Thais characters of Unicode charset; > UTF-8, using the Script Editor. > > Now, I confused of what and where I had done wrong or maybe I > misunderstood about the unicode concept in RunRev. As for the first > time, all I did is just retrieved all the data from database without > unicode conversion but the result was, also, non-Thai mixed up > chararters. > > However, I look forward to every suggestions. > > Thank you in advance > Marisa > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > As my previous posted problem, I do another trial on Unicode. I tried to display content of a file that has Thai charaters. So, I saved it both .txt and .rtf with Encoding property of Unicode, Unicode big endian and UTF-8. Then, I used the command /put /to let each of them display in a field. The result is still mixed up of Thai characters. Again, I tried on using /uniEncode/ but the result is even worse. Anyway, any suggestions?? Thanks, Marisa From sims at ezpzapps.com Tue Apr 12 07:03:43 2005 From: sims at ezpzapps.com (sims) Date: Tue, 12 Apr 2005 13:03:43 +0200 Subject: Q: European Revolution Conference 2006, when where who ... In-Reply-To: <425BA184.1040607@tweedly.net> References: <425BA184.1040607@tweedly.net> Message-ID: >boehmisch at animabit.de wrote: > >>Hello, >> >>newbie migrated from toolbook. >>The 2004 event in Malta was to far for me. >>European Revolution Conference 2006 - will it be a "continental" event? >>Where, when who ... Thank you Alex for helping out! First, I'd like to encourage all who can to attend the upcoming California Rev conference http://www.altuit.com/webs/altuit/RevConWest/ You'll learn a lot and have a great time! >Nothing has been officially announced yet, and I have no "inside" >knowledge, but I expect ..... >it will be in November 2006 It will possibly be either September or early October...the weather in Malta then will be a real treat for those who come from chillier, wetter places. >it will be in Malta >who will be decided much, much closer to the time. Yes, place, time, and presenters will be announced in a few months. It's much too early now. > >But although it's not on mainland Europe, don't think of Malta as >"too far". It's a popular holiday destination from most of Europe, >so it is pretty well connected by flights - for example, 3 a week >from Munich, at reasonable prices (currently 250 EU return). I could >even get a direct flight from a provincial airport in Scotland !! Malta is now negotiating with Ryanair...they should be operating well before the EuroRevCon starts and with very attractive airfare prices. > EuroRevCon 2004 had attendees from UK, Norway, Italy, France, Germany, Spain (and possibly more) as well as Brazil and the US. We had newbies, experienced old-timers, and attendees from all over the globe. After the conference some of the attendees stayed on a few days and enjoyed a tour of Malta & Gozo. I'll be announcing more in a few months time. ciao, sims From david at dvglasgow.wanadoo.co.uk Tue Apr 12 07:47:31 2005 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Tue, 12 Apr 2005 12:47:31 +0100 Subject: Physiological data acquisition via USB In-Reply-To: <20050412072405.4CF389300CF@mail.runrev.com> References: <20050412072405.4CF389300CF@mail.runrev.com> Message-ID: <3adb7e27f94ec2097c6ac36ad177b1d3@dvglasgow.wanadoo.co.uk> OK, Timothy Miller's experiences seem fairly typical. Monte's post hoc parsing is a bit more promising. What I want to do is develop an existing rev project further. I have folks sequentially viewing and rating images as part of a psychological assessment of sex offenders. (Incidentally, after years of development, it is now working sweetly across platforms and is generating a fair bit of interest in the field. Couldn't have done it without Rev! - or this list, for that matter) What I would like to do is capture physiological data while they are engaged in this task, to see if there is any association between, say GSR and Heart Rate, and the ratings made/images viewed. The problem of post hoc parsing is making sure that data is accurately matched to the corresponding image. Ideally, the data would be gathered during the slide show and parsed on the fly (or maybe in the gaps between images). What is really frustrating is, as Elizabeth Dalton pointed out in her post last year, a somewhat 'new age' sounding game that costs $159 ( http://www.wilddivine.com ) does on Win and Mac what it seems impossible to do with equipment costing 10 times as much. Best Wishes, David Glasgow http://www.i-psych.co.uk From boehmisch at animabit.de Tue Apr 12 08:05:45 2005 From: boehmisch at animabit.de (boehmisch at animabit.de) Date: 12 Apr 2005 12:05:45 UT Subject: Re-2: Unicode Displaying in Runtime Revolution Message-ID: Hello Marisa I tried runrev for greek and hebrew: Wrote the text in winword or openoffice (greek, hebrew right to left, german and mixed text) and copied it into rr text field. It was displayed correctly. But: Direct typing of hebrew (rr windows 2.2.1) right to left was not possible: runrev wrote the first word correctly from right to left, but after the space it continued to write on the right of the first word instead of continuing writing rtl. Any table property destroys foreign languages (I think because of internal use of the # delimiter in rr fields for tables an menu items which is the HTML entitiy sign !) ==> please try to copy a correct unicode formatted thai text from winword or another textprocessor into a rr textfield for checking, whether rr can import your thai unicode. Direct typing my produce problems you didn't expect. Another way I tested: Convert your thai texts in correct HTML-code test it in your browser for convenient display of your thai text and import it in your rr text field using the HTMLtext property: set the HTMLtext of field "thai" to "..." This worked correct for greek, hebrew and arabic on rr windows 2.2.1 I tested. If this display method would have been working correctly even for thai then perhaps the database channel of rr cannot handle unicode? Regards, Franz Mit freundlichen Gr??en Franz B?hmisch http://www.animabit.de GF Animabit Multimedia Software GmbH Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 boehmisch at animabit.de To: marisa.kosaisaevee at netgalileo.com use-revolution at lists.runrev.com From alex at tweedly.net Tue Apr 12 08:57:28 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 12 Apr 2005 13:57:28 +0100 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: References: <20050411132817.60E9E9300DD@mail.runrev.com> <425A8DB2.20307@crcom.net> <425AAB26.20708@tweedly.net> Message-ID: <425BC5B8.80903@tweedly.net> Jerry Balzano wrote: > Although I haven't tested this on my PC, let me chime in vigorously on > the importance of squashing this particular bug. Here's part of the > problem, Alex. (I noted a similar problem previously for the > "Globals" bug (#2721).) You may have entered it 7 months ago, but > nobody has voted for it! Actually, it has -- had -- two (2) votes; I > doubled this by weighing in with 2 myself. But anyone who agrees -- > for the sake of Dreamcard newbies if nothing else -- that you ought to > be able to double-click a Rev/Dreamcard file to open Dreamcard Player, > should get thee to the votery > (http://support.runrev.com/bugzilla/bugzilla.php) and weigh in > yourself. Seriously, if we want this community to grow and to attract > new users via the Dreamcard vehicle, this universal > double-click-it-and-it-opens function has gotta work!! You may be right Jerry, but I hope not. I spent 20-some years as a software development manager - a significant (arguably *the* significant) part of that job is figuring out the balance between new feature development and bug fixing, and then setting priorities between various bugs. Some are very serious and very hard and will take a lot of time to investigate (and more to fix), others are straightforward, and give you quick boost for little effort, etc. The existence of the voting system is (I hope) only one more helpful input to the prioritization task of the development managers (and the individual developers) at Runrev. The developer and/or manager responsible for this area must be able to look at the bug, evaluate its impact (on users and potential users), estimate the effort involved in investigating, developing and subsequently testing a fix to this bug; if they've not yet picked it to work on, it's got to be because there are other more important issues (or better ROI efforts) underway. Those decisions involve a lot more than vote-counting. I just don't accept the blame (or guilt) implied by saying its *our* (the users) collective fault it hasn't been voted for, and therefore hasn't been fixed yet :-) I have to admit that at the moment, I haven't cast any votes for any bugs. To do so would imply that I have *chosen* the ones to vote for - and (with my sw dev manager background) I just can't do that without at least a brief review all the outstanding bugs. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 From bill at bluewatermaritime.com Tue Apr 12 09:53:29 2005 From: bill at bluewatermaritime.com (Bill) Date: Tue, 12 Apr 2005 09:53:29 -0400 Subject: New Guide to the IDE in Process In-Reply-To: Message-ID: What is the link to the web site where your runrev ebooks are sold... On 4/11/05 9:36 PM, "Dan Shafer" wrote: > The "in principle" argument is simple. The unadorned, unenhanced IDE is > the common denominator that needs documenting. Third-party tools should > be documented by their developers, not in a general-usage IDE document. > There are several completely alternate IDEs running around out there. I > think the basic need is for documenting what comes with Rev out of the > box. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From bvlahos at mac.com Tue Apr 12 10:15:41 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 12 Apr 2005 07:15:41 -0700 Subject: Physiological data acquisition via USB In-Reply-To: <3adb7e27f94ec2097c6ac36ad177b1d3@dvglasgow.wanadoo.co.uk> References: <20050412072405.4CF389300CF@mail.runrev.com> <3adb7e27f94ec2097c6ac36ad177b1d3@dvglasgow.wanadoo.co.uk> Message-ID: <9f211a626186d79d6a4d7135f3293283@mac.com> Would this product do what you want? http://www.bkohg.com/service_e.html > > ? OSX-examples for RealBasic 4.5, AppleScript, FileMaker 6 and 7, > RagTime 5, 4th Dimension, Macromedia Director MX, Xcode, MaxMSP, > CodeWarrior 7, LabView 7 and Java. Bill Vlahos On Apr 12, 2005, at 4:47 AM, David Glasgow wrote: > OK, Timothy Miller's experiences seem fairly typical. Monte's post > hoc parsing is a bit more promising. > > What I want to do is develop an existing rev project further. I have > folks sequentially viewing and rating images as part of a > psychological assessment of sex offenders. (Incidentally, after years > of development, it is now working sweetly across platforms and is > generating a fair bit of interest in the field. Couldn't have done it > without Rev! - or this list, for that matter) > > What I would like to do is capture physiological data while they are > engaged in this task, to see if there is any association between, say > GSR and Heart Rate, and the ratings made/images viewed. The problem > of post hoc parsing is making sure that data is accurately matched to > the corresponding image. Ideally, the data would be gathered during > the slide show and parsed on the fly (or maybe in the gaps between > images). > > What is really frustrating is, as Elizabeth Dalton pointed out in her > post last year, a somewhat 'new age' sounding game that costs $159 ( > http://www.wilddivine.com ) does on Win and Mac what it seems > impossible to do with equipment costing 10 times as much. > > > Best Wishes, > > David Glasgow > > http://www.i-psych.co.uk > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From webmaster at dreamscapesoftware.com Tue Apr 12 10:33:54 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 12 Apr 2005 09:33:54 -0500 Subject: Replacing Answer/Ask Message-ID: <425BDC52.1080703@dreamscapesoftware.com> Are the Answer and Ask dialogs built directly into Revolution? Would it be possible to replace those dialogs with custom ones? For the last few months I've been slowly working on replacements for them in a library, but now I'm finding out that a library is more trouble than it's worth. In the end, I'd like to replace both dialogs with my own custom versions. My reasons for this: As much fun as custom dialogs are, each dialog adds size to my standalone. If I can find a way to reduce those sizes, while still keeping dialogs that look standard (no offense Rev) then I've got what I want. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From eric.chatonet at sosmartsoftware.com Tue Apr 12 10:42:59 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 12 Apr 2005 16:42:59 +0200 Subject: Replacing Answer/Ask In-Reply-To: <425BDC52.1080703@dreamscapesoftware.com> References: <425BDC52.1080703@dreamscapesoftware.com> Message-ID: <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> Hi Derek, Answer and Ask dialogs are substacks of the Home stack (License.rev file) Open the Application Browser with the "Revolution UI Elements in Lists" item of menu "View" checked. You can replace them by your own but keep backups :-) Le 12 avr. 05, ? 16:33, Derek Bump a ?crit : > Are the Answer and Ask dialogs built directly into Revolution? > Would it be possible to replace those dialogs with custom ones? > For the last few months I've been slowly working on replacements for > them in a library, but now I'm finding out that a library is more > trouble than it's worth. > In the end, I'd like to replace both dialogs with my own custom > versions. My reasons for this: As much fun as custom dialogs are, > each dialog adds size to my standalone. If I can find a way to reduce > those sizes, while still keeping dialogs that look standard (no > offense Rev) then I've got what I want. Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rjb at robelko.com Tue Apr 12 10:55:11 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 12 Apr 2005 16:55:11 +0200 Subject: Replacing Answer/Ask In-Reply-To: <425BDC52.1080703@dreamscapesoftware.com> References: <425BDC52.1080703@dreamscapesoftware.com> Message-ID: >Are the Answer and Ask dialogs built directly into Revolution? > >Would it be possible to replace those dialogs with custom ones? > >For the last few months I've been slowly working on replacements for >them in a library, but now I'm finding out that a library is more >trouble than it's worth. > >In the end, I'd like to replace both dialogs with my own custom >versions. My reasons for this: As much fun as custom dialogs are, >each dialog adds size to my standalone. If I can find a way to >reduce those sizes, while still keeping dialogs that look standard >(no offense Rev) then I've got what I want. > > >Derek Bump >Dreamscape Software There is an entry in Bugzilla asking for a way to specify custom dialogs. You may want to contribute to the discussion there, aside from voting. Robert From jacque at hyperactivesw.com Tue Apr 12 11:27:10 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2005 10:27:10 -0500 Subject: New Guide to the IDE in Process In-Reply-To: <425B780B.5090801@chipp.com> References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> <41ba5a4cfbcc985465824ae65721d610@danshafer.com> <425B780B.5090801@chipp.com> Message-ID: <425BE8CE.2090807@hyperactivesw.com> On 4/12/05 2:26 AM, Chipp Walters wrote: > You won't even throw in a plug for altPlugins? I mean, how many times > has altArchive saved your skin;-) Sorry, I have to agree with Dan on this one. Regardless of how useful a plugin is, including recommendations for it in a Rev guide is off topic. And it would force Dan to choose some plugins over others, which would necessarily be arbitrary -- there are so many good ones out there. How would he choose which ones to exclude? Best to keep any documentation restricted to the IDE itself. > > cw > > Dan Shafer wrote: > >> The "in principle" argument is simple. The unadorned, unenhanced IDE >> is the common denominator that needs documenting. Third-party tools >> should be documented by their developers, not in a general-usage IDE >> document. There are several completely alternate IDEs running around >> out there. I think the basic need is for documenting what comes with >> Rev out of the box. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 12 11:28:36 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2005 10:28:36 -0500 Subject: Can't Select the First Line of List Field In-Reply-To: References: Message-ID: <425BE924.9040102@hyperactivesw.com> On 4/12/05 12:23 AM, zack wrote: > That was it! Told you I know nothing. Except that now you know one thing. :) And soon you will know lots of things. Welcome to the Revolution, and don't be afraid to ask anything you need to know here. We all started somewhere. > > Thanks! > > > On 4/11/05 9:45 PM, "J. Landman Gay" wrote: > > >>On 4/11/05 10:19 PM, zack wrote: >> >> >>>Hello Everyone. >>> >>>I have a list field with three items in it. I can select lines two and 3 >>>but I can't select the first line. >>> >>>Anybody have any ideas? >> >>Do you have any other object overlapping the top of the field? If so, >>that could block the mouse click. If not, does the field have a script >>that could be interfering? > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdan at danshafer.com Tue Apr 12 11:42:46 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 12 Apr 2005 08:42:46 -0700 Subject: New Guide to the IDE in Process In-Reply-To: <425B780B.5090801@chipp.com> References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> <41ba5a4cfbcc985465824ae65721d610@danshafer.com> <425B780B.5090801@chipp.com> Message-ID: More than I care to count. And no. :-D On Apr 12, 2005, at 12:26 AM, Chipp Walters wrote: > You won't even throw in a plug for altPlugins? I mean, how many times > has altArchive saved your skin;-) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Tue Apr 12 11:43:31 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 12 Apr 2005 08:43:31 -0700 Subject: New Guide to the IDE in Process In-Reply-To: <93df33528ee8a09bcde6706da96087f0@sosmartsoftware.com> References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> <41ba5a4cfbcc985465824ae65721d610@danshafer.com> <93df33528ee8a09bcde6706da96087f0@sosmartsoftware.com> Message-ID: <0441133c143df63af5120159eabba07b@danshafer.com> I might include such a list, perhaps annotated, as an appendix, but without covering usage. On Apr 12, 2005, at 12:36 AM, Eric Chatonet wrote: > a third party products list would be useful but it's another job... > off the topic. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Tue Apr 12 11:45:08 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 12 Apr 2005 08:45:08 -0700 Subject: New Guide to the IDE in Process In-Reply-To: References: Message-ID: They're sold at the RunRev site itself. Go to the main page at http://www.runrev.com and scroll down. The link is on the left bottom. On Apr 12, 2005, at 6:53 AM, Bill wrote: > What is the link to the web site where your runrev ebooks are sold... From rjearp at hotmail.com Tue Apr 12 11:46:46 2005 From: rjearp at hotmail.com (Bob Earp) Date: Tue, 12 Apr 2005 08:46:46 -0700 Subject: Weird PC Transcript error problems....Help!! Message-ID: Dear Jan and Sarah, Many thanks for your very helpful suggestions, you've made a grown man cry with joy as it fixed things !! I did have the variable checker switched on, and quotes around the "iris open" helped too. I guess it's one of Revolutions "querks" that things really don't work the same across platforms. I've started making a list ;-) Thanks again for the speedy response. best, Bob... _________________________________________________________________ MSN? Calendar keeps you organized and takes the effort out of scheduling get-togethers. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From bnz2 at cdc.gov Tue Apr 12 11:29:04 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 12 Apr 2005 11:29:04 -0400 Subject: My Buttons all look alike Message-ID: <64878EF567131D4596246171F75FD4A946A11C@m-epo-1.epo.cdc.gov> Even after uninstalling, then re-installing RunRev, my push buttons and square buttons all look the same. It started making the buttons look the same spontaneously, and I thought a re-install would solve the problem, but it has not. Any suggestions anyone? From jperryl at ecs.fullerton.edu Tue Apr 12 12:12:55 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 09:12:55 -0700 (PDT) Subject: New Guide to the IDE in Process In-Reply-To: Message-ID: I'd agree with Dan's decision NOT to cover third party products especially in a guide to the IDE; it should strictly cover the IDE itself as the product is shipped/d/l'd. Especially for newbies/non-programmers, you don't want to be making references to anything that's not actually present with the software as it comes out-of-box. Just my two small monetary units... Judy On Mon, 11 Apr 2005, Jerry Balzano wrote: > Hmmmm ... not even freeware third party products? Not even ones you > yourself use frequently? From jperryl at ecs.fullerton.edu Tue Apr 12 12:13:32 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 09:13:32 -0700 (PDT) Subject: New Guide to the IDE in Process In-Reply-To: Message-ID: Amen. On Mon, 11 Apr 2005, Dan Shafer wrote: > The "in principle" argument is simple. The unadorned, unenhanced IDE is > the common denominator that needs documenting. Third-party tools should > be documented by their developers, not in a general-usage IDE document. > There are several completely alternate IDEs running around out there. I > think the basic need is for documenting what comes with Rev out of the > box. From ambassador at fourthworld.com Tue Apr 12 12:22:53 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 09:22:53 -0700 Subject: New Guide to the IDE in Process In-Reply-To: <425BE8CE.2090807@hyperactivesw.com> References: <97d1cf9c78399e05ba486f46cbad3520@danshafer.com> <6E70DE72-AADE-11D9-9351-000393DBD07E@ucsd.edu> <41ba5a4cfbcc985465824ae65721d610@danshafer.com> <425B780B.5090801@chipp.com> <425BE8CE.2090807@hyperactivesw.com> Message-ID: <425BF5DD.7020904@fourthworld.com> J. Landman Gay wrote: > On 4/12/05 2:26 AM, Chipp Walters wrote: > >> You won't even throw in a plug for altPlugins? I mean, how many times >> has altArchive saved your skin;-) > > Sorry, I have to agree with Dan on this one. Regardless of how useful a > plugin is, including recommendations for it in a Rev guide is off topic. > And it would force Dan to choose some plugins over others, which would > necessarily be arbitrary -- there are so many good ones out there. How > would he choose which ones to exclude? Best to keep any documentation > restricted to the IDE itself. As much as I'd love to have Dan document my devolution toolkit, I'm with him on this. And I like Dan too much to have him try all the Option and Shift key operations in devolution anyway. ;) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Tue Apr 12 12:29:08 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 09:29:08 -0700 Subject: Replacing Answer/Ask In-Reply-To: <425BDC52.1080703@dreamscapesoftware.com> References: <425BDC52.1080703@dreamscapesoftware.com> Message-ID: <425BF754.4020101@fourthworld.com> Derek Bump wrote: > In the end, I'd like to replace both dialogs with my own custom > versions. My reasons for this: As much fun as custom dialogs are, each > dialog adds size to my standalone. If I can find a way to reduce those > sizes, while still keeping dialogs that look standard (no offense Rev) > then I've got what I want. If you want to change the appearance and/or behavior of those dialogs, just make stacks named "Answer Dialog" and "Ask Dialog" and save those into a stackfile you can have the Standalone Builder include at build time. But if the goal is merely to save size, replacing their with yours probably won't save you very much, even if you didn't include the error-checking or dynamic layout code. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Tue Apr 12 12:33:42 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 09:33:42 -0700 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: <425BC5B8.80903@tweedly.net> References: <20050411132817.60E9E9300DD@mail.runrev.com> <425A8DB2.20307@crcom.net> <425AAB26.20708@tweedly.net> <425BC5B8.80903@tweedly.net> Message-ID: <425BF866.8040706@fourthworld.com> Alex Tweedly wrote: > I have to admit that at the moment, I haven't cast any votes for any > bugs. To do so would imply that I have *chosen* the ones to vote for - > and (with my sw dev manager background) I just can't do that without at > least a brief review all the outstanding bugs. It's a bit of work; I review most of them about once a quarter, but there isn't time on a product as complex as this one for me to read all of them. Keep in mind that you can change your votes at any time. I reassign my 100 periodically to reflect my current priorities. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From 3mcgrath at adelphia.net Tue Apr 12 12:43:13 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 12 Apr 2005 12:43:13 -0400 Subject: Physiological data acquisition via USB In-Reply-To: <9f211a626186d79d6a4d7135f3293283@mac.com> References: <20050412072405.4CF389300CF@mail.runrev.com> <3adb7e27f94ec2097c6ac36ad177b1d3@dvglasgow.wanadoo.co.uk> <9f211a626186d79d6a4d7135f3293283@mac.com> Message-ID: <5bb1ab3459ba726d9e7dc6b5843f2576@adelphia.net> I've seen the Wild Divine project before and it tries (not well) to allow a biofeedback to control software. It does not seem like this is what you want. It sounds like you want feed back from instruments along with a Rev project. This can be done using a serial device called an I/O and some instruments. A USB to Serial converter like the Keyspan Highspeed Serial Adapter (Must be Highspeed)is used to plug in an old serial versions or use a straight USB like what the Telio uses. There are a few devices out there. There is the EZIO and the HandyBoard as well as an old one called MacBrick. There is a real old one called ADBIO (OS9) and of course there is the Lego controller which offers a limited I/O and more advanced if you want to hack the Lego modules. My research has showed that the most promising one seems to be the Telio by MakingThings from http://www.makingthings.com/ . This is a modular Input and Output system that has both analog and digital inputs and outputs. The Digital inputs can read a variable voltage or a signal converted to a variable which is what you would need. The analog ports are good for simple on/off signals. They offer a few different modules that can be piggy backed to allow for more devices to be connected. The Telio sends and receives serial wrapped commands. The site offers libraries in Flash/Director/C and Real Basic but so far none for Rev. You would have to wrap your own. The Rev project would (at points chosen by you) monitor the Telio via the USB cale and any sensors you have plugged in and report back that info. You would then store that info with a tag for the slide you are on and later do some analysis with the data. The hard part is the wrapping of the serial commands. HTH Tom On Apr 12, 2005, at 10:15 AM, Bill Vlahos wrote: > Would this product do what you want? > http://www.bkohg.com/service_e.html > >> >> ? OSX-examples for RealBasic 4.5, AppleScript, FileMaker 6 and 7, >> RagTime 5, 4th Dimension, Macromedia Director MX, Xcode, MaxMSP, >> CodeWarrior 7, LabView 7 and Java. > > Bill Vlahos > > On Apr 12, 2005, at 4:47 AM, David Glasgow wrote: > >> OK, Timothy Miller's experiences seem fairly typical. Monte's post >> hoc parsing is a bit more promising. >> >> What I want to do is develop an existing rev project further. I have >> folks sequentially viewing and rating images as part of a >> psychological assessment of sex offenders. (Incidentally, after >> years of development, it is now working sweetly across platforms and >> is generating a fair bit of interest in the field. Couldn't have >> done it without Rev! - or this list, for that matter) >> >> What I would like to do is capture physiological data while they are >> engaged in this task, to see if there is any association between, say >> GSR and Heart Rate, and the ratings made/images viewed. The problem >> of post hoc parsing is making sure that data is accurately matched to >> the corresponding image. Ideally, the data would be gathered during >> the slide show and parsed on the fly (or maybe in the gaps between >> images). >> >> What is really frustrating is, as Elizabeth Dalton pointed out in her >> post last year, a somewhat 'new age' sounding game that costs $159 ( >> http://www.wilddivine.com ) does on Win and Mac what it seems >> impossible to do with equipment costing 10 times as much. >> >> >> Best Wishes, >> >> David Glasgow >> >> http://www.i-psych.co.uk >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From b.xavier at internet.lu Tue Apr 12 13:09:24 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 12 Apr 2005 19:09:24 +0200 Subject: Ann: Beta preview of ResizeN2O Message-ID: <20050412172215.C2BBF9300EE@mail.runrev.com> For those who recently asked for this feature, well, here's the next step! At first I thought it was not possible. The resizeControl only works after you resize a control. The resizing handles dont return any messages, etc, etc... Then, I thought, but hey, I do this all the time with my column field resizers! So in the end, yes, it is possible!!! So here is the announcement to everyone's delight of the ResizeN2O plugin stack! It allows square resizing or proportional resizing in addition to normal resizing. Im also working on shift move with 15 degree increments vectored control moves while holding the shift key! I doubt I'll add options to switch the keys to your liking but if you donate enough to motivate this user-sponsor-ware, I just might ;) Now the bad news... The stack is unfinished! That's obvious since I said beta in the title right? ;) - The translation vectors are not yet ready! have to use transitive algebra here so it takes a bit more calculuscriptin ;) - The corner handles do not resize squarely or propionately yet... Just a matter of time... The good news: - Capslock gives you the rect of the control - you can resize by just grabbing the 6 border pixel of the control's rect to resize in any direction - but I dont yet check for smaller than 12 pixel width or height controls... - It resizes as expected... - I fixed a redraw bug problem! I hope to have a working version tomorow or before the weekend depending on your feedback! For the rest of the features, if you want to tackle one or the other in the collaborative spirit, let me know! Oh yes, the download link is http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=78 (130KBs) cheers Xavier From b.xavier at internet.lu Tue Apr 12 13:16:47 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 12 Apr 2005 19:16:47 +0200 Subject: Beta preview of ResizeN2O In-Reply-To: <20050412172215.C2BBF9300EE@mail.runrev.com> Message-ID: <20050412172938.5AECB9300FC@mail.runrev.com> just to tell you I reuploaded the stack due to a change in the opening card script that I missed... Sorry about that! cheers Xav From jperryl at ecs.fullerton.edu Tue Apr 12 13:29:07 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 10:29:07 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <20050412172938.5AECB9300FC@mail.runrev.com> Message-ID: Hi, I have finished a tutorial PDF and an example stack on creating and using tabs in Rev. You can find it on RevOnline in the "education" category (all the way at the bottom) or in one of my user space identities ("JudyPerry"). Tab 3 of the stack has a button that *should* download an accompanying PDF with screenshots showing how to more or less build the example stack. Constructive comments always welcomed! Judy From klaus at major-k.de Tue Apr 12 13:33:27 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 12 Apr 2005 19:33:27 +0200 Subject: OT: Rev & Tiger Message-ID: <5baa1649d79945ce1e4ee9d816ec0d4f@major-k.de> Hello friends, has anyone already been able to test Rev on OS X Tiger? Regards Klaus Major klaus at major-k.de http://www.major-k.de From sanke at hrz.uni-kassel.de Tue Apr 12 13:56:09 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 12 Apr 2005 19:56:09 +0200 Subject: Replacing Answer/Ask Message-ID: <425C0BB9.800@hrz.uni-kassel.de> On: Tue, 12 Apr 2005,: Derek Bump wrote: > Are the Answer and Ask dialogs built directly into Revolution? > > Would it be possible to replace those dialogs with custom ones? > > For the last few months I've been slowly working on replacements for > them in a library, but now I'm finding out that a library is more > trouble than it's worth. > > In the end, I'd like to replace both dialogs with my own custom > versions. My reasons for this: As much fun as custom dialogs are, each > dialog adds size to my standalone. If I can find a way to reduce those > sizes, while still keeping dialogs that look standard (no offense Rev) > then I've got what I want. > > > Derek Bump > Dreamscape Software > _______________________________________________ and Eric Chatonet had answered: > Hi Derek, > > Answer and Ask dialogs are substacks of the Home stack (License.rev > file) > (snip) Hi Derek, I don't think custom dialogs are an extra burden (concerning the size of stacks) as in most cases they can be rather small. One of my custom dialogs, which I use frequently as a placeable "search dialog", has only 4 K. There are three sample stacks on my website that illustrate possibilities of customized dialogs, (see , page "Samples and Tools"): "Customized Modal Dialogs" shows examples for customized answer-, ask-, and other dialogs which make use of the "dialogdata" property and custom properties to pass feedback to the calling stack. The example stack contains six modal dialogs as substacks that can be modified. Stack "Place Dialogs" contains modified answer- and ask-dialogs that can be placed at any location on the screen or relative to a stack. The sample stack contains English and German information how to proceed with the new custom property "NewLoc" or to modify the dialogs in your own Metacard or Revolution IDE. The modified dialogs are contained both as substacks of the sample stack and in a separate folder (to be added to other stacks). "Transparent Dialogs" - like above - consists of modified "ask" and "answer dialogs", which can be used with the "answer" and "ask" commands. They are semi-transparent, i.e. they show the underlying area of the screen or stack. The textsize is preset to 14 and the textfont to "verdana", a font both available on the Mac and Wimdows platforms. Enjoy if you like, Wilhelm Sanke From jhurley at infostations.com Tue Apr 12 13:57:49 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 12 Apr 2005 10:57:49 -0700 Subject: Bar codes for mailing In-Reply-To: <20050412160017.B31219300F8@mail.runrev.com> References: <20050412160017.B31219300F8@mail.runrev.com> Message-ID: I'm trying to cut the costs for mailing our neighborhood newsletter. It goes to mostly to just one 5 digit zip code. So pretty simple. So the first thing is to get the 9 digit zip code. I've writen a program to download the 9 digit zip for a given set of address from the USPO web site. So far the program works for most address; just a few that the USPO doesn't recognize. It takes about 15 minutes to run about 360 names. It has to read one address at time. I don't know how much of this time is a result of my band width or the delay from the web site. I am constrained to a 58K modem. Of course the ultimate objective is to generate bar code. I've found a site to get the bar code font. Does anyone know if the bar code needs to contain something besides the code for the 9 digit zip code? Jim From bill at bluewatermaritime.com Tue Apr 12 14:02:00 2005 From: bill at bluewatermaritime.com (Bill) Date: Tue, 12 Apr 2005 14:02:00 -0400 Subject: New Guide to the IDE in Process In-Reply-To: Message-ID: That link is only to buy your book, not any of your ebooks. I already bought your book. I am especially interested in your ebook on printing as the Quartam reports may never be released http://users.telenet.be/quartam//reports/tour/tour_2_1.htm On 4/12/05 11:45 AM, "Dan Shafer" wrote: > They're sold at the RunRev site itself. > > Go to the main page at http://www.runrev.com and scroll down. The link > is on the left bottom. > > > On Apr 12, 2005, at 6:53 AM, Bill wrote: > >> What is the link to the web site where your runrev ebooks are sold... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From jhurley at infostations.com Tue Apr 12 14:15:38 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 12 Apr 2005 11:15:38 -0700 Subject: Bar codes for mailing Message-ID: Just found a web site with the info I need. 12 digit in all. Figured all out except how to deal with PO box addresses. Jim From kray at sonsothunder.com Tue Apr 12 14:16:03 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 12 Apr 2005 13:16:03 -0500 Subject: Interfacing with MS Outlook Message-ID: On 4/12/05 11:16 AM, "Rosenberg, Joe" wrote: > Basically, what I would like to do is allow a user to generate an email > from an email address field within the stack, attach a pdf file (the > path of which will also be stored somewhere within the stack), and then > either send the message automatically or open it on screen for review > and allow the user to click the "send" button manually. I'll get to this one after I show you how to do the Calendar item because it's a bit tricker... > A more critical task is scheduling- I could save myself a tremendous > amount of time and energy in development if I could somehow schedule a > task within Outlook's calendar. Being able to use Revolution to stick an > appointment in for two hours on May 25th at 2PM with a reminder 15 > minutes before would be a huge benefit to me. Here's the basic .vbs script, with placeholders surrounded in double angle brackets << >> : ---- Const olCalendarFolder = 9 Set oOutlook = WScript.CreateObject("Outlook.Application") Set mNameSpace = oOutlook.GetNameSpace("MAPI") Set oCalFolder = mNameSpace.GetDefaultFolder(olCalendarFolder) Set oApptItem = oCalFolder.Items.Add With oApptItem .Start = "<>" .End ="<>" .Subject = "<>" .Body="<>" .ReminderMinutesBeforeStart = <> End With ---- Of course, there are other properties that can be set for an appointment item, but you get the picture. Now put that into a custom property (I use "uVBScript" below), and then when you need it, retrieve it, replace the placeholders with real info, and then run it like this: on mouseUp put "4/12/05 9:00AM" into tStart put "4/12/05 10:00AM" into tEnd put "Doctor's Appointment" into tSubject put "Call 555-5555 beforehand to confirm." into tBody put 30 into tRemindMins SetAppointment tStart,tEnd,tSubject,tBody,tRemindMins end mouseUp on SetAppointment pStart,pEnd,pSubject,pBody,pRemindMins put the uVBScript of this stack into tScript replace "<>" with pStart in tScript replace "<>" with pEnd in tScript replace "<>" with pSubject in tScript replace "<>" with pBody in tScript replace "<>" with pRemindMins in tScript runScript tScript end SetAppointment on runScript pVBS set the hideConsoleWindows to true put "C:\temp.vbs" into tTempPath put pVBS into url ("file:" & tTempPath) get shell("cscript.exe //nologo" && tTempPath) send "delete file" && quote & tTempPath & quote to me in 1 second -- this gives enough time for the script to run before you delete it end runScript Now, back to your original request about creating a mail message in Outlook with an attachment. Here's the basic .vbs again, without placeholders this time (so I can show you what the deal is) - it's similar to the calendar stuff above, though: ---- Const olInbox = 6 Const olCC = 2 Const olBCC = 3 Set oOutlook = WScript.CreateObject("Outlook.Application") Set mNameSpace = oOutlook.GetNameSpace("MAPI") Set oMailFolder = mNameSpace.GetDefaultFolder(olInbox ) Set oMailItem = oMailFolder.Items.Add With oMailItem .Recipients.Add("kray at sonsothunder.com") .Recipients.Add("jrosenberg at gilsonco.com").Type = olCC .Recipients.Add("hiddenguy at uknowwho.com").Type = olBCC .Subject = "Here's my attached file" .Body = "This is line 1" & vbCrLf & "This is line 2" .Attachments.Add("C:\myfile.txt") .Display End With ---- A few notes: 1) For a multiline "body", you'll need to replace CRs in your variable you want to use with the "vbCrLf", and make sure things are quoted, so using the <> variable, I might set it up like: .Body = <> (note no quotes around the placeholder, unlike what I did for the Appointment Item), and then use a function like: function MakeBody pMultiLineVal replace CR with (quote & " & vbCrLf & " & quote) in pMultiLineVal return quote & pMultiLineVal & quote end MakeBody to format it properly. 2) If you want to show it in Outlook and not send it, use the ".Display" command just before the "End With". If you want to send it, use ".Send". 3) Outlook security will bring up a dialog for the end user asking them for permission to allow an outside entity to do something with their Outlook program (I have Outlook 2002, so it may be a bit different in 2003). Either way, the user has to acknowledge the intrusion and allow it to happen. In any event, I hope the above gives you some insight on how to use VB Script to automate Outlook. Have fun, and forgive any typos... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Tue Apr 12 14:24:58 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 12 Apr 2005 20:24:58 +0200 Subject: Replacing Answer/Ask In-Reply-To: <425C0BB9.800@hrz.uni-kassel.de> Message-ID: <20050412183749.483F59300F4@mail.runrev.com> Whilhem, I liked the wim-dows word ;) I'm also working on a custom ask/answer dialog... - the Rev dialogs clip text that is too long and - it's not compatible with the TAOO multi-language module because of the above usually. If there is an opensource minded solution forthcoming, im quite interested... It's the mechanism that interests me the most! Two other areas of likely dialogs where I can contribute loads of features are for the file dialogs and list dialogs... I've made extensive tool to enhance these when the mechanism comes to maturity - which I've delayed unsensedly forever! In the HotKeyN2O or BreakpointsNavigator plugins from http://MonsieurX.com when you click on the save button (the diskette icon), you'll get a nice non-intrussive dialog show... Im was so happy with the outcome that I made it into a template agent for my N2O stacks - it sure beats using the msg box for a status show! Although if the coolmsg stack is missing, that's how the agent will display its message... Does stack size matter really these days? cheers Xavier From mikeythek at gmail.com Tue Apr 12 14:29:51 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 12 Apr 2005 14:29:51 -0400 Subject: Replacing Answer/Ask In-Reply-To: <20050412183749.483F59300F4@mail.runrev.com> References: <425C0BB9.800@hrz.uni-kassel.de> <20050412183749.483F59300F4@mail.runrev.com> Message-ID: <9b408d8e05041211296fa7c583@mail.gmail.com> Yet another reason why I would like to see RR support message inheritance for commands... > Does stack size matter really these days? Yes! For embedded OS's it most certainly does, and being able to put RR on Linux means that it's therefore (theoretically) possible to put a RR stack on lots of devices, many of which may be constrained for memory. -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Tue Apr 12 14:33:37 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 12 Apr 2005 14:33:37 -0400 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: <425BF866.8040706@fourthworld.com> References: <20050411132817.60E9E9300DD@mail.runrev.com> <425A8DB2.20307@crcom.net> <425AAB26.20708@tweedly.net> <425BC5B8.80903@tweedly.net> <425BF866.8040706@fourthworld.com> Message-ID: <9b408d8e05041211334b91801d@mail.gmail.com> One of the issues that I had with RevZilla was the fact that items that hadn't been voted on yet didn't apear in a list unless you specifically searched for the item. Therefore, if a bug or feature author didn't vote for their own bug/feature, nobody using RevZilla would see it. I don't know if Richard addressed that in this version of RevZilla, but I hope he does. RevZilla is a wonderful tool, and I think that further development of it will only make it more invaluable. -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From JUAN.C.VEIGA at saic.com Tue Apr 12 14:33:43 2005 From: JUAN.C.VEIGA at saic.com (Veiga, Juan C.) Date: Tue, 12 Apr 2005 14:33:43 -0400 Subject: Bar codes for mailing Message-ID: <6A47CB4A48D1EA49A6F7AB618490D64920ED817B@mcl-its-exs03.mail.saic.com> Nice application! -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Hurley Sent: Tuesday, April 12, 2005 2:16 PM To: use-revolution at lists.runrev.com Subject: Re: Bar codes for mailing Just found a web site with the info I need. 12 digit in all. Figured all out except how to deal with PO box addresses. Jim _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Tue Apr 12 14:43:00 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 12 Apr 2005 11:43:00 -0700 Subject: New Guide to the IDE in Process In-Reply-To: References: Message-ID: <03898956a277b42ded53b193917b90d4@danshafer.com> The two eBook versions of the chapters on CGI and Properties that I did earlier are also available in the online RunRev store. The printing eBook is the one I'm just finishing now. I expect to release it to final editing this week. When it is ready, it, too, will be available through the RunRev online store. On Apr 12, 2005, at 11:02 AM, Bill wrote: > That link is only to buy your book, not any of your ebooks. I already > bought > your book. I am especially interested in your ebook on printing as the > > Quartam reports may never be released > > http://users.telenet.be/quartam//reports/tour/tour_2_1.htm > > > > > On 4/12/05 11:45 AM, "Dan Shafer" wrote: > >> They're sold at the RunRev site itself. >> >> Go to the main page at http://www.runrev.com and scroll down. The link >> is on the left bottom. >> >> >> On Apr 12, 2005, at 6:53 AM, Bill wrote: >> >>> What is the link to the web site where your runrev ebooks are sold... Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From ambassador at fourthworld.com Tue Apr 12 14:45:41 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 11:45:41 -0700 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: <9b408d8e05041211334b91801d@mail.gmail.com> References: <20050411132817.60E9E9300DD@mail.runrev.com> <425A8DB2.20307@crcom.net> <425AAB26.20708@tweedly.net> <425BC5B8.80903@tweedly.net> <425BF866.8040706@fourthworld.com> <9b408d8e05041211334b91801d@mail.gmail.com> Message-ID: <425C1755.5080103@fourthworld.com> Mikey wrote: > One of the issues that I had with RevZilla was the fact that items > that hadn't been voted on yet didn't apear in a list unless you > specifically searched for the item. Therefore, if a bug or feature > author didn't vote for their own bug/feature, nobody using RevZilla > would see it. I don't know if Richard addressed that in this version > of RevZilla, but I hope he does. RevZilla is a wonderful tool, and I > think that further development of it will only make it more > invaluable. For the record, Revzilla is from Ken Ray or Sons o' Thunder Software: I'm just a RevZilla user. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mikeythek at gmail.com Tue Apr 12 14:03:57 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 12 Apr 2005 14:03:57 -0400 Subject: Creating & Using Tabs tutorial In-Reply-To: References: <20050412172938.5AECB9300FC@mail.runrev.com> Message-ID: <9b408d8e0504121103778d0743@mail.gmail.com> I'm kind of curious - somebody mentioned that it was possible to disable tabs. How? -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From klaus at major-k.de Tue Apr 12 15:07:55 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 12 Apr 2005 21:07:55 +0200 Subject: Creating & Using Tabs tutorial In-Reply-To: <9b408d8e0504121103778d0743@mail.gmail.com> References: <20050412172938.5AECB9300FC@mail.runrev.com> <9b408d8e0504121103778d0743@mail.gmail.com> Message-ID: <9bc83834ed17e05c7ebb1a6586007c3a@major-k.de> Hi Mikey, > I'm kind of curious - somebody mentioned that it was possible to > disable tabs. How? Put a "(" before that name of that tab like: (Line 1 Line 2 Line 3 This way the first tab is disabled... To enable it again, remove the "(" again... TABBED buttons are just "ordinary menu buttons" ;-) Can be done manually or by script. Regards Klaus Major klaus at major-k.de http://www.major-k.de From mikeythek at gmail.com Tue Apr 12 15:23:59 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 12 Apr 2005 15:23:59 -0400 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: <425C1755.5080103@fourthworld.com> References: <20050411132817.60E9E9300DD@mail.runrev.com> <425A8DB2.20307@crcom.net> <425AAB26.20708@tweedly.net> <425BC5B8.80903@tweedly.net> <425BF866.8040706@fourthworld.com> <9b408d8e05041211334b91801d@mail.gmail.com> <425C1755.5080103@fourthworld.com> Message-ID: <9b408d8e05041212237f7786b6@mail.gmail.com> ERRRRRR yeah, I knew that. Sorry, Ken and Richard. I get my living legends mixed occasionally. Luckily I didn't refer to either of you as "Tiger" today. -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bill at bluewatermaritime.com Tue Apr 12 15:41:42 2005 From: bill at bluewatermaritime.com (Bill) Date: Tue, 12 Apr 2005 15:41:42 -0400 Subject: New Guide to the IDE in Process In-Reply-To: <03898956a277b42ded53b193917b90d4@danshafer.com> Message-ID: This is the link to the last page of the runrev store: http://secure.runrev.com/Merchant2/merchant.mvc? Where your ebooks are (fairly well hidden). On 4/12/05 2:43 PM, "Dan Shafer" wrote: > The two eBook versions of the chapters on CGI and Properties that I did > earlier are also available in the online RunRev store. > > The printing eBook is the one I'm just finishing now. I expect to > release it to final editing this week. > > When it is ready, it, too, will be available through the RunRev online > store. > > > On Apr 12, 2005, at 11:02 AM, Bill wrote: > >> That link is only to buy your book, not any of your ebooks. I already >> bought >> your book. I am especially interested in your ebook on printing as the >> >> Quartam reports may never be released >> >> http://users.telenet.be/quartam//reports/tour/tour_2_1.htm >> >> >> >> >> On 4/12/05 11:45 AM, "Dan Shafer" wrote: >> >>> They're sold at the RunRev site itself. >>> >>> Go to the main page at http://www.runrev.com and scroll down. The link >>> is on the left bottom. >>> >>> >>> On Apr 12, 2005, at 6:53 AM, Bill wrote: >>> >>>> What is the link to the web site where your runrev ebooks are sold... > > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From jperryl at ecs.fullerton.edu Tue Apr 12 16:06:53 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 13:06:53 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <9b408d8e0504121103778d0743@mail.gmail.com> Message-ID: As near as I can tell, you can only disable the entire tabbed control, not individual tabs. But perhaps somebody out there knows better? Judy On Tue, 12 Apr 2005, Mikey wrote: > I'm kind of curious - somebody mentioned that it was possible to > disable tabs. How? From jperryl at ecs.fullerton.edu Tue Apr 12 16:08:10 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 13:08:10 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <9bc83834ed17e05c7ebb1a6586007c3a@major-k.de> Message-ID: Waaayyy cool! But... drat. gotta update the PDF now. Thanks, Klaus! Judy On Tue, 12 Apr 2005, Klaus Major wrote: > Put a "(" before that name of that tab like: > > (Line 1 > Line 2 > Line 3 > > This way the first tab is disabled... > To enable it again, remove the "(" again... > > TABBED buttons are just "ordinary menu buttons" ;-) > > Can be done manually or by script. From ambassador at fourthworld.com Tue Apr 12 16:10:35 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 13:10:35 -0700 Subject: Creating & Using Tabs tutorial In-Reply-To: <9bc83834ed17e05c7ebb1a6586007c3a@major-k.de> References: <20050412172938.5AECB9300FC@mail.runrev.com> <9b408d8e0504121103778d0743@mail.gmail.com> <9bc83834ed17e05c7ebb1a6586007c3a@major-k.de> Message-ID: <425C2B3B.3030308@fourthworld.com> Klaus Major wrote: > Hi Mikey, > >> I'm kind of curious - somebody mentioned that it was possible to >> disable tabs. How? > > > Put a "(" before that name of that tab like: > > (Line 1 > Line 2 > Line 3 > > This way the first tab is disabled... > To enable it again, remove the "(" again... Cool tip -- thanks! > TABBED buttons are just "ordinary menu buttons" ;-) Does that mean I can make hierarchical tab buttons? ;) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From kray at sonsothunder.com Tue Apr 12 16:10:41 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 12 Apr 2005 15:10:41 -0500 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) Message-ID: On 4/12/05 1:33 PM, "Mikey" wrote: > One of the issues that I had with RevZilla was the fact that items > that hadn't been voted on yet didn't apear in a list unless you > specifically searched for the item. Therefore, if a bug or feature > author didn't vote for their own bug/feature, nobody using RevZilla > would see it. I don't know if Richard addressed that in this version > of RevZilla, but I hope he does. Actually I *did* address it in this version... if you hold down the Option key when you click on either Bugs or Features, you will get the list of bugs/features that have not been voted on, so you can vote for them. See the docs for new features at: http://www.sonsothunder.com/devres/revolution/downloads/RevZilla2.htm HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revdan at danshafer.com Tue Apr 12 16:15:05 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 12 Apr 2005 13:15:05 -0700 Subject: New Guide to the IDE in Process In-Reply-To: References: Message-ID: <818bb6eadb3d27a8d6015affe06634ea@danshafer.com> Sigh. On Apr 12, 2005, at 12:41 PM, Bill wrote: > This is the link to the last page of the runrev store: > > http://secure.runrev.com/Merchant2/merchant.mvc? > > > Where your ebooks are (fairly well hidden). From jperryl at ecs.fullerton.edu Tue Apr 12 16:16:00 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 13:16:00 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <425C2B3B.3030308@fourthworld.com> Message-ID: Yep, majorly cool (I think) but where did Klaus find this info? A quick look at the docs didn't reveal anything for me... Judy From revlist at cableone.net Tue Apr 12 16:16:21 2005 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 12 Apr 2005 14:16:21 -0600 Subject: Creating & Using Tabs tutorial In-Reply-To: Message-ID: <1113338283_2057@S2.cableone.net> You can also enable/disable tabs by using "enable/disable menuItem" commands. Example: disable menuItem 1 of btn "TabControl" enable menuItem 2 of btn "TabControl" Etc. Or, even another option: disable/enable line 1 of btn "TabControl" This also works. :-) Chris Sheffield Read Naturally -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Judy Perry Sent: Tuesday, April 12, 2005 2:07 PM To: Mikey; How to use Revolution Subject: Re: Creating & Using Tabs tutorial As near as I can tell, you can only disable the entire tabbed control, not individual tabs. But perhaps somebody out there knows better? Judy On Tue, 12 Apr 2005, Mikey wrote: > I'm kind of curious - somebody mentioned that it was possible to > disable tabs. How? _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 4/12/2005 From eric.chatonet at sosmartsoftware.com Tue Apr 12 16:21:48 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 12 Apr 2005 22:21:48 +0200 Subject: Creating & Using Tabs tutorial In-Reply-To: References: Message-ID: Hi Judy, I downladed your nice stack and enjoy it but I was unable to downlaod the PDF file :-( As for disabling a tab, see the How-To stack #013 How to manage tabbed buttons I posted yesterday on RevOnLine, RevNet and by pasting: go url "http://www.sosmartsoftware.com/downloads/ Managing%20Tabbed%20Buttons.rev" Best regards, > How to disable or enable a tab by script > To disable or enable a tab, just add or remove a parenthesis placed > before its name in the button's text: > > if char 1 of line 2 of button "MyTabs" <> "(" then > put "(" before line 2 of button "MyTabs" -- disable > end if > > if char 1 of line 2 of button "MyTabs" = "(" then > delete char 1 of line 2 of button "MyTabs" -- enable > end if Le 12 avr. 05, ? 22:06, Judy Perry a ?crit : > As near as I can tell, you can only disable the entire tabbed control, > not > individual tabs. > > But perhaps somebody out there knows better? > > Judy > > On Tue, 12 Apr 2005, Mikey wrote: > >> I'm kind of curious - somebody mentioned that it was possible to >> disable tabs. How? Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From mikeythek at gmail.com Tue Apr 12 16:22:48 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 12 Apr 2005 16:22:48 -0400 Subject: Creating & Using Tabs tutorial In-Reply-To: References: <425C2B3B.3030308@fourthworld.com> Message-ID: <9b408d8e05041213228e2486e@mail.gmail.com> I think that this is left over from the old menu behavior documentation for UI's. For example, if you wanted a line to be a separator you would have it be a single dash. I wonder if the shortcut embeds work... -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From klaus at major-k.de Tue Apr 12 16:32:00 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 12 Apr 2005 22:32:00 +0200 Subject: Creating & Using Tabs tutorial In-Reply-To: <425C2B3B.3030308@fourthworld.com> References: <20050412172938.5AECB9300FC@mail.runrev.com> <9b408d8e0504121103778d0743@mail.gmail.com> <9bc83834ed17e05c7ebb1a6586007c3a@major-k.de> <425C2B3B.3030308@fourthworld.com> Message-ID: Hi Richard, > Klaus Major wrote: >> Hi Mikey, >>> I'm kind of curious - somebody mentioned that it was possible to >>> disable tabs. How? >> Put a "(" before that name of that tab like: >> (Line 1 >> Line 2 >> Line 3 >> This way the first tab is disabled... >> To enable it again, remove the "(" again... > > Cool tip -- thanks! :-) >> TABBED buttons are just "ordinary menu buttons" ;-) > Does that mean I can make hierarchical tab buttons? ;) I am sure that YOU will manage that... ;-) > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Tue Apr 12 16:34:07 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 12 Apr 2005 22:34:07 +0200 Subject: Creating & Using Tabs tutorial In-Reply-To: References: Message-ID: <5aa81b43499c60c303f80bd439a39cfa@major-k.de> Hi Judy, > Yep, majorly cool (I think) you bet! :-) > but where did Klaus find this info? Even a man needs his little secrets... ;-) > A quick look at the docs didn't reveal anything for me... As i said, TABBED buttons are nothing else but ordinary menu buttons... > Judy Regards Klaus Major klaus at major-k.de http://www.major-k.de From see3d at writeme.com Tue Apr 12 16:36:02 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 12 Apr 2005 16:36:02 -0400 Subject: Making Revolution faster with really big arrays Message-ID: <96b1014758697610695f6c02fc0c2494@writeme.com> Hi all, I just joined this list. What a great resource for sharing ideas and getting help. I am actively writing a bunch of Transcript code to sequentially process some very large arrays. I had to figure out how to handle a gig of data. At first I tried to load the file data into a data array[X,Y,Z] but it takes a while to load and processes for random access and it takes a lot of extra space for the structure. I also could never get all the data loaded in without crashing Revolution and my whole system (yes, I have plenty of extra RAM). The scheme I ended up with is based on the fact that the only fast way I could find to process a large amount of data is with the repeat for each control structure. I broke my data into a bunch of 10,000 line by 2500 item arrays. Each one holds a single data item (in this case it relates to stock market data). That way I can process a single data item in one sequential pass through the array (usually building another array in the process). I was impressed at how fast it goes for these 40MB files. However, this technique only covers a subset of the type of operations I need to do. The problem is that you can only specify a single item at a time to work with the repeat for each. In many cases, I need to have two or more data items available for the calculations. I have to pull a few rabbits out of my hat and jump through a lot of hoops to do this and still go faster than a snail. That is a crying shame. I believe (but don't know for sure) that all the primitive operations are in the runtime to make it possible to do this in a simple way if we could just access them from the compiler. So I came up with an idea for a proposed language extension. I put the idea in Bugzilla yesterday, then today, I thought I should ask others if they liked the idea, had a better idea, or could help me work around not having this feature in the mean time, since I doubt I would see it implemented in my lifetime based on the speed I see things getting addressed in the Bugzilla list. The Idea is to break apart the essential functional elements of the repeat for each control to allow more flexibility. This sample has a bit more refinement than what I posted yesterday in Bugzilla. The new keyword would be "access" , but could be something else. An example of the use of the new keywords syntax would be: access each line X in arrayX--initial setup of pointers and X value access each item Y in arrayY --initial setup of pointers and Y value repeat for number of lines of arrayX times --same as a repeat for each put X & comma & Y & return after ArrayXY --merged array next line X --puts the next line value in X next item Y --if arrayY has fewer elements than arrayX, then empty is supplied, could also put "End of String" in the result end repeat Another advantage of this syntax is that it provides for more flexibility in structure of loops. You could repeat forever, then exit repeat when you run out of values (based on getting an empty back). The possibilities for high speed sequential access data processing are much expanded which opens up more possibilities for Revolution. I would love to get your feedback or other ideas about solving this problem. Dennis From jperryl at ecs.fullerton.edu Tue Apr 12 16:36:06 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 13:36:06 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <9b408d8e05041213228e2486e@mail.gmail.com> Message-ID: May be... But, I would have to stress that a normal human (i.e., a non-programmer) who goes through the docs for tab buttons and doesn't see how to disable an individual tab isn't very likely to go check out menu behaviors (for the very simple and obvious reason that a tab button does not look like a menu!). Even if it duplicates info found out elsewhere, everything basically associated with a tab button (or any other object) aught to be found under that item's entry in the docs. Maybe for some things this is unreasonable, but enabling/disabling things is a basic thing that really aught to be there and not hiding out elsewhere. FWIW... This, and the fact that you can't do it from the object inspector, is part of what makes using the Rev IDE and its docs frustrating for some people (not venting here, just pointing out how others might experience things). As I haven't had the need to ever disable an individual tab, I'm not frustrated, but if I had needed to... yep, I'd be annoyed. Judy On Tue, 12 Apr 2005, Mikey wrote: > I think that this is left over from the old menu behavior > documentation for UI's. For example, if you wanted a line to be a > separator you would have it be a single dash. I wonder if the > shortcut embeds work... From jperryl at ecs.fullerton.edu Tue Apr 12 16:36:59 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 13:36:59 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: Message-ID: Hmmm... the file's there alright.. I'll try to see what's up. Or not, as the case apparently is. Judy On Tue, 12 Apr 2005, Eric Chatonet wrote: > Hi Judy, > > I downladed your nice stack and enjoy it but I was unable to downlaod > the PDF file :-( > As for disabling a tab, see the How-To stack #013 How to manage tabbed > buttons I posted yesterday on RevOnLine, RevNet and by pasting: > go url > "http://www.sosmartsoftware.com/downloads/ > Managing%20Tabbed%20Buttons.rev" > > Best regards, > > > How to disable or enable a tab by script > > To disable or enable a tab, just add or remove a parenthesis placed > > before its name in the button's text: > > > > if char 1 of line 2 of button "MyTabs" <> "(" then > > put "(" before line 2 of button "MyTabs" -- disable > > end if > > > > if char 1 of line 2 of button "MyTabs" = "(" then > > delete char 1 of line 2 of button "MyTabs" -- enable > > end if > > Le 12 avr. 05, ? 22:06, Judy Perry a ?crit : > > > As near as I can tell, you can only disable the entire tabbed control, > > not > > individual tabs. > > > > But perhaps somebody out there knows better? > > > > Judy > > > > On Tue, 12 Apr 2005, Mikey wrote: > > > >> I'm kind of curious - somebody mentioned that it was possible to > >> disable tabs. How? > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From graham.samuel at wanadoo.fr Tue Apr 12 16:50:08 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Tue, 12 Apr 2005 22:50:08 +0200 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) Message-ID: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> On Tue, 12 Apr 2005 13:57:28 +0100, Alex Tweedly wrote: > > I spent 20-some years as a software development manager - a significant > (arguably *the* significant) part of that job is figuring out the > balance between new feature development and bug fixing, and then > setting > priorities between various bugs. Some are very serious and very hard > and > will take a lot of time to investigate (and more to fix), others are > straightforward, and give you quick boost for little effort, etc. > > The existence of the voting system is (I hope) only one more helpful > input to the prioritization task of the development managers (and the > individual developers) at Runrev. The developer and/or manager > responsible for this area must be able to look at the bug, evaluate its > impact (on users and potential users), estimate the effort involved in > investigating, developing and subsequently testing a fix to this bug; > if > they've not yet picked it to work on, it's got to be because there are > other more important issues (or better ROI efforts) underway. Those > decisions involve a lot more than vote-counting. > > I just don't accept the blame (or guilt) implied by saying its *our* > (the users) collective fault it hasn't been voted for, and therefore > hasn't been fixed yet :-) > > I have to admit that at the moment, I haven't cast any votes for any > bugs. To do so would imply that I have *chosen* the ones to vote for - > and (with my sw dev manager background) I just can't do that without at > least a brief review all the outstanding bugs. Well, said Alex - I agree with you for the same reasons (including having been a software development manager. I would be shocked if the RunRev team felt itself bound by the pseudo-democracy of the Bugzilla voting system (having said that, I have indeed voted as an expression of interest in issues that affect me personally, but I don't have high expectations for particular bugs to be fixed just because I voted for them). There are several dimensions to assessing the seriousness of bugs and the realistic chance of fixing them by the next release or whatever. Clearly RR should keep its collective ear to the ground to see what is worrying users and where the show-stoppers are; but given the inevitable imbalance between the bugs and deficiencies that will exist in any complex software product and the amount of resources available to deal with them, I think we have no choice but to trust the team. If I do have a criticism of the bug database, it is the number of 'unconfirmed' bugs that are really pretty much known by the user community to be real. IMHO it would be worth updating BZ (again) in this respect. Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From jperryl at ecs.fullerton.edu Tue Apr 12 16:59:11 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 13:59:11 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: Message-ID: Hi Eric, Okay, I had to move the directory. I just tested it and the PDF d/l works on this end. Could you confirm? Thanks! Judy On Tue, 12 Apr 2005, Eric Chatonet wrote: > Hi Judy, > > I downladed your nice stack and enjoy it but I was unable to downlaod > the PDF file :-( From alex at tweedly.net Tue Apr 12 17:02:45 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 12 Apr 2005 22:02:45 +0100 Subject: Creating & Using Tabs tutorial In-Reply-To: References: Message-ID: <425C3775.1080505@tweedly.net> Judy Perry wrote: >Hmmm... the file's there alright.. I'll try to see what's up. Or not, as >the case apparently is. > > Judy, I don't even begin to understand this - but here's what happened for me. 1. Clicked on the button "Get PDF". brief flicker on the screen, nothing more. 2. looked at the stack source, copy/paste the line into the message box similar flicker 3. looked at the docs to remind myself what revGoURL is supposed to do. 3a. went and found my (already open) browser instance. 4. browser is reporting "file /RevPDFs/Rev_tabs.html not found" 5. tried various things in the browser (e.g. the directory, the next level up directory, etc.) without any success 6. tried, for no obvious reason, the original URL again this time, the error message was "Acrobat Reader: file is damaged and cannot be repaired" 7. so, tried yet again. This time it worked, and I can now read the PDF just fine in Acrobat Reader. Go figure ! Win XP, Rev 2.5, Mozilla Firefox 1.0 -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 From fde101 at fjrhome.net Tue Apr 12 17:04:38 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 12 Apr 2005 17:04:38 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <96b1014758697610695f6c02fc0c2494@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rev's arrays are associative. When using an array with an index like [X, Y, Z], you are really saying, make a string whose contents are X, Y, and Z separated by commas, then use that as the index for the array. These array indexes take up memory, along with your data. In fact, depending on what type of data you are trying to process, they likely take up more. Even without the overhead of the structures used to represent the arrays, your array will likely take up well over 2GB of RAM. On a 32-bit system, you are normally limited to either 2GB or 3GB of memory per process (almost always 2GB, but some Windows versions -- mostly server versions -- can be configured for 3GB per process), so that array would take more memory than all of your data PLUS Revolution PLUS your stack(s) PLUS some code used by the runtime libraries from the OS ... you get the idea. You'll never be able to fit that entire array into memory *as an array* in Rev. Have you considered loading it into a single string and parsing the data inline while managing it in your code? Try something like: put URL "file:/path/to/MyFile.txt" into x Then parse the data from x: put word 1 of item 2 of line 6 of x into y And so on... On Apr 12, 2005, at 4:36 PM, Dennis Brown wrote: > Hi all, > > I just joined this list. What a great resource for sharing ideas and > getting help. > > I am actively writing a bunch of Transcript code to sequentially > process some very large arrays. I had to figure out how to handle a > gig of data. At first I tried to load the file data into a data > array[X,Y,Z] but it takes a while to load and processes for random > access and it takes a lot of extra space for the structure. I also > could never get all the data loaded in without crashing Revolution and > my whole system (yes, I have plenty of extra RAM). > > The scheme I ended up with is based on the fact that the only fast way > I could find to process a large amount of data is with the repeat for > each control structure. I broke my data into a bunch of 10,000 line > by 2500 item arrays. Each one holds a single data item (in this case > it relates to stock market data). That way I can process a single > data item in one sequential pass through the array (usually building > another array in the process). I was impressed at how fast it goes > for these 40MB files. However, this technique only covers a subset of > the type of operations I need to do. The problem is that you can only > specify a single item at a time to work with the repeat for each. In > many cases, I need to have two or more data items available for the > calculations. I have to pull a few rabbits out of my hat and jump > through a lot of hoops to do this and still go faster than a snail. > That is a crying shame. I believe (but don't know for sure) that all > the primitive operations are in the runtime to make it possible to do > this in a simple way if we could just access them from the compiler. > So I came up with an idea for a proposed language extension. I put > the idea in Bugzilla yesterday, then today, I thought I should ask > others if they liked the idea, had a better idea, or could help me > work around not having this feature in the mean time, since I doubt I > would see it implemented in my lifetime based on the speed I see > things getting addressed in the Bugzilla list. > > The Idea is to break apart the essential functional elements of the > repeat for each control to allow more flexibility. This sample has a > bit more refinement than what I posted yesterday in Bugzilla. > > The new keyword would be "access" , but could be something else. > > An example of the use of the new keywords syntax would be: > > access each line X in arrayX--initial setup of pointers and X value > access each item Y in arrayY --initial setup of pointers and Y value > repeat for number of lines of arrayX times --same as a repeat for each > put X & comma & Y & return after ArrayXY --merged array > next line X --puts the next line value in X > next item Y --if arrayY has fewer elements than arrayX, then empty > is supplied, could also put "End of String" in the result > end repeat > > Another advantage of this syntax is that it provides for more > flexibility in structure of loops. You could repeat forever, then > exit repeat when you run out of values (based on getting an empty > back). The possibilities for high speed sequential access data > processing are much expanded which opens up more possibilities for > Revolution. > > I would love to get your feedback or other ideas about solving this > problem. > > Dennis > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXDfm7aqtWrR9cZoRAnz6AKCMKYLJsg+P7IO3z+2MRHdEgTrjiQCeIS0s T8tEaGjSTychxi01VZJKQVw= =ltcj -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jperryl at ecs.fullerton.edu Tue Apr 12 17:08:46 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 14:08:46 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <425C3775.1080505@tweedly.net> Message-ID: Alex, Well, I forgot that I had to place the directory inside of the homepage directory (brainfart?). I moved it and worked for me. My guess is that the flicker is related to Rev's trying to go find and activate the web browser. What's interesting is that the flicker/wait happens even if the web browser is already active! Thanks! Judy On Tue, 12 Apr 2005, Alex Tweedly wrote: > Judy, > > I don't even begin to understand this - but here's what happened for me. > > 1. Clicked on the button "Get PDF". > brief flicker on the screen, nothing more. > > 2. looked at the stack source, copy/paste the line into the message box > similar flicker > > 3. looked at the docs to remind myself what revGoURL is supposed to do. > 3a. went and found my (already open) browser instance. > > 4. browser is reporting "file /RevPDFs/Rev_tabs.html not found" > > 5. tried various things in the browser (e.g. the directory, the next > level up directory, etc.) without any success > > 6. tried, for no obvious reason, the original URL again > this time, the error message was "Acrobat Reader: file is damaged and > cannot be repaired" > > 7. so, tried yet again. > This time it worked, and I can now read the PDF just fine in Acrobat Reader. > > Go figure ! > > Win XP, Rev 2.5, Mozilla Firefox 1.0 > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Tue Apr 12 17:13:59 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 12 Apr 2005 22:13:59 +0100 Subject: Creating & Using Tabs tutorial In-Reply-To: References: Message-ID: <425C3A17.8080202@tweedly.net> Judy Perry wrote: >Hi Eric, > >Okay, I had to move the directory. > >I just tested it and the PDF d/l works on this end. > >Could you confirm? > > Now works fine for me. Please ignore my previous email - I suspect I was doing that at the exact time you were moving the file to the new directory - would explain the progress "missing" --> "damaged" --> "Ok". btw on the initial screen, I see the top field as > MIST: > A Game of Missed I need to make the field slightly wider (382 or more) to fit the whole text onto 2 lines, and see > MIST: > A Game of Missed Opportunities (WinXP, Rev 2.5) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 From psahores at easynet.fr Tue Apr 12 17:27:02 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 12 Apr 2005 23:27:02 +0200 Subject: Making Revolution faster with really big arrays In-Reply-To: <96b1014758697610695f6c02fc0c2494@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> Message-ID: <4579f5d6718ede06fcc665effe47850c@easynet.fr> Welcome to the Revolution Dennis, Why could you not take help from the native Rev ablity to manage the process in storing the datas inside an ACID-DB alike PostgreSQL or OpenBase ? It's how i would handle such amounts of datas, for my own. Transcript for the RAM fine high-speed calculations and SQL for the right datas presets extractions could probably open an interesing datas management way for your process, in about calculations speed and safety. Best, Le 12 avr. 05, ? 22:36, Dennis Brown a ?crit : > Hi all, > > I just joined this list. What a great resource for sharing ideas and > getting help. > > I am actively writing a bunch of Transcript code to sequentially > process some very large arrays. I had to figure out how to handle a > gig of data. At first I tried to load the file data into a data > array[X,Y,Z] but it takes a while to load and processes for random > access and it takes a lot of extra space for the structure. I also > could never get all the data loaded in without crashing Revolution and > my whole system (yes, I have plenty of extra RAM). > > The scheme I ended up with is based on the fact that the only fast way > I could find to process a large amount of data is with the repeat for > each control structure. I broke my data into a bunch of 10,000 line > by 2500 item arrays. Each one holds a single data item (in this case > it relates to stock market data). That way I can process a single > data item in one sequential pass through the array (usually building > another array in the process). I was impressed at how fast it goes > for these 40MB files. However, this technique only covers a subset of > the type of operations I need to do. The problem is that you can only > specify a single item at a time to work with the repeat for each. In > many cases, I need to have two or more data items available for the > calculations. I have to pull a few rabbits out of my hat and jump > through a lot of hoops to do this and still go faster than a snail. > That is a crying shame. I believe (but don't know for sure) that all > the primitive operations are in the runtime to make it possible to do > this in a simple way if we could just access them from the compiler. > So I came up with an idea for a proposed language extension. I put > the idea in Bugzilla yesterday, then today, I thought I should ask > others if they liked the idea, had a better idea, or could help me > work around not having this feature in the mean time, since I doubt I > would see it implemented in my lifetime based on the speed I see > things getting addressed in the Bugzilla list. > > The Idea is to break apart the essential functional elements of the > repeat for each control to allow more flexibility. This sample has a > bit more refinement than what I posted yesterday in Bugzilla. > > The new keyword would be "access" , but could be something else. > > An example of the use of the new keywords syntax would be: > > access each line X in arrayX--initial setup of pointers and X value > access each item Y in arrayY --initial setup of pointers and Y value > repeat for number of lines of arrayX times --same as a repeat for each > put X & comma & Y & return after ArrayXY --merged array > next line X --puts the next line value in X > next item Y --if arrayY has fewer elements than arrayX, then empty > is supplied, could also put "End of String" in the result > end repeat > > Another advantage of this syntax is that it provides for more > flexibility in structure of loops. You could repeat forever, then > exit repeat when you run out of values (based on getting an empty > back). The possibilities for high speed sequential access data > processing are much expanded which opens up more possibilities for > Revolution. > > I would love to get your feedback or other ideas about solving this > problem. > > Dennis > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From see3d at writeme.com Tue Apr 12 17:30:01 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 12 Apr 2005 17:30:01 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: <96b1014758697610695f6c02fc0c2494@writeme.com> Message-ID: <698bb224d5ef327dabe0595fc12fba33@writeme.com> Thanks Frank, Actually I have a 3.5GB 64 bit G5 machine that can handle that much data, and I could add a couple more gig if I needed to. It crashes when I get less than 1GB into RAM (I can monitor the number of free pages of RAM). I tried processing it like you suggest. However, at the speed it was going, it was going to be 4 or 5 days to get the first pass of my data processed. That is because if you specify a line or item chunk in a big array, Rev counts separators from the beginning to find the spot you want each time, even if you just want the next line. That means on the average, you have processed the array thousands of more times than the single pass repeat for each takes. The way I wrote it, it only required about two hours for the initial pass, and about two minutes for single passes through one data item in the array. However, now I need to process more than one data item at a time, and that means I can use the repeat for each on only one item and I will have to use the chunk expressions for the others. That will slow me back down to many days per pass, and I have hundreds of passes to do --not very interactive! See you in a few years... Dennis On Apr 12, 2005, at 5:04 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Rev's arrays are associative. When using an array with an index like > [X, Y, Z], you are really saying, make a string whose contents are X, > Y, and Z separated by commas, then use that as the index for the > array. These array indexes take up memory, along with your data. In > fact, depending on what type of data you are trying to process, they > likely take up more. Even without the overhead of the structures used > to represent the arrays, your array will likely take up well over 2GB > of RAM. On a 32-bit system, you are normally limited to either 2GB or > 3GB of memory per process (almost always 2GB, but some Windows > versions -- mostly server versions -- can be configured for 3GB per > process), so that array would take more memory than all of your data > PLUS Revolution PLUS your stack(s) PLUS some code used by the runtime > libraries from the OS ... you get the idea. > > You'll never be able to fit that entire array into memory *as an > array* in Rev. > > Have you considered loading it into a single string and parsing the > data inline while managing it in your code? > > Try something like: > > put URL "file:/path/to/MyFile.txt" into x > > Then parse the data from x: > > put word 1 of item 2 of line 6 of x into y > > And so on... > > > On Apr 12, 2005, at 4:36 PM, Dennis Brown wrote: > >> Hi all, >> >> I just joined this list. What a great resource for sharing ideas and >> getting help. >> >> I am actively writing a bunch of Transcript code to sequentially >> process some very large arrays. I had to figure out how to handle a >> gig of data. At first I tried to load the file data into a data >> array[X,Y,Z] but it takes a while to load and processes for random >> access and it takes a lot of extra space for the structure. I also >> could never get all the data loaded in without crashing Revolution >> and my whole system (yes, I have plenty of extra RAM). >> >> The scheme I ended up with is based on the fact that the only fast >> way I could find to process a large amount of data is with the repeat >> for each control structure. I broke my data into a bunch of 10,000 >> line by 2500 item arrays. Each one holds a single data item (in this >> case it relates to stock market data). That way I can process a >> single data item in one sequential pass through the array (usually >> building another array in the process). I was impressed at how fast >> it goes for these 40MB files. However, this technique only covers a >> subset of the type of operations I need to do. The problem is that >> you can only specify a single item at a time to work with the repeat >> for each. In many cases, I need to have two or more data items >> available for the calculations. I have to pull a few rabbits out of >> my hat and jump through a lot of hoops to do this and still go faster >> than a snail. That is a crying shame. I believe (but don't know for >> sure) that all the primitive operations are in the runtime to make it >> possible to do this in a simple way if we could just access them from >> the compiler. So I came up with an idea for a proposed language >> extension. I put the idea in Bugzilla yesterday, then today, I >> thought I should ask others if they liked the idea, had a better >> idea, or could help me work around not having this feature in the >> mean time, since I doubt I would see it implemented in my lifetime >> based on the speed I see things getting addressed in the Bugzilla >> list. >> >> The Idea is to break apart the essential functional elements of the >> repeat for each control to allow more flexibility. This sample has a >> bit more refinement than what I posted yesterday in Bugzilla. >> >> The new keyword would be "access" , but could be something else. >> >> An example of the use of the new keywords syntax would be: >> >> access each line X in arrayX--initial setup of pointers and X value >> access each item Y in arrayY --initial setup of pointers and Y value >> repeat for number of lines of arrayX times --same as a repeat for each >> put X & comma & Y & return after ArrayXY --merged array >> next line X --puts the next line value in X >> next item Y --if arrayY has fewer elements than arrayX, then empty >> is supplied, could also put "End of String" in the result >> end repeat >> >> Another advantage of this syntax is that it provides for more >> flexibility in structure of loops. You could repeat forever, then >> exit repeat when you run out of values (based on getting an empty >> back). The possibilities for high speed sequential access data >> processing are much expanded which opens up more possibilities for >> Revolution. >> >> I would love to get your feedback or other ideas about solving this >> problem. >> >> Dennis >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCXDfm7aqtWrR9cZoRAnz6AKCMKYLJsg+P7IO3z+2MRHdEgTrjiQCeIS0s > T8tEaGjSTychxi01VZJKQVw= > =ltcj > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Tue Apr 12 17:36:52 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 12 Apr 2005 23:36:52 +0200 Subject: Creating & Using Tabs tutorial In-Reply-To: References: Message-ID: <57814c5096ff229af464ac1d15a09ed6@sosmartsoftware.com> Hi Judy, I confirm: great PDF with a well done and very clear step by step :-) Best, Le 12 avr. 05, ? 22:59, Judy Perry a ?crit : > Hi Eric, > > Okay, I had to move the directory. > > I just tested it and the PDF d/l works on this end. > > Could you confirm? > > Thanks! > > Judy > > On Tue, 12 Apr 2005, Eric Chatonet wrote: > >> Hi Judy, >> >> I downladed your nice stack and enjoy it but I was unable to downlaod >> the PDF file :-( > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Eric Chatonet. ---------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From see3d at writeme.com Tue Apr 12 17:36:52 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 12 Apr 2005 17:36:52 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <4579f5d6718ede06fcc665effe47850c@easynet.fr> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> Message-ID: <526b06380ce5f1febba307b727de2a17@writeme.com> Thanks Pierre, I considered that also. A Database application would certainly handle the amount of data, but they are really meant for finding and sorting various fields, not for doing the kind of processing I am doing. The disk accessing would slow down the process. Dennis On Apr 12, 2005, at 5:27 PM, Pierre Sahores wrote: > Welcome to the Revolution Dennis, > > Why could you not take help from the native Rev ablity to manage the > process in storing the datas inside an ACID-DB alike PostgreSQL or > OpenBase ? It's how i would handle such amounts of datas, for my own. > Transcript for the RAM fine high-speed calculations and SQL for the > right datas presets extractions could probably open an interesing > datas management way for your process, in about calculations speed and > safety. > > Best, > > Le 12 avr. 05, ? 22:36, Dennis Brown a ?crit : > >> Hi all, >> >> I just joined this list. What a great resource for sharing ideas and >> getting help. >> >> I am actively writing a bunch of Transcript code to sequentially >> process some very large arrays. I had to figure out how to handle a >> gig of data. At first I tried to load the file data into a data >> array[X,Y,Z] but it takes a while to load and processes for random >> access and it takes a lot of extra space for the structure. I also >> could never get all the data loaded in without crashing Revolution >> and my whole system (yes, I have plenty of extra RAM). >> >> The scheme I ended up with is based on the fact that the only fast >> way I could find to process a large amount of data is with the repeat >> for each control structure. I broke my data into a bunch of 10,000 >> line by 2500 item arrays. Each one holds a single data item (in this >> case it relates to stock market data). That way I can process a >> single data item in one sequential pass through the array (usually >> building another array in the process). I was impressed at how fast >> it goes for these 40MB files. However, this technique only covers a >> subset of the type of operations I need to do. The problem is that >> you can only specify a single item at a time to work with the repeat >> for each. In many cases, I need to have two or more data items >> available for the calculations. I have to pull a few rabbits out of >> my hat and jump through a lot of hoops to do this and still go faster >> than a snail. That is a crying shame. I believe (but don't know for >> sure) that all the primitive operations are in the runtime to make it >> possible to do this in a simple way if we could just access them from >> the compiler. So I came up with an idea for a proposed language >> extension. I put the idea in Bugzilla yesterday, then today, I >> thought I should ask others if they liked the idea, had a better >> idea, or could help me work around not having this feature in the >> mean time, since I doubt I would see it implemented in my lifetime >> based on the speed I see things getting addressed in the Bugzilla >> list. >> >> The Idea is to break apart the essential functional elements of the >> repeat for each control to allow more flexibility. This sample has a >> bit more refinement than what I posted yesterday in Bugzilla. >> >> The new keyword would be "access" , but could be something else. >> >> An example of the use of the new keywords syntax would be: >> >> access each line X in arrayX--initial setup of pointers and X value >> access each item Y in arrayY --initial setup of pointers and Y value >> repeat for number of lines of arrayX times --same as a repeat for each >> put X & comma & Y & return after ArrayXY --merged array >> next line X --puts the next line value in X >> next item Y --if arrayY has fewer elements than arrayX, then empty >> is supplied, could also put "End of String" in the result >> end repeat >> >> Another advantage of this syntax is that it provides for more >> flexibility in structure of loops. You could repeat forever, then >> exit repeat when you run out of values (based on getting an empty >> back). The possibilities for high speed sequential access data >> processing are much expanded which opens up more possibilities for >> Revolution. >> >> I would love to get your feedback or other ideas about solving this >> problem. >> >> Dennis >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > -- > Bien cordialement, Pierre Sahores > > 100, rue de Paris > F - 77140 Nemours > > psahores+ at +easynet.fr > sc+ at +sahores-conseil.com > > GSM: +33 6 03 95 77 70 > Pro: +33 1 64 45 05 33 > Fax: +33 1 64 45 05 33 > > > > WEB/VoD/ACID-DB services over IP > "Mutualiser les deltas de productivit?" > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikeythek at gmail.com Tue Apr 12 17:44:25 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 12 Apr 2005 17:44:25 -0400 Subject: Creating & Using Tabs tutorial In-Reply-To: References: <9b408d8e05041213228e2486e@mail.gmail.com> Message-ID: <9b408d8e0504121444153e9c36@mail.gmail.com> So what are you saying - that the docs suck and somebody needs to fix that problem? What are you doing tonight? You're preaching to the choir. I tried emailing the yahoo list, but it appears to be mainly dead. I'd love to start with whatever anyone has and begin the process of building REAL docs for RR. -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Tue Apr 12 18:03:59 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 15:03:59 -0700 Subject: Creating & Using Tabs tutorial In-Reply-To: <9b408d8e0504121444153e9c36@mail.gmail.com> References: <9b408d8e05041213228e2486e@mail.gmail.com> <9b408d8e0504121444153e9c36@mail.gmail.com> Message-ID: <425C45CF.9020407@fourthworld.com> Mikey wrote: > So what are you saying - that the docs suck and somebody needs to fix > that problem? What are you doing tonight? You're preaching to the > choir. I tried emailing the yahoo list, but it appears to be mainly > dead. I prefer to believe it's merely in spring break. But as they say, the proof is in the pudding: Monte arranged a task which would let the group have strong influence on the design of a new TOC, but so far the rubber has yet to meet the road.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From fde101 at fjrhome.net Tue Apr 12 18:23:10 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 12 Apr 2005 18:23:10 -0400 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> References: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hear here! On Apr 12, 2005, at 4:50 PM, graham samuel wrote: > If I do have a criticism of the bug database, it is the number of > 'unconfirmed' bugs that are really pretty much known by the user > community to be real. IMHO it would be worth updating BZ (again) in > this respect. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXEpO7aqtWrR9cZoRArmfAKCD/aM17JtS8RBRt26vHTL8dByVBQCfSFdi qJ/TUqxLdjrUoTmvMHOOqR8= =5rHK -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Tue Apr 12 18:27:17 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 12 Apr 2005 18:27:17 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <698bb224d5ef327dabe0595fc12fba33@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <698bb224d5ef327dabe0595fc12fba33@writeme.com> Message-ID: <60ab6d985291e1ebad279370e6012714@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That is only significant if Rev takes advantage of the 64-bit address space, which I seriously doubt. Your Rev process will still be limited to 2GB of addressing space, regardless of how much RAM is in the system. Until they release a 64-bit version of Rev, of course... If your task is that processor-intensive and your data set that large, you should consider a lower-level language like Pascal or Ada. A scripting language, no matter how fast it is, is not ideal for such intensive operations on large data sets. On Apr 12, 2005, at 5:30 PM, Dennis Brown wrote: > Thanks Frank, > > Actually I have a 3.5GB 64 bit G5 machine that can handle that much > data, and I could add a couple more gig if I needed to. It crashes > when I get less than 1GB into RAM (I can monitor the number of free > pages of RAM). I tried processing it like you suggest. However, at > the speed it was going, it was going to be 4 or 5 days to get the > first pass of my data processed. That is because if you specify a > line or item chunk in a big array, Rev counts separators from the > beginning to find the spot you want each time, even if you just want > the next line. That means on the average, you have processed the > array thousands of more times than the single pass repeat for each > takes. The way I wrote it, it only required about two hours for the > initial pass, and about two minutes for single passes through one data > item in the array. However, now I need to process more than one data > item at a time, and that means I can use the repeat for each on only > one item and I will have to use the chunk expressions for the others. > That will slow me back down to many days per pass, and I have hundreds > of passes to do --not very interactive! See you in a few years... > > Dennis > > > On Apr 12, 2005, at 5:04 PM, Frank D. Engel, Jr. wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Rev's arrays are associative. When using an array with an index like >> [X, Y, Z], you are really saying, make a string whose contents are X, >> Y, and Z separated by commas, then use that as the index for the >> array. These array indexes take up memory, along with your data. In >> fact, depending on what type of data you are trying to process, they >> likely take up more. Even without the overhead of the structures >> used to represent the arrays, your array will likely take up well >> over 2GB of RAM. On a 32-bit system, you are normally limited to >> either 2GB or 3GB of memory per process (almost always 2GB, but some >> Windows versions -- mostly server versions -- can be configured for >> 3GB per process), so that array would take more memory than all of >> your data PLUS Revolution PLUS your stack(s) PLUS some code used by >> the runtime libraries from the OS ... you get the idea. >> >> You'll never be able to fit that entire array into memory *as an >> array* in Rev. >> >> Have you considered loading it into a single string and parsing the >> data inline while managing it in your code? >> >> Try something like: >> >> put URL "file:/path/to/MyFile.txt" into x >> >> Then parse the data from x: >> >> put word 1 of item 2 of line 6 of x into y >> >> And so on... >> >> >> On Apr 12, 2005, at 4:36 PM, Dennis Brown wrote: >> >>> Hi all, >>> >>> I just joined this list. What a great resource for sharing ideas >>> and getting help. >>> >>> I am actively writing a bunch of Transcript code to sequentially >>> process some very large arrays. I had to figure out how to handle a >>> gig of data. At first I tried to load the file data into a data >>> array[X,Y,Z] but it takes a while to load and processes for random >>> access and it takes a lot of extra space for the structure. I also >>> could never get all the data loaded in without crashing Revolution >>> and my whole system (yes, I have plenty of extra RAM). >>> >>> The scheme I ended up with is based on the fact that the only fast >>> way I could find to process a large amount of data is with the >>> repeat for each control structure. I broke my data into a bunch of >>> 10,000 line by 2500 item arrays. Each one holds a single data item >>> (in this case it relates to stock market data). That way I can >>> process a single data item in one sequential pass through the array >>> (usually building another array in the process). I was impressed at >>> how fast it goes for these 40MB files. However, this technique only >>> covers a subset of the type of operations I need to do. The problem >>> is that you can only specify a single item at a time to work with >>> the repeat for each. In many cases, I need to have two or more data >>> items available for the calculations. I have to pull a few rabbits >>> out of my hat and jump through a lot of hoops to do this and still >>> go faster than a snail. That is a crying shame. I believe (but >>> don't know for sure) that all the primitive operations are in the >>> runtime to make it possible to do this in a simple way if we could >>> just access them from the compiler. So I came up with an idea for a >>> proposed language extension. I put the idea in Bugzilla yesterday, >>> then today, I thought I should ask others if they liked the idea, >>> had a better idea, or could help me work around not having this >>> feature in the mean time, since I doubt I would see it implemented >>> in my lifetime based on the speed I see things getting addressed in >>> the Bugzilla list. >>> >>> The Idea is to break apart the essential functional elements of the >>> repeat for each control to allow more flexibility. This sample has >>> a bit more refinement than what I posted yesterday in Bugzilla. >>> >>> The new keyword would be "access" , but could be something else. >>> >>> An example of the use of the new keywords syntax would be: >>> >>> access each line X in arrayX--initial setup of pointers and X value >>> access each item Y in arrayY --initial setup of pointers and Y value >>> repeat for number of lines of arrayX times --same as a repeat for >>> each >>> put X & comma & Y & return after ArrayXY --merged array >>> next line X --puts the next line value in X >>> next item Y --if arrayY has fewer elements than arrayX, then >>> empty is supplied, could also put "End of String" in the result >>> end repeat >>> >>> Another advantage of this syntax is that it provides for more >>> flexibility in structure of loops. You could repeat forever, then >>> exit repeat when you run out of values (based on getting an empty >>> back). The possibilities for high speed sequential access data >>> processing are much expanded which opens up more possibilities for >>> Revolution. >>> >>> I would love to get your feedback or other ideas about solving this >>> problem. >>> >>> Dennis >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> - ----------------------------------------------------------- >> Frank D. Engel, Jr. >> >> $ ln -s /usr/share/kjvbible /usr/manual >> $ true | cat /usr/manual | grep "John 3:16" >> John 3:16 For God so loved the world, that he gave his only begotten >> Son, that whosoever believeth in him should not perish, but have >> everlasting life. >> $ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (Darwin) >> >> iD8DBQFCXDfm7aqtWrR9cZoRAnz6AKCMKYLJsg+P7IO3z+2MRHdEgTrjiQCeIS0s >> T8tEaGjSTychxi01VZJKQVw= >> =ltcj >> -----END PGP SIGNATURE----- >> >> >> >> ___________________________________________________________ >> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer >> 10 Personalized POP and Web E-mail Accounts, and much more. >> Signup at www.doteasy.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXEtG7aqtWrR9cZoRAu27AJ0esoARVdEKDEi0qdlmLTFW+jA44ACfXx5D icNFddbPGBu6YYrKZz1Jyuo= =ALsS -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From sarahr at genesearch.com.au Tue Apr 12 18:28:54 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 13 Apr 2005 08:28:54 +1000 Subject: OT: Rev & Tiger In-Reply-To: <5baa1649d79945ce1e4ee9d816ec0d4f@major-k.de> References: <5baa1649d79945ce1e4ee9d816ec0d4f@major-k.de> Message-ID: <9b42bdee8fe91c1d75cd43529655e7f6@genesearch.com.au> Yes, I tried Rev on one of the early Tiger builds and it worked perfectly :-) Sarah On 13 Apr 2005, at 3:35 AM, Klaus Major wrote: > Hello friends, > > has anyone already been able to test Rev on OS X Tiger? > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From rjb at robelko.com Tue Apr 12 18:11:48 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 13 Apr 2005 00:11:48 +0200 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> References: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> Message-ID: > >If I do have a criticism of the bug database, it is the number of >'unconfirmed' bugs that are really pretty much known by the user >community to be real. IMHO it would be worth updating BZ (again) in >this respect. > >Graham >---------------------------------------- >Graham Samuel / The Living Fossil Co. / UK and France Out of 996 unresolved bugs 514 are currently unconfirmed whereas 482 are being checked or handled. Notably 261 of those 514 are enhancement requests. There are 92 enhancements implemented or dismissed and 202 being implemented or in consideration as far as I can see. Seeing many "known" bugs remaining unconfirmed indeed leaves a feeling of discomfort and concern, although it is clear from the above numbers that RR team uses bugzilla. Robert From ambassador at fourthworld.com Tue Apr 12 18:37:19 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 15:37:19 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <60ab6d985291e1ebad279370e6012714@fjrhome.net> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <698bb224d5ef327dabe0595fc12fba33@writeme.com> <60ab6d985291e1ebad279370e6012714@fjrhome.net> Message-ID: <425C4D9F.6000803@fourthworld.com> Frank D. Engel, Jr. wrote: > That is only significant if Rev takes advantage of the 64-bit address > space, which I seriously doubt. Your Rev process will still be limited > to 2GB of addressing space, regardless of how much RAM is in the > system. Wouldn't that be 4GB, or have I slipped a digit? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From rjb at robelko.com Tue Apr 12 18:35:24 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 13 Apr 2005 00:35:24 +0200 Subject: OT: Rev & Tiger In-Reply-To: <9b42bdee8fe91c1d75cd43529655e7f6@genesearch.com.au> References: <5baa1649d79945ce1e4ee9d816ec0d4f@major-k.de> <9b42bdee8fe91c1d75cd43529655e7f6@genesearch.com.au> Message-ID: Hopefully that holds for Wombat :) >Yes, I tried Rev on one of the early Tiger builds and it worked perfectly :-) >Sarah > >On 13 Apr 2005, at 3:35 AM, Klaus Major wrote: > >>Hello friends, >> >>has anyone already been able to test Rev on OS X Tiger? >> >> >>Regards >> >>Klaus Major >>klaus at major-k.de >>http://www.major-k.de >> From rjb at robelko.com Tue Apr 12 18:51:09 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 13 Apr 2005 00:51:09 +0200 Subject: Making Revolution faster with really big arrays In-Reply-To: <526b06380ce5f1febba307b727de2a17@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> Message-ID: I would not disregard this option so readily. You can use the database as an array of sorts allowing you to pull out any set of data you need to process and store the results there for later. If you are concerned with performance of server-based databases like PostgreSql, OpenBase, or MySql, you can try Valentina which embeds directly into Rev and is renowed for its super fast performance. To reduce disk access issues, get a good SCSI card and a fast SCSI drive, giving you additional benefit of having data on a separate physical device than your OS and your program. This solution would be more scalable and portable. It is quite likely your data will grow faster than memory capabilities and address space restrictions. Robert Brenstein >Thanks Pierre, > >I considered that also. A Database application would certainly >handle the amount of data, but they are really meant for finding and >sorting various fields, not for doing the kind of processing I am >doing. The disk accessing would slow down the process. > >Dennis > >On Apr 12, 2005, at 5:27 PM, Pierre Sahores wrote: > >>Welcome to the Revolution Dennis, >> >>Why could you not take help from the native Rev ablity to manage >>the process in storing the datas inside an ACID-DB alike PostgreSQL >>or OpenBase ? It's how i would handle such amounts of datas, for my >>own. Transcript for the RAM fine high-speed calculations and SQL >>for the right datas presets extractions could probably open an >>interesing datas management way for your process, in about >>calculations speed and safety. >> From webmaster at dreamscapesoftware.com Tue Apr 12 19:02:39 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 12 Apr 2005 18:02:39 -0500 Subject: Replacing Answer/Ask In-Reply-To: <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> References: <425BDC52.1080703@dreamscapesoftware.com> <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> Message-ID: <425C538F.1090805@dreamscapesoftware.com> Thank you all for the suggestions. Now I have a place to look for my "installer". I did not realize that the license.rev stack was the home stack. I always thought it was the menubar, but now it all makes sense. As far as custom dialogs not taking up a lot of space, that is simply not true. Let's say for instance that in a standalone you intend to have, at the most, 20 custom dialogs. If they average out to a slim size of just 4k, then that amounts to 80k total. With my dialogs, they usually end up being about 6k in size, and I have at least 14 different ones, so about 84k. Making a common dialog system, which comes out to only about 10k total, is a much better solution for saving space. Combine that with other simple space saving habits like using abbreviated code, removing comments and white space from scripts, and having 1 card with all images on it and buttons that reference each image, ultimately helped me reduce my standalone's file size by almost 200k. 200K may not be much, but it's a huge improvement considering the size of the engine alone. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From gizmotron at earthlink.net Tue Apr 12 19:29:06 2005 From: gizmotron at earthlink.net (Mark Brownell) Date: Tue, 12 Apr 2005 16:29:06 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <20050412224043.5CA4D930147@mail.runrev.com> Message-ID: Hi Dennis, I have found that large data files can be broken down into smaller objects using simplified XML where access is obtained using a pull-parser. Unlike the XML parser in Revolution a very fast pull-parser can be used to break down objects and parse out specific fields without ever building a full parsing in the more traditional form using standard parsers. So if you can break down your data and transform it using simple element type XML structuring then you might be able to create a system that can find information in large data objects. I once asked the creators of Rev to add or create a faster pull-parser. They came up with something that would improve on my Transcript based pull-parser by about 20%. I found out that all I needed to do was lock the screen and unlock it after I was done parsing my files in order to get the speeds I was looking for. In other words what I did in Transcript was very fast for a native written pull-parser. Here it is one more time: HTH, Mark ================== -- put getElementsArray("", "", tZap) into theArray function getElementsArray tStartTag, tEndTag, StringToSearch put empty into tArray put 0 into tStart1 put 0 into tStart2 put 1 into tElementNum put the number of chars in tStartTag into dChars repeat put offset(tStartTag,StringToSearch,tStart1) into tNum1 put (tNum1 + tStart1) into tStart1 if tNum1 < 1 then exit repeat put offset(tEndTag,StringToSearch,tStart2) into tNum2 put (tNum2 + tStart2) into tStart2 if tNum2 < 1 then exit repeat --if tNum2 < tNum1 then exit repeat put char (tStart1 + dChars) to (tStart2 - 1) of StringToSearch into zapped put zapped into tArray[tElementNum] add 1 to tElementNum end repeat return tArray end getElementsArray -- put getElement("", "", tZap) into theElement function getElement tStTag, tEdTag, stngToSch put empty into zapped put the number of chars in tStTag into dChars put offset(tStTag,stngToSch) into tNum1 put offset(tEdTag,stngToSch) into tNum2 if tNum1 < 1 then return "error" exit getElement end if if tNum2 < 1 then return "error" exit getElement end if put char (tNum1 + dChars) to (tNum2 - 1) of stngToSch into zapped return zapped end getElement ================= > The Idea is to break apart the essential functional elements of the > repeat for each control to allow more flexibility. This sample has a > bit more refinement than what I posted yesterday in Bugzilla. > > The new keyword would be "access" , but could be something else. > > An example of the use of the new keywords syntax would be: > > access each line X in arrayX--initial setup of pointers and X value > access each item Y in arrayY --initial setup of pointers and Y value > repeat for number of lines of arrayX times --same as a repeat for each > put X & comma & Y & return after ArrayXY --merged array > next line X --puts the next line value in X > next item Y --if arrayY has fewer elements than arrayX, then empty > is supplied, could also put "End of String" in the result > end repeat > > Another advantage of this syntax is that it provides for more > flexibility in structure of loops. You could repeat forever, then > exit repeat when you run out of values (based on getting an empty > back). The possibilities for high speed sequential access data > processing are much expanded which opens up more possibilities for > Revolution. > > I would love to get your feedback or other ideas about solving this > problem. > > Dennis From rjb at robelko.com Tue Apr 12 19:26:02 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 13 Apr 2005 01:26:02 +0200 Subject: Making Revolution faster with really big arrays Message-ID: >I would not disregard this option so readily. You can use the >database as an array of sorts allowing you to pull out any set of >data you need to process and store the results there for later. If >you are concerned with performance of server-based databases like >PostgreSql, OpenBase, or MySql, you can try Valentina which embeds >directly into Rev and is renowed for its super fast performance. To >reduce disk access issues, get a good SCSI card and a fast SCSI >drive, giving you additional benefit of having data on a separate >physical device than your OS and your program. > >This solution would be more scalable and portable. It is quite >likely your data will grow faster than memory capabilities and >address space restrictions. > >Robert Brenstein PS Furthermore, array-based solutions will likely force you to use index-based loops whereas such an alternative solution may allow you to use repeat-for-each loops which are order of magnitude faster. That was probably a large portion of the slowness you observed. Robert From fde101 at fjrhome.net Tue Apr 12 19:41:46 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 12 Apr 2005 19:41:46 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <425C4D9F.6000803@fourthworld.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <698bb224d5ef327dabe0595fc12fba33@writeme.com> <60ab6d985291e1ebad279370e6012714@fjrhome.net> <425C4D9F.6000803@fourthworld.com> Message-ID: <20c03977f058a5a99c703b91ed36b3f4@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A 32-bit address space has a *total* of 4GB of addressable memory. Of that 4GB, the operating system normally reserves 2GB for its own use, leaving only 2GB for the process. The operating system reserves that much space because it maps the SAME 2GB of memory for every process into that portion of the address space. So 2GB of the address space is consumed by the operating system, and cannot be used by the process. Each process gets only 2GB of address space to work with. Some operating systems allow you to vary this somewhat. For example, some server versions of Windows allow you to change the configuration to 3GB per process, 1GB for the operating system. This is intended for apps with large data sets (like the one presented in this thread), and is mainly of interest to database servers. Reducing the address space of the operating system limits the number of concurrent tasks that can be managed by the system and the amount of potential buffer space available for use by disk/file cache, etc., so the 2GB/2GB split is fine in most cases, but in cases where you are juggling a great deal of data (as in this case), it can make the application program feel just a bit crowded. That's where 64-bit processes come in handy. For smaller apps, a 64-bit address space (meaning 64-bit pointers which consume more memory, etc.) can actually slow down execution rather than speeding it up, but when dealing with huge data sets, the ability to map huge amounts of data into the same address space can simplify program authoring and improve performance. Unfortunately, I don't believe Rev currently offers a 64-bit engine. That wouldn't be a bad idea, though -- particularly with the improvements showing up in Tiger related to 64-bit processing, the availability of 64-bit Sun and SGI workstations (among others), etc... Anyone want to BZ a request for 64-bit engines, mainly for G5 towers and the iMac G5, but then also for SPARC64 (Sun workstations) and MIPS64 (SGI workstations) while we are at it? Again, though, with processor-intensive operations on huge data sets, *any* scripting language is a poor choice. You definitely want native-compiled code for that. Pascal, Ada, a compiled BASIC... On Apr 12, 2005, at 6:37 PM, Richard Gaskin wrote: > Frank D. Engel, Jr. wrote: >> That is only significant if Rev takes advantage of the 64-bit address >> space, which I seriously doubt. Your Rev process will still be >> limited to 2GB of addressing space, regardless of how much RAM is in >> the system. > > Wouldn't that be 4GB, or have I slipped a digit? > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXFy77aqtWrR9cZoRAvdpAJ0S0s0YDD8pKa3zE7CtnHfCKVIRKACgiYoz Sx7tq658YZV6deC0bGDvpzE= =I2kb -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From see3d at writeme.com Tue Apr 12 19:42:18 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 12 Apr 2005 19:42:18 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <9c1727ae9fda6510989c6be8f72406db@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <698bb224d5ef327dabe0595fc12fba33@writeme.com> <60ab6d985291e1ebad279370e6012714@fjrhome.net> <9c1727ae9fda6510989c6be8f72406db@writeme.com> Message-ID: <48801328828d9833e1be2bc62dd6e07d@writeme.com> On Apr 12, 2005, at 7:37 PM, Dennis Brown wrote: Frank, I just copied this from the Rev IDE help info: A note about entries designated as "Unlimited": Since each open stack file resides completely in memory, Revolution stacks (and all structures within a stack) are effectively limited by available memory and by Revolution's total address space of 4G (4,294,967,296 bytes) on 32-bit systems, or 16P (18,446,744,073,709,551,616 bytes) on 64-bit systems. The 64KB limit on lines is also well within my data size. Anyway, with my scheme of keeping the data in 40MB files that I only need several of in memory at a time, means memory is no longer my limiting factor. All I need is speed... If I can't do it in Rev, then I will try RB, or write portions in each. I have years of experience with X languages, years with microprocessor machine code, and nothing in between. So everything else is a learning curve, and I have to have some results from this project in a couple of weeks. My gripe is that Rev is only lacking a small enhancement to open up the possibility of quite high speed data processing, it is a crying shame. Dennis On Apr 12, 2005, at 6:27 PM, Frank D. Engel, Jr. wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> That is only significant if Rev takes advantage of the 64-bit address >> space, which I seriously doubt. Your Rev process will still be >> limited to 2GB of addressing space, regardless of how much RAM is in >> the system. Until they release a 64-bit version of Rev, of course... >> >> If your task is that processor-intensive and your data set that >> large, you should consider a lower-level language like Pascal or Ada. >> A scripting language, no matter how fast it is, is not ideal for >> such intensive operations on large data sets. >> >> >> On Apr 12, 2005, at 5:30 PM, Dennis Brown wrote: >> >>> Thanks Frank, >>> >>> Actually I have a 3.5GB 64 bit G5 machine that can handle that much >>> data, and I could add a couple more gig if I needed to. It crashes >>> when I get less than 1GB into RAM (I can monitor the number of free >>> pages of RAM). I tried processing it like you suggest. However, at >>> the speed it was going, it was going to be 4 or 5 days to get the >>> first pass of my data processed. That is because if you specify a >>> line or item chunk in a big array, Rev counts separators from the >>> beginning to find the spot you want each time, even if you just want >>> the next line. That means on the average, you have processed the >>> array thousands of more times than the single pass repeat for each >>> takes. The way I wrote it, it only required about two hours for the >>> initial pass, and about two minutes for single passes through one >>> data item in the array. However, now I need to process more than >>> one data item at a time, and that means I can use the repeat for >>> each on only one item and I will have to use the chunk expressions >>> for the others. That will slow me back down to many days per pass, >>> and I have hundreds of passes to do --not very interactive! See you >>> in a few years... >>> >>> Dennis >>> >>> >>> On Apr 12, 2005, at 5:04 PM, Frank D. Engel, Jr. wrote: >>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> Rev's arrays are associative. When using an array with an index >>>> like [X, Y, Z], you are really saying, make a string whose contents >>>> are X, Y, and Z separated by commas, then use that as the index for >>>> the array. These array indexes take up memory, along with your >>>> data. In fact, depending on what type of data you are trying to >>>> process, they likely take up more. Even without the overhead of >>>> the structures used to represent the arrays, your array will likely >>>> take up well over 2GB of RAM. On a 32-bit system, you are normally >>>> limited to either 2GB or 3GB of memory per process (almost always >>>> 2GB, but some Windows versions -- mostly server versions -- can be >>>> configured for 3GB per process), so that array would take more >>>> memory than all of your data PLUS Revolution PLUS your stack(s) >>>> PLUS some code used by the runtime libraries from the OS ... you >>>> get the idea. >>>> >>>> You'll never be able to fit that entire array into memory *as an >>>> array* in Rev. >>>> >>>> Have you considered loading it into a single string and parsing the >>>> data inline while managing it in your code? >>>> >>>> Try something like: >>>> >>>> put URL "file:/path/to/MyFile.txt" into x >>>> >>>> Then parse the data from x: >>>> >>>> put word 1 of item 2 of line 6 of x into y >>>> >>>> And so on... >>>> >>>> From fde101 at fjrhome.net Tue Apr 12 19:45:53 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 12 Apr 2005 19:45:53 -0400 Subject: Replacing Answer/Ask In-Reply-To: <425C538F.1090805@dreamscapesoftware.com> References: <425BDC52.1080703@dreamscapesoftware.com> <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> <425C538F.1090805@dreamscapesoftware.com> Message-ID: <7d310cc156a6d912ba644cb76cf6c2b8@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add this thought into the mix: Scripts are compiled into a bytecode format, but the original script code is still included in plaintext in a compiled standalone. What would the implications be for stripping the plaintext script code from a stack as it is converted into a standalone? Obviously this would need to be an option, since some apps may actually want to read those scripts even after they are made into standalones, but I suspect that for 90% or more of us, that would reduce the final app size by about half or so. Any thoughts? Is this worth BZing an enh req for? On Apr 12, 2005, at 7:02 PM, Derek Bump wrote: > Thank you all for the suggestions. Now I have a place to look for my > "installer". I did not realize that the license.rev stack was the > home stack. I always thought it was the menubar, but now it all makes > sense. > > As far as custom dialogs not taking up a lot of space, that is simply > not true. Let's say for instance that in a standalone you intend to > have, at the most, 20 custom dialogs. If they average out to a slim > size of just 4k, then that amounts to 80k total. > > With my dialogs, they usually end up being about 6k in size, and I > have at least 14 different ones, so about 84k. Making a common dialog > system, which comes out to only about 10k total, is a much better > solution for saving space. > > Combine that with other simple space saving habits like using > abbreviated code, removing comments and white space from scripts, and > having 1 card with all images on it and buttons that reference each > image, ultimately helped me reduce my standalone's file size by almost > 200k. > > 200K may not be much, but it's a huge improvement considering the size > of the engine alone. > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Images Easily with JPEGCompress 2.5 > http://www.dreamscapesoftware.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXF2x7aqtWrR9cZoRAkMbAKCDX9IN5GPL5SFyy253s72dQukOgQCfeVls 2/Azz5uU6WRXiJ/I2L1I4lA= =0XU+ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From webmaster at dreamscapesoftware.com Tue Apr 12 19:47:07 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 12 Apr 2005 18:47:07 -0500 Subject: export: can't write to file, mask file, or container Message-ID: <425C5DFB.9090007@dreamscapesoftware.com> Any way to avoid this error? This error seems to me like something that could be returned in a result, instead of just stopping completely. export: can't write to file, mask file, or container Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From jhurley at infostations.com Tue Apr 12 20:13:43 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 12 Apr 2005 17:13:43 -0700 Subject: There's got to be a better way In-Reply-To: <20050412224043.766EA930148@mail.runrev.com> References: <20050412224043.766EA930148@mail.runrev.com> Message-ID: I have html text from a web site. (Thanks again to Dave Cragg for his nifty handler to extract text from a web site with forms.) It is awkward to parse in this form. I would like to be able to parse the text without the html code. So this is what I am using: set the htmltext of field 1 to tHTMLtextFromWebSite set the text of field 1 to field 1 put field 1 into tTextToParse It is hard to imagine anything more clumsy. It wastes a lot time putting things into and out of fields. There must be a better way of stripping out the html code. I understand that one cannot use variables for this. Jim From fde101 at fjrhome.net Tue Apr 12 20:14:51 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 12 Apr 2005 20:14:51 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <48801328828d9833e1be2bc62dd6e07d@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <698bb224d5ef327dabe0595fc12fba33@writeme.com> <60ab6d985291e1ebad279370e6012714@fjrhome.net> <9c1727ae9fda6510989c6be8f72406db@writeme.com> <48801328828d9833e1be2bc62dd6e07d@writeme.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rev is still confined to what the Operating System offers it, which is 2GB for most 32-bit systems, and never 4GB (3GB, or maybe even 3.5GB in some rare cases), as per my previous note. I just noticed that Tiger "hits the shelves" in 17 days. Sweet. However, even in Tiger, 64-bit support is limited to "faceless" background apps (like database servers), and is *not* supported for developing with the Carbon and Cocoa frameworks. Thus, Rev will not likely be releasing a 64-bit Mac version for some time, and the current version is certainly not a 64-bit app. Rats. On Apr 12, 2005, at 7:42 PM, Dennis Brown wrote: > > On Apr 12, 2005, at 7:37 PM, Dennis Brown wrote: > > Frank, > > I just copied this from the Rev IDE help info: > > A note about entries designated as "Unlimited": > Since each open stack file resides completely in memory, Revolution > stacks (and all structures within a stack) are effectively limited by > available memory and by Revolution's total address space of 4G > (4,294,967,296 bytes) on 32-bit systems, or 16P > (18,446,744,073,709,551,616 bytes) on 64-bit systems. > > The 64KB limit on lines is also well within my data size. > > Anyway, with my scheme of keeping the data in 40MB files that I only > need several of in memory at a time, means memory is no longer my > limiting factor. All I need is speed... > > If I can't do it in Rev, then I will try RB, or write portions in > each. I have years of experience with X languages, years with > microprocessor machine code, and nothing in between. So everything > else is a learning curve, and I have to have some results from this > project in a couple of weeks. My gripe is that Rev is only lacking a > small enhancement to open up the possibility of quite high speed data > processing, it is a crying shame. > > Dennis > > On Apr 12, 2005, at 6:27 PM, Frank D. Engel, Jr. wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> That is only significant if Rev takes advantage of the 64-bit >>> address space, which I seriously doubt. Your Rev process will still >>> be limited to 2GB of addressing space, regardless of how much RAM is >>> in the system. Until they release a 64-bit version of Rev, of >>> course... >>> >>> If your task is that processor-intensive and your data set that >>> large, you should consider a lower-level language like Pascal or >>> Ada. A scripting language, no matter how fast it is, is not ideal >>> for such intensive operations on large data sets. >>> >>> >>> On Apr 12, 2005, at 5:30 PM, Dennis Brown wrote: >>> >>>> Thanks Frank, >>>> >>>> Actually I have a 3.5GB 64 bit G5 machine that can handle that much >>>> data, and I could add a couple more gig if I needed to. It crashes >>>> when I get less than 1GB into RAM (I can monitor the number of free >>>> pages of RAM). I tried processing it like you suggest. However, >>>> at the speed it was going, it was going to be 4 or 5 days to get >>>> the first pass of my data processed. That is because if you >>>> specify a line or item chunk in a big array, Rev counts separators >>>> from the beginning to find the spot you want each time, even if you >>>> just want the next line. That means on the average, you have >>>> processed the array thousands of more times than the single pass >>>> repeat for each takes. The way I wrote it, it only required about >>>> two hours for the initial pass, and about two minutes for single >>>> passes through one data item in the array. However, now I need to >>>> process more than one data item at a time, and that means I can use >>>> the repeat for each on only one item and I will have to use the >>>> chunk expressions for the others. That will slow me back down to >>>> many days per pass, and I have hundreds of passes to do --not very >>>> interactive! See you in a few years... >>>> >>>> Dennis >>>> >>>> >>>> On Apr 12, 2005, at 5:04 PM, Frank D. Engel, Jr. wrote: >>>> >>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>> Hash: SHA1 >>>>> >>>>> Rev's arrays are associative. When using an array with an index >>>>> like [X, Y, Z], you are really saying, make a string whose >>>>> contents are X, Y, and Z separated by commas, then use that as the >>>>> index for the array. These array indexes take up memory, along >>>>> with your data. In fact, depending on what type of data you are >>>>> trying to process, they likely take up more. Even without the >>>>> overhead of the structures used to represent the arrays, your >>>>> array will likely take up well over 2GB of RAM. On a 32-bit >>>>> system, you are normally limited to either 2GB or 3GB of memory >>>>> per process (almost always 2GB, but some Windows versions -- >>>>> mostly server versions -- can be configured for 3GB per process), >>>>> so that array would take more memory than all of your data PLUS >>>>> Revolution PLUS your stack(s) PLUS some code used by the runtime >>>>> libraries from the OS ... you get the idea. >>>>> >>>>> You'll never be able to fit that entire array into memory *as an >>>>> array* in Rev. >>>>> >>>>> Have you considered loading it into a single string and parsing >>>>> the data inline while managing it in your code? >>>>> >>>>> Try something like: >>>>> >>>>> put URL "file:/path/to/MyFile.txt" into x >>>>> >>>>> Then parse the data from x: >>>>> >>>>> put word 1 of item 2 of line 6 of x into y >>>>> >>>>> And so on... >>>>> >>>>> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXGR77aqtWrR9cZoRAhF8AJ9DxDY3jrLqX1gJ3K1aB/mGMjMhgQCdHLcy sfOFAxh6Vr23xg81sDrW5CI= =eRxW -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From mikeythek at gmail.com Tue Apr 12 20:31:11 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 12 Apr 2005 20:31:11 -0400 Subject: There's got to be a better way In-Reply-To: References: <20050412224043.766EA930148@mail.runrev.com> Message-ID: <9b408d8e05041217312b8eff77@mail.gmail.com> Noob here. Welcome to another APL convert. Unfortunately this isn't APL. Fortunately it isn't LISP: CDR(CAR(CDR(CDR(CAR(CDR(CAR(x))))))) I can't believe that you're complaining about this. In three lines of code you have accomplished what would take another epoch in most other tools. I agree that it's stupid that you have to use a field to accomplish the task, but anyway, Noob out -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Tue Apr 12 20:31:57 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 12 Apr 2005 20:31:57 -0400 Subject: There's got to be a better way In-Reply-To: <9b408d8e05041217312b8eff77@mail.gmail.com> References: <20050412224043.766EA930148@mail.runrev.com> <9b408d8e05041217312b8eff77@mail.gmail.com> Message-ID: <9b408d8e0504121731132fa35a@mail.gmail.com> Oops, forgot the plug for the tao blog http://taoofrunrev.blogspot.com -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Tue Apr 12 20:36:19 2005 From: mikeythek at gmail.com (Mikey) Date: Tue, 12 Apr 2005 20:36:19 -0400 Subject: Replacing Answer/Ask In-Reply-To: <7d310cc156a6d912ba644cb76cf6c2b8@fjrhome.net> References: <425BDC52.1080703@dreamscapesoftware.com> <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> <425C538F.1090805@dreamscapesoftware.com> <7d310cc156a6d912ba644cb76cf6c2b8@fjrhome.net> Message-ID: <9b408d8e05041217364ca8d036@mail.gmail.com> Just a stupid question from the noob: 1) 200K Who the heck cares? What, are you running on a Trash-80? 2) If the system is embedded it makes more sense, and then I'm asking about why we can't get the compiler to strip out unneeded code resources for unused commands from the compiled app, too. -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Tue Apr 12 20:38:22 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 17:38:22 -0700 Subject: There's got to be a better way In-Reply-To: References: <20050412224043.766EA930148@mail.runrev.com> Message-ID: <425C69FE.9090303@fourthworld.com> Jim Hurley wrote: > I have html text from a web site. (Thanks again to Dave Cragg for his > nifty handler to extract text from a web site with forms.) > > It is awkward to parse in this form. I would like to be able to parse > the text without the html code. > > So this is what I am using: > > set the htmltext of field 1 to tHTMLtextFromWebSite > set the text of field 1 to field 1 > put field 1 into tTextToParse > > It is hard to imagine anything more clumsy. It wastes a lot time putting > things into and out of fields. There must be a better way of stripping > out the html code. I understand that one cannot use variables for this. I understand the trepidation about fields, but for this particular task it's damn fast relative to any parsing option. Normally all those internal mechanics involving style runs work against you for simple data access in fields, but for this type of translation they work in your favor, putting as much work as possible into the engine and outside of scripts. Benchmark it and I think you'll find it quite acceptable. Here's a tip to get even better performance (sometimes as much as two or three times more): use a field in an unopened window for the translation. When a field is on the current card, even if hidden, it's initialized with additional things that don't come into play when accessing a field on an unopened card. In all versions of WebMerge through v2.3 I had been using a hidden field on the main card for the translation. But after I learned this trick from Tuviah in v2.4 I now do that translation in an unopened substack, and even thought my customers had long raved about WebMerge's performance I was able to give them a 100% performance boost in one step. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Tue Apr 12 20:41:28 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 17:41:28 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <20c03977f058a5a99c703b91ed36b3f4@fjrhome.net> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <698bb224d5ef327dabe0595fc12fba33@writeme.com> <60ab6d985291e1ebad279370e6012714@fjrhome.net> <425C4D9F.6000803@fourthworld.com> <20c03977f058a5a99c703b91ed36b3f4@fjrhome.net> Message-ID: <425C6AB8.6010302@fourthworld.com> Great info on the memory limits, Frank. Thanks for that. Frank D. Engel, Jr. wrote: > Again, though, with processor-intensive operations on huge data sets, > *any* scripting language is a poor choice. You definitely want > native-compiled code for that. Pascal, Ada, a compiled BASIC... Of course the caveat is to choose your compiler wisely. As we've seen, some BASIC "compilers" benchmark not much faster than Rev. ;) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Tue Apr 12 20:43:54 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 17:43:54 -0700 Subject: Replacing Answer/Ask In-Reply-To: <425C538F.1090805@dreamscapesoftware.com> References: <425BDC52.1080703@dreamscapesoftware.com> <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> <425C538F.1090805@dreamscapesoftware.com> Message-ID: <425C6B4A.4090003@fourthworld.com> Derek Bump wrote: > As far as custom dialogs not taking up a lot of space, that is simply > not true. Let's say for instance that in a standalone you intend to > have, at the most, 20 custom dialogs. If they average out to a slim > size of just 4k, then that amounts to 80k total. > > With my dialogs, they usually end up being about 6k in size, and I have > at least 14 different ones, so about 84k. Making a common dialog > system, which comes out to only about 10k total, is a much better > solution for saving space. Ah, I see. Totally different solutions. When you asked about replacing the Ask and Answer dialogs with custom ones I thought you were looking to use them in the same manner, calling the same two dialogs for different purposes using the "ask" and "answer" commands. But if the question is really "Will two dialogs take less space than 14?", that will usually be "yes". :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jperryl at ecs.fullerton.edu Tue Apr 12 20:45:29 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 17:45:29 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <425C3A17.8080202@tweedly.net> Message-ID: This is probably true. I don't have a PC to test it on and so used the Win look'n'feel in Rev... Thanks for having a look! Judy On Tue, 12 Apr 2005, Alex Tweedly wrote: > btw on the initial screen, I see the top field as > > > MIST: > > A Game of Missed > > I need to make the field slightly wider (382 or more) to fit the whole > text onto 2 lines, and see > > > MIST: > > A Game of Missed Opportunities > From webmaster at dreamscapesoftware.com Tue Apr 12 20:47:50 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 12 Apr 2005 19:47:50 -0500 Subject: Replacing Answer/Ask In-Reply-To: <7d310cc156a6d912ba644cb76cf6c2b8@fjrhome.net> References: <425BDC52.1080703@dreamscapesoftware.com> <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> <425C538F.1090805@dreamscapesoftware.com> <7d310cc156a6d912ba644cb76cf6c2b8@fjrhome.net> Message-ID: <425C6C36.1040507@dreamscapesoftware.com> > Scripts are compiled into a bytecode format, but the original script > code is still included in plaintext in a compiled standalone. What > would the implications be for stripping the plaintext script code from a > stack as it is converted into a standalone? This definitely has my full and undivided attention! Yes, in most cases, especially me, my projects have no need to analyze it's own code, so removing the plaintext versions of that code from the standalones would be a great way to reduce file size. I'd say it's definitely worth a request in BugZilla enhancement request. I've already requested the ability to remove code from the engine in an effort to cut down on file sizes. The engine would have the ability to include and exclude "libraries" such as the Database and QuickTime libraries, and even possibly removing code that does not apply to the operating system in question. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From jperryl at ecs.fullerton.edu Tue Apr 12 20:57:26 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 17:57:26 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <9b408d8e0504121444153e9c36@mail.gmail.com> Message-ID: Well, I suspect I'm not saying anything that I haven't said before (for example, an index might have helped me find the answer to the question of how to disable a single tab) or that others haven't said before... I don't say that the documents suck but rather that some things perhaps need to be done differently. If I understand things correctly, there may be only a single person responsible for the documentation. The docs are considerable in what is covered/sheer volume of info that needs to be covered. It's hard to get everything right, especially if you don't have a team of people handling such a thing. Having said that, I still, however, think that if the object inspector for tabs doesn't allow you the obvious ability to disable a single tab, then the issue of how to do so really aught to be in the main dox section dealing with tab buttons. I'm surprised about what you say re: yahoo dox group. Dan posted there just last night or so and I responded. Not exactly a swinging, happening group, but not dead either. The problem with building 'real' docs from scratch is the same as I outlined in paragraph 1. That, and the fact that textual support is needed for a wide range of potential users (some who looked at my tabs stack probably cringed at the voluminous usage of if-then-end if's, but I think that normal humans who need a step-by-step probably relate more to if-thens than to case statements). There are those who never need to know about one-dimensional versus multidimensional arrays and those for whom that bit of info is a make or break the deal issue. etc. Judy On Tue, 12 Apr 2005, Mikey wrote: > So what are you saying - that the docs suck and somebody needs to fix > that problem? What are you doing tonight? You're preaching to the > choir. I tried emailing the yahoo list, but it appears to be mainly > dead. I'd love to start with whatever anyone has and begin the > process of building REAL docs for RR. From jperryl at ecs.fullerton.edu Tue Apr 12 21:00:17 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 12 Apr 2005 18:00:17 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <425C45CF.9020407@fourthworld.com> Message-ID: That's interesting, Richard. I had the rather vague understanding that you had spoken to Kevin and that he agreed to listen to whatever we had to say on the issue, but nothing as specific as a TOC. If I had understood, I'd be that group's equivalent of an electric cattle prod ;-) Judy On Tue, 12 Apr 2005, Richard Gaskin wrote: > I prefer to believe it's merely in spring break. But as they say, the > proof is in the pudding: Monte arranged a task which would let the > group have strong influence on the design of a new TOC, but so far the > rubber has yet to meet the road.... From alex at tweedly.net Tue Apr 12 21:03:45 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 13 Apr 2005 02:03:45 +0100 Subject: Making Revolution faster with really big arrays In-Reply-To: <96b1014758697610695f6c02fc0c2494@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> Message-ID: <425C6FF1.3070508@tweedly.net> Dennis Brown wrote: > Hi all, > > I just joined this list. What a great resource for sharing ideas and > getting help. > > So I came up with an idea for a proposed language extension. I > put the idea in Bugzilla yesterday, then today, I thought I should ask > others if they liked the idea, had a better idea, or could help me > work around not having this feature in the mean time, since I doubt I > would see it implemented in my lifetime based on the speed I see > things getting addressed in the Bugzilla list. > > The Idea is to break apart the essential functional elements of the > repeat for each control to allow more flexibility. This sample has a > bit more refinement than what I posted yesterday in Bugzilla. > > The new keyword would be "access" , but could be something else. > > An example of the use of the new keywords syntax would be: > > access each line X in arrayX--initial setup of pointers and X value > access each item Y in arrayY --initial setup of pointers and Y value > repeat for number of lines of arrayX times --same as a repeat for each > put X & comma & Y & return after ArrayXY --merged array > next line X --puts the next line value in X > next item Y --if arrayY has fewer elements than arrayX, then empty > is supplied, could also put "End of String" in the result > end repeat > > Another advantage of this syntax is that it provides for more > flexibility in structure of loops. You could repeat forever, then > exit repeat when you run out of values (based on getting an empty > back). The possibilities for high speed sequential access data > processing are much expanded which opens up more possibilities for > Revolution. > > I would love to get your feedback or other ideas about solving this > problem. Dennis, I think you have the start of a very powerful suggestion here. I will get back to you with some feedback on the abstract idea itself (may take me a day or two ...) In the meantime, here is a possible workaround for you. I wrote most of this email, and decided it looked so outlandish you wouldn't believe it (and no-one else would either). So I had to tidy up the code and verify the timings. First the timing result - then the suggestion Basic test case: fill two variables each with N random numbers (one per line), produce as a result the summed list (though the actual operation could be anything). N 1000 2000 5000 10,000 20,000 50,000 Simple method 9 37 188 696 3343 17831 Suggestion 14 31 78 159 320 814 As you can see, for small sizes, the overhead is makes this take (marginally) longer, but for large cases (where it matters) the better scaling makes it much better. Simple method : look through one list, using the corresponding "line y" from the other put empty into tResult put the millisecs into t1 put 1 into y repeat for each line XL in Xlist put XL + line y of Ylist & cr after tResult add 1 to y end repeat put the number of lines in tResult && line 1 of tResult && the last line of tResult && the millisecs-t1 & cr after field "Field" Suggestion: create a combined list, prefixing each line from list 1 with 1,3,5,7,... and each line from list 2 with 2,4,6,8,... sort (numeric) this combined list process the combined list, alternately storing and adding (note this generalizes to quite easily to handle more than two lists, and extracting the data at each turn) put empty into tResult put empty into tInter put the millisecs into t1 put 1 into y repeat for each line XL in Xlist put y, XL & cr after tInter add 2 to y end repeat put 2 into y repeat for each line YL in Ylist put y, YL & cr after tInter add 2 to y end repeat sort tInter numeric put 1 into y repeat for each line L in tInter switch y case 1 put item 2 of L into t put 2 into y break case 2 put (item 2 of L)+t & cr after tResult put 1 into y end switch end repeat put the number of lines in tResult && line 1 of tResult && the last line of tResult && the millisecs-t1 & cr after field "Field" caveat: this suggestion manipulates the data more, so it might not be so effective if the lines in question were longer than this test case - but a quick test (put random(C) && "xxxxxxxxxxxxxxxxxxxxxxx" into each line) suggests it won't be too bad. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 From jhurley at infostations.com Tue Apr 12 21:07:29 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 12 Apr 2005 18:07:29 -0700 Subject: There's got to be a better way In-Reply-To: <20050413004946.2D6EA930186@mail.runrev.com> References: <20050413004946.2D6EA930186@mail.runrev.com> Message-ID: > >Message: 15 >Date: Tue, 12 Apr 2005 20:31:11 -0400 >From: Mikey >Subject: Re: There's got to be a better way >To: How to use Revolution >Message-ID: <9b408d8e05041217312b8eff77 at mail.gmail.com> >Content-Type: text/plain; charset=ISO-8859-1 > >Noob here. > >Welcome to another APL convert. Unfortunately this isn't APL. >Fortunately it isn't LISP: CDR(CAR(CDR(CDR(CAR(CDR(CAR(x))))))) > >I can't believe that you're complaining about this. In three lines of >code you have accomplished what would take another epoch in most other >tools. > >I agree that it's stupid that you have to use a field to accomplish >the task, but anyway, Seems to me that someone (was it Richard) had a way to speed up writing to and reading from a field. Am I dreaming? JIm From davis.phil at comcast.net Tue Apr 12 21:07:19 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 12 Apr 2005 18:07:19 -0700 Subject: There's got to be a better way In-Reply-To: <425C69FE.9090303@fourthworld.com> References: <20050412224043.766EA930148@mail.runrev.com> <425C69FE.9090303@fourthworld.com> Message-ID: <425C70C7.30507@comcast.net> Thanks for posting this, Richard. Wow! Phil Davis Richard Gaskin wrote: > Here's a tip to get even better performance (sometimes as much as two or > three times more): use a field in an unopened window for the translation. > > When a field is on the current card, even if hidden, it's initialized > with additional things that don't come into play when accessing a field > on an unopened card. > > In all versions of WebMerge through v2.3 I had been using a hidden field > on the main card for the translation. But after I learned this trick > from Tuviah in v2.4 I now do that translation in an unopened substack, > and even thought my customers had long raved about WebMerge's > performance I was able to give them a 100% performance boost in one > step. :) From revdan at danshafer.com Tue Apr 12 21:11:51 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 12 Apr 2005 18:11:51 -0700 Subject: Python and Rev In-Reply-To: <20050409101947.9780A930068@mail.runrev.com> References: <20050409101947.9780A930068@mail.runrev.com> Message-ID: <78103bbbf0bfd11f1a6443e44818f654@danshafer.com> Apropos of almost nothing but nonetheless intriguing..... I typed "python GUI application" into a search engine (A9.com, which uses google) today while doing some research for a client. Guess what the first sponsored link that came up was? Build your own gui applications, interfaces & more. Free trial! dreamcard.runrev.com Same thing comes up if I type "Perl GUI application". But NOT if I type "GUI application." Hmmmmm. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From sarahr at genesearch.com.au Tue Apr 12 21:13:02 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 13 Apr 2005 11:13:02 +1000 Subject: export: can't write to file, mask file, or container In-Reply-To: <425C5DFB.9090007@dreamscapesoftware.com> References: <425C5DFB.9090007@dreamscapesoftware.com> Message-ID: <272149c528621339cabc066046ff96b7@genesearch.com.au> I have experienced this error when trying to export an image with no image data. And I think it can be checked using the result. Cheers, Sarah On 13 Apr 2005, at 9:49 AM, Derek Bump wrote: > Any way to avoid this error? This error seems to me like something > that could be returned in a result, instead of just stopping > completely. > > export: can't write to file, mask file, or container > > > Derek Bump From webmaster at dreamscapesoftware.com Tue Apr 12 21:49:29 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 12 Apr 2005 20:49:29 -0500 Subject: export: can't write to file, mask file, or container In-Reply-To: <272149c528621339cabc066046ff96b7@genesearch.com.au> References: <425C5DFB.9090007@dreamscapesoftware.com> <272149c528621339cabc066046ff96b7@genesearch.com.au> Message-ID: <425C7AA9.2040000@dreamscapesoftware.com> > I have experienced this error when trying to export an image with no > image data. And I think it can be checked using the result. Well, I just tested that it it doesn't look like it. A stack with an image who's referenced to a text file, and 1 button with the following script... on mouseUp export image "test" to file "C:/test.jpg" as JPEG put the result end mouseUp Will not put the result, but will simply show the Error dialog with the above mentioned error. I do believe that this error should be instead returned to a result instead of just calling the Error dialog. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From see3d at writeme.com Tue Apr 12 21:49:48 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 12 Apr 2005 21:49:48 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: Message-ID: <48782382f941b2b78ca96dd3abb0c2e5@writeme.com> Thanks Mark, Your suggestion would not help for my application, the offset function is not faster than counting up returns (line chunk statement) to get to the proper line, but I have used it before for parsing a large USDA food nutrition database and it helped a lot. However, it does give me some more ideas about how I can use a hybrid approach to speed things up a bit. I know exactly what line and item the data I want is in, and it is always the next one. I might be able to suffer with the chunk specification for the line#, then use a repeat for each item and put 2500 items in an array. That way I will only need 2500 array items at any one time instead of 125,000,000 array items per data file. But I will still have to put 125,000,000 items into array elements and then read them back out again once per data pass. Perhaps 10-100 times slower than an "access" keyword instead of 1000-10,000 times slower. I will do some sample tests and see what I come up with. Dennis On Apr 12, 2005, at 7:29 PM, Mark Brownell wrote: > Hi Dennis, > > I have found that large data files can be broken down into smaller > objects using simplified XML where access is obtained using a > pull-parser. Unlike the XML parser in Revolution a very fast > pull-parser can be used to break down objects and parse out specific > fields without ever building a full parsing in the more traditional > form using standard parsers. So if you can break down your data and > transform it using simple element type XML structuring then you might > be able to create a system that can find information in large data > objects. > > I once asked the creators of Rev to add or create a faster > pull-parser. They came up with something that would improve on my > Transcript based pull-parser by about 20%. I found out that all I > needed to do was lock the screen and unlock it after I was done > parsing my files in order to get the speeds I was looking for. In > other words what I did in Transcript was very fast for a native > written pull-parser. > > Here it is one more time: > > HTH, > > Mark > > ================== > > -- put getElementsArray("", "", tZap) into theArray > function getElementsArray tStartTag, tEndTag, StringToSearch > put empty into tArray > put 0 into tStart1 > put 0 into tStart2 > put 1 into tElementNum > put the number of chars in tStartTag into dChars > repeat > put offset(tStartTag,StringToSearch,tStart1) into tNum1 > put (tNum1 + tStart1) into tStart1 > if tNum1 < 1 then exit repeat > put offset(tEndTag,StringToSearch,tStart2) into tNum2 > put (tNum2 + tStart2) into tStart2 > if tNum2 < 1 then exit repeat > --if tNum2 < tNum1 then exit repeat > put char (tStart1 + dChars) to (tStart2 - 1) of StringToSearch > into zapped > put zapped into tArray[tElementNum] > add 1 to tElementNum > end repeat > return tArray > end getElementsArray > > -- put getElement("", "", tZap) into theElement > function getElement tStTag, tEdTag, stngToSch > put empty into zapped > put the number of chars in tStTag into dChars > put offset(tStTag,stngToSch) into tNum1 > put offset(tEdTag,stngToSch) into tNum2 > if tNum1 < 1 then > return "error" > exit getElement > end if > if tNum2 < 1 then > return "error" > exit getElement > end if > put char (tNum1 + dChars) to (tNum2 - 1) of stngToSch into zapped > return zapped > end getElement > > ================= > > >> The Idea is to break apart the essential functional elements of the >> repeat for each control to allow more flexibility. This sample has a >> bit more refinement than what I posted yesterday in Bugzilla. >> >> The new keyword would be "access" , but could be something else. >> >> An example of the use of the new keywords syntax would be: >> >> access each line X in arrayX--initial setup of pointers and X value >> access each item Y in arrayY --initial setup of pointers and Y value >> repeat for number of lines of arrayX times --same as a repeat for each >> put X & comma & Y & return after ArrayXY --merged array >> next line X --puts the next line value in X >> next item Y --if arrayY has fewer elements than arrayX, then empty >> is supplied, could also put "End of String" in the result >> end repeat >> >> Another advantage of this syntax is that it provides for more >> flexibility in structure of loops. You could repeat forever, then >> exit repeat when you run out of values (based on getting an empty >> back). The possibilities for high speed sequential access data >> processing are much expanded which opens up more possibilities for >> Revolution. >> >> I would love to get your feedback or other ideas about solving this >> problem. >> >> Dennis > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From briany at qldlearning.com Tue Apr 12 22:06:23 2005 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 12 Apr 2005 19:06:23 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <526b06380ce5f1febba307b727de2a17@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> Message-ID: Dennis, I have to agree with Pierre here. If you are looking for random access to many thousands of records taking up gigabytes of memory, a database engine is, IMO, the only logical choice. A simple MySQL/PostgreSQL/Valentina/etc database indexed by line number (or stock symbol) would be very fast. Without indexing your data or fitting all of it into random-access in-memory data structures, you're fighting a painful battle. If you algorithm is scaling out linearly, you'll just run too slow, and if your data size is doing the same you'll run out of memory. On the other hand, database engines can potentially handle _terabytes_ of data and give you random access in milliseconds. You simply won't beat that in Transcript. One thing you could consider if you don't want a whole database engine to deal with, is the feasibility of indexing the data yourself - which will give you some of the algorithmic benefits of a database engine. That is, make one pass where you store the offsets of each line in an index, and then use that to grab lines. Something like (untested): ## index the line starts and ends put 1 into lineNumber put 1 into charNum put 1 into lineStarts[1] repeat for each char c in tData if (c = return) then put (charNum - 1) into lineEnds[lineNumber] put (charNum + 1) into lineStarts[lineNumber + 1] add 1 to lineNumber end if add 1 to charNum end repeat if (c <> return) then put charNum into lineEnds[lineNumber] ## get line x via random char access put char lineStarts[x] to lineEnds[x] of tData into lineX - Brian > Thanks Pierre, > > I considered that also. A Database application would certainly handle > the amount of data, but they are really meant for finding and sorting > various fields, not for doing the kind of processing I am doing. The > disk accessing would slow down the process. > > Dennis > > On Apr 12, 2005, at 5:27 PM, Pierre Sahores wrote: > >> Welcome to the Revolution Dennis, >> >> Why could you not take help from the native Rev ablity to manage the >> process in storing the datas inside an ACID-DB alike PostgreSQL or >> OpenBase ? It's how i would handle such amounts of datas, for my own. >> Transcript for the RAM fine high-speed calculations and SQL for the >> right datas presets extractions could probably open an interesing >> datas management way for your process, in about calculations speed >> and safety. >> >> Best, >> >> Le 12 avr. 05, ? 22:36, Dennis Brown a ?crit : >> >>> Hi all, >>> >>> I just joined this list. What a great resource for sharing ideas >>> and getting help. >>> >>> I am actively writing a bunch of Transcript code to sequentially >>> process some very large arrays. I had to figure out how to handle a >>> gig of data. At first I tried to load the file data into a data >>> array[X,Y,Z] but it takes a while to load and processes for random >>> access and it takes a lot of extra space for the structure. I also >>> could never get all the data loaded in without crashing Revolution >>> and my whole system (yes, I have plenty of extra RAM). >>> >>> The scheme I ended up with is based on the fact that the only fast >>> way I could find to process a large amount of data is with the >>> repeat for each control structure. I broke my data into a bunch of >>> 10,000 line by 2500 item arrays. Each one holds a single data item >>> (in this case it relates to stock market data). That way I can >>> process a single data item in one sequential pass through the array >>> (usually building another array in the process). I was impressed at >>> how fast it goes for these 40MB files. However, this technique only >>> covers a subset of the type of operations I need to do. The problem >>> is that you can only specify a single item at a time to work with >>> the repeat for each. In many cases, I need to have two or more data >>> items available for the calculations. I have to pull a few rabbits >>> out of my hat and jump through a lot of hoops to do this and still >>> go faster than a snail. That is a crying shame. I believe (but >>> don't know for sure) that all the primitive operations are in the >>> runtime to make it possible to do this in a simple way if we could >>> just access them from the compiler. So I came up with an idea for a >>> proposed language extension. I put the idea in Bugzilla yesterday, >>> then today, I thought I should ask others if they liked the idea, >>> had a better idea, or could help me work around not having this >>> feature in the mean time, since I doubt I would see it implemented >>> in my lifetime based on the speed I see things getting addressed in >>> the Bugzilla list. >>> >>> The Idea is to break apart the essential functional elements of the >>> repeat for each control to allow more flexibility. This sample has >>> a bit more refinement than what I posted yesterday in Bugzilla. >>> >>> The new keyword would be "access" , but could be something else. >>> >>> An example of the use of the new keywords syntax would be: >>> >>> access each line X in arrayX--initial setup of pointers and X value >>> access each item Y in arrayY --initial setup of pointers and Y value >>> repeat for number of lines of arrayX times --same as a repeat for >>> each >>> put X & comma & Y & return after ArrayXY --merged array >>> next line X --puts the next line value in X >>> next item Y --if arrayY has fewer elements than arrayX, then >>> empty is supplied, could also put "End of String" in the result >>> end repeat >>> >>> Another advantage of this syntax is that it provides for more >>> flexibility in structure of loops. You could repeat forever, then >>> exit repeat when you run out of values (based on getting an empty >>> back). The possibilities for high speed sequential access data >>> processing are much expanded which opens up more possibilities for >>> Revolution. >>> >>> I would love to get your feedback or other ideas about solving this >>> problem. >>> >>> Dennis >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> -- >> Bien cordialement, Pierre Sahores >> >> 100, rue de Paris >> F - 77140 Nemours >> >> psahores+ at +easynet.fr >> sc+ at +sahores-conseil.com >> >> GSM: +33 6 03 95 77 70 >> Pro: +33 1 64 45 05 33 >> Fax: +33 1 64 45 05 33 >> >> >> >> WEB/VoD/ACID-DB services over IP >> "Mutualiser les deltas de productivit?" >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From Typing80wpm at aol.com Tue Apr 12 22:11:16 2005 From: Typing80wpm at aol.com (Typing80wpm at aol.com) Date: Tue, 12 Apr 2005 22:11:16 EDT Subject: Newbe Questions: Revolution vs. Dreamcard, Differences? Message-ID: I stumbled across the page on Revolution and Dreamcard. I am a bit confused as to which product I should start with. I have been a programmer since the 1970s, and worked with different languages and database managers. For right now, I would like to try this product at home, and develop a business application. What can Revolution do that Dreamcard cant do. Is it a matter of being able to deploy something commercially? If Revolution lets me do more things on my desktop at home during the learning phase than Dreamcard, then I will choose Revolution. If Dreamcard can do everything that Revolution can do except deploy, then I would start with Dreamcard. I realize that there is a 30 day trial period, but I would appreciate any advice. I am going to read the pages at _http://revolution.runrev.com/_ (http://revolution.runrev.com/) more thoroughly after I post this. But since I just now joined this email listserve, I wanted to "test it out" plus ask my first question. Thanks From webmaster at dreamscapesoftware.com Tue Apr 12 21:44:31 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 12 Apr 2005 20:44:31 -0500 Subject: Replacing Answer/Ask In-Reply-To: <9b408d8e05041217364ca8d036@mail.gmail.com> References: <425BDC52.1080703@dreamscapesoftware.com> <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> <425C538F.1090805@dreamscapesoftware.com> <7d310cc156a6d912ba644cb76cf6c2b8@fjrhome.net> <9b408d8e05041217364ca8d036@mail.gmail.com> Message-ID: <425C797F.4030406@dreamscapesoftware.com> > 1) 200K Who the heck cares? What, are you running on a Trash-80? The reason I care so much about reducing file size is because file size can have a lot to do when determining if a program will sink or swim. Example: My program, when compressed, comes out to about 1.38 MBs. In today's age that file size is OK, but a lot of people still think in terms of life on the internet before broadband. Those terms were, if it's smaller, they'll download it first. I know that example quite well in that I always download the smallest program first. Nothing makes me squirm more than seeing a program, such as an FTP program, with a download size of 8.1 MBs. With a size that big, I'll download the 433 KB ftp program first. > 2) If the system is embedded it makes more sense, and then I'm asking > about why we can't get the compiler to strip out unneeded code > resources for unused commands from the compiled app, too. I have an enhancement request on BugZilla for this. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From ambassador at fourthworld.com Tue Apr 12 22:16:22 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 19:16:22 -0700 Subject: Creating & Using Tabs tutorial In-Reply-To: References: Message-ID: <425C80F6.4000903@fourthworld.com> Judy Perry wrote: > On Tue, 12 Apr 2005, Richard Gaskin wrote: > >> I prefer to believe it's merely in spring break. But as they >> say, the proof is in the pudding: Monte arranged a task which >> would let the group have strong influence on the design of a >> new TOC, but so far the rubber has yet to meet the road.... > > That's interesting, Richard. I had the rather vague understanding > that you had spoken to Kevin and that he agreed to listen to > whatever we had to say on the issue, but nothing as specific as a > TOC. If I had understood, I'd be that group's equivalent of an > electric cattle prod ;-) See Monte's post from 10 Feb: That was about the Getting Started section, and the TOC was to follow that. But as I mentioned in my note I just posted there, the discussion following his posted covered a lot of ground but little of it related to the opportunity at hand, so it went away. I believe the Getting Started stuff is done, and I don't know the current status of the TOC revision. So yes: Kevin and I have talked about the RevDocs group, and given its charter of being a working group of experienced documentation professionals he was quite eager to see what recommendations we'd come up with. But then I took it one step further when Monte mentioned to me that he was working on a Getting Started section and would consider a TOC overhaul, I went out on a limb and suggested he solicit feedback from the RevDocs crew. It turned out to be a slender limb. ;) The RevDocs list was started in July 2004, and at that time with v2.5 so close it seemed prudent to wait until that version was released until we made recommendations about the docs. v2.5 was released many months ago, but still no recommendations have been drafted. If there remains an interest in influencing the evolution of the Revolution docs, please bring your suggestions to the table: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Tue Apr 12 22:20:20 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 19:20:20 -0700 Subject: Newbe Questions: Revolution vs. Dreamcard, Differences? In-Reply-To: References: Message-ID: <425C81E4.4040804@fourthworld.com> Typing80wpm at aol.com wrote: > What can Revolution do that Dreamcard cant do. Primarily, build standalones. There's a comparison chart at: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From see3d at writeme.com Tue Apr 12 22:20:46 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 12 Apr 2005 22:20:46 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> Message-ID: <83af55471f384fb607f60ab71f79423a@writeme.com> Thanks Brian, I don't require random access to the data. I only need sequential access. That is why the repeat for each operator works so fast --less than a microsecond per data item. I'm not going to match that with anything other than RAM. Dennis On Apr 12, 2005, at 10:06 PM, Brian Yennie wrote: > Dennis, > > I have to agree with Pierre here. If you are looking for random access > to many thousands of records taking up gigabytes of memory, a database > engine is, IMO, the only logical choice. > > A simple MySQL/PostgreSQL/Valentina/etc database indexed by line > number (or stock symbol) would be very fast. > > Without indexing your data or fitting all of it into random-access > in-memory data structures, you're fighting a painful battle. If you > algorithm is scaling out linearly, you'll just run too slow, and if > your data size is doing the same you'll run out of memory. On the > other hand, database engines can potentially handle _terabytes_ of > data and give you random access in milliseconds. You simply won't beat > that in Transcript. > > One thing you could consider if you don't want a whole database engine > to deal with, is the feasibility of indexing the data yourself - which > will give you some of the algorithmic benefits of a database engine. > That is, make one pass where you store the offsets of each line in an > index, and then use that to grab lines. Something like (untested): > > ## index the line starts and ends > put 1 into lineNumber > put 1 into charNum > put 1 into lineStarts[1] > repeat for each char c in tData > if (c = return) then > put (charNum - 1) into lineEnds[lineNumber] > put (charNum + 1) into lineStarts[lineNumber + 1] > add 1 to lineNumber > end if > add 1 to charNum > end repeat > if (c <> return) then put charNum into lineEnds[lineNumber] > > ## get line x via random char access > put char lineStarts[x] to lineEnds[x] of tData into lineX > > - Brian > >> Thanks Pierre, >> >> I considered that also. A Database application would certainly >> handle the amount of data, but they are really meant for finding and >> sorting various fields, not for doing the kind of processing I am >> doing. The disk accessing would slow down the process. >> >> Dennis >> >> On Apr 12, 2005, at 5:27 PM, Pierre Sahores wrote: >> From jhurley at infostations.com Tue Apr 12 22:26:33 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 12 Apr 2005 19:26:33 -0700 Subject: There's got to be a better way In-Reply-To: <20050413022509.B51CF9300DC@mail.runrev.com> References: <20050413022509.B51CF9300DC@mail.runrev.com> Message-ID: > >Message: 1 >Date: Tue, 12 Apr 2005 17:38:22 -0700 >From: Richard Gaskin >(snip) >Here's a tip to get even better performance (sometimes as much as two or >three times more): use a field in an unopened window for the translation. > >When a field is on the current card, even if hidden, it's initialized >with additional things that don't come into play when accessing a field >on an unopened card. > >In all versions of WebMerge through v2.3 I had been using a hidden field >on the main card for the translation. But after I learned this trick >from Tuviah in v2.4 I now do that translation in an unopened substack, >and even thought my customers had long raved about WebMerge's >performance I was able to give them a 100% performance boost in one step. :) > That's the tip I was trying to remember! Thanks, Richard. From see3d at writeme.com Tue Apr 12 22:36:03 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 12 Apr 2005 22:36:03 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <425C6FF1.3070508@tweedly.net> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <425C6FF1.3070508@tweedly.net> Message-ID: <27b9069ef659c9b2cfd03bccfaad9825@writeme.com> Thanks Alex, This is quite an imaginative suggestion. It would work great if I just had two lists, but I have two arrays 10,000 lines with 2500 items in each line. It would be a lot more complex to combine them into a single array (I need to pair the items together). But it could be done with a lot more shuffling. Your timings point out the main problem with the chunk counting method used in Rev for large arrays --that the time it takes to find a line is proportional to the character size of the array up to that line, so access to higher line numbers takes longer than lower line numbers. It takes twice as long to find line 2 as line 1, and twice as long to find line 4 as line 2 etc. It becomes an exponential instead of a linear function. I just tried some tests and found what it takes to do 10 million operations in a optimal repeat loop, data value=1: 75 sec create and store a value in an array[i] 35 sec read indexed value from an array[i] 6 sec read "each" element from an array 11 sec build a line delimited array 7 sec read "each" line from the line delimited array >5000 sec read line i from the line delimited array --got tired of waiting line delimited arrays are better for reading and saving in files because it is a one step fast operation. Indexed arrays require unpacking and repacking into a format for saving --more code and more time, but not out of the question. I will study your suggestion and try some different things. Thanks, Dennis On Apr 12, 2005, at 9:03 PM, Alex Tweedly wrote: > In the meantime, here is a possible workaround for you. > > I wrote most of this email, and decided it looked so outlandish you > wouldn't believe it (and no-one else would either). So I had to tidy > up the code and verify the timings. First the timing result - then > the suggestion > > Basic test case: fill two variables each with N random numbers (one > per line), produce as a result the summed list > (though the actual operation could be anything). > > N 1000 2000 5000 10,000 20,000 50,000 > Simple method 9 37 188 696 3343 17831 > Suggestion 14 31 78 159 320 814 > > As you can see, for small sizes, the overhead is makes this take > (marginally) longer, but for large cases (where it matters) the better > scaling makes it much better. > > Simple method : > look through one list, using the corresponding "line y" from the other > > put empty into tResult > put the millisecs into t1 > put 1 into y > repeat for each line XL in Xlist > put XL + line y of Ylist & cr after tResult > add 1 to y > end repeat > put the number of lines in tResult && line 1 of tResult && the last > line of tResult && the millisecs-t1 & cr after field "Field" > > Suggestion: > create a combined list, prefixing each line from list 1 with > 1,3,5,7,... and each line from list 2 with 2,4,6,8,... > sort (numeric) this combined list > process the combined list, alternately storing and adding > (note this generalizes to quite easily to handle more than two > lists, and extracting the data at each turn) > > put empty into tResult > put empty into tInter > put the millisecs into t1 > put 1 into y > repeat for each line XL in Xlist > put y, XL & cr after tInter > add 2 to y > end repeat > put 2 into y > repeat for each line YL in Ylist > put y, YL & cr after tInter > add 2 to y > end repeat > sort tInter numeric > put 1 into y > repeat for each line L in tInter > switch y > case 1 > put item 2 of L into t > put 2 into y > break > case 2 > put (item 2 of L)+t & cr after tResult > put 1 into y > end switch > end repeat > put the number of lines in tResult && line 1 of tResult && the last > line of tResult && the millisecs-t1 & cr after field "Field" > > caveat: this suggestion manipulates the data more, so it might not be > so effective if the lines in question were longer than this test case > - but a quick test (put random(C) && "xxxxxxxxxxxxxxxxxxxxxxx" into > each line) suggests it won't be too bad. > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Apr 12 22:39:31 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 19:39:31 -0700 Subject: Replacing Answer/Ask In-Reply-To: <425C797F.4030406@dreamscapesoftware.com> References: <425BDC52.1080703@dreamscapesoftware.com> <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> <425C538F.1090805@dreamscapesoftware.com> <7d310cc156a6d912ba644cb76cf6c2b8@fjrhome.net> <9b408d8e05041217364ca8d036@mail.gmail.com> <425C797F.4030406@dreamscapesoftware.com> Message-ID: <425C8663.2080805@fourthworld.com> Derek Bump wrote: > The reason I care so much about reducing file size is because file size > can have a lot to do when determining if a program will sink or swim. > > Example: My program, when compressed, comes out to about 1.38 MBs. In > today's age that file size is OK, but a lot of people still think in > terms of life on the internet before broadband. Those terms were, if > it's smaller, they'll download it first. > > I know that example quite well in that I always download the smallest > program first. Nothing makes me squirm more than seeing a program, such > as an FTP program, with a download size of 8.1 MBs. With a size that > big, I'll download the 433 KB ftp program first. I agree that smaller files can make for a more attractive download, and I do feel it's important to keep an eye on the size of the engine for that reason. But on balance I believe a 2MB engine is generally acceptable for all but the most trivial of apps whose functionality wouldn't warrant much in the way of payment anyway. Many of my commercial apps are less than 1MB in stack file size; with the engine they approach 3MB. Compared to the simplest of utilities that may be big -- or is it? Check out this random sampling of popular OS X apps (these are .app sizes only, not counting any additonal examples, etc.): Tex-Edit Plus: 5.6MB Freeway LE: 8.8MB Interarchy: 9.8MB Apple iChat: 10.5MB LimeWire: 13.2MB Apple DVD Player: 13.2MB Fax STF: 14.1MB FireFox: 25.2MB Apple iTunes: 29.8MB Thunderbird: 33.9MB AOL client: 46.5MB Acrobat Reader: 77.5MB And my personal favorite bloat example: Apple's OS X Calculator: 3.1MB (the OS 9 version was <8k) So much for the "efficiency" of the "shared" Cocoa framework, eh? :) This is not to suggest that anything less than 77.5MB is cool. But it does show that where the application's functionality rewards the downloader, the download will happen. Compared to these "modern" Cocoa-based apps, the Rev engine look very, very slender. Let's just hope it doesn't get much larger. Taking steps today to build toward a future of modular components will allow nearly infinite functionality to be addable at no cost to engine size (it may actually make for a smaller engine for some apps). -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mark at maseurope.net Tue Apr 12 23:20:43 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 13 Apr 2005 04:20:43 +0100 Subject: Making Revolution faster with really big arrays In-Reply-To: <20050412210323.D891A93013E@mail.runrev.com> References: <20050412210323.D891A93013E@mail.runrev.com> Message-ID: Dennis, this may not be directly relevant, but I've made a backtesting app for futures which works reasonably quickly. It uses daily data from 50 or so markets going back, in some cases, to the mid 70's. If you're dealing with intraday data and thousands of stocks then obviously that's many, many times as much data, and this will be as much use as a sponge leg in a downpour :) I tried quite a few approaches, and settled on putting each market history into it's own array element and then using revs line and item expressions to access the data itself. I also 'retire' data that isn't needed anymore, as it steps through, such that rev never has to count thousands of crs to get at a particular line. The app can now step through a twenty year, fifty market array in about 3 seconds. Sadly, the calculations and storage of running totals etc. slow it right down again, and a complete test may take up to twenty minutes....still better than the 2 to 3 hours I got on my first attempt. I am not a professional or trained programmer, so I can't say if I've found the optimal solution for this app, but I think it's as optimal as I'm likely to get it. What I found was that it seemed to be quite slow to populate a large and complex array from a file, but quite quick to populate a large and simple one. Likewise, slow to find a line or item thousands forward, but quick to to find them tens or hundreds forward. Probably trying to teach my granny to suck eggs, Mark From gwalias-rev at yahoo.com Tue Apr 12 23:53:35 2005 From: gwalias-rev at yahoo.com (Gordon Webster) Date: Tue, 12 Apr 2005 20:53:35 -0700 (PDT) Subject: Python and Rev Message-ID: <20050413035335.54308.qmail@web51106.mail.yahoo.com> And the proof Dan, that this advertising works ... this is exactly how I came across rev in the first place! Furthermore (irony of ironies) ... I was using Pythoncard heavily at the time and wondering if there were any other Python GUIs out there when I stumbled across this very same advertisement. When I logged on to the rev forum for the first time you can imagine my surprise at discovering that this new development platform also had its own Dan Shafer! It seems there's no escape, they have Dan Shafers everywhere ... Gordon Dan Shafer wrote: I typed "python GUI application" into a search engine (A9.com, which uses google) today while doing some research for a client. Guess what the first sponsored link that came up was? Build your own gui applications, interfaces & more. Free trial! dreamcard.runrev.com :::::::::: Gordon Webster :::::::::: From kgjaqua1 at sbcglobal.net Wed Apr 13 00:30:59 2005 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Tue, 12 Apr 2005 21:30:59 -0700 (PDT) Subject: custom prop by 1's? Message-ID: <20050413043059.62921.qmail@web81103.mail.yahoo.com> OK "1" more time, Maybe this time I will get it. I set a customProp in my stack called cEnterToDoProp This is the number of time the Stack is opened. (Like how hard is this?:) in a preOpenStack: get the cEnterToDoProp of this stack put it into tCount add 1 to tCount set the cEnterToDoProp of this stack to tCount This adds 2 not 1 to my total. How do I add 1 to my total =cEnterToDoProp. Thanks Kathy Graves Jaqua A Wildest Dream Software kgjaqua1 at sbcglobal.net From ambassador at fourthworld.com Wed Apr 13 00:40:48 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2005 21:40:48 -0700 Subject: custom prop by 1's? In-Reply-To: <20050413043059.62921.qmail@web81103.mail.yahoo.com> References: <20050413043059.62921.qmail@web81103.mail.yahoo.com> Message-ID: <425CA2D0.60506@fourthworld.com> Kathy Jaqua wrote: > OK "1" more time, Maybe this time I will get it. > > I set a customProp in my stack called cEnterToDoProp > This is the number of time the Stack is opened. (Like > how hard is this?:) > > in a preOpenStack: > > get the cEnterToDoProp of this stack > put it into tCount > add 1 to tCount > set the cEnterToDoProp of this stack to tCount > > This adds 2 not 1 to my total. > > How do I add 1 to my total =cEnterToDoProp. It works on mouseUp in a button, so my guess is that something is sending a second preOpenStack handler. You could test that theory by adding this to the beginning of the preOpenStack handler: answer the executionContexts If you see the answer box a second time you know you've found a problem, and the executionContexts will tell you where the message came from. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From revdan at danshafer.com Wed Apr 13 01:02:54 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 12 Apr 2005 22:02:54 -0700 Subject: Python and Rev In-Reply-To: <20050413035335.54308.qmail@web51106.mail.yahoo.com> References: <20050413035335.54308.qmail@web51106.mail.yahoo.com> Message-ID: <488dc1864338a9f8bf96d560d8d9e2dd@danshafer.com> How's it feel to be surrounded by one guy? :-D Dan (Interestingly enough, I've been back researching PythonCard again for a client who wants an OO solution in an app that has fairly minimal UI requirements and doesn't want to buy into the overhead of Java. What goes around....) On Apr 12, 2005, at 8:53 PM, Gordon Webster wrote: > It seems there's no escape, they have Dan Shafers > everywhere ... From revdan at danshafer.com Wed Apr 13 01:13:10 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 12 Apr 2005 22:13:10 -0700 Subject: New Guide to the IDE in Process In-Reply-To: References: Message-ID: <32882d088bd7003395799e766f06dae4@danshafer.com> I talked tonight with Jan Schenkel, the developer of Quartam Reports. He tells me development is definitely proceeding apace. Look for him to have something to say on this subject in the next couple of days. On Apr 12, 2005, at 11:02 AM, Bill wrote: > Quartam reports may never be released > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Wed Apr 13 01:14:46 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 12 Apr 2005 22:14:46 -0700 Subject: custom prop by 1's? In-Reply-To: <425CA2D0.60506@fourthworld.com> References: <20050413043059.62921.qmail@web81103.mail.yahoo.com> <425CA2D0.60506@fourthworld.com> Message-ID: <85babf9ae1d69d5dd37a50d323542e92@danshafer.com> Great debugging tip, Richard. > It works on mouseUp in a button, so my guess is that something is > sending a second preOpenStack handler. > > You could test that theory by adding this to the beginning of the > preOpenStack handler: > > answer the executionContexts > > If you see the answer box a second time you know you've found a > problem, and the executionContexts will tell you where the message > came from. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From kgjaqua1 at sbcglobal.net Wed Apr 13 01:23:35 2005 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Tue, 12 Apr 2005 22:23:35 -0700 (PDT) Subject: custom prop by 1's? Message-ID: <20050413052335.13744.qmail@web81107.mail.yahoo.com> Thank's Richard, OK I found it. I might also mention that the resulting Answer Box contents was as long as I have ever seen. Oh my... Kathy Graves Jaqua Kgjaqua1 at sbcglobal.net From klaus at major-k.de Wed Apr 13 03:47:06 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 13 Apr 2005 09:47:06 +0200 Subject: OT: Rev & Tiger In-Reply-To: <9b42bdee8fe91c1d75cd43529655e7f6@genesearch.com.au> References: <5baa1649d79945ce1e4ee9d816ec0d4f@major-k.de> <9b42bdee8fe91c1d75cd43529655e7f6@genesearch.com.au> Message-ID: Hi Sarah, > Yes, I tried Rev on one of the early Tiger builds and it worked > perfectly :-) Thanks for this info! Not that i was surprised :-) > Sarah Regards Klaus Major klaus at major-k.de http://www.major-k.de From chrono_wind at yahoo.com Tue Apr 12 05:09:04 2005 From: chrono_wind at yahoo.com (Chrono Wind) Date: Tue, 12 Apr 2005 02:09:04 -0700 (PDT) Subject: Unicode Message-ID: <20050412090905.13031.qmail@web42109.mail.yahoo.com> i got problem with Unicode __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From klaus at major-k.de Wed Apr 13 05:17:28 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 13 Apr 2005 11:17:28 +0200 Subject: Unicode In-Reply-To: <20050412090905.13031.qmail@web42109.mail.yahoo.com> References: <20050412090905.13031.qmail@web42109.mail.yahoo.com> Message-ID: Hi Chrono Wind, > Am 12.04.2005 um 11:09 schrieb Chrono Wind: > i got problem with Unicode we might be able to help... :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From dick.kriesel at mail.com Wed Apr 13 05:41:37 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 13 Apr 2005 02:41:37 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <27b9069ef659c9b2cfd03bccfaad9825@writeme.com> Message-ID: On 4/12/05 7:36 PM, "Dennis Brown" wrote: > ...I have two arrays 10,000 lines with 2500 items in each line... > ...I need to pair the items together... Do you have something like closing prices in one container and shares traded in another container, each for the same 10,000 securities over the same 2,500 trading days? If so, do you want to calculate something like trading volume as price * shares? If so, then here's a way to bring together the values from one such list with the values from another, without waiting for any chunk expressions. On my machine, generating a 10,000 line by 2,500 item list of integers to prepare for the test took about three minutes. Then bringing together all the pairs of lines from two lists, as you indicated in your initial email, took about 1.2 seconds. So you could do many passes through your big lists before the day is done, and not need to wait for an extension to the language. To try it, paste the following into the script of a new stack. If I've misunderstood or done something wrong, please let me know. -- Dick --------------------- global gList on mouseUp if gList is empty then initialize combinePairsOfLines gList,gList end mouseUp on initialize put 10000 into tLineCount put 2500 into tItemCount put tLineCount && tItemCount & cr put the seconds into tSeconds repeat with i = 1 to tLineCount repeat with j = 1 to tItemCount put i + j & comma after tList end repeat put return after tList if i mod 1000 = 0 then put "line count so far:" && i & cr after msg end repeat put tList into gList -- save for reuse across edit-test cycles put "elapsed seconds to initialize:" && \ the seconds - tSeconds & cr after msg end initialize on combinePairsOfLines pList1,pList2 put the long seconds into tSeconds split pList2 using return put 0 into i repeat for each line tLineFromList1 in pList1 add 1 to i put tLineFromList1 & pList2[i] into tCombinedLine -- doSomethingWithCombinedLine tCombinedLine end repeat put "elapsed seconds to combine pairs:" && \ the long seconds - tSeconds & cr after msg end combinePairsOfLines From matt.denton at limelight.com.au Wed Apr 13 06:14:34 2005 From: matt.denton at limelight.com.au (Matt Denton) Date: Wed, 13 Apr 2005 20:14:34 +1000 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <20050413022510.F25059300EA@mail.runrev.com> References: <20050413022510.F25059300EA@mail.runrev.com> Message-ID: <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> G'day all Regular Expression syntax in ReplaceText is driving me a bit loopy right now, I was hoping someone out there could work out what I'm doing wrong... I want a single RegEx expression using ReplaceText to strip out leading and tailing spaces, leaving any spaces in the middle untouched. I've got it working in 2 lines of code, but I'm SURE I can do it in one. (I've spent an hour trying to reduce this to one line... I know, why not go for a swim or something more constructive with my time...) This works: put replaceText(tSomeText, "^ +",empty) into tFirstPass put replaceText(tFirstPass, " +$",empty) into tSecondPass But when I try and combine: put replaceText(tSomeText, "^ ?| +$",empty) into tOnePass I can't get it to work!! I've tried many variations and the logic SEEMS to be right... obviously not. Anyone? I'll award the winner with a jar of Vegemite from Australia. Cheers M@ Matt Denton From dburgun at dsl.pipex.com Wed Apr 13 06:19:28 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 11:19:28 +0100 Subject: Copy Command Question In-Reply-To: <32882d088bd7003395799e766f06dae4@danshafer.com> References: <32882d088bd7003395799e766f06dae4@danshafer.com> Message-ID: Hi All, I am confused about the copy command, is there any way to copy an object onto the current card and rename it at the same time? I am using the following code snippet to create a new rectangle with a given name: copy graphic "TemplateRect" to this card -- TemplateRect is precreated put the ID of the last graphic into myGraphicID put "G-" & myGraphicID into myGraphicName set the name of graphic ID myGraphicID to myGraphicName Is there no way to do something like this the following? copy graphic "TemplateRect" to this card with name "xxxx" I can't seem to find the correct syntax! Thanks a lot Dave From eric.chatonet at sosmartsoftware.com Wed Apr 13 06:27:45 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Apr 2005 12:27:45 +0200 Subject: Copy Command Question In-Reply-To: References: <32882d088bd7003395799e766f06dae4@danshafer.com> Message-ID: Hi David, In one line, I am afraid not :-) But in two lines: copy grc "TemplateRect" to this card set the name of last grc to "G-" & the ID of last grc Best regards, Le 13 avr. 05, ? 12:19, David Burgun a ?crit : > copy graphic "TemplateRect" to this card -- TemplateRect is precreated > put the ID of the last graphic into myGraphicID > put "G-" & myGraphicID into myGraphicName > set the name of graphic ID myGraphicID to myGraphicName > > Is there no way to do something like this the following? > > copy graphic "TemplateRect" to this card with name "xxxx" Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From david at dvglasgow.wanadoo.co.uk Wed Apr 13 06:35:43 2005 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Wed, 13 Apr 2005 11:35:43 +0100 Subject: Physiological data acquisition via USB In-Reply-To: <20050412145633.00D669300F3@mail.runrev.com> References: <20050412145633.00D669300F3@mail.runrev.com> Message-ID: <04a766b3b550c6c534e5293cfa707b10@dvglasgow.wanadoo.co.uk> On 12 Apr 2005, at 3:56 pm, Bill Vlahos wrote: > Would this product do what you want? > http://www.bkohg.com/service_e.html > What an amazing thing! I used to have fischertechnik? when I was a kid! I might just get it because it looks such fun. However, you can't go connecting people to any old acquisition device. They must be isolated from any power supply - which I suspect is the 'light stone' referred to in the hippy game 'magic ring' device. Thomas McGrath III Teleo link looks very interestinmg. I'll take a close look at that Best Wishes, David Glasgow http://www.i-psych.co.uk From dburgun at dsl.pipex.com Wed Apr 13 06:36:48 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 11:36:48 +0100 Subject: Copy Command Question In-Reply-To: References: <32882d088bd7003395799e766f06dae4@danshafer.com> Message-ID: >Hi David, > >In one line, I am afraid not :-) >But in two lines: > >copy grc "TemplateRect" to this card >set the name of last grc to "G-" & the ID of last grc > >Best regards, Hi, Ok, seems strange that you can't do it as one command. Thanks! Dave >Le 13 avr. 05, ? 12:19, David Burgun a ?crit : > >>copy graphic "TemplateRect" to this card -- TemplateRect is precreated >>put the ID of the last graphic into myGraphicID >>put "G-" & myGraphicID into myGraphicName >>set the name of graphic ID myGraphicID to myGraphicName >> >>Is there no way to do something like this the following? >> >>copy graphic "TemplateRect" to this card with name "xxxx" > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From wouter.abraham at scarlet.be Wed Apr 13 06:49:56 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Wed, 13 Apr 2005 12:49:56 +0200 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> References: <20050413022510.F25059300EA@mail.runrev.com> <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> Message-ID: And what about a one line non regex solution like: put word 1 to -1 of x into x? (I know, not as elegant and impressive as a true regex ;-) Gr W. On 13 Apr 2005, at 12:14, Matt Denton wrote: > G'day all > > Regular Expression syntax in ReplaceText is driving me a bit loopy > right now, I was hoping someone out there could work out what I'm > doing wrong... > > I want a single RegEx expression using ReplaceText to strip out > leading and tailing spaces, leaving any spaces in the middle > untouched. > > I've got it working in 2 lines of code, but I'm SURE I can do it in > one. (I've spent an hour trying to reduce this to one line... I know, > why not go for a swim or something more constructive with my time...) > > This works: > > put replaceText(tSomeText, "^ +",empty) into tFirstPass > put replaceText(tFirstPass, " +$",empty) into tSecondPass > > But when I try and combine: > > put replaceText(tSomeText, "^ ?| +$",empty) into tOnePass > > I can't get it to work!! I've tried many variations and the logic > SEEMS to be right... obviously not. > > Anyone? I'll award the winner with a jar of Vegemite from Australia. > > Cheers > > M@ > Matt Denton > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chris at carroll-davis.co.uk Wed Apr 13 07:01:45 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Wed, 13 Apr 2005 12:01:45 +0100 Subject: export jpeg frustration Message-ID: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> Hello folks. Can anyone shed any light on this? I'm having problems with the export syntax. I am trying to export an area of a window... The snippet below works fine, happily creating a jpeg in the default folder, but using screen coords (which I don't want) put the ticks & "temp.jpg" into tFile put the rect of graphic "PFrame" into pRect put the id of this wd into WinId put prect && winId && defaultfolder && tFile export snapshot from rect pRect to file tFile as JPEG But if (as below) I add the window parameter to use window-relative coords, it doesn't work. Instead, I get the error: "export: no image selected, or image not open". It's as if it is suddenly ignoring the "snapshot" form of export. put the ticks & "temp.jpg" into tFile put the rect of graphic "PFrame" into pRect put the id of this wd into WinId put prect && winId && defaultfolder && tFile export snapshot from rect pRect of window WinId to file tFile as JPEG BTW, in my case, the message box returns: 240,480,960,960 1076 /Volumes/Starfish Internal 250/Scripter/lessons 66803362548temp.jpg so the variables are evaluating ok I think. Help!!! Tearing my hair out (what's left of it) with this one. Chris From dburgun at dsl.pipex.com Wed Apr 13 07:07:47 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 12:07:47 +0100 Subject: mouseEnter/mouseLeave Problem In-Reply-To: References: <32882d088bd7003395799e766f06dae4@danshafer.com> Message-ID: Hi, I have a script on a graphic rectangle object that does the following: on mouseEnter set foregroundColor of me to blue pass mouseEnter end mouseEnter on mouseLeave set foregroundColor of me to black pass mouseLeave end mouseLeave on mouseDown set the layer of me to top end mouseDown on mouseStillDown -- Move the object via the mouse, sets a new rect for the object based on mouse movement end mouseStillDown This works fine most of the time, however if I have two rectangle that overlap each other on the display, then when I move the mouse from one to the other, the mouseLeave handler does not seem to get called ***IF* I have moused-down in one of these objects. For instance: Both rectangles are set to black I move the mouse into into Rectangle A which is in front of Rectangle B. Everything works ok. The rectangles change from black to blue as expected. However if I do this: Both rectangles are set to black Move into Rectangle A - Changes to Blue Move into Rectangle B - A changes to Black and B changes to Blue (but B says behind A) MouseDown in Rectangle B - B moves in in front of A MouseUp in Rectangle B - (mouseStillDown may have been called) (Now Rectangle B is in Front and set to Blue, rectangle A is black) Move into Rectangle A - B does NOT go to black, the mouseLeave handler is NOT called, A gets changed to Blue, so both are set to Blue!!! Any ideas why mouseLeave is not being called? Seems to be after a MouseDown/Up sequence? Thanks a lot Dave From eric.chatonet at sosmartsoftware.com Wed Apr 13 07:10:41 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Apr 2005 13:10:41 +0200 Subject: export jpeg frustration In-Reply-To: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> References: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> Message-ID: <9e5f9d87e5c44b9c44a657f766ca98ae@sosmartsoftware.com> Hi Chris, The export snapshot from rect of window windowID to file... does not appear very reliable. So convert the rect of your object to global coordinates and use export snapshot from rect to file... instead :-) function GlobalObjRect pRect return item 1 of pRect + the left of this stack,item 2 of pRect + the top of this stack,item 3 of pRect + the left of this stack,item 4 of pRect + the top of this stack end GlobalObjRect Best regards, Le 13 avr. 05, ? 13:01, Chris Carroll-Davis a ?crit : > Hello folks. > > Can anyone shed any light on this? I'm having problems with the > export syntax. I am trying to export an area of a window... > > The snippet below works fine, happily creating a jpeg in the default > folder, but using screen coords (which I don't want) > > put the ticks & "temp.jpg" into tFile > put the rect of graphic "PFrame" into pRect > put the id of this wd into WinId > > put prect && winId && defaultfolder && tFile > > export snapshot from rect pRect to file tFile as JPEG > > > > But if (as below) I add the window parameter to use window-relative > coords, it doesn't work. Instead, I get the error: "export: no image > selected, or image not open". It's as if it is suddenly ignoring the > "snapshot" form of export. > > put the ticks & "temp.jpg" into tFile > put the rect of graphic "PFrame" into pRect > put the id of this wd into WinId > put prect && winId && defaultfolder && tFile > export snapshot from rect pRect of window WinId to file tFile > as JPEG Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From klaus at major-k.de Wed Apr 13 07:13:18 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 13 Apr 2005 13:13:18 +0200 Subject: export jpeg frustration In-Reply-To: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> References: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> Message-ID: Hi Chris, actually the " export snapshot from rect pRect of window WinId ..." did never work for me :-( Don't know why... I use "globalloc" instead: ... put the ticks & "temp.jpg" into tFile put globalloc (the topleft of grc "PFFrame") into obenlinks ## german for topleft :-) put globalloc (the bottomright of grc "PFFrame") into untenrechts ## german for...you guess :-) export snapshot from rect (obenlinks,untenrechts) to file tFile as JPEG > Hello folks. > > Can anyone shed any light on this? I'm having problems with the > export syntax. I am trying to export an area of a window... > The snippet below works fine, happily creating a jpeg in the default > folder, but using screen coords (which I don't want) > put the ticks & "temp.jpg" into tFile > put the rect of graphic "PFrame" into pRect > put the id of this wd into WinId > put prect && winId && defaultfolder && tFile > export snapshot from rect pRect to file tFile as JPEG > But if (as below) I add the window parameter to use window-relative > coords, it doesn't work. Instead, I get the error: "export: no image > selected, or image not open". It's as if it is suddenly ignoring the > "snapshot" form of export. > > put the ticks & "temp.jpg" into tFile > put the rect of graphic "PFrame" into pRect > put the id of this wd into WinId > put prect && winId && defaultfolder && tFile > export snapshot from rect pRect of window WinId to file tFile > as JPEG > > BTW, in my case, the message box returns: > 240,480,960,960 1076 /Volumes/Starfish Internal 250/Scripter/lessons > 66803362548temp.jpg > so the variables are evaluating ok I think. > Help!!! > Tearing my hair out (what's left of it) with this one. > > Chris Regards Klaus Major klaus at major-k.de http://www.major-k.de From rev at armbase.com Wed Apr 13 07:14:37 2005 From: rev at armbase.com (rev at armbase.com) Date: Wed, 13 Apr 2005 12:14:37 +0100 Subject: Copy Command Question In-Reply-To: References: <32882d088bd7003395799e766f06dae4@danshafer.com> Message-ID: <1113390877.425cff1d550d6@webmail.armbase.com> Quoting David Burgun : > >Hi David, > > > >In one line, I am afraid not :-) > >But in two lines: > > > >copy grc "TemplateRect" to this card > >set the name of last grc to "G-" & the ID of last grc > > > >Best regards, > > Hi, > > Ok, seems strange that you can't do it as one command. > > Thanks! > Dave > > Hi Dave Have a look on revonline and go to my space (nijinsky). I should have something that will do the trick there, I only have 3-4 stacks on there ATM so have a look. sorry I can't give you the code just now direct, but I'm at work and don't have rev here. I have one stack that does this..... click a button to copy a field to another stack.... but before it is copied another interim stack pops up with dialogue boxes for name etc then when you press the accept button it copies your desired field and renames it etc etc. There is also one that allows you to move and resize a field after insertion without haveing runrev installed... hope that is clear, in a mad rush here as usual... :-) cheers bob From chris at carroll-davis.co.uk Wed Apr 13 07:16:29 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Wed, 13 Apr 2005 12:16:29 +0100 Subject: export jpeg frustration In-Reply-To: <9e5f9d87e5c44b9c44a657f766ca98ae@sosmartsoftware.com> References: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> <9e5f9d87e5c44b9c44a657f766ca98ae@sosmartsoftware.com> Message-ID: Eric - Thanks so much! I'm pleased I wasn't doing something daft. Your function does the trick beautifully. Regards, Chris On 13 Apr 2005, at 12:10, Eric Chatonet wrote: > Hi Chris, > > The export snapshot from rect of window windowID to file... does not > appear very reliable. > So convert the rect of your object to global coordinates and use > export snapshot from rect to file... instead :-) > > function GlobalObjRect pRect > return item 1 of pRect + the left of this stack,item 2 of pRect + > the top of this stack,item 3 of pRect + the left of this stack,item 4 > of pRect + the top of this stack > end GlobalObjRect > > Best regards, > > Le 13 avr. 05, ? 13:01, Chris Carroll-Davis a ?crit : > >> Hello folks. >> >> Can anyone shed any light on this? I'm having problems with the >> export syntax. I am trying to export an area of a window... >> >> The snippet below works fine, happily creating a jpeg in the default >> folder, but using screen coords (which I don't want) >> >> put the ticks & "temp.jpg" into tFile >> put the rect of graphic "PFrame" into pRect >> put the id of this wd into WinId >> >> put prect && winId && defaultfolder && tFile >> >> export snapshot from rect pRect to file tFile as JPEG >> >> >> >> But if (as below) I add the window parameter to use window-relative >> coords, it doesn't work. Instead, I get the error: "export: no >> image selected, or image not open". It's as if it is suddenly >> ignoring the "snapshot" form of export. >> >> put the ticks & "temp.jpg" into tFile >> put the rect of graphic "PFrame" into pRect >> put the id of this wd into WinId >> put prect && winId && defaultfolder && tFile >> export snapshot from rect pRect of window WinId to file tFile >> as JPEG > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Wed Apr 13 07:27:06 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Apr 2005 13:27:06 +0200 Subject: export jpeg frustration In-Reply-To: References: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> <9e5f9d87e5c44b9c44a657f766ca98ae@sosmartsoftware.com> Message-ID: <50ac36cc4a201526dfa150ca6c8f78a0@sosmartsoftware.com> Hi Chris, I think that Klaus formulation is better ;-) But using a function is a good choice: function GlobalObjRect pObj return globalLoc(the topLeft of pObj),globalLoc(the botRight of pObj) end GlobalObjRect put GlobalObjRect(the long ID of graphic "PFrame") into tRect -- ? export snapshot from rect tRect to file tFile as JPEG Le 13 avr. 05, ? 13:16, Chris Carroll-Davis a ?crit : > Eric - > > Thanks so much! I'm pleased I wasn't doing something daft. Your > function does the trick beautifully. > > Regards, > > Chris > > > On 13 Apr 2005, at 12:10, Eric Chatonet wrote: > >> Hi Chris, >> >> The export snapshot from rect of window windowID to file... does not >> appear very reliable. >> So convert the rect of your object to global coordinates and use >> export snapshot from rect to file... instead :-) >> >> function GlobalObjRect pRect >> return item 1 of pRect + the left of this stack,item 2 of pRect + >> the top of this stack,item 3 of pRect + the left of this stack,item 4 >> of pRect + the top of this stack >> end GlobalObjRect >> >> Best regards, >> >> Le 13 avr. 05, ? 13:01, Chris Carroll-Davis a ?crit : >> >>> Hello folks. >>> >>> Can anyone shed any light on this? I'm having problems with the >>> export syntax. I am trying to export an area of a window... >>> >>> The snippet below works fine, happily creating a jpeg in the default >>> folder, but using screen coords (which I don't want) >>> >>> put the ticks & "temp.jpg" into tFile >>> put the rect of graphic "PFrame" into pRect >>> put the id of this wd into WinId >>> >>> put prect && winId && defaultfolder && tFile >>> >>> export snapshot from rect pRect to file tFile as JPEG >>> >>> >>> >>> But if (as below) I add the window parameter to use window-relative >>> coords, it doesn't work. Instead, I get the error: "export: no >>> image selected, or image not open". It's as if it is suddenly >>> ignoring the "snapshot" form of export. >>> >>> put the ticks & "temp.jpg" into tFile >>> put the rect of graphic "PFrame" into pRect >>> put the id of this wd into WinId >>> put prect && winId && defaultfolder && tFile >>> export snapshot from rect pRect of window WinId to file tFile >>> as JPEG Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From klaus at major-k.de Wed Apr 13 07:30:37 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 13 Apr 2005 13:30:37 +0200 Subject: export jpeg frustration In-Reply-To: <50ac36cc4a201526dfa150ca6c8f78a0@sosmartsoftware.com> References: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> <9e5f9d87e5c44b9c44a657f766ca98ae@sosmartsoftware.com> <50ac36cc4a201526dfa150ca6c8f78a0@sosmartsoftware.com> Message-ID: <2685ed12ec406237a523cdc60d1b76bb@major-k.de> Bonjour Eric, > Hi Chris, > > I think that Klaus formulation is better ;-) merci beaucoup, mon ami, i was just about to fall into a deeeeep depression :-D > But using a function is a good choice: > > function GlobalObjRect pObj > return globalLoc(the topLeft of pObj),globalLoc(the botRight of pObj) > end GlobalObjRect > > put GlobalObjRect(the long ID of graphic "PFrame") into tRect -- ? > export snapshot from rect tRect to file tFile as JPEG > > Le 13 avr. 05, ? 13:16, Chris Carroll-Davis a ?crit : > >> Eric - >> >> Thanks so much! I'm pleased I wasn't doing something daft. Your >> function does the trick beautifully. >> >> Regards, >> >> Chris Regards Klaus Major klaus at major-k.de http://www.major-k.de From Typing80wpm at aol.com Wed Apr 13 07:35:20 2005 From: Typing80wpm at aol.com (Typing80wpm at aol.com) Date: Wed, 13 Apr 2005 07:35:20 EDT Subject: More New-be Curiousity Questions Message-ID: Thanks! That link on comparisons between Dreamcard and Revolution is just what I needed! _http://www.runrev.com/section/platform.php_ (http://www.runrev.com/section/platform.php) Questions: 1.) If I spend a year developing some great application in Dreamcard, then is moving it to Revolution simply a matter of purchasing Revolution (will the same source code produced run in either environment)? 2.) If I want to use MySQL, I am assuming that the MySQL in any of the several WAMP (WIndows Apache MySQL PhP) installs will do the trick, or is there a special MySQL install I should do? 3.) If I develop an application using MySQL, using commonly available SQL commands, and staying away from proprietary things, is it then much of a job to switch that application to Oracle as a back end? 4.) Does Revolution/Dreamcard give one a way to, lets say, present a dialogue similar to Explorer, choose a path, choose a file, and then open that WIndows file and read and write to it randomly, byte by byte? I have something in Liberty Basic which does that. Just curious if anyone in this list uses Liberty Basic or has any opinions pro or con? 5.) When I download a trial version of Dreamcard or Revolution, is it ok to download at work, where I have a fast T1, put it on a cd, and install and unlock at home (where I have slow dial-up) and then just enter the unlock key? 6.) Are there many or any people who develope applications in Dreamcard which access the .mdb Jet Engine database used by Access (just curious), or which access dbf files in a Visual Foxpro application? 7.) Are there any developers who left Visual Foxpro (lets say), or Visual Basic, and came to Revolution as a development tool, who share some of their experieces? 8.) When I finish developing an application, then is that entire application expressed solely in the form of script files, viewable in any editor, or are there some components of the application which are in some kind of object or format which is not editable. I realize that if one deploys/distributes applications, they are in some compiled or tokenized form so the code remains proprietary. That is not what I am asking. I am thinking that if the final application is defined by editable files of coding/script, then it is possible to write a program in some language to output that code, whereas if the final application has template files which are not plain ascii script, then it would not be easy to programatically output a script file. I am asking this question mainly out of curiosity, to get a feeling for what a finished application is like, in source form. 9.) Is there a data type which is fixed point penny accurate BCD type decimal arithematic, which would allow accurate calculations with money in a buisness application. Is there a floating point type of variable? 10.) I stumbled across Dreamcard/Revolution while I was searching for information on Python. I had downloaded a version of Python yesterday, and when I ran it, was somewhat startled to see a DOS type black window open up. Is Revolution related to Python in any way? Does Dreamcard/Revolution development happen right in Windows, just like, e.g. Visual Basic IDE, or does it take place in one of those black DOS Windows. 11.) When I purchase Dreamcard/Revolution, do I receive a box with CD,s and are the video training portions on a DVD, or VHS, or how does that work? Just curious. Thanks for your time! From alex at tweedly.net Wed Apr 13 08:35:57 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 13 Apr 2005 13:35:57 +0100 Subject: More New-be Curiousity Questions In-Reply-To: References: Message-ID: <425D122D.9090204@tweedly.net> Typing80wpm at aol.com wrote: >Thanks! That link on comparisons between Dreamcard and Revolution is just >what I needed! > > > >Questions: > > I can't properly answer any of the DB questions - but here are my opinions on the others. > >1.) If I spend a year developing some great application in Dreamcard, then >is moving it to Revolution simply a matter of purchasing Revolution (will the >same source code produced run in either environment)? > > Yes >4.) Does Revolution/Dreamcard give one a way to, lets say, present a >dialogue similar to Explorer, choose a path, choose a file, and then open that >WIndows file and read and write to it randomly, byte by byte? I have something >in Liberty Basic which does that. Just curious if anyone in this list uses >Liberty Basic or has any opinions pro or con? > > Yes it does. Here's a little script to totally mangle a JPEG file :-) answer file "What is file containing the photo ?" with "D:/Our Documents/Alex Photos/x.jpg" with filter "JPEGs,*.jpg" put it into theFileName open file theFileName for binary update read from file theFileName at 100 for 4 characters put it into myData write myData to file theFileName at 200 Sorry - never used Liberty Basic. > >5.) When I download a trial version of Dreamcard or Revolution, is it ok to >download at work, where I have a fast T1, put it on a cd, and install and >unlock at home (where I have slow dial-up) and then just enter the unlock key? > > > Yes. >8.) When I finish developing an application, then is that entire application >expressed solely in the form of script files, viewable in any editor, or are >there some components of the application which are in some kind of object or >format which is not editable. I realize that if one deploys/distributes >applications, they are in some compiled or tokenized form so the code remains >proprietary. That is not what I am asking. I am thinking that if the final >application is defined by editable files of coding/script, then it is possible to >write a program in some language to output that code, whereas if the final >application has template files which are not plain ascii script, then it would >not be easy to programatically output a script file. I am asking this >question mainly out of curiosity, to get a feeling for what a finished application >is like, in source form. > > No, it's not entirely text script files. It's a stack, which includes the scripts but also the graphical components. You could write a script to convert one of those to text, or to read a text file and re-construct a stack - but I find it hard to think what you would gain from it. > >9.) Is there a data type which is fixed point penny accurate BCD type >decimal arithematic, which would allow accurate calculations with money in a >buisness application. >Is there a floating point type of variable? > > There is no "currency" type. There is (effectively) a floating (double-prec) type, in that variable are typeless, and will behave like a double-prec floating value except when they appear like integers or strings. >10.) I stumbled across Dreamcard/Revolution while I was searching for >information on Python. I had downloaded a version of Python yesterday, and when I >ran it, was somewhat startled to see a DOS type black window open up. > Ahhh - you wanted Pythoncard, not basic Python. >Is Revolution related to Python in any way? > smart-ass answer: Yes, they're both equally good, but very different. real answer: No. >Does Dreamcard/Revolution development happen right in Windows, just like, e.g. Visual Basic IDE, or does it take place in one of those black DOS Windows. > > It's like VB, only even more integrated. The development environment IS the running application environment. Most of the time, this just feels like VB only smoother - occasionally it turns out to open up some really powerful possibilities. > >11.) When I purchase Dreamcard/Revolution, do I receive a box with CD,s >and are the video training portions on a DVD, or VHS, or how does that work? >Just curious. > > I purchased it on-line, and downloaded the program, docs, etc. Training videos are also on-line. There may be options to get physical CDs etc. (certainly are for paper docs), but I think the great majority of users got it on-line. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From chris at carroll-davis.co.uk Wed Apr 13 08:40:16 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Wed, 13 Apr 2005 13:40:16 +0100 Subject: export jpeg frustration In-Reply-To: <2685ed12ec406237a523cdc60d1b76bb@major-k.de> References: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> <9e5f9d87e5c44b9c44a657f766ca98ae@sosmartsoftware.com> <50ac36cc4a201526dfa150ca6c8f78a0@sosmartsoftware.com> <2685ed12ec406237a523cdc60d1b76bb@major-k.de> Message-ID: <777d1d3f0955a1dc42513274185c110d@carroll-davis.co.uk> Klaus - don't get depressed - I just used the first solution that came along! Thanks for your help. BOTH solutions work beautifully! I'll use yours next time, just to show how fair-minded I am... ;-) C On 13 Apr 2005, at 12:30, Klaus Major wrote: > Bonjour Eric, > >> Hi Chris, >> >> I think that Klaus formulation is better ;-) > > merci beaucoup, mon ami, i was just about to fall into a deeeeep > depression :-D > >> But using a function is a good choice: >> >> function GlobalObjRect pObj >> return globalLoc(the topLeft of pObj),globalLoc(the botRight of >> pObj) >> end GlobalObjRect >> >> put GlobalObjRect(the long ID of graphic "PFrame") into tRect -- ? >> export snapshot from rect tRect to file tFile as JPEG >> >> Le 13 avr. 05, ? 13:16, Chris Carroll-Davis a ?crit : >> >>> Eric - >>> >>> Thanks so much! I'm pleased I wasn't doing something daft. Your >>> function does the trick beautifully. >>> >>> Regards, >>> >>> Chris > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Wed Apr 13 08:43:30 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 13 Apr 2005 14:43:30 +0200 Subject: export jpeg frustration In-Reply-To: <777d1d3f0955a1dc42513274185c110d@carroll-davis.co.uk> References: <6158c6e2a319fb0f42ce70558a92d6cf@carroll-davis.co.uk> <9e5f9d87e5c44b9c44a657f766ca98ae@sosmartsoftware.com> <50ac36cc4a201526dfa150ca6c8f78a0@sosmartsoftware.com> <2685ed12ec406237a523cdc60d1b76bb@major-k.de> <777d1d3f0955a1dc42513274185c110d@carroll-davis.co.uk> Message-ID: <2ab8276c52200c555ccb1367e3bd77d0@major-k.de> Hi Chris, > Klaus - > > don't get depressed - I just used the first solution that came along! > Thanks for your help. > BOTH solutions work beautifully! I'll use yours next time, just to > show how fair-minded I am... ;-) you are a VERY nice guy, thank you :-) > C Regards Klaus Major klaus at major-k.de http://www.major-k.de From fde101 at fjrhome.net Wed Apr 13 08:54:21 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 13 Apr 2005 08:54:21 -0400 Subject: Replacing Answer/Ask In-Reply-To: <425C6C36.1040507@dreamscapesoftware.com> References: <425BDC52.1080703@dreamscapesoftware.com> <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> <425C538F.1090805@dreamscapesoftware.com> <7d310cc156a6d912ba644cb76cf6c2b8@fjrhome.net> <425C6C36.1040507@dreamscapesoftware.com> Message-ID: <01c04948c40aa1c80a7ea9ddfcacd237@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I agree. It's now bug 2779, if you are interested in voting for it. In thinking about it, I'm thinking of this with another benefit: not only does it reduce the on-disk size of the stack, but it should also reduce startup time for the standalone, since there will be less data to read in from disk. Nice. On Apr 12, 2005, at 8:47 PM, Derek Bump wrote: > Yes, in most cases, especially me, my projects have no need to analyze > it's own code, so removing the plaintext versions of that code from > the standalones would be a great way to reduce file size. > > I'd say it's definitely worth a request in BugZilla enhancement > request. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXRZ97aqtWrR9cZoRAltwAJwK3Q26rkjuWFanlWNgqiFpYgo/ZQCeLM/9 Zyj7XAFlI+R+8htGwrY5WW4= =irhN -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jhurley at infostations.com Wed Apr 13 08:55:39 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 13 Apr 2005 05:55:39 -0700 Subject: ANN Getting Nine digit zip codes In-Reply-To: <20050413104113.50D3A93007A@mail.runrev.com> References: <20050413104113.50D3A93007A@mail.runrev.com> Message-ID: This is not yet ready for prime time, but I would like to know how this works for those with broadband access to the Web. The program takes data from a DB and goes--one address at a time--to the US Post Office web site to get the extra 4 digit appendage to the zip code (necessary for bar code addresses.) What I would like to know is how fast this runs with broadband. To process 50 address takes me 109 seconds using 56K modem. Tolerable, since I only need to apply it once to my neighborhood DB of 400 addresses. Please, somebody, let me know how long this takes you with broadband. Thanks. To see the program, run this in the message box go url "http://home.infostations.net/jhurley/NineDigitZipCodes.rev" (DO NOT CLICK THIS LINK) Jim From rbarber at yhb.att.ne.jp Wed Apr 13 08:57:18 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Wed, 13 Apr 2005 07:57:18 -0500 Subject: There's got to be a better way In-Reply-To: <425C69FE.9090303@fourthworld.com> References: <20050412224043.766EA930148@mail.runrev.com> <425C69FE.9090303@fourthworld.com> Message-ID: <6bc69aab2b9b52c2c7e45639c683f5fe@yhb.att.ne.jp> Hi Richard, On Apr 12, 2005, at 7:38 PM, Richard Gaskin wrote: > Here's a tip to get even better performance (sometimes as much as two > or three times more): use a field in an unopened window for the > translation. > > When a field is on the current card, even if hidden, it's initialized > with additional things that don't come into play when accessing a > field on an unopened card. > > In all versions of WebMerge through v2.3 I had been using a hidden > field on the main card for the translation. But after I learned this > trick from Tuviah in v2.4 I now do that translation in an unopened > substack, I'm a little confused about the unopened part. Is the unopened card on the stack that you are working on but on "cd 2" or is the unopened cd on a separate stack altogether (a substack for example)? I thought that refering to a fld in an unopened stack would open that stack? thanks Ron From jhurley at infostations.com Wed Apr 13 09:04:49 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 13 Apr 2005 06:04:49 -0700 Subject: ANN Getting Nine digit zip codes Message-ID: I forgot to acknowledge help from Dave Cragg. The handler below is from Dave and is a wonderful tutorial for anyone interested in getting info from a web site with data to be filed in. Just run this on a card with one field and you will see the full 9 digit zip code for the address: 123 Broad St, 95959 on mouseUp put empty into field 1 put "Selection=" & 1 after tQuery put "&" after tQuery put "address1=" & urlEncode("123 BROAD ST") after tQuery put "&" after tQuery put "zipcode=" & 95959 after tQuery put "http://zip4.usps.com/zip4/zip4_responseA.jsp" into tUrl post tQuery to url tUrl if the result <> empty then answer the result else set the htmltext of field 1 to it end if end mouseUp From fde101 at fjrhome.net Wed Apr 13 09:04:03 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 13 Apr 2005 09:04:03 -0400 Subject: Newbe Questions: Revolution vs. Dreamcard, Differences? In-Reply-To: <425C81E4.4040804@fourthworld.com> References: <425C81E4.4040804@fourthworld.com> Message-ID: <1e87d45017697263df8e68df75e94c80@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Please note that when looking at that chart you may see that Oracle access is limited to Rev and not Dreamcard, but that any of the three versions provides access to other types of database servers, including MySql, PostgreSQL (which is my personal favorite), and others. On Apr 12, 2005, at 10:20 PM, Richard Gaskin wrote: > Typing80wpm at aol.com wrote: >> What can Revolution do that Dreamcard cant do. > > Primarily, build standalones. > > There's a comparison chart at: > > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXRjD7aqtWrR9cZoRArPJAJ9rDWNtL4t3fLUNOn/lWrFUuYPHzQCfcMdx ecOc17HKYSOA17LldUkmkIs= =Blos -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From chris at carroll-davis.co.uk Wed Apr 13 09:05:20 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Wed, 13 Apr 2005 14:05:20 +0100 Subject: ANN Getting Nine digit zip codes In-Reply-To: References: <20050413104113.50D3A93007A@mail.runrev.com> Message-ID: 29 seconds on my 2mb ADSL (UK) Chris On 13 Apr 2005, at 13:55, Jim Hurley wrote: > This is not yet ready for prime time, but I would like to know how > this works for those with broadband access to the Web. > > The program takes data from a DB and goes--one address at a time--to > the US Post Office web site to get the extra 4 digit appendage to the > zip code (necessary for bar code addresses.) > > What I would like to know is how fast this runs with broadband. To > process 50 address takes me 109 seconds using 56K modem. Tolerable, > since I only need to apply it once to my neighborhood DB of 400 > addresses. > > Please, somebody, let me know how long this takes you with broadband. > Thanks. > > To see the program, run this in the message box > > go url "http://home.infostations.net/jhurley/NineDigitZipCodes.rev" > (DO NOT CLICK THIS LINK) > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Wed Apr 13 09:08:14 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Apr 2005 15:08:14 +0200 Subject: ANN Getting Nine digit zip codes In-Reply-To: References: <20050413104113.50D3A93007A@mail.runrev.com> Message-ID: <99683ba0f97baa33965bf625d3355733@sosmartsoftware.com> Hi Jim, 2928.108?Kbps (366.014 Ko/sec) > 25 secondes. Best regards, Le 13 avr. 05, ? 14:55, Jim Hurley a ?crit : > This is not yet ready for prime time, but I would like to know how > this works for those with broadband access to the Web. > > The program takes data from a DB and goes--one address at a time--to > the US Post Office web site to get the extra 4 digit appendage to the > zip code (necessary for bar code addresses.) > > What I would like to know is how fast this runs with broadband. To > process 50 address takes me 109 seconds using 56K modem. Tolerable, > since I only need to apply it once to my neighborhood DB of 400 > addresses. > > Please, somebody, let me know how long this takes you with broadband. > Thanks. Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From fde101 at fjrhome.net Wed Apr 13 09:19:49 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 13 Apr 2005 09:19:49 -0400 Subject: Copy Command Question In-Reply-To: References: <32882d088bd7003395799e766f06dae4@danshafer.com> Message-ID: <855c30b3b0f6627eb07fb0f5fa6c4ff4@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you're using that particular action a lot, make a custom command, maybe this one (for example): on copyGraphic namedThis withThisName copy grc namedThis to this card set the name of last grc to withThisName end copyGraphic On Apr 13, 2005, at 6:36 AM, David Burgun wrote: >> Hi David, >> >> In one line, I am afraid not :-) >> But in two lines: >> >> copy grc "TemplateRect" to this card >> set the name of last grc to "G-" & the ID of last grc >> >> Best regards, > > Hi, > > Ok, seems strange that you can't do it as one command. > > Thanks! > Dave > > >> Le 13 avr. 05, ? 12:19, David Burgun a ?crit : >> >>> copy graphic "TemplateRect" to this card -- TemplateRect is >>> precreated >>> put the ID of the last graphic into myGraphicID >>> put "G-" & myGraphicID into myGraphicName >>> set the name of graphic ID myGraphicID to myGraphicName >>> >>> Is there no way to do something like this the following? >>> >>> copy graphic "TemplateRect" to this card with name "xxxx" >> >> Eric Chatonet. >> ---------------------------------------------------------------- >> So Smart Software >> For institutions, companies and associations >> Built-to-order applications: management, multimedia, internet, etc. >> Windows, Mac OS and Linux... With the French touch >> ---------------------------------------------------------------- >> Web site http://www.sosmartsoftware.com/ >> Email eric.chatonet at sosmartsoftware.com/ >> Phone 33 (0)1 43 31 77 62 >> Mobile 33 (0)6 20 74 50 86 >> ---------------------------------------------------------------- >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXRx17aqtWrR9cZoRAs/TAKCKT/qpArnpte6gnFLyzGvbEfiUxACgjYhf /s11mvtOLfH8PT4B80chcxE= =dMeJ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From bnz2 at cdc.gov Wed Apr 13 09:28:09 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 13 Apr 2005 09:28:09 -0400 Subject: mouseEnter/mouseLeave Problem Message-ID: <64878EF567131D4596246171F75FD4A9744591@m-epo-1.epo.cdc.gov> Could it have to do with the fact that mouseenter is not sent if the mouse button is already down when you enter an object? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David Burgun Sent: Wednesday, April 13, 2005 7:08 AM To: How to use Revolution Subject: mouseEnter/mouseLeave Problem Hi, I have a script on a graphic rectangle object that does the following: on mouseEnter set foregroundColor of me to blue pass mouseEnter end mouseEnter on mouseLeave set foregroundColor of me to black pass mouseLeave end mouseLeave on mouseDown set the layer of me to top end mouseDown on mouseStillDown -- Move the object via the mouse, sets a new rect for the object based on mouse movement end mouseStillDown This works fine most of the time, however if I have two rectangle that overlap each other on the display, then when I move the mouse from one to the other, the mouseLeave handler does not seem to get called ***IF* I have moused-down in one of these objects. For instance: Both rectangles are set to black I move the mouse into into Rectangle A which is in front of Rectangle B. Everything works ok. The rectangles change from black to blue as expected. However if I do this: Both rectangles are set to black Move into Rectangle A - Changes to Blue Move into Rectangle B - A changes to Black and B changes to Blue (but B says behind A) MouseDown in Rectangle B - B moves in in front of A MouseUp in Rectangle B - (mouseStillDown may have been called) (Now Rectangle B is in Front and set to Blue, rectangle A is black) Move into Rectangle A - B does NOT go to black, the mouseLeave handler is NOT called, A gets changed to Blue, so both are set to Blue!!! Any ideas why mouseLeave is not being called? Seems to be after a MouseDown/Up sequence? Thanks a lot Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Wed Apr 13 09:42:45 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 13 Apr 2005 15:42:45 +0200 Subject: mouseEnter/mouseLeave Problem In-Reply-To: <64878EF567131D4596246171F75FD4A9744591@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744591@m-epo-1.epo.cdc.gov> Message-ID: Hi Jonathan, > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David > Burgun > Sent: Wednesday, April 13, 2005 7:08 AM > To: How to use Revolution > Subject: mouseEnter/mouseLeave Problem > > Hi, > > I have a script on a graphic rectangle object that does the following: > > on mouseEnter > set foregroundColor of me to blue > pass mouseEnter > end mouseEnter > > on mouseLeave > ... > Any ideas why mouseLeave is not being called? Seems to be after a > MouseDown/Up sequence? wild and quick guess: Did you try a "mouserelease" handler with the same script as the "mouseleave"? > Thanks a lot > Dave Regards Klaus Major klaus at major-k.de http://www.major-k.de From dburgun at dsl.pipex.com Wed Apr 13 09:42:30 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 14:42:30 +0100 Subject: mouseEnter/mouseLeave Problem In-Reply-To: <64878EF567131D4596246171F75FD4A9744591@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744591@m-epo-1.epo.cdc.gov> Message-ID: I don't think so, cos it's mouseLeave that isn't being called. If both rectangles are black and I move the mouse back and forth between them, all works as it should. If I mouseDown in either of the rectangles and then move the mouse to the other recangle, the Rectangle moved to changes to blue BUT the rectangle that has just been left DOES NOT get the mouseLeave message. Once this has happened once, the behaviour goes back to normal again, e.g. the rectangles change color and you would expect again! This really seems to be to do with interaction between mouseUp and/or mouseDown and maybe mouseStillDown. If anyone could shed some light on this I would be really gratefull I just can't seem to work out why this doesn't work???!!! Thanks in advance for any help Dave >Could it have to do with the fact that mouseenter is not sent if the >mouse button is already down when you enter an object? > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David >Burgun >Sent: Wednesday, April 13, 2005 7:08 AM >To: How to use Revolution >Subject: mouseEnter/mouseLeave Problem > >Hi, > >I have a script on a graphic rectangle object that does the following: > >on mouseEnter >set foregroundColor of me to blue >pass mouseEnter >end mouseEnter > >on mouseLeave >set foregroundColor of me to black >pass mouseLeave >end mouseLeave > >on mouseDown >set the layer of me to top >end mouseDown > >on mouseStillDown >-- Move the object via the mouse, sets a new rect for the object >based on mouse movement >end mouseStillDown > >This works fine most of the time, however if I have two rectangle >that overlap each other on the display, then when I move the mouse >from one to the other, the mouseLeave handler does not seem to get >called ***IF* I have moused-down in one of these objects. For >instance: > >Both rectangles are set to black >I move the mouse into into Rectangle A which is in front of Rectangle >B. Everything works ok. The rectangles change from black to blue as >expected. However if I do this: > >Both rectangles are set to black >Move into Rectangle A - Changes to Blue >Move into Rectangle B - A changes to Black and B changes to Blue (but >B says behind A) >MouseDown in Rectangle B - B moves in in front of A >MouseUp in Rectangle B - (mouseStillDown may have been called) >(Now Rectangle B is in Front and set to Blue, rectangle A is black) >Move into Rectangle A - B does NOT go to black, the mouseLeave >handler is NOT called, A gets changed to Blue, so both are set to >Blue!!! > >Any ideas why mouseLeave is not being called? Seems to be after a >MouseDown/Up sequence? > >Thanks a lot >Dave > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From fde101 at fjrhome.net Wed Apr 13 09:48:31 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 13 Apr 2005 09:48:31 -0400 Subject: More New-be Curiousity Questions In-Reply-To: References: Message-ID: <2209796ed34210ff1ad2252352405b48@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 13, 2005, at 7:35 AM, Typing80wpm at aol.com wrote: > Thanks! That link on comparisons between Dreamcard and Revolution is > just > what I needed! > _http://www.runrev.com/section/platform.php_ > (http://www.runrev.com/section/platform.php) > > Questions: > > 1.) If I spend a year developing some great application in Dreamcard, > then > is moving it to Revolution simply a matter of purchasing Revolution > (will the > same source code produced run in either environment)? Yes. Rev and Dreamcard use the same basic engine for running scripts, so they should function identically in nearly all cases. > 2.) If I want to use MySQL, I am assuming that the MySQL in any of the > several WAMP (WIndows Apache MySQL PhP) installs will do the trick, or > is there a > special MySQL install I should do? Any standard MySQL server should work fine, but you might want to consider PostgreSQL instead if you are thinking of going to Oracle. MySQL is *not* a true SQL database server and there are a substantial number of features of SQL which both PostgreSQL and Oracle implement, but which MySQL does not. Take views for example. Supposedly they will be added to an upcoming version of MySQL, but PostgreSQL and Oracle have had them for years. MySQL is not fully ACID compilant either (at least it wasn't last I checked), but PostgreSQL is, meaning your data is safer in the event of a power failure, and concurrency is managed somewhat better. Additionally, MySQL is *not* free for commercial distribution, but PostgreSQL is. PostgreSQL is available under a much more liberal open source license. > 3.) If I develop an application using MySQL, using commonly available > SQL > commands, and staying away from proprietary things, is it then much of > a job to > switch that application to Oracle as a back end? As long as your SQL code is compatible with both MySQL (or PostgreSQL, or whatever you use at home) and Oracle, switching to Oracle is a matter of buying the needed version of Rev (one with Oracle support) and changing the code used to connect to the database (or some settings in the Query Builder, if you use it). The rest should just work. If any changes need to be made to the SQL code, that would be the only major difference you are likely to encounter. > 4.) Does Revolution/Dreamcard give one a way to, lets say, present a > dialogue similar to Explorer, choose a path, choose a file, and then > open that > WIndows file and read and write to it randomly, byte by byte? I have > something > in Liberty Basic which does that. Just curious if anyone in this list > uses > Liberty Basic or has any opinions pro or con? I don't use Liberty Basic, but I have used other forms of BASIC in the past. Rev allows you to develop many kinds of apps substantially faster than is possible in most other languages, but it will have a bit of a learning curve if you've never used an Xtalk before. As pointed out in another reply, it is possible to get random access to a file, but as long as the size of the file is not too large, it may be more efficient (and much easier) to read the entire file into memory, make your changes in memory, and write it back to the file. For (a rather pathetic) example: answer file "Select a file:" put URL ("binfile:" & it) into myBuffer put char 1 of myBuffer into char 12 of myBuffer if char 90 of myBuffer is not "Q" then put char 5 of myBuffer into char 53 of myBuffer put the number of chars in myBuffer into secretNumber add charToNum(char 774 of myBuffer) to secretNumber answer "The secret number is: " & secretNumber - -- whatever... ask file "Save changes to:" put myBuffer into URL ("binfile:" & it) > 5.) When I download a trial version of Dreamcard or Revolution, is it > ok to > download at work, where I have a fast T1, put it on a cd, and install > and > unlock at home (where I have slow dial-up) and then just enter the > unlock key? Yes > 8.) When I finish developing an application, then is that entire > application > expressed solely in the form of script files, viewable in any editor, > or are > there some components of the application which are in some kind of > object or > format which is not editable. I realize that if one > deploys/distributes > applications, they are in some compiled or tokenized form so the code > remains > proprietary. That is not what I am asking. I am thinking that if the > final > application is defined by editable files of coding/script, then it is > possible to > write a program in some language to output that code, whereas if the > final > application has template files which are not plain ascii script, then > it would > not be easy to programatically output a script file. I am asking this > question mainly out of curiosity, to get a feeling for what a > finished application > is like, in source form. Normally, the script code is readable in the stack file (or in the standalone file if using Rev Studio/Enterprise and building standalones), but it is possible to encrypt the file before distributing it. The encrypted version still works just fine, but the embedded script code is not readable as plain text, and your stack is a bit more protected. > 9.) Is there a data type which is fixed point penny accurate BCD type > decimal arithematic, which would allow accurate calculations with > money in a > buisness application. > Is there a floating point type of variable? All variables are strings. You use them as numbers by... well, using them as numbers! put 7 into q put "8" into z add z to q put q -- results in 15 Don't know about fixed-point, but floating-point math works fine. In the worst case, you could always strip off the decimal point and do the integer math, then add the decimal point back in: if char -2 of z is "." then put "0" after z else if char -1 of z is "." then put "00" after z else if "." is not in z then put ".00" after z else -- yes this could be done without the loop, but I'm in a hurry and can't think of the syntax right now ;-) repeat while char -3 of z is not "." delete char -1 of z end repeat end if delete char -3 of z -- this actually removes the decimal point - -- do the integer math put "." before char -2 of z -- add the decimal point back in > 10.) I stumbled across Dreamcard/Revolution while I was searching for > information on Python. I had downloaded a version of Python > yesterday, and when I > ran it, was somewhat startled to see a DOS type black window open up. > Is > Revolution related to Python in any way? Does Dreamcard/Revolution > development > happen right in Windows, just like, e.g. Visual Basic IDE, or does it > take > place in one of those black DOS Windows. Rev is fully GUI-based. No black DOS windows (unless you ask for one), and no Python. You actually drag your interface elements from a palette onto a stack window, then add script code via a script editor. > 11.) When I purchase Dreamcard/Revolution, do I receive a box with > CD,s > and are the video training portions on a DVD, or VHS, or how does > that work? > Just curious. You can download Dreamcard or Revolution from the web site, order the books if you want, and the video training stuff is done online through a custom "browser" type thing integrated into Rev/Dreamcard. There is also a boxed version, but add $15 to the price tag, plus shipping. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXSMw7aqtWrR9cZoRAqZgAJ9paxZuYhigcuIevllKuNQmSvZbngCfSdYZ nwEWRRNqgfktBGuRiXS8hJ4= =UyQ0 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From alex at tweedly.net Wed Apr 13 09:48:42 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 13 Apr 2005 14:48:42 +0100 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: References: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> Message-ID: <425D233A.3020307@tweedly.net> Robert Brenstein wrote: > Out of 996 unresolved bugs 514 are currently unconfirmed whereas 482 > are being checked or handled. Notably 261 of those 514 are enhancement > requests. There are 92 enhancements implemented or dismissed and 202 > being implemented or in consideration as far as I can see. > > Seeing many "known" bugs remaining unconfirmed indeed leaves a feeling > of discomfort and concern, although it is clear from the above numbers > that RR team uses bugzilla. Ahhh - nostalgia :-) As I said earlier, I used to spend a lot of time dealing with bug databases - usually making up excuses why *I* had so many entries in there :-) So I spent a quick hour or two of nostalgia looking at Rev's Bugzilla from the viewpoint of a dev. manager, rather than as a customer/user. Your overview sounds pretty good: 996 unresolved bugs 514 unconfirmed just over 50% 261 enhancement requests 243 "real" bugs still unconfirmed - about 25% But I fear that analysis is of dubious value - it probably contains some fairly old history, and it certainly contains some very recent entries (which you can't reasonably expect much action on). So I looked at 3 month's worth - all bugs initially entered between 1/12/2004 to 3/1/2005. 175 unresolved bugs 138 are unconfirmed (80%) 45 are enhancement requests 93 "real" bugs still unconfirmed - over 50% I bet the monthly bug-review meetings at Runrev are pretty exciting .... btw - BZ 2138 (can't run apps by double-click) is an Enhancement request - since the docs don't claim it should be possible, I couldn't find any excuse to make it a "bug" rather than an enhancement request; that may be another reason it hasn't been fixed yet. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From mikeythek at gmail.com Wed Apr 13 09:49:04 2005 From: mikeythek at gmail.com (Mikey) Date: Wed, 13 Apr 2005 09:49:04 -0400 Subject: Creating & Using Tabs tutorial In-Reply-To: References: <9b408d8e0504121444153e9c36@mail.gmail.com> Message-ID: <9b408d8e050413064967b13146@mail.gmail.com> I guess what I was hoping for was to see "Chapter 1", or the "Getting Started Guide". The little pieces parts don't seem to do for decent anything. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dburgun at dsl.pipex.com Wed Apr 13 09:49:24 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 14:49:24 +0100 Subject: mouseEnter/mouseLeave Problem In-Reply-To: References: <64878EF567131D4596246171F75FD4A9744591@m-epo-1.epo.cdc.gov> Message-ID: >Hi Jonathan, > >>-----Original Message----- >>From: use-revolution-bounces at lists.runrev.com >>[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David >>Burgun >>Sent: Wednesday, April 13, 2005 7:08 AM >>To: How to use Revolution >>Subject: mouseEnter/mouseLeave Problem >> >>Hi, >> >>I have a script on a graphic rectangle object that does the following: >> >>on mouseEnter >>set foregroundColor of me to blue >>pass mouseEnter >>end mouseEnter >> >>on mouseLeave >>... >>Any ideas why mouseLeave is not being called? Seems to be after a >>MouseDown/Up sequence? > >wild and quick guess: >Did you try a "mouserelease" handler with the same script as the "mouseleave"? > >>Thanks a lot >>Dave Yes, the Script of the object is as follows (I have modified it since I first posted): on mouseEnter set foregroundColor of me to blue end mouseEnter on mouseLeave set foregroundColor of me to black end mouseLeave on mouseDown --set the layer of me to top end mouseDown on mouseStillDown -- Move the object via the mouse, sets a new rect for the object based on mouse movement end mouseStillDown If you look in the mouseDown handler, if I comment out the: --set the layer of me to top All the rectangles work as they should, if I uncomment it, I lose the mouseLeave message. Any one have any ideas??? Thanks Dave From alex at tweedly.net Wed Apr 13 09:59:40 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 13 Apr 2005 14:59:40 +0100 Subject: Making Revolution faster with really big arrays In-Reply-To: <27b9069ef659c9b2cfd03bccfaad9825@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <425C6FF1.3070508@tweedly.net> <27b9069ef659c9b2cfd03bccfaad9825@writeme.com> Message-ID: <425D25CC.6090302@tweedly.net> Dennis Brown wrote: > Thanks Alex, > > This is quite an imaginative suggestion. It would work great if I > just had two lists, but I have two arrays 10,000 lines with 2500 items > in each line. It would be a lot more complex to combine them into a > single array (I need to pair the items together). But it could be > done with a lot more shuffling. Dennis, could you post the "dumb, too-slow" code to show what you need to do ? The more specifically we can see the problem, the more "imaginative" solutions we might come up with. I suspect some variant of Dick's suggestion (using split on all-but-one of the lists, and "for each"-ing over that remaining one) - perhaps repeated internally on the items of each line - will get you an adequate solution --- but we'll get there more quickly and certainly if we know more closely what we are trying to do. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From bnz2 at cdc.gov Wed Apr 13 09:55:05 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 13 Apr 2005 09:55:05 -0400 Subject: mouseEnter/mouseLeave Problem Message-ID: <64878EF567131D4596246171F75FD4A9744592@m-epo-1.epo.cdc.gov> You might be able to rework this by catching the mousemove message in the card script or the stack script. Something like the following might work (untested, so it will prolly need some tweaking) On mousemove Global gBluelist If word 1 of the long name of the mousecontrol = "graphic" then Put the short name of the mousecontrol into tGraphic If gBluelist = tGraphic then exit mousemove If gBluelist <> empty then set the foregroundcolor of graphic gBluelist to black Put empty into gBluelist Set the foregroundcolor of graphic tGraphic to blue Put tGraphic into gBluelist Else Set the foregroundcolor of graphic tGraphic to blue Put tGraphic into gBluelist End if Else If gBluelist <> empty then set the foregroundcolor of graphic gBluelist to black Put empty into gBluelist End if End if End mousemove -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David Burgun Sent: Wednesday, April 13, 2005 7:08 AM To: How to use Revolution Subject: mouseEnter/mouseLeave Problem Hi, I have a script on a graphic rectangle object that does the following: on mouseEnter set foregroundColor of me to blue pass mouseEnter end mouseEnter on mouseLeave set foregroundColor of me to black pass mouseLeave end mouseLeave on mouseDown set the layer of me to top end mouseDown on mouseStillDown -- Move the object via the mouse, sets a new rect for the object based on mouse movement end mouseStillDown This works fine most of the time, however if I have two rectangle that overlap each other on the display, then when I move the mouse from one to the other, the mouseLeave handler does not seem to get called ***IF* I have moused-down in one of these objects. For instance: Both rectangles are set to black I move the mouse into into Rectangle A which is in front of Rectangle B. Everything works ok. The rectangles change from black to blue as expected. However if I do this: Both rectangles are set to black Move into Rectangle A - Changes to Blue Move into Rectangle B - A changes to Black and B changes to Blue (but B says behind A) MouseDown in Rectangle B - B moves in in front of A MouseUp in Rectangle B - (mouseStillDown may have been called) (Now Rectangle B is in Front and set to Blue, rectangle A is black) Move into Rectangle A - B does NOT go to black, the mouseLeave handler is NOT called, A gets changed to Blue, so both are set to Blue!!! Any ideas why mouseLeave is not being called? Seems to be after a MouseDown/Up sequence? Thanks a lot Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Wed Apr 13 10:03:01 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 13 Apr 2005 10:03:01 -0400 Subject: mouseEnter/mouseLeave Problem Message-ID: <64878EF567131D4596246171F75FD4A9744593@m-epo-1.epo.cdc.gov> Similar to what I put in another message that I just sent in... If you maintain a global variable to keep track of the graphic that is set to blue - then, whenever you set a new graphic to blue, you can make sure the previous graphic, whose name is stored in the global variable, gets set back to black. I believe that mouseleave is also not called while the button is still down. And now that I looked it up in the docs, even using mousecontrol will not work (as used in the suggested script I just sent), because that remains the original clicked control, even if you have moved over another object, until you release the mousebutton. You might have to resort to checking to see if the mouseloc is within the rect of each graphic you wish to check - ugh. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David Burgun Sent: Wednesday, April 13, 2005 9:43 AM To: How to use Revolution Subject: RE: mouseEnter/mouseLeave Problem I don't think so, cos it's mouseLeave that isn't being called. If both rectangles are black and I move the mouse back and forth between them, all works as it should. If I mouseDown in either of the rectangles and then move the mouse to the other recangle, the Rectangle moved to changes to blue BUT the rectangle that has just been left DOES NOT get the mouseLeave message. Once this has happened once, the behaviour goes back to normal again, e.g. the rectangles change color and you would expect again! This really seems to be to do with interaction between mouseUp and/or mouseDown and maybe mouseStillDown. If anyone could shed some light on this I would be really gratefull I just can't seem to work out why this doesn't work???!!! Thanks in advance for any help Dave >Could it have to do with the fact that mouseenter is not sent if the >mouse button is already down when you enter an object? > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David >Burgun >Sent: Wednesday, April 13, 2005 7:08 AM >To: How to use Revolution >Subject: mouseEnter/mouseLeave Problem > >Hi, > >I have a script on a graphic rectangle object that does the following: > >on mouseEnter >set foregroundColor of me to blue >pass mouseEnter >end mouseEnter > >on mouseLeave >set foregroundColor of me to black >pass mouseLeave >end mouseLeave > >on mouseDown >set the layer of me to top >end mouseDown > >on mouseStillDown >-- Move the object via the mouse, sets a new rect for the object >based on mouse movement >end mouseStillDown > >This works fine most of the time, however if I have two rectangle >that overlap each other on the display, then when I move the mouse >from one to the other, the mouseLeave handler does not seem to get >called ***IF* I have moused-down in one of these objects. For >instance: > >Both rectangles are set to black >I move the mouse into into Rectangle A which is in front of Rectangle >B. Everything works ok. The rectangles change from black to blue as >expected. However if I do this: > >Both rectangles are set to black >Move into Rectangle A - Changes to Blue >Move into Rectangle B - A changes to Black and B changes to Blue (but >B says behind A) >MouseDown in Rectangle B - B moves in in front of A >MouseUp in Rectangle B - (mouseStillDown may have been called) >(Now Rectangle B is in Front and set to Blue, rectangle A is black) >Move into Rectangle A - B does NOT go to black, the mouseLeave >handler is NOT called, A gets changed to Blue, so both are set to >Blue!!! > >Any ideas why mouseLeave is not being called? Seems to be after a >MouseDown/Up sequence? > >Thanks a lot >Dave > > >_______________________________________________ >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 webmaster at dreamscapesoftware.com Wed Apr 13 10:17:56 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 13 Apr 2005 09:17:56 -0500 Subject: Replacing Answer/Ask In-Reply-To: <01c04948c40aa1c80a7ea9ddfcacd237@fjrhome.net> References: <425BDC52.1080703@dreamscapesoftware.com> <15078dfb5c878511b0f4345ab0ad2c11@sosmartsoftware.com> <425C538F.1090805@dreamscapesoftware.com> <7d310cc156a6d912ba644cb76cf6c2b8@fjrhome.net> <425C6C36.1040507@dreamscapesoftware.com> <01c04948c40aa1c80a7ea9ddfcacd237@fjrhome.net> Message-ID: <425D2A14.2020707@dreamscapesoftware.com> > I agree. It's now bug 2779, if you are interested in voting for it. Didn't have to ask twice. I've parted with 5 of my votes for this item, so we'll see how soon it will be before that get's implimented (hopefully soon). > In thinking about it, I'm thinking of this with another benefit: not > only does it reduce the on-disk size of the stack, but it should also > reduce startup time for the standalone, since there will be less data > to read in from disk. This would also be a great benefit. I'd love to be able to boast a 1 second load time on Windows 95 (on XP it would explode on the screen). Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ From dburgun at dsl.pipex.com Wed Apr 13 10:34:57 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 15:34:57 +0100 Subject: mouseEnter/mouseLeave Problem In-Reply-To: <64878EF567131D4596246171F75FD4A9744592@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744592@m-epo-1.epo.cdc.gov> Message-ID: Ok, thanks, I will take a look, but I would just lke to know why what I have already doesn't work! What I have been trying to do as a work-around is this: -- -- When mouseDown is called the current "top" will be the last selected Rectangle -- Send a mouseLeave message to this Rectangle. on mouseDown put name of last graphic into myGraphicName send "mouseLeave" to graphic myGraphicName set layer of me to top end mouseDown This kind of fixes the problem in that if I click is the top most rectangle (e.g. the layer is not changed) then the rectanges change color as expected. If I click if the rectangle on the bottom, both rectangles get changed to blue. I am wondering if there is any way to wait for the send command to complete? I am guessing that the set layer to top command is causing the mouseLeave message to be missed or dropped? Thanks for any help Dave >You might be able to rework this by catching the mousemove message in >the card script or the stack script. Something like the following might >work (untested, so it will prolly need some tweaking) > >On mousemove > Global gBluelist > If word 1 of the long name of the mousecontrol = "graphic" then > Put the short name of the mousecontrol into tGraphic > If gBluelist = tGraphic then exit mousemove > If gBluelist <> empty then > set the foregroundcolor of graphic gBluelist to black > Put empty into gBluelist > Set the foregroundcolor of graphic tGraphic to blue > Put tGraphic into gBluelist > Else > Set the foregroundcolor of graphic tGraphic to blue > Put tGraphic into gBluelist > End if > Else > If gBluelist <> empty then > set the foregroundcolor of graphic gBluelist to black > Put empty into gBluelist > End if > End if >End mousemove > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David >Burgun >Sent: Wednesday, April 13, 2005 7:08 AM >To: How to use Revolution >Subject: mouseEnter/mouseLeave Problem > >Hi, > >I have a script on a graphic rectangle object that does the following: > >on mouseEnter >set foregroundColor of me to blue >pass mouseEnter >end mouseEnter > >on mouseLeave >set foregroundColor of me to black >pass mouseLeave >end mouseLeave > >on mouseDown >set the layer of me to top >end mouseDown > >on mouseStillDown >-- Move the object via the mouse, sets a new rect for the object >based on mouse movement >end mouseStillDown > >This works fine most of the time, however if I have two rectangle >that overlap each other on the display, then when I move the mouse >from one to the other, the mouseLeave handler does not seem to get >called ***IF* I have moused-down in one of these objects. For >instance: > >Both rectangles are set to black >I move the mouse into into Rectangle A which is in front of Rectangle >B. Everything works ok. The rectangles change from black to blue as >expected. However if I do this: > >Both rectangles are set to black >Move into Rectangle A - Changes to Blue >Move into Rectangle B - A changes to Black and B changes to Blue (but >B says behind A) >MouseDown in Rectangle B - B moves in in front of A >MouseUp in Rectangle B - (mouseStillDown may have been called) >(Now Rectangle B is in Front and set to Blue, rectangle A is black) >Move into Rectangle A - B does NOT go to black, the mouseLeave >handler is NOT called, A gets changed to Blue, so both are set to >Blue!!! > >Any ideas why mouseLeave is not being called? Seems to be after a >MouseDown/Up sequence? > >Thanks a lot >Dave > > >_______________________________________________ >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 dburgun at dsl.pipex.com Wed Apr 13 10:53:32 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 15:53:32 +0100 Subject: mouseEnter/mouseLeave Problem In-Reply-To: <64878EF567131D4596246171F75FD4A9744593@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744593@m-epo-1.epo.cdc.gov> Message-ID: >Similar to what I put in another message that I just sent in... > >If you maintain a global variable to keep track of the graphic that is >set to blue - then, whenever you set a new graphic to blue, you can make >sure the previous graphic, whose name is stored in the global variable, >gets set back to black. > >I believe that mouseleave is also not called while the button is still >down. And now that I looked it up in the docs, even using mousecontrol >will not work (as used in the suggested script I just sent), because >that remains the original clicked control, even if you have moved over >another object, until you release the mousebutton. > >You might have to resort to checking to see if the mouseloc is within >the rect of each graphic you wish to check - ugh. But I *DO* release the mouse button! I have two overlapping rectangles, A and B: A is in front of B - both are black, mouse is outside both of them. (user moves mouse into either A or B and the color changes to blue) (user moves outside of both and they both go black) (user moves back and forth between A and B and they change color correctly) (user does a mouseDown and mouseUp in side the one that is already at the Front (A in this case)) (user moves mouse back and forth between A and B and they change color correctly) (user does a mouseDown on the rectangle that is behind (B in this case)) (Both rectangles turn blue - B is placed in front of A) (Move back and forth twice and all is back to normal and A and B change as expected) So, I tried doing this: on mouseDown put name of last graphic into myGraphicName set the foreGroundColor of graphic myGraphicName to black set layer of me to top end mouseDown And it STILL doesn't work!!!!!!!!!!!!!!!!! I have also tried sending an "mouseLeave" event to the "last" graphic and this doesn't work either! Could someone explain to me why this doesn't work??? Thanks a lot Dave > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David >Burgun >Sent: Wednesday, April 13, 2005 9:43 AM >To: How to use Revolution >Subject: RE: mouseEnter/mouseLeave Problem > >I don't think so, cos it's mouseLeave that isn't being called. > >If both rectangles are black and I move the mouse back and forth >between them, all works as it should. If I mouseDown in either of the >rectangles and then move the mouse to the other recangle, the >Rectangle moved to changes to blue BUT the rectangle that has just >been left DOES NOT get the mouseLeave message. Once this has happened >once, the behaviour goes back to normal again, e.g. the rectangles >change color and you would expect again! > >This really seems to be to do with interaction between mouseUp and/or >mouseDown and maybe mouseStillDown. If anyone could shed some light >on this I would be really gratefull I just can't seem to work out why >this doesn't work???!!! > >Thanks in advance for any help >Dave > > >>Could it have to do with the fact that mouseenter is not sent if the >>mouse button is already down when you enter an object? >> >>-----Original Message----- >>From: use-revolution-bounces at lists.runrev.com >>[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David >>Burgun >>Sent: Wednesday, April 13, 2005 7:08 AM >>To: How to use Revolution >>Subject: mouseEnter/mouseLeave Problem >> >>Hi, >> >>I have a script on a graphic rectangle object that does the following: >> >>on mouseEnter >>set foregroundColor of me to blue >>pass mouseEnter >>end mouseEnter >> >>on mouseLeave >>set foregroundColor of me to black >>pass mouseLeave >>end mouseLeave >> >>on mouseDown >>set the layer of me to top >>end mouseDown >> >>on mouseStillDown >>-- Move the object via the mouse, sets a new rect for the object >>based on mouse movement >>end mouseStillDown >> >>This works fine most of the time, however if I have two rectangle >>that overlap each other on the display, then when I move the mouse >>from one to the other, the mouseLeave handler does not seem to get > >called ***IF* I have moused-down in one of these objects. For >>instance: >> >>Both rectangles are set to black >>I move the mouse into into Rectangle A which is in front of Rectangle >>B. Everything works ok. The rectangles change from black to blue as >>expected. However if I do this: >> >>Both rectangles are set to black >>Move into Rectangle A - Changes to Blue >>Move into Rectangle B - A changes to Black and B changes to Blue (but >>B says behind A) >>MouseDown in Rectangle B - B moves in in front of A >>MouseUp in Rectangle B - (mouseStillDown may have been called) >>(Now Rectangle B is in Front and set to Blue, rectangle A is black) >>Move into Rectangle A - B does NOT go to black, the mouseLeave >>handler is NOT called, A gets changed to Blue, so both are set to >>Blue!!! >> >>Any ideas why mouseLeave is not being called? Seems to be after a >>MouseDown/Up sequence? >> >>Thanks a lot >>Dave >> >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From see3d at writeme.com Wed Apr 13 11:01:22 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 13 Apr 2005 11:01:22 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: Message-ID: <8627d0d34296d52e054d055a6dd0a645@writeme.com> To Alex & Dick, Yes, I am doing something like what Dick suggested, only a lot more complex --actually I have about a hundred very different calculations to do on various arrays which is why I was not more specific about the calculations (it has to do with generating various statistics and indicators). Your suggestion using the split is just the ticket to solve my problem in leu of an improved transcript --which would still be 15 times faster for each pass, but it sure beats all the other ways I've come up with. Please accept my humble thanks for all your help. To Frank & Mark & Brian & Robert & Pierre & all, I have been overwhelmed by all the various offers of help in a few short hours from posting my problem. You are a wonderful community of helpful people. Thank you all very much. From the content of the replies, and the complexity of some of the proposed solutions it seems more obvious to me now than before that an improved sequential access method for data needs to be included in Transcript. After all one should not have to jump through hoops to do such a simple and common task. I guess the shortcoming of the random access methods used in the language are not apparent until it is used with really big arrays which amplify the speed issue. From my previous posted timings, you can see how much faster sequential access is than any of the other methods. I can't accept the answer that the language is unsuitable for a task, because it is interpreted, when a minor improvement would make it suitable. Let's fix the problem instead of thinking that Revolution can not be used for such tasks. I will bet improved sequential access would find its way into most projects. I look forward to more discussions about number crunching improvements, Thanks, Dennis On Apr 13, 2005, at 9:59 AM, Alex Tweedly wrote: > Dennis, > > could you post the "dumb, too-slow" code to show what you need to do ? > The more specifically we can see the problem, the more "imaginative" > solutions we might come up with. > > I suspect some variant of Dick's suggestion (using split on > all-but-one of the lists, and "for each"-ing over that remaining one) > - perhaps repeated internally on the items of each line - will get you > an adequate solution --- but we'll get there more quickly and > certainly if we know more closely what we are trying to do. > > -- > Alex Tweedly http://www.tweedly.net On Apr 13, 2005, at 5:41 AM, Dick Kriesel wrote: > On 4/12/05 7:36 PM, "Dennis Brown" wrote: > >> ...I have two arrays 10,000 lines with 2500 items in each line... >> ...I need to pair the items together... > > Do you have something like closing prices in one container and shares > traded > in another container, each for the same 10,000 securities over the same > 2,500 trading days? If so, do you want to calculate something like > trading > volume as price * shares? > > If so, then here's a way to bring together the values from one such > list > with the values from another, without waiting for any chunk > expressions. On > my machine, generating a 10,000 line by 2,500 item list of integers to > prepare for the test took about three minutes. Then bringing together > all > the pairs of lines from two lists, as you indicated in your initial > email, > took about 1.2 seconds. > > So you could do many passes through your big lists before the day is > done, > and not need to wait for an extension to the language. > > To try it, paste the following into the script of a new stack. If I've > misunderstood or done something wrong, please let me know. > > -- Dick > --------------------- > global gList > > on mouseUp > if gList is empty then initialize > combinePairsOfLines gList,gList > end mouseUp > > on initialize > put 10000 into tLineCount > put 2500 into tItemCount > put tLineCount && tItemCount & cr > put the seconds into tSeconds > repeat with i = 1 to tLineCount > repeat with j = 1 to tItemCount > put i + j & comma after tList > end repeat > put return after tList > if i mod 1000 = 0 then put "line count so far:" && i & cr after msg > end repeat > put tList into gList -- save for reuse across edit-test cycles > put "elapsed seconds to initialize:" && \ > the seconds - tSeconds & cr after msg > end initialize > > on combinePairsOfLines pList1,pList2 > put the long seconds into tSeconds > split pList2 using return > put 0 into i > repeat for each line tLineFromList1 in pList1 > add 1 to i > put tLineFromList1 & pList2[i] into tCombinedLine > -- doSomethingWithCombinedLine tCombinedLine > end repeat > put "elapsed seconds to combine pairs:" && \ > the long seconds - tSeconds & cr after msg > end combinePairsOfLines > > From gcanyon at inspiredlogic.com Wed Apr 13 11:04:33 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed, 13 Apr 2005 08:04:33 -0700 Subject: New Guide to the IDE in Process In-Reply-To: <818bb6eadb3d27a8d6015affe06634ea@danshafer.com> References: <818bb6eadb3d27a8d6015affe06634ea@danshafer.com> Message-ID: <32a42d5bf76a1224f17d99aefca7f836@inspiredlogic.com> On Apr 12, 2005, at 1:15 PM, Dan Shafer wrote: > Sigh. > > On Apr 12, 2005, at 12:41 PM, Bill wrote: > >> This is the link to the last page of the runrev store: >> >> http://secure.runrev.com/Merchant2/merchant.mvc? >> >> >> Where your ebooks are (fairly well hidden). PROSSER But Mr. Dent, the plans have been available in the local planning office for the last nine months. ARTHUR Oh, yes, soon as I heard of this plan, I went straight around to see them yesterday afternoon. You hadn?t exactly gone out of your way to call much attention to them, had you? Such as maybe telling someone about them? PROSSER looks more uncomfortable. PROSSER Well, the plans were on display ? ARTHUR On display? I had to go down to the cellar to find them! PROSSER That?s the display department. ARTHUR With a flashlight. PROSSER Well, the lights had probably gone. ARTHUR So had the stairs. PROSSER Er ? well ? you did find them, didn?t you? ARTHUR Oh, yes. Yes, I did. The plans were on display, in the bottom of a locked filing cabinet, stuck in a disused lavatory, with a sign on the door reading ?Beware of the Leopard.? regards, Geoff Canyon gcanyon at inspiredlogic.com From eric.chatonet at sosmartsoftware.com Wed Apr 13 11:18:18 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Apr 2005 17:18:18 +0200 Subject: [ANN] #014 and #015 How-To stacks: Managing Answer and Ask Dialogs Message-ID: <270fed72d45d9cfd31b4a2cec5e14886@sosmartsoftware.com> Hi everyone, I go on with energy :-) And I hope these new tutorials will be helpful: How-To stack #014: Managing Answer Dialogs (specially dedicated to beginners but the HTML part might interest all) Shows how to manage answer dialogs (with plain text or HTML), how to build a prompt, set icons, buttons and other options, etc. and manage user's choice. It includes a very handy code builder which keeps count of all your inputs and settings. Print function included. How-To stack #015 How to manage Ask Dialogs Shows how to manage ask dialogs, set all options, how to request by scripting an input that matches what you expect and finally manage user's input. Such as the previous tutorial, it includes a very handy code builder which keeps count of all your inputs and settings. Print function included. ----------------------------------------------------------- On RevOnLine: User name: So Smart Software Category: Programming On RevNet: Tutorials section To donwload RevNet, go to http://www.fourthworld.com/rev/index.html Directly by pasting into the message box: #014: Managing Answer Dialogs go url "http://www.sosmartsoftware.com/downloads/ Managing%20Answer%20Dialogs.rev" #015 How to manage Ask Dialogs go url "http://www.sosmartsoftware.com/downloads/Managing%20Ask%20Dialogs.rev" ----------------------------------------------------------- Previous "How-To" stacks are available from RevOnLine or RevNet or by pasting into the message box: #001 How to magnify images and only images! go url "http://www.sosmartsoftware.com/downloads/ Magnifying%20images%20only.rev" #002 How to change card dimensions go url "http://www.sosmartsoftware.com/downloads/ Managing%20card%20dimensions.rev" #003 How to install brushed metal appearance on all platforms go url "http://www.sosmartsoftware.com/downloads/ Managing%20brushed%20metal.rev" #004 How to manage HTML lists on the fly go url "http://www.sosmartsoftware.com/downloads/Managing%20HTML%20lists.rev" #005 How to drag and drop images and different ways to store images go url "http://www.sosmartsoftware.com/downloads/ Images%20drag%20and%20drop.rev" #006 How to manage contextual tooltips on the fly go url "http://www.sosmartsoftware.com/downloads/Managing%20Tooltips.rev" #007 How to manage "Snap to" scrollbars (revised on 3/3/05) go url "http://www.sosmartsoftware.com/downloads/Managing%20Scrollbars.rev" #008 How to build a menu on the fly go url "http://www.sosmartsoftware.com/downloads/Managing%20Menus.rev" #009 How to fix the decorations (titlebar appearance) go url "http://www.sosmartsoftware.com/downloads/Managing%20Titlebars.rev" #010 How to drag and drop files and folders go url "http://www.sosmartsoftware.com/downloads/ Managing%20Drag%20and%20Drop.rev" #011 How to manage user waiting go url "http://www.sosmartsoftware.com/downloads/Managing%20Waitings.rev" #012 How to ask a password go url "http://www.sosmartsoftware.com/downloads/Asking%20Password.rev" #013 How to manage tabbed buttons go url "http://www.sosmartsoftware.com/downloads/ Managing%20Tabbed%20Buttons.rev" With best regards, Eric Chatonet. --------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch --------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet AT sosmartsoftware.com/ Post 24, Bd de Port-Royal 75005 Paris Phone (33) 143 317 762 Mobile (33) 620 745 086 --------------------------------------------------------------- From dburgun at dsl.pipex.com Wed Apr 13 11:24:58 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 16:24:58 +0100 Subject: mouseEnter/mouseLeave Problem Message-ID: >You might have to resort to checking to see if the mouseloc is within >the rect of each graphic you wish to check - ugh. Ok, I finally got the expect results by doing the following!!!!!!!! on mouseEnter put the name of the last graphic into myGraphicName if myGraphicName <> name of me then set the foregroundColor of graphic myGraphicName to black end if set the foregroundColor of me to blue end mouseEnter on mouseDown put the name of the last graphic into myGraphicName set layer of me to top if myGraphicName <> name of me then set the foregroundColor of graphic myGraphicName to black end if end mouseDown And this works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Hope this is of help to someone at some stage!!! Dave ----------------------------- But I *DO* release the mouse button! I have two overlapping rectangles, A and B: A is in front of B - both are black, mouse is outside both of them. (user moves mouse into either A or B and the color changes to blue) (user moves outside of both and they both go black) (user moves back and forth between A and B and they change color correctly) (user does a mouseDown and mouseUp in side the one that is already at the Front (A in this case)) (user moves mouse back and forth between A and B and they change color correctly) (user does a mouseDown on the rectangle that is behind (B in this case)) (Both rectangles turn blue - B is placed in front of A) (Move back and forth twice and all is back to normal and A and B change as expected) So, I tried doing this: on mouseDown put name of last graphic into myGraphicName set the foreGroundColor of graphic myGraphicName to black set layer of me to top end mouseDown And it STILL doesn't work!!!!!!!!!!!!!!!!! I have also tried sending an "mouseLeave" event to the "last" graphic and this doesn't work either! Could someone explain to me why this doesn't work??? From alex at tweedly.net Wed Apr 13 11:25:30 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 13 Apr 2005 16:25:30 +0100 Subject: Flesxible looping [Was: Making Revolution faster with really big arrays] In-Reply-To: <8627d0d34296d52e054d055a6dd0a645@writeme.com> References: <8627d0d34296d52e054d055a6dd0a645@writeme.com> Message-ID: <425D39EA.80004@tweedly.net> Dennis Brown wrote: > The Idea is to break apart the essential functional elements of the > repeat for each control to allow more flexibility. This sample has a > bit more refinement than what I posted yesterday in Bugzilla. > > The new keyword would be "access" , but could be something else. > > An example of the use of the new keywords syntax would be: > > access each line X in arrayX--initial setup of pointers and X value > access each item Y in arrayY --initial setup of pointers and Y value > repeat for number of lines of arrayX times --same as a repeat for each > put X & comma & Y & return after ArrayXY --merged array > next line X --puts the next line value in X > next item Y --if arrayY has fewer elements than arrayX, then empty > is supplied, could also put "End of String" in the result > end repeat > > Another advantage of this syntax is that it provides for more > flexibility in structure of loops. You could repeat forever, then > exit repeat when you run out of values (based on getting an empty > back). The possibilities for high speed sequential access data > processing are much expanded which opens up more possibilities for > Revolution. Dennis, I think having more flexible repeat structures to allow parallel passes through lists or arrays is a really good idea, but I don't like the form you have suggested. It seems wrong to have separate statements to setup the loop; as far as I know, the language currently keeps the meaning of each statement self-contained, so I think this multi-line form would be a hard one to "sell". I think it would be better to add a new keyword to indicate parallel looping; the primary loop determines the repeat-termination test criterion, while the others are incremented/advanced in synch. (of course, using exit allows you to terminate the loop based on the secondary loops if needed). I'd suggest the word "also" since it's not currently used, or perhaps the phrase "also each". So the form would be something like > repeat for each line X in xList also item Y in yLine > repeat for each line X in xList also each item Y in yLine > repeat for each line X in xList and also each item Y in yLine and of course there could be more than 2 : > repeat for each line Y in ylist also line x in xlist also item z in > zlist also item name in namelist ... This would allow the variants > repeat forever also each item Z in theList > repeat for each element E in myArray also each line X in xList > repeat with i = 1 to 100 also each line X in xList etc. And for symmetry, it might also be feasible to allow > repeat for each X in Xlist also i = 1 step 1 (since there's not a terminating condition in the secondary, it would confusing to have i = 1 to 100, so simply specify initial and step values). Similar to this, I'd love to see a method for accessing arrays which gives both the key and the element. Currently, you can say repeat for each line K in the keys of myArray put myArray[k] into V but most modern languages have something like for (k,v in myarray) which gives both key and value without needing to do another hash lookup. And now that I'm started on this topic, I've always envied the readability of Python's tuple-assignment. I find x1,y2,x2,y2 = myRectangle much more obvious than x1 = myRectangle[0] y1 = myRectangle[1] x2 = myRectangle[2] etc. In Transcript, I really wish I could say put myRectangle as items into x1,y1,x2,y2 or put the items of myRectangle into x1,y1,x2,y2 instead of the clumsy put item 1 of myRect into X put item 2 of myRect into Y etc. No performance advantage - but so much more readable. -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From fde101 at fjrhome.net Wed Apr 13 11:33:27 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 13 Apr 2005 11:33:27 -0400 Subject: Flesxible looping [Was: Making Revolution faster with really big arrays] In-Reply-To: <425D39EA.80004@tweedly.net> References: <8627d0d34296d52e054d055a6dd0a645@writeme.com> <425D39EA.80004@tweedly.net> Message-ID: <5917441a5cf7208b4c838ce10d30206d@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 People working on computer languages generally avoid (and with good reason) adding new keywords. Have you considered "and for" rather than "also"? On Apr 13, 2005, at 11:25 AM, Alex Tweedly wrote: > Dennis Brown wrote: > >> The Idea is to break apart the essential functional elements of the >> repeat for each control to allow more flexibility. This sample has a >> bit more refinement than what I posted yesterday in Bugzilla. >> >> The new keyword would be "access" , but could be something else. >> >> An example of the use of the new keywords syntax would be: >> >> access each line X in arrayX--initial setup of pointers and X value >> access each item Y in arrayY --initial setup of pointers and Y value >> repeat for number of lines of arrayX times --same as a repeat for each >> put X & comma & Y & return after ArrayXY --merged array >> next line X --puts the next line value in X >> next item Y --if arrayY has fewer elements than arrayX, then empty >> is supplied, could also put "End of String" in the result >> end repeat >> >> Another advantage of this syntax is that it provides for more >> flexibility in structure of loops. You could repeat forever, then >> exit repeat when you run out of values (based on getting an empty >> back). The possibilities for high speed sequential access data >> processing are much expanded which opens up more possibilities for >> Revolution. > > > Dennis, > > I think having more flexible repeat structures to allow parallel > passes through lists or arrays is a really good idea, but I don't like > the form you have suggested. It seems wrong to have separate > statements to setup the loop; as far as I know, the language currently > keeps the meaning of each statement self-contained, so I think this > multi-line form would be a hard one to "sell". > > I think it would be better to add a new keyword to indicate parallel > looping; the primary loop determines the repeat-termination test > criterion, while the others are incremented/advanced in synch. (of > course, using exit allows you to terminate the loop based on the > secondary loops if needed). > > I'd suggest the word "also" since it's not currently used, or perhaps > the phrase "also each". > > So the form would be something like > >> repeat for each line X in xList also item Y in yLine repeat for each >> line X in xList also each item Y in yLine repeat for each line X in >> xList and also each item Y in yLine > > and of course there could be more than 2 : > >> repeat for each line Y in ylist also line x in xlist also item z in >> zlist also item name in namelist ... > > > This would allow the variants > >> repeat forever also each item Z in theList >> repeat for each element E in myArray also each line X in xList >> repeat with i = 1 to 100 also each line X in xList > > etc. > > > And for symmetry, it might also be feasible to allow > >> repeat for each X in Xlist also i = 1 step 1 > > (since there's not a terminating condition in the secondary, it would > confusing to have i = 1 to 100, so simply specify initial and step > values). > > > Similar to this, I'd love to see a method for accessing arrays which > gives both the key and the element. Currently, you can say > repeat for each line K in the keys of myArray > put myArray[k] into V > but most modern languages have something like > for (k,v in myarray) > which gives both key and value without needing to do another hash > lookup. > > And now that I'm started on this topic, I've always envied the > readability of Python's tuple-assignment. I find > x1,y2,x2,y2 = myRectangle > much more obvious than > x1 = myRectangle[0] > y1 = myRectangle[1] > x2 = myRectangle[2] > etc. > > In Transcript, I really wish I could say > put myRectangle as items into x1,y1,x2,y2 > or > put the items of myRectangle into x1,y1,x2,y2 > instead of the clumsy > put item 1 of myRect into X > put item 2 of myRect into Y > etc. > > No performance advantage - but so much more readable. > > -- > Alex Tweedly http://www.tweedly.net > > > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXTvH7aqtWrR9cZoRAmvNAJ9ehYE1TgzLys89AibBMfYN+BcjgwCfXMvJ sEGH5kcSEj+3yPAnAPUeN+k= =pj+O -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From howard.bornstein at gmail.com Wed Apr 13 11:46:39 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 13 Apr 2005 11:46:39 -0400 Subject: custom prop by 1's? In-Reply-To: References: Message-ID: <3f07cc2605041308466207ada4@mail.gmail.com> On 4/13/05, Richard Gaskin wrote: > > answer the executionContexts > Richard, Is "the executionContexts" documented anywhere? I couldn't find a reference to it in the online documentation. -- Regards, Howard Bornstein ----------------------- www.designeq.com From howard.bornstein at gmail.com Wed Apr 13 12:00:06 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 13 Apr 2005 12:00:06 -0400 Subject: ANN Getting Nine digit zip codes In-Reply-To: References: Message-ID: <3f07cc260504130900616e573a@mail.gmail.com> On 4/13/05, Jim Hurley wrote: > I forgot to acknowledge help from Dave Cragg. The handler below is from > Dave and is a wonderful tutorial for anyone interested in getting info > from a web site with data to be filed in. Just run this on a card with > one field and you will see the full 9 digit zip code for the address: > 123 Broad St, 95959 > > on mouseUp > put empty into field 1 > > put "Selection=" & 1 after tQuery > put "&" after tQuery > put "address1=" & urlEncode("123 BROAD ST") after tQuery > put "&" after tQuery > put "zipcode=" & 95959 after tQuery > > put "http://zip4.usps.com/zip4/zip4_responseA.jsp" into tUrl > > post tQuery to url tUrl > if the result <> empty then > answer the result > else > set the htmltext of field 1 to it > end if > > end mouseUp Jim (or Dave), I put this in a card script and tried it and got nothing. Both "the result" and "it" came back empty. Any ideas? -- Regards, Howard Bornstein ----------------------- www.designeq.com From howard.bornstein at gmail.com Wed Apr 13 12:00:26 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 13 Apr 2005 12:00:26 -0400 Subject: ANN Getting Nine digit zip codes In-Reply-To: References: Message-ID: <3f07cc26050413090066bf273@mail.gmail.com> On 4/13/05, Jim Hurley wrote: > I forgot to acknowledge help from Dave Cragg. The handler below is from > Dave and is a wonderful tutorial for anyone interested in getting info > from a web site with data to be filed in. Just run this on a card with > one field and you will see the full 9 digit zip code for the address: > 123 Broad St, 95959 > > on mouseUp > put empty into field 1 > > put "Selection=" & 1 after tQuery > put "&" after tQuery > put "address1=" & urlEncode("123 BROAD ST") after tQuery > put "&" after tQuery > put "zipcode=" & 95959 after tQuery > > put "http://zip4.usps.com/zip4/zip4_responseA.jsp" into tUrl > > post tQuery to url tUrl > if the result <> empty then > answer the result > else > set the htmltext of field 1 to it > end if > > end mouseUp Jim (or Dave), I put this in a card script and tried it and got nothing. Both "the result" and "it" came back empty. Any ideas? -- Regards, Howard Bornstein ----------------------- www.designeq.com From ambassador at fourthworld.com Wed Apr 13 12:06:12 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Apr 2005 09:06:12 -0700 Subject: custom prop by 1's? In-Reply-To: <3f07cc2605041308466207ada4@mail.gmail.com> References: <3f07cc2605041308466207ada4@mail.gmail.com> Message-ID: <425D4374.50400@fourthworld.com> Howard Bornstein wrote: > Is "the executionContexts" documented anywhere? I couldn't find a > reference to it in the online documentation. I don't know. Not sure where I learned about it, maybe from poking around the Rev frontscripts. To the best of my knowledge, there are only a very few tokens in use that aren't documented, mostly relating to debugging stuff -- off the top of my head: messageMessages This global property determines whether "messageHandled" and "messageNotHandled" messages are sent whenever a message is fired. messageHandled This message is sent when any other message has been sent and has encountered a handler for it. messageNotHandled This message is sent when any other message has been sent and has not encountered a handler for it. exectutionContexts Returns a list of handlers called which lead from original message to the current place where this is called. These were added for internal use and because these are not documented they are highly subject to change. For example, in its current form the executionContexts is not nearly as useful as it could be because it doesn't include params sent with the message. I had submitted an enhancement request to BZ some months ago for that, but for some odd reason I can't find it in there now.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Wed Apr 13 12:09:00 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 13 Apr 2005 09:09:00 -0700 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> References: <20050413022510.F25059300EA@mail.runrev.com> <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> Message-ID: <8457e912066f57b48dc2596bbe8e6a8a@mangomultimedia.com> On Apr 13, 2005, at 3:14 AM, Matt Denton wrote: > G'day all > > Regular Expression syntax in ReplaceText is driving me a bit loopy > right now, I was hoping someone out there could work out what I'm > doing wrong... > > I want a single RegEx expression using ReplaceText to strip out > leading and tailing spaces, leaving any spaces in the middle > untouched. Matt, I use this regex to strip whitespace: get replaceText(pString, "^[ \t\r\n]+|[ \t\r\n]+$", "") -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From briany at qldlearning.com Wed Apr 13 12:36:53 2005 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 13 Apr 2005 09:36:53 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <83af55471f384fb607f60ab71f79423a@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> <83af55471f384fb607f60ab71f79423a@writeme.com> Message-ID: <9919a4d7a0e4e5392f4bd94d33f9e440@qldlearning.com> Dennis, I guess it's half of each, as I see it (and I misread some of this I think). You only need sequential access to the lines and items, but random access would solve your problems. Random access is even faster than sequential, and can do everything sequential can. From your syntax example: > access each line X in arrayX--initial setup of pointers and X value > access each item Y in arrayY --initial setup of pointers and Y value > repeat for number of lines of arrayX times --same as a repeat for each > put X & comma & Y & return after ArrayXY --merged array > next line X --puts the next line value in X > next item Y --if arrayY has fewer elements than arrayX, then empty > is supplied, could also put "End of String" in the result > end repeat In SQL: SELECT CONCAT(lineValue, ',' , itemValue) FROM lines, items ORDER BY lineNumber, itemNumber; Give your DB enough RAM to work with and this will fly. The fields will be indexed once- that's what you are basically saying by "access" ... "index". Then they'll be retrieved super fast and the sort should be trivial if the records are already in order in your database. You could work with a dozen tables at once if you wanted. If your still committed to a scripted solution, could you post some of your actual code- even if the calculations are hidden? Are you using nested repeat for each? This group (myself included) has been known to tweak these sorts of things pretty well in the past when there is real code to work with... - Brian > Thanks Brian, > > I don't require random access to the data. I only need sequential > access. That is why the repeat for each operator works so fast --less > than a microsecond per data item. I'm not going to match that with > anything other than RAM. > > Dennis > > On Apr 12, 2005, at 10:06 PM, Brian Yennie wrote: > >> Dennis, >> >> I have to agree with Pierre here. If you are looking for random >> access to many thousands of records taking up gigabytes of memory, a >> database engine is, IMO, the only logical choice. >> >> A simple MySQL/PostgreSQL/Valentina/etc database indexed by line >> number (or stock symbol) would be very fast. >> >> Without indexing your data or fitting all of it into random-access >> in-memory data structures, you're fighting a painful battle. If you >> algorithm is scaling out linearly, you'll just run too slow, and if >> your data size is doing the same you'll run out of memory. On the >> other hand, database engines can potentially handle _terabytes_ of >> data and give you random access in milliseconds. You simply won't >> beat that in Transcript. >> >> One thing you could consider if you don't want a whole database >> engine to deal with, is the feasibility of indexing the data yourself >> - which will give you some of the algorithmic benefits of a database >> engine. That is, make one pass where you store the offsets of each >> line in an index, and then use that to grab lines. Something like >> (untested): >> >> ## index the line starts and ends >> put 1 into lineNumber >> put 1 into charNum >> put 1 into lineStarts[1] >> repeat for each char c in tData >> if (c = return) then >> put (charNum - 1) into lineEnds[lineNumber] >> put (charNum + 1) into lineStarts[lineNumber + 1] >> add 1 to lineNumber >> end if >> add 1 to charNum >> end repeat >> if (c <> return) then put charNum into lineEnds[lineNumber] >> >> ## get line x via random char access >> put char lineStarts[x] to lineEnds[x] of tData into lineX >> >> - Brian >> >>> Thanks Pierre, >>> >>> I considered that also. A Database application would certainly >>> handle the amount of data, but they are really meant for finding and >>> sorting various fields, not for doing the kind of processing I am >>> doing. The disk accessing would slow down the process. >>> >>> Dennis >>> >>> On Apr 12, 2005, at 5:27 PM, Pierre Sahores wrote: >>> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dburgun at dsl.pipex.com Wed Apr 13 12:52:22 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 17:52:22 +0100 Subject: How to use parameters with sendMesssage In-Reply-To: <9919a4d7a0e4e5392f4bd94d33f9e440@qldlearning.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> <83af55471f384fb607f60ab71f79423a@writeme.com> <9919a4d7a0e4e5392f4bd94d33f9e440@qldlearning.com> Message-ID: Hi All, I can't get this to send the correct paramater handler set myRect to 1,2,3,4 sendMessage "UpdateData " & myRect to group "Update" on UpdateData theRect end updateData UpdateData gets called ok, but "theRect" is set to "1" - the rest of the list have gone. How can I send a Rect as a parameter like this? Thanks in Advance Dave From klaus at major-k.de Wed Apr 13 12:59:35 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 13 Apr 2005 18:59:35 +0200 Subject: How to use parameters with sendMesssage In-Reply-To: References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> <83af55471f384fb607f60ab71f79423a@writeme.com> <9919a4d7a0e4e5392f4bd94d33f9e440@qldlearning.com> Message-ID: Hi David, > Hi All, > > I can't get this to send the correct paramater handler > > set myRect to 1,2,3,4 > sendMessage "UpdateData " & myRect to group "Update" > on UpdateData theRect > end updateData > > UpdateData gets called ok, but "theRect" is set to "1" - the rest of > the list have gone. > > How can I send a Rect as a parameter like this? ???? I wonder why this does work at all, since there is no "sendmessage" command??? You surely mean "send"... This will work: ... put "1,2,3,4" into myRect ### ;-) send "UpdateData myRect" to group "Update" ... Hope that helps. > Thanks in Advance > Dave Regards Klaus Major klaus at major-k.de http://www.major-k.de From jperryl at ecs.fullerton.edu Wed Apr 13 12:59:56 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 13 Apr 2005 09:59:56 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <9b408d8e050413064967b13146@mail.gmail.com> Message-ID: I'm kinda lost... what is this comment in respect to? I think there is/was a "getting started" by *user type*. I am hazarding a guess that "Chater 1" would be very like Dan's upcoming review of the IDE? (which , of course, of necessity, will likely be different than my own little 'getting started' pdf for my class which only shows how to use the IDE to create a simple shell of a slide-show multimedia program with a very little bit of user interactivity). Judy On Wed, 13 Apr 2005, Mikey wrote: > I guess what I was hoping for was to see "Chapter 1", or the "Getting > Started Guide". The little pieces parts don't seem to do for decent > anything. > -- > http://taoof4d.blogspot.com > http://4dwishlist.blogspot.com > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > From jperryl at ecs.fullerton.edu Wed Apr 13 13:01:21 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 13 Apr 2005 10:01:21 -0700 (PDT) Subject: mouseEnter/mouseLeave Problem In-Reply-To: Message-ID: It also looks like you took out the pass mouseWhatever lines. What happened if you kept those but uncommented the other stuff? Judy On Wed, 13 Apr 2005, David Burgun wrote: > Yes, the Script of the object is as follows (I have modified it since > I first posted): > > on mouseEnter > set foregroundColor of me to blue > end mouseEnter > > on mouseLeave > set foregroundColor of me to black > end mouseLeave > > on mouseDown > --set the layer of me to top > end mouseDown > > on mouseStillDown > -- Move the object via the mouse, sets a new rect for the object > based on mouse movement > end mouseStillDown > > If you look in the mouseDown handler, if I comment out the: > > --set the layer of me to top > > All the rectangles work as they should, if I uncomment it, I lose the > mouseLeave message. Any one have any ideas??? From see3d at writeme.com Wed Apr 13 13:05:15 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 13 Apr 2005 13:05:15 -0400 Subject: Flexible looping [Was: Making Revolution faster with really big arrays] In-Reply-To: <425D39EA.80004@tweedly.net> References: <8627d0d34296d52e054d055a6dd0a645@writeme.com> <425D39EA.80004@tweedly.net> Message-ID: <1eb3c3139a0e07fc3fd23c69450dc83e@writeme.com> Alex, I see your point and that was my first thought also. After sleeping on it, what I am really suggesting now is not "breaking apart" the repeat structure as much creating an new sequential access method operator(s). This is more flexible than tying it to the loop operator. It means that you have complete control over the separate items and can make them out of sync on purpose (it might even be nice to be able to specify a starting point instead of creating a new chunk --kind of like the skip n lines in a search. For instance, you want to match every line in A with every other item in B. It just happens to be a quirk that the pointers are currently embedded into the repeat for each structure. This would also significantly simplify the possible syntax variations in the repeat structure. The access each line X and the next access X would be paired. Help me out. How can this be specified so that it makes sense for the language? It would have interleave the block structure to be useful. Access each line X in arrayX from line 3 --just creates the pointers and access mode structures do something next access X --grabs X and advances the line pointer end access X --destroys the pointer structure? I would also like it applied to Arrays if the order they come out is deterministic --like the order they were created, or numeric order of a numeric key. And yes, I am all for making the language more readable --self documenting. After all that is one of the points of X-Talk. Dennis On Apr 13, 2005, at 11:25 AM, Alex Tweedly wrote: > Dennis Brown wrote: > >> The Idea is to break apart the essential functional elements of the >> repeat for each control to allow more flexibility. This sample has a >> bit more refinement than what I posted yesterday in Bugzilla. >> >> The new keyword would be "access" , but could be something else. >> >> An example of the use of the new keywords syntax would be: >> >> access each line X in arrayX--initial setup of pointers and X value >> access each item Y in arrayY --initial setup of pointers and Y value >> repeat for number of lines of arrayX times --same as a repeat for each >> put X & comma & Y & return after ArrayXY --merged array >> next line X --puts the next line value in X >> next item Y --if arrayY has fewer elements than arrayX, then empty >> is supplied, could also put "End of String" in the result >> end repeat >> >> Another advantage of this syntax is that it provides for more >> flexibility in structure of loops. You could repeat forever, then >> exit repeat when you run out of values (based on getting an empty >> back). The possibilities for high speed sequential access data >> processing are much expanded which opens up more possibilities for >> Revolution. > > > Dennis, > > I think having more flexible repeat structures to allow parallel > passes through lists or arrays is a really good idea, but I don't like > the form you have suggested. It seems wrong to have separate > statements to setup the loop; as far as I know, the language currently > keeps the meaning of each statement self-contained, so I think this > multi-line form would be a hard one to "sell". > > I think it would be better to add a new keyword to indicate parallel > looping; the primary loop determines the repeat-termination test > criterion, while the others are incremented/advanced in synch. (of > course, using exit allows you to terminate the loop based on the > secondary loops if needed). > > I'd suggest the word "also" since it's not currently used, or perhaps > the phrase "also each". > > So the form would be something like > >> repeat for each line X in xList also item Y in yLine repeat for each >> line X in xList also each item Y in yLine repeat for each line X in >> xList and also each item Y in yLine > > and of course there could be more than 2 : > >> repeat for each line Y in ylist also line x in xlist also item z in >> zlist also item name in namelist ... > > > This would allow the variants > >> repeat forever also each item Z in theList >> repeat for each element E in myArray also each line X in xList >> repeat with i = 1 to 100 also each line X in xList > > etc. > > > And for symmetry, it might also be feasible to allow > >> repeat for each X in Xlist also i = 1 step 1 > > (since there's not a terminating condition in the secondary, it would > confusing to have i = 1 to 100, so simply specify initial and step > values). > > > Similar to this, I'd love to see a method for accessing arrays which > gives both the key and the element. Currently, you can say > repeat for each line K in the keys of myArray > put myArray[k] into V > but most modern languages have something like > for (k,v in myarray) > which gives both key and value without needing to do another hash > lookup. > > And now that I'm started on this topic, I've always envied the > readability of Python's tuple-assignment. I find > x1,y2,x2,y2 = myRectangle > much more obvious than > x1 = myRectangle[0] > y1 = myRectangle[1] > x2 = myRectangle[2] > etc. > > In Transcript, I really wish I could say > put myRectangle as items into x1,y1,x2,y2 > or > put the items of myRectangle into x1,y1,x2,y2 > instead of the clumsy > put item 1 of myRect into X > put item 2 of myRect into Y > etc. > > No performance advantage - but so much more readable. > > -- > Alex Tweedly http://www.tweedly.net > > > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From see3d at writeme.com Wed Apr 13 13:23:26 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 13 Apr 2005 13:23:26 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <9919a4d7a0e4e5392f4bd94d33f9e440@qldlearning.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> <83af55471f384fb607f60ab71f79423a@writeme.com> <9919a4d7a0e4e5392f4bd94d33f9e440@qldlearning.com> Message-ID: <84db9b628220e83b800702465d73fc71@writeme.com> Brian, Can you create a 10000 by 2500 by 100 array of random numbers (sparsely populated i.e. some values are null) in SQL? Can you put the sum of two random accessed numbers (except if one is null then the sum is null) into a third random location? How fast can you do this last thing 25000000 times in SQL. This is the simplest of the things I am doing. If you can do that in SQL in less than a minute, you've got my attention :-) Dennis On Apr 13, 2005, at 12:36 PM, Brian Yennie wrote: > Dennis, > > I guess it's half of each, as I see it (and I misread some of this I > think). > You only need sequential access to the lines and items, but random > access would solve your problems. Random access is even faster than > sequential, and can do everything sequential can. > > From your syntax example: > >> access each line X in arrayX--initial setup of pointers and X value >> access each item Y in arrayY --initial setup of pointers and Y value >> repeat for number of lines of arrayX times --same as a repeat for each >> put X & comma & Y & return after ArrayXY --merged array >> next line X --puts the next line value in X >> next item Y --if arrayY has fewer elements than arrayX, then empty >> is supplied, could also put "End of String" in the result >> end repeat > > In SQL: > > SELECT CONCAT(lineValue, ',' , itemValue) FROM lines, items ORDER BY > lineNumber, itemNumber; > > Give your DB enough RAM to work with and this will fly. The fields > will be indexed once- that's what you are basically saying by "access" > ... "index". Then they'll be retrieved super fast and the sort should > be trivial if the records are already in order in your database. You > could work with a dozen tables at once if you wanted. > > If your still committed to a scripted solution, could you post some of > your actual code- even if the calculations are hidden? Are you using > nested repeat for each? This group (myself included) has been known to > tweak these sorts of things pretty well in the past when there is real > code to work with... > > > - Brian > > >> Thanks Brian, >> >> I don't require random access to the data. I only need sequential >> access. That is why the repeat for each operator works so fast >> --less than a microsecond per data item. I'm not going to match that >> with anything other than RAM. >> >> Dennis >> >> On Apr 12, 2005, at 10:06 PM, Brian Yennie wrote: >> >>> Dennis, >>> >>> I have to agree with Pierre here. If you are looking for random >>> access to many thousands of records taking up gigabytes of memory, a >>> database engine is, IMO, the only logical choice. >>> >>> A simple MySQL/PostgreSQL/Valentina/etc database indexed by line >>> number (or stock symbol) would be very fast. >>> >>> Without indexing your data or fitting all of it into random-access >>> in-memory data structures, you're fighting a painful battle. If you >>> algorithm is scaling out linearly, you'll just run too slow, and if >>> your data size is doing the same you'll run out of memory. On the >>> other hand, database engines can potentially handle _terabytes_ of >>> data and give you random access in milliseconds. You simply won't >>> beat that in Transcript. >>> >>> One thing you could consider if you don't want a whole database >>> engine to deal with, is the feasibility of indexing the data >>> yourself - which will give you some of the algorithmic benefits of a >>> database engine. That is, make one pass where you store the offsets >>> of each line in an index, and then use that to grab lines. Something >>> like (untested): >>> >>> ## index the line starts and ends >>> put 1 into lineNumber >>> put 1 into charNum >>> put 1 into lineStarts[1] >>> repeat for each char c in tData >>> if (c = return) then >>> put (charNum - 1) into lineEnds[lineNumber] >>> put (charNum + 1) into lineStarts[lineNumber + 1] >>> add 1 to lineNumber >>> end if >>> add 1 to charNum >>> end repeat >>> if (c <> return) then put charNum into lineEnds[lineNumber] >>> >>> ## get line x via random char access >>> put char lineStarts[x] to lineEnds[x] of tData into lineX >>> >>> - Brian >>> >>>> Thanks Pierre, >>>> >>>> I considered that also. A Database application would certainly >>>> handle the amount of data, but they are really meant for finding >>>> and sorting various fields, not for doing the kind of processing I >>>> am doing. The disk accessing would slow down the process. >>>> >>>> Dennis >>>> >>>> On Apr 12, 2005, at 5:27 PM, Pierre Sahores wrote: >>>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger.E.Eller at sealedair.com Wed Apr 13 13:31:19 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 13 Apr 2005 13:31:19 -0400 Subject: ANN Getting Nine digit zip codes Message-ID: Jim, 48 seconds on our super-slow-controlled-bandwidth corporate LAN. I will try it later from home on DSL for better results. Roger Eller On 04/13/2005 at 08:55 AM, Jim Hurley wrote: > Please, somebody, let me know how long this > takes you with broadband. Thanks. From dcragg at lacscentre.co.uk Wed Apr 13 13:31:47 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 13 Apr 2005 18:31:47 +0100 Subject: ANN Getting Nine digit zip codes In-Reply-To: <3f07cc260504130900616e573a@mail.gmail.com> References: <3f07cc260504130900616e573a@mail.gmail.com> Message-ID: On 13 Apr 2005, at 17:00, Howard Bornstein wrote: > On 4/13/05, Jim Hurley wrote: >> >> on mouseUp >> put empty into field 1 >> >> put "Selection=" & 1 after tQuery >> put "&" after tQuery >> put "address1=" & urlEncode("123 BROAD ST") after tQuery >> put "&" after tQuery >> put "zipcode=" & 95959 after tQuery >> >> put "http://zip4.usps.com/zip4/zip4_responseA.jsp" into tUrl >> >> post tQuery to url tUrl >> if the result <> empty then >> answer the result >> else >> set the htmltext of field 1 to it >> end if >> >> end mouseUp > > > Jim (or Dave), > > I put this in a card script and tried it and got nothing. Both "the > result" and "it" came back empty. Any ideas? > Not really. Have you tried post with other urls? All I can suggest is to log the transaction (libUrlSetLogField the long id of field "myLog"), and see if that reveals anything. Cheers Dave From scott at tactilemedia.com Wed Apr 13 13:33:57 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Apr 2005 10:33:57 -0700 Subject: How to use parameters with sendMesssage In-Reply-To: Message-ID: Recently, David Burgun wrote: > I can't get this to send the correct paramater handler > > set myRect to 1,2,3,4 > > sendMessage "UpdateData " & myRect to group "Update" > > on UpdateData theRect > end updateData > > UpdateData gets called ok, but "theRect" is set to "1" - the rest of > the list have gone. > > How can I send a Rect as a parameter like this? I'm not really sure how your script works at all. If myRect is a custom property, you have to use "the" in front of it, but I don't think that's what you're after here. Try 'put' instead of 'set': put 1,2,3,4 into myRect sendMessage "UpdateData " & myRect to group "Update" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From gizmotron at earthlink.net Wed Apr 13 13:37:33 2005 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 13 Apr 2005 10:37:33 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <20050413022509.980799300E9@mail.runrev.com> Message-ID: On Tuesday, April 12, 2005, at 07:25 PM, use-revolution-request at lists.runrev.com wrote: > I might be able to suffer with the > chunk specification for the line#, then use a repeat for each item and > put 2500 items in an array. That way I will only need 2500 array items > at any one time instead of 125,000,000 array items per data file. But > I will still have to put 125,000,000 items into array elements and then > read them back out again once per data pass. Perhaps 10-100 times > slower than an "access" keyword instead of 1000-10,000 times slower. I > will do some sample tests and see what I come up with. > > Dennis Dennis, I once used the split function to create almost instant arrays based on 1, 2, 3, etc... as the locations created by the split, ( I call them locations because I'm an old Director user.) This process could work well when you put "2500 items in an array." The split function creates the array without a loop process. Mark From see3d at writeme.com Wed Apr 13 13:55:06 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 13 Apr 2005 13:55:06 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: Message-ID: <3b7adc4309425f29088a3010b88ace6b@writeme.com> Mark, Yes, this is what I am going to do. Thanks, Dennis On Apr 13, 2005, at 1:37 PM, Mark Brownell wrote: > > On Tuesday, April 12, 2005, at 07:25 PM, > use-revolution-request at lists.runrev.com wrote: > >> I might be able to suffer with the >> chunk specification for the line#, then use a repeat for each item and >> put 2500 items in an array. That way I will only need 2500 array >> items >> at any one time instead of 125,000,000 array items per data file. But >> I will still have to put 125,000,000 items into array elements and >> then >> read them back out again once per data pass. Perhaps 10-100 times >> slower than an "access" keyword instead of 1000-10,000 times slower. >> I >> will do some sample tests and see what I come up with. >> >> Dennis > > Dennis, > > I once used the split function to create almost instant arrays based > on 1, 2, 3, etc... as the locations created by the split, ( I call > them locations because I'm an old Director user.) This process could > work well when you put "2500 items in an array." The split function > creates the array without a loop process. > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Apr 13 13:59:16 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Apr 2005 10:59:16 -0700 Subject: There's got to be a better way In-Reply-To: <6bc69aab2b9b52c2c7e45639c683f5fe@yhb.att.ne.jp> References: <20050412224043.766EA930148@mail.runrev.com> <425C69FE.9090303@fourthworld.com> <6bc69aab2b9b52c2c7e45639c683f5fe@yhb.att.ne.jp> Message-ID: <425D5DF4.3040708@fourthworld.com> ron barber wrote: > On Apr 12, 2005, at 7:38 PM, Richard Gaskin wrote: >> Here's a tip to get even better performance (sometimes as much as two >> or three times more): use a field in an unopened window for the >> translation. >> >> When a field is on the current card, even if hidden, it's initialized >> with additional things that don't come into play when accessing a >> field on an unopened card. > > I'm a little confused about the unopened part. > > Is the unopened card on the stack that you are working on but on "cd 2" > or is the unopened cd on a separate stack altogether (a substack for > example)? I thought that refering to a fld in an unopened stack would > open that stack? The field can be on any unopened card to get the optimized performance, whether in the same stack or a substack or a separate stack file. I tend to use a substack to hold miscellaneous parts, so that's why I mentioned a stack, but really any of those will do. Stack files are not "opened" per se when you merely read or write properties or object contents from them, in the sense that they do not appear visually and do not recieve the opening messages (preopenstack, preOpenCard, openStack, openCard, etc.). But stack files are read from disk and loaded into memory in order to access those properties. Substacks, on the other hand, are already in memory if the mainstack is in memory since the entire stack file is read at once. So if the choice is a stack file that's not already open, it will indeed required it to be read into RAM so a substack or second card would be faster. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From gizmotron at earthlink.net Wed Apr 13 14:03:12 2005 From: gizmotron at earthlink.net (Mark Brownell) Date: Wed, 13 Apr 2005 11:03:12 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: Message-ID: <4D243DA3-AC46-11D9-BA7C-000A95743F7A@earthlink.net> On Wednesday, April 13, 2005, at 10:37 AM, Mark Brownell wrote: > Dennis, > > I once used the split function to create almost instant arrays based > on 1, 2, 3, etc... as the locations created by the split, ( I call > them locations because I'm an old Director user.) This process could > work well when you put "2500 items in an array." The split function > creates the array without a loop process. > > Mark OOPs!!! You already got that trick. I'm on digest mode and didn't see that you have this (split by return) function suggested by Dick Kriesel. From dburgun at dsl.pipex.com Wed Apr 13 14:13:40 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 19:13:40 +0100 Subject: How to use parameters with sendMesssage In-Reply-To: References: Message-ID: Hi, It's working now, I just didn't realize you had to put the parameters into the string too! Thanks a lot Dave >Recently, David Burgun wrote: > >> I can't get this to send the correct paramater handler >> >> set myRect to 1,2,3,4 >> >> sendMessage "UpdateData " & myRect to group "Update" >> >> on UpdateData theRect >> end updateData >> >> UpdateData gets called ok, but "theRect" is set to "1" - the rest of >> the list have gone. >> >> How can I send a Rect as a parameter like this? > > >I'm not really sure how your script works at all. If myRect is a custom >property, you have to use "the" in front of it, but I don't think that's >what you're after here. > >Try 'put' instead of 'set': > > put 1,2,3,4 into myRect > sendMessage "UpdateData " & myRect to group "Update" > > >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 rbarber at yhb.att.ne.jp Wed Apr 13 14:38:46 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Wed, 13 Apr 2005 13:38:46 -0500 Subject: There's got to be a better way In-Reply-To: <425D5DF4.3040708@fourthworld.com> References: <20050412224043.766EA930148@mail.runrev.com> <425C69FE.9090303@fourthworld.com> <6bc69aab2b9b52c2c7e45639c683f5fe@yhb.att.ne.jp> <425D5DF4.3040708@fourthworld.com> Message-ID: <3bdd7792aac5a482b274d959c65f2ac5@yhb.att.ne.jp> Thanks Richard, as always, very helpful. Distinguishing 'open' as read into memory and as receiving the openxxx messages was where I was fuzzy. Ron ps - sorry for the personal post, I'll be more patient next time... On Apr 13, 2005, at 12:59 PM, Richard Gaskin wrote: > ron barber wrote: >> On Apr 12, 2005, at 7:38 PM, Richard Gaskin wrote: >>> Here's a tip to get even better performance (sometimes as much as >>> two or three times more): use a field in an unopened window for the >>> translation. >>> >>> When a field is on the current card, even if hidden, it's >>> initialized with additional things that don't come into play when >>> accessing a field on an unopened card. >> I'm a little confused about the unopened part. >> Is the unopened card on the stack that you are working on but on "cd >> 2" or is the unopened cd on a separate stack altogether (a substack >> for example)? I thought that refering to a fld in an unopened stack >> would open that stack? > > The field can be on any unopened card to get the optimized > performance, whether in the same stack or a substack or a separate > stack file. I tend to use a substack to hold miscellaneous parts, so > that's why I mentioned a stack, but really any of those will do. > > Stack files are not "opened" per se when you merely read or write > properties or object contents from them, in the sense that they do not > appear visually and do not recieve the opening messages (preopenstack, > preOpenCard, openStack, openCard, etc.). > > But stack files are read from disk and loaded into memory in order to > access those properties. > > Substacks, on the other hand, are already in memory if the mainstack > is in memory since the entire stack file is read at once. > > So if the choice is a stack file that's not already open, it will > indeed required it to be read into RAM so a substack or second card > would be faster. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From boinjyboing at hotmail.com Wed Apr 13 14:54:31 2005 From: boinjyboing at hotmail.com (Ben Fisher) Date: Wed, 13 Apr 2005 11:54:31 -0700 Subject: Weird number behavior Message-ID: Subtracting 0 from a number makes it bigger? I guess so in Revolution. set the numberformat to "0.#######################" answer 0.91 answer 0.91 - 0 This is documented in the docs under numberFormat, but is causing me problems with some sensitive calculations. I guess you'd run against the same thing with doubles in C++, but at least there are alternatives with better precision (I.e. long double). I wish you could declare a variable so that it would have better precision. -Ben From alex at tweedly.net Wed Apr 13 15:08:36 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 13 Apr 2005 20:08:36 +0100 Subject: Flesxible looping [Was: Making Revolution faster with really big arrays] In-Reply-To: <5917441a5cf7208b4c838ce10d30206d@fjrhome.net> References: <8627d0d34296d52e054d055a6dd0a645@writeme.com> <425D39EA.80004@tweedly.net> <5917441a5cf7208b4c838ce10d30206d@fjrhome.net> Message-ID: <425D6E34.1060803@tweedly.net> Frank D. Engel, Jr. wrote: > > People working on computer languages generally avoid (and with good > reason) adding new keywords. True in general, but this is Transcript, which already has over 250 keywords (a fair number of which have changed in or since 2.0), so I didn't feel the same need to restrain myself :-) But you're right - if it can be done by reusing existing keywords (or operators) that would be better. > Have you considered "and for" rather than "also"? Yes, I did, but was worried that there would be ambiguities with existing usages of 'and' as an operator. (e.g. repeat while x and y is valid today) It's hard to tell when there's no published BNF or formal language description; if 'and for' can be parsed unambiguously, it would be better. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From dburgun at dsl.pipex.com Wed Apr 13 15:10:10 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 20:10:10 +0100 Subject: round and statRound In-Reply-To: References: Message-ID: Hi, I just want to always round a number up, for instance 25.1 25.0000001 25.3 25.5 25.99999 should all be rounded up to 26. The round and statFunctions don't seem to do this, is there a function that does? Thanks Dave From alex at tweedly.net Wed Apr 13 15:19:13 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 13 Apr 2005 20:19:13 +0100 Subject: round and statRound In-Reply-To: References: Message-ID: <425D70B1.5010101@tweedly.net> David Burgun wrote: > Hi, > > I just want to always round a number up, for instance 25.1 25.0000001 > 25.3 25.5 25.99999 should all be rounded up to 26. > > The round and statFunctions don't seem to do this, is there a function > that does? > Don't think there's one built-in. function ceil pVal return ceil(pVal)+1 end ceil -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From bvg at mac.com Wed Apr 13 15:21:09 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 13 Apr 2005 21:21:09 +0200 Subject: round and statRound In-Reply-To: References: Message-ID: <4576e559ffc3622f3e434649eeb3d467@mac.com> no, use: trunc(1.5)+1 On Apr 13 2005, at 21:10, David Burgun wrote: > Hi, > > I just want to always round a number up, for instance 25.1 25.0000001 > 25.3 25.5 25.99999 should all be rounded up to 26. > > The round and statFunctions don't seem to do this, is there a function > that does? > > Thanks > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wouter.abraham at scarlet.be Wed Apr 13 15:25:43 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Wed, 13 Apr 2005 21:25:43 +0200 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <8457e912066f57b48dc2596bbe8e6a8a@mangomultimedia.com> References: <20050413022510.F25059300EA@mail.runrev.com> <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> <8457e912066f57b48dc2596bbe8e6a8a@mangomultimedia.com> Message-ID: <4130909eadf4c70d734ea8a218efb45e@scarlet.be> On 13 Apr 2005, at 18:09, Trevor DeVore wrote: > On Apr 13, 2005, at 3:14 AM, Matt Denton wrote: > >> G'day all >> >> Regular Expression syntax in ReplaceText is driving me a bit loopy >> right now, I was hoping someone out there could work out what I'm >> doing wrong... >> >> I want a single RegEx expression using ReplaceText to strip out >> leading and tailing spaces, leaving any spaces in the middle >> untouched. > > Matt, > > I use this regex to strip whitespace: > > get replaceText(pString, "^[ \t\r\n]+|[ \t\r\n]+$", "") > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com No offence, but this won't strip whitespaces at both ends of a string in one pass. And it is about ten times slower for one pass than: get word 1 to -1 of pString (which does strip leading and ending whitespaces in one pass, but true it is no regex). Gr W. From alex at tweedly.net Wed Apr 13 15:24:17 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 13 Apr 2005 20:24:17 +0100 Subject: round and statRound In-Reply-To: <425D70B1.5010101@tweedly.net> References: <425D70B1.5010101@tweedly.net> Message-ID: <425D71E1.3080409@tweedly.net> Alex Tweedly wrote: > Don't think there's one built-in. > > function ceil pVal > return ceil(pVal)+1 > end ceil > Sorry - I meant return trunc(pVal)+1 -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From dburgun at dsl.pipex.com Wed Apr 13 15:28:44 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 20:28:44 +0100 Subject: round and statRound In-Reply-To: <4576e559ffc3622f3e434649eeb3d467@mac.com> References: <4576e559ffc3622f3e434649eeb3d467@mac.com> Message-ID: >no, use: > >trunc(1.5)+1 Thanks! There should be a mention of this on the round and statRound documentation pages! Cheers Dave From see3d at writeme.com Wed Apr 13 15:36:22 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 13 Apr 2005 15:36:22 -0400 Subject: round and statRound In-Reply-To: <425D71E1.3080409@tweedly.net> References: <425D70B1.5010101@tweedly.net> <425D71E1.3080409@tweedly.net> Message-ID: <588c6c107253588858f7c041aa0f5338@writeme.com> How does this work with even values 1,2,3 you would need to add just less than 1 or test that the number and the trunc are not the same function ceil pVal if trunc(pVal) = pVal then return pVal else return trunc(pVal)+1 end if end ceil Dennis On Apr 13, 2005, at 3:24 PM, Alex Tweedly wrote: > Alex Tweedly wrote: > >> Don't think there's one built-in. >> >> function ceil pVal >> return ceil(pVal)+1 >> end ceil >> > Sorry - I meant > return trunc(pVal)+1 > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From fde101 at fjrhome.net Wed Apr 13 15:37:04 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 13 Apr 2005 15:37:04 -0400 Subject: round and statRound In-Reply-To: References: <4576e559ffc3622f3e434649eeb3d467@mac.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hmm... rounding 2 up with that formula will yield 3 instead of 2; is this what you want? Consider: function ceil x return trunc(x + 0.5) end ceil On Apr 13, 2005, at 3:28 PM, David Burgun wrote: >> no, use: >> >> trunc(1.5)+1 > > Thanks! There should be a mention of this on the round and statRound > documentation pages! > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXXTh7aqtWrR9cZoRAug5AKCLFEoknl8im6wcRq6iZHeIJTejDgCfYHAO 1YcsCaME3TllFCOSp7KhXAw= =fBN+ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Wed Apr 13 15:40:03 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 13 Apr 2005 15:40:03 -0400 Subject: round and statRound In-Reply-To: References: <4576e559ffc3622f3e434649eeb3d467@mac.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ack! Mine is wrong too! Mine is a round function for a language with no round function! On Apr 13, 2005, at 3:37 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hmm... rounding 2 up with that formula will yield 3 instead of 2; is > this what you want? > > Consider: > > function ceil x > return trunc(x + 0.5) > end ceil > > > On Apr 13, 2005, at 3:28 PM, David Burgun wrote: > >>> no, use: >>> >>> trunc(1.5)+1 >> >> Thanks! There should be a mention of this on the round and statRound >> documentation pages! >> >> Cheers >> Dave >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCXXTh7aqtWrR9cZoRAug5AKCLFEoknl8im6wcRq6iZHeIJTejDgCfYHAO > 1YcsCaME3TllFCOSp7KhXAw= > =fBN+ > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXXWT7aqtWrR9cZoRApz/AJ9Q1Qht+7VPJnLi4mnQIhpfeo6ZQwCcDWN+ 4kUqB4SGDocQJk5NvAW7VOo= =hXpo -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From see3d at writeme.com Wed Apr 13 15:41:42 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 13 Apr 2005 15:41:42 -0400 Subject: round and statRound In-Reply-To: <588c6c107253588858f7c041aa0f5338@writeme.com> References: <425D70B1.5010101@tweedly.net> <425D71E1.3080409@tweedly.net> <588c6c107253588858f7c041aa0f5338@writeme.com> Message-ID: <7ee9dc74bd681efb6743b4ab43c6e074@writeme.com> sorry, that should be trunc(pVal+1) On Apr 13, 2005, at 3:36 PM, Dennis Brown wrote: > How does this work with even values 1,2,3 > you would need to add just less than 1 or test that the number and the > trunc are not the same > > function ceil pVal > if trunc(pVal) = pVal then return pVal > else return trunc(pVal+1) --fixed > end if > end ceil > > Dennis > > On Apr 13, 2005, at 3:24 PM, Alex Tweedly wrote: > >> Alex Tweedly wrote: >> >>> Don't think there's one built-in. >>> >>> function ceil pVal >>> return ceil(pVal)+1 >>> end ceil >>> >> Sorry - I meant >> return trunc(pVal)+1 >> >> -- >> Alex Tweedly http://www.tweedly.net >> >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Apr 13 15:40:36 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 13 Apr 2005 14:40:36 -0500 Subject: round and statRound In-Reply-To: <425D71E1.3080409@tweedly.net> References: <425D70B1.5010101@tweedly.net> <425D71E1.3080409@tweedly.net> Message-ID: <425D75B4.2020900@chipp.com> What about? put ceil(25.0) = 26, not the indended result. Try: function ceil pVal if pVal mod trunc(pVal) = 0 then return pVal return trunc(pVal)+1 end function -Chipp Alex Tweedly wrote: > Alex Tweedly wrote: > >> Don't think there's one built-in. >> >> function ceil pVal >> return ceil(pVal)+1 >> end ceil >> > Sorry - I meant > return trunc(pVal)+1 > From bvg at mac.com Wed Apr 13 15:45:49 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 13 Apr 2005 21:45:49 +0200 Subject: round and statRound In-Reply-To: <425D75B4.2020900@chipp.com> References: <425D70B1.5010101@tweedly.net> <425D71E1.3080409@tweedly.net> <425D75B4.2020900@chipp.com> Message-ID: On Apr 13 2005, at 21:40, Chipp Walters wrote: > What about? > > put ceil(25.0) = 26, not the indended result. > > Try: > > function ceil pVal > if pVal mod trunc(pVal) = 0 then return pVal > return trunc(pVal)+1 > end function > > > -Chipp > > Alex Tweedly wrote: >> Alex Tweedly wrote: >>> Don't think there's one built-in. >>> >>> function ceil pVal >>> return ceil(pVal)+1 >>> end ceil >>> >> Sorry - I meant >> return trunc(pVal)+1 I can't believe we needed 10 mails to get that function right :D -- official ChatRev page: http://chatrev.cjb.net Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From dburgun at dsl.pipex.com Wed Apr 13 15:45:54 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 13 Apr 2005 20:45:54 +0100 Subject: round and statRound In-Reply-To: <425D75B4.2020900@chipp.com> References: <425D70B1.5010101@tweedly.net> <425D71E1.3080409@tweedly.net> <425D75B4.2020900@chipp.com> Message-ID: yeah, I solved it with: if Value is not an integer then put truc(Value + 1) into value end if Cheers Dave >What about? > >put ceil(25.0) = 26, not the indended result. > >Try: > >function ceil pVal > if pVal mod trunc(pVal) = 0 then return pVal > return trunc(pVal)+1 >end function > > >-Chipp > >Alex Tweedly wrote: >>Alex Tweedly wrote: >> >>>Don't think there's one built-in. >>> >>>function ceil pVal >>> return ceil(pVal)+1 >>>end ceil >>> >>Sorry - I meant >> return trunc(pVal)+1 >> > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Wed Apr 13 15:47:48 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 13 Apr 2005 12:47:48 -0700 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <4130909eadf4c70d734ea8a218efb45e@scarlet.be> References: <20050413022510.F25059300EA@mail.runrev.com> <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> <8457e912066f57b48dc2596bbe8e6a8a@mangomultimedia.com> <4130909eadf4c70d734ea8a218efb45e@scarlet.be> Message-ID: On Apr 13, 2005, at 12:25 PM, Wouter wrote: > On 13 Apr 2005, at 18:09, Trevor DeVore wrote: >> I use this regex to strip whitespace: >> >> get replaceText(pString, "^[ \t\r\n]+|[ \t\r\n]+$", "") >> > No offence, but this won't strip whitespaces at both ends of a string > in one pass. > And it is about ten times slower for one pass than: get word 1 to -1 > of pString > (which does strip leading and ending whitespaces in one pass, but true > it is no regex). None taken. Your're right. I put that together using my ltrim and rtrim functions and didn't test it. I think the correct regex syntax should be something like this: get matchText(pString, "(?s)^[ \t\r\n]+(.*?)[ \t\r\n]+$", tReturnVal) This will strip leading and trailing whitespace from a multiline string. But given that you say that word 1 to -1 is that much faster I am going to switch to that. Those of us still trying to break away from our previous languages like to complicate things on occasion ;) Is there a way to do ltrim (trim whitespace on left of string) in plain transcript? Right now I just use: function str_lTrim pString get replaceText(pString, "^[ \t\r\n]+", "") return it end str_lTrim -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revdan at danshafer.com Wed Apr 13 14:01:15 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 13 Apr 2005 11:01:15 -0700 Subject: A Cool Freebie for RevCon West Attendees Message-ID: <17e6a242ac812626bad361b1a2a15386@danshafer.com> I am really excited today to announce that Chipp Walters -- who is not only the co-chair of RevCon West in Monterey June 17-18, but is also one of the best software designer/developers in our community -- has put together an amazing product that will be available FREE to all attendees of the conference. Just in time to nudge you over the line of deciding whether to take advantage of our generous $70 savings on a conference admission (which expires Friday, April 15), he comes up with a must-have tool and tosses it into the mix of what you get for joining us in Monterey. He calls it Interface Designer, but I'd call it Interface Magician. It's a palette with which you can turn your plain-old, ordinary-looking stacks with standard colors and control schemes into the kinds of user experiences for which Chipp and his company, Altuit, have become justifiably famous. It is so easy to use that anyone -- even someone like me whose artistic skills stop just short of being able to draw straight lines with a ruler -- can turn out professionally styled stacks and applications in minutes. LIterally. Chipp will put this product on sale some time after the conference. He hasn't yet set a price but if he listens to me (which he does on occasion), it'll cost more than 1/3 of the Early Bird price of $125 for the conference. Get it on this one now, folks. It's going to change fundamentally the way customers and users respond to your applications. Go to the Web site (http://www.altuit.com/webs/altuit/RevConWest) and sign up before the deadline for Early Bird expires on FRIDAY, APRIL 15. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest EARLY BIRD REGISTRATION SAVES $70 AND ENDS APRIL 15! From revdan at danshafer.com Wed Apr 13 16:08:02 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 13 Apr 2005 13:08:02 -0700 Subject: New Guide to the IDE in Process In-Reply-To: <32a42d5bf76a1224f17d99aefca7f836@inspiredlogic.com> References: <818bb6eadb3d27a8d6015affe06634ea@danshafer.com> <32a42d5bf76a1224f17d99aefca7f836@inspiredlogic.com> Message-ID: <7b28ee33ee9c3f47cf873668883d117e@danshafer.com> I didn't know the RunRev Marketing guy's name was Prosser. :-D ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest On Apr 13, 2005, at 8:04 AM, Geoff Canyon wrote: > > On Apr 12, 2005, at 1:15 PM, Dan Shafer wrote: > >> Sigh. >> >> On Apr 12, 2005, at 12:41 PM, Bill wrote: >> >>> This is the link to the last page of the runrev store: >>> >>> http://secure.runrev.com/Merchant2/merchant.mvc? >>> >>> >>> Where your ebooks are (fairly well hidden). > > PROSSER > But Mr. Dent, the plans have been available in the local planning > office for the last nine months. > > ARTHUR > Oh, yes, soon as I heard of this plan, I went straight around to see > them yesterday afternoon. You hadn?t exactly gone out of your way to > call much attention to them, had you? Such as maybe telling someone > about them? > > PROSSER looks more uncomfortable. > > PROSSER > Well, the plans were on display ? > > ARTHUR > On display? I had to go down to the cellar to find them! > > PROSSER > That?s the display department. > > ARTHUR > With a flashlight. > > PROSSER > Well, the lights had probably gone. > > ARTHUR > So had the stairs. > > PROSSER > Er ? well ? you did find them, didn?t you? > > ARTHUR > Oh, yes. Yes, I did. The plans were on display, in the bottom of a > locked filing cabinet, stuck in a disused lavatory, with a sign on the > door reading ?Beware of the Leopard.? > > 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 revdan at danshafer.com Wed Apr 13 16:10:04 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 13 Apr 2005 13:10:04 -0700 Subject: A Cool Freebie for RevCon West Attendees (Resend) Message-ID: <483291b559d827cc950632fb60b7d6c7@danshafer.com> (List...Apologies if this shows up twice. I sent it two hours ago and it hasn't shown up yet so I'm guessing the Big Bit Bucket in the Sky is smacking its lips after devouring it.) I am really excited today to announce that Chipp Walters -- who is not only the co-chair of RevCon West in Monterey June 17-18, but is also one of the best software designer/developers in our community -- has put together an amazing product that will be available FREE to all attendees of the conference. Just in time to nudge you over the line of deciding whether to take advantage of our generous $70 savings on a conference admission (which expires Friday, April 15), he comes up with a must-have tool and tosses it into the mix of what you get for joining us in Monterey. He calls it Interface Designer, but I'd call it Interface Magician. It's a palette with which you can turn your plain-old, ordinary-looking stacks with standard colors and control schemes into the kinds of user experiences for which Chipp and his company, Altuit, have become justifiably famous. It is so easy to use that anyone -- even someone like me whose artistic skills stop just short of being able to draw straight lines with a ruler -- can turn out professionally styled stacks and applications in minutes. LIterally. Chipp will put this product on sale some time after the conference. He hasn't yet set a price but if he listens to me (which he does on occasion), it'll cost more than 1/3 of the Early Bird price of $125 for the conference. Get it on this one now, folks. It's going to change fundamentally the way customers and users respond to your applications. Go to the Web site (http://www.altuit.com/webs/altuit/RevConWest) and sign up before the deadline for Early Bird expires on FRIDAY, APRIL 15. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest EARLY BIRD REGISTRATION SAVES $70 AND ENDS APRIL 15! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Wed Apr 13 16:10:48 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 13 Apr 2005 13:10:48 -0700 Subject: A Cool Freebie for RevCon West Attendees In-Reply-To: <17e6a242ac812626bad361b1a2a15386@danshafer.com> References: <17e6a242ac812626bad361b1a2a15386@danshafer.com> Message-ID: <6d4fb7ce1562fb4b5afef9697ce11ce5@danshafer.com> Wouldn't you know it? One minute after I resend my note, it shows up on the list. Sigh. dan On Apr 13, 2005, at 11:01 AM, Dan Shafer wrote: > I am really excited today to announce that Chipp Walters -- who is not > only the co-chair of RevCon West in Monterey June 17-18, but is also > one of the best software designer/developers in our community -- has > put together an amazing product that will be available FREE to all > attendees of the conference. Just in time to nudge you over the line > of deciding whether to take advantage of our generous $70 savings on a > conference admission (which expires Friday, April 15), he comes up > with a must-have tool and tosses it into the mix of what you get for > joining us in Monterey. > > He calls it Interface Designer, but I'd call it Interface Magician. > It's a palette with which you can turn your plain-old, > ordinary-looking stacks with standard colors and control schemes into > the kinds of user experiences for which Chipp and his company, Altuit, > have become justifiably famous. It is so easy to use that anyone -- > even someone like me whose artistic skills stop just short of being > able to draw straight lines with a ruler -- can turn out > professionally styled stacks and applications in minutes. LIterally. > > Chipp will put this product on sale some time after the conference. He > hasn't yet set a price but if he listens to me (which he does on > occasion), it'll cost more than 1/3 of the Early Bird price of $125 > for the conference. > > Get it on this one now, folks. It's going to change fundamentally the > way customers and users respond to your applications. Go to the Web > site (http://www.altuit.com/webs/altuit/RevConWest) and sign up before > the deadline for Early Bird expires on FRIDAY, APRIL 15. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > EARLY BIRD REGISTRATION SAVES $70 AND ENDS APRIL 15! > _______________________________________________ > 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 Wed Apr 13 16:12:31 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 13 Apr 2005 16:12:31 -0400 Subject: ANN Getting Nine digit zip codes Message-ID: 27 seconds on DSL. > Please, somebody, let me know how long this > takes you with broadband. Thanks. From wouter.abraham at scarlet.be Wed Apr 13 16:26:41 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Wed, 13 Apr 2005 22:26:41 +0200 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: References: <20050413022510.F25059300EA@mail.runrev.com> <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> <8457e912066f57b48dc2596bbe8e6a8a@mangomultimedia.com> <4130909eadf4c70d734ea8a218efb45e@scarlet.be> Message-ID: On 13 Apr 2005, at 21:47, Trevor DeVore wrote: snip > > Is there a way to do ltrim (trim whitespace on left of string) in > plain transcript? Right now I just use: > > function str_lTrim pString > get replaceText(pString, "^[ \t\r\n]+", "") > return it > end str_lTrim > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com In plain transcript one could do: function str_lTrim pString return char 1 to -2 of word 1 to -1 of (it & "x") end str_lTrim But it is about 2 times slower than the regex solution in this case. So the choice is obvious :-) Wouter From b.xavier at internet.lu Wed Apr 13 16:29:06 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 13 Apr 2005 22:29:06 +0200 Subject: Weird number behavior In-Reply-To: Message-ID: <20050413204159.5C2E593005D@mail.runrev.com> let's go wild in humor! > Subtracting 0 from a number makes it bigger? I guess so in Revolution. There's more than one problem with zeros... It's a special hyperprogramming dimention that Rev opens for it's users! ;) Between any two points a curve can hide a monster... said a famous mathematician whose name escapes me... Random of 0 = 1 -- random(0) should be used actually... put 0 ^ 0 = 1 ;) Superstack symmetry can be solved this way actually. Funny or weird starks and buttons are not as reactive in the present field > 1 dimentional reality which is a good thing! if a button reached zero height or width dimentionally it would anilate itself in a a burst of errors and disappear! This happens in our world when you divide by 0... Hey!, who slipped some beer in my jupiler? For the technical limits see the rev limits. In brief The "integer" operations precision is up to 2^(52)+k < 2^53 in rev. Quite limiting in most financial, statistical, astronomical, mathematical fields I can think of! I had hoped 2^64th or infinitesimmaly better ;). Most languages have a limit but I think Hypercard could do 2^48 only... A good thing that statistics are an impresice science as its inventor said (you know me and names! I forgot that one too ;) Mathematica is great here... But after 6 months crunching it crashed before telling me if my prime was a possible prime and disk space wasn't the problem - i have my own prime theory which I thank this list in motivating the inspiration though! That prime number is more than a CD full in ASCII! ;) If anyone is interested in working on a distributed super-large integer library in Rev, im game for it! Hyper-threads! Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Ben Fisher > Sent: Wednesday, April 13, 2005 20:55 > To: use-revolution at lists.runrev.com > Subject: Weird number behavior > > Subtracting 0 from a number makes it bigger? I guess so in Revolution. > > set the numberformat to "0.#######################" > answer 0.91 > answer 0.91 - 0 > > This is documented in the docs under numberFormat, but is > causing me problems with some sensitive calculations. I guess > you'd run against the same thing with doubles in C++, but at > least there are alternatives with better precision (I.e. long > double). I wish you could declare a variable so that it would > have better precision. > > -Ben > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From europe at ehug.info Wed Apr 13 16:30:13 2005 From: europe at ehug.info (Mark Schonewille) Date: Wed, 13 Apr 2005 22:30:13 +0200 Subject: round and statRound In-Reply-To: References: <4576e559ffc3622f3e434649eeb3d467@mac.com> Message-ID: <425D8155.2060405@ehug.info> Hi, While we were talking this over on ChatRev, I came up with this one-line solution: function f2 x return trunc(x)+(itemoffset((x is an integer),"true,false")-1) end f2 (mind line-wraps). If you want to join the discussion, download a client at Don't forget to enter the correct port number 8008. Best, Mark Frank D. Engel, Jr. wrote: > > Ack! Mine is wrong too! > > Mine is a round function for a language with no round function! -- eHUG coordinator mailto:europe at ehug.info fax: +1 501 633 94 04 http://home.wanadoo.nl/mark.sch http://www.ehug.info From janschenkel at yahoo.com Wed Apr 13 16:33:22 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 13 Apr 2005 13:33:22 -0700 (PDT) Subject: New Guide to the IDE in Process In-Reply-To: 6667 Message-ID: <20050413203322.71787.qmail@web60502.mail.yahoo.com> Thanks for spreading the word, Dan : Quartam Reports is not dead at all -- it is moving forward, but at a slower pace than I had hoped. It is becoming increasingly difficult to juggle time between a demanding full-time job, evening classes, my own projects and a relationship. Quartam Reports is a project that I do 'on top of' everything else. In the next few days I will finalise and make available the Public Beta for your testing pleasures. However, I am not going to do so before I've ironed out just a few more quirks and feel happy with what I deliver. Best regards, Jan Schenkel. ==== Quartam - Tools for Revolution --- Dan Shafer wrote: > I talked tonight with Jan Schenkel, the developer of > Quartam Reports. > He tells me development is definitely proceeding > apace. Look for him to > have something to say on this subject in the next > couple of days. > > On Apr 12, 2005, at 11:02 AM, Bill wrote: > > > Quartam reports may never be released > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jacque at hyperactivesw.com Wed Apr 13 16:45:52 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Apr 2005 15:45:52 -0500 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> References: <20050413022510.F25059300EA@mail.runrev.com> <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> Message-ID: <425D8500.7070101@hyperactivesw.com> On 4/13/05 5:14 AM, Matt Denton wrote: > I want a single RegEx expression using ReplaceText to strip out leading > and tailing spaces, leaving any spaces in the middle untouched. For this particular case where you don't want to remove internal spacing, I like to use regular transcript: get word 1 to -1 of tSomeText Easy, and no regex. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From howard.bornstein at gmail.com Wed Apr 13 17:27:15 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 13 Apr 2005 17:27:15 -0400 Subject: ANN Getting Nine digit zip codes In-Reply-To: References: Message-ID: <3f07cc260504131427181a9d2e@mail.gmail.com> On 4/13/05, Dave Cragg wrote: > > > > Jim (or Dave), > > > > I put this in a card script and tried it and got nothing. Both "the > > result" and "it" came back empty. Any ideas? > > > > Not really. > > Have you tried post with other urls? > > All I can suggest is to log the transaction (libUrlSetLogField the long > id of field "myLog"), and see if that reveals anything. > > Cheers > Dave Sorry. My stupid mistake. For some reason I was expecting the result to be just a simple text string. So, as Jim suggested to me in another email, I had the text field way too small, so it appeared like nothing was in it. It did show the whole page when I made the field bigger. -- Regards, Howard Bornstein ----------------------- www.designeq.com From howard.bornstein at gmail.com Wed Apr 13 17:32:56 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 13 Apr 2005 17:32:56 -0400 Subject: custom prop by 1's? In-Reply-To: References: Message-ID: <3f07cc26050413143256c1fc8f@mail.gmail.com> On 4/13/05, Richard Gaskin wrote: > I had submitted an enhancement request to BZ some months ago for that, > but for some odd reason I can't find it in there now.... > Maybe we need to add a BugzillaRequestNotHandled token. ;-) Thanks for the info. -- Regards, Howard Bornstein ----------------------- www.designeq.com From rev at armbase.com Wed Apr 13 17:47:35 2005 From: rev at armbase.com (Bob Hartley) Date: Wed, 13 Apr 2005 22:47:35 +0100 Subject: user-movable fields In-Reply-To: References: <20050406004851.442DF930151@mail.runrev.com> Message-ID: <6.2.1.2.0.20050413224236.04030da8@mail.armbase.com> At 05:40 06/04/2005, you wrote: >Thank you all! > >I just put a demo of the user-movable fields, and an example of how it >might be useful, in the user spaces of revonline-- "User movable fields", >under programming. > >This is so cool-- when I first thought of it this morning, I figured it >would take arduous programming. Amazing. Smart Rev--very RAD. OK this has been done in one of my unfinished apps... see my user space NIJINSKY and the stack move and resize via drag and drop. make a text field and put this into its script on mouseDown if the controlKey is down then grab me end if end mouseDown on mouseStillDown if the altKey is down then put the rect of me into tRect put the mouseH into item 3 of tRect put the mouseV into item 4 of tRect set the rect of me to tRect end if end mouseStillDown on mouseWithin if the optionKey is down then if the lockText of me is false then set the lockText of me to true end if else if the lockText of me is true then set the lockText of me to false end if end if end mouseWithin Then use control and alt to move and resize it. :-) Neat ehhhh :-) Cheers Bob >Sandy (aka Troutfoot) > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > > >-- >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 05/04/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.8 - Release Date: 13/04/2005 From gjbalzano at ucsd.edu Wed Apr 13 17:56:07 2005 From: gjbalzano at ucsd.edu (Jerry Balzano) Date: Wed, 13 Apr 2005 14:56:07 -0700 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: <425D233A.3020307@tweedly.net> References: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> <425D233A.3020307@tweedly.net> Message-ID: On Apr 13, 2005, at 6:48 AM, Alex Tweedly wrote: > btw - BZ 2138 (can't run apps by double-click) is an Enhancement > request - since the docs don't claim it should be possible, I couldn't > find any excuse to make it a "bug" rather than an enhancement request; > that may be another reason it hasn't been fixed yet. Given the universality of the double-click-document-lauch-application paradigm, I'd say that the reason it's not in the docs is that **it is generally assumed to hold true**. Surely we can think of many "obvious" characteristics that wouldn't be "in the docs" but would be taken as a bug if they didn't hold true. So I don't accept the "in the docs" as a criterion for bughood. (This is all the more true given the admittedly sketchy nature of the docs; why would there be any need e.g. for Dan Shafer to write an eBook on the IDE if the docs were in any sense comprehensive?) While I'm at it, I also object to the "counsel-of-despair" attitude of not voting for bugs just because one hasn't reviewed all of bugzilla. The idea that there may be "more important bugs" that you haven't run across in your day-to-day transactions with Rev doesn't make sense to me. I think as users we need to trust -- if nothing else -- the idea of our interactions with Rev as a reasonable sample of possible interactions. So bugs that persistently get in our way are worth noting for that reason alone. Bugs that never darken our doors are by definition not critical to the (or at least our) day-to-day experience using Rev. When someone encounters what looks like a bug, they mention it to this list. If it's already been bugzilla-ed (and therefore already encountered as a problem by at least one other user), someone generally responds to inform the original mentioner of that fact. If it's been a very recent topic of conversation, the mentioner might even get (gently) chided for not paying close enough attention to the list. Clearly, reading all of (or even a sizeable fraction of) bugzilla is not a reasonable practice to expect of Rev users; if that were the criterion for legitimate voting for bugs, it would never be legitimate for most of us to vote on anything (folks like Richard aside). What *is* a reasonable practice to expect, when one finds a bug, is for one to do a quick search of the list archive to look for potentially useful/relevant information, and failing on that score, mentioning it the list. Perhaps I'll be in the minority on this issue too, like I was on Dan reporting on "third party" products and plugins (Dan, you never addressed the "looking over D Shafer's shoulder" mindset that I would think you'd welcome on the part of potential readers; omitting third-party products that you use all the time would at best weaken this possibility and at worst mislead ... end parenthetical). But I thought I'd try nonetheless, both on this specific bug#2138 and on the general "get out the vote" aesthetic. Not despairing yet, Jerry From see3d at writeme.com Wed Apr 13 18:09:28 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 13 Apr 2005 18:09:28 -0400 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: References: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> <425D233A.3020307@tweedly.net> Message-ID: <97665f2933617445bc86f549da4ce57d@writeme.com> I agree, If you use all your votes up, and then want to vote for something else, you can always at that point review what you voted on and take some votes away from lower priority bugs so you can put them onto the new item. That way you can prioritize your votes for the things that have bothered you. It is RR managers job to prioritize the whole list. The votes are just a help in deciding how important the issue is to the users who care. If you don't vote, don't complain about the choices made for you. Dennis On Apr 13, 2005, at 5:56 PM, Jerry Balzano wrote: > On Apr 13, 2005, at 6:48 AM, Alex Tweedly wrote: > >> btw - BZ 2138 (can't run apps by double-click) is an Enhancement >> request - since the docs don't claim it should be possible, I >> couldn't find any excuse to make it a "bug" rather than an >> enhancement request; that may be another reason it hasn't been fixed >> yet. > > > Given the universality of the double-click-document-lauch-application > paradigm, I'd say that the reason it's not in the docs is that **it is > generally assumed to hold true**. Surely we can think of many > "obvious" characteristics that wouldn't be "in the docs" but would be > taken as a bug if they didn't hold true. So I don't accept the "in > the docs" as a criterion for bughood. (This is all the more true > given the admittedly sketchy nature of the docs; why would there be > any need e.g. for Dan Shafer to write an eBook on the IDE if the docs > were in any sense comprehensive?) > > While I'm at it, I also object to the "counsel-of-despair" attitude of > not voting for bugs just because one hasn't reviewed all of bugzilla. > The idea that there may be "more important bugs" that you haven't run > across in your day-to-day transactions with Rev doesn't make sense to > me. I think as users we need to trust -- if nothing else -- the idea > of our interactions with Rev as a reasonable sample of possible > interactions. So bugs that persistently get in our way are worth > noting for that reason alone. Bugs that never darken our doors are by > definition not critical to the (or at least our) day-to-day experience > using Rev. When someone encounters what looks like a bug, they > mention it to this list. If it's already been bugzilla-ed (and > therefore already encountered as a problem by at least one other > user), someone generally responds to inform the original mentioner of > that fact. If it's been a very recent topic of conversation, the > mentioner might even get (gently) chided for not paying close enough > attention to the list. > > Clearly, reading all of (or even a sizeable fraction of) bugzilla is > not a reasonable practice to expect of Rev users; if that were the > criterion for legitimate voting for bugs, it would never be legitimate > for most of us to vote on anything (folks like Richard aside). What > *is* a reasonable practice to expect, when one finds a bug, is for one > to do a quick search of the list archive to look for potentially > useful/relevant information, and failing on that score, mentioning it > the list. > > Perhaps I'll be in the minority on this issue too, like I was on Dan > reporting on "third party" products and plugins (Dan, you never > addressed the "looking over D Shafer's shoulder" mindset that I would > think you'd welcome on the part of potential readers; omitting > third-party products that you use all the time would at best weaken > this possibility and at worst mislead ... end parenthetical). But I > thought I'd try nonetheless, both on this specific bug#2138 and on the > general "get out the vote" aesthetic. > > Not despairing yet, > Jerry > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Wed Apr 13 18:55:59 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 13 Apr 2005 23:55:59 +0100 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: References: <20050413022510.F25059300EA@mail.runrev.com> <77265dd10ae289c25f68e730eb8f5c11@limelight.com.au> <8457e912066f57b48dc2596bbe8e6a8a@mangomultimedia.com> <4130909eadf4c70d734ea8a218efb45e@scarlet.be> Message-ID: <425DA37F.3000005@tweedly.net> Trevor DeVore wrote: > This will strip leading and trailing whitespace from a multiline > string. But given that you say that word 1 to -1 is that much faster > I am going to switch to that. Those of us still trying to break away > from our previous languages like to complicate things on occasion ;) > > Is there a way to do ltrim (trim whitespace on left of string) in > plain transcript? Right now I just use: > > function str_lTrim pString > get replaceText(pString, "^[ \t\r\n]+", "") > return it > end str_lTrim > > function str_lTrim pString if word 1 of pString is empty then return empty -- deal with case of all whitespace return char (offset(word 1 of pString, pString)) to -1 of pString end pString The timings are fairly data dependent, but this is about 20% faster for most cases, and not slower for any I found. If you know you aren't dealing with all-whitespace strings, you can remove that test line, and get another 10% improvement. You can take any of those and improve by another 5% by passing the parameter by reference; avoids a data copy, and since you don't modify it, there's no downside. BUT - in all those cases, the overhead of the function call is far more significant than the actual operation, so you can get another 50% saving by doing the replaceText (or chunk test) in-line rather than as a function. You may prefer to use the function anyway for the sake of code that is easier to read - but if you have one or two crucial spots, it may be worth in-lining the operation.. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From alex at tweedly.net Wed Apr 13 19:03:33 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 14 Apr 2005 00:03:33 +0100 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: References: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> <425D233A.3020307@tweedly.net> Message-ID: <425DA545.5030802@tweedly.net> Jerry Balzano wrote: > On Apr 13, 2005, at 6:48 AM, Alex Tweedly wrote: > >> btw - BZ 2138 (can't run apps by double-click) is an Enhancement >> request - since the docs don't claim it should be possible, I >> couldn't find any excuse to make it a "bug" rather than an >> enhancement request; that may be another reason it hasn't been fixed >> yet. > > Given the universality of the double-click-document-lauch-application > paradigm, I'd say that the reason it's not in the docs is that **it is > generally assumed to hold true**. Surely we can think of many > "obvious" characteristics that wouldn't be "in the docs" but would be > taken as a bug if they didn't hold true. So I don't accept the "in > the docs" as a criterion for bughood. (This is all the more true > given the admittedly sketchy nature of the docs; why would there be > any need e.g. for Dan Shafer to write an eBook on the IDE if the docs > were in any sense comprehensive?) I might have taken a different attitude now - but I was very new to Runrev at the time, and so a bit more tentative. Also, since the installation had NOT made the file association, there was an implication that it was not intended to allow that mode of starting. > While I'm at it, I also object to the "counsel-of-despair" attitude of > not voting for bugs just because one hasn't reviewed all of bugzilla. > Perhaps I'll be in the minority on this issue too, like I was on Dan > reporting on "third party" products and plugins (Dan, you never > addressed the "looking over D Shafer's shoulder" mindset that I would > think you'd welcome on the part of potential readers; omitting > third-party products that you use all the time would at best weaken > this possibility and at worst mislead ... end parenthetical). But I > thought I'd try nonetheless, both on this specific bug#2138 and on the > general "get out the vote" aesthetic. > > Not despairing yet, > Jerry Sorry, I guess I didn't express it well enough. There is no "despair" in how I feel about it - I really DO trust RR managers to make reasonable choices most of the time, and hence didn't feel a need to vote. Not despairing at all, Alex. P.S. but you convinced me I should cast my votes - will start doing that now. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From briany at qldlearning.com Wed Apr 13 19:20:15 2005 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 13 Apr 2005 16:20:15 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <84db9b628220e83b800702465d73fc71@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> <83af55471f384fb607f60ab71f79423a@writeme.com> <9919a4d7a0e4e5392f4bd94d33f9e440@qldlearning.com> <84db9b628220e83b800702465d73fc71@writeme.com> Message-ID: <2a239776fdc17e90e376841636893ff3@qldlearning.com> > Brian, > > Can you create a 10000 by 2500 by 100 array of random numbers > (sparsely populated i.e. some values are null) in SQL? Sure. There would be a few ways to do it, but for instance: INSERT INTO someTable10000 (someValue10000) VALUES ( (1), (3), (46), (23), (12), (NULL), (8), (NULL), ...); INSERT INTO someTable2500 (someValue2500) VALUES ( (2), (4), (NULL), (NULL), (2), (NULL), (98), (NULL), ...); INSERT INTO someTable100 (someValue100) VALUES ( (11), (31), (426), (2.3), (1.22), (NULL), (NULL), (NULL), ...); > Can you put the sum of two random accessed numbers (except if one is > null then the sum is null) into a third random location? SELECT IFNULL(someValue10000, NULL, IFNULL(someValue2500, NULL, (someValue10000 + someValue2500))) FROM someTable10000, someTable2500 ORDER BY RAND(25000000); > How fast can you do this last thing 25000000 times in SQL. > This is the simplest of the things I am doing. > If you can do that in SQL in less than a minute, you've got my > attention :-) Would have to try it, but I'd say you've got a shot. Your scripting ideas have merit also, this one just felt like database to me... -Brian From kray at sonsothunder.com Wed Apr 13 19:49:28 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 13 Apr 2005 18:49:28 -0500 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: Message-ID: On 4/13/05 2:47 PM, "Trevor DeVore" wrote: > get matchText(pString, "(?s)^[ \t\r\n]+(.*?)[ \t\r\n]+$", tReturnVal) > > This will strip leading and trailing whitespace from a multiline > string. But given that you say that word 1 to -1 is that much faster I > am going to switch to that. Those of us still trying to break away > from our previous languages like to complicate things on occasion ;) Unfortunately neither your nor the "word 1 to -1" solution will take into account hard spaces (non-breaking spaces) that could be part of the whitespace on either side of the string. So to fix that, you would need to use: get matchText(pWhat, "(?s)^\s+(.*?)\s+$", tReturnVal) I agree that the "word 1 to -1" solution will do what you want 95+% of the time, but just wanted to make sure that everyone knew there was at least one 'hole' in that approach in case anyone cared. ;-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Wed Apr 13 20:00:55 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 13 Apr 2005 19:00:55 -0500 Subject: Copy Command Question In-Reply-To: Message-ID: On 4/13/05 5:27 AM, "Eric Chatonet" wrote: > In one line, I am afraid not :-) > But in two lines: > > copy grc "TemplateRect" to this card > set the name of last grc to "G-" & the ID of last grc You can also use "it", since the newly created object is stored in "it": copy grc "TemplateRect" to this card set the name of it to "G-" & (the ID of it) And if you want to fudge it into one line, you can use a semicolon (watch line wraps): copy grc "TemplateRect" to this card;set the name of it to "G-" & (the ID of it) I know, it's cheating, but it *is* one line... :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lists at mangomultimedia.com Wed Apr 13 20:22:59 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 13 Apr 2005 17:22:59 -0700 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: References: Message-ID: <705bcf15c5cc2d7565591c57e29c8714@mangomultimedia.com> On Apr 13, 2005, at 4:49 PM, Ken Ray wrote: > get matchText(pWhat, "(?s)^\s+(.*?)\s+$", tReturnVal) > > I agree that the "word 1 to -1" solution will do what you want 95+% of > the > time, but just wanted to make sure that everyone knew there was at > least one > 'hole' in that approach in case anyone cared. ;-) Ah, good catch Ken. I think the only thing that needs changing is the "+" sign after the \s. With this version if there is no white space at the beginning or end of the string then no result is returned in tReturnVal. So the modified (and hopefully all-encompassing) version is: get matchText(pWhat, "(?s)^\s*(.*?)\s*$", tReturnVal) Of course this may be missing something obvious too given my track record today. Maybe it is time for a vacation... -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From briany at qldlearning.com Wed Apr 13 20:32:41 2005 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 13 Apr 2005 17:32:41 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <84db9b628220e83b800702465d73fc71@writeme.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> <83af55471f384fb607f60ab71f79423a@writeme.com> <9919a4d7a0e4e5392f4bd94d33f9e440@qldlearning.com> <84db9b628220e83b800702465d73fc71@writeme.com> Message-ID: <28dc710abe971e88cb0f6aeacbafc8f0@qldlearning.com> Dennis, I through together a real rough test- just some tables with random values 0-1000. SELECT (v10000 + v2500) FROM values10000,values2500 LIMIT 500000; This ran for me in about 10-15 seconds off of a G4 XServe with 1GB memory. Note that I only had enough free memory to do chunks of 500,000 so it looks like around a minute for all 2,500,000 combinations. This with all of the database on-disk and no optimizations / tweaking... so it should be an upper limit. How is the most recent scripted solution timing out for you? - Brian > Brian, > > Can you create a 10000 by 2500 by 100 array of random numbers > (sparsely populated i.e. some values are null) in SQL? > > Can you put the sum of two random accessed numbers (except if one is > null then the sum is null) into a third random location? > > How fast can you do this last thing 25000000 times in SQL. > This is the simplest of the things I am doing. > If you can do that in SQL in less than a minute, you've got my > attention :-) > > Dennis > > On Apr 13, 2005, at 12:36 PM, Brian Yennie wrote: > >> Dennis, >> >> I guess it's half of each, as I see it (and I misread some of this I >> think). >> You only need sequential access to the lines and items, but random >> access would solve your problems. Random access is even faster than >> sequential, and can do everything sequential can. >> >> From your syntax example: >> >>> access each line X in arrayX--initial setup of pointers and X value >>> access each item Y in arrayY --initial setup of pointers and Y value >>> repeat for number of lines of arrayX times --same as a repeat for >>> each >>> put X & comma & Y & return after ArrayXY --merged array >>> next line X --puts the next line value in X >>> next item Y --if arrayY has fewer elements than arrayX, then >>> empty is supplied, could also put "End of String" in the result >>> end repeat >> >> In SQL: >> >> SELECT CONCAT(lineValue, ',' , itemValue) FROM lines, items ORDER BY >> lineNumber, itemNumber; >> >> Give your DB enough RAM to work with and this will fly. The fields >> will be indexed once- that's what you are basically saying by >> "access" ... "index". Then they'll be retrieved super fast and the >> sort should be trivial if the records are already in order in your >> database. You could work with a dozen tables at once if you wanted. >> >> If your still committed to a scripted solution, could you post some >> of your actual code- even if the calculations are hidden? Are you >> using nested repeat for each? This group (myself included) has been >> known to tweak these sorts of things pretty well in the past when >> there is real code to work with... >> >> >> - Brian >> >> >>> Thanks Brian, >>> >>> I don't require random access to the data. I only need sequential >>> access. That is why the repeat for each operator works so fast >>> --less than a microsecond per data item. I'm not going to match >>> that with anything other than RAM. >>> >>> Dennis >>> >>> On Apr 12, 2005, at 10:06 PM, Brian Yennie wrote: >>> >>>> Dennis, >>>> >>>> I have to agree with Pierre here. If you are looking for random >>>> access to many thousands of records taking up gigabytes of memory, >>>> a database engine is, IMO, the only logical choice. >>>> >>>> A simple MySQL/PostgreSQL/Valentina/etc database indexed by line >>>> number (or stock symbol) would be very fast. >>>> >>>> Without indexing your data or fitting all of it into random-access >>>> in-memory data structures, you're fighting a painful battle. If you >>>> algorithm is scaling out linearly, you'll just run too slow, and if >>>> your data size is doing the same you'll run out of memory. On the >>>> other hand, database engines can potentially handle _terabytes_ of >>>> data and give you random access in milliseconds. You simply won't >>>> beat that in Transcript. >>>> >>>> One thing you could consider if you don't want a whole database >>>> engine to deal with, is the feasibility of indexing the data >>>> yourself - which will give you some of the algorithmic benefits of >>>> a database engine. That is, make one pass where you store the >>>> offsets of each line in an index, and then use that to grab lines. >>>> Something like (untested): >>>> >>>> ## index the line starts and ends >>>> put 1 into lineNumber >>>> put 1 into charNum >>>> put 1 into lineStarts[1] >>>> repeat for each char c in tData >>>> if (c = return) then >>>> put (charNum - 1) into lineEnds[lineNumber] >>>> put (charNum + 1) into lineStarts[lineNumber + 1] >>>> add 1 to lineNumber >>>> end if >>>> add 1 to charNum >>>> end repeat >>>> if (c <> return) then put charNum into lineEnds[lineNumber] >>>> >>>> ## get line x via random char access >>>> put char lineStarts[x] to lineEnds[x] of tData into lineX >>>> >>>> - Brian >>>> >>>>> Thanks Pierre, >>>>> >>>>> I considered that also. A Database application would certainly >>>>> handle the amount of data, but they are really meant for finding >>>>> and sorting various fields, not for doing the kind of processing I >>>>> am doing. The disk accessing would slow down the process. >>>>> >>>>> Dennis >>>>> >>>>> On Apr 12, 2005, at 5:27 PM, Pierre Sahores wrote: >>>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From kray at sonsothunder.com Wed Apr 13 21:12:22 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 13 Apr 2005 20:12:22 -0500 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <705bcf15c5cc2d7565591c57e29c8714@mangomultimedia.com> Message-ID: On 4/13/05 7:22 PM, "Trevor DeVore" wrote: > On Apr 13, 2005, at 4:49 PM, Ken Ray wrote: >> get matchText(pWhat, "(?s)^\s+(.*?)\s+$", tReturnVal) >> >> I agree that the "word 1 to -1" solution will do what you want 95+% of >> the >> time, but just wanted to make sure that everyone knew there was at >> least one >> 'hole' in that approach in case anyone cared. ;-) > > Ah, good catch Ken. I think the only thing that needs changing is the > "+" sign after the \s. With this version if there is no white space at > the beginning or end of the string then no result is returned in > tReturnVal. So the modified (and hopefully all-encompassing) version > is: > > get matchText(pWhat, "(?s)^\s*(.*?)\s*$", tReturnVal) Equally good catch, Trevor... I'll update my library. :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From see3d at writeme.com Wed Apr 13 21:15:16 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 13 Apr 2005 21:15:16 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <28dc710abe971e88cb0f6aeacbafc8f0@qldlearning.com> References: <96b1014758697610695f6c02fc0c2494@writeme.com> <4579f5d6718ede06fcc665effe47850c@easynet.fr> <526b06380ce5f1febba307b727de2a17@writeme.com> <83af55471f384fb607f60ab71f79423a@writeme.com> <9919a4d7a0e4e5392f4bd94d33f9e440@qldlearning.com> <84db9b628220e83b800702465d73fc71@writeme.com> <28dc710abe971e88cb0f6aeacbafc8f0@qldlearning.com> Message-ID: <14803ed292715cfab2a617d816e7ba84@writeme.com> Brian, I am running on a 1.8 GHz single processor G5 Tower. With my data put into an array it takes about 9 sec to access each value. With my data in a variable, it takes about 1.5 sec to access each value sequentially. I don't have the new approach written yet (got side tracked on the graphing routines), but if I did it the slow way (no split), it would take about 20 sec to load the array, then 10 sec to access two arrays or 30 sec total. Of course if I could access both arrays at the same time sequentially, it would take 3 seconds. Sounds like the scripting solution is the faster way to go in the normal case. Thanks for running the test. It finally gives me a basis for deciding which way to go. It is clear that without better sequential access methods, the difference is far less than the order of magnitude difference I was expecting. Dennis On Apr 13, 2005, at 8:32 PM, Brian Yennie wrote: > Dennis, > > I through together a real rough test- just some tables with random > values 0-1000. > > SELECT (v10000 + v2500) FROM values10000,values2500 LIMIT 500000; > > This ran for me in about 10-15 seconds off of a G4 XServe with 1GB > memory. Note that I only had enough free memory to do chunks of > 500,000 so it looks like around a minute for all 2,500,000 > combinations. > > This with all of the database on-disk and no optimizations / > tweaking... so it should be an upper limit. > > How is the most recent scripted solution timing out for you? > > - Brian > >> Brian, >> >> Can you create a 10000 by 2500 by 100 array of random numbers >> (sparsely populated i.e. some values are null) in SQL? >> >> Can you put the sum of two random accessed numbers (except if one is >> null then the sum is null) into a third random location? >> >> How fast can you do this last thing 25000000 times in SQL. >> This is the simplest of the things I am doing. >> If you can do that in SQL in less than a minute, you've got my >> attention :-) >> >> Dennis >> >> On Apr 13, 2005, at 12:36 PM, Brian Yennie wrote: >> >>> Dennis, >>> >>> I guess it's half of each, as I see it (and I misread some of this I >>> think). >>> You only need sequential access to the lines and items, but random >>> access would solve your problems. Random access is even faster than >>> sequential, and can do everything sequential can. >>> >>> From your syntax example: >>> >>>> access each line X in arrayX--initial setup of pointers and X value >>>> access each item Y in arrayY --initial setup of pointers and Y value >>>> repeat for number of lines of arrayX times --same as a repeat for >>>> each >>>> put X & comma & Y & return after ArrayXY --merged array >>>> next line X --puts the next line value in X >>>> next item Y --if arrayY has fewer elements than arrayX, then >>>> empty is supplied, could also put "End of String" in the result >>>> end repeat >>> >>> In SQL: >>> >>> SELECT CONCAT(lineValue, ',' , itemValue) FROM lines, items ORDER BY >>> lineNumber, itemNumber; >>> >>> Give your DB enough RAM to work with and this will fly. The fields >>> will be indexed once- that's what you are basically saying by >>> "access" ... "index". Then they'll be retrieved super fast and the >>> sort should be trivial if the records are already in order in your >>> database. You could work with a dozen tables at once if you wanted. >>> >>> If your still committed to a scripted solution, could you post some >>> of your actual code- even if the calculations are hidden? Are you >>> using nested repeat for each? This group (myself included) has been >>> known to tweak these sorts of things pretty well in the past when >>> there is real code to work with... >>> >>> >>> - Brian >>> >>> >>>> Thanks Brian, >>>> >>>> I don't require random access to the data. I only need sequential >>>> access. That is why the repeat for each operator works so fast >>>> --less than a microsecond per data item. I'm not going to match >>>> that with anything other than RAM. >>>> >>>> Dennis >>>> >>>> On Apr 12, 2005, at 10:06 PM, Brian Yennie wrote: >>>> >>>>> Dennis, >>>>> >>>>> I have to agree with Pierre here. If you are looking for random >>>>> access to many thousands of records taking up gigabytes of memory, >>>>> a database engine is, IMO, the only logical choice. >>>>> >>>>> A simple MySQL/PostgreSQL/Valentina/etc database indexed by line >>>>> number (or stock symbol) would be very fast. >>>>> >>>>> Without indexing your data or fitting all of it into random-access >>>>> in-memory data structures, you're fighting a painful battle. If >>>>> you algorithm is scaling out linearly, you'll just run too slow, >>>>> and if your data size is doing the same you'll run out of memory. >>>>> On the other hand, database engines can potentially handle >>>>> _terabytes_ of data and give you random access in milliseconds. >>>>> You simply won't beat that in Transcript. >>>>> >>>>> One thing you could consider if you don't want a whole database >>>>> engine to deal with, is the feasibility of indexing the data >>>>> yourself - which will give you some of the algorithmic benefits of >>>>> a database engine. That is, make one pass where you store the >>>>> offsets of each line in an index, and then use that to grab lines. >>>>> Something like (untested): >>>>> >>>>> ## index the line starts and ends >>>>> put 1 into lineNumber >>>>> put 1 into charNum >>>>> put 1 into lineStarts[1] >>>>> repeat for each char c in tData >>>>> if (c = return) then >>>>> put (charNum - 1) into lineEnds[lineNumber] >>>>> put (charNum + 1) into lineStarts[lineNumber + 1] >>>>> add 1 to lineNumber >>>>> end if >>>>> add 1 to charNum >>>>> end repeat >>>>> if (c <> return) then put charNum into lineEnds[lineNumber] >>>>> >>>>> ## get line x via random char access >>>>> put char lineStarts[x] to lineEnds[x] of tData into lineX >>>>> >>>>> - Brian >>>>> >>>>>> Thanks Pierre, >>>>>> >>>>>> I considered that also. A Database application would certainly >>>>>> handle the amount of data, but they are really meant for finding >>>>>> and sorting various fields, not for doing the kind of processing >>>>>> I am doing. The disk accessing would slow down the process. >>>>>> >>>>>> Dennis >>>>>> >>>>>> On Apr 12, 2005, at 5:27 PM, Pierre Sahores wrote: >>>>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Thu Apr 14 00:08:02 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 14 Apr 2005 14:08:02 +1000 Subject: Creating & Using Tabs tutorial In-Reply-To: References: Message-ID: <963ea2efe28a9bbdd51475f65f204120@genesearch.com.au> Hi Judy, Good tutorial and the PDF is a neat touch and very well put together. However I suggest you have a look at the "menuPick" message which makes handling tabs much easier. When using one card per tab, here is the script I use: on menuPick pCardName go to card pCardName end menuPick For tabs where you are hiding and showing groups, it is made easy by the fact that for tabbed buttons, the menuPick has 2 parameters: the tab just chosen and the tab previously chosen, so you cna use this: on menuPick pNewGroup, pOldGroup hide group pOldGroup show group pNewGroup end menuPick Cheers, Sarah From sarahr at genesearch.com.au Thu Apr 14 00:28:59 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 14 Apr 2005 14:28:59 +1000 Subject: Shrinking Mac stack In-Reply-To: <4251A6BB.2010407@chipp.com> References: <4251973F.1090207@hyperactivesw.com> <4251A6BB.2010407@chipp.com> Message-ID: <6f5157bf3afa46dd6e690e96c94946d6@genesearch.com.au> > For those of you who've come lately to this, the problem was simple. > How to add menus for both Mac and PC to an existing stack *without* > ever resizing the existing stack. > > As you all probably know, the minute you add a menu to a stack, it's > height is recalculated whenever it opens on a different platform. The > reason is that the menubar is 'on the card' for the PC, but at the top > of the screen for the Mac. So, when viewing the stack on the Mac, the > stack is automatically reduced in height by the amount of the menubar > (thus screwing up my carefully rendered screen layout;-). > > bummer, especially if you don't want this behavior. > > So, Richard's idea was pretty straightforward: > > set the editmenu property of the stack to true > hide the menu group > > So, here's how it works: When the stack is opened up on the Mac, > because the editmenu prop is true, the menus appear at the top of the > card and not in the menubar. But a little known fact (only Richard > knows it apparently as it's not documented) is that the menus will > appear in the menubar if the menuGrp is hidden! So, just hide the > group and then show it if the platform is Win32. > > Works like a charm...and no resizing of the stack whatsoever. > Has anyone got this to work on Rev 2.5.1? When I try it, I get what you would expect - no menus because they are invisible, which is a shame because it is a very neat way around this problem which is driving me nuts at the moment. I'm trying to do some resizing on a stack and I'd swear that the loc and rect of objects vary according to whether you are getting or setting them - but this is probably me just being paranoid :-) Cheers, Sarah From chipp at chipp.com Thu Apr 14 02:06:58 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 14 Apr 2005 01:06:58 -0500 Subject: A Cool Freebie for RevCon West Attendees (Resend) In-Reply-To: <483291b559d827cc950632fb60b7d6c7@danshafer.com> References: <483291b559d827cc950632fb60b7d6c7@danshafer.com> Message-ID: <425E0882.9010003@chipp.com> There is an explanation and some screenshots of Interface Designer and some of the apps it's built at: http://www.altuit.com/webs/altuit/InterfaceDesigner/default.htm btw, What you see in the images are all our own custom 'theme' scheme. With ID, you can create and load your own themes as well. Works on Mac and PC. Dan Shafer wrote: > He calls it Interface Designer, but I'd call it Interface Magician. It's > a palette with which you can turn your plain-old, ordinary-looking > stacks with standard colors and control schemes into the kinds of user > experiences for which Chipp and his company, Altuit, have become > justifiably famous. It is so easy to use that anyone -- even someone > like me whose artistic skills stop just short of being able to draw > straight lines with a ruler -- can turn out professionally styled stacks > and applications in minutes. LIterally. From revolution at jaedworks.com Wed Apr 13 22:56:11 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 13 Apr 2005 19:56:11 -0700 Subject: round and statRound In-Reply-To: References: <4576e559ffc3622f3e434649eeb3d467@mac.com> Message-ID: At 8:28 PM +0100 4/13/05, David Burgun wrote: >>no, use: >> >>trunc(1.5)+1 > >Thanks! There should be a mention of this on the round and statRound >documentation pages! There's a See Also link to the cookbook recipe for "Rounding a number up to a ceiling". (Or at least there used to be.) The function given there looks like this: function ceiling theNumber if theNumber is not a number then return "Error: not a number" if theNumber < zero or theNumber is an integer then return trunc(theNumber) else return trunc(theNumber) + 1 end if end ceiling which is more verbose than the equivalents that have been given here, but also, I think, a little easier to figure out for beginners. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From jperryl at ecs.fullerton.edu Thu Apr 14 03:21:45 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 14 Apr 2005 00:21:45 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: <963ea2efe28a9bbdd51475f65f204120@genesearch.com.au> Message-ID: Hi Sarah, Thanks for taking a look ! I am not unaware that the code I used was both verbose and non-optimized. Believe it or not, this was deliberate! My rationale is this: A complete newbie, non-programmer, could probably look at a series of if-then-end ifs and understand what was going on such that s/he could modify the script for a different usage. A real programmer could likewise take a look at it and understand it while going off muttering about what a complete idiot I am for doing it that way. OTOH, while a real programmer could look at the more optimized code with its menuPick and pParameters and the like and understand it, I really doubt that a complete newbie, non-programmer would do likewise. I guess I should really rename my planned series 'Transcript for Dummies' @;-) Eric and Klaus and the others are doing nice things for the programming crowd; I'm trying to do likewise for the DreamCard group who wants to do something a little bit more exciting than the PowerPoint that they've been told is all they ever need to know... Judy On Thu, 14 Apr 2005, Sarah Reichelt wrote: > Hi Judy, > > Good tutorial and the PDF is a neat touch and very well put together. > However I suggest you have a look at the "menuPick" message which makes > handling tabs much easier. > > When using one card per tab, here is the script I use: > > on menuPick pCardName > go to card pCardName > end menuPick > > For tabs where you are hiding and showing groups, it is made easy by > the fact that for tabbed buttons, the menuPick has 2 parameters: the > tab just chosen and the tab previously chosen, so you cna use this: > > on menuPick pNewGroup, pOldGroup > hide group pOldGroup > show group pNewGroup > end menuPick > > Cheers, > Sarah > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Thu Apr 14 03:30:38 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 14 Apr 2005 00:30:38 -0700 (PDT) Subject: A Cool Freebie for RevCon West Attendees (Resend) In-Reply-To: <425E0882.9010003@chipp.com> Message-ID: Not that I wish to be parsimonious, but is it free to attendees or is it $125... or a third of that... or what? Sorry. Long day. Judy who's thinking about making it part of a drive-up, wine-tasting vacation with the kiddies, hubby, and three dogs. From wouter.abraham at scarlet.be Thu Apr 14 04:52:50 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Thu, 14 Apr 2005 10:52:50 +0200 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: References: Message-ID: <0b72a7f36a421b8069de1004d8a60ca9@scarlet.be> On 14 Apr 2005, at 01:49, Ken Ray wrote: > On 4/13/05 2:47 PM, "Trevor DeVore" wrote: > >> get matchText(pString, "(?s)^[ \t\r\n]+(.*?)[ \t\r\n]+$", tReturnVal) >> >> This will strip leading and trailing whitespace from a multiline >> string. But given that you say that word 1 to -1 is that much faster >> I >> am going to switch to that. Those of us still trying to break away >> from our previous languages like to complicate things on occasion ;) > > Unfortunately neither your nor the "word 1 to -1" solution will take > into > account hard spaces (non-breaking spaces) that could be part of the > whitespace on either side of the string. So to fix that, you would > need to > use: > > get matchText(pWhat, "(?s)^\s+(.*?)\s+$", tReturnVal) > > I agree that the "word 1 to -1" solution will do what you want 95+% of > the > time, but just wanted to make sure that everyone knew there was at > least one > 'hole' in that approach in case anyone cared. ;-) > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com Wow, lots of things happen when sleeping :-). The matchtext version is soooo much slower (about 30x which makes it for me a no no in an extended repeat loop). The hard space if any, can be dealt with in a one time replacement by a soft space in the container to parse, out of the repeat loop. (is the non breaking space numtochar(16)? On the mac this is mostly represented by a non-space character for most fonts (rectangle or down arrow, etc) in rev/mc) Once it is replaced the following is faster than the regex to strip only the "leading" spaces. Much faster when used inline in a repeat loop (> 10x faster than the regex replacetext version), less when administered by a function (around 4x faster): put word 1 to -1 of pString into x replace x with "," in pString put x & item 2 of pString into strippedString (or return x & item 2 of pString for the function ) You could put this into a oneliner but this makes it about 2x slower than the above: return word 1 to -1 of pString & item 2 of (replacetext(pString,word 1 to -1 of pString,",")) but still at least more than 2x faster than the regex replacetext version. Regards, Wouter From eric.chatonet at sosmartsoftware.com Thu Apr 14 04:54:55 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Apr 2005 10:54:55 +0200 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <0b72a7f36a421b8069de1004d8a60ca9@scarlet.be> References: <0b72a7f36a421b8069de1004d8a60ca9@scarlet.be> Message-ID: Hi Wouter, Le 14 avr. 05, ? 10:52, Wouter a ?crit : > The hard space if any, can be dealt with in a one time replacement by > a soft space in the container to parse, out of the repeat loop. > (is the non breaking space numtochar(16)? On the mac this is mostly > represented by a non-space character for most fonts (rectangle or down > arrow, etc) in rev/mc) Hard space is numToChar(202) My ASCII Picker (free utility on my web site) might help you. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From chipp at chipp.com Thu Apr 14 04:58:23 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 14 Apr 2005 03:58:23 -0500 Subject: A Cool Freebie for RevCon West Attendees Message-ID: <425E30AF.20407@chipp.com> Hi Judy, It's free to attendees! One of the most requested topics was how to build your own custom controls and objects in Transcript. We will show how this is done and use some of the custom controls in Interface Designer (for instance, a custom slider control). Once custom controls are coded, they can then be skinned and captured by Interface Designer and then placed in any stack you like. Hope you decide to make the trip! Look forward to putting a face with the name :-) -Chipp Judy Perry wrote: > Not that I wish to be parsimonious, but is it free to attendees or is it > $125... or a third of that... or what? > > Sorry. Long day. > > Judy > who's thinking about making it part of a drive-up, wine-tasting vacation > with the kiddies, hubby, and three dogs. > > > > From chipp at chipp.com Thu Apr 14 05:08:25 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 14 Apr 2005 04:08:25 -0500 Subject: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release) In-Reply-To: References: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> <425D233A.3020307@tweedly.net> Message-ID: <425E3309.4090205@chipp.com> Jerry Balzano wrote: > Perhaps I'll be in the minority on this issue too, like I was on Dan > reporting on "third party" products and plugins (Dan, you never > addressed the "looking over D Shafer's shoulder" mindset that I would > think you'd welcome on the part of potential readers; omitting > third-party products that you use all the time would at best weaken this > possibility and at worst mislead ... end parenthetical). But I thought > I'd try nonetheless, both on this specific bug#2138 and on the general > "get out the vote" aesthetic. > > Not despairing yet, > Jerry Hi Jerry, Last year at the Rev Masters Summit, we showed a number of interfaces from different users. Perhaps we should consider doing the same at RevCon West. IOW, showing the 'work screens' from many different developers with explanations.. best, Chipp From wouter.abraham at scarlet.be Thu Apr 14 05:22:53 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Thu, 14 Apr 2005 11:22:53 +0200 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: References: <0b72a7f36a421b8069de1004d8a60ca9@scarlet.be> Message-ID: <26f52cb49def30b0f7b2a5ae5f299529@scarlet.be> Thanks Eric Regards, Wouter On 14 Apr 2005, at 10:54, Eric Chatonet wrote: > Hi Wouter, > > Le 14 avr. 05, ? 10:52, Wouter a ?crit : > >> The hard space if any, can be dealt with in a one time replacement by >> a soft space in the container to parse, out of the repeat loop. >> (is the non breaking space numtochar(16)? On the mac this is mostly >> represented by a non-space character for most fonts (rectangle or >> down arrow, etc) in rev/mc) > > Hard space is numToChar(202) > My ASCII Picker (free utility on my web site) might help you. > > Amicalement, > > Eric Chatonet. From eric.chatonet at sosmartsoftware.com Thu Apr 14 05:41:28 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Apr 2005 11:41:28 +0200 Subject: Creating & Using Tabs tutorial In-Reply-To: References: Message-ID: Hi Judy, Let me tell you very friendly that I do'nt agree your position. Beginners are surely as clever as you and me put together ;-) Only they don't already know... And have to learn. I think that it 's always better for them to take the right way without waiting. Here, using the menuPick message (1 line handler versus 12 lines: Rev is sometimes verbose, sometimes so simple...) is the right way. Adding some good explanations about parameters would complete the job. I'm thinking of such a tutorial: How to pass parameters (handlers) and arguments (functions) by reference or not... If I get the time and if some of you tell me that they would be interested despite my bad english :-) Best regards, Le 14 avr. 05, ? 09:21, Judy Perry a ?crit : > Hi Sarah, > > Thanks for taking a look ! > > I am not unaware that the code I used was both verbose and > non-optimized. > > Believe it or not, this was deliberate! My rationale is this: > > A complete newbie, non-programmer, could probably look at a series of > if-then-end ifs and understand what was going on such that s/he could > modify the script for a different usage. > > A real programmer could likewise take a look at it and understand it > while > going off muttering about what a complete idiot I am for doing it that > way. > > OTOH, while a real programmer could look at the more optimized code > with > its menuPick and pParameters and the like and understand it, I really > doubt that a complete newbie, non-programmer would do likewise. > > I guess I should really rename my planned series 'Transcript for > Dummies' > @;-) > > Eric and Klaus and the others are doing nice things for the programming > crowd; I'm trying to do likewise for the DreamCard group who wants to > do > something a little bit more exciting than the PowerPoint that they've > been > told is all they ever need to know... > > Judy > > On Thu, 14 Apr 2005, Sarah Reichelt wrote: > >> Hi Judy, >> >> Good tutorial and the PDF is a neat touch and very well put together. >> However I suggest you have a look at the "menuPick" message which >> makes >> handling tabs much easier. >> >> When using one card per tab, here is the script I use: >> >> on menuPick pCardName >> go to card pCardName >> end menuPick >> >> For tabs where you are hiding and showing groups, it is made easy by >> the fact that for tabbed buttons, the menuPick has 2 parameters: the >> tab just chosen and the tab previously chosen, so you cna use this: >> >> on menuPick pNewGroup, pOldGroup >> hide group pOldGroup >> show group pNewGroup >> end menuPick >> >> Cheers, >> Sarah Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Thu Apr 14 05:48:25 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 14 Apr 2005 10:48:25 +0100 Subject: Message Sending Problems In-Reply-To: References: Message-ID: Hi All, I am trying to write some generic code to send "Increment" events to another object. This works ok: send "Increment 1" to graphic the cPropTargetObjectName of me however to make it more general I would like to be able to have the type soft coded, to be able to write put "graphic" into myType send "Increment 1" to myType the cPropTargetObjectName of me So I looked around and found the "do" command, and did this: put "graphic" into myType put "send Increment 1" && myType && the cPropTargetObjectName of me into myDoText do myDoText But this results in the following error: Object: value is not a boolean Object: Arrows Line: do myDoText Hint: 1 I have checked the text in myDoText and it's fine and reads: send Increment 1 to graphic "G-1027" I don't understand why I am getting this error? Any ideas anyone? Also how can I get the type of an object? Is there a property for it? I can't seem to find one! Thanks in advance Dave From wouter.abraham at scarlet.be Thu Apr 14 06:01:29 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Thu, 14 Apr 2005 12:01:29 +0200 Subject: Message Sending Problems In-Reply-To: References: Message-ID: <8c98afc43689397451bd29e21d1d857b@scarlet.be> On 14 Apr 2005, at 11:48, David Burgun wrote: > But this results in the following error: > > Object: value is not a boolean > Object: Arrows > Line: do myDoText > Hint: 1 > > I have checked the text in myDoText and it's fine and reads: > > send Increment 1 to graphic "G-1027" > > I don't understand why I am getting this error? Any ideas anyone? change: put "send Increment 1" && myType && the cPropTargetObjectName of me into myDoText to put "send" && quote& "Increment 1" & quote && myType && the cPropTargetObjectName of me into myDoText (there is a space in "Increment 1" so rev tries to evaluate as a boolean) > > Also how can I get the type of an object? Is there a property for it? > I can't seem to find one! > put word 1 of the name of control into tObjName or put word 1 of the name of the Target into tObjName etc. Greetings, Wouter From klaus at major-k.de Thu Apr 14 06:08:39 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 14 Apr 2005 12:08:39 +0200 Subject: Message Sending Problems In-Reply-To: References: Message-ID: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> Hi David, > Hi All, > > I am trying to write some generic code to send "Increment" events to > another object. This works ok: > > send "Increment 1" to graphic the cPropTargetObjectName of me > however to make it more general I would like to be able to have the > type soft coded, to be able to write > > put "graphic" into myType > send "Increment 1" to myType the cPropTargetObjectName of me > > So I looked around and found the "do" command, and did this: > put "graphic" into myType > put "send Increment 1" && myType && the cPropTargetObjectName of me > into myDoText > do myDoText > > But this results in the following error: > Object: value is not a boolean > Object: Arrows > Line: do myDoText > Hint: 1 > > I have checked the text in myDoText and it's fine and reads: > > send Increment 1 to graphic "G-1027" > > I don't understand why I am getting this error? Any ideas anyone? Hmmm, maybe you need to put quotes around the command to be sent? put "send" && QUOTE & "Increment 1" & QUOTE & ... At least worth a try... :-) > Also how can I get the type of an object? > Is there a property for it? I can't seem to find one! Try: word 1 of the name of control x ## where x = the numer or the name of the control... -> field "Field 1" -> button id 1004 -> scrollbar "mySC" ... Hope that helps... > Thanks in advance > Dave Regards Klaus Major klaus at major-k.de http://www.major-k.de From heather at runrev.com Thu Apr 14 06:16:05 2005 From: heather at runrev.com (Heather Nagey) Date: Thu, 14 Apr 2005 11:16:05 +0100 Subject: Revolution Online Scripting Conferences Message-ID: Dear List member, In an exciting new development, Dreamcard and Revolution online scripting conferences will commence on April 30th, 2005. These conferences will consist of a series of fortnightly moderated online chat sessions, free and open to all. The aim of the conferences is to introduce the basic techniques of programming in Dreamcard and Revolution to the widest possible audience, in a fun, exciting way. Don't know what a stack is? Don't know your background from your backyard? These conferences are for you. They will also be excellent refreshers for more experienced scripters, a forum where you can meet other Revolutionaries, and an all round exhilarating experience. Advanced Revolution users will be in attendance, so after the moderated discussion on the topic at hand, you can ask your own scripting questions and get real-time personalized answers from the pros. Come along and join the fun! For more information and details on how to join the chats, please visit http://support.runrev.com/scriptingconferences/ Warm regards, Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From benr_mc at cogapp.com Thu Apr 14 06:52:59 2005 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 14 Apr 2005 11:52:59 +0100 Subject: OT: Congratulations to Frank Leahy Message-ID: Excellent review of Web Photos Pro in the latest issue of MacUser UK. Good work! Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From Typing80wpm at aol.com Thu Apr 14 07:38:46 2005 From: Typing80wpm at aol.com (Typing80wpm at aol.com) Date: Thu, 14 Apr 2005 07:38:46 EDT Subject: How many developers in USA & Oracle question Message-ID: <1f9.7b46b54.2f8fb046@aol.com> Just curious. Are there many developers using Revolution in the USA. Many on East Coast? Appx how many developers are their world wide (guesstimating)? You software looks like a dream come true, I am certainly going to evaluate it and purchase. Someone gave me a valuable tip about using Postgres SQL rather than MYSql, because Postgres is free to distribute... but it looks to me like MySQL is easier to install with Apache.. Postgres looks more complicated and problematic (I may be wrong)... But tell me, suppose I wanted to develop at test applications on my desktop which would ultimately be intended for Oracle as a back end. Am I better of trying to get some type of "personal Oracle" (if there is such a thing) for my desktop... or is there something else I should use for the desktop during testing, that would not be such a hassle to switch to Oracle once deployed/distributed? Different question: Is there any easy way to develope applications in Revolution which connect to a database across an Internet connection, at some website. Just curious. Thanks! From dburgun at dsl.pipex.com Thu Apr 14 07:42:33 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 14 Apr 2005 12:42:33 +0100 Subject: Message Sending Problems In-Reply-To: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> References: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> Message-ID: Hi, Ok, I have got that working by using "quote"! Now I have another problem! The message handler that gets called is like so: on Adjust theAdjustValue, theAxes local myAdjustRect put rect of me into myAdjustRect if theAxes = "Width" then add theAdjustValue to item 4 of myAdjustRect else add theAdjustValue to item 3 of myAdjustRect end if put myAdjustRect into rect of me -****** Error Here end Adjust This work except I get the following Script Error on the statetment marked ***** Type: Chunk Source is not a container Object: "G-1027" Line : put myAdjustRect into rect of me However is I change the line to: set the rect of me to myAdjustRect It works fine!!!! Any Ideas what is going wrong? I am really find it difficult knowing when to use set and when to use put and why there are two commands that do essentailly the same thiing anyway???? Thanks a lot Dave From wow at together.net Thu Apr 14 07:48:10 2005 From: wow at together.net (Richard Miller) Date: Thu, 14 Apr 2005 07:48:10 -0400 Subject: Uploading/Downloading stability In-Reply-To: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> References: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> Message-ID: My Rev program needs to upload and download a file of roughly 2 MB in size 3-8 times every 30 minutes via a wireless connection. This wireless connection is through the built-in airport card in an IBook. Sometimes this connection is received via a wired DSL or cable modem (and wireless router), but sometimes it feeds off a Powerbook connected to the net via a Verizon 3G PCMCIA card (using Apple's Internet Sharing capabilities). Using the 3G card is obviously less stable than a direct wired connection, especially in more rural areas. Sometimes the Internet connection just drops off during the middle of the upload or download. I'd like suggestions for the most stable way of transferring these files, and secondly, what I can do if the file transfer is interrupted part way through. For example, does it matter if I use: - get URL - libURLDownloadToFile - read from socket - load Are any more reliable for dealing with 2 MB files via a slower connection or just in general? Secondly, if a file is partly transferred, is there any way to restart the transfer from where it left off? Thanks. Richard Miller Imprinter Technologies From dburgun at dsl.pipex.com Thu Apr 14 07:54:21 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 14 Apr 2005 12:54:21 +0100 Subject: [OT] Any RunRev Projects out there? In-Reply-To: References: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> Message-ID: Hi, I have been working with RunRev for about a year now on two projects. Sadly my current job is coming to an end in a week or two and since I life working with RunRev was wondering if anyone had a project that needs some help. I have over 20 years experience as a software engineer working in Assembler, C/C++ as well as a lot of other Super High Level languages similar to RunRev. I can send my CV on request. Bye for now Dave From eric.chatonet at sosmartsoftware.com Thu Apr 14 08:05:42 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Apr 2005 14:05:42 +0200 Subject: Message Sending Problems In-Reply-To: References: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> Message-ID: <93ee2e428d0a23498d3750dad2f74ac0@sosmartsoftware.com> Hi David, You always SET a property (custom or built-in): set the rect of me to myAdjustRect You always PUT into a variable (or any container): put x into item 1 of tRect Hope this clarifies :-) Best, Le 14 avr. 05, ? 13:42, David Burgun a ?crit : > Hi, > > Ok, I have got that working by using "quote"! Now I have another > problem! > > The message handler that gets called is like so: > > on Adjust theAdjustValue, theAxes > local myAdjustRect > > put rect of me into myAdjustRect > if theAxes = "Width" then > add theAdjustValue to item 4 of myAdjustRect > else > add theAdjustValue to item 3 of myAdjustRect > end if > > put myAdjustRect into rect of me -****** Error Here > end Adjust > > This work except I get the following Script Error on the statetment > marked ***** > > Type: Chunk Source is not a container > Object: "G-1027" > Line : put myAdjustRect into rect of me > > > However is I change the line to: > > set the rect of me to myAdjustRect > > It works fine!!!! > > Any Ideas what is going wrong? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rbarber at yhb.att.ne.jp Thu Apr 14 09:19:03 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Thu, 14 Apr 2005 08:19:03 -0500 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <0b72a7f36a421b8069de1004d8a60ca9@scarlet.be> References: <0b72a7f36a421b8069de1004d8a60ca9@scarlet.be> Message-ID: <283e10efb60734026607259f228d6724@yhb.att.ne.jp> Hi Wouter On Apr 14, 2005, at 3:52 AM, Wouter wrote: > > On 14 Apr 2005, at 01:49, Ken Ray wrote: > >> On 4/13/05 2:47 PM, "Trevor DeVore" wrote: >> >>> get matchText(pString, "(?s)^[ \t\r\n]+(.*?)[ \t\r\n]+$", tReturnVal) > Wow, lots of things happen when sleeping :-). > The matchtext version is soooo much slower (about 30x which makes it > for me a no no in an extended repeat loop). I forgot where in your script you are using the matchtext but in a recent script, I was using matchtext on a large variable and it was taking a long time. When I switched and called matchtext for each line in a repeat for each loop, it became considerably faster: put matchtext(bigtextvar,regex) into newtext was slow but repeat for each line l in bigtextvar put matchtext(l,regex) & return after newtext end repeat was much faster. Ron From bnz2 at cdc.gov Thu Apr 14 09:21:37 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 14 Apr 2005 09:21:37 -0400 Subject: user-movable fields Message-ID: <64878EF567131D4596246171F75FD4A946A12B@m-epo-1.epo.cdc.gov> If anyone needs it, I have scripts that go inside fields or images that allow for the user to move them and/or resize them from any corner. I created them before being aware of the grab command, so you might want to modify them a bit, but both the move and resize abilities seem to work quite well. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bob Hartley Sent: Wednesday, April 13, 2005 5:48 PM To: How to use Revolution Subject: Re: user-movable fields At 05:40 06/04/2005, you wrote: >Thank you all! > >I just put a demo of the user-movable fields, and an example of how it >might be useful, in the user spaces of revonline-- "User movable fields", >under programming. > >This is so cool-- when I first thought of it this morning, I figured it >would take arduous programming. Amazing. Smart Rev--very RAD. OK this has been done in one of my unfinished apps... see my user space NIJINSKY and the stack move and resize via drag and drop. make a text field and put this into its script on mouseDown if the controlKey is down then grab me end if end mouseDown on mouseStillDown if the altKey is down then put the rect of me into tRect put the mouseH into item 3 of tRect put the mouseV into item 4 of tRect set the rect of me to tRect end if end mouseStillDown on mouseWithin if the optionKey is down then if the lockText of me is false then set the lockText of me to true end if else if the lockText of me is true then set the lockText of me to false end if end if end mouseWithin Then use control and alt to move and resize it. :-) Neat ehhhh :-) Cheers Bob >Sandy (aka Troutfoot) > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > > >-- >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 05/04/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.8 - Release Date: 13/04/2005 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at easynet.fr Thu Apr 14 09:29:03 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 14 Apr 2005 15:29:03 +0200 Subject: How many developers in USA & Oracle question In-Reply-To: <1f9.7b46b54.2f8fb046@aol.com> References: <1f9.7b46b54.2f8fb046@aol.com> Message-ID: Hello, Feel free to test this n-tier web app build in using rev on the application server side and postgresql as the backend, both running on the same box and binded together trought localhost TCP/IP connections. This app is up for test purpose only and you can test all write and read operations without any restriction. the acces url : the login : iplsport the password : portipls Feel free to ask for more explanations about how to setup such kind of app for your own. Best, Le 14 avr. 05, ? 13:38, Typing80wpm at aol.com a ?crit : > Someone gave me a valuable tip about using Postgres SQL rather than > MYSql, > because Postgres is free to distribute... but it looks to me like > MySQL is > easier to install with Apache.. Postgres looks more complicated and > problematic > (I may be wrong)... > > But tell me, suppose I wanted to develop at test applications on my > desktop > which would ultimately be intended for Oracle as a back end. Am I > better of > trying to get some type of "personal Oracle" (if there is such a > thing) for > my desktop... or is there something else I should use for the desktop > during > testing, that would not be such a hassle to switch to Oracle once > deployed/distributed? > > Different question: Is there any easy way to develope applications in > Revolution which connect to a database across an Internet connection, > at some > website. Just curious. Thanks! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From matt.denton at limelight.com.au Wed Apr 13 20:10:06 2005 From: matt.denton at limelight.com.au (Matt Denton) Date: Thu, 14 Apr 2005 10:10:06 +1000 Subject: RegEx Replace Text -- strip leading and trailing spaces In-Reply-To: <20050413202251.14566930141@mail.runrev.com> References: <20050413202251.14566930141@mail.runrev.com> Message-ID: <402d708dac7fcdcd6b3d3a526b6e5a79@limelight.com.au> Hi Wouter and Trevor Thanks for the replies. Yes Trevor, I had a similar line of code and I couldn't work out why it didn't strip the RHS whitespace. Anyway I was using RegEx because I thought it would be faster, but how elegant is: > get word 1 to -1 of pString ... thanks so much Wouter! Trevor I'll keep your: > get matchText(pString, "(?s)^[ \t\r\n]+(.*?)[ \t\r\n]+$", tReturnVal) ... tucked away, I'm still getting my head around RegEx and some of its peculiarities and really I just want to understand what I was doing wrong. Plus I thought I'd get a speed improvement, looks like not. Thanks again, M@ Matt Denton > Limelight Media Pty Ltd > T 02] 9211 6622 > F 02] 9211 5922 > ABN 72 065 014 280 From b.xavier at internet.lu Thu Apr 14 10:00:07 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 14 Apr 2005 16:00:07 +0200 Subject: [OT] Any RunRev Projects out there? In-Reply-To: Message-ID: <20050414141254.1BF20930056@mail.runrev.com> > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > David Burgun > Sent: Thursday, April 14, 2005 13:54 > To: How to use Revolution > Subject: [OT] Any RunRev Projects out there? > > Hi, > > I have been working with RunRev for about a year now on two projects. > Sadly my current job is coming to an end in a week or two and > since I life working with RunRev was wondering if anyone had > a project that needs some help. > > I have over 20 years experience as a software engineer > working in Assembler, C/C++ as well as a lot of other Super > High Level languages similar to RunRev. > > I can send my CV on request. > > Bye for now > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bnz2 at cdc.gov Thu Apr 14 09:56:20 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 14 Apr 2005 09:56:20 -0400 Subject: There's got to be a better way Message-ID: <64878EF567131D4596246171F75FD4A9744595@m-epo-1.epo.cdc.gov> I am not sure if someone else has already suggested this - but I just tried this and it seems to work fine: On Mouseup -- put the desired URL into U set the clipboarddata["html"] to URL U put the clipboarddata["text"] into A -- the plain text version will now be in A End Mouseup Sometimes I get weird things happening to my system when I mess around with the clipboarddata, so if you do it this way, look out for anything strange happening after the fact, like problems with copying and pasting or something similar. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Hurley Sent: Tuesday, April 12, 2005 8:14 PM To: use-revolution at lists.runrev.com Subject: There's got to be a better way I have html text from a web site. (Thanks again to Dave Cragg for his nifty handler to extract text from a web site with forms.) It is awkward to parse in this form. I would like to be able to parse the text without the html code. So this is what I am using: set the htmltext of field 1 to tHTMLtextFromWebSite set the text of field 1 to field 1 put field 1 into tTextToParse It is hard to imagine anything more clumsy. It wastes a lot time putting things into and out of fields. There must be a better way of stripping out the html code. I understand that one cannot use variables for this. Jim _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From see3d at writeme.com Thu Apr 14 10:09:34 2005 From: see3d at writeme.com (Dennis Brown) Date: Thu, 14 Apr 2005 10:09:34 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: Message-ID: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> Dick, Thanks for your various tips and help online and offline. I need to take a week to digest and incorporate the ideas into a real piece of code that I hope will fly like the wind --then I will share my code and a data generator for you and everyone else to see and rip to shreds ;-) Thanks again, Dennis On Apr 13, 2005, at 5:41 AM, Dick Kriesel wrote: > On 4/12/05 7:36 PM, "Dennis Brown" wrote: > >> ...I have two arrays 10,000 lines with 2500 items in each line... >> ...I need to pair the items together... > > Do you have something like closing prices in one container and shares > traded > in another container, each for the same 10,000 securities over the same > 2,500 trading days? If so, do you want to calculate something like > trading > volume as price * shares? > > If so, then here's a way to bring together the values from one such > list > with the values from another, without waiting for any chunk > expressions. On > my machine, generating a 10,000 line by 2,500 item list of integers to > prepare for the test took about three minutes. Then bringing together > all > the pairs of lines from two lists, as you indicated in your initial > email, > took about 1.2 seconds. > > So you could do many passes through your big lists before the day is > done, > and not need to wait for an extension to the language. > > To try it, paste the following into the script of a new stack. If I've > misunderstood or done something wrong, please let me know. > > -- Dick > --------------------- > global gList > > on mouseUp > if gList is empty then initialize > combinePairsOfLines gList,gList > end mouseUp > > on initialize > put 10000 into tLineCount > put 2500 into tItemCount > put tLineCount && tItemCount & cr > put the seconds into tSeconds > repeat with i = 1 to tLineCount > repeat with j = 1 to tItemCount > put i + j & comma after tList > end repeat > put return after tList > if i mod 1000 = 0 then put "line count so far:" && i & cr after msg > end repeat > put tList into gList -- save for reuse across edit-test cycles > put "elapsed seconds to initialize:" && \ > the seconds - tSeconds & cr after msg > end initialize > > on combinePairsOfLines pList1,pList2 > put the long seconds into tSeconds > split pList2 using return > put 0 into i > repeat for each line tLineFromList1 in pList1 > add 1 to i > put tLineFromList1 & pList2[i] into tCombinedLine > -- doSomethingWithCombinedLine tCombinedLine > end repeat > put "elapsed seconds to combine pairs:" && \ > the long seconds - tSeconds & cr after msg > end combinePairsOfLines > > From ambassador at fourthworld.com Thu Apr 14 10:40:55 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Apr 2005 07:40:55 -0700 Subject: There's got to be a better way In-Reply-To: <64878EF567131D4596246171F75FD4A9744595@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744595@m-epo-1.epo.cdc.gov> Message-ID: <425E80F7.5040107@fourthworld.com> Lynch, Jonathan wrote: >> I have html text from a web site. (Thanks again to Dave Cragg for his >> nifty handler to extract text from a web site with forms.) >> >> It is awkward to parse in this form. I would like to be able to parse >> the text without the html code. >> >> So this is what I am using: >> >> set the htmltext of field 1 to tHTMLtextFromWebSite >> set the text of field 1 to field 1 >> put field 1 into tTextToParse >> >> It is hard to imagine anything more clumsy. It wastes a lot time >> putting things into and out of fields. There must be a better way of >> stripping out the html code. I understand that one cannot use >> variables for this. >> > I am not sure if someone else has already suggested this - but I just > tried this and it seems to work fine: > > On Mouseup > -- put the desired URL into U > set the clipboarddata["html"] to URL U > put the clipboarddata["text"] into A > -- the plain text version will now be in A > End Mouseup > > Sometimes I get weird things happening to my system when I mess around > with the clipboarddata, so if you do it this way, look out for anything > strange happening after the fact, like problems with copying and pasting > or something similar. IIRC when I benchmarked both appproaches last year, if memory serves the field method (on an unopened card) was surprisingly faster than the clipboardData method. Any got time to run such tests again to verify? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From fde101 at fjrhome.net Thu Apr 14 10:47:52 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 14 Apr 2005 10:47:52 -0400 Subject: There's got to be a better way In-Reply-To: <425E80F7.5040107@fourthworld.com> References: <64878EF567131D4596246171F75FD4A9744595@m-epo-1.epo.cdc.gov> <425E80F7.5040107@fourthworld.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Plus this changes the content of the clipboard to something the user will not expect, which is a bad idea for a released software product. One must minimize unrelated use of the clipboard in order to maximize its usefulness. On Apr 14, 2005, at 10:40 AM, Richard Gaskin wrote: > IIRC when I benchmarked both appproaches last year, if memory serves > the field method (on an unopened card) was surprisingly faster than > the clipboardData method. > > Any got time to run such tests again to verify? - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXoKZ7aqtWrR9cZoRAtKrAKCOMia1tNa5SH+K/CX+EWz+lhtFoQCePg5w cuGtyFLJGdyE58jywIDz/WM= =0x03 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From nnoydb at excite.com Thu Apr 14 11:01:17 2005 From: nnoydb at excite.com (N) Date: Thu, 14 Apr 2005 11:01:17 -0400 (EDT) Subject: Bad statement Message-ID: <20050414150117.2476B1BD54@xprdmailfe23.nwk.excite.com> get the number of controls of card "abc" put it into _numberControls repeat with i = 0 to _numberControls get the ID of control i of card "abc" end repeat The line that fails is "get the ID of control i of card "abc"" K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From klaus at major-k.de Thu Apr 14 11:04:45 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 14 Apr 2005 17:04:45 +0200 Subject: Bad statement In-Reply-To: <20050414150117.2476B1BD54@xprdmailfe23.nwk.excite.com> References: <20050414150117.2476B1BD54@xprdmailfe23.nwk.excite.com> Message-ID: <9d0aab464f233258ac474c4e80f074ce@major-k.de> Hi N or K (?), > get the number of controls of card "abc" > put it into _numberControls > > repeat with i = 0 to _numberControls > get the ID of control i of card "abc" > > end repeat 0, ZERO????? C'mon!!! ;-) ... repeat with 1 to ... ... Will surely work ;-) > The line that fails is "get the ID of control i of card "abc"" > > K Best Klaus Major klaus at major-k.de http://www.major-k.de From eric.chatonet at sosmartsoftware.com Thu Apr 14 11:05:20 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Apr 2005 17:05:20 +0200 Subject: Bad statement In-Reply-To: <20050414150117.2476B1BD54@xprdmailfe23.nwk.excite.com> References: <20050414150117.2476B1BD54@xprdmailfe23.nwk.excite.com> Message-ID: <8804878070f99c8d60bd5e3e9b11e272@sosmartsoftware.com> Hi, There is no control 0 :-( So try: repeat with i = 1... Best, Le 14 avr. 05, ? 17:01, N a ?crit : > get the number of controls of card "abc" > put it into _numberControls > > repeat with i = 0 to _numberControls > get the ID of control i of card "abc" > > end repeat > > > The line that fails is "get the ID of control i of card "abc"" Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From fde101 at fjrhome.net Thu Apr 14 11:07:22 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 14 Apr 2005 11:07:22 -0400 Subject: Bad statement In-Reply-To: <20050414150117.2476B1BD54@xprdmailfe23.nwk.excite.com> References: <20050414150117.2476B1BD54@xprdmailfe23.nwk.excite.com> Message-ID: <00c32669204c09e2362a8b25cea94a29@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The index should start from 1, not 0. Your error is a bit confusing, however: I get "Chunk: no such object" for that. Also, try: repeat with i = 1 to the number of controls of card "abc" Unless you need that data for some other reason (you don't need the get/put lines before the repeat in order to use the repeat). On Apr 14, 2005, at 11:01 AM, N wrote: > get the number of controls of card "abc" > put it into _numberControls > > repeat with i = 0 to _numberControls > get the ID of control i of card "abc" > > end repeat > > > The line that fails is "get the ID of control i of card "abc"" > > K - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXocq7aqtWrR9cZoRApSaAJ9TYbPKG2cj9RXKJ6XlIJWcbcDTjACfYoXI ggsXeOHxnnkE/mf30Q8vArw= =nNi+ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From revdan at danshafer.com Thu Apr 14 11:17:23 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 14 Apr 2005 08:17:23 -0700 Subject: How many developers in USA & Oracle question In-Reply-To: <1f9.7b46b54.2f8fb046@aol.com> References: <1f9.7b46b54.2f8fb046@aol.com> Message-ID: You have indeed found software that is a "dream come true," as you say. Welcome to the Revolution! On Apr 14, 2005, at 4:38 AM, Typing80wpm at aol.com wrote: > Just curious. Are there many developers using Revolution in the USA. > Many on > East Coast? > > Appx how many developers are their world wide (guesstimating)? As far as I know, nobody knows how many Rev developers there are anywhere and RunRev doesn't reveal this information because it is viewed as a corporate trade secret. That's true, BTW, of *all* developer tool companies as far as I know. Suffice to say that there are enough users worldwide -- and quite a number on the East Coast -- that RunRev is motivated to keep upgrading and releasing the product and you can always get an answer to a question on this list. Well, almost always. You have a chance to meet the largest single gathering of Rev developers ever held June 17-18 in Monterey at RevCon West. Only two more days left on the Early Bird rate to save $70. :-D ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest EARLY BIRD $70 DISCOUNT ENDS APRIL 15! From revdan at danshafer.com Thu Apr 14 11:19:36 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 14 Apr 2005 08:19:36 -0700 Subject: How many developers in USA & Oracle question In-Reply-To: <1f9.7b46b54.2f8fb046@aol.com> References: <1f9.7b46b54.2f8fb046@aol.com> Message-ID: <9f36b6f97ac0c459f9a0a9f11a196447@danshafer.com> Provided you stay with the subset of standard SQL supported by Oracle, you can use any local SQL database that Rev understands for your development work. When it comes time to deploy the project, you simply change your (hopefully solitary) database connect statement to point to a different database and you're done. It really is (at least in most cases) that simple. If your app is really complex and uses a lot of unique features in one DB or another, then the advice doesn't hold. On Apr 14, 2005, at 4:38 AM, Typing80wpm at aol.com wrote: > But tell me, suppose I wanted to develop at test applications on my > desktop > which would ultimately be intended for Oracle as a back end. Am I > better of > trying to get some type of "personal Oracle" (if there is such a > thing) for > my desktop... or is there something else I should use for the desktop > during > testing, that would not be such a hassle to switch to Oracle once > deployed/distributed? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest EARLY BIRD $70 DISCOUNT ENDS APRIL 15! From eric.chatonet at sosmartsoftware.com Thu Apr 14 11:20:53 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Apr 2005 17:20:53 +0200 Subject: There's got to be a better way In-Reply-To: References: <64878EF567131D4596246171F75FD4A9744595@m-epo-1.epo.cdc.gov> <425E80F7.5040107@fourthworld.com> Message-ID: <02c615e8f680b1926c017c4b4c92a693@sosmartsoftware.com> Hi Jonathan, Richard and Frank and... I benchmarked 3 methods: using a hidden field in the current stack, a field in unopened substack and the clipboard. Apple G4 bi pro - 3 MB internet connexion I requested 100 times the same URL for each method and each method 5 times in turn to minimize connexion hazards. And the winner is... 1. Substack method: 1.000 2. Clipboard: 1.0354 3. Hidden field: 1.079 Best, Le 14 avr. 05, ? 16:47, Frank D. Engel, Jr. a ?crit : > Plus this changes the content of the clipboard to something the user > will not expect, which is a bad idea for a released software product. > One must minimize unrelated use of the clipboard in order to maximize > its usefulness. > > On Apr 14, 2005, at 10:40 AM, Richard Gaskin wrote: > >> IIRC when I benchmarked both appproaches last year, if memory serves >> the field method (on an unopened card) was surprisingly faster than >> the clipboardData method. >> >> Any got time to run such tests again to verify? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revdan at danshafer.com Thu Apr 14 11:21:49 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 14 Apr 2005 08:21:49 -0700 Subject: A Cool Freebie for RevCon West Attendees (Resend) In-Reply-To: References: Message-ID: Judy...... Definitely a great idea. I can arrange free or low-cost passes to the Monterey Bay Aquarium for your family and MOnterey has a small but thriving wine business in its own right as well. Hope to see you in June. (Don't forget...deadline for saving $70 is tomorrow, April 15.) On Apr 14, 2005, at 12:30 AM, Judy Perry wrote: > Judy > who's thinking about making it part of a drive-up, wine-tasting > vacation > with the kiddies, hubby, and three dogs. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From bnz2 at cdc.gov Thu Apr 14 11:03:14 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 14 Apr 2005 11:03:14 -0400 Subject: Bad statement Message-ID: <64878EF567131D4596246171F75FD4A946A130@m-epo-1.epo.cdc.gov> Can you have control 0? Shouldn't your repeat loop start with 1? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of N Sent: Thursday, April 14, 2005 11:01 AM To: use-revolution at lists.runrev.com Subject: Bad statement get the number of controls of card "abc" put it into _numberControls repeat with i = 0 to _numberControls get the ID of control i of card "abc" end repeat The line that fails is "get the ID of control i of card "abc"" K -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From transcom at comcast.net Thu Apr 14 11:25:08 2005 From: transcom at comcast.net (Michael Mandaville) Date: Thu, 14 Apr 2005 08:25:08 -0700 Subject: Creating & Using Tabs tutorial Message-ID: Judy, Where is your tabs tutorial? I tried searching online for "RevOnline" but didn't find anything that pertained to your work. Can you post a URL for it so that I can see your labor of love? I appreciate your newbie approach. I'm right there with you and trying to decipher optimized code doesn't stoke my enthusiasm or build the mental library. Thank you, Michael From pevensen at siboneylg.com Thu Apr 14 11:37:51 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 14 Apr 2005 10:37:51 -0500 Subject: Field font size on Windows Message-ID: <6.2.1.2.2.20050414103405.13c2a190@exchange.slg.com> The font size given in the Text Formatting page of the properties for a field is not accurate on Windows. For example, Times New Roman 16 pt is actually 12 pt if you pull up WordPad. Is this a known issue? Also, it seems that Windows only antialiases text above a certain point size. Is this true? Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From devin_asay at byu.edu Thu Apr 14 11:41:36 2005 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 14 Apr 2005 09:41:36 -0600 Subject: A Cool Freebie for RevCon West Attendees (Resend) In-Reply-To: References: Message-ID: <537c09d4801539f670cbf441bc464522@byu.edu> Dan, I'm thinking of making a family trip of it as well. Any information you could gather about local sights would be most appreciated -- as would discount passes. ;-) Devin On Apr 14, 2005, at 9:21 AM, Dan Shafer wrote: > Judy...... > > Definitely a great idea. I can arrange free or low-cost passes to the > Monterey Bay Aquarium for your family and MOnterey has a small but > thriving wine business in its own right as well. > > Hope to see you in June. > > (Don't forget...deadline for saving $70 is tomorrow, April 15.) > > On Apr 14, 2005, at 12:30 AM, Judy Perry wrote: > >> Judy >> who's thinking about making it part of a drive-up, wine-tasting >> vacation >> with the kiddies, hubby, and three dogs. >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From b.xavier at internet.lu Thu Apr 14 11:47:47 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 14 Apr 2005 17:47:47 +0200 Subject: A Cool Freebie for RevCon West Attendees (Resend) In-Reply-To: Message-ID: <20050414160032.D6D37930080@mail.runrev.com> What prices are you guys paying to fly to monterey? Any cool packages from France, Belgium, Holland or Germany? cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dan Shafer > Sent: Thursday, April 14, 2005 17:22 > To: How to use Revolution > Subject: Re: A Cool Freebie for RevCon West Attendees (Resend) > > Judy...... > > Definitely a great idea. I can arrange free or low-cost > passes to the Monterey Bay Aquarium for your family and > MOnterey has a small but thriving wine business in its own > right as well. > > Hope to see you in June. > > (Don't forget...deadline for saving $70 is tomorrow, April 15.) > > On Apr 14, 2005, at 12:30 AM, Judy Perry wrote: > > > Judy > > who's thinking about making it part of a drive-up, wine-tasting > > vacation with the kiddies, hubby, and three dogs. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Thu Apr 14 12:06:14 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 14 Apr 2005 09:06:14 -0700 Subject: RevCon West Tourist Activities In-Reply-To: <537c09d4801539f670cbf441bc464522@byu.edu> References: <537c09d4801539f670cbf441bc464522@byu.edu> Message-ID: Devin..... After I get back from my spring vacation (the week of 4/25), I'll start putting up some links and information about non-conference Monterey stuff. And I'll send an email to all registered attendees with details about discounts, etc. Right now, we're thinking about offering two or three activities on Sunday, June 19, either free or at steep discounts, for attendees and/or family/friends. Whether we do that and what we do will depend on how many people raise their hands and indicate an interest. The more people we sign up, of course, the cheaper we can get these things. On Apr 14, 2005, at 8:41 AM, Devin Asay wrote: > Dan, > > I'm thinking of making a family trip of it as well. Any information > you could gather about local sights would be most appreciated -- as > would discount passes. ;-) > > Devin > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest EARLY BIRD $70 DISCOUNT ENDS APRIL 15! From frank at backtalk.com Thu Apr 14 12:12:29 2005 From: frank at backtalk.com (Frank Leahy) Date: Thu, 14 Apr 2005 17:12:29 +0100 Subject: How many developers in USA & Oracle question In-Reply-To: <20050414151904.E6B509300DA@mail.runrev.com> References: <20050414151904.E6B509300DA@mail.runrev.com> Message-ID: Pierre, Seeing that screen full of French makes me realize that it's time to internationalize Web Photos Pro. Must be what my French, German and Dutch customers feel like when all they see if English. Regards, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Apr 14, 2005, at 4:19 PM, use-revolution-request at lists.runrev.com wrote: > From: Pierre Sahores > Subject: Re: How many developers in USA & Oracle question > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hello, > > Feel free to test this n-tier web app build in using rev on the > application server side and postgresql as the backend, both running on > the same box and binded together trought localhost TCP/IP connections. > > This app is up for test purpose only and you can test all write and > read operations without any restriction. > > the acces url : > > the login : iplsport > > the password : portipls > > Feel free to ask for more explanations about how to setup such kind of > app for your own. From b.xavier at internet.lu Thu Apr 14 12:13:17 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 14 Apr 2005 18:13:17 +0200 Subject: A Cool Freebie for RevCon West Attendees (Resend) In-Reply-To: <537c09d4801539f670cbf441bc464522@byu.edu> Message-ID: <20050414162637.00FD29300D9@mail.runrev.com> have you seen the google map lately? It's awesome!!! Including the satelite images!!! I had a great time flying over chicago over the roads and places i knew so well! Quite cool!!! http://maps.google.com The satelitte images you will see via the link top right... It's truely amazing what we can do today! Here's Monterey! http://maps.google.com/maps?ll=36.595703,-121.940649&spn=1.435547,2.515998&h l=en cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Devin Asay > Sent: Thursday, April 14, 2005 17:42 > To: How to use Revolution > Subject: Re: A Cool Freebie for RevCon West Attendees (Resend) > > Dan, > > I'm thinking of making a family trip of it as well. Any > information you could gather about local sights would be most > appreciated -- as would discount passes. ;-) > > Devin > > On Apr 14, 2005, at 9:21 AM, Dan Shafer wrote: > > > Judy...... > > > > Definitely a great idea. I can arrange free or low-cost > passes to the > > Monterey Bay Aquarium for your family and MOnterey has a small but > > thriving wine business in its own right as well. > > > > Hope to see you in June. > > > > (Don't forget...deadline for saving $70 is tomorrow, April 15.) > > > > On Apr 14, 2005, at 12:30 AM, Judy Perry wrote: > > > >> Judy > >> who's thinking about making it part of a drive-up, wine-tasting > >> vacation with the kiddies, hubby, and three dogs. > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Dan Shafer, Co-Chair > > RevConWest '05 > > June 17-18, 2005, Monterey, California > > http://www.altuit.com/webs/altuit/RevConWest > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > Devin Asay > Humanities Technology and Research Support Center Brigham > Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kaveh at river-valley.com Thu Apr 14 12:38:32 2005 From: kaveh at river-valley.com (Kaveh Bazargan) Date: Thu, 14 Apr 2005 17:38:32 +0100 Subject: Make down arrow behave like tab key In-Reply-To: <421BFFE8.90708@fourthworld.com> References: <689c94e86b4e6bb06e5a0da3ede458b6@mac.com> <187a82702387f72c8a5108daf4a767cc@mac.com> <421BFFE8.90708@fourthworld.com> Message-ID: I have several fields in a stack and I want to be able to navigate through them using up and down arrow keys (I find shift tab not friendly). So how can I make down arrow act like tab, and up arrow act like shift-tab? I have tried on arrowKey theKey if theKey is "down" then tabKey end if end if end arrowKey But tabKey handler is not found. Also tried send tabKey to fld ... etc. -- Kaveh Bazargan http://www.river-valley.com/ http://www.holographer.org/ From psahores at easynet.fr Thu Apr 14 12:52:19 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 14 Apr 2005 18:52:19 +0200 Subject: How many developers in USA & Oracle question In-Reply-To: References: <20050414151904.E6B509300DA@mail.runrev.com> Message-ID: Frank, The same applies to me too and perhaps could we just feel happy to be able to share our discussions in english, instead of any other more difficult language to learn, french included ;-) The most i will be able to do is to anonymise the user interface of the exemple rev-web application... Best, -- Pierre Le 14 avr. 05, ? 18:12, Frank Leahy a ?crit : > Pierre, > > Seeing that screen full of French makes me realize that it's time to > internationalize Web Photos Pro. Must be what my French, German and > Dutch customers feel like when all they see if English. > > Regards, > -- Frank > > Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users > See us on the web at http://www.webphotospro.com/ > > On Apr 14, 2005, at 4:19 PM, use-revolution-request at lists.runrev.com > wrote: > >> From: Pierre Sahores >> Subject: Re: How many developers in USA & Oracle question >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Hello, >> >> Feel free to test this n-tier web app build in using rev on the >> application server side and postgresql as the backend, both running on >> the same box and binded together trought localhost TCP/IP connections. >> >> This app is up for test purpose only and you can test all write and >> read operations without any restriction. >> >> the acces url : >> >> the login : iplsport >> >> the password : portipls >> >> Feel free to ask for more explanations about how to setup such kind of >> app for your own. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From howard.bornstein at gmail.com Thu Apr 14 13:04:42 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Thu, 14 Apr 2005 13:04:42 -0400 Subject: Make down arrow behave like tab key In-Reply-To: References: Message-ID: <3f07cc2605041410042f187ef2@mail.gmail.com> Try this: on arrowKey theKey put the number of the target into tFldNum if theKey is "down" then if there is a fld (tFldNum+1) then focus on fld (tFldNum+1) end if else if theKey is "up" then if there is a fld (tFldNum-1) then focus on fld (tFldNum-1) end if end if end arrowKey Put this in the card or stack script. You'll have to add a little more code if you want to make it wrap around when you hit the first or last field. On 4/14/05, Kaveh Bazargan wrote: > I have several fields in a stack and I want to be able to navigate > through > them using up and down arrow keys (I find shift tab not friendly). So > how > can I make down arrow act like tab, and up arrow act like shift-tab? > > I have tried > > on arrowKey theKey > if theKey is "down" then > tabKey > end if > end if > end arrowKey > > But tabKey handler is not found. Also tried > > send tabKey to fld ... > > etc. > -- > > Kaveh Bazargan > http://www.river-valley.com/ > http://www.holographer.org/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Regards, Howard Bornstein ----------------------- www.designeq.com From jperryl at ecs.fullerton.edu Thu Apr 14 13:04:59 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 14 Apr 2005 10:04:59 -0700 (PDT) Subject: Creating & Using Tabs tutorial In-Reply-To: Message-ID: Hi Michael, When you launch Rev 2.5, a little window should come up that _is_ RevOnline. It should have a little, narrow, left pane that has things like (this is from memory, so may not b e 100% accurate) Home, Training Center, User Spaces... and a wide right pane that has a bunch of graphics. Clicking on the left pane of "User Spaces" should result in two choices on the right, being 'Browse by User' and 'Browse by topic' (or some such thing). For the former, look me up: JudyPerry; for the latter, look under the "Education" category and it's the last one in there. If all this fails, let me know and I'll email it to you directly. Judy On Thu, 14 Apr 2005, Michael Mandaville wrote: > Judy, > Where is your tabs tutorial? I tried searching online for "RevOnline" but > didn't find anything that pertained to your work. > > Can you post a URL for it so that I can see your labor of love? I > appreciate your newbie approach. I'm right there with you and trying to > decipher optimized code doesn't stoke my enthusiasm or build the mental > library. From frank at backtalk.com Thu Apr 14 13:18:20 2005 From: frank at backtalk.com (Frank Leahy) Date: Thu, 14 Apr 2005 18:18:20 +0100 Subject: OT: Congratulations to Frank Leahy In-Reply-To: <20050414151904.E6B509300DA@mail.runrev.com> References: <20050414151904.E6B509300DA@mail.runrev.com> Message-ID: <11f7eb07dfd4390949d3341dc0af4984@backtalk.com> Ben, Is the review in the magazine edition...I don't see it online? If so, I guess I'll have to wait until next week to buy it at Heathrow when I return to London from San Francisco (where I am at the moment). Regards, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Apr 14, 2005, at 4:19 PM, use-revolution-request at lists.runrev.com wrote: > Date: Thu, 14 Apr 2005 11:52:59 +0100 > From: Ben Rubinstein > Subject: OT: Congratulations to Frank Leahy > To: "use-revolution at lists.runrev.com" > > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > Excellent review of Web Photos Pro in the latest issue of MacUser UK. > Good > work! > > Ben Rubinstein | Email: benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 From revdan at danshafer.com Thu Apr 14 13:18:57 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 14 Apr 2005 10:18:57 -0700 Subject: A Cool Freebie for RevCon West Attendees (Resend) In-Reply-To: <20050414162637.00FD29300D9@mail.runrev.com> References: <20050414162637.00FD29300D9@mail.runrev.com> Message-ID: <43157ee81e69ce1259a66363271c061b@danshafer.com> Yeah, they're doing some great stuff. dan On Apr 14, 2005, at 9:13 AM, MisterX wrote: > > have you seen the google map lately? > > It's awesome!!! Including the satelite images!!! > I had a great time flying over chicago over the roads and places i > knew so > well! > > Quite cool!!! > > http://maps.google.com > > The satelitte images you will see via the link top right... > > It's truely amazing what we can do today! > > Here's Monterey! > http://maps.google.com/maps?ll=36.595703, > -121.940649&spn=1.435547,2.515998&h > l=en > > cheers > Xavier > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Devin Asay >> Sent: Thursday, April 14, 2005 17:42 >> To: How to use Revolution >> Subject: Re: A Cool Freebie for RevCon West Attendees (Resend) >> >> Dan, >> >> I'm thinking of making a family trip of it as well. Any >> information you could gather about local sights would be most >> appreciated -- as would discount passes. ;-) >> >> Devin >> >> On Apr 14, 2005, at 9:21 AM, Dan Shafer wrote: >> >>> Judy...... >>> >>> Definitely a great idea. I can arrange free or low-cost >> passes to the >>> Monterey Bay Aquarium for your family and MOnterey has a small but >>> thriving wine business in its own right as well. >>> >>> Hope to see you in June. >>> >>> (Don't forget...deadline for saving $70 is tomorrow, April 15.) >>> >>> On Apr 14, 2005, at 12:30 AM, Judy Perry wrote: >>> >>>> Judy >>>> who's thinking about making it part of a drive-up, wine-tasting >>>> vacation with the kiddies, hubby, and three dogs. >>>> >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Dan Shafer, Co-Chair >>> RevConWest '05 >>> June 17-18, 2005, Monterey, California >>> http://www.altuit.com/webs/altuit/RevConWest >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> Devin Asay >> Humanities Technology and Research Support Center Brigham >> Young University >> >> _______________________________________________ >> 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 gbojsza at gmail.com Thu Apr 14 13:24:23 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 14 Apr 2005 13:24:23 -0400 Subject: Revolution Online Scripting Conferences In-Reply-To: References: Message-ID: <3d8af41505041410244c2a4f16@mail.gmail.com> Heather, This is an excellent move! Will the sessions be recorded for later reviews? thanks, Glen On 4/14/05, Heather Nagey wrote: > Dear List member, > > In an exciting new development, Dreamcard and Revolution online scripting > conferences will commence on April 30th, 2005. These conferences will > consist of a series of fortnightly moderated online chat sessions, free and > open to all. The aim of the conferences is to introduce the basic techniques > of programming in Dreamcard and Revolution to the widest possible audience, > in a fun, exciting way. Don't know what a stack is? Don't know your > background from your backyard? These conferences are for you. They will also > be excellent refreshers for more experienced scripters, a forum where you > can meet other Revolutionaries, and an all round exhilarating experience. > Advanced Revolution users will be in attendance, so after the moderated > discussion on the topic at hand, you can ask your own scripting questions > and get real-time personalized answers from the pros. Come along and join > the fun! > > For more information and details on how to join the chats, please visit > > http://support.runrev.com/scriptingconferences/ > > Warm regards, > > Heather > > -- > > ** For a faster response to all licensing, support, and technical issues, > please now send mail to support at runrev.com ** > > Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ > Runtime Revolution - User-Centric Development Tools > Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 > ~~~ Check our web site for new Revolution editions & special offers ~~~ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Thu Apr 14 13:32:55 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 14 Apr 2005 10:32:55 -0700 (PDT) Subject: Tabs tutorial & Ordinary Humans -- Long In-Reply-To: Message-ID: Hi Eric, > Let me tell you very friendly that I do'nt agree your position. > Beginners are surely as clever as you and me put together ;-) > Only they don't already know... And have to learn. --I take your comments in the friendly spirit in which they were offered... but I still disagree. They only HAVE to learn if you are in a position of power (e.g., they are taking your class, you are the teacher and what you say goes). A real life example from my master's program in instructional design and technology: Our group consisted of 23 students (yours truly included). One taught Director at his university. One or two others had a slight geek background. The bulk of the remainder were public school teachers and the like. Of the last group, one only sorta, kinda, figured out what a URL was (that is, if you sent her one, she knew what to do with it and if you asked her for one, she could identify it in her browser window and send it to you; in the beginning, she couldn't even do that) after two years. Didn't know what a browser was. Didn't know what kind of computer she used (NOT uncommon! I did a little survey of 75 or so future teachers at a job fair that queried them on what they would like to be able to do with a computer, what kind of computer they had, etc. Similar results). Okay, so we were forced to use Director. Director, which sorta-kinda has a verbose, Hypertalk/Transcript-like mode. For our final m.s. project, we could use whatever we liked. AFAIK, there was only one or two Director-based projects. With the exception of me using Rev, the rest of them used FrontPage(!) to create an instructional module for their public school class. If normal people perceive a software product to be overly geeky or confusing, and IF they have a choice, they WILL use something else. Dreamcard *could be* the tool of choice for public school teachers to use to create interactive courseware. But, unfortunately, the state of computer literacy/preparedness for public school teachers in the U.S. is truly pitiful. I tested my m.s. project out on a buch of Reading master's candidate who, again, were largely women and largely public school teachers seeking a master's degree in reading. Fully 1/3 or more self-identified as 'technophobes' and 'stupid about computers' and the like. Only one or two indicated any confidence about using a computer to create things using *PowerPoint*. More than half had serious modality problems with respect to Rev's new, improved cursors that allow you to switch between editing/browsing modes. More than a few had modality problems in that they clicked outside Rev's areas, fell back into the operating system, and considered *that* a roadblock. The most techie thing that they had done during the course of their m.s. program was to do the occasional PowerPoint presentation. That's the edu mindset here in the U.S. The literature further shows that surveys of even college professors' software usage tends not to go beyond using a word processor, a spreadsheet (maybe!), email and a web browser. I can dig it up if you are interested. > I think that it 's always better for them to take the right way without > waiting. > Here, using the menuPick message (1 line handler versus 12 lines: Rev > is sometimes verbose, sometimes so simple...) is the right way. > Adding some good explanations about parameters would complete the job. I think that this *could* be done later, once you've got this group hooked. I've got a master's candidate in music who's taking my class right now. After three weeks of going over it with him, having an example stack and PDF, he STILL can't quite get his head wrapped around the concept of a variable such that he can actually create and use one. Life in the trenches... Judy From jperryl at ecs.fullerton.edu Thu Apr 14 13:33:47 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 14 Apr 2005 10:33:47 -0700 (PDT) Subject: Revolution Online Scripting Conferences In-Reply-To: <3d8af41505041410244c2a4f16@mail.gmail.com> Message-ID: I believe that the answer is "Yes". Judy On Thu, 14 Apr 2005, Glen Bojsza wrote: > Will the sessions be recorded for later reviews? From howard.bornstein at gmail.com Thu Apr 14 13:46:47 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Thu, 14 Apr 2005 13:46:47 -0400 Subject: Make down arrow behave like tab key In-Reply-To: References: Message-ID: <3f07cc26050414104641f69342@mail.gmail.com> On 4/14/05, Kaveh Bazargan wrote: >Thanks. Using "number" is what I was looking for. Now I have some fields >hidden, so now I need to ignore those. Also, some fields are locked. > >Now the tab key automatically takes these into account, and jumps to the >next visible, unlocked field. I just wanted to check there is no easy way >of saying "press the tab key". Sorry, I made this a lot more complicated than need be. Try this. I think this does what you're looking for. on arrowkey theKey if theKey is "down" then type numtochar(9) else if theKey is "up" then type numtochar(9) with shiftkey end if end arrowkey -- Regards, Howard Bornstein ----------------------- www.designeq.com From eric.chatonet at sosmartsoftware.com Thu Apr 14 13:48:46 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Apr 2005 19:48:46 +0200 Subject: Tabs tutorial & Ordinary Humans -- Long In-Reply-To: References: Message-ID: <394d0fee55cfad54795d79cb6e2cce16@sosmartsoftware.com> Hi Judy, Thanks for your thoughtful answer. I have nothing to add but only one thing: gifts are very various on this earth. Why force people to learn programming if there are so much better when painting or playing an (other) instrument? Best, Le 14 avr. 05, ? 19:32, Judy Perry a ?crit : > Hi Eric, > >> Let me tell you very friendly that I do'nt agree your position. >> Beginners are surely as clever as you and me put together ;-) >> Only they don't already know... And have to learn. > > --I take your comments in the friendly spirit in which they were > offered... but I still disagree. They only HAVE to learn if you are > in a > position of power (e.g., they are taking your class, you are the > teacher > and what you say goes). A real life example from my master's program > in > instructional design and technology: > > Our group consisted of 23 students (yours truly included). One taught > Director at his university. One or two others had a slight geek > background. The bulk of the remainder were public school teachers and > the like. Of the last group, one only sorta, kinda, figured out what a > URL was (that is, if you sent her one, she knew what to do with it and > if > you asked her for one, she could identify it in her browser window and > send it to you; in the beginning, she couldn't even do that) after two > years. Didn't know what a browser was. Didn't know what kind of > computer > she used (NOT uncommon! I did a little survey of 75 or so future > teachers > at a job fair that queried them on what they would like to be able to > do > with a computer, what kind of computer they had, etc. Similar > results). > > Okay, so we were forced to use Director. Director, which sorta-kinda > has > a verbose, Hypertalk/Transcript-like mode. > > For our final m.s. project, we could use whatever we liked. > > AFAIK, there was only one or two Director-based projects. With the > exception of me using Rev, the rest of them used FrontPage(!) to create > an instructional module for their public school class. If > normal people perceive a software product to be overly geeky or > confusing, and IF they have a choice, they WILL use something else. > > Dreamcard *could be* the tool of choice for public school teachers to > use > to create interactive courseware. But, unfortunately, the state of > computer literacy/preparedness for public school teachers in the U.S. > is > truly pitiful. > > I tested my m.s. project out on a buch of Reading master's candidate > who, > again, were largely women and largely public school teachers seeking a > master's degree in reading. > > Fully 1/3 or more self-identified as 'technophobes' and 'stupid about > computers' and the like. Only one or two indicated any confidence > about > using a computer to create things using *PowerPoint*. More than half > had > serious modality problems with respect to Rev's new, improved cursors > that allow you to switch between editing/browsing modes. More than a > few > had modality problems in that they clicked outside Rev's areas, fell > back > into the operating system, and considered *that* a roadblock. > > The most techie thing that they had done during the course of their > m.s. > program was to do the occasional PowerPoint presentation. That's the > edu > mindset here in the U.S. The literature further shows that surveys of > even college professors' software usage tends not to go beyond using a > word processor, a spreadsheet (maybe!), email and a web browser. I can > dig it up if you are interested. > >> I think that it 's always better for them to take the right way >> without >> waiting. >> Here, using the menuPick message (1 line handler versus 12 lines: Rev >> is sometimes verbose, sometimes so simple...) is the right way. >> Adding some good explanations about parameters would complete the job. > > I think that this *could* be done later, once you've got this group > hooked. I've got a master's candidate in music who's taking my class > right now. After three weeks of going over it with him, having an > example > stack and PDF, he STILL can't quite get his head wrapped around the > concept of a variable such that he can actually create and use one. > > Life in the trenches... > > Judy Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From howard.bornstein at gmail.com Thu Apr 14 13:51:00 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Thu, 14 Apr 2005 13:51:00 -0400 Subject: Make down arrow behave like tab key In-Reply-To: <3f07cc26050414104641f69342@mail.gmail.com> References: <3f07cc26050414104641f69342@mail.gmail.com> Message-ID: <3f07cc26050414105153b5226b@mail.gmail.com> > >Also, some fields are locked. For the locked fields, set their TraversalOn property to false. Then you won't tab to them. -- Regards, Howard Bornstein ----------------------- www.designeq.com From len-morgan at crcom.net Thu Apr 14 13:50:37 2005 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 14 Apr 2005 12:50:37 -0500 Subject: How many developers in USA & Oracle question Message-ID: <425EAD6D.5040809@crcom.net> It's been my experience that if you ultimately want to move to Oracle, Postgresql is a better choice than mySQL because PG tries to be as Oracle compatible as possible. I can also tell you from experience that if you want to move to MS SQL Server later, be VERY careful about your SQL since there are lots of things that are incompatible even with "simple" SQL statements. For example, in Oracle/Postgres you would join two fields you would use something like SELECT last_name || ', ' || first_name whereas in MS SQL it would be SELECT last_name + ', ' + first_name (very VB like). You might try installing a recent version of Postgres on your desktop because they have recently made some terrific strides in user friendliness especially on Windows (they now have a native Windows port!). Len Morgan From revdan at danshafer.com Thu Apr 14 14:11:38 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 14 Apr 2005 11:11:38 -0700 Subject: Revolution Online Scripting Conferences In-Reply-To: References: Message-ID: Yes, the answer is Yes. We're using some way-cool technology that teams up Revolution and the fabulous Web Crossing server technology. Insanely great. On Apr 14, 2005, at 10:33 AM, Judy Perry wrote: > I believe that the answer is "Yes". > > Judy > > On Thu, 14 Apr 2005, Glen Bojsza wrote: > >> Will the sessions be recorded for later reviews? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest EARLY BIRD $70 SAVING ENDS APRIL 15! From eric.chatonet at sosmartsoftware.com Thu Apr 14 14:18:36 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Apr 2005 20:18:36 +0200 Subject: Tabs tutorial & Ordinary Humans -- Long In-Reply-To: References: Message-ID: Hi Judy, A last word because my bad english makes me not so clear... My last remaks are general remarks about the world we are living in. Not about you and the hard job to teach technology which is yours. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From kaveh at river-valley.com Thu Apr 14 14:31:22 2005 From: kaveh at river-valley.com (Kaveh Bazargan) Date: Thu, 14 Apr 2005 19:31:22 +0100 Subject: Make down arrow behave like tab key In-Reply-To: <3f07cc26050414104641f69342@mail.gmail.com> References: <3f07cc26050414104641f69342@mail.gmail.com> Message-ID: At 1:46 pm -0400 14/4/05, Howard Bornstein wrote: [...] >on arrowkey theKey > if theKey is "down" then > type numtochar(9) > else if theKey is "up" then > type numtochar(9) with shiftkey > end if >end arrowkey Yup. This is what I was looking for. Perfect, thanks. At 1:51 pm -0400 14/4/05, Howard Bornstein wrote: >For the locked fields, set their TraversalOn property to false. Then >you won't tab to them. And thank you for this tip too which will come in handy. -- Kaveh Bazargan http://www.river-valley.com/ http://www.holographer.org/ From christian.langers at education.lu Thu Apr 14 14:32:47 2005 From: christian.langers at education.lu (Christian Langers) Date: Thu, 14 Apr 2005 20:32:47 +0200 Subject: Xtalk/Transcript language mode for external editor SubEthaEdit Message-ID: Hello everyone, Inspired by Peter Amstrong's mail and the reactions following it, I wanted to contribute to the possibility of using an external script editor via Alex Rices's MLXEditor stack ... I tried BBedit but was not comfortable with it... As I had a copy of SubEthaEdit on my computer and as I used to use it for some perl scripts, I noticed how easy it was to work with ; ok, it's rather a simple editor but with some extras... The SyntaxColoring of Transcript.mode I created for SubEthaEdit is almost the same as in Rev's script editor... With the possibility (in SubEthaEdit) to popup functions written in your script, I tried to focus on handlers, functions and global/local variables; so you got a list with all your handlers, functions, global/local variables... Just like in the Rev's script editor... If you save a plain text with these extensions : .rxt or .revtext, SubEthaEdit will recognize automatically the syntaxe mode and colorize the script instantly ; so, in the MLXEditor, just change the Script file extension from txt to rxt and your scripts are colored automatically... Here's the file : http://homepage.mac.com/ibook.lu/.Public/revfiles/Transcript.mode.zip (double-clicking the file will tell you, where to place it on your computer..) Any comments are welcome ! SubEthaEdit : (http://www.codingmonkeys.de/subethaedit/) is just a fine, little but powerful plain text editor (OS X native) with possibilities of collaborative writing (via RendezVous...); just what I need, small and fast and free (for personal or educational use :-) ) So I hope someone finds this useful and please, do enjoy ... Christian Langers From sanke at hrz.uni-kassel.de Thu Apr 14 14:42:36 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 14 Apr 2005 20:42:36 +0200 Subject: Make down arrow behave like tab key Message-ID: <425EB99C.1020707@hrz.uni-kassel.de> On Thu Apr 14 Kaveh Bazargan kaveh at river-valley.com wrote: > I have several fields in a stack and I want to be able to navigate through > them using up and down arrow keys (I find shift tab not friendly). So how > can I make down arrow act like tab, and on up arrow act like shift-tab? > I have tried > > on arrowKey theKey > if theKey is "down" then > tabKey > end if > end if > end arrowKey > > But tabKey handler is not found. Also tried > > send tabKey to fld ... > > etc. > -- > > Kaveh Bazargan Seems to me you cannot use "tabkey" or "send tabkey" inside another handler. Someone from the Rev team should comment on this as there is no exact information in the docs or at least I can't find it. Put this into your card script: "on arrowkey thekey put the number of fields into FNumber if thekey is "down" then put word 1 of the focusedobject into Tobject if tobject is among the items of "card,button,graphic,image" then # add more control categories that could receive the focus to the items focus on field 1 else if tobject is "field" then put word 3 of the focusedobject into IDNO put the number of field ID IDNO into tNumber if tNumber = FNumber then focus on field 1 else focus on field (tNumber + 1) end if end if end if end arrowkey" Although somewhat complicated, it should work. Change and add to the script accordingly when you want "arrow up" act like shift-tab, too. Regards, Wilhelm Sanke From hershrev at realtorsgroup.us Thu Apr 14 14:44:46 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 14 Apr 2005 14:44:46 -0400 Subject: Money Message-ID: Hi all How do I handle money amounts in a fld, e.g. "," or "." ? Thanks, Hershel From oak at jwscpa.com Thu Apr 14 14:50:03 2005 From: oak at jwscpa.com (Oak Norton) Date: Thu, 14 Apr 2005 12:50:03 -0600 Subject: Database choosing In-Reply-To: <425EAD6D.5040809@crcom.net> Message-ID: <004e01c54122$c51e2db0$6501a8c0@oak2700main> Hello all, I'm a total newbie to Revolution and I have limited programming experience. I'm one of those people I read about in a recent post that needs a solution so I figure out how to program it for myself. My experience has mostly been with cold fusion and MS-SQL/Access. I've been leaning toward MySQL for a cross-platform project, but from the posts on this board I'm just about ready to look at PostgreSQL. I know there's some differences between all the SQL's but don't know much about what they are. In the example below I see a bit of code which illustrated that point and just worries me a tad because I find Access invaluable to build queries quickly and test them out and if I didn't have to change the code at all, that would be a big plus. So which of the sql flavors is closest to MSSQL and will go cross-platform? Thanks, Oak > It's been my experience that if you ultimately want to move > to Oracle, > Postgresql is a better choice than mySQL because PG tries to be as > Oracle compatible as possible. I can also tell you from > experience that > if you want to move to MS SQL Server later, be VERY careful > about your > SQL since there are lots of things that are incompatible even with > "simple" SQL statements. For example, in Oracle/Postgres you > would join > two fields you would use something like SELECT last_name || ', ' || > first_name whereas in MS SQL it would be SELECT last_name + ', ' + > first_name (very VB like). From dburgun at dsl.pipex.com Thu Apr 14 14:56:19 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 14 Apr 2005 19:56:19 +0100 Subject: How to call a function is a Group??? In-Reply-To: <425EB99C.1020707@hrz.uni-kassel.de> References: <425EB99C.1020707@hrz.uni-kassel.de> Message-ID: Hi, I have a group ("myGroup") and in the script for the group I have a function: function InitializeGroup end InitializeGroup Then in another object not in the group, I have: get InitializeGroup of group "myGroup" But I get an error on the call, what am I doing wrong? Thanks in advance Dave From kaveh at river-valley.com Thu Apr 14 15:05:24 2005 From: kaveh at river-valley.com (Kaveh Bazargan) Date: Thu, 14 Apr 2005 20:05:24 +0100 Subject: Make down arrow behave like tab key In-Reply-To: <425EB99C.1020707@hrz.uni-kassel.de> References: <425EB99C.1020707@hrz.uni-kassel.de> Message-ID: At 8:42 pm +0200 14/4/05, Wilhelm Sanke wrote: [...] >Seems to me you cannot use "tabkey" or "send tabkey" inside another >handler. Someone from the Rev team should comment on this as there is no >exact information in the docs or at least I can't find it. Please see mail from Howard, who used type numtochar(9) Thanks for your mail too. Nice thing is that I learn something from every reply. :-) -- Kaveh Bazargan http://www.river-valley.com/ http://www.holographer.org/ From b.xavier at internet.lu Thu Apr 14 15:28:28 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 14 Apr 2005 21:28:28 +0200 Subject: How to call a function is a Group??? In-Reply-To: Message-ID: <20050414194123.20EFE93005D@mail.runrev.com> Dave, you should send the message to the group like send "initializeGroup" to group "MyGroup" then again, you can also put the initializerhandler into the card script or the stack script. This would avoid the send but might require different scripts... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > David Burgun > Sent: Thursday, April 14, 2005 20:56 > To: How to use Revolution > Subject: How to call a function is a Group??? > > Hi, > > I have a group ("myGroup") and in the script for the group I > have a function: > > function InitializeGroup > > end InitializeGroup > > > > Then in another object not in the group, I have: > > get InitializeGroup of group "myGroup" > > But I get an error on the call, what am I doing wrong? > > Thanks in advance > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From aj445 at traverse.lib.mi.us Thu Apr 14 15:28:46 2005 From: aj445 at traverse.lib.mi.us (SB) Date: Thu, 14 Apr 2005 15:28:46 -0400 Subject: RevConWest In-Reply-To: <20050414180525.AEC859300E6@mail.runrev.com> References: <20050414180525.AEC859300E6@mail.runrev.com> Message-ID: <6B4E24F2-AD1B-11D9-8C5C-000A95F0C744@leo.nmc.edu> Intensive Rev and the California coast-- what could be better? LIke others, we also would like to make a holiday of it, adding a day or two to our stay. See you in June. Sandy From fde101 at fjrhome.net Thu Apr 14 15:53:39 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 14 Apr 2005 15:53:39 -0400 Subject: SSL Connections to PostgreSQL? Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Does anyone know if Rev can use SSL connections to PostgreSQL through Rev DB? The docs indicate support for SSL with MySql, but I can't find any mention of supporting SSL connections to PostgreSQL, even though PostgreSQL has supported SSL connections for some time. Thank you. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCXspD7aqtWrR9cZoRAlVIAJ9Rvq7tTH69YPlrDF3xAX1VKcHjuwCffOkV Tfvj17QkrlQP+GyAarJN0dw= =LzEj -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jacque at hyperactivesw.com Thu Apr 14 16:14:26 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Apr 2005 15:14:26 -0500 Subject: Revolution Online Scripting Conferences In-Reply-To: <3d8af41505041410244c2a4f16@mail.gmail.com> References: <3d8af41505041410244c2a4f16@mail.gmail.com> Message-ID: <425ECF22.8080204@hyperactivesw.com> On 4/14/05 12:24 PM, Glen Bojsza wrote: > > This is an excellent move! > > Will the sessions be recorded for later reviews? Here is how these sessions will work, which are modeled on the HyperCard scripting conferences I hosted on AOL for several years. These were highly successful and motivating sessions for everyone, and I am sure that the Runtime sessions will be the same. The conferences are an excellent way for beginners to learn basic skills, intermediate users to brush up on concepts they may be fuzzy about, and experienced users to share their expertise. Everyone, regardless of skill level, should plan to attend, since we are going to have a wonderful time and share a lot of knowledge. This is what will happen: The presenter will prepare a teaching stack in advance of the session. The stack will be made available for public download 1 week before the conference date. Those who plan to attend can download and study the stack in advance. This isn't required, but is encouraged to make you familiar with the material. On the conference date, after I have introduced the speaker, the speaker will explain their stack and its concepts in a lecture format lasting 30-60 minutes. During this time a moderated chat protocol will be in effect, preventing everyone from talking at once. (Chat protocol is explained in the conference stack.) After the formal presentation, attendees can ask questions and/or make comments about the topic being covered, allowing us to expand on the information that was formally presented. During Q&A, the presenter is not the only one who will answer questions; anyone who has something to add can help explain. This gives us access to a wide range of expertise and experience. After Q&A, the formal part of the conference ends. A transcript of the proceedings will be saved and placed into the conference stack, which will be re-uploaded to the web site. Folks who want a copy of the transcript can re-download the stack after the conference is over. In addition, future Rev users will have access to these stacks and their accompanying transcripts, allowing them to learn the material even though they did not have a chance to attend the conference itself. In other words, we will be creating an archive of tutorials and learning materials that anyone can use. When Q&A is over the floor is opened to informal, unmoderated chat, and participants may socialize, ask questions about other unrelated Revolution topics, have a free-form discussion about anything they like, etc. There is no official ending time; the chat is over when the last person leaves the room. During the HyperCard AOL conferences, these sessions were very popular and people looked forward to them not only to learn about the topic presented for the week, but also to have personal access to some of the top gurus in the field. Our Revolution sessions should be equally informative, fun, and enlightening for all Revolution users. I highly encourage everyone to attend. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Thu Apr 14 16:18:50 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 14 Apr 2005 13:18:50 -0700 Subject: RevCon West Tourist Activities In-Reply-To: References: <537c09d4801539f670cbf441bc464522@byu.edu> Message-ID: <897edcab2bf092699b2c382288b15a67@canelasoftware.com> On Apr 14, 2005, at 9:06 AM, Dan Shafer wrote: > Devin..... > > After I get back from my spring vacation (the week of 4/25), I'll > start putting up some links and information about non-conference > Monterey stuff. And I'll send an email to all registered attendees > with details about discounts, etc. > > Right now, we're thinking about offering two or three activities on > Sunday, June 19, either free or at steep discounts, for attendees > and/or family/friends. Whether we do that and what we do will depend > on how many people raise their hands and indicate an interest. The > more people we sign up, of course, the cheaper we can get these > things. > > > On Apr 14, 2005, at 8:41 AM, Devin Asay wrote: > >> Dan, >> >> I'm thinking of making a family trip of it as well. Any information >> you could gather about local sights would be most appreciated -- as >> would discount passes. ;-) >> >> Devin >> >> I am bringing my family as well and would be interested in some activities as well. Thanks for looking into this. Mark Talluto -- CANELA Software http://www.canelasoftware.com From sanke at hrz.uni-kassel.de Thu Apr 14 16:30:19 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 14 Apr 2005 22:30:19 +0200 Subject: Make down arrow behave like tab key Message-ID: <425ED2DB.9030503@hrz.uni-kassel.de> On Thu Apr 14 21:05:24 EDT 2005 Kaveh Bazargan kaveh at river-valley.com wrote: > Please see mail from Howard, who used > > type numtochar(9) > > Thanks for your mail too. Nice thing is that I learn something from every > reply. :-) > -- > > Kaveh Bazargan > http://www.river-valley.com/ > http://www.holographer.org/ Howard's script indeed exactly emulates the behavior of the Tab key, meaning that it shifts the focus to *any* control that can receive the focus on a card. I had the impression you wanted to restrict the focus shift to *fields* when you wrote: "I have several fields in a stack and I want to be able to navigate through them using up and down arrow keys (I find shift tab not friendly)." If that is the case, you would need to add something to identify fields - like I had tried to do in my script proposal. Regards, Wilhelm Sanke From devin_asay at byu.edu Thu Apr 14 16:48:40 2005 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 14 Apr 2005 14:48:40 -0600 Subject: How to call a function is a Group??? In-Reply-To: References: <425EB99C.1020707@hrz.uni-kassel.de> Message-ID: <8c7a36fe36849d7c85670ae812103b67@byu.edu> Dave, If this is a function you have to put the function call in the proper format: get initializeGroup() --() are required even if the function doesn't require an argument. If you are trying to call this function from outside of the group, i.e., from an object outside of the group's message hierarchy, the situation is my complicated: send "get initializeGroup()" to group "mygrp" Devin On Apr 14, 2005, at 12:56 PM, David Burgun wrote: > Hi, > > I have a group ("myGroup") and in the script for the group I have a > function: > > function InitializeGroup > > end InitializeGroup > > > > Then in another object not in the group, I have: > > get InitializeGroup of group "myGroup" > > But I get an error on the call, what am I doing wrong? > > Thanks in advance > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From chipp at chipp.com Thu Apr 14 16:50:08 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 14 Apr 2005 15:50:08 -0500 Subject: A Cool Freebie for RevCon West Attendees (Resend) In-Reply-To: <20050414160032.D6D37930080@mail.runrev.com> References: <20050414160032.D6D37930080@mail.runrev.com> Message-ID: <425ED780.1090201@chipp.com> A quick search on Travelocity shows: Brussels, Belgium (BRU) to San Jose, CA (SJC) Departing Wed, Jun 15 Returning Wed, Jun 22 1 Adult for $950 with only 1-stop! -Chipp MisterX wrote: > What prices are you guys paying to fly to monterey? > > Any cool packages from France, Belgium, Holland or Germany? > > cheers > Xav From revdan at danshafer.com Thu Apr 14 16:54:02 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 14 Apr 2005 13:54:02 -0700 Subject: RevConWest In-Reply-To: <6B4E24F2-AD1B-11D9-8C5C-000A95F0C744@leo.nmc.edu> References: <20050414180525.AEC859300E6@mail.runrev.com> <6B4E24F2-AD1B-11D9-8C5C-000A95F0C744@leo.nmc.edu> Message-ID: Got your sign-up, Sandy. Thanks. Looking forward to meeting you in June! On Apr 14, 2005, at 12:28 PM, SB wrote: > Intensive Rev and the California coast-- what could be better? > > LIke others, we also would like to make a holiday of it, adding a day > or two to our stay. > > See you in June. > > Sandy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Thu Apr 14 16:57:23 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 14 Apr 2005 13:57:23 -0700 Subject: RevCon West Tourist Activities In-Reply-To: <897edcab2bf092699b2c382288b15a67@canelasoftware.com> References: <537c09d4801539f670cbf441bc464522@byu.edu> <897edcab2bf092699b2c382288b15a67@canelasoftware.com> Message-ID: Mark.... Happy to be of service. If we get a big enough turnout -- and it's starting to look like we definitely will -- I can arrange some really fun activities for folks. Monterey is a tourist destination resort community and there is a lot to do here. On Apr 14, 2005, at 1:18 PM, Mark Talluto wrote: > I am bringing my family as well and would be interested in some > activities as well. Thanks for looking into this. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest EARLY BIRD $70 DISCOUNT ENDS APRIL 15! From userev at canelasoftware.com Thu Apr 14 17:06:15 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 14 Apr 2005 14:06:15 -0700 Subject: ANN Getting Nine digit zip codes In-Reply-To: References: <20050413104113.50D3A93007A@mail.runrev.com> Message-ID: On Apr 13, 2005, at 5:55 AM, Jim Hurley wrote: > Please, somebody, let me know how long this takes you with broadband. > Thanks. > > To see the program, run this in the message box > > go url "http://home.infostations.net/jhurley/NineDigitZipCodes.rev" > (DO NOT CLICK THIS LINK) 12 seconds on my cable connection. Mark Talluto -- CANELA Software http://www.canelasoftware.com From briany at qldlearning.com Thu Apr 14 17:13:48 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 14 Apr 2005 14:13:48 -0700 Subject: ANN Getting Nine digit zip codes In-Reply-To: References: <20050413104113.50D3A93007A@mail.runrev.com> Message-ID: <78df9fbe7128222dbb7b72e3d62843c4@qldlearning.com> < 1 second on my cable connection. > > On Apr 13, 2005, at 5:55 AM, Jim Hurley wrote: > >> Please, somebody, let me know how long this takes you with broadband. >> Thanks. >> >> To see the program, run this in the message box >> >> go url "http://home.infostations.net/jhurley/NineDigitZipCodes.rev" >> (DO NOT CLICK THIS LINK) > > > 12 seconds on my cable connection. > > Mark Talluto > -- > CANELA Software > http://www.canelasoftware.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jmac at consensustech.com Thu Apr 14 17:32:40 2005 From: jmac at consensustech.com (Jim MacConnell) Date: Thu, 14 Apr 2005 14:32:40 -0700 Subject: ANN Getting Nine digit zip codes In-Reply-To: <78df9fbe7128222dbb7b72e3d62843c4@qldlearning.com> Message-ID: 23 seconds... DSL @ 1536/992kbps - (down/up) -- Jim Consensus Technology, LLC > Subject: Re: ANN Getting Nine digit zip codes > > go url "http://home.infostations.net/jhurley/NineDigitZipCodes.rev" From psahores at easynet.fr Thu Apr 14 17:34:22 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 14 Apr 2005 23:34:22 +0200 Subject: Database choosing In-Reply-To: <004e01c54122$c51e2db0$6501a8c0@oak2700main> References: <004e01c54122$c51e2db0$6501a8c0@oak2700main> Message-ID: <9b0c104fea19b29c9a37658b7729c23c@easynet.fr> As Len previoulsy said there, PostgreSQL 7 and 8 are realy very great ACID compliant ORDBMS and i use them as the back-ends of all my "n-tier" solutions since years with a very great confidence. In about dozains of megaoctets to hundreds of gigaoctets of datas peer database well designed, PostgreSQL rocks. In about more heavy solutions, i would goes, directly, to a Sybase ASE solution instead of an Oracle one (a little too java-centered for me - the linux installer included), even if Oracle is, for sure, a powerfull tool and, yet, a less expensive solution than it use to be until two years ago. It will probably be a good idea to avoid, if possible, the less powerfull MS SQL-Server solution... Best, -- Pierre Le 14 avr. 05, ? 20:50, Oak Norton a ?crit : > Hello all, I'm a total newbie to Revolution and I have limited > programming > experience. I'm one of those people I read about in a recent post that > needs a solution so I figure out how to program it for myself. My > experience has mostly been with cold fusion and MS-SQL/Access. I've > been > leaning toward MySQL for a cross-platform project, but from the posts > on > this board I'm just about ready to look at PostgreSQL. I know there's > some > differences between all the SQL's but don't know much about what they > are. > In the example below I see a bit of code which illustrated that point > and > just worries me a tad because I find Access invaluable to build queries > quickly and test them out and if I didn't have to change the code at > all, > that would be a big plus. So which of the sql flavors is closest to > MSSQL > and will go cross-platform? > > Thanks, > > Oak > > >> It's been my experience that if you ultimately want to move >> to Oracle, >> Postgresql is a better choice than mySQL because PG tries to be as >> Oracle compatible as possible. I can also tell you from >> experience that >> if you want to move to MS SQL Server later, be VERY careful >> about your >> SQL since there are lots of things that are incompatible even with >> "simple" SQL statements. For example, in Oracle/Postgres you >> would join >> two fields you would use something like SELECT last_name || ', ' || >> first_name whereas in MS SQL it would be SELECT last_name + ', ' + >> first_name (very VB like). > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From swartart at iafrica.com Thu Apr 14 17:37:09 2005 From: swartart at iafrica.com (Ryno Swart) Date: Thu, 14 Apr 2005 23:37:09 +0200 Subject: Learning Tabbed Buttons. In-Reply-To: <20050414100251.556A8930169@mail.runrev.com> Message-ID: <5AEEE8AC-AD2D-11D9-BECC-003065D180EE@iafrica.com> The work you have all done on the tabbed button tutorial has been exemplary and it could well establish a standard as far as Rev documentation is concerned. Thanks to you all. I am especially impressed by the easy and generous exchange of ideas and and tweaking. I feel that Judy has created a superb interface with various tabbed buttons used in such a way as to explain different levels of user skill. I also enjoy the point by point format of the PDF. However, I do find the scripts a bit complex for me... All I needed to know, and without which I was lost, is this: ------------------- Script Tabbed Button as follows (my favourite from a few): on menuPick pCardName go to card pCardName end menuPick Group Tabbed Button, tick "Behave as a background", create extra cards. Then name each card EXACTLY the same as the Tab Button that is to take you to that card. =========== This naming is critical, and it is nowhere that I could find in the documentation. I had to figure it out myself eventually by naming my cards "Tab 1" and "Tab 2" and seeing what would happen. I also did not find this elegant script in the documentation, but received it from list members. (Where, by the way, does the "pCardName come from, and where is this "p" convention documented?) ------------------- That's it, it works, I understand all but the "p" thing, and I would like to thank you all. I would love to see this excellent tutorial stored in some central and easy to find repository of tips and tutorials. It is also important not to have too many such items in one place, because too much information is also not good. I must also mention the wonderful tabbed button example posted me by Mickey. Ryno. From ambassador at fourthworld.com Thu Apr 14 17:56:47 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Apr 2005 14:56:47 -0700 Subject: Learning Tabbed Buttons. In-Reply-To: <5AEEE8AC-AD2D-11D9-BECC-003065D180EE@iafrica.com> References: <5AEEE8AC-AD2D-11D9-BECC-003065D180EE@iafrica.com> Message-ID: <425EE71F.704@fourthworld.com> Ryno Swart wrote: > on menuPick pCardName > go to card pCardName > end menuPick .. > I understand all but the "p" thing... That curmudgeonly habit is explained here: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From nicolas_cueto at yahoo.com Thu Apr 14 17:57:04 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Fri, 15 Apr 2005 06:57:04 +0900 Subject: ANN Getting Nine digit zip codes References: Message-ID: <007f01c5413c$e5b33f60$0b01a8c0@niconiko04zbtb> About 2 seconds. -- Nicolas Cueto (Japan) > > Subject: Re: ANN Getting Nine digit zip codes > > > > go url "http://home.infostations.net/jhurley/NineDigitZipCodes.rev" From livfoss at blueyonder.co.uk Thu Apr 14 18:07:44 2005 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Thu, 14 Apr 2005 23:07:44 +0100 Subject: How to call a function is a Group??? Message-ID: <3769f3a2cba1d8b6bf3174e4463c810c@blueyonder.co.uk> The trouble with Devin's solution is that it doesn't actually supply the result of the function. From the RunRev docs: > You use the value function to call a function that's in the script of > an object that isn't in the message path. Usually, you can only call > custom functions that are somewhere in the message path, but you can > use the value function to call any function in any object in an open > stack. > > For example, suppose you want to use a function named "myFunction" > which is defined in the script of card 1 of a stack named "My Stack". > The following statement can be used to call the function from any > script or from the message box: > > get value("myFunction()",card 1 of stack "My Stack") > > Tip: You can use the insert script command to place the object in > the message path. In this case, you don't need to use the value > function. HTH Graham On Thu, 14 Apr 2005 14:48:40 -0600, Devin Asay wrote: > Dave, > > If this is a function you have to put the function call in the proper > format: > > get initializeGroup() --() are required even if the function doesn't > require an argument. > > If you are trying to call this function from outside of the group, > i.e., from an object outside of the group's message hierarchy, the > situation is my complicated: > > send "get initializeGroup()" to group "mygrp" > > Devin > > On Apr 14, 2005, at 12:56 PM, David Burgun wrote: > >> Hi, >> >> I have a group ("myGroup") and in the script for the group I have a >> function: >> >> function InitializeGroup >> >> end InitializeGroup >> >> >> >> Then in another object not in the group, I have: >> >> get InitializeGroup of group "myGroup" >> >> But I get an error on the call, what am I doing wrong? >> >> Thanks in advance >> Dave >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University ------------------------------------------------------------------------ --- Graham Samuel / The Living Fossil Co. / UK and France From jeff at siphonophore.com Thu Apr 14 18:11:08 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Thu, 14 Apr 2005 18:11:08 -0400 Subject: A Cool Freebie for RevCon West Attendees In-Reply-To: <20050414214552.E20B09300E5@mail.runrev.com> References: <20050414214552.E20B09300E5@mail.runrev.com> Message-ID: <600727ba432827345af1a656aabfb018@siphonophore.com> also check San Francisco (sfo) and Oakland (oak) for flights, San Jose can be very expensive to fly into. San Francisco and Oakland are about 2 hrs from monterey by car w/o traffic and about 3 hours with traffic at commute times. San Jose is about 70 minutes w/o traffic to monterey. Also Jet Blue flys into Oakland and can have some nice fares. You can also get connecting flights into monterey (United and a few smaller carriers), but they are usually pretty pricey and the car rentals can be high in monterey if its a popular weekend (they also don't have most of the more budget rental car companies in the monterey area). Unfortunately, there is not good/convenient public transportation from San Francisco or San Jose areas down to monterey. Train is very hard to do and doesn't get you right to monterey (actually Amtrak busses most folks from sf to monterey) and there is some bus service. There fairly good bus service around the central area of monterey tourist stuff, but if you want to get out and around to see nature in the area, a car is a good thing to have. Parking is not a large problem around the monterey area (just near tourist attractions on the weekend, but not horrible). As Dan has said there is gobs of stuff to do in the monterey area and plenty to keep the family happy while you are in sessions too. The aquarium itself is almost too much for one day in itself. The monterey area has a lot to offer for a small place. Also when you visit the aquarium, check out the Deep Link exhibit in the auditorium where they present the live deep sea video from the ROVs in the bay, its Metacard driven! After the presentations they let folks go down to the podium and usually will show off the system. There's also a very simple exhibit on climate and climate change in the Pacific Grove Natural History Museum that is metacard driven. you might wonder why i peep in on this... i grew up in monterey, have worked/lived there off and on, and my folks still live there. I go back often and deal with the easiest/cheapest ways of getting there! yell if you have questions about the area and i can probably pass on ideas if you have something special you want to do. Wish I could attend, but not sure if its going to work out in the schedule. Hopefully one of my projects will get me out there and i can attend! cheers, jeff Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 jeff at siphonophore.com On Apr 14, 2005, at 5:45 PM, use-revolution-request at lists.runrev.com wrote: > A quick search on Travelocity shows: > > Brussels, Belgium (BRU) to San Jose, CA (SJC) > Departing Wed, Jun 15 > Returning Wed, Jun 22 > 1 Adult > > for $950 with only 1-stop! From dick.kriesel at mail.com Thu Apr 14 18:29:45 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Thu, 14 Apr 2005 15:29:45 -0700 Subject: Revolution Online Scripting Conferences In-Reply-To: <425ECF22.8080204@hyperactivesw.com> Message-ID: On 4/14/05 1:14 PM, "J. Landman Gay" wrote: > After Q&A, the formal part of the conference ends. A transcript of the > proceedings will be saved and placed into the conference stack, which > will be re-uploaded to the web site. Folks who want a copy of the > transcript can re-download the stack after the conference is over. In > addition, future Rev users will have access to these stacks and their > accompanying transcripts, allowing them to learn the material even > though they did not have a chance to attend the conference itself. In > other words, we will be creating an archive of tutorials and learning > materials that anyone can use. People who missed a conference may have good questions and/or answers to append to the transcript. Especially, gurus might later want to say something like "There's a better way to do that.." How will people carry on a post-conference discussion? On use-rev? -- Dick From revdan at danshafer.com Thu Apr 14 18:36:52 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 14 Apr 2005 15:36:52 -0700 Subject: Learning Tabbed Buttons. In-Reply-To: <425EE71F.704@fourthworld.com> References: <5AEEE8AC-AD2D-11D9-BECC-003065D180EE@iafrica.com> <425EE71F.704@fourthworld.com> Message-ID: <3907ccbf22525de426942a7be05828d5@danshafer.com> The pCardName is called a "parameter" (which is sort of why convention around here suggests, but does not insist, it start with a "p") sent automatically by the menuPick system message. If you look at the docs on menuPick, you'll understand it, I suspect. Every time the menuPick message is sent, the name of the menu (in this case, the name of the tabbed button) is sent along. On Apr 14, 2005, at 2:56 PM, Richard Gaskin wrote: > Ryno Swart wrote: >> on menuPick pCardName >> go to card pCardName >> end menuPick > .. >> I understand all but the "p" thing... > > That curmudgeonly habit is explained here: > > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest EARLY BIRD $70 DISCOUNT ENDS APRIL 15! From devin_asay at byu.edu Thu Apr 14 18:39:36 2005 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 14 Apr 2005 16:39:36 -0600 Subject: How to call a function is a Group??? In-Reply-To: <3769f3a2cba1d8b6bf3174e4463c810c@blueyonder.co.uk> References: <3769f3a2cba1d8b6bf3174e4463c810c@blueyonder.co.uk> Message-ID: <029ca8692500b1cc0fdaa8cc782cebc9@byu.edu> On Apr 14, 2005, at 4:07 PM, Graham Samuel wrote: > The trouble with Devin's solution is that it doesn't actually supply > the result of the function. From the RunRev docs: Actally, in my example, the function's result would be put into the 'it' variable. DNA > >> You use the value function to call a function that's in the script of >> an object that isn't in the message path. Usually, you can only call >> custom functions that are somewhere in the message path, but you can >> use the value function to call any function in any object in an open >> stack. >> >> For example, suppose you want to use a function named "myFunction" >> which is defined in the script of card 1 of a stack named "My Stack". >> The following statement can be used to call the function from any >> script or from the message box: >> >> get value("myFunction()",card 1 of stack "My Stack") >> >> Tip: You can use the insert script command to place the object in >> the message path. In this case, you don't need to use the value >> function. > > HTH > > Graham > > On Thu, 14 Apr 2005 14:48:40 -0600, Devin Asay > wrote: >> Dave, >> >> If this is a function you have to put the function call in the proper >> format: >> >> get initializeGroup() --() are required even if the function doesn't >> require an argument. >> >> If you are trying to call this function from outside of the group, >> i.e., from an object outside of the group's message hierarchy, the >> situation is my complicated: >> >> send "get initializeGroup()" to group "mygrp" >> >> Devin >> >> On Apr 14, 2005, at 12:56 PM, David Burgun wrote: >> >>> Hi, >>> >>> I have a group ("myGroup") and in the script for the group I have a >>> function: >>> >>> function InitializeGroup >>> >>> end InitializeGroup >>> >>> >>> >>> Then in another object not in the group, I have: >>> >>> get InitializeGroup of group "myGroup" >>> >>> But I get an error on the call, what am I doing wrong? >>> >>> Thanks in advance >>> Dave >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> Devin Asay >> Humanities Technology and Research Support Center >> Brigham Young University > > ----------------------------------------------------------------------- > ---- > Graham Samuel / The Living Fossil Co. / UK and France > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From nicolas_cueto at yahoo.com Thu Apr 14 19:10:27 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Fri, 15 Apr 2005 08:10:27 +0900 Subject: Money References: Message-ID: <00a701c54147$262130c0$0b01a8c0@niconiko04zbtb> Hello Hershel, > How do I handle money amounts in a fld, e.g. "," or "." ? I'm not sure what you mean by "handle" here. If, for example, you mean *adding* a pair of dollar amounts (i.e. "$1,999.09 + $0.91 = $2,000"), then below is a script that'll do that. Basically, the script (1) strips the dollar symbol and commas from two field-entered amounts, and then, after adding those two amounts, (2) reinserts the dollar symbol and commas into the summed amount. (Note: you'll of course need to modify the script somewhat if, say, you're working with more than two fields, or the money amount is not dollars, or you want to do other mathematical functions besides adding.) Cheers, Nicolas Cueto (land of the yen) -- START OF SCRIPT on mouseUp -- GATHER THE MONEY INFO -- FROM, SAY, TWO FIELDS put field "f1" into tOne put filterThis(tOne) into tFilteredOne put field "f2" into tTwo put filterThis(tTwo) into tFilteredTwo put (tFilteredOne + tFilteredTwo) into tTotal put dollarize(tTotal) into field "fTotal" end mouseUp function filterThis tOriginal -- REMOVE ANY CHARACTER NOT A -- NUMBER OR DECIMAL POINT put empty into tFiltered repeat for each char tChar in tOriginal -- USE A "REGULAR EXPRESSION" AS A FILTER if matchText(tChar, "^[0-9.]+$") then put tChar after tFiltered else end if end repeat -- RETURN THE NOW-FILTERED FIGURE -- BACK TO THE "mouseUp" HANDLER return tFiltered end filterThis function dollarize tOriginal -- CONVERT, SAY, "1234.56" -- TO "$1,234.56" put the number of characters in tOriginal into tTotalChar put 0 into tCommaPlaceholder put empty into tDollarized repeat with i = tTotalChar down to 1 put char i of tOriginal into tChar -- FIRST, CHECK FOR DECIMAL POINT if tChar is "." then put tChar before tDollarized put 0 into tCommaPlaceHolder next repeat end if -- SECOND, CHECK WHETHER tChar -- IS THE THIRD NUMBER IN THE SERIES if tCommaPlaceholder is 3 then put "," before tDollarized put 0 into tCommaPlaceholder end if put tChar before tDollarized add 1 to tCommaPlaceHolder end repeat put "$" before tDollarized -- RETURN THE NOW-DOLLARIZED FIGURE -- BACK TO THE "mouseUp" HANDLER return tDollarized end dollarize -- END OF SCRIPT From tsj at unimelb.edu.au Thu Apr 14 19:47:00 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 15 Apr 2005 09:47:00 +1000 Subject: Firefox/Mozilla/Netscape to Rev communication v. AppleScript? In-Reply-To: <20050414100250.056B093010F@mail.runrev.com> Message-ID: <7EBD268E-AD3F-11D9-80FB-000393AEC28C@unimelb.edu.au> The Netscape/Mozilla family of browsers have entries in their Applescript dictionaries for the following... register URL echo: Registers a URL echo handler. The handler will get called whenever a new URL is loaded. unregister URL echo: Cancels URL echo syntax = register/unregister URL echo type class -- signature of listener I remember trying to get this working some years ago in SuperCard - with little success. On the Rev side something along the lines of... on appleEvent class, eventID, sender if class & eventID is "WWW?URLE" then request ae data put it end if end appleEvent ...should be able to respond to an ae from Netscape. What I've been unable to get right is the 'type class' bit of the Applescript to send to Netscape in the first place so that it establish communication with Rev in the first place. Has anyone been down this path (successfully) or have any ideas on what I need to do to get this working. I couldn't find any info on this at mozilla.org BTW. Thanks in advance. Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From tkuypers at pandora.be Thu Apr 14 20:40:48 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Fri, 15 Apr 2005 02:40:48 +0200 Subject: ANN Getting Nine digit zip codes In-Reply-To: References: <20050413104113.50D3A93007A@mail.runrev.com> Message-ID: 38 seconds, but what do we Belgian people know about US ZIP-codes ;-) Regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com > Please, somebody, let me know how long this takes you with broadband. > Thanks. > > To see the program, run this in the message box > > go url "http://home.infostations.net/jhurley/NineDigitZipCodes.rev" > (DO NOT CLICK THIS LINK) From soapdog at mac.com Thu Apr 14 20:52:13 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 14 Apr 2005 21:52:13 -0300 Subject: Q: European Revolution Conference 2006, when where who ... In-Reply-To: <425BA184.1040607@tweedly.net> References: <425BA184.1040607@tweedly.net> Message-ID: <1feec04c35f5b68fd90110d7f27cf1b4@mac.com> On Apr 12, 2005, at 7:23 AM, Alex Tweedly wrote: > EuroRevCon 2004 had attendees from UK, Norway, Italy, France, Germany, > Spain (and possibly more) as well as Brazil and the US. > > - Alex Tweedly http://www.tweedly.net > ... and we had the best food ever in Malta!!!!!! (and I learned cursing in maltese) and in a weird demonstration of the cosmic powers of chance, I discovered my family crest there (family is from italy) Some day, I'll organize a South American Revolution Conference, we'll see. Cheers andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From soapdog at mac.com Thu Apr 14 20:55:04 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 14 Apr 2005 21:55:04 -0300 Subject: A Cool Freebie for RevCon West Attendees In-Reply-To: <17e6a242ac812626bad361b1a2a15386@danshafer.com> References: <17e6a242ac812626bad361b1a2a15386@danshafer.com> Message-ID: <634c4511a325d4313a8ce7850a36aa3d@mac.com> I'll be forever grateful, I am a blind designer! :D Cheers andre On Apr 13, 2005, at 3:01 PM, Dan Shafer wrote: > I am really excited today to announce that Chipp Walters -- who is not > only the co-chair of RevCon West in Monterey June 17-18, but is also > one of the best software designer/developers in our community -- has > put together an amazing product that will be available FREE to all > attendees of the conference. Just in time to nudge you over the line > of deciding whether to take advantage of our generous $70 savings on a > conference admission (which expires Friday, April 15), he comes up > with a must-have tool and tosses it into the mix of what you get for > joining us in Monterey. > > He calls it Interface Designer, but I'd call it Interface Magician. > It's a palette with which you can turn your plain-old, > ordinary-looking stacks with standard colors and control schemes into > the kinds of user experiences for which Chipp and his company, Altuit, > have become justifiably famous. It is so easy to use that anyone -- > even someone like me whose artistic skills stop just short of being > able to draw straight lines with a ruler -- can turn out > professionally styled stacks and applications in minutes. LIterally. > > Chipp will put this product on sale some time after the conference. He > hasn't yet set a price but if he listens to me (which he does on > occasion), it'll cost more than 1/3 of the Early Bird price of $125 > for the conference. > > Get it on this one now, folks. It's going to change fundamentally the > way customers and users respond to your applications. Go to the Web > site (http://www.altuit.com/webs/altuit/RevConWest) and sign up before > the deadline for Early Bird expires on FRIDAY, APRIL 15. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > EARLY BIRD REGISTRATION SAVES $70 AND ENDS APRIL 15! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From soapdog at mac.com Thu Apr 14 21:13:07 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 14 Apr 2005 22:13:07 -0300 Subject: A Cool Freebie for RevCon West Attendees (Resend) In-Reply-To: References: Message-ID: <3fed454d606681bbbb147cd1d7c969a9@mac.com> I must say that I'll never ever forget Monterey, specially the acquarium! I am going back there this time, another trip from Brazil to Monterey and I swear that eating calamaris watching those seals or whatever the animal is called in english is a wonderfull experience. I plan to devote more time to the acquarium this time, friends even "booked" me to buy kid's stuffed jellyfishes. I'll never forget that place. andre On Apr 14, 2005, at 12:21 PM, Dan Shafer wrote: > Judy...... > > Definitely a great idea. I can arrange free or low-cost passes to the > Monterey Bay Aquarium for your family and MOnterey has a small but > thriving wine business in its own right as well. > > Hope to see you in June. > > (Don't forget...deadline for saving $70 is tomorrow, April 15.) > > On Apr 14, 2005, at 12:30 AM, Judy Perry wrote: > >> Judy >> who's thinking about making it part of a drive-up, wine-tasting >> vacation >> with the kiddies, hubby, and three dogs. >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From ambassador at fourthworld.com Thu Apr 14 21:37:10 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Apr 2005 18:37:10 -0700 Subject: Shrinking Mac stack In-Reply-To: <6f5157bf3afa46dd6e690e96c94946d6@genesearch.com.au> References: <4251973F.1090207@hyperactivesw.com> <4251A6BB.2010407@chipp.com> <6f5157bf3afa46dd6e690e96c94946d6@genesearch.com.au> Message-ID: <425F1AC6.7040304@fourthworld.com> Sarah Reichelt wrote: >> For those of you who've come lately to this, the problem was simple. >> How to add menus for both Mac and PC to an existing stack *without* >> ever resizing the existing stack. >> >> As you all probably know, the minute you add a menu to a stack, it's >> height is recalculated whenever it opens on a different platform. The >> reason is that the menubar is 'on the card' for the PC, but at the top >> of the screen for the Mac. So, when viewing the stack on the Mac, the >> stack is automatically reduced in height by the amount of the menubar >> (thus screwing up my carefully rendered screen layout;-). >> >> bummer, especially if you don't want this behavior. >> >> So, Richard's idea was pretty straightforward: >> >> set the editmenu property of the stack to true >> hide the menu group >> >> So, here's how it works: When the stack is opened up on the Mac, >> because the editmenu prop is true, the menus appear at the top of the >> card and not in the menubar. But a little known fact (only Richard >> knows it apparently as it's not documented) is that the menus will >> appear in the menubar if the menuGrp is hidden! So, just hide the >> group and then show it if the platform is Win32. >> >> Works like a charm...and no resizing of the stack whatsoever. >> > Has anyone got this to work on Rev 2.5.1? > > When I try it, I get what you would expect - no menus because they are > invisible, which is a shame because it is a very neat way around this > problem which is driving me nuts at the moment. > I'm trying to do some resizing on a stack and I'd swear that the loc and > rect of objects vary according to whether you are getting or setting > them - but this is probably me just being paranoid :-) Soem day I'll write a tutorial stack on working with menu oddities -- I seem to be the only one who loves the way menus work in Rev. The only difference I've seen in coordinates is between stack height and card height -- the card height will be taller if the menu group is cropped out of view. When all else fails, I find that simply emptying the stack's menuGroup property and then entering it fresh lets the stack update itself for consistent performance from that point forward. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jeff at siphonophore.com Thu Apr 14 22:11:31 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Thu, 14 Apr 2005 22:11:31 -0400 Subject: A Cool Freebie for RevCon West Attendees Message-ID: <3a1288666a3a25980ccc0aff345b7198@siphonophore.com> whoops i forgot JetBlue now also flys into San Jose (but not from DC unfortunately...) so there will be some cheaper alternatives into sjo. I think the airlines know that a lot of the travel into San Jose is business travel so they can really push the prices. I try almost every trip to go into sjo from various places and the price is always worse than sfo or oak. cheers, jeff Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 jeff at siphonophore.com From jacque at hyperactivesw.com Thu Apr 14 22:51:35 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Apr 2005 21:51:35 -0500 Subject: Revolution Online Scripting Conferences In-Reply-To: References: Message-ID: <425F2C37.1090400@hyperactivesw.com> On 4/14/05 5:29 PM, Dick Kriesel wrote: > On 4/14/05 1:14 PM, "J. Landman Gay" wrote: > > >>After Q&A, the formal part of the conference ends. A transcript of the >>proceedings will be saved and placed into the conference stack, which >>will be re-uploaded to the web site. Folks who want a copy of the >>transcript can re-download the stack after the conference is over. In >>addition, future Rev users will have access to these stacks and their >>accompanying transcripts, allowing them to learn the material even >>though they did not have a chance to attend the conference itself. In >>other words, we will be creating an archive of tutorials and learning >>materials that anyone can use. > > > People who missed a conference may have good questions and/or answers to > append to the transcript. Especially, gurus might later want to say > something like "There's a better way to do that.." How will people carry on > a post-conference discussion? On use-rev? Good point. I don't see an easy way to keep these stacks continually updated though. But if the conferences are anything like the AOL versions, I think you'll find that we end up with a fairly complete explanation by the time the stack is done (the Q&A sessions tended to catch a lot of loose ends.) I guess if there is any further follow-up later on, it would have to be done on the lists as you say. Of course, the best solution would be to make sure that all the gurus are at the conference in the first place. ;) Several of the RR team members plan to attend. My initial idea was to have this first set of beginner topics and see how it goes. If the conferences are well attended and received, then I would like to continue with a set of intermediate topics. If those are popular, then we can go on to more advanced stuff. We could conceivably be doing this for some years. I also suspect these conferences can benefit lots of people who are not on this list. There are some customers who are new to Revolution but don't participate here, and others who have heard of Rev but haven't started working with it yet. These first conferences would be ideal for them. RR will do a customer mailing about it, but if folks know of anyone else who might be interested, spread the word. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Apr 14 22:55:16 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Apr 2005 19:55:16 -0700 Subject: liveResizing and Windows Message-ID: <425F2D14.8030905@fourthworld.com> It appears that turning on the liveResizing property of a stack in order to get a good OS X feel has an unfortunate consequence on Windows: it makes the stack unable to be resized at all. Anyone else seeing this? I logged it at But unconfirmed with zero votes I'm wondering if I'm just missing something.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From userev at canelasoftware.com Thu Apr 14 23:15:31 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 14 Apr 2005 20:15:31 -0700 Subject: liveResizing and Windows In-Reply-To: <425F2D14.8030905@fourthworld.com> References: <425F2D14.8030905@fourthworld.com> Message-ID: <9c492a31669d1ae1518be21cd72eb5c7@canelasoftware.com> On Apr 14, 2005, at 7:55 PM, Richard Gaskin wrote: > > It appears that turning on the liveResizing property of a stack in > order to get a good OS X feel has an unfortunate consequence on > Windows: it makes the stack unable to be resized at all. > > Anyone else seeing this? > > I logged it at > > > But unconfirmed with zero votes I'm wondering if I'm just missing > something.... > The docs state that it is an OS X only feature. Maybe you could check the platform at startup and set the property accordingly. Mark Talluto -- CANELA Software http://www.canelasoftware.com From ambassador at fourthworld.com Thu Apr 14 23:26:18 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Apr 2005 20:26:18 -0700 Subject: liveResizing and Windows In-Reply-To: <9c492a31669d1ae1518be21cd72eb5c7@canelasoftware.com> References: <425F2D14.8030905@fourthworld.com> <9c492a31669d1ae1518be21cd72eb5c7@canelasoftware.com> Message-ID: <425F345A.2010106@fourthworld.com> Mark Talluto wrote: > > On Apr 14, 2005, at 7:55 PM, Richard Gaskin wrote: > >> >> It appears that turning on the liveResizing property of a stack in >> order to get a good OS X feel has an unfortunate consequence on >> Windows: it makes the stack unable to be resized at all. >> >> Anyone else seeing this? >> >> I logged it at >> >> >> But unconfirmed with zero votes I'm wondering if I'm just missing >> something.... >> > > The docs state that it is an OS X only feature. Maybe you could check > the platform at startup and set the property accordingly. That's what I've been doing, but it feels dirty: if it's an OS X-only propertyy, it seems reasonable to expect that it would affect only OS X, and should be ignored on other platforms. It's far too commonly used to require branching code to handle it in a platform-specific manner would it seems it could well be handled in the engine.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From userev at canelasoftware.com Fri Apr 15 00:04:15 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 14 Apr 2005 21:04:15 -0700 Subject: liveResizing and Windows In-Reply-To: <425F345A.2010106@fourthworld.com> References: <425F2D14.8030905@fourthworld.com> <9c492a31669d1ae1518be21cd72eb5c7@canelasoftware.com> <425F345A.2010106@fourthworld.com> Message-ID: On Apr 14, 2005, at 8:26 PM, Richard Gaskin wrote: > Mark Talluto wrote: >> On Apr 14, 2005, at 7:55 PM, Richard Gaskin wrote: >>> >>> It appears that turning on the liveResizing property of a stack in >>> order to get a good OS X feel has an unfortunate consequence on >>> Windows: it makes the stack unable to be resized at all. >>> >>> Anyone else seeing this? >>> >>> I logged it at >>> >>> >>> But unconfirmed with zero votes I'm wondering if I'm just missing >>> something.... >>> >> The docs state that it is an OS X only feature. Maybe you could >> check the platform at startup and set the property accordingly. > > That's what I've been doing, but it feels dirty: if it's an OS X-only > propertyy, it seems reasonable to expect that it would affect only OS > X, and should be ignored on other platforms. > > It's far too commonly used to require branching code to handle it in a > platform-specific manner would it seems it could well be handled in > the engine.... > I see what you mean....agreed. Mark Talluto -- CANELA Software http://www.canelasoftware.com From oak at jwscpa.com Fri Apr 15 00:13:55 2005 From: oak at jwscpa.com (Oak Norton) Date: Thu, 14 Apr 2005 22:13:55 -0600 Subject: Looking for Rev word processor In-Reply-To: Message-ID: <007e01c54171$8a1af6e0$6501a8c0@oak2700main> Without wanting to recreate the wheel, can someone point me to a completed word processing tool in Revolution? I have a program that requires a text entry box and then a standard toolbar with all the basic features like bold, etc... Is there a completed word processor somewhere (free or pay) that can be quickly integrated into programs? Thanks, Oak From b.xavier at internet.lu Fri Apr 15 01:21:29 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 15 Apr 2005 07:21:29 +0200 Subject: Looking for Rev word processor In-Reply-To: <007e01c54171$8a1af6e0$6501a8c0@oak2700main> Message-ID: <20050415053419.DFE569300D3@mail.runrev.com> Oak, I have such tools but Mickey was also interested in it and proposed just the same thing!!! I had a basic word processor called ClipperX but no one ever contributed for its development. I do donation-ware. So I reconverted it in an unpublished all powerful toolbar. It should be out soon... Again, if anyone wants to avoid rewriting the wheel over and over, they can join the TAOO team... This kind of pushes me to publish what I wrote yesterday... the Phylosophy behind TAOO... http://monsieurx.com/modules.php?name=News&file=article&sid=181 it's kind of a write and publish without much editing and which I'll revise as time and comments go. http://monsieurx.com/hyper/xos/screenshots will give you a peep into the tools. http://www.monsieurx.com/hyper/xos/screenshots/xosdesktop001.png has the picture of the text editing toolbar. It does mixed styles, images, html, etc... You'll also see a filebrowser/preview/editor, most of the nitrous tools, and a color full dragthing kind of launcher next to the revtoolbar. The central application is a centralized media manager that not only collects media but allows assignment of patterns or controls, automatic renumbering of media (and controls that use it) to avoid another bugzilla... I'll see about releasing the EditN2O tools sooner than later... But it's been affected by a few bugs including image ids and GM which Im rewriting - but while doing that yesterday I lost all my work again in another crash while debuging the resizestack calls (and yet another bugzilla)... Something is really haunting me causing bugzilla interuptions for any new project I create - it's unbelievable that I continue... But I never give up... So it's just a matter of time until it's working like it should. I dont have a team helping but again, anyone who wants can join... When the basics are done, all will be released and there's going to be a lot of catching up to do for the competition... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Oak Norton > Sent: Friday, April 15, 2005 06:14 > To: 'How to use Revolution' > Subject: Looking for Rev word processor > > Without wanting to recreate the wheel, can someone point me > to a completed word processing tool in Revolution? I have a > program that requires a text entry box and then a standard > toolbar with all the basic features like bold, etc... Is > there a completed word processor somewhere (free or pay) that > can be quickly integrated into programs? > > Thanks, > > Oak > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Fri Apr 15 01:23:09 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 00:23:09 -0500 Subject: A Cool Freebie for RevCon West Attendees In-Reply-To: <600727ba432827345af1a656aabfb018@siphonophore.com> Message-ID: On 4/14/05 5:11 PM, "Jeffrey Reynolds" wrote: > also check San Francisco (sfo) and Oakland (oak) for flights, San Jose > can be very expensive to fly into. San Francisco and Oakland are about > 2 hrs from monterey by car w/o traffic and about 3 hours with traffic > at commute times. San Jose is about 70 minutes w/o traffic to monterey. > Also Jet Blue flys into Oakland and can have some nice fares. You can > also get connecting flights into monterey (United and a few smaller > carriers), but they are usually pretty pricey and the car rentals can > be high in monterey if its a popular weekend (they also don't have most > of the more budget rental car companies in the monterey area). I ended up getting around $400 round trip from Minneapolis to Monterey through SFO... not too bad, IMHO. Check Orbitz/Travelocity/etc. Use the "MRY" for the airport code... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sims at ezpzapps.com Fri Apr 15 01:47:20 2005 From: sims at ezpzapps.com (sims) Date: Fri, 15 Apr 2005 07:47:20 +0200 Subject: A Cool Freebie for RevCon West Attendees In-Reply-To: References: Message-ID: At 12:23 AM -0500 4/15/05, Ken Ray wrote: >I ended up getting around $400 round trip from Minneapolis to Monterey >through SFO... not too bad, IMHO. Check Orbitz/Travelocity/etc. Use the >"MRY" for the airport code... For those attending from Europe, check out Aer Lingus http://www.aerlingus.com Sometimes there are specials of under ?400 from Shannon or London, return flights to Los Angeles, San Diego, and other USA cities. You do have to keep checking their web site to catch the good deals. For example there is now a deal of ?143 (one way) Shannon to Boston or New York. ciao, sims From wow at together.net Fri Apr 15 02:29:26 2005 From: wow at together.net (Richard Miller) Date: Fri, 15 Apr 2005 02:29:26 -0400 Subject: Uploading/Downloading stability In-Reply-To: References: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> Message-ID: <984eb9d6d5a22b59f4b0ec6e4e7b2b9f@together.net> (Sent this post yesterday. No replies yet. Someone's bound to have some feedback on this issue, so I'm trying again) My Rev program needs to upload and download a file of roughly 2 MB in size 3-8 times every 30 minutes via a wireless connection. This wireless connection is through the built-in airport card in an IBook. Sometimes this connection is received via a wired DSL or cable modem (and wireless router), but sometimes it feeds off a Powerbook connected to the net via a Verizon 3G PCMCIA card (using Apple's Internet Sharing capabilities). Using the 3G card is obviously less stable than a direct wired connection, especially in more rural areas. Sometimes the Internet connection just drops off during the middle of the upload or download. I'd like suggestions for the most stable way of transferring these files, and secondly, what I can do if the file transfer is interrupted part way through. For example, does it matter if I use: - get URL - libURLDownloadToFile - read from socket - load Are any more reliable for dealing with 2 MB files via a slower connection or just in general? Secondly, if a file is partly transferred, is there any way to restart the transfer from where it left off? Thanks. Richard Miller Imprinter Technologies _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Fri Apr 15 02:32:56 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 15 Apr 2005 08:32:56 +0200 Subject: liveResizing and Windows Message-ID: Hi Richard, Following your advice as usual... Why not deal with it by just changing that property when you switch platforms? Windows doesn't need that do live resizing... Seems simpler, faster and logical... And for the record, there's a laundry list of other unco bugz that are older than 6 months that dont get any attention while newer bugz do... Also, beware of debugging resizestack handlers. I had a major crash that took down my new GM plugin engine yesterday just by debugging a stack that used it... Not the first time... http://support.runrev.com/bugdatabase/show_bug.cgi?id=2781 This is a very sensitive zone in Rev and given the track record for GM related bugzillas, you can reprogram a whole IDE before you get any confirmation or help from Rev as far as Im concerned. I'm pretty much done as a matter of fact! Is there any logic to it? As a long time client, im not happy at all with this DO It Yourself or as you said NIH type of solutions... Sorry for any negative vibes, consider the possiblity that you own solutions at least can be supported any time and usually end up being more reliable... cheers Xavier On 15.04.2005 04:55:16 use-revolution-bounces wrote: >It appears that turning on the liveResizing property of a stack in order >to get a good OS X feel has an unfortunate consequence on Windows: it >makes the stack unable to be resized at all. > >Anyone else seeing this? > >I logged it at > > >But unconfirmed with zero votes I'm wondering if I'm just missing >something.... ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xbury.cs at clearstream.com Fri Apr 15 02:38:41 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 15 Apr 2005 08:38:41 +0200 Subject: Firefox/Mozilla/Netscape to Rev communication v. AppleScript? Message-ID: Terry, http://www.monsieurx.com/xos/stacks/xtras/xtraosa.sit has some extra stacks that might help you out. If I remember correctly, there is a stack that handles most events to and from NetScape, Eudora, FMP, and others. Part of the languages-plugins for XOS from 1998... MacOS versions but it might not have changed... check out the stacks' scripts... I havent ported those yet to the RunRev environment as i no longuer use Macs... cheers Xavier On 15.04.2005 01:47:00 use-revolution-bounces wrote: >The Netscape/Mozilla family of browsers have entries in their >Applescript dictionaries for the following... > >register URL echo: Registers a URL echo handler. The handler will get >called whenever a new URL is loaded. >unregister URL echo: Cancels URL echo > >syntax = register/unregister URL echo type class -- signature of >listener > >I remember trying to get this working some years ago in SuperCard - >with little success. On the Rev side something along the lines of... > >on appleEvent class, eventID, sender >if class & eventID is "WWW?URLE" then >request ae data >put it >end if >end appleEvent > >...should be able to respond to an ae from Netscape. What I've been >unable to get right is the 'type class' bit of the Applescript to send >to Netscape in the first place so that it establish communication with >Rev in the first place. > >Has anyone been down this path (successfully) or have any ideas on what >I need to do to get this working. > >I couldn't find any info on this at mozilla.org BTW. > >Thanks in advance. > >Terry... > >Dr Terry Judd >Lecturer in Educational Technology (Design) >Biomedical Multimedia Unit >Faculty of Medicine, Dentistry & Health Sciences >The University of Melbourne >Parkville VIC 3052 >AUSTRALIA > >_______________________________________________ >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 kray at sonsothunder.com Fri Apr 15 02:43:40 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 01:43:40 -0500 Subject: Socket Comm Sequence Issue Message-ID: I'm trying to get two apps to talk to each other over sockets on OS X, which means that both apps need to be in "listening" mode as well as "speaking" mode. The relevant code I'm using for testing this right now is shown below, and doesn't trap for errors or messages that I'm not interested in: Button "Listen": ------------------ on mouseUp accept connections on port 60000 with message GotConnection end mouseUp on GotConnection pSocket read from socket pSocket with message GotMessage end GotConnection on GotMessage pSocket,pData put pData into fld 1 read from socket pSocket with message GotMessage end GotMessage Button "Connect": -------------------- on mouseUp open socket "127.0.0.1:59999" end mouseUp Button "Send": ----------------- on mouseUp write fld 2 to socket "127.0.0.1:59999" end mouseUp Field 1 is the "incoming data" field, and field 2 is the "outgoing data" field. I have a Disconnect button that closes off the ports. The "other" app is identical, except that the ports are reversed (59999 to receive, 60000 to send). The issue I'm running into is that I need to click the Listen and Connect buttons in a certain order, otherwise only one app will be able to receive and process incoming data (although it can send just fine). If I click "Listen", then "Connect" in App 1, and "Listen", then "Connect" in App 2, only App 2 can send data to App 1 (not the reverse). If I reverse this (do App 2 first, then App 1), the result is the reverse (App 1 can send to App 2, but not the other way around). Same thing happens if I do "Connect" and then "Listen" in App 1, and "Connect", and then "Listen" in App 2. The only way I can get it to work is to click "Listen" in both Apps, and then click "Connect" in both apps. But since I can't get a "GotConnection" until the "other" app does a "Connect", how can I set this up properly? I need to launch both apps and have them talk to each other somehow. My original idea was to tell both apps to go into "Listen", then "Connect" mode, one right after another, but as you can see from the above, this doesn't work. I also tried running this as two stacks in the MetaCard IDE and asked to get the openSockets after each attempt - perhaps this will help someone out there in figuring this out: Stack 1 (listens on 59999, sends on 60000): Listen, then Connect Stack 2 (listens on 60000, sends on 59999): Listen, then Connect OpenSockets: 59999 60000 127.0.0.1:59999 127.0.0.1:50314 Stack 2 (listens on 60000, sends on 59999): Listen, then Connect Stack 1 (listens on 59999, sends on 60000): Listen, then Connect OpenSockets: 60000 59999 127.0.0.1:60000 127.0.0.1:50318 Stack 1 (listens on 59999, sends on 60000): Listen Stack 2 (listens on 60000, sends on 59999): Listen Stack 1 (listens on 59999, sends on 60000): Connect Stack 2 (listens on 60000, sends on 59999): Connect OpenSockets: 59999 60000 127.0.0.1:60000 127.0.0.1:50319 127.0.0.1:59999 127.0.0.1:50320 Stack 2 (listens on 60000, sends on 59999): Listen Stack 1 (listens on 59999, sends on 60000): Listen Stack 2 (listens on 60000, sends on 59999): Connect Stack 1 (listens on 59999, sends on 60000): Connect OpenSockets: 60000 59999 127.0.0.1:59999 127.0.0.1:50321 127.0.0.1:60000 127.0.0.1:50322 I also don't understand where these other sockets are coming from... If anyone can help me, I would greatly appreciate it. Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From briany at qldlearning.com Fri Apr 15 03:12:50 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 15 Apr 2005 00:12:50 -0700 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: Ken, Wouldn't you have to click "Listen" on App 2 before trying to connect from App 1? > If I click "Listen", then "Connect" in App 1, and "Listen", then > "Connect" > in App 2, only App 2 can send data to App 1 (not the reverse). If I > reverse > this (do App 2 first, then App 1), the result is the reverse (App 1 > can send > to App 2, but not the other way around). From dick.kriesel at mail.com Fri Apr 15 03:34:20 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 15 Apr 2005 00:34:20 -0700 Subject: Socket Comm Sequence Issue In-Reply-To: Message-ID: You could use files as messages to coordinate the socket setup. -- Dick On 4/15/05 12:12 AM, "Brian Yennie" wrote: > Ken, > > Wouldn't you have to click "Listen" on App 2 before trying to connect > from App 1? > >> If I click "Listen", then "Connect" in App 1, and "Listen", then >> "Connect" >> in App 2, only App 2 can send data to App 1 (not the reverse). If I >> reverse >> this (do App 2 first, then App 1), the result is the reverse (App 1 >> can send >> to App 2, but not the other way around). > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Fri Apr 15 04:38:44 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 15 Apr 2005 10:38:44 +0200 Subject: Rev related web pages Message-ID: <8bdc4c1c8b7035bd42878f9610c7a323@sosmartsoftware.com> Hi everyone, Among the plugins I have in the works, one of them will allow the user to search info on the web when programming. Several methods will be used for searching the mailing lists, RevOnLine, the whole web with an engine or another, etc. Another one will work through a customizable index the user will be able to modify as she/he wishes. At the moment, the provided basis index references the following web pages. I surely forgot some valuable Rev related pages (where a search by keywords in the text is relevant). Could you help me to complete this list? Thanks. http://dark.unitz.ca/~shaosean/pages/development.htm http://geocities.com/capellan2000/ http://home.infostations.net/jhurley/ http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default? user=soapdog&templatefn=FileSharing12.html&xmlfn=TKDocument.12.xml&sitef n=RootSite.xml&aff=consumer&cty=US&lang=en http://mangomultimedia.com/developer/revolution/ http://mindlube.com/developer/ http://revolutionboard.de/bvg/subindexes/stacks-2.html http://rinaldicollection.free.fr/frevplugins_frame.htm http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm http://www.flexiblelearning.com/xtalk.htm http://www.fourthworld.com/rev/index.html http://www.geocities.com/janschenkel/ http://www.hyperactivesw.com/Resources.html http://www.inspiredlogic.com/downloads.html http://www.major-k.de/revstart.html http://www.monsieurx.com/modules.php? name=News&new_topic=17&min=0&query=%20&type=stories http://www.sanke.org/MetaMedia/SamplesTools.htm http://www.sonsothunder.com/devres/revolution/revolution.htm http://www.sosmartsoftware.com/?r=revolution&l=en http://www.swcp.com/dsc/revstacks.html http://www.sweattechnologies.com/rev/ http://www.tactilemedia.com/download/ http://www.troz.net/Rev/ Best regards, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From xbury.cs at clearstream.com Fri Apr 15 04:47:48 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 15 Apr 2005 10:47:48 +0200 Subject: Rev related web pages Message-ID: Excellent Eric! You can find most of the Rev related webs via the RunRev extenals links (but it's not easy to find and seems less complete than the previous webpage which I didn't find this time - and it still doesn't have my website!!!) or MonsieurX's weblinks which are usually up to date and comprehensive with most links. Sorry If i forgot anyone's website, just let me know or submit it via MonsieurX.. There's some 30 links in total as far as I know... cheers Xavier On 15.04.2005 10:38:44 use-revolution-bounces wrote: >Hi everyone, > >Among the plugins I have in the works, one of them will allow the user >to search info on the web when programming. >Several methods will be used for searching the mailing lists, >RevOnLine, the whole web with an engine or another, etc. >Another one will work through a customizable index the user will be >able to modify as she/he wishes. >At the moment, the provided basis index references the following web >pages. >I surely forgot some valuable Rev related pages (where a search by >keywords in the text is relevant). >Could you help me to complete this list? >Thanks. > >http://dark.unitz.ca/~shaosean/pages/development.htm >http://geocities.com/capellan2000/ >http://home.infostations.net/jhurley/ >http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default? >user=soapdog&templatefn=FileSharing12.html&xmlfn=TKDocument.12.xml&sitef >n=RootSite.xml&aff=consumer&cty=US&lang=en >http://mangomultimedia.com/developer/revolution/ >http://mindlube.com/developer/ >http://revolutionboard.de/bvg/subindexes/stacks-2.html >http://rinaldicollection.free.fr/frevplugins_frame.htm >http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm >http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm >http://www.flexiblelearning.com/xtalk.htm >http://www.fourthworld.com/rev/index.html >http://www.geocities.com/janschenkel/ >http://www.hyperactivesw.com/Resources.html >http://www.inspiredlogic.com/downloads.html >http://www.major-k.de/revstart.html >http://www.monsieurx.com/modules.php? >name=News&new_topic=17&min=0&query=%20&type=stories >http://www.sanke.org/MetaMedia/SamplesTools.htm >http://www.sonsothunder.com/devres/revolution/revolution.htm >http://www.sosmartsoftware.com/?r=revolution&l=en >http://www.swcp.com/dsc/revstacks.html >http://www.sweattechnologies.com/rev/ >http://www.tactilemedia.com/download/ >http://www.troz.net/Rev/ > >Best regards, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >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 chipp at chipp.com Fri Apr 15 05:38:44 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 15 Apr 2005 02:38:44 -0700 Subject: Uploading/Downloading stability In-Reply-To: <984eb9d6d5a22b59f4b0ec6e4e7b2b9f@together.net> References: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> <984eb9d6d5a22b59f4b0ec6e4e7b2b9f@together.net> Message-ID: <425F8BA4.40303@chipp.com> Hi Richard, That's an interesting problem. I think I would approach it on two fronts: the server side and the client side. I'll describe the download method, you would reverse for upload. On the server side, I would break-up the file into smaller chunks..perhaps use a Rev CGI to do it. Just read the whole binary file into memory, binhex it, break it up into 30K chunks, and gzip those to a folder with a unique naming sequence. Then create a checkSum for each file and store it in a small text file. Then I'd just do 'get URL' from RR, download the text file, read the checksums and filenames, and begin to download one after the other, making sure the checksums match. Once they're all downloaded, then combine them, and spit out the final 2Mb file. Not all that hard, just tedious. For upload, you may need to use multipart encoding. Or, if you're posting to a Rev CGI, you could do it with simple form data. hope that helps, -Chipp Richard Miller wrote: > (Sent this post yesterday. No replies yet. Someone's bound to have some > feedback on this issue, so I'm trying again) > > My Rev program needs to upload and download a file of roughly 2 MB in > size 3-8 times every 30 minutes via a wireless connection. This wireless > connection is through the built-in airport card in an IBook. Sometimes > this connection is received via a wired DSL or cable modem (and wireless > router), but sometimes it feeds off a Powerbook connected to the net via > a Verizon 3G PCMCIA card (using Apple's Internet Sharing capabilities). From chipp at chipp.com Fri Apr 15 05:44:02 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 15 Apr 2005 02:44:02 -0700 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: <425F8CE2.9090204@chipp.com> Ken, Perhaps a traditional client/server model, where one is always listening and the other talking? Business logic at both ends should enable you to do a lot. If that won't do, then perhaps the old 'pass messages with a small text file' would help 'boot things'. -Chipp Ken Ray wrote: > I'm trying to get two apps to talk to each other over sockets on OS X, which > means that both apps need to be in "listening" mode as well as "speaking" > mode. The relevant code I'm using for testing this right now is shown below, > and doesn't trap for errors or messages that I'm not interested in: From alex at tweedly.net Fri Apr 15 07:00:48 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 15 Apr 2005 12:00:48 +0100 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: <425F9EE0.3060800@tweedly.net> Ken - I'm in a huge rush now, and won't get to email again until tonight ..... so this is very brief - good luck. If it doesn't work, or you can wait 12 hours from now, I'll send a more complete working example..... Ken Ray wrote: >I'm trying to get two apps to talk to each other over sockets on OS X, which >means that both apps need to be in "listening" mode as well as "speaking" >mode. The relevant code I'm using for testing this right now is shown below, >and doesn't trap for errors or messages that I'm not interested in: > > > >Field 1 is the "incoming data" field, and field 2 is the "outgoing data" >field. I have a Disconnect button that closes off the ports. The "other" app >is identical, except that the ports are reversed (59999 to receive, 60000 to >send). > >The issue I'm running into is that I need to click the Listen and Connect >buttons in a certain order, otherwise only one app will be able to receive >and process incoming data (although it can send just fine). > >If I click "Listen", then "Connect" in App 1, and "Listen", then "Connect" >in App 2, only App 2 can send data to App 1 (not the reverse). If I reverse >this (do App 2 first, then App 1), the result is the reverse (App 1 can send >to App 2, but not the other way around). > >Same thing happens if I do "Connect" and then "Listen" in App 1, and >"Connect", and then "Listen" in App 2. > >The only way I can get it to work is to click "Listen" in both Apps, and >then click "Connect" in both apps. But since I can't get a "GotConnection" >until the "other" app does a "Connect", how can I set this up properly? I >need to launch both apps and have them talk to each other somehow. My >original idea was to tell both apps to go into "Listen", then "Connect" >mode, one right after another, but as you can see from the above, this >doesn't work. > >I also tried running this as two stacks in the MetaCard IDE and asked to get >the openSockets after each attempt - perhaps this will help someone out >there in figuring this out: > > >I also don't understand where these other sockets are coming from... > > That's the key - to both this problem, and the "right" (IMHO) answer. From the docs on accept connection > Comments: > When a connection is made or a datagram is received, the accept > command creates a new socket that can be used to communicate with the > other system (or process). i.e. when the accept is triggered, it supplies you with a new socket, and it's usual to use that new socket to reply to the other host. In each app, have an accept connection - if that happens, then you receive on that socket, and send on the socket supplied by the system when the connection is accepted. (i.e. this app is acting like a "server" for the purpose of the comms). In the app which does the first "send", you send to the other app's known socket, and receive from it. (i.e. act like a client) That's pretty brief - good luck !! I will do a two-way "peer" stack tonight and announce it when it's done. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From see3d at writeme.com Fri Apr 15 08:58:38 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 15 Apr 2005 08:58:38 -0400 Subject: Flesxible looping [Was: Making Revolution faster with reallybig arrays] In-Reply-To: <425D39EA.80004@tweedly.net> References: <8627d0d34296d52e054d055a6dd0a645@writeme.com> <425D39EA.80004@tweedly.net> Message-ID: Alex, Sometimes I feel like I have been really stupid when the light dawns. Of course there is a way to specify a sequential access in a single statement. The catch is that an extra variable needs to be specified and modified. Something like this: put line offset tCharOffset of string into container --tCharOffset is advanced to after return Or as a function: get sequentialLine((tCharOffset),string) --still advances tCharOffset This would take care of fast sequential access to strings. What do you think? Is there a better form that this could be put into for Transcript? Dennis On Apr 13, 2005, at 11:25 AM, Alex Tweedly wrote: > Dennis Brown wrote: > >> The Idea is to break apart the essential functional elements of the >> repeat for each control to allow more flexibility. This sample has a >> bit more refinement than what I posted yesterday in Bugzilla. >> >> The new keyword would be "access" , but could be something else. >> >> An example of the use of the new keywords syntax would be: >> >> access each line X in arrayX--initial setup of pointers and X value >> access each item Y in arrayY --initial setup of pointers and Y value >> repeat for number of lines of arrayX times --same as a repeat for each >> put X & comma & Y & return after ArrayXY --merged array >> next line X --puts the next line value in X >> next item Y --if arrayY has fewer elements than arrayX, then empty >> is supplied, could also put "End of String" in the result >> end repeat >> >> Another advantage of this syntax is that it provides for more >> flexibility in structure of loops. You could repeat forever, then >> exit repeat when you run out of values (based on getting an empty >> back). The possibilities for high speed sequential access data >> processing are much expanded which opens up more possibilities for >> Revolution. > > > Dennis, > > I think having more flexible repeat structures to allow parallel > passes through lists or arrays is a really good idea, but I don't like > the form you have suggested. It seems wrong to have separate > statements to setup the loop; as far as I know, the language currently > keeps the meaning of each statement self-contained, so I think this > multi-line form would be a hard one to "sell". From kray at sonsothunder.com Fri Apr 15 08:59:16 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 07:59:16 -0500 Subject: Socket Comm Sequence Issue In-Reply-To: <425F9EE0.3060800@tweedly.net> Message-ID: > i.e. when the accept is triggered, it supplies you with a new socket, > and it's usual to use that new socket to reply to the other host. > > In each app, have an accept connection - if that happens, then you > receive on that socket, and send on the socket supplied by the system > when the connection is accepted. (i.e. this app is acting like a > "server" for the purpose of the comms). > > In the app which does the first "send", you send to the other app's > known socket, and receive from it. (i.e. act like a client) OK, I understand that, and am even able to get the new socket, but how does the app that is accepting communicate just what the new socket *is* to the app that does the first send? That is, if App 1 is listening (accept), and App 2 opens a socket to App 1, App 1's accept message will trigger and I can retrieve the new socket info in App 1. But how does that new socket get conveyed to App 2? At first, I would have thought that it would be carried on the first parameter of the in "open socket with ", but when I check that port, it's *not* the new one created by App 1; it's the original port used in the "open socket" command. Example: App 1: accept connections on port 59999 with message AcceptConnected App 2: open socket "127.0.0.1:59999" with message OpenConnected App 1: --> AcceptConnected triggered on AcceptConnected pSocket put pSocket --> puts the new socket, like "127.0.0.1:50013" end AcceptConnected App 2: --> OpenConnected triggered on OpenConnected pSocket put pSocket --> puts the old socket: "127.0.0.1:59999" end OpenConnected We're getting closer... :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jhurley at infostations.com Fri Apr 15 09:07:23 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 15 Apr 2005 06:07:23 -0700 Subject: ANN Getting Nine digit zip codes In-Reply-To: <20050414214552.E20B09300E5@mail.runrev.com> References: <20050414214552.E20B09300E5@mail.runrev.com> Message-ID: My thanks to all who have taken the time to take the time, i.e. report the time to run Getting bar codes. It looks like this is quite viable for large DB, if one has broad band--or patience. Jim From jhurley at infostations.com Fri Apr 15 09:20:44 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 15 Apr 2005 06:20:44 -0700 Subject: RevCon West Tourist Activities In-Reply-To: <20050414214552.E20B09300E5@mail.runrev.com> References: <20050414214552.E20B09300E5@mail.runrev.com> Message-ID: I expect Dan to kept us all amused with a never-ending sequence of breathtaking activities--free. I hate to drive and so will be taking AMTRAK, probably to Salinas. Anyone know if there is bus service to Monterey from Salinas? Jim From fde101 at fjrhome.net Fri Apr 15 09:19:44 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 15 Apr 2005 09:19:44 -0400 Subject: Uploading/Downloading stability In-Reply-To: <984eb9d6d5a22b59f4b0ec6e4e7b2b9f@together.net> References: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> <984eb9d6d5a22b59f4b0ec6e4e7b2b9f@together.net> Message-ID: <41abc1d6258ede8eeb5cc113411c8b6a@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Many FTP servers support resuming incomplete downloads, as do some HTTP servers. I don't know if Rev supports resuming transfers, though. I kind of doubt it. Not a bad feature request, or it could be done with an external... Maybe a wrapper around libcurl (http://curl.netmirror.org/libcurl)? On Apr 15, 2005, at 2:29 AM, Richard Miller wrote: > (Sent this post yesterday. No replies yet. Someone's bound to have > some feedback on this issue, so I'm trying again) > > My Rev program needs to upload and download a file of roughly 2 MB in > size 3-8 times every 30 minutes via a wireless connection. This > wireless connection is through the built-in airport card in an IBook. > Sometimes this connection is received via a wired DSL or cable modem > (and wireless router), but sometimes it feeds off a Powerbook > connected to the net via a Verizon 3G PCMCIA card (using Apple's > Internet Sharing capabilities). > > Using the 3G card is obviously less stable than a direct wired > connection, especially in more rural areas. Sometimes the Internet > connection just drops off during the middle of the upload or download. > I'd like suggestions for the most stable way of transferring these > files, and secondly, what I can do if the file transfer is interrupted > part way through. > > For example, does it matter if I use: > > - get URL > - libURLDownloadToFile > - read from socket > - load > > Are any more reliable for dealing with 2 MB files via a slower > connection or just in general? > > Secondly, if a file is partly transferred, is there any way to restart > the transfer from where it left off? > > Thanks. > Richard Miller > Imprinter Technologies > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCX79w7aqtWrR9cZoRAkP7AJsEJ61ZxAJHff8IQcSuEc6qSr/8LgCfWPFj hMdOxBSFGY48GeO6HmhdTCU= =wptA -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Fri Apr 15 09:29:06 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 15 Apr 2005 09:29:06 -0400 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sockets are already bidirectional, the trick is to know when which program should read data. Set up one to listen then connect from the other. It turns out that 'read from socket' can be used asynchronously. You can have the handler which executes as a callback trigger another read each time in order to set up pseudo-threading of a sort, allowing your program to offer bidirectional communication over a single socket. That should solve your problem. On Apr 15, 2005, at 8:59 AM, Ken Ray wrote: >> i.e. when the accept is triggered, it supplies you with a new socket, >> and it's usual to use that new socket to reply to the other host. >> >> In each app, have an accept connection - if that happens, then you >> receive on that socket, and send on the socket supplied by the system >> when the connection is accepted. (i.e. this app is acting like a >> "server" for the purpose of the comms). >> >> In the app which does the first "send", you send to the other app's >> known socket, and receive from it. (i.e. act like a client) > > OK, I understand that, and am even able to get the new socket, but how > does > the app that is accepting communicate just what the new socket *is* to > the > app that does the first send? > > That is, if App 1 is listening (accept), and App 2 opens a socket to > App 1, > App 1's accept message will trigger and I can retrieve the new socket > info > in App 1. But how does that new socket get conveyed to App 2? At > first, I > would have thought that it would be carried on the first parameter of > the > in "open socket with ", but when I check that port, > it's > *not* the new one created by App 1; it's the original port used in the > "open > socket" command. > > Example: > > App 1: > accept connections on port 59999 with message AcceptConnected > App 2: > open socket "127.0.0.1:59999" with message OpenConnected > App 1: > --> AcceptConnected triggered > on AcceptConnected pSocket > put pSocket --> puts the new socket, like "127.0.0.1:50013" > end AcceptConnected > App 2: > --> OpenConnected triggered > on OpenConnected pSocket > put pSocket --> puts the old socket: "127.0.0.1:59999" > end OpenConnected > > We're getting closer... > > :-) > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCX8Gi7aqtWrR9cZoRAl3lAJ4gr9lYbMYdjmvW3sfbpnS4YaWnMQCfa5zy OpxOoxns+dtih2zIjsCo+Bs= =DIbb -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From mikeythek at gmail.com Fri Apr 15 09:32:38 2005 From: mikeythek at gmail.com (Mikey) Date: Fri, 15 Apr 2005 09:32:38 -0400 Subject: Looking for Rev word processor In-Reply-To: <20050415053419.DFE569300D3@mail.runrev.com> References: <007e01c54171$8a1af6e0$6501a8c0@oak2700main> <20050415053419.DFE569300D3@mail.runrev.com> Message-ID: <9b408d8e050415063277c51b19@mail.gmail.com> Yo, X It's MIKEY. Thanks. Still interested, btw. It might save me some time on the HTML/JS template stack I'm toying with. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From soapdog at mac.com Fri Apr 15 09:37:34 2005 From: soapdog at mac.com (Andre Garzia) Date: Fri, 15 Apr 2005 10:37:34 -0300 Subject: Rev related web pages In-Reply-To: <8bdc4c1c8b7035bd42878f9610c7a323@sosmartsoftware.com> References: <8bdc4c1c8b7035bd42878f9610c7a323@sosmartsoftware.com> Message-ID: <5cb997bcf57691a58d6cf7b953f042c7@mac.com> On Apr 15, 2005, at 5:38 AM, Eric Chatonet wrote: > http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default? > user=soapdog&templatefn=FileSharing12.html&xmlfn=TKDocument.12.xml&site > fn=RootSite.xml&aff=consumer&cty=US&lang=en > Eric, Thanks for compiling this list but this link is not my root folder, you'd better link to http://www.soapdog.org that link you used is unstable and does not contain the latest releases. cheers Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From xbury.cs at clearstream.com Fri Apr 15 09:44:27 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 15 Apr 2005 15:44:27 +0200 Subject: Looking for Rev word processor Message-ID: On 15.04.2005 15:32:38 use-revolution-bounces wrote: >Yo, X > >It's MIKEY. Thanks. Still interested, btw. It might save me some >time on the HTML/JS template stack I'm toying with. Hey Mikey, I'll release part of it tonite and tomorow... But i got some testing to do first... to make sure I dont embarass myself naturally ;) cheers Xavier ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xbury.cs at clearstream.com Fri Apr 15 09:45:09 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 15 Apr 2005 15:45:09 +0200 Subject: # POSSIBLY SPAM #::Re: RevCon West Tourist Activities Message-ID: I dont know if i'll be there but if anyone stops by San Jose, dont forget to visit the Winchester house.... That's breaktaking although not free... Cheers X On 15.04.2005 15:20:44 use-revolution-bounces wrote: >I expect Dan to kept us all amused with a never-ending sequence of >breathtaking activities--free. > >I hate to drive and so will be taking AMTRAK, probably to Salinas. >Anyone know if there is bus service to Monterey from Salinas? > >Jim >_______________________________________________ >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 JimCarwardine at OwnYourFuture-net.com Fri Apr 15 10:00:18 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 15 Apr 2005 11:00:18 -0300 Subject: Database choosing In-Reply-To: <9b0c104fea19b29c9a37658b7729c23c@easynet.fr> Message-ID: I went to the Sybase site and found they have a "hot deal". Seems they are selling "Sybase Enterprise Portal Information Edition 6.1" for Linux and Windows for $99. What does this mean? Is this all one needs to use Sybase? Then we use the standard db interface commands with Rev? There is a Linux and Windows version but no Mac. We could still have a database on a Linux server and a Mac client interfacing with it, right? Jim on 4/14/05 6:34 PM, Pierre Sahores wrote: > As Len previoulsy said there, PostgreSQL 7 and 8 are realy very great > ACID compliant ORDBMS and i use them as the back-ends of all my > "n-tier" solutions since years with a very great confidence. In about > dozains of megaoctets to hundreds of gigaoctets of datas peer database > well designed, PostgreSQL rocks. In about more heavy solutions, i would > goes, directly, to a Sybase ASE solution instead of an Oracle one (a > little too java-centered for me - the linux installer included), even > if Oracle is, for sure, a powerfull tool and, yet, a less expensive > solution than it use to be until two years ago. > > It will probably be a good idea to avoid, if possible, the less > powerfull MS SQL-Server solution... > > Best, > > -- > Pierre > > Le 14 avr. 05, ? 20:50, Oak Norton a ?crit : > >> Hello all, I'm a total newbie to Revolution and I have limited >> programming >> experience. I'm one of those people I read about in a recent post that >> needs a solution so I figure out how to program it for myself. My >> experience has mostly been with cold fusion and MS-SQL/Access. I've >> been >> leaning toward MySQL for a cross-platform project, but from the posts >> on >> this board I'm just about ready to look at PostgreSQL. I know there's >> some >> differences between all the SQL's but don't know much about what they >> are. >> In the example below I see a bit of code which illustrated that point >> and >> just worries me a tad because I find Access invaluable to build queries >> quickly and test them out and if I didn't have to change the code at >> all, >> that would be a big plus. So which of the sql flavors is closest to >> MSSQL >> and will go cross-platform? >> >> Thanks, >> >> Oak >> >> >>> It's been my experience that if you ultimately want to move >>> to Oracle, >>> Postgresql is a better choice than mySQL because PG tries to be as >>> Oracle compatible as possible. I can also tell you from >>> experience that >>> if you want to move to MS SQL Server later, be VERY careful >>> about your >>> SQL since there are lots of things that are incompatible even with >>> "simple" SQL statements. For example, in Oracle/Postgres you >>> would join >>> two fields you would use something like SELECT last_name || ', ' || >>> first_name whereas in MS SQL it would be SELECT last_name + ', ' + >>> first_name (very VB like). >> >> _______________________________________________ >> 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 -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Phone: 902-823-2339. Fax: 902-823-2139 What?s New... * Have you ever hired an employee who didn?t work out? * Did you do that on purpose? Probably not... If you want to greatly improve your hiring process, check out our new hiring process... www.HiringSmart.ca/ns and... www.KeepingTheBest.ca/ns From eric.chatonet at sosmartsoftware.com Fri Apr 15 10:00:38 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 15 Apr 2005 16:00:38 +0200 Subject: Rev related web pages In-Reply-To: <5cb997bcf57691a58d6cf7b953f042c7@mac.com> References: <8bdc4c1c8b7035bd42878f9610c7a323@sosmartsoftware.com> <5cb997bcf57691a58d6cf7b953f042c7@mac.com> Message-ID: Hi Andre, I understand correctly yours reasons but the problem is the following: When you add a web page reference, the plugin put the text from this page into its local database. Then this database will be searched for keywords specified by the user. So, with your main addess, I wonder what keywords would be found :-) Have you another web page with such keywords as "chat", "libWrapper" and so on which would have a link to your downloads page? Best, Le 15 avr. 05, ? 15:37, Andre Garzia a ?crit : > > On Apr 15, 2005, at 5:38 AM, Eric Chatonet wrote: > >> http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default? >> user=soapdog&templatefn=FileSharing12.html&xmlfn=TKDocument.12.xml&sit >> efn=RootSite.xml&aff=consumer&cty=US&lang=en >> > > Eric, > > Thanks for compiling this list but this link is not my root folder, > you'd better link to http://www.soapdog.org that link you used is > unstable and does not contain the latest releases. > > cheers > Andre Eric Chatonet. ---------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jeff at siphonophore.com Fri Apr 15 10:08:46 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Fri, 15 Apr 2005 10:08:46 -0400 Subject: use-revolution Digest, Vol 19, Issue 52 In-Reply-To: <20050415095729.BD24F9300F3@mail.runrev.com> References: <20050415095729.BD24F9300F3@mail.runrev.com> Message-ID: <96e91adc097bf4e79959750e7b7b7674@siphonophore.com> very good. sometimes you get lucky with united connecting into monterey! Everytime i fly it changes (except sjo, thats usually just expensive). usually get to sfo or oak for about $250-300 from the east coast. sometime i get lucky at $200... into monterey rarely goes below $375/400 from the east coast, so i can get a car for a week and fly into sfo/oak for the price of going into monterey. btw jet blue really works well if they fly to your area. they're not as cheap as they use to be now that they are popular! also picking up a ticket from lax to monterey can be very expensive, but sfo or lax to sjo is cheap on southwest. usually a lot cheaper to rent a one day, one way car rental to get from monterey to sjo then fly to lax (or long beach). also a lot more flights from sjo than monterey. sometimes they pretty much throw in the sfo or lax to monterey connection on longer flights for free, sometimes it works out to you paying the fare into lax then the additional lax/sfo to monterey connection costs, check the costs to lax or sfo alone. for quite a while United was really pushing Oakland and had dirt cheap fares from the east coast, even for a late ticket purchase, not sure if thats true now or not. jeff Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 jeff at siphonophore.com On Apr 15, 2005, at 5:57 AM, use-revolution-request at lists.runrev.com wrote: > > I ended up getting around $400 round trip from Minneapolis to Monterey > through SFO... not too bad, IMHO. Check Orbitz/Travelocity/etc. Use the > "MRY" for the airport code... From kray at sonsothunder.com Fri Apr 15 11:07:50 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 10:07:50 -0500 Subject: Socket Comm Sequence Issue In-Reply-To: Message-ID: On 4/15/05 8:29 AM, "Frank D. Engel, Jr." wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sockets are already bidirectional, the trick is to know when which > program should read data. Set up one to listen then connect from the > other. > > It turns out that 'read from socket' can be used asynchronously. You > can have the handler which executes as a callback trigger another read > each time in order to set up pseudo-threading of a sort, allowing your > program to offer bidirectional communication over a single socket. > That should solve your problem. Can you show me an example? The reason I ask is that although I know I can do a read (and sequential reads) after App 2 opens a connection with "open socket", but the socket that it reads from is the same as the one that was opened (127.0.0.1:59999 below), NOT the socket that is *created* by App 1's "accept connections" (127.0.0.1:50013 below). So an example would really be appreciated... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Apr 15 11:16:06 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 10:16:06 -0500 Subject: ANN Getting Nine digit zip codes In-Reply-To: Message-ID: On 4/15/05 8:07 AM, "Jim Hurley" wrote: > My thanks to all who have taken the time to take the time, i.e. > report the time to run Getting bar codes. > > It looks like this is quite viable for large DB, if one has broad > band--or patience. If you want something faster, you can always download a static Zip Code DB - there are many out there, even some that have subscriptions. Here's a free one: http://www.thedigitalmapstore.com/Free_Stuff/ZIP_Code_Database/zip_code_data base.html HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From martin at heatonmoor.clara.co.uk Fri Apr 15 11:16:16 2005 From: martin at heatonmoor.clara.co.uk (Martin Blackwell) Date: Fri, 15 Apr 2005 15:16:16 +0000 Subject: How many developers in USA & Oracle question Message-ID: <1113578175.13312.31.camel@linux.local> On the topic of how careful you need to be with SQL syntax, you might want to check out the O'Reilly 'SQL In a Nutshell'. It gives syntax and examples of various SLQ implementations - Oracle, MySQL, PostgreSQL and MS SQL Server and is also a good deskside reference. It will give you an idea of the problems you may encounter should you attempt to build a 'generic' SQL library. Regards Martin Blackwell From psahores at easynet.fr Fri Apr 15 11:24:42 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 15 Apr 2005 17:24:42 +0200 Subject: Database choosing In-Reply-To: References: Message-ID: Hi Jim, Here < http://www.sybase.com/mac> will you find the right one witch installs in minutes trough a cool gui under Mac OS X. As long as i did never setup it to work with Revolution, i will not be very helpfull. I would recommand to test the ODBC way first and the shell pipes beetwin Rev and the Sybase ASE transactions manager, as the second. Else, you could test PostgreSQL 8.0.1 first. If interested, have an eye to the first class distribution packed by Mark Liyanage at Best, Pierre :-) > I went to the Sybase site and found they have a "hot deal". Seems > they are > selling "Sybase Enterprise Portal Information Edition 6.1" for Linux > and > Windows for $99. What does this mean? Is this all one needs to use > Sybase? > Then we use the standard db interface commands with Rev? There is a > Linux > and Windows version but no Mac. We could still have a database on a > Linux > server and a Mac client interfacing with it, right? Jim > > on 4/14/05 6:34 PM, Pierre Sahores wrote: > >> As Len previoulsy said there, PostgreSQL 7 and 8 are realy very great >> ACID compliant ORDBMS and i use them as the back-ends of all my >> "n-tier" solutions since years with a very great confidence. In about >> dozains of megaoctets to hundreds of gigaoctets of datas peer database >> well designed, PostgreSQL rocks. In about more heavy solutions, i >> would >> goes, directly, to a Sybase ASE solution instead of an Oracle one (a >> little too java-centered for me - the linux installer included), even >> if Oracle is, for sure, a powerfull tool and, yet, a less expensive >> solution than it use to be until two years ago. >> >> It will probably be a good idea to avoid, if possible, the less >> powerfull MS SQL-Server solution... >> >> Best, >> >> -- >> Pierre >> >> Le 14 avr. 05, ? 20:50, Oak Norton a ?crit : >> >>> Hello all, I'm a total newbie to Revolution and I have limited >>> programming >>> experience. I'm one of those people I read about in a recent post >>> that >>> needs a solution so I figure out how to program it for myself. My >>> experience has mostly been with cold fusion and MS-SQL/Access. I've >>> been >>> leaning toward MySQL for a cross-platform project, but from the posts >>> on >>> this board I'm just about ready to look at PostgreSQL. I know >>> there's >>> some >>> differences between all the SQL's but don't know much about what they >>> are. >>> In the example below I see a bit of code which illustrated that point >>> and >>> just worries me a tad because I find Access invaluable to build >>> queries >>> quickly and test them out and if I didn't have to change the code at >>> all, >>> that would be a big plus. So which of the sql flavors is closest to >>> MSSQL >>> and will go cross-platform? >>> >>> Thanks, >>> >>> Oak >>> >>> >>>> It's been my experience that if you ultimately want to move >>>> to Oracle, >>>> Postgresql is a better choice than mySQL because PG tries to be as >>>> Oracle compatible as possible. I can also tell you from >>>> experience that >>>> if you want to move to MS SQL Server later, be VERY careful >>>> about your >>>> SQL since there are lots of things that are incompatible even with >>>> "simple" SQL statements. For example, in Oracle/Postgres you >>>> would join >>>> two fields you would use something like SELECT last_name || ', ' || >>>> first_name whereas in MS SQL it would be SELECT last_name + ', ' + >>>> first_name (very VB like). >>> >>> _______________________________________________ >>> 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 > > -- > > OYF is... Highly resourceful people working together. > > > Own Your Future Consulting Services Limited, > 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 > Phone: 902-823-2339. Fax: 902-823-2139 > > What?s New... > > * Have you ever hired an employee who didn?t work out? > > * Did you do that on purpose? > > Probably not... > > If you want to greatly improve your hiring process, > check out our new hiring process... www.HiringSmart.ca/ns > > and... > www.KeepingTheBest.ca/ns > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Fri Apr 15 11:26:07 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 15 Apr 2005 17:26:07 +0200 Subject: OT: The TAOO Announcement Message-ID: <20050415153853.BF83693008A@mail.runrev.com> I thought I had posted this but it was removed or Lotus Notes "de mes deux" sucks at it again most probably. As in I thought i was wrong but I was mistaken! ;) So if you missed the post about this in a previous reply, I wrote an essay yesterday on The Art Of Objects on MonsieurX.com. It's quite long but here's a brief. http://monsieurx.com/taoo will take you too it... It is a daring (you be the judge of that) draft with almost no editing (i did a late spell check) but I think it explains what TAOO and XOS is. Im not sure I have conveyed the right picture in the essay and if you will see it as differently as I see it. Translating a skill into language is not easy... And comments are truely appreciated! If you do not want to polute this maillist with TAOO stuff, which I certainly oblige, http://www.monsieurx.com/forums is the place to write it (whatever and even flames) to. It would be nice to keep in one place but i have no problems with either. TAOO is for RunRev what RunRev is for Wiki... or something like that, it's not just objects but verbs too. You do or see what you want with it... If not, you script it and it adds to the environment with no old-fashion updates required at all! It stays with you long-term for quick reuse... That counts for scripts, languages, other languages or knowledge objects... I programmed no limits in it - it's forbidden! I just wanted to create an ideal object platform, and I think i'm well on my way to it. Instead of a huge IBM team, i did it alone! But I did it opensource and I tried to get people into it before but wasn't quite successfull. Together with you, Im sure we can make an object of information standards! I may not always sound or be read seriously, but believe me I take pride in my "atomic" design strategy - as it is pure economic benefit from all sides including designwise... A stack in TAOO takes 10% of the time to build compared to a stack from scratch... OK, to a degree of interpretation but im alone doing all this stack stuff and depend on your feedback as you are my only public! While it is based on RunRev, it's benefits are not limited to it. XML, HTML or any format are just a treat for TAOO... Depends on how much you need to reuse it - believe me, in the long run it pays lots!!! There's also lots more information regarding the phylosophy of TAOO and how it works. What is cool and concerns you is that RunRev is the best environment for it, and it can likely control others from RunRev... So I hope to write more about it following your responses. One Mac Example I thought about long ago was: a TAOO C snippet librarian could organize a C library based on any criteria you want and compile it automatically at the click of a button or a msg call - not all compilers did. But CompileIt did. Compile this object! Turning that into speech recognition was already possible in MacOS 7-9 and it was cool to do demos - ok, a trick but a cool one!!! Archive Emails... Bam I got a Email stack now forever like a PST file in Outlook! I could go on forever with examples too so if you have any practical use questions, just shoot! Dont be shy! No strings attached. And im thinking of rewriting the http protocol now ;) Best Xavier From Typing80wpm at aol.com Fri Apr 15 11:55:43 2005 From: Typing80wpm at aol.com (Typing80wpm at aol.com) Date: Fri, 15 Apr 2005 11:55:43 EDT Subject: Easiest Postgres SQL Windows Install & Adm package Message-ID: <30.7096bf55.2f913dff@aol.com> The various helpful comments and advice on this list are persuading me to attempt to install Postgres SQL on my Windows XP (professional, not home) Dell. I have searched on the Net, and notice that there are some downloads that require a compile of code using Cygwin Linux emulator. I worked with that once on my old Win98 Compaq, but found it daunting.... I only accomplished what I wanted because a Linux expert was talking me through everything step by step. So let me know, please, should you come across some automatic Windows install for Postgres. What would be ideal is if I downloaded, unzipped, installed with no questions asked automatically, and also give me some king of SQL manager program, to test it out, create tables. If that is too much to hope for, then, at least, point me to the easiest possible Windows install package for Postgres, and then recommend for me the easiest SQL Adm tool to manage the Postgres SQL. And then I will download the trial version of Revolution, and be all set to talk to the Postgres SQL on my desk top. If there is a simple Revolution demo app which would do some "Hello World" exercise with Postgres, then that would be most helpful. I guess I shall be clever too, and look through the computer science bookshelves to see if there is something with a cd and postgres. I noticed a book by Trollwear on QT3 which is a GUI IDE for C# (or some flavor of C) and the CD in the back of the book offers Borland C compilers, and Mysql... etc Thanks all, for your help and suggestions. From oak at jwscpa.com Fri Apr 15 11:56:08 2005 From: oak at jwscpa.com (Oak Norton) Date: Fri, 15 Apr 2005 09:56:08 -0600 Subject: How many developers in USA & Oracle question In-Reply-To: <1113578175.13312.31.camel@linux.local> Message-ID: <001e01c541d3$a4091250$3f00180a@keithbartonlaw.com> Thanks Martin. Sounds perfect. Oak > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Martin Blackwell > Sent: Friday, April 15, 2005 9:16 AM > To: use-revolution at lists.runrev.com > Subject: Re: How many developers in USA & Oracle question > > > On the topic of how careful you need to be with SQL > syntax, you might want to check out the O'Reilly > 'SQL In a Nutshell'. It gives syntax and examples of > various SLQ implementations - Oracle, MySQL, PostgreSQL and > MS SQL Server and is also a good deskside reference. > It will give you an idea of the problems you may encounter > should you attempt to build a 'generic' SQL library. > > Regards > > Martin Blackwell > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jeff at siphonophore.com Fri Apr 15 12:02:10 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Fri, 15 Apr 2005 12:02:10 -0400 Subject: RevCon West Tourist Activities In-Reply-To: <20050415153808.3C6EE930103@mail.runrev.com> References: <20050415153808.3C6EE930103@mail.runrev.com> Message-ID: <1c29a28d3b937b7c75adf3ad4a36c200@siphonophore.com> yep, there is usually a connecting amtrak bus from salinas to monterey. I have had folks tell me they booked a train reservation from oakland or san jose to monterey only to be directed to the bus in the parking lot instead of a train... its a nice train ride, but probably 3-4 hrs from oakland with train salinas then bus. bout 2 hrs by the bus. Im sure Amtrak will tell you if its just direct bus connection or train and bus. jeff Jeffrey Reynolds 6620 Michaels Dr Bethesda, MD 20817 301.469.8562 jeff at siphonophore.com On Apr 15, 2005, at 11:38 AM, use-revolution-request at lists.runrev.com wrote: > I expect Dan to kept us all amused with a never-ending sequence of > breathtaking activities--free. > > I hate to drive and so will be taking AMTRAK, probably to Salinas. > Anyone know if there is bus service to Monterey from Salinas? > > Jim From oak at jwscpa.com Fri Apr 15 12:25:10 2005 From: oak at jwscpa.com (Oak Norton) Date: Fri, 15 Apr 2005 10:25:10 -0600 Subject: Mac compatible DB's In-Reply-To: <30.7096bf55.2f913dff@aol.com> Message-ID: <001f01c541d7$b257a6b0$3f00180a@keithbartonlaw.com> Having looked at Postgresql's site, it doesn't look like it's Mac compatible, but MySQL is. So if you're doing cross platform development and want 1 database to be covered by Win, Linux, Mac, is there another option besides MySql? Thanks, Oak From revdan at danshafer.com Fri Apr 15 12:38:10 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 15 Apr 2005 09:38:10 -0700 Subject: RevCon West Tourist Activities In-Reply-To: References: <20050414214552.E20B09300E5@mail.runrev.com> Message-ID: <000b94c971d76710c635ad1c584cdf71@danshafer.com> Jim..... There is bus service from Salinas to Monterey for sure. In fact, I think Amtrak runs such a bus but I know Monterey-Salinas Transit does. Looking forward to seeing you. On Apr 15, 2005, at 6:20 AM, Jim Hurley wrote: > I expect Dan to kept us all amused with a never-ending sequence of > breathtaking activities--free. > > I hate to drive and so will be taking AMTRAK, probably to Salinas. > Anyone know if there is bus service to Monterey from Salinas? > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest TODAY - APRIL 15 - IS THE LAST DAY FOR THE EARLY BIRD DISCOUNT! From rcozens at pon.net Fri Apr 15 12:41:53 2005 From: rcozens at pon.net (Rob Cozens) Date: Fri, 15 Apr 2005 09:41:53 -0700 Subject: Mac compatible DB's In-Reply-To: <001f01c541d7$b257a6b0$3f00180a@keithbartonlaw.com> References: <30.7096bf55.2f913dff@aol.com> <001f01c541d7$b257a6b0$3f00180a@keithbartonlaw.com> Message-ID: <6.2.1.2.1.20050415093916.01e5f240@pop3.pon.net> Hi Oak, >So if you're doing cross platform development and >want 1 database to be covered by Win, Linux, Mac, is there another option >besides MySql? If one doesn't need relational features, there is Serendipity Database--Binary (SDB) . Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From revdan at danshafer.com Fri Apr 15 12:43:09 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 15 Apr 2005 09:43:09 -0700 Subject: Last Day for $70 Discount to RevCon West Message-ID: Just a quick reminder that today's the last day you can sign up for the Early Bird discount price for RevCon West, being held in beautiful Monterey, California, on June 17-18. In other words, last chance to save $70. The price for the rest of today only is $125. Tomorrow, it goes up to its original, real price of $195. Also, note that ONLY Early Birds get to vote on the topic list to make up the conference offerings. We have over 60 topics on the list but we can only put on about 24 of them, so your vote can have a pretty big influence. We'll close that balloting some time next week and then fairly soon thereafter post the tentative conference schedule gird on the site. Remember, too, that we already know of at least one valuable give-away at the conference, Chipp Walters' superb new Interface Designer tool. I've tested this sucker and I guarantee you're going to love what it does for both the quality and the ease of design of your UIs in your Rev stacks and apps. Please get your sign-ups in TODAY. This conference is a great deal at $195, but at $125, it's nearly a steal. http://www.altuit.com/webs/altuit/RevConWest See you in Monterey this summer. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Fri Apr 15 12:43:48 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 15 Apr 2005 09:43:48 -0700 Subject: RevCon West Tourist Activities In-Reply-To: <1c29a28d3b937b7c75adf3ad4a36c200@siphonophore.com> References: <20050415153808.3C6EE930103@mail.runrev.com> <1c29a28d3b937b7c75adf3ad4a36c200@siphonophore.com> Message-ID: <1a7632dcd222598625208f8a7bafefbe@danshafer.com> It's definitely a bus connection. Monterey has no active passenger rail service. Dan On Apr 15, 2005, at 9:02 AM, Jeffrey Reynolds wrote: > yep, there is usually a connecting amtrak bus from salinas to > monterey. I have had folks tell me they booked a train reservation > from oakland or san jose to monterey only to be directed to the bus in > the parking lot instead of a train... its a nice train ride, but > probably 3-4 hrs from oakland with train salinas then bus. bout 2 hrs > by the bus. Im sure Amtrak will tell you if its just direct bus > connection or train and bus. > > jeff > > Jeffrey Reynolds > 6620 Michaels Dr > Bethesda, MD 20817 > 301.469.8562 > jeff at siphonophore.com > > On Apr 15, 2005, at 11:38 AM, use-revolution-request at lists.runrev.com > wrote: > >> I expect Dan to kept us all amused with a never-ending sequence of >> breathtaking activities--free. >> >> I hate to drive and so will be taking AMTRAK, probably to Salinas. >> Anyone know if there is bus service to Monterey from Salinas? >> >> Jim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Fri Apr 15 12:45:53 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Apr 2005 09:45:53 -0700 Subject: RevCon West Tourist Activities In-Reply-To: <1c29a28d3b937b7c75adf3ad4a36c200@siphonophore.com> References: <20050415153808.3C6EE930103@mail.runrev.com> <1c29a28d3b937b7c75adf3ad4a36c200@siphonophore.com> Message-ID: <425FEFC1.60401@fourthworld.com> Jeffrey Reynolds wrote: > yep, there is usually a connecting amtrak bus from salinas to monterey. > I have had folks tell me they booked a train reservation from oakland or > san jose to monterey only to be directed to the bus in the parking lot > instead of a train... its a nice train ride, but probably 3-4 hrs from > oakland with train salinas then bus. bout 2 hrs by the bus. Im sure > Amtrak will tell you if its just direct bus connection or train and bus. I took the train from Los Angeles last year, and just yesterday made my reservation for this year. When you make your reservation you can specify any of several stops in Monterey, and they'll transfer you to a bus in Salinas for that last leg. It's a brief bus ride (30-40 min?), and since it goes through some of the heavily-wooded areas surrounding Monterey it's about as pleasant as an Amtrak bus can be. The train on that route is the Coast Starlight, and while it's no Orient Express it's not a bad train by US standards. There's an observation car with great seating, a modest dining car, and many of the coach cars have electrical outlets (but not all, so if you're travelling with your laptop ask the attendant to get you a seat next to one). The one thing to remember about travelling on the Coast Starlight is that it's notoriously late. Passengers are second-class citizens on America's rails, after freight. So anytime there's a scheduling conflict on a track it's the Coast Starlight that pulls over on the nearest passing track and waits for the other train to go by. So as long as you don't plan anything time-sensitive after your arrival you should have a pleasant trip. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From oak at jwscpa.com Fri Apr 15 12:58:11 2005 From: oak at jwscpa.com (Oak Norton) Date: Fri, 15 Apr 2005 10:58:11 -0600 Subject: Mac compatible DB's In-Reply-To: <6.2.1.2.1.20050415093916.01e5f240@pop3.pon.net> Message-ID: <002201c541dc$4f7ba140$3f00180a@keithbartonlaw.com> Excellent. So in thinking about how the db would work if it doesn't support relational fields, can you give me an example in Serendipity of how you would do a query for information in multiple tables that had a related field like matching a customer with their orders as in these 2 tables: Table 1 Customer_ID Name Address Table 2 Customer_ID Order_ID Thanks, Oak > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Rob Cozens > Sent: Friday, April 15, 2005 10:42 AM > To: How to use Revolution > Subject: Re: Mac compatible DB's > > > Hi Oak, > > >So if you're doing cross platform development and > >want 1 database to be covered by Win, Linux, Mac, is there another > >option besides MySql? > > If one doesn't need relational features, there is Serendipity > Database--Binary (SDB) . > > Rob Cozens CCW > Serendipity Software Company > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Fri Apr 15 13:11:50 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 15 Apr 2005 07:11:50 -1000 Subject: Mac compatible DB's In-Reply-To: <001f01c541d7$b257a6b0$3f00180a@keithbartonlaw.com> References: <001f01c541d7$b257a6b0$3f00180a@keithbartonlaw.com> Message-ID: <30d6f901706e6ae17a963a91b636a4ce@hindu.org> FYI, Installation is tricky but PosgreSQL runs just fine on OSX On Apr 15, 2005, at 6:25 AM, Oak Norton wrote: > Having looked at Postgresql's site, it doesn't look like it's Mac > compatible, but MySQL is. So if you're doing cross platform > development and > want 1 database to be covered by Win, Linux, Mac, is there another > option > besides MySql? > > Thanks, > > Oak > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Typing80wpm at aol.com Fri Apr 15 13:17:00 2005 From: Typing80wpm at aol.com (Typing80wpm at aol.com) Date: Fri, 15 Apr 2005 13:17:00 EDT Subject: Painless PostgreSQL Windows Install Package Message-ID: <1f7.7d0cd93.2f91510c@aol.com> Please let me know what you think of this, if someone is familiar, before I install it. Thanks! Here is where google has finally lead me in my quest for a windows installer for postgreSQL. Good Lord! Why is it that unix/linux type people find it challenging to speak in plain English. I have encoundered this SO MANY TIMES. You struggle to find the download page, and then you have to be an ancient Egyptian Hieroglypics cryptologist to decipher which thing you REALLY need and which button to click on to get it! I mean, why cant they be clever enough to have one link that says "IF YOU DONT KNOW SH!!T FROM SHINOLA, AND YOU HAVE WINDOWS, THEN CLICK HERE FOR AN AUTOMATIC INSTALL", since the inexperienced person will not understand all the other baloney, and someone who DOES understand all the other baloney probably can do a cygwin installation from source code. _http://www.postgresql.org/ftp/win32/_ (http://www.postgresql.org/ftp/win32/) I am GUESSING that what I need from this page is postgresql-8.0.2.zip since I dont speak Japanese... ================================================== postgresql-8.0.2.zip is the multi-language version of the installer. This file has been GPG signed at build time by Dave Page. Dave's public key may be found at _http://www.pgadmin.org/pgp/davepage.pgp_ (http://www.pgadmin.org/pgp/davepage.pgp) postgresql-8.0.2-ja.zip is a Japanese specific version. This file has been by Hiroshi Saito whose public key may be found at: _http://cre-ent.skcapi.co.jp/~saito/developer/pginst/hiroshi.pgp_ (http://cre-ent.skcapi.co.jp/~saito/developer/pginst/hiroshi.pgp) postgresql-8.0.2-binaries-no-installer.zip is a zip of the PostgreSQL installation directory. It does not include any of the bundled apps or drivers and is intended for expert users only! _http://pgfoundry.org/projects/pginstaller_ (http://pgfoundry.org/projects/pginstaller) HERE IS THE POST which lead me to the about download page for the postgreSQL installer.... _http://www.jroller.com/page/nathan/Weblog?catname=%2Ftech_ (http://www.jroller.com/page/nathan/Weblog?catname=/tech) Wednesday August 25, 2004 Postgres 8.0 Beta1 It's been around for a while, but I have a work driven excuse to try out the latest version of postgres on windows and see how it goes. This version has perhaps the biggest thing to happen to postgres for some years: a windows installer for postgres.. So that means no more mucking around with cygwin and the millions of libraries cygwin it needs JUST to get a decent open source database installed on a windows box. MySQL I really didn't take seriously up until a few years back when they seemed to sort out what a transaction was all about, but I would still place Postgres over MySQL, simply because it started out with a decent underlying model (Object Relational under the covers) and built on that, rather than whipping up a quick and dirty solution and having to tack on things that should really have been in there since the word go. I previously used postgres a lot on an internal CRM/Sales reporting/intranet J2EE app at a previous job, and aside from scheduling a vacuum to run every-so-often, it was maintenance free and rock solid. It sat on Red Hat linux, with JBoss, Resin (then migrated to tomcat later as they changed their licencing structure) and apache between the end users and it. Never seemed to need kicking over or restarting, just sat there and served up data quite reliably. In the current job at CustomWare we've had the 8.0beta1 up for a little while on linux (servicing our jira, confluence and other random internal systems), so it seems to have handled that load ok (confluence has a fairly large swag of documents and information stored in it by now, and jira has lots of issues/support requests/tasks etc). Anyhow, the windows installer seems pretty straight forward, it puts postgres in as a service and will create a user for it (with a warning when you try to pick a dummy password for the user account.. always nice to know it stops you from your own stupidity). Comes with PGAdmin III ready to go as an admin tool, so setting up databases, tablespaces, users etc is all straight forward. Jira and jive seem to talk to the windows postgres no problems, I'll see what else I can point at it as I go, to give it a fair share of the development time on my laptop (rather than oracle) and see whether there are any bugs in the beta version. So finally, MySQL should be worried in the windows open source db market... Because the only real reason mysql has been so widely spread is that it has a nice easy windows install. Postgres has that now too, it's also opensource and lots of documentation and support out there. Look forward to the full 8.0 release.. Thought I'd summarise the links (since people tend to want to find something if they end up here from google): Postgres main site - _http://www.postgresql.org_ (http://www.postgresql.org) Windows installer for postgres - _http://pgfoundry.org/projects/pginstaller_ (http://pgfoundry.org/projects/pginstaller) JDBC Drivers for Postgres - _http://jdbc.postgresql.org/download.html_ (http://jdbc.postgresql.org/download.html) Postgres documentation - _http://www.postgresql.org/docs/_ (http://www.postgresql.org/docs/) (really good general SQL reference too) (2004-08-25 01:30:50.0) Permalink Comments [2] From briany at qldlearning.com Fri Apr 15 13:23:02 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 15 Apr 2005 10:23:02 -0700 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: See if this helps- works well here with two stacks in the IDE. In the second stack, flip the port numbers (and the gotData test message). Everything here is non-blocking, which is important if both stacks are running together - you don't want one stacks script to block the other's. You can just stick this in the stack script (be sure to make sure you trigger the openStack or reload the stack), and then break it down from there... HTH... ### accept connections immediately on openStack accept connections on port 8999 with message "gotConnect" end openStack ### receive a new connection and begin reading data from it on gotConnect s read from socket s for 1 line with message "gotData" end gotConnect ### got the data, report it and send confirmation back on gotData s,d answer "Application 1 says:"&&d write "OK"&cr to socket s close socket s end gotData ### open a new socket to be the sender of data on sendData open socket to "127.0.0.1:9000" with message "socketOpen" end sendData ### once the socket is open, send some data on socketOpen s put "Writing to socket"&&s write ("Hello my name is"&&(the long name of this stack))&cr to socket s with message "dataSent" end socketOpen ### once the data is sent, read for a reply on dataSent s,d read from socket s for 1 line with message "gotReply" end dataSent ### display the confirmation message on gotReply s,d answer d end gotReply > On 4/15/05 8:29 AM, "Frank D. Engel, Jr." wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Sockets are already bidirectional, the trick is to know when which >> program should read data. Set up one to listen then connect from the >> other. >> >> It turns out that 'read from socket' can be used asynchronously. You >> can have the handler which executes as a callback trigger another read >> each time in order to set up pseudo-threading of a sort, allowing your >> program to offer bidirectional communication over a single socket. >> That should solve your problem. > > Can you show me an example? The reason I ask is that although I know I > can > do a read (and sequential reads) after App 2 opens a connection with > "open > socket", but the socket that it reads from is the same as the one that > was > opened (127.0.0.1:59999 below), NOT the socket that is *created* by > App 1's > "accept connections" (127.0.0.1:50013 below). > > So an example would really be appreciated... > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jperryl at ecs.fullerton.edu Fri Apr 15 13:24:42 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 15 Apr 2005 10:24:42 -0700 (PDT) Subject: RevCon West Tourist Activities In-Reply-To: <425FEFC1.60401@fourthworld.com> Message-ID: And, of course, if you are coastal CA south of LA, consider taking one of the commuter transit trains M-F. Coaster (San Diego to Oceanside) and Metrolink (Oceanside to Union Station in LA). Much cheaper than Amtrak. Sometimes by half or more. But we'll be driving as we can't take the little dogs on trains and car rental with baby/toddler seats essentially results in your purchasing said seats FOR the car rental agency. :( Judy On Fri, 15 Apr 2005, Richard Gaskin wrote: > I took the train from Los Angeles last year, and just yesterday made my > reservation for this year. From bill at bluewatermaritime.com Fri Apr 15 13:34:16 2005 From: bill at bluewatermaritime.com (Bill) Date: Fri, 15 Apr 2005 13:34:16 -0400 Subject: Mac compatible DB's In-Reply-To: <001f01c541d7$b257a6b0$3f00180a@keithbartonlaw.com> Message-ID: I have been using MySQL on a Mac and am very pleased. It is especially nice because of all the utilities there are available in Mac OS to work with MySQL -- and all are free. There is an article in Mactech comparing mySQL with PostgreSQL On 4/15/05 12:25 PM, "Oak Norton" wrote: > Having looked at Postgresql's site, it doesn't look like it's Mac > compatible, but MySQL is. So if you're doing cross platform development and > want 1 database to be covered by Win, Linux, Mac, is there another option > besides MySql? > > Thanks, > > Oak > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From Typing80wpm at aol.com Fri Apr 15 13:35:48 2005 From: Typing80wpm at aol.com (Typing80wpm at aol.com) Date: Fri, 15 Apr 2005 13:35:48 EDT Subject: More on PostgreSQL Windows Installer Message-ID: <89.2514e01d.2f915574@aol.com> _http://www.postgresql.org/docs/faqs.FAQ_windows.html#2.1_ (http://www.postgresql.org/docs/faqs.FAQ_windows.html#2.1) It looks like the Dave Page installer is the one I need (possibly the only one there is) for postgreSQL. This FAQ page makes the install look like a scary undertaking. I dont even know for sure if I have FAT on my disk drive or NTFS, but I am guessing that XP has the NTFS. This FAQ page assures me that I will also install pgAdmin (a graphical administration and management program) with this download, which is comforting. One thing I read today impressed me, namely, that MYSQL became widespread, in part, simply because there were a number of easy window installer packages available for it. The blog speculated that Postgresql will become even more popular with this windows installer. It all makes sense. Also, something about how Postgresql was designed from the ground up in the proper fashion, whereas mysql got off on the wrong foot, and then was retrofitted as an afterthought. From psahores at easynet.fr Fri Apr 15 13:36:45 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 15 Apr 2005 19:36:45 +0200 Subject: Easiest Postgres SQL Windows Install & Adm package In-Reply-To: <30.7096bf55.2f913dff@aol.com> References: <30.7096bf55.2f913dff@aol.com> Message-ID: <4ee97c400608ccb218e2a54bc14845c1@easynet.fr> Hello, No need of Cygwin Linux emulator anymore. There is yet a windows native issue of PG. Goes directly to the postgres home web site to get the PG 8.0.1 windows issue and take care not to read too outdated articles ;-) Best, Pierre Le 15 avr. 05, ? 17:55, Typing80wpm at aol.com a ?crit : > The various helpful comments and advice on this list are persuading me > to > attempt to install Postgres SQL on my Windows XP (professional, not > home) Dell. > > I have searched on the Net, and notice that there are some downloads > that > require a compile of code using Cygwin Linux emulator. I worked with > that once > on my old Win98 Compaq, but found it daunting.... I only accomplished > what I > wanted because a Linux expert was talking me through everything step > by step. > > So let me know, please, should you come across some automatic Windows > install for Postgres. What would be ideal is if I downloaded, > unzipped, installed > with no questions asked automatically, and also give me some king of > SQL > manager program, to test it out, create tables. If that is too much > to hope > for, then, at least, point me to the easiest possible Windows install > package > for Postgres, and then recommend for me the easiest SQL Adm tool to > manage the > Postgres SQL. > > And then I will download the trial version of Revolution, and be all > set to > talk to the Postgres SQL on my desk top. > > If there is a simple Revolution demo app which would do some "Hello > World" > exercise with Postgres, then that would be most helpful. > > I guess I shall be clever too, and look through the computer science > bookshelves to see if there is something with a cd and postgres. I > noticed a book > by Trollwear on QT3 which is a GUI IDE for C# (or some flavor of C) > and the CD > in the back of the book offers Borland C compilers, and Mysql... etc > > > Thanks all, for your help and suggestions. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From psahores at easynet.fr Fri Apr 15 13:40:04 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 15 Apr 2005 19:40:04 +0200 Subject: Mac compatible DB's In-Reply-To: <001f01c541d7$b257a6b0$3f00180a@keithbartonlaw.com> References: <001f01c541d7$b257a6b0$3f00180a@keithbartonlaw.com> Message-ID: PG is fully Mac OS X (no Mac OS 9) compatible. You can get its best installer from Le 15 avr. 05, ? 18:25, Oak Norton a ?crit : > Having looked at Postgresql's site, it doesn't look like it's Mac > compatible, but MySQL is. So if you're doing cross platform > development and > want 1 database to be covered by Win, Linux, Mac, is there another > option > besides MySql? > > Thanks, > > Oak > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Fri Apr 15 13:42:53 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 12:42:53 -0500 Subject: Socket Comm Sequence Issue In-Reply-To: Message-ID: On 4/15/05 12:23 PM, "Brian Yennie" wrote: > See if this helps- works well here with two stacks in the IDE. In the > second stack, flip the port numbers (and the gotData test message). > Everything here is non-blocking, which is important if both stacks are > running together - you don't want one stacks script to block the > other's. When do you trigger "sendData"? When I put this into two stacks and open them, it puts them both into "accept" mode, but neither sends anything to the other. What I'm trying to accomplish is that App 1 launches, it in turn launches App 2, and both of them are in a two-way communication session... Any suggestions on scripting the critical "who talks first" step? Because if someone talks before the other one is listening, you're hosed... ;-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Apr 15 13:47:44 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 12:47:44 -0500 Subject: Mac compatible DB's In-Reply-To: <002201c541dc$4f7ba140$3f00180a@keithbartonlaw.com> Message-ID: On 4/15/05 11:58 AM, "Oak Norton" wrote: >> So if you're doing cross platform development and >> want 1 database to be covered by Win, Linux, Mac, is there another >> option besides MySql? If Linux ends up not being needed, you can also try Valentina, which has it's own external for Rev and in fact a version is bundled with Rev. For more info, see www.paradigmasoft.com. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From oak at jwscpa.com Fri Apr 15 14:14:45 2005 From: oak at jwscpa.com (Oak Norton) Date: Fri, 15 Apr 2005 12:14:45 -0600 Subject: Handling updates Message-ID: <003a01c541e7$012bb6a0$3f00180a@keithbartonlaw.com> OK, another newbie question. Once you install a program on someone's local machine for win/linux/mac that uses mysql or PG, do you typically notify them of patches to the engine or expect end users to be smart enough to go out and get the patches themselves? It doesn't seem likely that most end users would have any clue how to do this. So if I have a robust application that uses one of these databases, are people required to patch, or since it's a local install can you just toss a database file out there that will respond to sql queries like an access database where it's essentially just a file? (I don't suppose there's a hack to let access databases run on Mac/Linux???) Thanks, Oak From briany at qldlearning.com Fri Apr 15 14:15:33 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 15 Apr 2005 11:15:33 -0700 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: <9cb3669b9a9b39248b165de89c231dd4@qldlearning.com> > When do you trigger "sendData"? When I put this into two stacks and > open > them, it puts them both into "accept" mode, but neither sends anything > to > the other. I was just triggering it from the message box, but it should work from anywhere once both stacks are open. > What I'm trying to accomplish is that App 1 launches, it in turn > launches > App 2, and both of them are in a two-way communication session... > > Any suggestions on scripting the critical "who talks first" step? > Because if > someone talks before the other one is listening, you're hosed... Well, if App 1 is launching App 2, wouldn't App 1 do the first talking? Why are you hosed? I guess that's the crux- it shouldn't hose anything (other than not being able to make the connection). Can you lower the socketTimeoutInterval and have App 1 keep trying after it launches app 2? Something like this maybe? The idea would be that either application would look for the other when it was launched. If it was able to connect, it knows it is application #2. Otherwise, if the connection times out, it is app #1 and it launches application #2. In turn, that second application should be able to connect back. If you set the timeout value low and make asynchronous calls, it should be pretty snappy. Is this along the right lines? global myAppNumber ## look for an existing application 1 and open our own listener on openStack lookForFirstApplication accept connections on port 9000 with message "gotConnect" end openStack ## try to connect to the other app on lookForFirstApplication set the socketTimeoutInterval to 5000 open socket to port 8999 with message "foundApplication1" end lookForFirstApplication ## found it, we must be app #2.. we could safely start talking after this on foundApplication1 s close socket s put 2 into myAppNumber end foundApplication1 ## couldn't connect, so we must be application #1 ## now launch the second app, which will connect back to us on socketTimeout s close socket s put 1 into myAppNumber launchApplication2 end socketTimeout From rcozens at pon.net Fri Apr 15 14:15:13 2005 From: rcozens at pon.net (Rob Cozens) Date: Fri, 15 Apr 2005 11:15:13 -0700 Subject: Mac compatible DB's In-Reply-To: <002201c541dc$4f7ba140$3f00180a@keithbartonlaw.com> References: <6.2.1.2.1.20050415093916.01e5f240@pop3.pon.net> <002201c541dc$4f7ba140$3f00180a@keithbartonlaw.com> Message-ID: <6.2.1.2.1.20050415103434.01e8e700@pop3.pon.net> Oak, et al, >So in thinking about how the db would work if it doesn't support >relational fields, can you give me an example in Serendipity of how you >would do a query for information in multiple tables that had a related field >like matching a customer with their orders as in these 2 tables: > >Table 1 >Customer_ID >Name >Address > >Table 2 >Customer_ID >Order_ID First, let me say that my only experience with relational databases was a couple of years in the 1980s when the company I was working for shifted from Data General INFOS to SUN INGRES. Other than that, I have spent most of the last three decades customizing corporate & small business systems based on a hierarchical (B-Tree) database. I have never been limited by the database in accomplishing what the client requested--though admittedly I have had to manuallly code logic to support multiple indexing of a single record. There are multiple possibilities: 1. Table 1 includes a field listing the keys (or Revolution Card ID's within an SDB database stack [SDB databases are stacks) of the customer's orders 2. Table 2 can be keyed [Cust ID]&[Order #]. An approximate keyed read on [Cust ID] retrieves the first order for that customer, or an exact keyed read on [Cust ID]&[Order #] retrieves a specific order. 3. The findSDBRecord command can search any table and return all or designated fields for each record matching specified selection criteria 4. One can script logic to create and maintain alternate indexes to any table, including support for duplicate key values. 5. Table 1 could include all the order data for that customer and a cross index table, Order # --> Cust ID could support processing of multiple orders by Order #. The "Q" in "SQL" stands for "ad hoc query", which is what SQL was designed for. My clients rarely need ad hoc query capabilities--they want a database built to facilitate the regular, day-in day-out operational and informational needs of their businesses. Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From revdan at danshafer.com Fri Apr 15 14:43:15 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 15 Apr 2005 11:43:15 -0700 Subject: RevCon West Attendees With Guests Message-ID: <37d1c1e4833ba1b77898f3368f095bd3@danshafer.com> If you're planning to attend RevCon West June 17-18 in Monterey and are bringing with you family or friends who won't be intrigued by sitting around listening to you yammer on about Revolution (what's UP with those non-geeks anyway?), please email me off list at revdan at danshafer.com and let me know about your traveling companions. Things like age, interests, your arrival/departure dates, etc. Then I'll put together some ideas and options for things for them to do while you're being techie and for the group to do when you're not. This is already shaping up as the best and biggest Rev developer conference ever. Now let's see if we can make it one your friends and family will want to come back to in 2006 as well! Don't forget. Today's the deadline for the $70 savings on Early Bird discount. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest TODAY -- APRIL 15 -- IS THE LAST DAY FOR EARLY BIRD SAVINGS OF $70! From b.xavier at internet.lu Fri Apr 15 14:51:30 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 15 Apr 2005 20:51:30 +0200 Subject: Handling updates In-Reply-To: <003a01c541e7$012bb6a0$3f00180a@keithbartonlaw.com> Message-ID: <20050415190413.233B593008A@mail.runrev.com> Hi Oak, I add the option in the preferences to check at startup for network updates. Then it's one of three ways... 1) send the use to download 2) download for the user 3) patch for the user. Depends if you are also delivering a stack, a compiled stack or a compiled stack with accompagning stacks/files... All options are possible, some require a bit more scriptign though ;) Cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Oak Norton > Sent: Friday, April 15, 2005 20:15 > To: 'How to use Revolution' > Subject: Handling updates > > OK, another newbie question. Once you install a program on > someone's local machine for win/linux/mac that uses mysql or > PG, do you typically notify them of patches to the engine or > expect end users to be smart enough to go out and get the > patches themselves? It doesn't seem likely that most end > users would have any clue how to do this. So if I have a > robust application that uses one of these databases, are > people required to patch, or since it's a local install can > you just toss a database file out there that will respond to > sql queries like an access database where it's essentially > just a file? (I don't suppose there's a hack to let access > databases run on > Mac/Linux???) > > Thanks, > > Oak > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From fde101 at fjrhome.net Fri Apr 15 14:52:23 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 15 Apr 2005 14:52:23 -0400 Subject: Painless PostgreSQL Windows Install Package In-Reply-To: <1f7.7d0cd93.2f91510c@aol.com> References: <1f7.7d0cd93.2f91510c@aol.com> Message-ID: <1926dd50e7458838c32ece65272589de@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That's the right file. That zip file extracts to two .msi files; one with a "-int" in the name, and one without. Double-click the one without in order to start the installation. The other needs to be there (most of the actual content is in that one), but don't try to start it directly. On Apr 15, 2005, at 1:17 PM, Typing80wpm at aol.com wrote: > Please let me know what you think of this, if someone is familiar, > before I > install it. Thanks! > Here is where google has finally lead me in my quest for a windows > installer > for postgreSQL. Good Lord! Why is it that unix/linux type people find > it > challenging to speak in plain English. I have encoundered this SO > MANY TIMES. > You struggle to find the download > page, and then you have to be an ancient Egyptian Hieroglypics > cryptologist to decipher which thing you REALLY need and which > button to click on to get it! > > I mean, why cant they be clever enough to have one link that says "IF > YOU DONT KNOW SH!!T FROM SHINOLA, AND YOU HAVE WINDOWS, > THEN CLICK HERE FOR AN AUTOMATIC INSTALL", since the > inexperienced person will not understand all the other baloney, and > someone who DOES understand all the other baloney probably can do > a cygwin installation from source code. > > _http://www.postgresql.org/ftp/win32/_ > (http://www.postgresql.org/ftp/win32/) > > I am GUESSING that what I need from this page is > postgresql-8.0.2.zip > since I dont speak Japanese... > > ================================================== > > postgresql-8.0.2.zip is the multi-language version of the installer. > This > file has been GPG signed at build time by Dave Page. Dave's public key > may be found > > at _http://www.pgadmin.org/pgp/davepage.pgp_ > (http://www.pgadmin.org/pgp/davepage.pgp) > > postgresql-8.0.2-ja.zip is a Japanese specific version. This file has > been by Hiroshi Saito whose public key may be found at: > _http://cre-ent.skcapi.co.jp/~saito/developer/pginst/hiroshi.pgp_ > (http://cre-ent.skcapi.co.jp/~saito/developer/pginst/hiroshi.pgp) > > postgresql-8.0.2-binaries-no-installer.zip is a zip of the PostgreSQL > installation directory. It does not include any of the bundled apps or > drivers and is intended for expert users only! > > > > > > > _http://pgfoundry.org/projects/pginstaller_ > (http://pgfoundry.org/projects/pginstaller) > > HERE IS THE POST which lead me to the about download page for the > postgreSQL installer.... > > > > _http://www.jroller.com/page/nathan/Weblog?catname=%2Ftech_ > (http://www.jroller.com/page/nathan/Weblog?catname=/tech) > > Wednesday August 25, 2004 > Postgres 8.0 Beta1 > > It's been around for a while, but I have a work driven excuse to try > out > the latest version of postgres on windows and see how it goes. > This version has perhaps the biggest thing to happen to postgres for > some years: a windows installer for postgres.. So that means no more > mucking around with cygwin and the millions of libraries cygwin it > needs JUST to get a decent open source database installed on a > windows box. > > MySQL I really didn't take seriously up until a few years back when > they seemed to sort out what a transaction was all about, but I would > still place Postgres over MySQL, simply because it started out with a > decent underlying model (Object Relational under the covers) and > built on that, rather than whipping up a quick and dirty solution and > having to tack on things that should really have been in there since > the word go. > > I previously used postgres a lot on an internal CRM/Sales > reporting/intranet J2EE app at a previous job, and aside from > scheduling a vacuum to run every-so-often, it was maintenance free > and rock solid. It sat on Red Hat linux, with JBoss, Resin (then > migrated to tomcat later as they changed their licencing structure) > and apache between the end users and it. Never seemed to need > kicking over or restarting, just sat there and served up data quite > reliably. > > In the current job at CustomWare we've had the 8.0beta1 up for a > little while on linux (servicing our jira, confluence and other random > internal systems), so it seems to have handled that load ok > (confluence has a fairly large swag of documents and information > stored in it by now, and jira has lots of issues/support requests/tasks > etc). > > Anyhow, the windows installer seems pretty straight forward, it puts > postgres in as a service and will create a user for it (with a warning > when you try to pick a dummy password for the user account.. always > nice to know it stops you from your own stupidity). Comes with > PGAdmin III ready to go as an admin tool, so setting up databases, > tablespaces, users etc is all straight forward. > > Jira and jive seem to talk to the windows postgres no problems, I'll > see what else I can point at it as I go, to give it a fair share of the > development time on my laptop (rather than oracle) and see whether > there are any bugs in the beta version. > > So finally, MySQL should be worried in the windows open source db > market... Because the only real reason mysql has been so widely > spread is that it has a nice easy windows install. Postgres has that > now too, it's also opensource and lots of documentation and support > out there. Look forward to the full 8.0 release.. > > Thought I'd summarise the links (since people tend to want to find > something if they end up here from google): > > Postgres main site - _http://www.postgresql.org_ > (http://www.postgresql.org) > Windows installer for postgres - > > _http://pgfoundry.org/projects/pginstaller_ > (http://pgfoundry.org/projects/pginstaller) > JDBC Drivers for Postgres - _http://jdbc.postgresql.org/download.html_ > (http://jdbc.postgresql.org/download.html) > Postgres documentation - _http://www.postgresql.org/docs/_ > (http://www.postgresql.org/docs/) (really > good general SQL reference too) > (2004-08-25 01:30:50.0) Permalink Comments [2] > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCYA1o7aqtWrR9cZoRAjgAAJ9z3UOQJm6hvxqx341li93s2p0uyQCeIMBc 7t+vMJ4IpBMtWlLWjKCKxnQ= =yBAG -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Fri Apr 15 14:56:48 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 15 Apr 2005 14:56:48 -0400 Subject: Handling updates In-Reply-To: <003a01c541e7$012bb6a0$3f00180a@keithbartonlaw.com> References: <003a01c541e7$012bb6a0$3f00180a@keithbartonlaw.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is more a matter for the people behind the database server you choose. I know for PostgreSQL, however, that a single database may consist of many files with names which may not be extremely obvious. The files may not be compatible with future versions of the database engine, so if updating the database, you may need to backup the database before starting (dump it), then restore it after the upgrade. Additionally, with any database server like this, you should *never* try to access the files directly while the server is (or might be) running, due to the possibility of corrupted data. On Apr 15, 2005, at 2:14 PM, Oak Norton wrote: > OK, another newbie question. Once you install a program on someone's > local > machine for win/linux/mac that uses mysql or PG, do you typically > notify > them of patches to the engine or expect end users to be smart enough > to go > out and get the patches themselves? It doesn't seem likely that most > end > users would have any clue how to do this. So if I have a robust > application > that uses one of these databases, are people required to patch, or > since > it's a local install can you just toss a database file out there that > will > respond to sql queries like an access database where it's essentially > just a > file? (I don't suppose there's a hack to let access databases run on > Mac/Linux???) > > Thanks, > > Oak > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCYA5w7aqtWrR9cZoRAg8pAJsE0ADREJbDMpO0zMDku8T2/zwwRACcDt8A cdzEDdOjg40sgXcqj0eM8ZQ= =PHMz -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From revdan at danshafer.com Fri Apr 15 14:58:31 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 15 Apr 2005 11:58:31 -0700 Subject: Handling updates In-Reply-To: <20050415190413.233B593008A@mail.runrev.com> References: <20050415190413.233B593008A@mail.runrev.com> Message-ID: <8b20aa767cd49057a860512640d94d05@danshafer.com> Chipp Walters at Altuit has a really elegant solution to this problem. I'm sure he'll jump in when he visits the list next. >> OK, another newbie question. Once you install a program on >> someone's local machine for win/linux/mac that uses mysql or >> PG, do you typically notify them of patches to the engine or >> expect end users to be smart enough to go out and get the >> patches themselves? It doesn't seem likely that most end >> users would have any clue how to do this. So if I have a >> robust application that uses one of these databases, are >> people required to patch, or since it's a local install can >> you just toss a database file out there that will respond to >> sql queries like an access database where it's essentially >> just a file? (I don't suppose there's a hack to let access >> databases run on >> Mac/Linux???) >> >> Thanks, >> >> Oak ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From fde101 at fjrhome.net Fri Apr 15 15:00:18 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 15 Apr 2005 15:00:18 -0400 Subject: Socket Comm Sequence Issue In-Reply-To: <9cb3669b9a9b39248b165de89c231dd4@qldlearning.com> References: <9cb3669b9a9b39248b165de89c231dd4@qldlearning.com> Message-ID: <395ce2d8934f8c8bf1eb27fd7d2df3cc@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If app 1 launches app 2, app 2 should initiate the conversation, since app 1 should be ready to listen by the time it launches app 2, whereas app 1 would not know how long it was going to take app 2 to reach the point where it is listening. On Apr 15, 2005, at 2:15 PM, Brian Yennie wrote: >> When do you trigger "sendData"? When I put this into two stacks and >> open >> them, it puts them both into "accept" mode, but neither sends >> anything to >> the other. > > I was just triggering it from the message box, but it should work from > anywhere once both stacks are open. > >> What I'm trying to accomplish is that App 1 launches, it in turn >> launches >> App 2, and both of them are in a two-way communication session... >> >> Any suggestions on scripting the critical "who talks first" step? >> Because if >> someone talks before the other one is listening, you're hosed... > > Well, if App 1 is launching App 2, wouldn't App 1 do the first talking? > > Why are you hosed? I guess that's the crux- it shouldn't hose anything > (other than not being able to make the connection). Can you lower the > socketTimeoutInterval and have App 1 keep trying after it launches app > 2? > > Something like this maybe? The idea would be that either application > would look for the other when it was launched. If it was able to > connect, it knows it is application #2. Otherwise, if the connection > times out, it is app #1 and it launches application #2. In turn, that > second application should be able to connect back. If you set the > timeout value low and make asynchronous calls, it should be pretty > snappy. > > Is this along the right lines? > > global myAppNumber > > ## look for an existing application 1 and open our own listener > on openStack > lookForFirstApplication > accept connections on port 9000 with message "gotConnect" > end openStack > > ## try to connect to the other app > on lookForFirstApplication > set the socketTimeoutInterval to 5000 > open socket to port 8999 with message "foundApplication1" > end lookForFirstApplication > > ## found it, we must be app #2.. we could safely start talking after > this > on foundApplication1 s > close socket s > put 2 into myAppNumber > end foundApplication1 > > ## couldn't connect, so we must be application #1 > ## now launch the second app, which will connect back to us > on socketTimeout s > close socket s > put 1 into myAppNumber > launchApplication2 > end socketTimeout > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCYA9C7aqtWrR9cZoRAnl8AJ4jaw8T0Ivfm/a1AAdkSRb5PGA6dQCbBxPs 2/33xQlHEff1jO5InPffGNA= =OGFU -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From bvg at mac.com Fri Apr 15 15:03:27 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 15 Apr 2005 21:03:27 +0200 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: On Apr 15 2005, at 19:42, Ken Ray wrote: > When do you trigger "sendData"? When I put this into two stacks and > open > them, it puts them both into "accept" mode, but neither sends anything > to > the other. > > What I'm trying to accomplish is that App 1 launches, it in turn > launches > App 2, and both of them are in a two-way communication session... > > Any suggestions on scripting the critical "who talks first" step? > Because if > someone talks before the other one is listening, you're hosed... I suggest that the app that launches first is the one that makes the first call, that way it is simple to get communication going. With modifying brians example you could try this approach, where you see how both stacks communicate, but only one stack starts the connection. Note that you need to send an openStack to stack 2, and to start sending stuff send a sendData to stack 1 AFTER you did that. for further question you might want to join the chatrev, i can help you faster there! (See signature) --stack 1 script: ### open a new socket to be the sender of data on sendData open socket to "127.0.0.1:9000" with message "socketOpen" end sendData ### once the socket is open, send some data on socketOpen s put "Writing to socket"&&s write ("Hello my name is"&&(the long name of this stack))&cr to socket s with message "dataSent" end socketOpen ### once the data is sent, read for a reply on dataSent s,d read from socket s for 1 line with message "gotReply" end dataSent ### display the confirmation message on gotReply s,d answer d end gotReply --stack 2 script: ### accept connections immediately on openStack accept connections on port 8999 with message "gotConnect" end openStack ### receive a new connection and begin reading data from it on gotConnect s read from socket s for 1 line with message "gotData" end gotConnect ### got the data, report it and send confirmation back on gotData s,d answer "Application 1 says:"&&d write "OK"&cr to socket s close socket s end gotData -- official ChatRev page: http://chatrev.cjb.net Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From briany at qldlearning.com Fri Apr 15 15:07:56 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 15 Apr 2005 12:07:56 -0700 Subject: Socket Comm Sequence Issue In-Reply-To: <395ce2d8934f8c8bf1eb27fd7d2df3cc@fjrhome.net> References: <9cb3669b9a9b39248b165de89c231dd4@qldlearning.com> <395ce2d8934f8c8bf1eb27fd7d2df3cc@fjrhome.net> Message-ID: <28db2ab4e8a1bcd4a0b065f201fa9e72@qldlearning.com> Yup! I said it backwards, but coded it out that way... =). The only extra trick is if you don't know whether you are App #1 or App #2. But then, just try to be Application #2 (by talking), and if the connect fails, you're #1 (and so launch #2)... > If app 1 launches app 2, app 2 should initiate the conversation, since > app 1 should be ready to listen by the time it launches app 2, whereas > app 1 would not know how long it was going to take app 2 to reach the > point where it is listening. From fde101 at fjrhome.net Fri Apr 15 15:15:09 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 15 Apr 2005 15:15:09 -0400 Subject: Mac compatible DB's In-Reply-To: References: <001f01c541d7$b257a6b0$3f00180a@keithbartonlaw.com> Message-ID: <9d5d1630fd142f432d0df7ea43441700@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yep, I have PostgreSQL installed here under Windoze, OS X, and Linux. No probs. Check the FAQ for PostgreSQL, section 1.3: Almost any UNIX platform (OS X is one of these, like it or not -- I like it), NT-based Windows OSes (9x via Cygwin only), plus ports for Netware and OS/2... It gets around. See http://www.postgresql.org/about/casestudies/ for some info about just a few companies using PostgreSQL for production work. Another interesting open source database is Firebird, but its compatibility is a bit more limited (Windows and Linux only): http://firebird.sourceforge.net You can also get Ingres for Windows, Linux, and Solaris: http://opensource.ca.com/projects/ingres I wonder how hard it would be to get one of these DBs ported to OS X, since they are both open source, both run under Linux (and Ingres under Solaris as well)... Doesn't really matter at this point, as we have PostgreSQL, and Rev doesn't have a RevDB driver for either Firebird or Ingres. Hmm. On Apr 15, 2005, at 1:40 PM, Pierre Sahores wrote: > PG is fully Mac OS X (no Mac OS 9) compatible. You can get its best > installer from > > Le 15 avr. 05, ? 18:25, Oak Norton a ?crit : > >> Having looked at Postgresql's site, it doesn't look like it's Mac >> compatible, but MySQL is. So if you're doing cross platform >> development and >> want 1 database to be covered by Win, Linux, Mac, is there another >> option >> besides MySql? >> >> Thanks, >> >> Oak >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCYBK+7aqtWrR9cZoRApC9AKCHMgOSB+ZNfPSQzyEB+gksswWApgCcDvP1 smuOYOHi9+hQGs8TBCYed7E= =J73d -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From b.xavier at internet.lu Fri Apr 15 15:22:08 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 15 Apr 2005 21:22:08 +0200 Subject: Handling updates In-Reply-To: Message-ID: <20050415193451.A8B1F93008C@mail.runrev.com> i might add the phpnuke method... when you decide to upgrade a php sql web page (compared to a stack script) updates first your database structure and injects or deletes the data so it's ready for the next version... It's quite handy. In my case, where I can't reach my php server via rev sql calls, I use phpmyadmin as intermidiary. Copy paste though... But Rev generate the sql quite quickly and puts it in my clipbaord in one click... so it's a no brainer for lame cases like mine... Should it be constant, i'd use the phpnuke method... and incremental or alternative set of objects for each subsequent version (where different clients have different versions). With incremental objects you can downgrade if something goes wrong. Storage might be an issue though. And you might not want to trade that for the possibility to downgrade later... Another possibility is to ensure that outdated clients should update when they dont match the sql data to engine/structure version... I read across the lines but I dont think im way off the line... For my stacks i just use a simple text file with a text table... no need for anything complicated... This tells the user he has the latest version or not. I find that most convenient. Cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Frank D. Engel, Jr. > Sent: Friday, April 15, 2005 20:57 > To: How to use Revolution > Subject: Re: Handling updates > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > This is more a matter for the people behind the database > server you choose. > > I know for PostgreSQL, however, that a single database may > consist of many files with names which may not be extremely > obvious. The files may not be compatible with future > versions of the database engine, so if updating the database, > you may need to backup the database before starting (dump > it), then restore it after the upgrade. > > Additionally, with any database server like this, you should > *never* try to access the files directly while the server is > (or might be) running, due to the possibility of corrupted data. > > > On Apr 15, 2005, at 2:14 PM, Oak Norton wrote: > > > OK, another newbie question. Once you install a program on > someone's > > local machine for win/linux/mac that uses mysql or PG, do you > > typically notify them of patches to the engine or expect > end users to > > be smart enough to go out and get the patches themselves? > It doesn't > > seem likely that most end users would have any clue how to > do this. > > So if I have a robust application that uses one of these databases, > > are people required to patch, or since it's a local install can you > > just toss a database file out there that will respond to > sql queries > > like an access database where it's essentially just a file? > (I don't > > suppose there's a hack to let access databases run on > > Mac/Linux???) > > > > Thanks, > > > > Oak > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only > begotten Son, that whosoever believeth in him should not > perish, but have everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCYA5w7aqtWrR9cZoRAg8pAJsE0ADREJbDMpO0zMDku8T2/zwwRACcDt8A > cdzEDdOjg40sgXcqj0eM8ZQ= > =PHMz > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlist at cableone.net Fri Apr 15 15:25:43 2005 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 15 Apr 2005 13:25:43 -0600 Subject: Mac compatible DB's In-Reply-To: <9d5d1630fd142f432d0df7ea43441700@fjrhome.net> Message-ID: <1113593903_14062@S4.cableone.net> Here's a question. Is PostgreSQL supported on OS 9 as a client? In other words, can a Rev app running under OS 9 connect to a PostgreSQL db on a server? Chris Sheffield Read Naturally The Fluency Company www.readnaturally.com -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. Engel, Jr. Sent: Friday, April 15, 2005 1:15 PM To: How to use Revolution Subject: Re: Mac compatible DB's -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yep, I have PostgreSQL installed here under Windoze, OS X, and Linux. No probs. Check the FAQ for PostgreSQL, section 1.3: Almost any UNIX platform (OS X is one of these, like it or not -- I like it), NT-based Windows OSes (9x via Cygwin only), plus ports for Netware and OS/2... It gets around. See http://www.postgresql.org/about/casestudies/ for some info about just a few companies using PostgreSQL for production work. Another interesting open source database is Firebird, but its compatibility is a bit more limited (Windows and Linux only): http://firebird.sourceforge.net You can also get Ingres for Windows, Linux, and Solaris: http://opensource.ca.com/projects/ingres I wonder how hard it would be to get one of these DBs ported to OS X, since they are both open source, both run under Linux (and Ingres under Solaris as well)... Doesn't really matter at this point, as we have PostgreSQL, and Rev doesn't have a RevDB driver for either Firebird or Ingres. Hmm. On Apr 15, 2005, at 1:40 PM, Pierre Sahores wrote: > PG is fully Mac OS X (no Mac OS 9) compatible. You can get its best > installer from > > Le 15 avr. 05, ? 18:25, Oak Norton a ?crit : > >> Having looked at Postgresql's site, it doesn't look like it's Mac >> compatible, but MySQL is. So if you're doing cross platform >> development and >> want 1 database to be covered by Win, Linux, Mac, is there another >> option >> besides MySql? >> >> Thanks, >> >> Oak >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCYBK+7aqtWrR9cZoRApC9AKCHMgOSB+ZNfPSQzyEB+gksswWApgCcDvP1 smuOYOHi9+hQGs8TBCYed7E= =J73d -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 4/14/2005 From jbv.silences at Club-Internet.fr Fri Apr 15 15:44:04 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 15 Apr 2005 21:44:04 +0200 Subject: replaceText in Rev cgi Message-ID: <42601983.73B74C72@Club-Internet.fr> Hi all, I just noticed that the replaceText function doesn't work in Rev 2.5 cgi Linux... Is there a rational explanation to this ? JB PS : I just finished a cgi script that generates on the fly PDF files (from 1 to 30 pages) with complex layouts featuring data from a MySQL DB, and it takes less than a fraction of a second... I'm so happy... :-) From alex at tweedly.net Fri Apr 15 15:52:58 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 15 Apr 2005 20:52:58 +0100 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: <42601B9A.6000705@tweedly.net> Ken Ray wrote: As others have said - the connections are bidirectional, so it's usually easiest to have one app which starts listening (i.e. accept connections") as soon as it starts up, and the other one simply opens a connection to it. So if you have the situation where there are exactly two app that need to talk to each other, then simply do this. If there can be more than 2 apps (or more than 2 instances of apps) where any 2 might need to talk for a while, then you'll need to the more complex "two-way" app style). I'll do an example of that later tonight; read on for the simple case. >On 4/15/05 8:29 AM, "Frank D. Engel, Jr." wrote: > > >>-----BEGIN PGP SIGNED MESSAGE----- >>Hash: SHA1 >> >>Sockets are already bidirectional, the trick is to know when which >>program should read data. Set up one to listen then connect from the >>other. >> >>It turns out that 'read from socket' can be used asynchronously. You >>can have the handler which executes as a callback trigger another read >>each time in order to set up pseudo-threading of a sort, allowing your >>program to offer bidirectional communication over a single socket. >>That should solve your problem. >> >> > >Can you show me an example? The reason I ask is that although I know I can >do a read (and sequential reads) after App 2 opens a connection with "open >socket", but the socket that it reads from is the same as the one that was >opened (127.0.0.1:59999 below), NOT the socket that is *created* by App 1's >"accept connections" (127.0.0.1:50013 below). > > It's somewhat confusing (until you get it, then it's obvious :-) :-) There is 1 (bi-directional) connection, but it has a different "name" on each end. Here's a snippet of code from "app 2" > -- open socket: > open socket to lHostPort with message "gotConnOpen" > end reStart > > on gotConnOpen pSocket > put "Success: opened" && psocket into line 1 of field "My Status" > read from socket pSocket until CR with message "gotPacket" > end gotConnOpen When the connection has successfully opened, the callback is called, and passed the name of the socket which just opened; this will in fact be the same as the name used in the "open socket" command. (It is passed to the callback because you may be opening multiple sockets simultaneously). app2 can read (or write) from (to) that same socket. In app1, you accept connections, and when the incoming connection arrives, the callback is given the name of a NEW socket. app1 can then read (write) from (to) this new socket. [So app1 is using the other name for the same connection] > -- accept incoming connections > put "Accepting connections on port 6000" into line 1 of field "My > Status" > accept connections on port 6000 with message "gotConn" > end reStart > > function talkToApp2 pData > if lSock is empty then return false > write pData & CR to socket lSock > -- for simplicity, > -- wait until write is done (instead of using the callback) > -- ignore possibility we time-out > return true > end talkToApp2 > > on gotConn pSocket > -- this is not a classic "server" that wold accept multiple incoming > connections > -- it expects a single connection (from "app2") and rejects any > subsequent attempts > if lSock is not empty then > put "Attempted connection from" && pSocket && "rejected." > close socket pSocket > end if > put pSocket into lSock > read from socket lSock until CR with message "gotPacket" > end gotConn > > > on gotPacket pHostPort, pData, pSock > local tHostPort > > mylog "Packet arrived from" && pHostPort && "on my socket" && pSock > mylog " contents:" && pData > open datagram socket to pHostPort > write "reply with " & pData to socket pHostPort > read from socket pHostPort until CR with message "gotPacket" > end gotPacket The actual stacks are now on RevOnline, under my name (alextweedly) in category "Programming" with the imaginative names "TCP App 1" and "TCP App 2" If this still seems confusing - try (if possible) doing it on two different machines, and looking at the "opensockets" on each. And if it's still confusing - please ask more questions. -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From fde101 at fjrhome.net Fri Apr 15 15:53:06 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 15 Apr 2005 15:53:06 -0400 Subject: Mac compatible DB's In-Reply-To: <1113593903_14062@S4.cableone.net> References: <1113593903_14062@S4.cableone.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Not sure, but I don't think so. Could easily be wrong. On Apr 15, 2005, at 3:25 PM, Chris Sheffield wrote: > Here's a question. Is PostgreSQL supported on OS 9 as a client? In > other > words, can a Rev app running under OS 9 connect to a PostgreSQL db on a > server? > > Chris Sheffield > Read Naturally > The Fluency Company > www.readnaturally.com > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. > Engel, Jr. > Sent: Friday, April 15, 2005 1:15 PM > To: How to use Revolution > Subject: Re: Mac compatible DB's > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Yep, I have PostgreSQL installed here under Windoze, OS X, and Linux. > No probs. > > Check the FAQ for PostgreSQL, section 1.3: > > Almost any UNIX platform (OS X is one of these, like it or not -- I > like it), NT-based Windows OSes (9x via Cygwin only), plus ports for > Netware and OS/2... > > It gets around. See http://www.postgresql.org/about/casestudies/ for > some info about just a few companies using PostgreSQL for production > work. > > > > Another interesting open source database is Firebird, but its > compatibility is a bit more limited (Windows and Linux only): > http://firebird.sourceforge.net > > You can also get Ingres for Windows, Linux, and Solaris: > http://opensource.ca.com/projects/ingres > > I wonder how hard it would be to get one of these DBs ported to OS X, > since they are both open source, both run under Linux (and Ingres under > Solaris as well)... > > Doesn't really matter at this point, as we have PostgreSQL, and Rev > doesn't have a RevDB driver for either Firebird or Ingres. Hmm. > > On Apr 15, 2005, at 1:40 PM, Pierre Sahores wrote: > >> PG is fully Mac OS X (no Mac OS 9) compatible. You can get its best >> installer from >> >> Le 15 avr. 05, ? 18:25, Oak Norton a ?crit : >> >>> Having looked at Postgresql's site, it doesn't look like it's Mac >>> compatible, but MySQL is. So if you're doing cross platform >>> development and >>> want 1 database to be covered by Win, Linux, Mac, is there another >>> option >>> besides MySql? >>> >>> Thanks, >>> >>> Oak >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCYBK+7aqtWrR9cZoRApC9AKCHMgOSB+ZNfPSQzyEB+gksswWApgCcDvP1 > smuOYOHi9+hQGs8TBCYed7E= > =J73d > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.11 - Release Date: 4/14/2005 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCYBuj7aqtWrR9cZoRAvJkAJwJcMKraPI1FIXfcaiZze5Iw8hBYgCeJ7QM ZhpWs4TOUmWPQXhXfb9LafM= =1KtA -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From chipp at chipp.com Fri Apr 15 15:58:28 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 15 Apr 2005 14:58:28 -0500 Subject: Database choosing In-Reply-To: <004e01c54122$c51e2db0$6501a8c0@oak2700main> References: <004e01c54122$c51e2db0$6501a8c0@oak2700main> Message-ID: <42601CE4.4020406@chipp.com> Hello Oak, We're ready to release SQLite for Revolution including Mac/PC/Linux. Contact me offlist if you'd like to see the demo/tutorial. It's by far the easiest database to install and configure. In fact, the demo installs it for you :-) best, Chipp Walters Altuit,Inc. Oak Norton wrote: > Hello all, I'm a total newbie to Revolution and I have limited programming > experience. I'm one of those people I read about in a recent post that > needs a solution so I figure out how to program it for myself. My > experience has mostly been with cold fusion and MS-SQL/Access. I've been > leaning toward MySQL for a cross-platform project, but from the posts on > this board I'm just about ready to look at PostgreSQL. I know there's some > differences between all the SQL's but don't know much about what they are. > In the example below I see a bit of code which illustrated that point and > just worries me a tad because I find Access invaluable to build queries > quickly and test them out and if I didn't have to change the code at all, > that would be a big plus. So which of the sql flavors is closest to MSSQL > and will go cross-platform? > > Thanks, > > Oak From dsc at swcp.com Fri Apr 15 16:11:34 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 15 Apr 2005 14:11:34 -0600 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: <84fb9b6b0c02c238dead8622a1fc71f7@swcp.com> On Apr 15, 2005, at 12:43 AM, Ken Ray wrote: > I'm trying to get two apps to talk to each other over sockets on OS X, > which > means that both apps need to be in "listening" mode as well as > "speaking" > mode. There are two approaches you might take. One is to announce an "error" when you cannot connect. The other is a "tenacious" approach that I often use. In this, there are no fatal errors, only "not ready" states. This is also handy in replacing a live application with another. The "tenacious" approach has a top level "open" that simply states the need for a connection underneath. That can be closed. The machinery underneath keeps trying to open until it is open (think send-in-time). If the connection is closed by the other end, it go back to the open trying mode. You might try this every few seconds. The channel would have a state that is "not ready" or whatever at times. You might have a light on the panel that indicates this. (If you try this with UDP on Windows, you will need to make sure your delays between tries are not too short or you will get errors from previous tries.) Do the same with the listening. It can be tenacious, too. What if the net is down or an earlier version has that port? Here is the key. With tenacity, once the state of the system is right, no matter what order things happened to get there, things work. I use this in distributed unattended systems that must keep going. My apps can't quit just because of some hiccup. And they can't stop working and display some dialog box and assume an operator will fix things or call me. > Stack 2 (listens on 60000, sends on 59999): Listen > Stack 1 (listens on 59999, sends on 60000): Listen > Stack 2 (listens on 60000, sends on 59999): Connect > Stack 1 (listens on 59999, sends on 60000): Connect > OpenSockets: > 60000 > 59999 > 127.0.0.1:59999 > 127.0.0.1:50321 > 127.0.0.1:60000 > 127.0.0.1:50322 > > I also don't understand where these other sockets are coming from... You don't really chose what socket you are opening from in Revolution sockets. If you open a socket to port 12345 on the remote (which could be local), the TCP system will assign a port for your end. There is nothing wrong with your crisscross (scissors) link. It is a great way to allow symmetrical communication among peers. However, sometimes (often because of firewalls), there must be a directed TCP connection. I think you can generalize the tenacity approach to that. Or, make that directed connection a VPN link or a SSH tunnel outside your app. If the computers do a server-client relationship, I don't think you would normally want the two connections. Remember that all stuff for one end should be in the same script, that is, in the script for one object. That would apply to each half of your end, but it might be easier to combine them. Use little red/green indicators. They make you smile when things work. Well, they make me smile, but I am easily pleased. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From gjbalzano at ucsd.edu Fri Apr 15 16:19:01 2005 From: gjbalzano at ucsd.edu (Jerry Balzano) Date: Fri, 15 Apr 2005 13:19:01 -0700 Subject: "Masters Work Screens" (was Re: BZ 2138 (was Re: ANN: BreakpointNavigator Plugin release)) In-Reply-To: <425E3309.4090205@chipp.com> References: <3f3792e3ed7e95e3bb9b714f97284516@wanadoo.fr> <425D233A.3020307@tweedly.net> <425E3309.4090205@chipp.com> Message-ID: <9B532866-ADEB-11D9-8F3E-000393DBD07E@ucsd.edu> Chipp, I really like this idea. (In fact, I think the prospect of it happening at RevConWest has just tipped the balance in favor of my going.) I think an audience of learners (and we are all that, yes?) can get so much more out of a demonstration/description of a well-thought-out, natural-selectionally-evolved work environment as we are likely to find with experienced Rev users, than a mere set of (even clearly explained and cleverly rendered) "tips and tricks". SO much better than a description of "umm, here, this button does this, and this menu does that, and this bit of XScript does that .... The work-screen/work-environment hook provides an organization and a mnemonic for a potentially vast amount of useful information (IMHO). Do it! Best, Jerry On Apr 14, 2005, at 2:08 AM, Chipp Walters wrote: > Jerry Balzano wrote: > >> Perhaps I'll be in the minority on this issue too, like I was on Dan >> reporting on "third party" products and plugins (Dan, you never >> addressed the "looking over D Shafer's shoulder" mindset that I would >> think you'd welcome on the part of potential readers; omitting >> third-party products that you use all the time would at best weaken >> this possibility and at worst mislead ... end parenthetical). But I >> thought I'd try nonetheless, both on this specific bug#2138 and on >> the general "get out the vote" aesthetic. >> Not despairing yet, >> Jerry > > Hi Jerry, > > Last year at the Rev Masters Summit, we showed a number of interfaces > from different users. Perhaps we should consider doing the same at > RevCon West. IOW, showing the 'work screens' from many different > developers with explanations.. > > best, > > Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Fri Apr 15 16:26:04 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 15 Apr 2005 15:26:04 -0500 Subject: Handling updates In-Reply-To: <003a01c541e7$012bb6a0$3f00180a@keithbartonlaw.com> References: <003a01c541e7$012bb6a0$3f00180a@keithbartonlaw.com> Message-ID: <4260235C.1020703@chipp.com> Hi Oak, As I mentioned previously, SQLite is perfect for this type of project. It is virtually a zero-free maintenance database and updating it is as simple as updating the connector/engine file (1 file)- though it shouldn't need updating. Our demo stack automatically checks to see if you have the latest update, and downloads it if you don't. You don't even have to restart Revolution after downloading the update. best, Chipp Oak Norton wrote: > OK, another newbie question. Once you install a program on someone's local > machine for win/linux/mac that uses mysql or PG, do you typically notify > them of patches to the engine or expect end users to be smart enough to go > out and get the patches themselves? It doesn't seem likely that most end > users would have any clue how to do this. So if I have a robust application > that uses one of these databases, are people required to patch, or since > it's a local install can you just toss a database file out there that will > respond to sql queries like an access database where it's essentially just a > file? (I don't suppose there's a hack to let access databases run on > Mac/Linux???) > > Thanks, > > Oak > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From gjbalzano at ucsd.edu Fri Apr 15 16:42:30 2005 From: gjbalzano at ucsd.edu (Jerry Balzano) Date: Fri, 15 Apr 2005 13:42:30 -0700 Subject: Debugging Mousy Scripts In-Reply-To: References: Message-ID: Hey Revpeople, I am having a devil of a time with debugging a set of handlers that do a variety of intricate things on mouseMove and mouseWithin. How do the Experts debug these sorts of beasts? The problem, of course, is that viewing the execution of the script in the debugger AND carrying out the user activities that the script is handling seem fundamentally incompatible. So what does one do here? (I'll vote prematurely to include something on this topic in the RevConWest proceedings, as I just registered and haven't received an email of proposed topics yet....) Thanks, Jerry From ambassador at fourthworld.com Fri Apr 15 17:53:59 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Apr 2005 14:53:59 -0700 Subject: Debugging Mousy Scripts In-Reply-To: References: Message-ID: <426037F7.5000707@fourthworld.com> Jerry Balzano wrote: > Hey Revpeople, > > I am having a devil of a time with debugging a set of handlers that do a > variety of intricate things on mouseMove and mouseWithin. How do the > Experts debug these sorts of beasts? I use a lot of "put" statements. With things like this, dependent as they are on the specific states of user interactions, I've found no more graceful alternative to let me follow what's happening..... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From stephenREVOLUTION at barncard.com Fri Apr 15 17:56:31 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 15 Apr 2005 14:56:31 -0700 Subject: Mac compatible DB's Message-ID: Oak, have you considered using an ISP-based version of MySQL? Many providers today offer MySQL, shell access, FTP, huge email account limits, php, perl, python, linux and an easy to configure control panel. I've set up and maintained servers and the idea sounds neat - hosting your on machine, but I'll tell you with the bandwidth and quality available now for cheap it can't be beat. I think they're getting ready to offer Postgres as well soon. Then you know your app will work anywhere, and clients can use it in tests with the same settings.. One of the best I've used (and now I am hosting over 10 sites there) is Dreamhost. For less than 10 bucks a month you get a great tool, and they have even more diskspace and domains hosted for $20/month. I don't have to hassle with installation, and setting up an account is a breeze. Also a great free Mac MySQL client is CocoaMySQL.... By the way, my hat is definitely tipped toward Trevor Devore and his gift to us: the library stack "lib.bmm.database". The two stacks and SQL code will help you get to your AHA moment with SQL and rev..... thanks Trevor -- I am migrating a card/background based Hypercard stack to a client-server one. And the libraries got me off to a great start. So, right now, MySQL works GREAT for me - the only need I'd have for PostGres would be if I needed to create stored procedures. But for 99% of database work, MySQL is stable and fast. >Having looked at Postgresql's site, it doesn't look like it's Mac >compatible, but MySQL is. So if you're doing cross platform development and >want 1 database to be covered by Win, Linux, Mac, is there another option >besides MySql? > >Thanks, > >Oak From dsc at swcp.com Fri Apr 15 18:13:29 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 15 Apr 2005 16:13:29 -0600 Subject: Debugging Mousy Scripts In-Reply-To: <426037F7.5000707@fourthworld.com> References: <426037F7.5000707@fourthworld.com> Message-ID: <04f2fcf322ebdae10e974ce9d2a3d01c@swcp.com> On Apr 15, 2005, at 3:53 PM, Richard Gaskin wrote: >> I am having a devil of a time with debugging a set of handlers that >> do a variety of intricate things on mouseMove and mouseWithin. How >> do the Experts debug these sorts of beasts? > > I use a lot of "put" statements. Me, too. One can also make a log command that you can embellish as needed to, say, include ms since the last event, combine a series of events and so on. If writing to the message box or a test field interferes too much, I write to a global and then dump that to a field. If the log needs to be realtime, include unlock screen. Dar Scott A pig's gotta fly. From mfstuart at cox.net Fri Apr 15 18:19:49 2005 From: mfstuart at cox.net (mfstuart at cox.net) Date: Fri, 15 Apr 2005 18:19:49 -0400 Subject: Mac compatible DB's Message-ID: <20050415221948.ZGZZ13104.fed1rmmtao07.cox.net@smtp.west.cox.net> Hi Mac OSX 10.2 PostgreSQL developers... A work colleague just gave me this site to check out... http://www.entropy.ch/software/macosx/postgresql/ I don't work/develop on the Mac, but he seems to think that this will help with the installation of PostgreSQL on the Mac OSX. Mark From ambassador at fourthworld.com Fri Apr 15 18:25:37 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Apr 2005 15:25:37 -0700 Subject: [OT] Internet stats Message-ID: <42603F61.1050905@fourthworld.com> For those of you building or doing market research on net apps, here's an interesting page showing number of people online globally year by year: Also of interest is this link on that page, showing the 2005 breakdown by continent: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From webmaster at dreamscapesoftware.com Fri Apr 15 18:40:24 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 15 Apr 2005 17:40:24 -0500 Subject: ANN: JPEGCompress 2.6.1 and HTMLtoCSS 1.0 Message-ID: <426042D8.3020201@dreamscapesoftware.com> This is just a friendly announcement that I've released a bug fix to JPEGCompress and it is now available for download from the Dreamscape Software Web Site ( http://www.dreamscapesoftware.com/ ). I've also decided that I will begin to offer up some of the scripts that I have been working on. First up is HTMLtoCSS 1.0 It's a simple function that translates the htmlText from Revolution fields to a CSS compatible format. It's nothing special, just something I felt I should share with everyone (you know, just in case someone needs to do the same thing). I'm always available for questions, comments and constructive criticism, so please, feel free to let me know if you have any. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.6.1 http://www.dreamscapesoftware.com/ From ambassador at fourthworld.com Fri Apr 15 18:41:52 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Apr 2005 15:41:52 -0700 Subject: Rev related web pages In-Reply-To: <8bdc4c1c8b7035bd42878f9610c7a323@sosmartsoftware.com> References: <8bdc4c1c8b7035bd42878f9610c7a323@sosmartsoftware.com> Message-ID: <42604330.5040408@fourthworld.com> This thread seems like a good time for your quarterly reminder about Open Directory and VersionTracker: Open Directory -------------- There's a page for Transcript in Open Directory: Open Directory (aka DMOZ) is the world's largest hand-edited directory, syndicated at thousands of other sites and helps feed Google, Inktomi, and most other major search engines. If you have a web page related to Revolution please add it to that page -- there' a "suggest URL" link at the top. It only takes a minute to do, and helps ensure that Open Directory will be not only the most popular listing of Rev stuff, but also the most complete. Of the many dozens of Rev sites I come across, so far only 19 are listed in Open Directory. VersionTracker -------------- VersionTracker is one of the most popular sites for downloading new software. Unlike a lot of their competitors, VersionTracker remains completely free for developers to list their stuff, and they allow submissions of plugins and add-ons for any product they have listed there, including Revolution. You can see the Rev stuff already posted by searching for "revolution" -- here it is for the Windows section: And for OS X: Getting set up as a developer there takes only a couple minutes, and it easy to do -- start here: If you have any questions they have a friendly and helpful staff who have been very responsive the few times I've ever needed to contact them. Taking advantage of these resources will not only help your work reach more people, but it also reflects well on RunRev by showing the world the true size of the large and growing community of Revolution developers. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From stephenREVOLUTION at barncard.com Fri Apr 15 18:45:06 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 15 Apr 2005 15:45:06 -0700 Subject: RevCon West Tourist Activities Message-ID: And correct me if I'm wrong, Richard, but isn't your office fairly near the old LA Train station near Chinatown? Pretty damn convenient. ALMOST like Europe... (I wish...) sqb >The one thing to remember about travelling on the Coast Starlight is >that it's notoriously late. Passengers are second-class citizens on >America's rails, after freight. So anytime there's a scheduling >conflict on a track it's the Coast Starlight that pulls over on the >nearest passing track and waits for the other train to go by. > >So as long as you don't plan anything time-sensitive after your >arrival you should have a pleasant trip. > >-- > Richard Gaskin From kaveh at river-valley.com Fri Apr 15 19:30:33 2005 From: kaveh at river-valley.com (Kaveh Bazargan) Date: Sat, 16 Apr 2005 00:30:33 +0100 Subject: Negative numbers in option menu In-Reply-To: References: Message-ID: I have an option menu button containing a series of numbers for the option, including negative numbers. These numbers show fine when I inspect the "text" of the button, I see these including the negative numbers. But when I use the button, all the negative numbers come out as blank spaces. Can I use negative numbers in option menus? -- Kaveh Bazargan http://www.river-valley.com/ http://www.holographer.org/ From kgjaqua1 at sbcglobal.net Fri Apr 15 19:45:43 2005 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Fri, 15 Apr 2005 16:45:43 -0700 (PDT) Subject: Card Group Label Names Message-ID: <20050415234543.47633.qmail@web81110.mail.yahoo.com> Hi y'all (I am having some Browser problems. I hope this is not a repeat.) I need a list of "the labels" of the groups of a card whose background behavior is set to false: I got as far as the following script: put the groupNames of card 1 into groupsToShow answer groupsToShow And, of course I get the group id of both background and card groups. So an hour later (Did I mention I was blond;) I decided to ask the following on line: How do I get the Labels of just the card groups? Thanks Kathy Graves Jaqua A Wildest Dream Software kgjaqua1 at sbcglobal.net From revolution at jaedworks.com Fri Apr 15 19:51:30 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 15 Apr 2005 16:51:30 -0700 Subject: Negative numbers in option menu In-Reply-To: References: Message-ID: At 12:30 AM +0100 4/16/05, Kaveh Bazargan wrote: >I have an option menu button containing a series of numbers for the option, >including negative numbers. These numbers show fine when I inspect the >"text" of the button, I see these including the negative numbers. But when >I use the button, all the negative numbers come out as blank spaces. Can I >use negative numbers in option menus? A leading dash is used to create a menu separator in option menus. (On some versions of OS X, the separator looks like a blank space.) The simplest way to work around this is probably to put a leading space in front of the negative numbers (or in front of all the menu items, for consistent appearance). If this is a Mac-only app, or if you're willing to do the bit of extra work to deal with high-ASCII characters cross-platform, you could instead use an n-dash (option-dash) to indicate a negative. The n-dash doesn't create a separator. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From kaveh at river-valley.com Fri Apr 15 19:57:07 2005 From: kaveh at river-valley.com (Kaveh Bazargan) Date: Sat, 16 Apr 2005 00:57:07 +0100 Subject: Negative numbers in option menu In-Reply-To: References: Message-ID: At 4:51 pm -0700 15/4/05, Jeanne A. E. DeVoto wrote: [...] >A leading dash is used to create a menu separator in option menus. >(On some versions of OS X, the separator looks like a blank space.) > >The simplest way to work around this is probably to put a leading >space in front of the negative numbers (or in front of all the menu >items, for consistent appearance). > >If this is a Mac-only app, or if you're willing to do the bit of >extra work to deal with high-ASCII characters cross-platform, you >could instead use an n-dash (option-dash) to indicate a negative. The >n-dash doesn't create a separator. Wow. Thanks for the prompt reply. Putting the space fixed it. Now, while I am at it, is there an easy way of right justifying the numbers? I could pad them out I suppose. -- Kaveh Bazargan http://www.river-valley.com/ http://www.holographer.org/ From jhurley at infostations.com Fri Apr 15 20:28:06 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 15 Apr 2005 17:28:06 -0700 Subject: ANN Getting Nine digit zip codes In-Reply-To: <20050415153808.3C6EE930103@mail.runrev.com> References: <20050415153808.3C6EE930103@mail.runrev.com> Message-ID: > >Message: 16 >Date: Fri, 15 Apr 2005 10:16:06 -0500 >From: Ken Ray >Subject: Re: ANN Getting Nine digit zip codes >To: Use Revolution List >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >On 4/15/05 8:07 AM, "Jim Hurley" wrote: > >> My thanks to all who have taken the time to take the time, i.e. >> report the time to run Getting bar codes. >> >> It looks like this is quite viable for large DB, if one has broad >> band--or patience. > >If you want something faster, you can always download a static Zip Code DB - >there are many out there, even some that have subscriptions. Here's a free >one: > >http://www.thedigitalmapstore.com/Free_Stuff/ZIP_Code_Database/zip_code_data >base.html > >HTH, > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com Ken, Definitely interested. Does this give the nine digit code? I got an error message from your line: "404 not found." Now that's cryptic. I did find some zip codes at http://www.thedigitalmapstore.com/Free_Stuff/ZIP_Code_Database/ They appear to be the 5 digit codes. What I'm trying to do is generate some barcodes for my neighborhood association to cut mailing costs, so I already have the 5 digit codes. But to get USPS pre-sorted discount I need to get the expanded code from 5 digit code to the nine digit code from the USPS web site. Using Run Rev's "post" to myAddreessesAnd5digitZipCodes to the USPS url I get the 9 digit zip for each 5 digit zip. Fortunately I only need to do this once so the speed is not so important. I've got the barcode font now and it looks like I can produce the barcoded labels within Run Rev. (A little anxious about the printing precision required to print labels.) There is some coding to get the barcode. You need to add the last two letters of the address to the zip and a checksum at the end. Pretty simple. I think this sort of thing might be generally useful. There are lots of services that do this, and lots of software, but at a price. But who needs them? We have Run Rev. A TOOL FOR ALL SEASONS! Jim From briany at qldlearning.com Fri Apr 15 20:38:22 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 15 Apr 2005 17:38:22 -0700 Subject: Card Group Label Names In-Reply-To: <20050415234543.47633.qmail@web81110.mail.yahoo.com> References: <20050415234543.47633.qmail@web81110.mail.yahoo.com> Message-ID: Kathy, How about something like this: put the groupNames into allGroups put the backgroundNames into backgroundGroups put empty into cardGroups repeat for each line groupName in allGroups if (groupName is not among the lines of backgroundGroups) then put groupName&return after cardGroups end if end repeat delete last char of cardGroups answer cardGroups HTH, Brian > Hi y'all > (I am having some Browser problems. I hope this is not > a repeat.) > > I need a list of "the labels" of the groups of a card > whose background behavior is set to false: > > I got as far as the following script: > > put the groupNames of card 1 into groupsToShow > answer groupsToShow > > And, of course I get the group id of both background > and card groups. > > So an hour later (Did I mention I was blond;) I > decided to ask the following on line: > > How do I get the Labels of just the card groups? > Thanks > > Kathy Graves Jaqua > A Wildest Dream Software > kgjaqua1 at sbcglobal.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jhurley at infostations.com Fri Apr 15 20:44:30 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 15 Apr 2005 17:44:30 -0700 Subject: use-revolution Digest, Vol 19, Issue 55 In-Reply-To: <20050415175627.1AD43930123@mail.runrev.com> References: <20050415175627.1AD43930123@mail.runrev.com> Message-ID: > Richard Gaskin wrote: > >I took the train from Los Angeles last year, and just yesterday made my >reservation for this year. > >When you make your reservation you can specify any of several stops in >Monterey, and they'll transfer you to a bus in Salinas for that last >leg. It's a brief bus ride (30-40 min?), and since it goes through some >of the heavily-wooded areas surrounding Monterey it's about as pleasant >as an Amtrak bus can be. > >The train on that route is the Coast Starlight, and while it's no Orient >Express it's not a bad train by US standards. There's an observation >car with great seating, a modest dining car, and many of the coach cars >have electrical outlets (but not all, so if you're travelling with your >laptop ask the attendant to get you a seat next to one). > >The one thing to remember about travelling on the Coast Starlight is >that it's notoriously late. Passengers are second-class citizens on >America's rails, after freight. So anytime there's a scheduling >conflict on a track it's the Coast Starlight that pulls over on the >nearest passing track and waits for the other train to go by. > >So as long as you don't plan anything time-sensitive after your arrival >you should have a pleasant trip. > >-- > Richard Gaskin Fourth World Media Corporation Thanks for all the good info Richard. I'll leave early. I enjoy the occasional train ride. Always hoping to run into Eva Marie Saint or Jill Clayburgh. Jim From alex at tweedly.net Fri Apr 15 21:09:20 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 16 Apr 2005 02:09:20 +0100 Subject: Socket Comm Sequence Issue In-Reply-To: References: Message-ID: <426065C0.7090800@tweedly.net> Ken Ray wrote: >I'm trying to get two apps to talk to each other over sockets on OS X, which >means that both apps need to be in "listening" mode as well as "speaking" >mode. The relevant code I'm using for testing this right now is shown below, >and doesn't trap for errors or messages that I'm not interested in: > > There have now been lots of replies with specific suggestions - hopefully Ken's now moving forward with his specific problem. I thought I'd step back and try to characterize the solution space for "peer" apps in a (relatively) general way. There are 3 main approaches to this problem, listed below in increasing order of generality and complexity. 1. Asymmetry Although the two apps need to be in both listening and speaking mode, that often doesn't require that both apps be in both modes for the purpose of creating a socket connection. Often, it is enough that either app can initiate exchanges over an already open socket. Advantages: - simplest - only uses up one fixed socket number - only ever opens one connection Disadvantages - needs one socket open all the time both apps are running Arbitrarily choose one of the two apps, and declare it to be the "listener". As soon as it starts up, it listens ("accept connection on socket N"). If it receives an incoming connection, it remembers the socket passed in the "accept" callback message. When it wishes to talk to the other app, it uses the socket remembered; if no socket has arrived via the accept callback, then the other app is unavailable. The "other" app is declared to be the "speaker"; as soon as it starts up, it tries to open a socket to the other app. If this fails, it sets a timer and retries; it must continue to retry periodically (tenaciously). If the socket is ever closed (either a socketerror, or socketclosed, or because this app is restarted), it must try to re-open the socket, and keep trying to do so. Once the connection is open, either side can start an exchange of data. This method CAN be used for the case where the "two apps" are actually different instances of the same application - but great care must be taken to handle the race condition where both instances time out (almost) simultaneously. An example of this case is in the "TCP App 1" and "TCP App 2" examples on RevOnline (though they skip the "tenacious retry" on opening a socket). 2.Crossed (paired, scissor) connections Each app uses a different socket, listens on one of them and connects on the other as needed. By convention, two adjacent numbered sockets are used - but there is NO meaning at all to the fact that they are adjacent numbers - it's only a convention, and it's only there to make it easier for people to remember and handle. app1 starts up, listens on a socket (e.g. 60000) and when it wants to speak to the other app, attempts to connect to the "other" socket (e.g. 59999). app2 does the same, except listens on 59999 and connects to 60000. Advantages: - either app can open a socket, conduct an exchange and close the socket again - no need to keep a connection open continuously Disadvantages: - uses two numbered sockets - doesn't extend well to multiple apps - can have two connections open There are many small variants within this overall approach. The most significant one is whether and how the two connections are used. The simplest approach is that each app is allowed to go ahead and open the connection to the other app; all data (including "replies") it wishes to send to the other app go over the connection it opened. Thus we have two (bidirectional) connections open,but each is being used in only one direction. A (usually) better approach is that once one of the connections is successfully opened, it (and the return socket discovered during the "accept" callback, are used. The second numbered connection never needs be opened (or if it is, can be closed again). A third method is for each connection to be opened when the app wishes to initiate a transaction - and that transaction is conducted over the connection opened for it, and the return socket discovered during the "accept". This is more complex, and has the cost of using both sockets bidirectionally. But it can have significant benefits in logging, testing and debugging simplicity, since each transaction can be observed independent of any simultaneous transaction initiated by the other side. An example of this (first variant) is in the "TCP App 3" and "TCP App 4" samples on RevOnline. 3.Symmetrical server mode. This is the easiest to say, but the hardest to do :-) Each app listens on the port; if the port is already in use, it chooses another one (by convention, the next higher numbered one), simply complains with an error. When the app wants to speak to another app, it tries to open a connection to it (and if that fails it may retry, or may try to open next higher numbered port(s) - app dependent). This is usually only done if there can be multiple apps that need to talk freely but intermittently with any of the other apps (and hence the paired socket numbers won't work), or for multiple instances of the same app, where there is no option to have each instance know a different port number ahead of time). If each app (or each instance of the app) is on a different machine, this all works fairly smoothly; but if there are, or can be, multiple instances on the same machine, this can get very tricky. Advantages: - most general - multiple (more than 2) apps can be handled Disadvantages: - complex - difficult to text and debug - complex - restrictions on multiple apps on same machine - complex Although it can become complex, if the suitable constraints can be put in place (e.g. if the port is in use when you try to listen on it, that is an unrecoverable error) the complexity can be kept under control. Many traditional servers fall into this category (e.g. web server, etc.). If these "suitable constraints" cannot be assumed, this is particularly difficult to do Rev, and probably shouldn't be tried unless you have gathered a lot of experience in this area. No example of this yet. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From soapdog at mac.com Fri Apr 15 21:17:04 2005 From: soapdog at mac.com (Andre Garzia) Date: Fri, 15 Apr 2005 22:17:04 -0300 Subject: Strange Google ad featuring Dreamcard as Python Gui. Message-ID: Hi Folks, I use gMail for some stuff and while I was browsing my mail for some language mailing list I noticed a weird thing. There was one Google Ad with the Title "Python Gui" and the URL http://dreamcard.runrev.com, I find that very disturbing. I took a shot and I am putting the shot online at http://www.soapdog.org/pythongui.jpg Okay we can build GUIs for python tools in Dreamcard, but thats not what dreamcard is all about, its like selling a car and adversing it as a "Rain Protector", of course the car will protect you from heavy rain, I trust you all understood the analogy (I am afraid of making analogies in foreign languages). Very weird indeed... andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From alex at tweedly.net Fri Apr 15 21:26:50 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 16 Apr 2005 02:26:50 +0100 Subject: Strange Google ad featuring Dreamcard as Python Gui. In-Reply-To: References: Message-ID: <426069DA.9030200@tweedly.net> Andre Garzia wrote: > Hi Folks, > > I use gMail for some stuff and while I was browsing my mail for some > language mailing list I noticed a weird thing. There was one Google Ad > with the Title "Python Gui" and the URL http://dreamcard.runrev.com, I > find that very disturbing. I took a shot and I am putting the shot > online at http://www.soapdog.org/pythongui.jpg > > Okay we can build GUIs for python tools in Dreamcard, but thats not > what dreamcard is all about, its like selling a car and adversing it > as a "Rain Protector", of course the car will protect you from heavy > rain, I trust you all understood the analogy (I am afraid of making > analogies in foreign languages). Yes, I've been seeing this (in Google searches related to Python) for a while (and Dan mentioned it on the list in the last couple of days). Sometimes I think it's a clever chance to catch potential users. Most of the time, I think it's more likely to piss people off when they realize they've been subjected to the advertising equivalent of "bait and switch". -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From alex at tweedly.net Fri Apr 15 21:27:14 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 16 Apr 2005 02:27:14 +0100 Subject: Uploading/Downloading stability In-Reply-To: <425F8BA4.40303@chipp.com> References: <9b3a0f2959d3fc4ae155543a71d566fe@major-k.de> <984eb9d6d5a22b59f4b0ec6e4e7b2b9f@together.net> <425F8BA4.40303@chipp.com> Message-ID: <426069F2.1020902@tweedly.net> Chipp Walters wrote: > That's an interesting problem. I think I would approach it on two > fronts: the server side and the client side. I'll describe the > download method, you would reverse for upload. > > On the server side, I would break-up the file into smaller > chunks..perhaps use a Rev CGI to do it. Just read the whole binary > file into memory, binhex it, break it up into 30K chunks, and gzip > those to a folder with a unique naming sequence. Then create a > checkSum for each file and store it in a small text file. > > Then I'd just do 'get URL' from RR, download the text file, read the > checksums and filenames, and begin to download one after the other, > making sure the checksums match. Once they're all downloaded, then > combine them, and spit out the final 2Mb file. > > Not all that hard, just tedious. For upload, you may need to use > multipart encoding. Or, if you're posting to a Rev CGI, you could do > it with simple form data. > All good advice - as is th suggestion to use ftp and take advantage of its built-in resume capability - but I'm not sure it's enough. > Richard said: > >> >> My Rev program needs to upload and download a file of roughly 2 MB in >> size 3-8 times every 30 minutes via a wireless connection. This >> wireless connection is through the built-in airport card in an IBook. >> Sometimes this connection is received via a wired DSL or cable modem >> (and wireless router), but sometimes it feeds off a Powerbook >> connected to the net via a Verizon 3G PCMCIA card (using Apple's >> Internet Sharing capabilities). > I don't know if you're quite "on the edge" here, but you must be somewhere close. wired DSL - let's guess you have 512k down and 128k up. With 512k (bits) down (especially with a wifi hop in the end-to-end path), you will likely only get 30Kb(ytes) to 40Kb overall download speed (with http). 2Mb @ 35Kb = approx 1 minute 8Mb @ 35Kb = approx 4 minutes BUT - on upload, speed is (guessed) to be only 1/4 of that, so 2Mb - 8Mb = 4 to 16 minutes. If you need to upload and download it - total of between 5 and 20 minutes. And you need to do it 3-8 time = 15 minutes best case, to 160 minutes worst case, every 30 minutes. I think you have a problem (even if there is no other use of that DSL line, and even if you don't lose a connection and need to repeat some fraction of a download). Now it's true, you can do one upload and one download simultaneously, with (if you're lucky) relatively little impact on each other - but that may or may not fit in with the logic of the app. And you probably won't "be lucky" - you'll almost certainly see some interference between an upload and download at the same time. So I think you should be looking at what can be done on each side (server and client) to reduce the data load - compression ? - recognize and trim out common data (i.e. does the entire 2Mb of data change each time ? can you do "delta" updates ?) - can you control the rate of download (i.e. is the "3-8" range in your control, or dictated by outside events) ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 From ambassador at fourthworld.com Fri Apr 15 21:45:50 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Apr 2005 18:45:50 -0700 Subject: Strange Google ad featuring Dreamcard as Python Gui. In-Reply-To: <426069DA.9030200@tweedly.net> References: <426069DA.9030200@tweedly.net> Message-ID: <42606E4E.8040905@fourthworld.com> Alex Tweedly wrote: > Andre Garzia wrote: >> I use gMail for some stuff and while I was browsing my mail for some >> language mailing list I noticed a weird thing. There was one Google Ad >> with the Title "Python Gui" and the URL http://dreamcard.runrev.com, I >> find that very disturbing. I took a shot and I am putting the shot >> online at http://www.soapdog.org/pythongui.jpg >> >> Okay we can build GUIs for python tools in Dreamcard, but thats not >> what dreamcard is all about, its like selling a car and adversing it >> as a "Rain Protector", of course the car will protect you from heavy >> rain, I trust you all understood the analogy (I am afraid of making >> analogies in foreign languages). > > Yes, I've been seeing this (in Google searches related to Python) for a > while (and Dan mentioned it on the list in the last couple of days). > > Sometimes I think it's a clever chance to catch potential users. > > Most of the time, I think it's more likely to piss people off when they > realize they've been subjected to the advertising equivalent of "bait > and switch". Meanwhile, "cross-platform development" yields 2,120,000 hits and has no Rev ad. ::sigh:: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From webmaster at dreamscapesoftware.com Fri Apr 15 22:32:09 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 15 Apr 2005 21:32:09 -0500 Subject: Making Externals with Visual C++ 2005 Express Message-ID: <42607929.5030106@dreamscapesoftware.com> Has anyone had success with building Externals with the new Microsoft Visual C++ 2005 Express Edition? Has anyone else used this program? Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.6.1 http://www.dreamscapesoftware.com/ From kray at sonsothunder.com Fri Apr 15 23:03:42 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 22:03:42 -0500 Subject: Socket Comm Sequence Issue In-Reply-To: <426065C0.7090800@tweedly.net> Message-ID: On 4/15/05 8:09 PM, "Alex Tweedly" wrote: > Ken Ray wrote: > >> I'm trying to get two apps to talk to each other over sockets on OS X, which >> means that both apps need to be in "listening" mode as well as "speaking" >> mode. The relevant code I'm using for testing this right now is shown below, >> and doesn't trap for errors or messages that I'm not interested in: >> >> > There have now been lots of replies with specific suggestions - > hopefully Ken's now moving forward with his specific problem. Alex, thanks for summarizing the options. I think the key to understanding everything (which was made known by examining your TCP App 1 and TCP App 2 examples) is: - The "listener" listens on a given port (like 6000) - The "speaker" sends to that same port (6000) - The "listener" then gets ANOTHER PORT for communication (like 51829) ... and then the main point: From that point on, the apps are able to talk to each other, but on DIFFERENT SOCKETS!! That is, the "listener" is reading and writing to the port returned from 'accept' (51829), and the "speaker" is reading and writing to the port that it opened to talk to the "listener" (6000). My mistake was assuming that the two apps would communicate on the SAME port and not different ones. Thanks to you and everyone else who contributed to getting this through my thick head... :-D Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revolution at jaedworks.com Fri Apr 15 23:19:17 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 15 Apr 2005 20:19:17 -0700 Subject: Negative numbers in option menu In-Reply-To: References: Message-ID: At 12:57 AM +0100 4/16/05, Kaveh Bazargan wrote: >Now, while I am at it, is there an easy way of right justifying the >numbers? I could pad them out I suppose. Padding with spaces is the only way for an option menu. The OS draws these menus, and it will only draw them left-aligned (if you're using a Roman alphabet system, anyway). -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From kray at sonsothunder.com Fri Apr 15 23:27:00 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 22:27:00 -0500 Subject: Socket Comm Followup - A couple of questions In-Reply-To: <426065C0.7090800@tweedly.net> Message-ID: A couple of questions for those who care about these kinds of things: 1) I noticed that in Alex's examples, after the "listener" gets the message fired off after the "accept" has been triggered, the "read from socket" command says "read from socket lSock until CR"... any reason to read only a line of data at a time? If I am sending over lots of data, what's the good/bad thing about reading it in all at once? 2) I noticed in the Rev docs under "open socket", there is a reference to an "ID" parameter that is "an optional connection name for the socket and can be any string", and has the example: open socket to "ftp.example.org:21|sendFiles" Has anyone used this? And if so (or if not), how *would* one use this? And does this form work with UDP as well as TCP? 3) When should one use UDP vs TCP? What are the ads/disads of each? Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From briany at qldlearning.com Fri Apr 15 23:49:54 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 15 Apr 2005 20:49:54 -0700 Subject: Socket Comm Followup - A couple of questions In-Reply-To: References: Message-ID: <040bd10f4800fad8c6fdca4c00791526@qldlearning.com> > 1) I noticed that in Alex's examples, after the "listener" gets the > message > fired off after the "accept" has been triggered, the "read from socket" > command says "read from socket lSock until CR"... any reason to read > only a > line of data at a time? If I am sending over lots of data, what's the > good/bad thing about reading it in all at once? As far as I know, the only thing to look out for is reading until empty. Myself, I gravitate towards reading one line first because a lot of protocols send headers in the first few lines. Often times, the contents of the first line(s) will determine how the remainder of the communication proceeds. But if you just need the whole block of data, I would say go ahead and read it- but make sure you either send the length of the data or use some sort of termination sequence, i.e. read from socket s for 1 line put it into tLength read from socket s for tLength put it into tData OR read from socket s until (myTerminationSequence) > 2) I noticed in the Rev docs under "open socket", there is a reference > to an > "ID" parameter that is "an optional connection name for the socket and > can > be any string", and has the example: > > open socket to "ftp.example.org:21|sendFiles" > > Has anyone used this? And if so (or if not), how *would* one use this? > And > does this form work with UDP as well as TCP? You can use this to make multiple client connections. For example, to download multiple files at the same time- as a browser or FTP program might. > > 3) When should one use UDP vs TCP? What are the ads/disads of each? I'll let someone else chime in here, I'm not well versed in UDP... From kray at sonsothunder.com Fri Apr 15 23:59:37 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 22:59:37 -0500 Subject: Socket Comm Followup - A couple of questions In-Reply-To: <040bd10f4800fad8c6fdca4c00791526@qldlearning.com> Message-ID: On 4/15/05 10:49 PM, "Brian Yennie" wrote: >> 1) I noticed that in Alex's examples, after the "listener" gets the >> message >> fired off after the "accept" has been triggered, the "read from socket" >> command says "read from socket lSock until CR"... any reason to read >> only a >> line of data at a time? If I am sending over lots of data, what's the >> good/bad thing about reading it in all at once? > > As far as I know, the only thing to look out for is reading until > empty. Myself, I gravitate towards reading one line first because a lot > of protocols send headers in the first few lines. Often times, the > contents of the first line(s) will determine how the remainder of the > communication proceeds. But if you just need the whole block of data, I > would say go ahead and read it- but make sure you either send the > length of the data or use some sort of termination sequence, i.e. > > read from socket s for 1 line > put it into tLength > read from socket s for tLength > put it into tData Thanks, Brian... that makes more sense. Or I would assume some mutually-agreed-upon termination character could work as well, right? >> 2) I noticed in the Rev docs under "open socket", there is a reference >> to an >> "ID" parameter that is "an optional connection name for the socket and >> can >> be any string", and has the example: >> >> open socket to "ftp.example.org:21|sendFiles" >> >> Has anyone used this? And if so (or if not), how *would* one use this? >> And >> does this form work with UDP as well as TCP? > > You can use this to make multiple client connections. For example, to > download multiple files at the same time- as a browser or FTP program > might. So would that mean that you could write to "ftp.example.org:21|sendFiles", right? And if you wanted to open another socket, you could do so to "ftp.example.org:21|anotherSocket" and write to "ftp.example.org:21|anotherSocket"? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From briany at qldlearning.com Sat Apr 16 00:09:35 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 15 Apr 2005 21:09:35 -0700 Subject: Socket Comm Followup - A couple of questions In-Reply-To: References: Message-ID: <2d158c96e3bc272cdf07bab56a23ca4e@qldlearning.com> > Thanks, Brian... that makes more sense. Or I would assume some > mutually-agreed-upon termination character could work as well, right? Yup. Technically, the length method is slightly more efficient (because it doesn't need to check each character coming in), but unless you're really squeaking performance I'd say go with what works for you. > So would that mean that you could write to > "ftp.example.org:21|sendFiles", > right? And if you wanted to open another socket, you could do so to > "ftp.example.org:21|anotherSocket" and write to > "ftp.example.org:21|anotherSocket"? Yup. I think in the last docs that I saw on this, the example was just with a numeral. For example, if you wanted to be able to open as many connections as you wanted to any server without worrying about trying to open the same socket twice, you could write a wrapper like: function openSocket s global gSocketCounter if (gSocketCounter is empty) then put 1 into gSocketCounter else add 1 to gSocketCounter put (s&"|"&gSocketCounter) into tSocket open socket to tSocket return tSocket end openSocket Then it would open sequential sockets, like: "ftp.example.org:21|1" "ftp.example.org:21|2" "ftp.example.org:21|3" Of course if you had specific tasks for each socket, the more verbose names might be useful for debugging. Note that you can't open more than one listener on the same port- you can just make more than one connection to a remote host. Sort of a one-server-to-many-clients relationship. HTH - Brian From kray at sonsothunder.com Sat Apr 16 00:24:13 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Apr 2005 23:24:13 -0500 Subject: Socket Comm Followup - Timing Out In-Reply-To: <2d158c96e3bc272cdf07bab56a23ca4e@qldlearning.com> Message-ID: OK, I have everything working fine now, with a timeout question: After one app finishes talking to the other, after a couple of seconds both apps register a socketTimeout... however if I come back and send data from either app, it is received properly, so should I be concerned about the timeout? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From briany at qldlearning.com Sat Apr 16 00:27:19 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 15 Apr 2005 21:27:19 -0700 Subject: Socket Comm Followup - Timing Out In-Reply-To: References: Message-ID: <9f7ed74fe4dacc207e10ae68f6fdb422@qldlearning.com> Any chance you're not reading all of the data on the first pass, perhaps missing some white space or not swallowing up the terminator itself? I don't _think_ you should get a timeout if there aren't any reads or writes pending, although I could be wrong. Of course as long as the socket isn't closed after the timeout, it shouldn't much matter... > OK, I have everything working fine now, with a timeout question: > > After one app finishes talking to the other, after a couple of seconds > both > apps register a socketTimeout... however if I come back and send data > from > either app, it is received properly, so should I be concerned about the > timeout? From b.xavier at internet.lu Sat Apr 16 00:44:24 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 16 Apr 2005 06:44:24 +0200 Subject: Making Externals with Visual C++ 2005 Express In-Reply-To: <42607929.5030106@dreamscapesoftware.com> Message-ID: <20050416045706.643A7930137@mail.runrev.com> Hi Derek, I've only used VC 6.0 but it works... cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Derek Bump > Sent: Saturday, April 16, 2005 04:32 > To: How to use Revolution > Subject: Making Externals with Visual C++ 2005 Express > > Has anyone had success with building Externals with the new > Microsoft Visual C++ 2005 Express Edition? > > Has anyone else used this program? > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Images Easily with JPEGCompress 2.6.1 > http://www.dreamscapesoftware.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sims at ezpzapps.com Sat Apr 16 01:20:09 2005 From: sims at ezpzapps.com (sims) Date: Sat, 16 Apr 2005 07:20:09 +0200 Subject: Strange Google ad featuring Dreamcard as Python Gui. In-Reply-To: <42606E4E.8040905@fourthworld.com> References: <426069DA.9030200@tweedly.net> <42606E4E.8040905@fourthworld.com> Message-ID: At 6:45 PM -0700 4/15/05, Richard Gaskin wrote: >Meanwhile, "cross-platform development" yields 2,120,000 hits and >has no Rev ad. ::sigh:: > >-- > Richard Gaskin While we are on the subject of promoting Rev I'd like to relay some of the things that I did along those lines when I ran the EuroRevCon. For several months the EuroRevCon was listed in the Apple Developer Connection, a software developer newsletter which goes out to over 400,000 developers. I also sent out many, many press releases to various techie news web pages. I even wrote several articles in the local newspapers which were about IT but actually had Rev and the EuroRevCon as the main item. It sure is a lot of work to run such a conference, but it makes a great deal of sense to take advantage of the opportunity to get Rev in front of people who have never heard of it. I'm hoping that the California RevCon AND Rev itself is taking advantage of this opportunity. Folks, if you have never been to such an event you cannot imagine how much fun it is, how much you can learn, and how great it is to meet up in person with people you've only known from the text you read every day. Hell...hanging around Andre for only an hour is worth getting to the RevCon! If you can possibly attend sign up - NOW! ciao, sims From mwieder at ahsoftware.net Sat Apr 16 01:36:32 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Apr 2005 22:36:32 -0700 Subject: Socket Comm Followup - A couple of questions In-Reply-To: References: Message-ID: <5451224226.20050415223632@ahsoftware.net> Ken- I'm just getting adjusted to getting back to civilization after a couple of weeks and catching up on a *lot* of email, so I may have missed some points in this thread, but... Friday, April 15, 2005, 8:27:00 PM, you wrote: KR> 1) I noticed that in Alex's examples, after the "listener" gets the message KR> fired off after the "accept" has been triggered, the "read from socket" KR> command says "read from socket lSock until CR"... any reason to read only a KR> line of data at a time? If I am sending over lots of data, what's the KR> good/bad thing about reading it in all at once? Well, you have to have some way of knowing when the message has ended. TCP is a stream-oriented protocol. The message you send may be broken up into several packets or may not. Your message may end in the middle of a packet and the next one may start in the same buffer. One way for the receiver to tell that you've reached the end of a message sent from the transmitter is to use a delimiter char. For text streams this is normally a CR character. Otherwise when you're sending over lots of data how do you know you've reached the end? The receiver will time out waiting for another char. KR> 3) When should one use UDP vs TCP? What are the ads/disads of each? Normally you would stay away from UDP unless you really need it. UDP is message-oriented rather than stream-oriented, which is nice, but it lacks the guaranteed deliverability and packet sequencing of TCP. It's somewhat faster since you don't have the header information that TCP uses to determine sequencing. It's used a lot for control sequences where the order of packets doesn't matter and the packets are assumed to have reached their destinations. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Apr 16 01:45:25 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Apr 2005 22:45:25 -0700 Subject: Socket Comm Followup - Timing Out In-Reply-To: References: Message-ID: <19751757252.20050415224525@ahsoftware.net> Ken- Friday, April 15, 2005, 9:24:13 PM, you wrote: KR> OK, I have everything working fine now, with a timeout question: KR> After one app finishes talking to the other, after a couple of seconds both KR> apps register a socketTimeout... however if I come back and send data from KR> either app, it is received properly, so should I be concerned about the KR> timeout? If your socket is still open and expecting more chars to come in then you *will* get a timeout. If you've gotten your end-of-message char then you shouldn't get a timeout. If you're not "reading until" a delimiter char then you will probably be experiencing timeouts. I tend to do something like (off the top of my head, not tested at all) open socket lSock with message "SocketOpened" on "SocketOpened" -- prime the socket for the first line read from socket lSock until cr with message "GotOneLine" end "SocketOpened" on GotOneLine -- handle parsing your buffer here -- -- then prime the socket for more reads read from socket lSock until cr with message "GotOneLine" end GotOneLine -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Sat Apr 16 01:51:44 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 16 Apr 2005 00:51:44 -0500 Subject: Socket Comm Followup - A couple of questions In-Reply-To: <5451224226.20050415223632@ahsoftware.net> Message-ID: On 4/16/05 12:36 AM, "Mark Wieder" wrote: > KR> 1) I noticed that in Alex's examples, after the "listener" gets the > message > KR> fired off after the "accept" has been triggered, the "read from socket" > KR> command says "read from socket lSock until CR"... any reason to read only > a > KR> line of data at a time? If I am sending over lots of data, what's the > KR> good/bad thing about reading it in all at once? > > Well, you have to have some way of knowing when the message has ended. > TCP is a stream-oriented protocol. The message you send may be broken > up into several packets or may not. Your message may end in the middle > of a packet and the next one may start in the same buffer. One way for > the receiver to tell that you've reached the end of a message sent > from the transmitter is to use a delimiter char. For text streams this > is normally a CR character. Otherwise when you're sending over lots of > data how do you know you've reached the end? The receiver will time > out waiting for another char. Thanks... I implemented a length byte approach where I send the length of the data, a CR, then the actual data, and read the length first and then read the length in bytes. Works really nicely. :-) > KR> 3) When should one use UDP vs TCP? What are the ads/disads of each? > > Normally you would stay away from UDP unless you really need it. UDP > is message-oriented rather than stream-oriented, which is nice, but it > lacks the guaranteed deliverability and packet sequencing of TCP. It's > somewhat faster since you don't have the header information that TCP > uses to determine sequencing. It's used a lot for control sequences > where the order of packets doesn't matter and the packets are assumed > to have reached their destinations. Thanks for the clarifications... I really appreciate it. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Sat Apr 16 02:02:00 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 15 Apr 2005 23:02:00 -0700 Subject: Tabs tutorial & Ordinary Humans -- Long In-Reply-To: References: Message-ID: <5152751823.20050415230200@ahsoftware.net> Judy- Thursday, April 14, 2005, 10:32:55 AM, you wrote: JP> that allow you to switch between editing/browsing modes. More than a few JP> had modality problems in that they clicked outside Rev's areas, fell back JP> into the operating system, and considered *that* a roadblock. ...been there. I'd say 80% of my clients don't know the difference between closing a window and closing an app. -- -Mark Wieder mwieder at ahsoftware.net From kgjaqua1 at sbcglobal.net Sat Apr 16 02:15:35 2005 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Fri, 15 Apr 2005 23:15:35 -0700 (PDT) Subject: Card Group Label Names Message-ID: <20050416061535.8172.qmail@web81104.mail.yahoo.com> Thank You Brian, I just got back from the Warriors Game. Wow, what a great new team! so I will work on this script:) Kathy Graves Jaqua A Wildest Dream Software kgjaqua1 at sbcGlobal.net -------------------------------------- Kathy, How about something like this: put the groupNames into allGroups put the backgroundNames into backgroundGroups put empty into cardGroups repeat for each line groupName in allGroups if (groupName is not among the lines of backgroundGroups) then put groupName&return after cardGroups end if end repeat delete last char of cardGroups answer cardGroups HTH, Brian > Hi y'all > (I am having some Browser problems. I hope this is not > a repeat.) > > I need a list of "the labels" of the groups of a card > whose background behavior is set to false: > > I got as far as the following script: > > put the groupNames of card 1 into groupsToShow > answer groupsToShow > > And, of course I get the group id of both background > and card groups. > > So an hour later (Did I mention I was blond;) I > decided to ask the following on line: > > How do I get the Labels of just the card groups? > Thanks > > Kathy Graves Jaqua > A Wildest Dream Software > kgjaqua1 at sbcglobal.net From b.xavier at internet.lu Sat Apr 16 02:20:23 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 16 Apr 2005 08:20:23 +0200 Subject: and a new GM is born for everyone... Message-ID: <20050416063306.52EEF9300AA@mail.runrev.com> For some limited uses RunRev's Geometry engine is just great... I've had my share of setbacks using it and here is the solution for all those that do want to use a scalable any-complexity Geometry management scheme across any xTalk system and with much more flexibility than RunRevs in my opinion. While i'll make a tool to make this much simpler, i thought i'd share it with everyone... It's just too easy and really powerful! I'll hint so extra uses that im adding to a stack that will be released later before next weekend. So here goes put this into your stack script... on resizeStack MagicGM pass resizestack -- if you dont pass, the RevErrorDialog (RED) or other stacks might not resize correctly although the RED still doesnt yet... end resizeStack on MagicGM put the number of controls into controlsmax repeat with x = 1 to controlsmax if "doresize" is in the script of control x then send "doresize" to control x end if end repeat end MagicGM -- be careful debugging control x's doresize script, i've had rev hickups and lockups... Save first. In any control x, you can write the simplest or most complex resize or move script such as on doresize set the rect of me to the rect of this cd -- or -- ResizeToObj the long name of me, the longname of this cd -- [, withframeoffset|rect][,withshadowoffset|rect] -- using the TAOO GM agent end doresize If there are a number of related controls (a menu or an arrangement or series of fields in columns), it's best to group them (like a template in TAOO) and you put the doresize in the Group's script. This way the group is in charge of the resizing for its children so to speak. Although you can also add local dependencies to the sub controls inside the group (i do not recommended as it could cause relative-unwanted-changes to other controls. Notes: The repeat script could (and should) be speeded up by checking if the control has customprops (which would be the call itself! The number of controls might require this in terms of speed (querying if the script contains is long) - the agent also uses a cached index to speed this up in the repeat loop though. I have also found that I use mostly templates and thus limit the repeat search to just groups so scripts are more dedicated or localized. One thing against the use of custom props... A change in stack name or control name (or id if you prefer to use that) could require extra scripting or Custom prop changes. This is why im more fond of adding a dynamic script than static [hard to debug] data. Any ideas or suggestions on the matter are welcome. I know this subject has earned me a flameworthy reputation but the google amount of hours I have lost, the number of freezes, resizes, etc are a thing of the past... It's sad to rewrite the wheel but if the original wheel is too square, it is good to rewrite it if only for the evolution of the revolution beyond... Chipp, if you are interested in this for your gui builder, let me know... The MagicGM genie plugin will be ready sometime before next weekend. cheers Xavier -- http://MonsieurX.com - The Art Of Objects From kray at sonsothunder.com Sat Apr 16 02:34:08 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 16 Apr 2005 01:34:08 -0500 Subject: Listen on 2 or more ports at once? Message-ID: Is it possible to use "accept connections" to accept connections on two or more ports at once? Or are we limited to one "accept"? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From briany at qldlearning.com Sat Apr 16 02:45:55 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 15 Apr 2005 23:45:55 -0700 Subject: Listen on 2 or more ports at once? In-Reply-To: References: Message-ID: > Is it possible to use "accept connections" to accept connections on > two or > more ports at once? Or are we limited to one "accept"? You should be able to listen on as many ports as you like, provided that they aren't already already in use by another application on the same machine. - Brian From webmaster at dreamscapesoftware.com Sat Apr 16 03:13:39 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 16 Apr 2005 02:13:39 -0500 Subject: and a new GM is born for everyone... In-Reply-To: <20050416063306.52EEF9300AA@mail.runrev.com> References: <20050416063306.52EEF9300AA@mail.runrev.com> Message-ID: <4260BB23.30209@dreamscapesoftware.com> I do realize that a lot of people love the GM. Your code is also a very good idea. But in the end I wonder how much simpler it is to just have a resizeStack handler in the card's script that takes care of everything. This way when interface changes occur, you do not have to modify the script of every object, just the card script. I do the following... on moveStack updateDisplay end moveStack on resizeStack updateDisplay end resizeStack on updateDisplay lock screen set the rect of ... set the rect of ... get setRegistry( ... -- Save Window Position for next launch. unlock screen end updateDisplay Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.6.1 http://www.dreamscapesoftware.com/ From chipp at chipp.com Sat Apr 16 03:13:54 2005 From: chipp at chipp.com (Chipp Walters) Date: Sat, 16 Apr 2005 02:13:54 -0500 Subject: and a new GM is born for everyone... In-Reply-To: <20050416063306.52EEF9300AA@mail.runrev.com> References: <20050416063306.52EEF9300AA@mail.runrev.com> Message-ID: <4260BB32.3050802@chipp.com> MisterX wrote: > > Chipp, if you are interested in this for your gui builder, let me know... > Hi Xavier, Thanks, but I've got my own cross-platform layout tool I use for everthing. It's the altLayout plugin, but currently it only works on single-card stacks. I'm planning on fixing that within a week for a project I'm doing. best, Chipp From chipp at chipp.com Sat Apr 16 04:28:23 2005 From: chipp at chipp.com (Chipp Walters) Date: Sat, 16 Apr 2005 03:28:23 -0500 Subject: [ANN] altSQLite SHIPS! Message-ID: <4260CCA7.3020803@chipp.com> ...just thought some of you would like to know Altuit Announces new development tool altSQLite - nothing to install, 4 commands to learn altSQLite is the ONLY embedded Revolution database engine which runs on Mac OSX, Windows XP and Linux! Embed a powerful SQL database inside your application! Altuit's altSQLite engine combines a Revolution compatible revDB driver with the most-popular Open Source client SQL database to create a zero-configuration solution for those developers wanting to embed a database with their applications. Now add database capabilites to your applications with unprecedented ease-of-use! Altuit's Demo and Database tutorial takes you step-by-step through the process of installing (one click of a button), building and accessing databases, even creating report queries. You don't need to know a thing about database building because SQLite works just like Revolution: everything's a string! Altuit will be offering altSQLite for the first 45 days at a substantial discount. altSQLite will retail for $149.00 which includes a license for all three supported platforms. During the first 45 days of release, we will be offering introductory pricing of only $99.00. That's for all three platforms! You can check out the website and what some of our users are saying at: http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm or jump right into the 10-minute demo-tutorial by copy/pasting the following into the msg box: go URL "http://www.gadgetplugins.com/altsqlite/SQLiteDemo.rev" Special thanks to everyone involved in helping get this out the door...especially our beta testers! -Chipp From dburgun at dsl.pipex.com Sat Apr 16 05:17:01 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 16 Apr 2005 10:17:01 +0100 Subject: and a new GM is born for everyone... In-Reply-To: <20050416063306.52EEF9300AA@mail.runrev.com> References: <20050416063306.52EEF9300AA@mail.runrev.com> Message-ID: Hi, >The number of controls might require this in terms of speed (querying if the >script contains is long) - the agent also uses a cached index to speed this >up in the repeat loop though. I have also found that I use mostly templates >and thus limit the repeat search to just groups so scripts are more >dedicated or localized. I handn't thought of looking in the script to see if a handler or function or whatever existed. Wow! That's so powerfull. Of course, I suppose someone *could* have already of used that name, so it might be better to prefix it with "MGM_" or something so that it is less likely to clash. What are you worried about in terms of speed? If you said that the "doresize" (or whatever) was always near the start of the script then would this make a difference? I do something similar to this in a Generic Arrow Resize Object I have created. The way I am trying to do it is to have an Initialization Handler in each control that sets a CustomProperty, in this case we could call it cpResizeHandler. The script would look something like this: -- -- Called from openScipt or openCard -- on Initialize() put the number of controls into controlsmax repeat with x = 1 to controlsmax if "MGMInitianize" is in the script of control x then send "MGMInitialize" to control x end repeat end -- -- The in the Script of each Control -- on MGMInitialize if the script of me contains "MGMDoResize" then set cpResizeHandler to "MGMDoResize" else set cpResizeHandler to "MGMDoResize" end if end Then do the following in the resize stack command: put this into your stack script... on resizeStack MagicGM pass resizestack -- if you dont pass, the RevErrorDialog (RED) or other stacks might not resize correctly although the RED still doesnt yet... end resizeStack on MagicGM put the number of controls into controlsmax repeat with x = 1 to controlsmax if the cpResizeHandler of control x is not empty then send the cpResizeHandler of control x end if end repeat end MagicGM (((***Question? What are and lines?***))) This shoud speed it up at the expense of adding time to the openStack or openCard command. The advantage is that you don't have to change the Stack/Card Script you add a new control. One question though. If the control does not contain an MGMInitialize handler, the Custom Property, cpResizeHandler will not exist. Do I need a seperate test for his as in: if exists cpResizeHandler of control x then if the cpResizeHandler of control x is not empty then send the cpResizeHandler of control x end if end if Any suggestions/comments greatly appreciated. All the Best Dave From psahores at easynet.fr Sat Apr 16 05:48:32 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 16 Apr 2005 11:48:32 +0200 Subject: [ANN] altSQLite SHIPS! In-Reply-To: <4260CCA7.3020803@chipp.com> References: <4260CCA7.3020803@chipp.com> Message-ID: <42bbeb9f49c202b48ff29e6e783a82fa@easynet.fr> Congratulations ! Chipp ;-) A very great stuff i'm sure i will have to use in a near future to design new kind of desktop dedicated rev/altSQLite apps. Thanks for doing it available. Best Regards, Pierre Le 16 avr. 05, ? 10:28, Chipp Walters a ?crit : > ...just thought some of you would like to know > > Altuit Announces new development tool > > altSQLite - nothing to install, 4 commands to learn > > altSQLite is the ONLY embedded Revolution database engine which runs > on Mac OSX, Windows XP and Linux! > > Embed a powerful SQL database inside your application! > > Altuit's altSQLite engine combines a Revolution compatible revDB > driver with the most-popular Open Source client SQL database to create > a zero-configuration solution for those developers wanting to embed a > database with their applications. > > Now add database capabilites to your applications with unprecedented > ease-of-use! Altuit's Demo and Database tutorial takes you > step-by-step through the process of installing (one click of a > button), building and accessing databases, even creating report > queries. You don't need to know a thing about database building > because SQLite works just like Revolution: everything's a string! > > Altuit will be offering altSQLite for the first 45 days at a > substantial discount. altSQLite will retail for $149.00 which includes > a license for all three supported platforms. During the first 45 days > of release, we will be offering introductory pricing of only $99.00. > That's for all three platforms! > > You can check out the website and what some of our users are saying at: > http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm > > or jump right into the 10-minute demo-tutorial by copy/pasting the > following into the msg box: > go URL "http://www.gadgetplugins.com/altsqlite/SQLiteDemo.rev" > > Special thanks to everyone involved in helping get this out the > door...especially our beta testers! > > -Chipp > _______________________________________________ > 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 Apr 16 07:13:43 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 16 Apr 2005 13:13:43 +0200 Subject: Card Group Label Names In-Reply-To: <20050415234543.47633.qmail@web81110.mail.yahoo.com> References: <20050415234543.47633.qmail@web81110.mail.yahoo.com> Message-ID: Hi Kathy > Hi y'all > (I am having some Browser problems. I hope this is not > a repeat.) > > I need a list of "the labels" of the groups of a card > whose background behavior is set to false: > > I got as far as the following script: > > put the groupNames of card 1 into groupsToShow > answer groupsToShow > > And, of course I get the group id of both background > and card groups. > > So an hour later (Did I mention I was blond;) I hey, i'm blond, too! :-) > decided to ask the following on line: > > How do I get the Labels of just the card groups? If you like it short: ... get the groupNames of this cd ## important to use this indentifier! filter it without (the backgroundNames of this stack) ## and this one! answer it ... > Thanks > > Kathy Graves Jaqua > A Wildest Dream Software Sounds very promising :-) > kgjaqua1 at sbcglobal.net Best from germany Klaus Major klaus at major-k.de http://www.major-k.de From b.xavier at internet.lu Sat Apr 16 07:23:45 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 16 Apr 2005 13:23:45 +0200 Subject: and a new GM is born for everyone... In-Reply-To: Message-ID: <20050416113626.2BFDB93010B@mail.runrev.com> Here's the resizestack script I use in TAOO global xos on resizestack local gcount put the short id of the defaultstack into stkID -- to be verified if ok for both palettes and stacks (the topstack). put the number of controls in stack id stkID into ccount repeat with x = 1 to ccount get the short id of control x of stack stkID get xos["haveresizescript",stkID,x] if it is empty then get "on doresize" is in script of control x put it into xos["haveresizescript",stkID,x] end if if it then try send "doresize" to control x end try end if end repeat pass resizestack end resizestack cheers Xavier > -----Original Message----- > From: David Burgun [mailto:dburgun at dsl.pipex.com] > Sent: Saturday, April 16, 2005 12:15 > To: x at monsieurx.com > Subject: RE: and a new GM is born for everyone... > > Opps! Spotted a typeo! > > -- > -- The in the Script of each Control > -- > on MGMInitialize > if the script of me contains "MGMDoResize" then > set cpResizeHandler to "MGMDoResize" > else > set cpResizeHandler to empty > --**********CHANGED********** end if end > > Cheers > Dave > > >One difference is instead of using the custom prop, i just > use a global > >array. minimizes stack size... > > > >the and where regarding the line put "this" > into your ... > > > >object talk ;) > > > >But nice example of collaborative scripting ;) > > > >cheers > >Xavier > > > >> -----Original Message----- > >> From: David Burgun [mailto:dburgun at dsl.pipex.com] > >> Sent: Saturday, April 16, 2005 11:17 > >> To: x at monsieurx.com; How to use Revolution > >> Subject: Re: and a new GM is born for everyone... > >> > >> Hi, > >> > >> >The number of controls might require this in terms of speed > >> (querying >if the script contains is long) - the agent > also uses a > >> cached index to >speed this up in the repeat loop though. I have > >> also found that I use >mostly templates and thus limit > the repeat > >> search to just groups so >scripts are more dedicated or localized. > >> > >> I handn't thought of looking in the script to see if a > handler or > >> function or whatever existed. Wow! That's so powerfull. > Of course, I > >> suppose someone *could* have already of used that name, > so it might > >> be better to prefix it with "MGM_" or something so that > it is less > >> likely to clash. > >> > >> What are you worried about in terms of speed? If you said > that the > >> "doresize" (or whatever) was always near the start of the script > >> then would this make a difference? > >> > >> I do something similar to this in a Generic Arrow Resize > Object I > >> have created. The way I am trying to do it is to have an > >> Initialization Handler in each control that sets a > CustomProperty, > >> in this case we could call it cpResizeHandler. The script > would look > >> something like this: > >> > >> > >> -- > >> -- Called from openScipt or openCard > >> -- > >> on Initialize() > >> put the number of controls into controlsmax > >> repeat with x = 1 to controlsmax > >> if "MGMInitianize" is in the script of control x then > >> send "MGMInitialize" to control x > >> end repeat > >> end > >> > > > -- > >> -- The in the Script of each Control > >> -- > >> on MGMInitialize > >> if the script of me contains "MGMDoResize" then > >> set cpResizeHandler to "MGMDoResize" > >> else > >> set cpResizeHandler to "MGMDoResize" > >> end if > >> end > > > > >> > >> Then do the following in the resize stack command: > >> > >> put this into your stack script... > >> > >> on resizeStack > >> MagicGM > >> pass resizestack -- if you dont pass, the RevErrorDialog > >> (RED) or other stacks might not resize correctly although > the RED > >> still doesnt yet... > >> end resizeStack > >> > >> on MagicGM > >> put the number of controls into controlsmax > >> repeat with x = 1 to controlsmax > >> > >> if the cpResizeHandler of control x is not empty then > >> send the cpResizeHandler of control x > >> end if > >> > >> end repeat > >> end MagicGM > >> > >> > >> (((***Question? What are and lines?***))) > >> > >> This shoud speed it up at the expense of adding time to the > >> openStack or openCard command. The advantage is that you > don't have > >> to change the Stack/Card Script you add a new control. > >> > >> One question though. If the control does not contain an > >> MGMInitialize handler, the Custom Property, cpResizeHandler will > >> not exist. Do I need a seperate test for his as in: > >> > >> if exists cpResizeHandler of control x then > >> if the cpResizeHandler of control x is not empty then > >> send the cpResizeHandler of control x > >> end if > >> end if > >> > >> Any suggestions/comments greatly appreciated. > >> > >> All the Best > >> Dave > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > From b.xavier at internet.lu Sat Apr 16 07:23:45 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 16 Apr 2005 13:23:45 +0200 Subject: and a new GM is born for everyone... In-Reply-To: Message-ID: <20050416113628.27DD993010F@mail.runrev.com> uh, you sent it to me, not the list... ;) > -----Original Message----- > From: David Burgun [mailto:dburgun at dsl.pipex.com] > Sent: Saturday, April 16, 2005 12:15 > To: x at monsieurx.com > Subject: RE: and a new GM is born for everyone... > > Opps! Spotted a typeo! > > -- > -- The in the Script of each Control > -- > on MGMInitialize > if the script of me contains "MGMDoResize" then > set cpResizeHandler to "MGMDoResize" > else > set cpResizeHandler to empty > --**********CHANGED********** end if end > > Cheers > Dave > > >One difference is instead of using the custom prop, i just > use a global > >array. minimizes stack size... > > > >the and where regarding the line put "this" > into your ... > > > >object talk ;) > > > >But nice example of collaborative scripting ;) > > > >cheers > >Xavier > > > >> -----Original Message----- > >> From: David Burgun [mailto:dburgun at dsl.pipex.com] > >> Sent: Saturday, April 16, 2005 11:17 > >> To: x at monsieurx.com; How to use Revolution > >> Subject: Re: and a new GM is born for everyone... > >> > >> Hi, > >> > >> >The number of controls might require this in terms of speed > >> (querying >if the script contains is long) - the agent > also uses a > >> cached index to >speed this up in the repeat loop though. I have > >> also found that I use >mostly templates and thus limit > the repeat > >> search to just groups so >scripts are more dedicated or localized. > >> > >> I handn't thought of looking in the script to see if a > handler or > >> function or whatever existed. Wow! That's so powerfull. > Of course, I > >> suppose someone *could* have already of used that name, > so it might > >> be better to prefix it with "MGM_" or something so that > it is less > >> likely to clash. > >> > >> What are you worried about in terms of speed? If you said > that the > >> "doresize" (or whatever) was always near the start of the script > >> then would this make a difference? > >> > >> I do something similar to this in a Generic Arrow Resize > Object I > >> have created. The way I am trying to do it is to have an > >> Initialization Handler in each control that sets a > CustomProperty, > >> in this case we could call it cpResizeHandler. The script > would look > >> something like this: > >> > >> > >> -- > >> -- Called from openScipt or openCard > >> -- > >> on Initialize() > >> put the number of controls into controlsmax > >> repeat with x = 1 to controlsmax > >> if "MGMInitianize" is in the script of control x then > >> send "MGMInitialize" to control x > >> end repeat > >> end > >> > > > -- > >> -- The in the Script of each Control > >> -- > >> on MGMInitialize > >> if the script of me contains "MGMDoResize" then > >> set cpResizeHandler to "MGMDoResize" > >> else > >> set cpResizeHandler to "MGMDoResize" > >> end if > >> end > > > > >> > >> Then do the following in the resize stack command: > >> > >> put this into your stack script... > >> > >> on resizeStack > >> MagicGM > >> pass resizestack -- if you dont pass, the RevErrorDialog > >> (RED) or other stacks might not resize correctly although > the RED > >> still doesnt yet... > >> end resizeStack > >> > >> on MagicGM > >> put the number of controls into controlsmax > >> repeat with x = 1 to controlsmax > >> > >> if the cpResizeHandler of control x is not empty then > >> send the cpResizeHandler of control x > >> end if > >> > >> end repeat > >> end MagicGM > >> > >> > >> (((***Question? What are and lines?***))) > >> > >> This shoud speed it up at the expense of adding time to the > >> openStack or openCard command. The advantage is that you > don't have > >> to change the Stack/Card Script you add a new control. > >> > >> One question though. If the control does not contain an > >> MGMInitialize handler, the Custom Property, cpResizeHandler will > >> not exist. Do I need a seperate test for his as in: > >> > >> if exists cpResizeHandler of control x then > >> if the cpResizeHandler of control x is not empty then > >> send the cpResizeHandler of control x > >> end if > >> end if > >> > >> Any suggestions/comments greatly appreciated. > >> > >> All the Best > >> Dave > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > From Typing80wpm at aol.com Sat Apr 16 07:48:15 2005 From: Typing80wpm at aol.com (Typing80wpm at aol.com) Date: Sat, 16 Apr 2005 07:48:15 EDT Subject: Revolution/Dreamcard Demo and file access Message-ID: <19c.3173d752.2f92557f@aol.com> Just curious... When someone tries out the demo for 30 days... Is there any type of file access provided with the demo, or is it advisable for someone to install PostgreSQL or SQLite or something else first, so that they will be able to try out file related/record related functions? That SQLite announced sounds so attractive, simply because it sounds so tranparently easy (and a small footprint, I imagine). PostgreSQL also sounds attractive, more work, but no royalties involved in distribution (if I understand what I read correctly), and a higher degree of compatibility with things like Oracle. I am about to search and see if there is any such thing as "personal Oracle", or "Oracle Lite"... just out of curiosity. From bill at bluewatermaritime.com Sat Apr 16 07:57:29 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 16 Apr 2005 07:57:29 -0400 Subject: [ANN] altSQLite SHIPS! In-Reply-To: <4260CCA7.3020803@chipp.com> Message-ID: Very nice demo stack. I have a complex existing MySQL database and would like to convert it to SQLite in order to see if SQLite is faster. I make extensive use of the database controls in RunRev. Can you add a couple pages to your tutorial stack on how to switch back and forth from MySQL to SQLite... I also wonder about compatibility with Quartam reports. On 4/16/05 4:28 AM, "Chipp Walters" wrote: > ...just thought some of you would like to know > > Altuit Announces new development tool > > altSQLite - nothing to install, 4 commands to learn > > altSQLite is the ONLY embedded Revolution database engine which runs on > Mac OSX, Windows XP and Linux! > > Embed a powerful SQL database inside your application! > > Altuit's altSQLite engine combines a Revolution compatible revDB driver > with the most-popular Open Source client SQL database to create a > zero-configuration solution for those developers wanting to embed a > database with their applications. > > Now add database capabilites to your applications with unprecedented > ease-of-use! Altuit's Demo and Database tutorial takes you step-by-step > through the process of installing (one click of a button), building and > accessing databases, even creating report queries. You don't need to > know a thing about database building because SQLite works just like > Revolution: everything's a string! > > Altuit will be offering altSQLite for the first 45 days at a substantial > discount. altSQLite will retail for $149.00 which includes a license for > all three supported platforms. During the first 45 days of release, we > will be offering introductory pricing of only $99.00. That's for all > three platforms! > > You can check out the website and what some of our users are saying at: > http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm > > or jump right into the 10-minute demo-tutorial by copy/pasting the > following into the msg box: > go URL "http://www.gadgetplugins.com/altsqlite/SQLiteDemo.rev" > > Special thanks to everyone involved in helping get this out the > door...especially our beta testers! > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From psahores at easynet.fr Sat Apr 16 08:14:29 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 16 Apr 2005 14:14:29 +0200 Subject: Revolution/Dreamcard Demo and file access In-Reply-To: <19c.3173d752.2f92557f@aol.com> References: <19c.3173d752.2f92557f@aol.com> Message-ID: <551d0e0c4bf5453dc1c2f38f75500e4f@easynet.fr> Le 16 avr. 05, ? 13:48, Typing80wpm at aol.com a ?crit : > Just curious... When someone tries out the demo for 30 days... Is > there > any type of file access provided with the demo, or is it advisable for > someone > to install PostgreSQL or SQLite or something else first, so that they > will be > able to try out file related/record related functions? > > That SQLite announced sounds so attractive, simply because it sounds so > tranparently easy (and a small footprint, I imagine). altSQLite is the right tool to use in about desktop rev+database solutions. PostgreSQL, Oracle and so on are only usefull in about "n-tier" networked client-server solutions. Best, Pierre > > PostgreSQL also sounds attractive, more work, but no royalties > involved in > distribution (if I understand what I read correctly), and a higher > degree of > compatibility with things like Oracle. > > I am about to search and see if there is any such thing as "personal > Oracle", or "Oracle Lite"... just out of curiosity. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From Typing80wpm at aol.com Sat Apr 16 09:24:26 2005 From: Typing80wpm at aol.com (Typing80wpm at aol.com) Date: Sat, 16 Apr 2005 09:24:26 EDT Subject: Choosing Back End Message-ID: _http://www.softpanorama.org/DB/mysql.shtml_ (http://www.softpanorama.org/DB/mysql.shtml) This link is interesting, but seems a bit old... I did find pages on Personal Oracle... I suppose I shall look in the bookstores to see if there is a book with PostgreSQL or Personal Oracle right on the CD.... From Typing80wpm at aol.com Sat Apr 16 09:56:12 2005 From: Typing80wpm at aol.com (Typing80wpm at aol.com) Date: Sat, 16 Apr 2005 09:56:12 EDT Subject: Exhaustive SQL Comparison Chart Message-ID: <1ef.39f4d0dd.2f92737c@aol.com> This link seems an exhaustive comparison of several SQL products, and it seems to be by an unbiased 3 rd party _http://troels.arvin.dk/db/rdbms/_ (http://troels.arvin.dk/db/rdbms/) Gosh, that SQLite mentioned, provided by a Revolution developer, which automatically installs if not present, sounds very inviting... I went to oracle.com and looked at Personal SQL download (which is in ARCHIVED PRODUCTS section!) and it is an enormous download of what looks like 3 Cds of data... way too much trouble for my old desktop From ps1 at softseven.org Sat Apr 16 12:29:00 2005 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 16 Apr 2005 11:29:00 -0500 Subject: Not quite a Rev problem In-Reply-To: <1ef.39f4d0dd.2f92737c@aol.com> References: <1ef.39f4d0dd.2f92737c@aol.com> Message-ID: <6.1.1.1.2.20050416112327.0296aa40@softseven.org> Dear Rev Programmer, I need help on getting a eMail list into my address book, the eMail list is plain text one address per line with a coma following. Can anyone help? I DO NOT want to type this in, I prefer a program that will convert my eMail file to a address book db. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From soapdog at mac.com Sat Apr 16 12:38:21 2005 From: soapdog at mac.com (Andre Garzia) Date: Sat, 16 Apr 2005 13:38:21 -0300 Subject: Not quite a Rev problem In-Reply-To: <6.1.1.1.2.20050416112327.0296aa40@softseven.org> References: <1ef.39f4d0dd.2f92737c@aol.com> <6.1.1.1.2.20050416112327.0296aa40@softseven.org> Message-ID: <268c62cbaeb98cfb82f172c71cb6475d@mac.com> On Apr 16, 2005, at 1:29 PM, Paul Salyers wrote: > Dear Rev Programmer, > > I need help on getting a eMail list into my address book, the eMail > list is plain text one address per line with a coma following. > > Can anyone help? I DO NOT want to type this in, I prefer a program > that will convert my eMail file to a address book db. > Paul, three ways to do it (well, there are more probably) 1) use applescript and rev to loop the list and insert into AddressBook. 2) pick my pre-release of vObject library, use Rev and generate a big vCard file with those emails, addressbook will import it. 3) use Rev and create a CSV file, import in addressbook. Choice is yours! :D (i'd opt for #2 but I am suspect) Cheers andre > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From SimPLsol at aol.com Sat Apr 16 12:58:32 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Sat, 16 Apr 2005 12:58:32 EDT Subject: Exhaustive SQL Comparison Chart Message-ID: <13d.1161c597.2f929e38@aol.com> Hard to believe there are so many differences in some standards-based software. Thanks for the link! Paul Looney From byront at mac.com Sat Apr 16 13:09:23 2005 From: byront at mac.com (Byron Turner) Date: Sat, 16 Apr 2005 10:09:23 -0700 Subject: Seeking Search Guidance Message-ID: <08dc349b81ec0fdd9379900b32d0b873@mac.com> I've read all the search, find, offset and related articles, but I'm missing something. I have no problem finding individual items, but I want to do something more like (actually exactly like) what the rev documentation does (on a smaller scale) I want it to list all off first items of my field (which it does) the when someone begins to type in the field limit the results down to those that match. I can get it to find one thing that matches and If I create a very slow script I can get what I want but it can't come close to keeping up with a hunt and peck typist. So what's the secret? Byron From dsc at swcp.com Sat Apr 16 13:16:39 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 16 Apr 2005 11:16:39 -0600 Subject: Listen on 2 or more ports at once? In-Reply-To: References: Message-ID: <6a4ff2724b851f2177dcc532638fc6b6@swcp.com> On Apr 16, 2005, at 12:45 AM, Brian Yennie wrote: >> Is it possible to use "accept connections" to accept connections on >> two or >> more ports at once? Or are we limited to one "accept"? > > You should be able to listen on as many ports as you like, provided > that they aren't already already in use by another application on the > same machine. Avoid listening on low port numbers. You can even listen on the same port number in UDP and TCP, but unfortunately you can't tell them apart in openSockets and it is hard to control which one you close when you close. That is usually no problem when you open and close them as a pair (just close twice), as in providing a service that is available on both UDP and TCP. Dar A pig's gotta fly. From eric.chatonet at sosmartsoftware.com Sat Apr 16 13:29:55 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 16 Apr 2005 19:29:55 +0200 Subject: Seeking Search Guidance In-Reply-To: <08dc349b81ec0fdd9379900b32d0b873@mac.com> References: <08dc349b81ec0fdd9379900b32d0b873@mac.com> Message-ID: Hi Byron, Check the filter command :-) In the script of the input field: on rawKeyUp filter tRefList with me & "*" -- input is at the beginning of the lines put tText into fld "Result" end rawKeyUp filter tText with "*" & tKey & "*" -- input is anywhere in the lines Le 16 avr. 05, ? 19:09, Byron Turner a ?crit : > I've read all the search, find, offset and related articles, but I'm > missing something. I have no problem finding individual items, but I > want to do something more like (actually exactly like) what the rev > documentation does (on a smaller scale) I want it to list all off > first items of my field (which it does) the when someone begins to > type in the field limit the results down to those that match. I can > get it to find one thing that matches and If I create a very slow > script I can get what I want but it can't come close to keeping up > with a hunt and peck typist. So what's the secret? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From larsbrehmer at mac.com Sat Apr 16 13:50:20 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Sat, 16 Apr 2005 20:50:20 +0300 Subject: Is it wierd or is it me? Message-ID: Is there a case where a script works in the message box, but not in a standalone? This is driving me crazy. Part of a script just doesn't seem to work in my standalone, but it always works in Rev when I do it through the message box. I don't know if the button in question works in my stacks in the IDE because this entire script, not just the part that doesn't work, would take almost 2 hours to run in the IDE so I'd like to avoid trying it. It takes about 35 seconds in the standalone. It involves inspecting every card in a stack of 1,400 cards and performing certain operations if certain conditions are met. these operations include: creating a new card in a second stack copying the contents of textfields to the new card copying buttons to the new card changing the script and location of those buttons in the new card unmarking the original card then, when certain conditions are met I need certain cards to be marked again. go stack "xyz" get the limNum of stack "xyz" if it = 0 then get the getCat of stack "xyz" mark cds by finding it in fld "catFld" of stack "xyz" save stack "xyz" end if when I run the scrpt in my standalone, this is the part that doesn't work, but when I open the stack in Rev, the linNum is 0, but the cards didn't get marked. When I put this part of the script into the message box, Bang - the cards are marked again! Am I missing something obvious here? Cheers, Lars From b.xavier at internet.lu Sat Apr 16 13:58:27 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 16 Apr 2005 19:58:27 +0200 Subject: Is it wierd or is it me? In-Reply-To: Message-ID: <20050416181110.36DAC9300CD@mail.runrev.com> it's a default stack job here... > mark cds by finding it in fld "catFld" of stack "xyz" mark cds of stack "xyz" by... should do the trick but if you use the defaultstack property it should be a lot simpler... this would make it safer to run... put the short name of this stack into olddefaultstack set the defaultstack to "xyz" get the limNum of this stack if it = 0 then get the getCat of this stack mark cds by finding it in fld "catFld" save this stack stack end if go to stack olddefaultstack cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lars Brehmer > Sent: Saturday, April 16, 2005 19:50 > To: use-revolution at lists.runrev.com > Subject: Is it wierd or is it me? > > Is there a case where a script works in the message box, but > not in a standalone? > > This is driving me crazy. Part of a script just doesn't seem > to work in my standalone, but it always works in Rev when I > do it through the message box. I don't know if the button in > question works in my stacks in the IDE because this entire > script, not just the part that doesn't work, would take > almost 2 hours to run in the IDE so I'd like to avoid trying > it. It takes about 35 seconds in the standalone. It > involves inspecting every card in a stack of 1,400 cards and > performing certain operations if certain conditions are met. > > these operations include: > creating a new card in a second stack > copying the contents of textfields to the new card copying > buttons to the new card changing the script and location of > those buttons in the new card unmarking the original card > > then, when certain conditions are met I need certain cards to > be marked again. > > go stack "xyz" > get the limNum of stack "xyz" > if it = 0 then > get the getCat of stack "xyz" > mark cds by finding it in fld "catFld" of stack "xyz" > save stack "xyz" > end if > > when I run the scrpt in my standalone, this is the part that > doesn't work, but when I open the stack in Rev, the linNum is > 0, but the cards didn't get marked. When I put this part of > the script into the message box, Bang - the cards are marked > again! Am I missing something obvious here? > > Cheers, > > Lars > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gwthompson at mac.com Sat Apr 16 15:06:49 2005 From: gwthompson at mac.com (Gary Thompson) Date: Sat, 16 Apr 2005 15:06:49 -0400 Subject: Lists and Custom Properties Message-ID: <1117911cbee37a2a7f60bf57f631bcba@mac.com> Hello All! I've just purchased Revolution Studio after playing with the demo for 30 days. I am really impressed with this product! I have used Realbasic, Visual Basic, Toolbook, Hypercard and SuperCard at some point in my career but this is probably the best RAD system I've seen to date. I've been getting up to speed using the video tutorials and reading the archives of this mailing list and have had great success in my learning curve. I am especially interested in custom properties but I'm having a little bit of trouble understanding them. Which brings me to my question: How would one store a custom property for each line in a scrolling list? For example: a list of names and the custom property would contain that person's age or something like that. Hopefully this makes sense! Thanks, Gary Thompson From gjbalzano at ucsd.edu Sat Apr 16 15:09:33 2005 From: gjbalzano at ucsd.edu (Jerry Balzano) Date: Sat, 16 Apr 2005 12:09:33 -0700 Subject: Debugging Mousy Scripts In-Reply-To: <04f2fcf322ebdae10e974ce9d2a3d01c@swcp.com> References: <426037F7.5000707@fourthworld.com> <04f2fcf322ebdae10e974ce9d2a3d01c@swcp.com> Message-ID: <1111D835-AEAB-11D9-8F3E-000393DBD07E@ucsd.edu> Thanks for your replies on this, Dar & Richard. Dar, could you say a little more about the "log" command here? I'm not sure I fully understand it from your somewhat compressed description. Are you, e.g., altering (or creating certain message handlers (e.g. newGroup, mouseEnter, etc) so they can "document" their occurrence? Is this a kind of "fine-tuned" message watcher you're in essence writing? Jerry On Apr 15, 2005, at 3:13 PM, Dar Scott wrote: > > On Apr 15, 2005, at 3:53 PM, Richard Gaskin wrote: > >>> I am having a devil of a time with debugging a set of handlers that >>> do a variety of intricate things on mouseMove and mouseWithin. How >>> do the Experts debug these sorts of beasts? >> >> I use a lot of "put" statements. > > Me, too. One can also make a log command that you can embellish as > needed to, say, include ms since the last event, combine a series of > events and so on. If writing to the message box or a test field > interferes too much, I write to a global and then dump that to a > field. If the log needs to be realtime, include unlock screen. > > Dar Scott > A pig's gotta fly. > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From fde101 at fjrhome.net Sat Apr 16 15:20:51 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Sat, 16 Apr 2005 15:20:51 -0400 Subject: Lists and Custom Properties In-Reply-To: <1117911cbee37a2a7f60bf57f631bcba@mac.com> References: <1117911cbee37a2a7f60bf57f631bcba@mac.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can't do that. Custom properties are assigned to objects, not to the contents of those objects. There are a few ways to accomplish what you are trying to do, though: - - You could use a custom property on the field itself to store the extra information for all of the lines in the field (scrolling list). Each line of the custom property could represent the corresponding line of the scrolling list, for example. - - If each line in the scrolling list is guaranteed to be unique, you could use a custom property set as if it were an array, using the content of the scrolling list (which may be a string, it does not need to be a number) as an index into the "array", and storing the other values in the array. - - You could use a separate, hidden (if desired) field to store the extra information etc. On Apr 16, 2005, at 3:06 PM, Gary Thompson wrote: > > I've just purchased Revolution Studio after playing with the demo for > 30 days. I am really impressed with this product! I have used > Realbasic, Visual Basic, Toolbook, Hypercard and SuperCard at some > point in my career but this is probably the best RAD system I've seen > to date. > > I've been getting up to speed using the video tutorials and reading > the archives of this mailing list and have had great success in my > learning curve. I am especially interested in custom properties but > I'm having a little bit of trouble understanding them. Which brings me > to my question: > > How would one store a custom property for each line in a scrolling > list? For example: a list of names and the custom property would > contain that person's age or something like that. > > Hopefully this makes sense! > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCYWWT7aqtWrR9cZoRAnqxAJ9xhk4br0CODWrlMQIPFulomHdEfQCeLOHO mRUYbaEMY9b/K9409w1scnA= =we7y -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From len-morgan at crcom.net Sat Apr 16 15:35:27 2005 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 16 Apr 2005 14:35:27 -0500 Subject: Setting Menubar Width Message-ID: <426168FF.9050708@crcom.net> I'm trying to set a menu bar on my main stack that I want to run the entire width of the stack but I can't seem to get it to DISPLAY any wider that the buttons themselves. I can see the sizing handles are stretched across the stack but the background color is showing through. Short of putting up a rectangle the same color as the menubar (which is different than the background color of the stack, is there anyway to stretch out the menubar? TIA, Len Morgan From ambassador at fourthworld.com Sat Apr 16 15:42:58 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Apr 2005 12:42:58 -0700 Subject: Lists and Custom Properties In-Reply-To: <1117911cbee37a2a7f60bf57f631bcba@mac.com> References: <1117911cbee37a2a7f60bf57f631bcba@mac.com> Message-ID: <42616AC2.4000005@fourthworld.com> Gary Thompson wrote: > How would one store a custom property for each line in a scrolling list? > For example: a list of names and the custom property would contain that > person's age or something like that. When I need to store non-visible info that related to specific lines in a list, I often just put that info on the same line in the list with a tab character separating it from the stuff I want to see. Then I can set the tabStops to some number that will slide it out of view, so I keep my data all in one placed but without having all of it visible. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Sat Apr 16 15:47:52 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Apr 2005 12:47:52 -0700 Subject: Setting Menubar Width In-Reply-To: <426168FF.9050708@crcom.net> References: <426168FF.9050708@crcom.net> Message-ID: <42616BE8.2060608@fourthworld.com> Len Morgan wrote: > I'm trying to set a menu bar on my main stack that I want to run the > entire width of the stack but I can't seem to get it to DISPLAY any > wider that the buttons themselves. I can see the sizing handles are > stretched across the stack but the background color is showing through. Set the opaque of the group to true. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From gwthompson at mac.com Sat Apr 16 15:53:27 2005 From: gwthompson at mac.com (Gary Thompson) Date: Sat, 16 Apr 2005 15:53:27 -0400 Subject: Lists and Custom Properties In-Reply-To: <42616AC2.4000005@fourthworld.com> References: <1117911cbee37a2a7f60bf57f631bcba@mac.com> <42616AC2.4000005@fourthworld.com> Message-ID: <5ee495954a3a5ae421b4ce563b1aebea@mac.com> Richard, Thanks for your response. What if I wanted to store a fair amount of text related to the line in the list? I've been experimenting with that idea but it seems to truncate the text especially if there are returns in the text. Maybe what I need to do is: a.) Use separate text files and store the filename in the list using the technique you described or b.) Use the altSQLite plugin and use a database table which may make more sense Basically I want to be able to parse XML files into usable pieces of information that would be linked to a line in a list. Gary On Apr 16, 2005, at 3:42 PM, Richard Gaskin wrote: > Gary Thompson wrote: >> How would one store a custom property for each line in a scrolling >> list? For example: a list of names and the custom property would >> contain that person's age or something like that. > > When I need to store non-visible info that related to specific lines > in a list, I often just put that info on the same line in the list > with a tab character separating it from the stuff I want to see. Then > I can set the tabStops to some number that will slide it out of view, > so I keep my data all in one placed but without having all of it > visible. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sat Apr 16 18:48:51 2005 From: chipp at chipp.com (Chipp Walters) Date: Sat, 16 Apr 2005 17:48:51 -0500 Subject: [ANN] altSQLite SHIPS! In-Reply-To: References: Message-ID: <42619653.7050700@chipp.com> Hi Bill, thanks for the nice comment on the demo stack. Bill wrote: > Very nice demo stack. I have a complex existing MySQL database and would > like to convert it to SQLite in order to see if SQLite is faster. I make > extensive use of the database controls in RunRev. > > Can you add a couple pages to your tutorial stack on how to switch back and > forth from MySQL to SQLite... Will do when I get a chance :-) > > I also wonder about compatibility with Quartam reports. Yes, should be compatilble. Jan and I have already started talking about putting together a tutorial on how to make use QReports with altSQLite. > > > On 4/16/05 4:28 AM, "Chipp Walters" wrote: > > >>...just thought some of you would like to know >> >>Altuit Announces new development tool >> >>altSQLite - nothing to install, 4 commands to learn >> >>altSQLite is the ONLY embedded Revolution database engine which runs on >>Mac OSX, Windows XP and Linux! >> >>Embed a powerful SQL database inside your application! >> >>Altuit's altSQLite engine combines a Revolution compatible revDB driver >>with the most-popular Open Source client SQL database to create a >>zero-configuration solution for those developers wanting to embed a >>database with their applications. >> >>Now add database capabilites to your applications with unprecedented >>ease-of-use! Altuit's Demo and Database tutorial takes you step-by-step >>through the process of installing (one click of a button), building and >>accessing databases, even creating report queries. You don't need to >>know a thing about database building because SQLite works just like >>Revolution: everything's a string! >> >>Altuit will be offering altSQLite for the first 45 days at a substantial >>discount. altSQLite will retail for $149.00 which includes a license for >>all three supported platforms. During the first 45 days of release, we >>will be offering introductory pricing of only $99.00. That's for all >>three platforms! >> >>You can check out the website and what some of our users are saying at: >>http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm >> >>or jump right into the 10-minute demo-tutorial by copy/pasting the >>following into the msg box: >>go URL "http://www.gadgetplugins.com/altsqlite/SQLiteDemo.rev" >> >>Special thanks to everyone involved in helping get this out the >>door...especially our beta testers! >> >>-Chipp From kgjaqua1 at sbcglobal.net Sat Apr 16 19:48:28 2005 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Sat, 16 Apr 2005 16:48:28 -0700 (PDT) Subject: Lists and Custom Properties Message-ID: <20050416234828.70299.qmail@web81104.mail.yahoo.com> Hi Gary: Richard Gaskin rules:) You can store a custom property in a Stack, Card or Field Inspector and call it with a Mouse Handler: put "The text I want to put in line" && uCustomProp & "." into line # of field name of this card of this stack ---------- Example 1------------------ I have done this in a popUp field. As an example: You might want to store the number of times the stack was opened. In the stack inspector under "Basic Properties" scroll down to "Custom Properties" click on the '+' sigh Enter the property name uEnterThisStack = This is your custom property for that stack on preOpenStack: if the owner of the target is me then get the uEnterThisStack of this stack -- get the value of your custom prop put it into tCount add 1 to tCount set the uEnterthisstack of this stack to tCount --adds 1 to your custom prop end if (dont pass preOpenStack or you will get 2 added to tCount:) end preOpenStack ------------------------------- Now in the popUp field: on mouseDown enterThisTemplate --handler used to display the count in a popUp field end mouseDown on enterThisTemplate get the uEnterThisStack of this stack put it into tCount put "Number of Times Template was Opened" && tCount &"." into line 1 of me end enterThisTemplate --------------Example 2------------------------- For multiple lines: (line 1 the Time, line 2 the Date, line 3 number of times stack is opened) on mouseDown -- since new text is placed in the field each time the button is clicked -- you need to clear out the old lines repeat with x = 1 to the number of lines in me delete line x of me end repeat ---- add your text--- put "Time:" && the time into line 1 of me put "Today's Date:" && the long date &"." into line 2 of me put "File:" && the short name of this stack into line 3 of me enterThisTemplate --your handler calling your custom prop: uEnterThis with your text end mouseDown on enterThisTemplate --if the owner of the target is me then get the uEnterThis of this stack put it into tCount put "Number of Times Template was Opened" && tCount &"." into line 4 of me --end if end enterThisTemplate eMail an example and I will try to do it for you :-) Kathy Graves Jaqua A Wildest Dream Software kgjaqua1 at sbcglobal.net From dick.kriesel at mail.com Sat Apr 16 20:42:05 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 16 Apr 2005 17:42:05 -0700 Subject: Lists and Custom Properties In-Reply-To: <20050416234828.70299.qmail@web81104.mail.yahoo.com> Message-ID: On 4/16/05 4:48 PM, "Kathy Jaqua" wrote: > -- you need to clear out the old lines > repeat with x = 1 to the number of lines in me > delete line x of me > end repeat There's always one more bug. When the field has more than one line, that code fails. If you really want to delete each line one at a time, repeat with x = number of lines in me down to 1 But the following is easier and faster: put empty into me -- Dick From katir at hindu.org Sun Apr 17 01:39:23 2005 From: katir at hindu.org (Sivakatirswami) Date: Sat, 16 Apr 2005 19:39:23 -1000 Subject: Create DOM "inspector" from XHTML Doc Message-ID: In Firefox, you can use the great DOM inspector... but you can't print it out or copy it. I would like to generate (for documentation) the tree with attributes showing for a given web page. Has someone already done this? e.g. where gData holds the webPage I can use: global gData, gCurrTree on mouseUP put revCreateXMLTree(gData,true,true,true) into gCurrTree put revXMLTree(gCurrTree,"html",return,tab,false,-1) into fld "data" end mouseUP and get what you see below, but I would like to see the attributes as well, where they exist so we get a more complete view of the page structure.... I suppose I should invest in a good xml editor? I can't find a function like this in BBEdit either. ##### this what we can currently get...with the above script html head title link body img div p div ol li a etc... ##### this is what I want, I'm thinking someone has already done this... div id="dateLIne' p class="SmallType" div id="Closing" p etc. TIA Sannyasin Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com www.Gurudeva.org www.Hindu.org From mwieder at ahsoftware.net Sun Apr 17 04:22:07 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 17 Apr 2005 01:22:07 -0700 Subject: RevCon West Tourist Activities In-Reply-To: References: <20050414214552.E20B09300E5@mail.runrev.com> Message-ID: <12661680602.20050417012207@ahsoftware.net> Jim- Friday, April 15, 2005, 6:20:44 AM, you wrote: JH> I hate to drive and so will be taking AMTRAK, probably to Salinas. JH> Anyone know if there is bus service to Monterey from Salinas? http://www.montereyairbus.com/ -- -Mark Wieder mwieder at ahsoftware.net From dburgun at dsl.pipex.com Sun Apr 17 07:09:54 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 17 Apr 2005 12:09:54 +0100 Subject: Problen with goto/try statements In-Reply-To: <492a9dbfc67d39b0f85f63d38196d3a8@mangomultimedia.com> References: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> <492a9dbfc67d39b0f85f63d38196d3a8@mangomultimedia.com> Message-ID: Hi, I am trying to catch an error situation like so: try goto stack myStack catch myErrorText beep end try But I never get a beep? Is this correct behaviour? If the Stack/File myStack does not exist, surely either an IDE or error should be generated? I can't seem to find a way to check if a file exists? Is there one, cos I could just put an if exists(file myStack) around the goto. Thanks in advance Dave From eric.chatonet at sosmartsoftware.com Sun Apr 17 07:57:05 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 17 Apr 2005 13:57:05 +0200 Subject: Problen with goto/try statements In-Reply-To: References: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> <492a9dbfc67d39b0f85f63d38196d3a8@mangomultimedia.com> Message-ID: <3847843c59baea811e35a37bb29e88f4@sosmartsoftware.com> You just do it! if there is a file myStack then... assuming myStack is a valid pathName :-) Le 17 avr. 05, ? 13:09, David Burgun a ?crit : > I can't seem to find a way to check if a file exists? Is there one, > cos I could just put an if exists(file myStack) around the goto. Best regards, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Sun Apr 17 08:07:50 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 17 Apr 2005 13:07:50 +0100 Subject: Very annoying IDE Problem In-Reply-To: References: Message-ID: Hi, I have a Stack that has an error in the preOpenStack or preOpenCard sctipts. However when I try to load the stack and work on it in the IDE. I can't open any of the property inspector on any of the objects and other parts of the IDE hang. So eventually I quit RunRev and then as my stack window disappears, I see an error window appear, but of course the IDE then quits and I can't see what the error is!!!! How can I get the Error Window to appear? So I can either ignore or debug the script? Thanks a lot Dave From dburgun at dsl.pipex.com Sun Apr 17 08:09:33 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 17 Apr 2005 13:09:33 +0100 Subject: Problen with goto/try statements In-Reply-To: <3847843c59baea811e35a37bb29e88f4@sosmartsoftware.com> References: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> <492a9dbfc67d39b0f85f63d38196d3a8@mangomultimedia.com> <3847843c59baea811e35a37bb29e88f4@sosmartsoftware.com> Message-ID: Thanks! I found this just as your email came thru: if exists(stack myStack) then so it works now, Thanks again All the Best Dave >You just do it! > >if there is a file myStack then... >assuming myStack is a valid pathName :-) > >Le 17 avr. 05, ? 13:09, David Burgun a ?crit : > >>I can't seem to find a way to check if a file exists? Is there one, >>cos I could just put an if exists(file myStack) around the goto. > >Best regards, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Sun Apr 17 08:17:08 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 17 Apr 2005 14:17:08 +0200 Subject: Very annoying IDE Problem In-Reply-To: References: Message-ID: Try this in the message box: answer file "Where is my weird stack?";lock messages;go stack it Le 17 avr. 05, ? 14:07, David Burgun a ?crit : > I have a Stack that has an error in the preOpenStack or preOpenCard > sctipts. However when I try to load the stack and work on it in the > IDE. I can't open any of the property inspector on any of the objects > and other parts of the IDE hang. So eventually I quit RunRev and then > as my stack window disappears, I see an error window appear, but of > course the IDE then quits and I can't see what the error is!!!! Best, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Sun Apr 17 08:17:34 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 17 Apr 2005 13:17:34 +0100 Subject: Very annoying IDE Problem Message-ID: Forgot to say that I am running this under MacOS 9.2.2. I now have a Stack that is in a state whereby I can't open the script of any object and if I load it it just hangs until I quit the IDE! Help! Thanks in Advance Dave Hi, I have a Stack that has an error in the preOpenStack or preOpenCard sctipts. However when I try to load the stack and work on it in the IDE. I can't open any of the property inspector on any of the objects and other parts of the IDE hang. So eventually I quit RunRev and then as my stack window disappears, I see an error window appear, but of course the IDE then quits and I can't see what the error is!!!! How can I get the Error Window to appear? So I can either ignore or debug the script? Thanks a lot Dave From dburgun at dsl.pipex.com Sun Apr 17 08:23:43 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 17 Apr 2005 13:23:43 +0100 Subject: Very annoying IDE Problem In-Reply-To: References: Message-ID: Well I tried that and it brought the Stack to the front but nothing else happened and I the only thing I can do is quite the IDE. Before I quit, I had attempted to open the Property Inspector of an object and before the IDE quits this window appears as well as the error window! I'm looking at the docs now but can't seem to find anything. Thanks for the help Dave >Try this in the message box: > >answer file "Where is my weird stack?";lock messages;go stack it > >Le 17 avr. 05, ? 14:07, David Burgun a ?crit : > >>I have a Stack that has an error in the preOpenStack or preOpenCard >>sctipts. However when I try to load the stack and work on it in the >>IDE. I can't open any of the property inspector on any of the >>objects and other parts of the IDE hang. So eventually I quit >>RunRev and then as my stack window disappears, I see an error >>window appear, but of course the IDE then quits and I can't see >>what the error is!!!! > >Best, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Sun Apr 17 08:34:17 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 17 Apr 2005 14:34:17 +0200 Subject: Very annoying IDE Problem In-Reply-To: References: Message-ID: Hi David, If locking messages does not change anything, that means probably that your stack is corrupted :-( Don't have you any backup? See my free Backups Picker plugin on my web site or altArchive from Chipp Walters: http://www.sosmartsoftware.com/?r=revolution&l=en http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm Le 17 avr. 05, ? 14:23, David Burgun a ?crit : > Well I tried that and it brought the Stack to the front but nothing > else happened and I the only thing I can do is quite the IDE. > > Before I quit, I had attempted to open the Property Inspector of an > object and before the IDE quits this window appears as well as the > error window! > > I'm looking at the docs now but can't seem to find anything. Best, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Sun Apr 17 08:37:43 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 17 Apr 2005 13:37:43 +0100 Subject: Very annoying IDE Problem In-Reply-To: References: Message-ID: Ok, I found out how to do it! In the message box select the stacks in use and my stack was at the top. I then selected it and hit the remove button and now I can use the property inspector and edit scritps again! How can I stop this happening? I think that if the error window could just be displayed that I could find the bug straight away! Thanks a lot Dave >Well I tried that and it brought the Stack to the front but nothing >else happened and I the only thing I can do is quite the IDE. > >Before I quit, I had attempted to open the Property Inspector of an >object and before the IDE quits this window appears as well as the >error window! > >I'm looking at the docs now but can't seem to find anything. > >Thanks for the help >Dave > >>Try this in the message box: >> >>answer file "Where is my weird stack?";lock messages;go stack it >> >>Le 17 avr. 05, ? 14:07, David Burgun a ?crit : >> >>>I have a Stack that has an error in the preOpenStack or preOpenCard >>>sctipts. However when I try to load the stack and work on it in the >>>IDE. I can't open any of the property inspector on any of the >>>objects and other parts of the IDE hang. So eventually I quit >>>RunRev and then as my stack window disappears, I see an error >>>window appear, but of course the IDE then quits and I can't see >>>what the error is!!!! >> >>Best, >> >>Eric Chatonet. >>---------------------------------------------------------------- >>So Smart Software >> >>For institutions, companies and associations >>Built-to-order applications: management, multimedia, internet, etc. >>Windows, Mac OS and Linux... With the French touch >>---------------------------------------------------------------- >>Web site http://www.sosmartsoftware.com/ >>Email eric.chatonet at sosmartsoftware.com/ >>Phone 33 (0)1 43 31 77 62 >>Mobile 33 (0)6 20 74 50 86 >>---------------------------------------------------------------- >> >>_______________________________________________ >>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 eric.chatonet at sosmartsoftware.com Sun Apr 17 08:51:55 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 17 Apr 2005 14:51:55 +0200 Subject: Very annoying IDE Problem In-Reply-To: References: Message-ID: Hi David, I suspect that you put this stack in use when the stack opens: check your code :-) You have probably a preOpenX, openX handler in the script of this stack. You try to open any property palette (i.e; another stack) and Rev tries to execute your handlers > error It is a normal behaviour. It will be the same with any window (i.e; stack) which does not trap or pass this message... If you want your messages only trapped by some stacks, use a conditional structure to test which stack is being open. Le 17 avr. 05, ? 14:37, David Burgun a ?crit : > Ok, I found out how to do it! > > In the message box select the stacks in use and my stack was at the > top. I then selected it and hit the remove button and now I can use > the property inspector and edit scritps again! > > How can I stop this happening? I think that if the error window could > just be displayed that I could find the bug straight away! Best, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From len-morgan at crcom.net Sun Apr 17 09:08:24 2005 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 17 Apr 2005 08:08:24 -0500 Subject: Alternate Editors Message-ID: <42625FC8.308@crcom.net> I seem to remember reading somewhere here that you can use UltraEdit with RR scripts. I downloaded something a couple of days ago that was like a "template" file for UE (which I also just downloaded) that will highlight Transcript syntax). When I open a stack, I see the warning that it's NOT a regular text file and I should stop editing. I searched my maillist digests but couldn't find it. Does anyone know if this is possible? Can I safely ignore the message in the .rev file? Thanks! Len Morgan From b.xavier at internet.lu Sun Apr 17 09:26:11 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 17 Apr 2005 15:26:11 +0200 Subject: Alternate Editors In-Reply-To: <42625FC8.308@crcom.net> Message-ID: <20050417133852.4E33D93005B@mail.runrev.com> are you refering to http://monsieurx.com/modules.php?name=News&file=article&sid=143 ? > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Len Morgan > Sent: Sunday, April 17, 2005 15:08 > To: Revolution Email List > Subject: Alternate Editors > > I seem to remember reading somewhere here that you can use > UltraEdit with RR scripts. I downloaded something a couple > of days ago that was like a "template" file for UE (which I > also just downloaded) that will highlight Transcript syntax). > When I open a stack, I see the warning that it's NOT a > regular text file and I should stop editing. > > I searched my maillist digests but couldn't find it. Does > anyone know if this is possible? Can I safely ignore the > message in the .rev file? > > Thanks! > > Len Morgan > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From docmann at gmail.com Sun Apr 17 10:42:01 2005 From: docmann at gmail.com (docmann) Date: Sun, 17 Apr 2005 09:42:01 -0500 Subject: [ANN] altSQLite SHIPS! In-Reply-To: <4260CCA7.3020803@chipp.com> References: <4260CCA7.3020803@chipp.com> Message-ID: <9d58de7d05041707423abf73ee@mail.gmail.com> Wow! altSQLite definitely looks one of those "must have" tools that I'll be adding to the tool box pretty quickly. ;) Chipp, the tutorial is absolutely first rate! ...I'm getting ready to make the second (or is it the third?) pass through. > You don't need to know a thing about database building because SQLite > works just like Revolution: everything's a string! Question... What about storing binary data such as images? Thx, -Doc- From bill at bluewatermaritime.com Sun Apr 17 11:10:11 2005 From: bill at bluewatermaritime.com (Bill) Date: Sun, 17 Apr 2005 11:10:11 -0400 Subject: Converting mysql to SQLite In-Reply-To: <42619653.7050700@chipp.com> Message-ID: I found a perl program called "SQL - translator" which you can down load from: http://sqlfairy.sourceforge.net/ It is supposed to help translate MySql to SQLite but it is a PERL program that has to be compiled (which I've never done before on OSX). I was hoping for an easy way to just make a complete dump of MySQL and then make a direct import of that dump into SQLite but it looks like there are some differences so the translator is necessary. Maybe with REV's text abilities we could make a translator in your demo stack? The demo stack needs all those SQL utilities you find in the many programs that are available for MySQL like CocoaMySQL and YourSQL. That is great news to hear that Jan is working with you on Quartam reports compatibility. On 4/16/05 6:48 PM, "Chipp Walters" wrote: > Hi Bill, thanks for the nice comment on the demo stack. > > Bill wrote: >> Very nice demo stack. I have a complex existing MySQL database and would >> like to convert it to SQLite in order to see if SQLite is faster. I make >> extensive use of the database controls in RunRev. >> >> Can you add a couple pages to your tutorial stack on how to switch back and >> forth from MySQL to SQLite... > > Will do when I get a chance :-) > >> >> I also wonder about compatibility with Quartam reports. > > Yes, should be compatilble. Jan and I have already started talking about > putting together a tutorial on how to make use QReports with altSQLite. >> >> >> On 4/16/05 4:28 AM, "Chipp Walters" wrote: >> >> >>> ...just thought some of you would like to know >>> >>> Altuit Announces new development tool >>> >>> altSQLite - nothing to install, 4 commands to learn >>> >>> altSQLite is the ONLY embedded Revolution database engine which runs on >>> Mac OSX, Windows XP and Linux! >>> >>> Embed a powerful SQL database inside your application! >>> >>> Altuit's altSQLite engine combines a Revolution compatible revDB driver >>> with the most-popular Open Source client SQL database to create a >>> zero-configuration solution for those developers wanting to embed a >>> database with their applications. >>> >>> Now add database capabilites to your applications with unprecedented >>> ease-of-use! Altuit's Demo and Database tutorial takes you step-by-step >>> through the process of installing (one click of a button), building and >>> accessing databases, even creating report queries. You don't need to >>> know a thing about database building because SQLite works just like >>> Revolution: everything's a string! >>> >>> Altuit will be offering altSQLite for the first 45 days at a substantial >>> discount. altSQLite will retail for $149.00 which includes a license for >>> all three supported platforms. During the first 45 days of release, we >>> will be offering introductory pricing of only $99.00. That's for all >>> three platforms! >>> >>> You can check out the website and what some of our users are saying at: >>> http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm >>> >>> or jump right into the 10-minute demo-tutorial by copy/pasting the >>> following into the msg box: >>> go URL "http://www.gadgetplugins.com/altsqlite/SQLiteDemo.rev" >>> >>> Special thanks to everyone involved in helping get this out the >>> door...especially our beta testers! >>> >>> -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From len-morgan at crcom.net Sun Apr 17 12:08:36 2005 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 17 Apr 2005 11:08:36 -0500 Subject: Alternate Editors Message-ID: <42628A04.2070407@crcom.net> Yes, that's the "template" I saw. If you can't use UltraEdit to edit stack files, it seems kind of pointless to have a template so that's why I'm asking. It looks like at a minimum, I'd have to first create the stack perhaps with no scripts and then I could edit it from there. len From: "MisterX" http://monsieurx.com/modules.php?name=News&file=article&sid=143 ? >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Len Morgan >> Sent: Sunday, April 17, 2005 15:08 >> To: Revolution Email List >> Subject: Alternate Editors >> >> I seem to remember reading somewhere here that you can use >> UltraEdit with RR scripts. I downloaded something a couple >> of days ago that was like a "template" file for UE (which I >> also just downloaded) that will highlight Transcript syntax). >> When I open a stack, I see the warning that it's NOT a >> regular text file and I should stop editing. >> >> I searched my maillist digests but couldn't find it. Does >> anyone know if this is possible? Can I safely ignore the >> message in the .rev file? >> >> Thanks! >> >> Len Morgan >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > From dsc at swcp.com Sun Apr 17 12:07:42 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 17 Apr 2005 10:07:42 -0600 Subject: Problen with goto/try statements In-Reply-To: References: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> <492a9dbfc67d39b0f85f63d38196d3a8@mangomultimedia.com> Message-ID: <46c5b1d11b14c382e661a10b792ed6b8@swcp.com> On Apr 17, 2005, at 5:09 AM, David Burgun wrote: > try > goto stack myStack > catch myErrorText > beep > end try > > But I never get a beep? Is this correct behaviour? A workaround has been suggested elsewhere. However, I think in general this is a problem. In my simplistic mind, a try-catch should catch every Transcript execution error no matter what kind or in what stack. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From jbv.silences at Club-Internet.fr Sun Apr 17 12:20:44 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Sun, 17 Apr 2005 18:20:44 +0200 Subject: compress(), zlib and FlateDecode filter in PDF stream Message-ID: <42628CDB.400890AD@Club-Internet.fr> Hi there, Has anybody succeeded in using the compress() function on PDF data stream using the FlateDecode filter ? According to both docs (PDF ref and Rev), both compress() and FlateDecode are built around the public domain zlib library, but I didn't manage to include compressed data in a pdf file, nor to decompress any pdf data stream in Rev... Any idea ? Could there be some additional encryption in the pdf data stream, or some additional parameter for the FlateDecode filter (predictor) ? Thanks, JB From dburgun at dsl.pipex.com Sun Apr 17 12:19:44 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 17 Apr 2005 17:19:44 +0100 Subject: Problen with goto/try statements In-Reply-To: <46c5b1d11b14c382e661a10b792ed6b8@swcp.com> References: <20050409041947.4271.qmail@web80903.mail.scd.yahoo.com> <492a9dbfc67d39b0f85f63d38196d3a8@mangomultimedia.com> <46c5b1d11b14c382e661a10b792ed6b8@swcp.com> Message-ID: >On Apr 17, 2005, at 5:09 AM, David Burgun wrote: > >>try >>goto stack myStack >>catch myErrorText >>beep >>end try >> >>But I never get a beep? Is this correct behaviour? > >A workaround has been suggested elsewhere. > >However, I think in general this is a problem. In my simplistic >mind, a try-catch should catch every Transcript execution error no >matter what kind or in what stack. I agree, especially one as simple as a wrong file name!!! Bye for now Dave From alex at tweedly.net Sun Apr 17 13:03:50 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 17 Apr 2005 18:03:50 +0100 Subject: Alternate Editors In-Reply-To: <42628A04.2070407@crcom.net> References: <42628A04.2070407@crcom.net> Message-ID: <426296F6.1020305@tweedly.net> Len Morgan wrote: > Yes, that's the "template" I saw. If you can't use UltraEdit to edit > stack files, it seems kind of pointless to have a template so that's > why I'm asking. It looks like at a minimum, I'd have to first create > the stack perhaps with no scripts and then I could edit it from there. Len, the way you would use it is from within the IDE. First, you want a copy of "MLXEditor" from www.mindluube.com/developer This replaces the normal script editor within the IDE with a link to an external editor. Then within the IDE, any time you edit a script, it uses the external editor. It's very convenient - but there are some limitations; I believe it cannot pass line numbers, so when you encounter a script error, and use the "Script" button from the "Error" box, it cannot take you directly to the line in question. I tried it recently, and haven't yet found a way to use a single instance of Emacs to edit multiple scripts (which would be one advantage for me), so I haven't switched over to using it - but will be trying again some day soon. Thanks again to Alex at mindlube for this useful tool. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.15 - Release Date: 16/04/2005 From dburgun at dsl.pipex.com Sun Apr 17 13:30:21 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 17 Apr 2005 18:30:21 +0100 Subject: Menubar Problem In-Reply-To: <42628CDB.400890AD@Club-Internet.fr> References: <42628CDB.400890AD@Club-Internet.fr> Message-ID: Hi, I have a dummy stack that I use to hold the menubar called "MainMenu". All work fine if the "MainMenu" stack is visible, but if I try to hide it, things start to go very wrong!!!!! Does the stack associated with the MenuBar have to be visible? I have this in the preOpenStack handler on preOpenStack hide this stack end preOpenStack If I replace this woth a show this stack all works fine! Thanks in advance Dave From frank at backtalk.com Sun Apr 17 14:08:23 2005 From: frank at backtalk.com (Frank Leahy) Date: Sun, 17 Apr 2005 19:08:23 +0100 Subject: OT: colo space available in San Francisco Message-ID: <7bfb5cb52600efa42e1e702f9124b017@backtalk.com> Hi, I am moving my servers from San Jose to San Francisco, and I've rented a 1/4 cabinet at ColoServe (south of Market). I've got about 4U of space left over. If anyone on this list has a machine or two they'd like to share this space with, please let me know. Regards, -- Frank Leahy Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From dburgun at dsl.pipex.com Sun Apr 17 15:22:18 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sun, 17 Apr 2005 20:22:18 +0100 Subject: Menubar Problem In-Reply-To: References: <42628CDB.400890AD@Club-Internet.fr> Message-ID: All I can say is the way in which RunRev handlles the menu bar on a mac at least is the pits! How anything as fundamental as this can cause sooooooo much trouble with the IDE is just beyond me! Bye for now Dave >Hi, > >I have a dummy stack that I use to hold the menubar called >"MainMenu". All work fine if the "MainMenu" stack is visible, but if >I try to hide it, things start to go very wrong!!!!! > >Does the stack associated with the MenuBar have to be visible? > >I have this in the preOpenStack handler > >on preOpenStack >hide this stack >end preOpenStack > >If I replace this woth a show this stack all works fine! > >Thanks in advance >Dave >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Sun Apr 17 16:38:59 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Sun, 17 Apr 2005 22:38:59 +0200 Subject: LZW compression and binaryEncode Message-ID: <4262C963.75390579@Club-Internet.fr> Hi again, I have an acceptable transcript algorithm for LZW compression. But now I need to convert the output serie of index into binary data... Anyone familiar with this ? I guess I need to use binaryEncode, but how to set up parameters ? Thanks, JB From dsc at swcp.com Sun Apr 17 16:37:23 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 17 Apr 2005 14:37:23 -0600 Subject: compress(), zlib and FlateDecode filter in PDF stream In-Reply-To: <42628CDB.400890AD@Club-Internet.fr> References: <42628CDB.400890AD@Club-Internet.fr> Message-ID: <7c155047dc7cbc69597fea881e65b8f4@swcp.com> On Apr 17, 2005, at 10:20 AM, jbv wrote: > Has anybody succeeded in using the compress() function > on PDF data stream using the FlateDecode filter ? > According to both docs (PDF ref and Rev), both compress() > and FlateDecode are built around the public domain zlib > library, but I didn't manage to include compressed data > in a pdf file, nor to decompress any pdf data stream in > Rev... The Revolution compress() creates gzip which has a wrapper around the zlib format. You can dig into the binary and do primitive zlib compression. And decompression IF you know the length of the result. Maybe, someday I'll make a library available. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From jbv.silences at Club-Internet.fr Sun Apr 17 16:53:11 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Sun, 17 Apr 2005 22:53:11 +0200 Subject: compress(), zlib and FlateDecode filter in PDF stream References: <42628CDB.400890AD@Club-Internet.fr> <7c155047dc7cbc69597fea881e65b8f4@swcp.com> Message-ID: <4262CCB6.339E5344@Club-Internet.fr> Dar, > > The Revolution compress() creates gzip which has a wrapper around the > zlib format. You can dig into the binary and do primitive zlib > compression. And decompression IF you know the length of the result. > Thanks for the reply. Could you please elaborate a bit on this, especially "digging into the binary" ? Do you mean I can remove the wrapper code ? Thanks in advance, JB From dsc at swcp.com Sun Apr 17 16:53:00 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 17 Apr 2005 14:53:00 -0600 Subject: LZW compression and binaryEncode In-Reply-To: <4262C963.75390579@Club-Internet.fr> References: <4262C963.75390579@Club-Internet.fr> Message-ID: On Apr 17, 2005, at 2:38 PM, jbv wrote: > But now I need to convert the output serie of index into binary > data... Anyone familiar with this ? > I guess I need to use binaryEncode, but how to set up parameters ? Normally, we think of a value in Transcript as a sequence of characters. When we work with binary we can view each character as that for an 8-bit encoding, that is, a byte. Thus, a value can be viewed as a sequence of bytes. Just as we can concatenate characters with &, we an concatenate what we consider to be bytes sequences the same way. To get at the numerical value of the byte, you can use charToNum(). You can also use numToChar() as the inverse. You can also use binaryEncode() and binaryDecode(). Most formats are in host order and so are of limited utility. However, some formats, such as "N", are big endian. If you need small endian formatting, just reverse. There are some formats missing, so you would want to build up a few simple functions to help. For example, put binaryEncode("N",566) into aLen would put 4 bytes (chars) into aLen. Dar -- ************************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Custom libraries (with externals, if needed) ************************************************** From kgjaqua1 at sbcglobal.net Sun Apr 17 16:54:50 2005 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Sun, 17 Apr 2005 13:54:50 -0700 (PDT) Subject: Lists and Custom Properties Message-ID: <20050417205450.62022.qmail@web81107.mail.yahoo.com> Hi Dick, Thank you. I am somewhat new at this myself. I figure out this Custom Prop script last week. This correction does help the script run faster, So you response is of great help to me:) I should do this more often, Kathy Graves Jaqua A Wildest Dream Software kgjaqua1 at sbcGlobal.net --There's always one more bug. --When the field has more than one line, that code fails. --If you really want to delete each line one at a time, --repeat with x = number of lines in me down to 1 --But the following is easier and faster: --put empty into me -- Dick From jbv.silences at Club-Internet.fr Sun Apr 17 17:07:26 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Sun, 17 Apr 2005 23:07:26 +0200 Subject: LZW compression and binaryEncode References: <4262C963.75390579@Club-Internet.fr> Message-ID: <4262D00C.90DF5E87@Club-Internet.fr> Dar, Thanks again for the reply, but actually I know most of what you explained, as I've already fiddled with the binaryEncode function (for sound files & other data manipulations)... Although, several issues still remain unclear : my serie of output indexes resulting from the LZW compression feature more than 256 entries. Therefore I'm wondering how this could be represented in binary, in order to be decoded by the LZW filter in pdf... Best, JB > On Apr 17, 2005, at 2:38 PM, jbv wrote: > > But now I need to convert the output serie of index into binary > > data... Anyone familiar with this ? > > I guess I need to use binaryEncode, but how to set up parameters ? > > Normally, we think of a value in Transcript as a sequence of > characters. When we work with binary we can view each character as > that for an 8-bit encoding, that is, a byte. Thus, a value can be > viewed as a sequence of bytes. Just as we can concatenate characters > with &, we an concatenate what we consider to be bytes sequences the > same way. > > To get at the numerical value of the byte, you can use charToNum(). > You can also use numToChar() as the inverse. > > You can also use binaryEncode() and binaryDecode(). Most formats are > in host order and so are of limited utility. However, some formats, > such as "N", are big endian. If you need small endian formatting, just > reverse. There are some formats missing, so you would want to build up > a few simple functions to help. > > For example, > > put binaryEncode("N",566) into aLen > > would put 4 bytes (chars) into aLen. > > Dar > > -- > ************************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > Custom libraries (with externals, if needed) > ************************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Sun Apr 17 17:53:43 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 17 Apr 2005 23:53:43 +0200 Subject: Alternate Editors In-Reply-To: <42628A04.2070407@crcom.net> Message-ID: <20050417220628.55345930061@mail.runrev.com> Len It was just meant for editing scripts where the editor has performance trouble... Also there was a way to use a external editors that I tried... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Len Morgan > Sent: Sunday, April 17, 2005 18:09 > To: Revolution Email List > Subject: RE: Alternate Editors > > Yes, that's the "template" I saw. If you can't use UltraEdit > to edit stack files, it seems kind of pointless to have a > template so that's why I'm asking. It looks like at a > minimum, I'd have to first create the stack perhaps with no > scripts and then I could edit it from there. > > len > > > > http://monsieurx.com/modules.php?name=News&file=article&sid=143 > > ? > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com > >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Len > >> Morgan > >> Sent: Sunday, April 17, 2005 15:08 > >> To: Revolution Email List > >> Subject: Alternate Editors > >> > >> I seem to remember reading somewhere here that you can use > UltraEdit > >> with RR scripts. I downloaded something a couple of days ago that > >> was like a "template" file for UE (which I also just > downloaded) that > >> will highlight Transcript syntax). > >> When I open a stack, I see the warning that it's NOT a > regular text > >> file and I should stop editing. > >> > >> I searched my maillist digests but couldn't find it. Does anyone > >> know if this is possible? Can I safely ignore the message in the > >> .rev file? > >> > >> Thanks! > >> > >> Len Morgan > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Sun Apr 17 18:00:00 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 17 Apr 2005 16:00:00 -0600 Subject: compress(), zlib and FlateDecode filter in PDF stream In-Reply-To: <4262CCB6.339E5344@Club-Internet.fr> References: <42628CDB.400890AD@Club-Internet.fr> <7c155047dc7cbc69597fea881e65b8f4@swcp.com> <4262CCB6.339E5344@Club-Internet.fr> Message-ID: <874cfbfa84a3fad58735f50eee0300d0@swcp.com> On Apr 17, 2005, at 2:53 PM, jbv wrote: >> The Revolution compress() creates gzip which has a wrapper around the >> zlib format. You can dig into the binary and do primitive zlib >> compression. And decompression IF you know the length of the result. >> > > Thanks for the reply. > Could you please elaborate a bit on this, > especially "digging into the binary" ? > Do you mean I can remove the wrapper code ? Remove the wrapper bytes. Look at RFC1952, which describes gzip. That is what compress() creates. The gzip binary format consists of header, deflate blocks, crc and length. The header generated by compress() is fixed length, so it is easy to remove. To get the raw deflate blocks, just remove everything else or use a simple char n to m of compress(x). The problem, of course, is figuring out the right n and m. If those deflate blocks are what you want, then this should do it. If not, then I misunderstood. (For those curious, going the other direction is more interesting.) Dar Scott -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From dsc at swcp.com Sun Apr 17 18:23:28 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 17 Apr 2005 16:23:28 -0600 Subject: LZW compression and binaryEncode In-Reply-To: <4262D00C.90DF5E87@Club-Internet.fr> References: <4262C963.75390579@Club-Internet.fr> <4262D00C.90DF5E87@Club-Internet.fr> Message-ID: <332ca529bb228f3894f559c53b528b14@swcp.com> On Apr 17, 2005, at 3:07 PM, jbv wrote: > Thanks again for the reply, but actually I know most of > what you explained, as I've already fiddled with the > binaryEncode function (for sound files & other data > manipulations)... I apologize, I thought you were asking about binaryEncode and binary representation. I didn't understand the query. > Although, several issues still remain unclear : my serie > of output indexes resulting from the LZW compression > feature more than 256 entries. Therefore I'm wondering > how this could be represented in binary, in order to be > decoded by the LZW filter in pdf... LZW? I apologize again. I had gotten the impression you were interested in "deflate", a different compression method. In either case, I'm not familiar with the insides; I "deflate" as a black box. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From dsc at swcp.com Sun Apr 17 18:28:59 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 17 Apr 2005 16:28:59 -0600 Subject: compress(), zlib and FlateDecode filter in PDF stream In-Reply-To: <874cfbfa84a3fad58735f50eee0300d0@swcp.com> References: <42628CDB.400890AD@Club-Internet.fr> <7c155047dc7cbc69597fea881e65b8f4@swcp.com> <4262CCB6.339E5344@Club-Internet.fr> <874cfbfa84a3fad58735f50eee0300d0@swcp.com> Message-ID: On Apr 17, 2005, at 4:00 PM, Dar Scott wrote: > If those deflate blocks are what you want, then this should do it. If you need zlib, then you need to wrap that. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From mwieder at ahsoftware.net Sun Apr 17 18:30:35 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 17 Apr 2005 15:30:35 -0700 Subject: Very annoying IDE Problem In-Reply-To: References: Message-ID: <1551086141.20050417153035@ahsoftware.net> Eric- Sunday, April 17, 2005, 5:17:08 AM, you wrote: EC> answer file "Where is my weird stack?";lock messages;go stack it LOL. Can't help being amused by a language that allows "go stack it" -- -Mark Wieder mwieder at ahsoftware.net From devin_asay at byu.edu Sun Apr 17 19:41:03 2005 From: devin_asay at byu.edu (Devin Asay) Date: Sun, 17 Apr 2005 17:41:03 -0600 Subject: Database access from NAT network Message-ID: Hi, I'm having trouble accessing a MySQL database. I'm on OS X 10.3.8 and Rev 2.5/2.5.1. I am not able to access either of my MySQL servers at work from my home network. They are both on MAC OS X servers on publc IP addresses. I can reach them from home via SSH, FTP, AFP, HTTP and others. For example I can SSH into a server and run the mysql command line process. But any time I try to connect to a database through Rev, the request simply hangs, with a spinning lollipop, for several minutes until I finally get an error message " " Strangely enough, twice (out of maybe 12 tries) the database connected successfully. The connection took a long time to establish, then each query takes a similarly long time (5+ minutes.) Is the process simply timing out? Might there be ports closed that need to be open on my home router? (What port do revdb processes use?) Anybody give me any tips for how to configure my router (an SMC Barricade G wireless router) to speed up/unblock or whatever access to these db servers? Devin Asay Humanities Technology and Research Support Center Brigham Young University From bill at bluewatermaritime.com Sun Apr 17 20:08:34 2005 From: bill at bluewatermaritime.com (Bill) Date: Sun, 17 Apr 2005 20:08:34 -0400 Subject: Converting mysql to SQLite In-Reply-To: Message-ID: I also found a SQLite manager http://www.macupdate.com/info.php/id/14140 It isn't as good as YourSQL but it is useable which is more than can be said for trying to get the SQL-translator to compile on Mac OSX without having so many errors when you: $ make test On 4/17/05 11:10 AM, "Bill" wrote: > I found a perl program called "SQL - translator" which you can down load > from: > > http://sqlfairy.sourceforge.net/ | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From ypmartin at estudiantes.uci.cu Sun Apr 17 20:34:01 2005 From: ypmartin at estudiantes.uci.cu (Yonnys Pablo Martin Olivera) Date: Sun, 17 Apr 2005 20:34:01 -0400 Subject: Revolution and .swf Message-ID: <10CE25067E223C42844207FFCF13E7F202718085@ucidcx.uci.cu> Hello: I am beginning to program in revolution, but previously I had had experience in Flash of Macromedia and I would like to know if somebody could help on that relationship is between Revolution and the files .swf and if some form exists of linking them. Thank. Yonnys Pablo Martin Olivera[ypmartin at estudinates.uci.cu]. From sarahr at genesearch.com.au Sun Apr 17 20:56:34 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 18 Apr 2005 10:56:34 +1000 Subject: Menubar Problem In-Reply-To: References: <42628CDB.400890AD@Club-Internet.fr> Message-ID: <0add81344cae9a2211e333403ed6b711@genesearch.com.au> > I have a dummy stack that I use to hold the menubar called "MainMenu". > All work fine if the "MainMenu" stack is visible, but if I try to hide > it, things start to go very wrong!!!!! > > Does the stack associated with the MenuBar have to be visible? > > I have this in the preOpenStack handler > > on preOpenStack > hide this stack > end preOpenStack > > If I replace this woth a show this stack all works fine! > Hi Dave, I use this technique too, but I never actually open the menubar stack. In the stack(s) where I want the menu to appear, I just have a line in the preOpenStack handler saying: set the menubar of me to "MyMenubar" and it all works fine. HTH, Sarah From scott at tactilemedia.com Sun Apr 17 20:59:27 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 17 Apr 2005 17:59:27 -0700 Subject: Revolution and .swf In-Reply-To: <10CE25067E223C42844207FFCF13E7F202718085@ucidcx.uci.cu> Message-ID: Recently, Yonnys Pablo Martin Olivera wrote: > I am beginning to program in revolution, but previously I had had > experience in Flash of Macromedia and I would like to know if somebody > could help on that relationship is between Revolution and the files .swf > and if some form exists of linking them. The only direct link at this point is playing SWF files via QuickTime using the Player object in Rev. Depending on the version of QT and the saved version of the SWF, you can get some basic communication between Rev and Flash. It is also possible to use sockets to communicate on the host machine locally. Other folks may chime in with additional options. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sarahr at genesearch.com.au Sun Apr 17 21:15:20 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 18 Apr 2005 11:15:20 +1000 Subject: Database access from NAT network In-Reply-To: References: Message-ID: Hi Devin, The problem shouldn't be your home router - it only blocks incoming stuff. It is very strange that your connection attempt worked a couple of times. I would suspect either the firewall settings on your OS X server, the firewall settings on the work router (if any) or the privileges settings on the MySQL server itself. When you grant privileges to the MySQL server, you have to specify the IP address the person will be connecting from. This can be a single address, a range, a subnet or set to allow connection from anywhere. Have a look at this to see if that could be the problem. Cheers, Sarah On 18 Apr 2005, at 9:44 AM, Devin Asay wrote: > Hi, I'm having trouble accessing a MySQL database. I'm on OS X 10.3.8 > and Rev 2.5/2.5.1. > > I am not able to access either of my MySQL servers at work from my > home network. They are both on MAC OS X servers on publc IP addresses. > I can reach them from home via SSH, FTP, AFP, HTTP and others. For > example I can SSH into a server and run the mysql command line > process. But any time I try to connect to a database through Rev, the > request simply hangs, with a spinning lollipop, for several minutes > until I finally get an error message " " > > Strangely enough, twice (out of maybe 12 tries) the database connected > successfully. The connection took a long time to establish, then each > query takes a similarly long time (5+ minutes.) > > Is the process simply timing out? > > Might there be ports closed that need to be open on my home router? > (What port do revdb processes use?) > > Anybody give me any tips for how to configure my router (an SMC > Barricade G wireless router) to speed up/unblock or whatever access to > these db servers? > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From bill at bluewatermaritime.com Sun Apr 17 21:21:51 2005 From: bill at bluewatermaritime.com (Bill) Date: Sun, 17 Apr 2005 21:21:51 -0400 Subject: Converting mysql to SQLite In-Reply-To: Message-ID: I found a truly excellent SQLite browser/editor better than SQLite manager which is also not public domain like "SQLite Browser". http://sourceforge.net/projects/sqlitebrowser/ But it requires SQLite 3.0 database files and it turns out the version of SQLite installed with altSQLite is SQLite 2.1 (when you look at the generated database file that is what it says) even though it says on the Altuit web site that the version used is 2.8 On 4/17/05 8:08 PM, "Bill" wrote: > I also found a SQLite manager > > http://www.macupdate.com/info.php/id/14140 > > It isn't as good as YourSQL but it is useable which is more than can be said > for trying to get the SQL-translator to compile on Mac OSX without having so > many errors when you: $ make test > > > On 4/17/05 11:10 AM, "Bill" wrote: > >> I found a perl program called "SQL - translator" which you can down load >> from: >> >> http://sqlfairy.sourceforge.net/ > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- http://www.bluewatermaritime.com > ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ > ^^^^ ^^^^ ^^^ ^^ > ^^^^ ^^^ > > 24 hour cell: (787) 378-6190 > fax: (787) 809-8426 > > Blue Water Maritime > P.O. Box 91 > Puerto Real, PR 00740 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From revdan at danshafer.com Sun Apr 17 22:32:30 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 17 Apr 2005 19:32:30 -0700 Subject: Dan & Chipp Are Traveling Message-ID: <22bc5c9543b9fb174aaf4c914dfc4a34@danshafer.com> Just so those of you who are signed up for RevCon West (the LARGEST group of developers ever signed up for such a gathering already...and we have more than two months to go!) or have questions about it won't think Chipp and I have absconded with the funds never to be heard from again (there weren't THAT many sign-ups!).... Chipp and I are both on vacation this week. Complete coincidence that we're gone at the same time, but it seemed like a good idea to let our fellow Revolutionaries know. We're both back in the saddle on Monday, April 25. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From lists at mangomultimedia.com Sun Apr 17 22:51:28 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 17 Apr 2005 19:51:28 -0700 Subject: Converting mysql to SQLite In-Reply-To: References: Message-ID: <7644fa9c5c7afb259a04d559bd5476d3@mangomultimedia.com> On Apr 17, 2005, at 6:21 PM, Bill wrote: > But it requires SQLite 3.0 database files and it turns out the version > of > SQLite installed with altSQLite is SQLite 2.1 (when you look at the > generated database file that is what it says) even though it says on > the > Altuit web site that the version used is 2.8 altSQLite does use version 2.8 but the version of the SQLite db file is 2.1. I tested this with the compiled version of SQLite 2.8 and it reports 2.1 as well. Though this might not help you in the short term I am incorporating code in the next release of libDatabase which will convert from one database to another without use of any external programs. Right now the code I have just does MySQL to Valentina but I am in the middle of making it more generic and incorporation it into libDatabse so it will be easy to add additional db support. I plan on releasing 2.0 of libDatabase with support for MySQL, SQLite and Valentina. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From webmaster at dreamscapesoftware.com Sun Apr 17 22:58:54 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 17 Apr 2005 21:58:54 -0500 Subject: Revolution and .swf In-Reply-To: <10CE25067E223C42844207FFCF13E7F202718085@ucidcx.uci.cu> References: <10CE25067E223C42844207FFCF13E7F202718085@ucidcx.uci.cu> Message-ID: <4263226E.2040200@dreamscapesoftware.com> > I am beginning to program in revolution, but previously I had had > experience in Flash of Macromedia and I would like to know if somebody > could help on that relationship is between Revolution and thefiles.swf > and if some form exists of linking them. You should check out the EnhancedQT external. I'm not sure of the url, but just do a search on google and you'll find it. I do believe it allows for much more advanced communications with QuickTime Player objects with Flash movies. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.6.1 http://www.dreamscapesoftware.com/ From ambassador at fourthworld.com Mon Apr 18 00:03:49 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 17 Apr 2005 21:03:49 -0700 Subject: Very annoying IDE Problem In-Reply-To: References: Message-ID: <426331A5.3040405@fourthworld.com> Eric Chatonet wrote: > Hi David, > > If locking messages does not change anything, that means probably that > your stack is corrupted :-( With all due respect, probably not. With HyperCard corruption was an ever-present risk, but it's very rare in Rev -- for background see: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From len-morgan at crcom.net Mon Apr 18 00:23:07 2005 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 17 Apr 2005 23:23:07 -0500 Subject: Database access from NAT network Message-ID: <4263362B.2030804@crcom.net> MySQL uses port 3306 by default so if you don't have that port open on the network you're trying to connect to, you're going to have problems. It's possible that the long delay is a DNS issue. I don't use mySQL myself but lots of programs (ssh, ftp, etc) get really slow if DNS isn't working right. I don't think there is anything you need to do on your end with your router unless you are blocking outgoing connections (not a common default setting). As far as "what port does revdb process use", if it's talking to mySQL, it's going to use 3306 unless you tell it otherwise. You might search for a port scanner to run from home and see if port 3306 is in fact open to the outside world. I know this isn't much help but maybe it can get you started... len morgan > Hi, I'm having trouble accessing a MySQL database. I'm on OS X 10.3.8 > and Rev 2.5/2.5.1. > > I am not able to access either of my MySQL servers at work from my home > network. They are both on MAC OS X servers on publc IP addresses. I can > reach them from home via SSH, FTP, AFP, HTTP and others. For example I > can SSH into a server and run the mysql command line process. But any > time I try to connect to a database through Rev, the request simply > hangs, with a spinning lollipop, for several minutes until I finally > get an error message " " > > Strangely enough, twice (out of maybe 12 tries) the database connected > successfully. The connection took a long time to establish, then each > query takes a similarly long time (5+ minutes.) > > Is the process simply timing out? > > Might there be ports closed that need to be open on my home router? > (What port do revdb processes use?) > > Anybody give me any tips for how to configure my router (an SMC > Barricade G wireless router) to speed up/unblock or whatever access to > these db servers? > > Devin Asay From devin_asay at byu.edu Mon Apr 18 01:23:19 2005 From: devin_asay at byu.edu (Devin Asay) Date: Sun, 17 Apr 2005 23:23:19 -0600 Subject: Database access from NAT network In-Reply-To: References: Message-ID: <20854f6fd02961ad79c906731ecc6ede@byu.edu> I realized I neglected to include the error revdb was returning: "Revdb Error: Lost connection to MySQL server during query." Thanks, Sarah and Len, for your suggestions. I'll check those out. It may be that the university is blocking port 3306. (though that wouldn't explain why I was able to connect twice.) Devin On Apr 17, 2005, at 7:15 PM, Sarah Reichelt wrote: > Hi Devin, > > The problem shouldn't be your home router - it only blocks incoming > stuff. > It is very strange that your connection attempt worked a couple of > times. I would suspect either the firewall settings on your OS X > server, the firewall settings on the work router (if any) or the > privileges settings on the MySQL server itself. > > When you grant privileges to the MySQL server, you have to specify the > IP address the person will be connecting from. This can be a single > address, a range, a subnet or set to allow connection from anywhere. > Have a look at this to see if that could be the problem. > > Cheers, > Sarah > > On 18 Apr 2005, at 9:44 AM, Devin Asay wrote: > >> Hi, I'm having trouble accessing a MySQL database. I'm on OS X 10.3.8 >> and Rev 2.5/2.5.1. >> >> I am not able to access either of my MySQL servers at work from my >> home network. They are both on MAC OS X servers on publc IP >> addresses. I can reach them from home via SSH, FTP, AFP, HTTP and >> others. For example I can SSH into a server and run the mysql command >> line process. But any time I try to connect to a database through >> Rev, the request simply hangs, with a spinning lollipop, for several >> minutes until I finally get an error message " " >> >> Strangely enough, twice (out of maybe 12 tries) the database >> connected successfully. The connection took a long time to establish, >> then each query takes a similarly long time (5+ minutes.) >> >> Is the process simply timing out? >> >> Might there be ports closed that need to be open on my home router? >> (What port do revdb processes use?) >> >> Anybody give me any tips for how to configure my router (an SMC >> Barricade G wireless router) to speed up/unblock or whatever access >> to these db servers? >> >> Devin Asay >> Humanities Technology and Research Support Center >> Brigham Young University >> >> _______________________________________________ >> 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 > > Devin Asay Humanities Technology and Research Support Center Brigham Young University From erikhans08 at yahoo.com Mon Apr 18 02:24:44 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 17 Apr 2005 23:24:44 -0700 (PDT) Subject: arrowKey modifier? In-Reply-To: 6667 Message-ID: <20050418062445.4043.qmail@web31304.mail.mud.yahoo.com> erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs From erikhans08 at yahoo.com Mon Apr 18 02:30:05 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 17 Apr 2005 23:30:05 -0700 (PDT) Subject: arrowKey modifier? In-Reply-To: 6667 Message-ID: <20050418063010.87289.qmail@web31306.mail.mud.yahoo.com> is there a way to modify the arrowkey message? to imitate the way arrowKey with shiftKey lets you move selected objects a greater distance thanks, Erik Hansen erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Plan great trips with Yahoo! Travel: Now over 17,000 guides! http://travel.yahoo.com/p-travelguide From jperryl at ecs.fullerton.edu Mon Apr 18 02:32:20 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 17 Apr 2005 23:32:20 -0700 (PDT) Subject: Dan & Chipp Are Traveling In-Reply-To: <22bc5c9543b9fb174aaf4c914dfc4a34@danshafer.com> Message-ID: Hmmmm.... "the LARGEST group of developers ever signed up for such a gathering" and "there weren't THAT many sign-ups!"... together... in not only the same paragraph, but the same sentence, dealing with the same group of folks. I don't know what to think. And, I'm one of the "weren't THAT many sign-ups!". I don't know whether to feel depressed or part of a super-duper, exclusive, club. But looking forward to Monterey none-the-less. At least the wine will be great. Or okay anyway (if you're driving Coastal-ish California from the south, and you like good, hearty red wines, try Paso Robles! Home of California's Barbera varietals). Perhaps the 'problem' if there is one is that the community is smallish AND widely-dispersed, meaning that any devCon will be sparsely-attended at best without any aspersions on the greater community at-large? Maybe it's the culture that is a compensating grace factor. Not to be self-congratulatory, but a student on Wednesday asked about getting all of my sample stacks/handouts and I pointed her to the Tabs thingy on RevOnline. She quite frankly was amazed. Got things a little confused and asked if I worked for Apple, then for Rev...and then said something to the effect, 'you did this for free for absolute strangers'? I had to explain that it was a valuable part of the user culture. Apparently not-so-well-known elsewhere. Judy On Sun, 17 Apr 2005, Dan Shafer wrote: > Just so those of you who are signed up for RevCon West (the LARGEST > group of developers ever signed up for such a gathering already...and > we have more than two months to go!) or have questions about it won't > think Chipp and I have absconded with the funds never to be heard from > again (there weren't THAT many sign-ups!).... From jperryl at ecs.fullerton.edu Mon Apr 18 02:39:10 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 17 Apr 2005 23:39:10 -0700 (PDT) Subject: Revolution and .swf In-Reply-To: <10CE25067E223C42844207FFCF13E7F202718085@ucidcx.uci.cu> Message-ID: I gotta admit, I still don't get this. Flash is perhaps the preeminent 2D animation file format; probably overtaking Director? Not "getting" Flash or providing some native support for it positively cripples Rev as a multimedia scripting environment. And I don't even USE Flash (beyond trying to get together a little handout on doing simple animation in it for my class). I recently revisited the Animation Builder. Didn't really suck all that much, did it? No Flash, certainly, but without native support for Flash, what is the simple DreamCard developer wishing to include animation to do? And now they don't even have that (the Animation Builder, that is)... Judy On Sun, 17 Apr 2005, Yonnys Pablo Martin Olivera wrote: > Hello: > I am beginning to program in revolution, but previously I had had > experience in Flash of Macromedia and I would like to know if somebody > could help on that relationship is between Revolution and the files .swf > and if some form exists of linking them. From kray at sonsothunder.com Mon Apr 18 02:41:04 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 18 Apr 2005 01:41:04 -0500 Subject: arrowKey modifier? In-Reply-To: <20050418063010.87289.qmail@web31306.mail.mud.yahoo.com> Message-ID: On 4/18/05 1:30 AM, "Erik Hansen" wrote: > is there a way to modify the arrowkey message? > to imitate the way arrowKey with shiftKey > lets you move selected objects > a greater distance If I'm reading you correctly, you just trap the message, get the direction of the arrowkey and process accordingly. So you could do: on arrowKey pDir if the shiftKey is down then put 10 into tIncr else put 1 into tIncr put the selectedObject into tObj if tObj <> "" then switch pDir case "left" set the left of tObj to (the left of tObj - tIncr) break case "right" set the left of tObj to (the left of tObj + tIncr) break case "up" set the top of tObj to (the top of tObj - tIncr) break case "down" set the top of tObj to (the top of tObj + tIncr) break end switch else pass arrowkey end if end arrowKey Is this what you're looking for? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From xbury.cs at clearstream.com Mon Apr 18 03:16:10 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 18 Apr 2005 09:16:10 +0200 Subject: Revolution and .swf Message-ID: Judy, I tend to disagree. While there is no animation manager anymore, it's like the GM manager, write your own and you'll have 10X more benefits! swf files cannot be imported but fla files can and they can also be translated into transcript easily (after some experimenting naturally). The thing to remember is that Flash does have a leg up on graphics and smooth animation, 3D or font effects which make Rev look like a wooden car... But it's just a matter of programming or finding the right tricks and you'll see that you too can also to the same or close too... See the PieChart stack I posted on Monsieurx.com, it's as good looking as most flash apps and works just as great - click on the about for a nice and smooth animation to prove that too... Rev is crippled when you compare it directly to Flash, but after some scripting it does the same thing... 2D or 3D... And we can only hope that the Rev team will deliver a 3rd dimention, vectored fonts, bezier curves, anti-aliassing, better alpha-channel support for all objects... Rather than making a crippled animation or geometry manager that does only the basics... For the funny bit, i wrote the third dimention already into my MagicGM ;) Not quite useless considering layers... BTW, the animation builder still seems to be in the backscripts... cheers Xavier On 18.04.2005 08:39:10 use-revolution-bounces wrote: >I gotta admit, I still don't get this. > >Flash is perhaps the preeminent 2D animation file format; probably >overtaking Director? > >Not "getting" Flash or providing some native support for it positively >cripples Rev as a multimedia scripting environment. > >And I don't even USE Flash (beyond trying to get together a little handout >on doing simple animation in it for my class). > >I recently revisited the Animation Builder. Didn't really suck all that >much, did it? No Flash, certainly, but without native support for Flash, >what is the simple DreamCard developer wishing to include animation to do? > >And now they don't even have that (the Animation Builder, that is)... > >Judy > > > >On Sun, 17 Apr 2005, Yonnys Pablo Martin Olivera wrote: > >> Hello: >> I am beginning to program in revolution, but previously I had had >> experience in Flash of Macromedia and I would like to know if somebody >> could help on that relationship is between Revolution and the files .swf >> and if some form exists of linking them. > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From revdan at danshafer.com Mon Apr 18 03:18:51 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 18 Apr 2005 00:18:51 -0700 Subject: Dan & Chipp Are Traveling In-Reply-To: References: Message-ID: Sorry, Judy. Just a bad attempt at humor. I meant: The turnout is huge, bigger than we anticipated. But there isn't enough money in the kitty for me and Chipp to disappear. Whew. Back to my packing. Dan On Apr 17, 2005, at 11:32 PM, Judy Perry wrote: > Hmmmm.... "the LARGEST group of developers ever signed up for such a > gathering" and "there weren't THAT many sign-ups!"... together... in > not > only the same paragraph, but the same sentence, dealing with the same > group of folks. > > I don't know what to think. And, I'm one of the "weren't THAT many > sign-ups!". > > I don't know whether to feel depressed or part of a super-duper, > exclusive, club. > > But looking forward to Monterey none-the-less. At least the wine will > be > great. Or okay anyway (if you're driving Coastal-ish California from > the > south, and you like good, hearty red wines, try Paso Robles! Home of > California's Barbera varietals). > > Perhaps the 'problem' if there is one is that the community is smallish > AND widely-dispersed, meaning that any devCon will be sparsely-attended > at best without any aspersions on the greater community at-large? > > Maybe it's the culture that is a compensating grace factor. Not to be > self-congratulatory, but a student on Wednesday asked about getting > all of > my sample stacks/handouts and I pointed her to the Tabs thingy on > RevOnline. > > She quite frankly was amazed. Got things a little confused and asked > if I > worked for Apple, then for Rev...and then said something to the effect, > 'you did this for free for absolute strangers'? > > I had to explain that it was a valuable part of the user culture. > Apparently not-so-well-known elsewhere. > > Judy > > > > On Sun, 17 Apr 2005, Dan Shafer wrote: > >> Just so those of you who are signed up for RevCon West (the LARGEST >> group of developers ever signed up for such a gathering already...and >> we have more than two months to go!) or have questions about it won't >> think Chipp and I have absconded with the funds never to be heard from >> again (there weren't THAT many sign-ups!).... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Mon Apr 18 03:21:51 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 18 Apr 2005 09:21:51 +0200 Subject: Very annoying IDE Problem In-Reply-To: <426331A5.3040405@fourthworld.com> References: <426331A5.3040405@fourthworld.com> Message-ID: <17bd30f54253bae157e973d9d2e5dd34@sosmartsoftware.com> Hi Richard, I agree. Once more time my bad english played a dirty trick on me :-( I was thinking of something like an additional invisible char in a script which *corrupts* programming. Identifying and solving such a problem is really tricky. Le 18 avr. 05, ? 06:03, Richard Gaskin a ?crit : > Eric Chatonet wrote: >> Hi David, >> If locking messages does not change anything, that means probably >> that your stack is corrupted :-( > > With all due respect, probably not. > > With HyperCard corruption was an ever-present risk, but it's very rare > in Rev -- for background see: > 017928.html> Best, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From briany at qldlearning.com Mon Apr 18 05:24:17 2005 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 18 Apr 2005 02:24:17 -0700 Subject: Revolution and .swf In-Reply-To: References: Message-ID: <13ce8ed34ea863c78b6a632f7fb99b0b@qldlearning.com> Judy, I believe one problem is that there is no public API for embedded Flash support. Last I checked, it requires paying a hefty license to Macromedia for a development kit. Implementing from scratch is a huge task also- notice that they aren't really any 3rd party Flash Players (even Quicktime's support is always a little behind the curve). FWIW. I haven't looked into this in a while. The only reasonable way I know of to support Flash would be to offer up support for browser plug-ins. Does anyone know of a dev environment that _does_ include embedded Flash playback in a desktop app? - Brian > I gotta admit, I still don't get this. > > Flash is perhaps the preeminent 2D animation file format; probably > overtaking Director? > > Not "getting" Flash or providing some native support for it positively > cripples Rev as a multimedia scripting environment. > > And I don't even USE Flash (beyond trying to get together a little > handout > on doing simple animation in it for my class). > > I recently revisited the Animation Builder. Didn't really suck all > that > much, did it? No Flash, certainly, but without native support for > Flash, > what is the simple DreamCard developer wishing to include animation to > do? > > And now they don't even have that (the Animation Builder, that is)... > > Judy > > > > On Sun, 17 Apr 2005, Yonnys Pablo Martin Olivera wrote: > >> Hello: >> I am beginning to program in revolution, but previously I had >> had >> experience in Flash of Macromedia and I would like to know if somebody >> could help on that relationship is between Revolution and the files >> .swf >> and if some form exists of linking them. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sims at ezpzapps.com Mon Apr 18 05:26:40 2005 From: sims at ezpzapps.com (sims) Date: Mon, 18 Apr 2005 11:26:40 +0200 Subject: Revolution and .swf In-Reply-To: References: Message-ID: At 11:39 PM -0700 4/17/05, Judy Perry wrote: > >Flash is perhaps the preeminent 2D animation file format; probably >overtaking Director? I wonder how or if Flash is going to change now that it seems Adobe is going to be the new owner of Macromedia? ciao, sims From dburgun at dsl.pipex.com Mon Apr 18 05:48:33 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 18 Apr 2005 10:48:33 +0100 Subject: Menubar Problem In-Reply-To: <0add81344cae9a2211e333403ed6b711@genesearch.com.au> References: <42628CDB.400890AD@Club-Internet.fr> <0add81344cae9a2211e333403ed6b711@genesearch.com.au> Message-ID: Hi, Thanks for the help! I must admit I was becoming slight despondent last night! All was failing around me. The main problem with the menubar handling is that if there is a bug, it seems to really mess up the IDE and it gets your stack into a state where it can't be access via the IDE. I think what happens is that, a scirpt in the card stack thats sets the menu bar has an execution error, but for some reason this error does not get handled by the IDE, it looks like the script still has control and so the IDE never gets a chance to process the error and therefore is hosed. >>I have a dummy stack that I use to hold the menubar called >>"MainMenu". All work fine if the "MainMenu" stack is visible, but >>if I try to hide it, things start to go very wrong!!!!! >> >>Does the stack associated with the MenuBar have to be visible? >> >>I have this in the preOpenStack handler >> >>on preOpenStack >>hide this stack >>end preOpenStack >> >>If I replace this woth a show this stack all works fine! >> > >Hi Dave, > >I use this technique too, but I never actually open the menubar stack. >In the stack(s) where I want the menu to appear, I just have a line >in the preOpenStack handler saying: > set the menubar of me to "MyMenubar" >and it all works fine. > >HTH, >Sarah Yes, it does, but if the stack is never opened, how does it know where "MyMenubar" is? Also, does this work if a Standalone of the App it built? The way in which I have setup by app is as follows: I have a MainMenu stack which is a Main Stack in it's own right. Depending on the menu choices that are made, other main stacks in the same folder get "go to" to'ed! And they do whatever process is necessary. They call functions in the MainMenu Stack to control the menu back and maybe to switch it to another menu bar. Also to enable and disable menu items. That way all the menu bar handling is kept in one stack. I also keep global objects in various cards of this stack and they can be accessed by any stack that was called from the MainMenu, this works fine of course, except that the stack does need to be opened. I guess I could just set it's screeen position to be way off the visible area which would probably work (I will try it), but it would be nice to be able to just hide it, since sometimes it's usufiul to be able to show it in the message box. The problem I have is if i enter "Browse" mode and then open the MainMenu Stack if it's hidden I do not get the initial Menu Display, so I cannot select something from the menu and so I can't get to the Stack to be able to execute the code you have above! Sort of a chicken and the egg problem! I haven't tried this Any suggestion on how to make this work would be greatly appreciated. Thanks in advance for any help Dave From marisa.kosaisaevee at netgalileo.com Mon Apr 18 05:47:43 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa Kosaisaevee) Date: Mon, 18 Apr 2005 16:47:43 +0700 Subject: Re-2: Unicode Displaying in Runtime Revolution In-Reply-To: References: Message-ID: <4263823F.5010202@netgalileo.com> Hi Franz, Thank you so much for your reply. Anyway, I tried the HTMLtext as you suggested. Still, it doesn't work. It dispalys a mixed up charaters as my previous trials, while, the text diplayed corretly in browser. Then, I tried to import the Thai text file using put URL "file: /disk/folder/text.txt" into field myFld. It returns empty to the field. (may be I did sth wrong here) So, I tried on the File menu -> import as control. The result is a mixed up characters again. However, any further suggestions are welcome. Regards, Marisa > Hello Marisa > I tried runrev for greek and hebrew: > Wrote the text in winword or openoffice (greek, hebrew right to left, > german and mixed text) > and copied it into rr text field. > It was displayed correctly. > > But: > Direct typing of hebrew (rr windows 2.2.1) right to left was not possible: > runrev > wrote the first word correctly from right to left, but after the space > it continued to write > on the right of the first word instead of continuing writing rtl. > > Any table property destroys foreign languages > (I think because of internal use of the # delimiter in rr fields for > tables an menu items > which is the HTML entitiy sign !) > > ==> please try to copy a correct unicode formatted thai text from > winword or another textprocessor > into a rr textfield for checking, whether rr can import your thai unicode. > Direct typing my produce problems you didn't expect. > > Another way I tested: > Convert your thai texts in correct HTML-code > test it in your browser for convenient display of your thai text > and import it in your rr text field using the HTMLtext property: > > set the HTMLtext of field "thai" to "..." > > This worked correct for greek, hebrew and arabic on rr windows 2.2.1 I > tested. > > If this display method would have been working correctly even for thai > then > perhaps the database channel of rr cannot handle unicode? > > Regards, Franz > Mit freundlichen Gr??en > Franz B?hmisch > http://www.animabit.de > GF Animabit Multimedia Software GmbH > Tel +49 (0)8501-8538 > Fax +49 (0)8501-8537 > boehmisch at animabit.de > > > To: use-revolution at lists.runrev.com From marty at vertex.ucls.uchicago.edu Mon Apr 18 07:56:35 2005 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Mon, 18 Apr 2005 06:56:35 -0500 (CDT) Subject: Very annoying IDE Problem In-Reply-To: <20050418093820.5507193012E@mail.runrev.com> References: <20050418093820.5507193012E@mail.runrev.com> Message-ID: Richard Gaskin wrote: > With HyperCard corruption was an ever-present risk, but it's very rare > > in Rev -- for background see: > > > 017928.html> My students quite often run into stack corruption. Most of the time it can be traced to their being over their disk quota on the file server we save the stacks to, but sometimes the stacks just corrupt. I *never* had this problem in ten years of teaching using HyperCard. BTW, it would be *really* nice if RunRev would, as other apps do, give an error message when trying to save to a disk that's over quota, instead of just quietly corrupting the stack beyond recovery. - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From dburgun at dsl.pipex.com Mon Apr 18 08:09:13 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 18 Apr 2005 13:09:13 +0100 Subject: Standalone Application Launch Error In-Reply-To: References: Message-ID: Hi, I have built a standalone for MacOS 9 and when I launch it I get the following error: The application "xxxxxxxxx" has unexpecttedly quit, because an error of type 1,010 has occured. Any ideas on how to debug this or what is greatfull appreciated! Here is how I have my project setup: In the Standalone App Setup dialog I have the following set: General: Select inclusions for Standalone App is Selected Ask Dialog, Answer Dialog and Cursors, all checked. All the Script Libraries are Selected and all the database items are selected Remove all Profiles is set Stacks, 1 file StartUp.Rev, this just displays a spash screen and then does a go to stack "RunTim/MainMenu.rev" Copy Files: RunTime/Stacks/MainMenu.rev RunTime/Stacks/RectExample/rev RunTime/Images/Splash.jpg Mac OS Mac OS PPC is checked all others off Creator GRex Doument Type Grex Use Dynamic Memory Allocation Min, Max Size is 15000 In other words I am trying to call a .rev file in the RunTime Folder from the Standalone, is this ok? Thanks a lot Dave From fde101 at fjrhome.net Mon Apr 18 08:51:52 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 18 Apr 2005 08:51:52 -0400 Subject: LZW compression and binaryEncode In-Reply-To: <4262D00C.90DF5E87@Club-Internet.fr> References: <4262C963.75390579@Club-Internet.fr> <4262D00C.90DF5E87@Club-Internet.fr> Message-ID: <4ad8d0e3f8f3a3a039f19490446dfe4c@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A character cannot store values outside the range of 0-255. if you wish to store longer values, you need to use multiple characters. For example, you can use two characters to store values in the range of 0-65535: function encode2 x return numToChar(x div 256) & numToChar(x bitAnd 255) end encode2 function decode2 x return (charToNum(char 1 of x) * 256) + charToNum(char 2 of x) end decode2 On Apr 17, 2005, at 5:07 PM, jbv wrote: > > > Dar, > > Thanks again for the reply, but actually I know most of > what you explained, as I've already fiddled with the > binaryEncode function (for sound files & other data > manipulations)... > Although, several issues still remain unclear : my serie > of output indexes resulting from the LZW compression > feature more than 256 entries. Therefore I'm wondering > how this could be represented in binary, in order to be > decoded by the LZW filter in pdf... > > Best, > JB > >> On Apr 17, 2005, at 2:38 PM, jbv wrote: >>> But now I need to convert the output serie of index into binary >>> data... Anyone familiar with this ? >>> I guess I need to use binaryEncode, but how to set up parameters ? >> >> Normally, we think of a value in Transcript as a sequence of >> characters. When we work with binary we can view each character as >> that for an 8-bit encoding, that is, a byte. Thus, a value can be >> viewed as a sequence of bytes. Just as we can concatenate characters >> with &, we an concatenate what we consider to be bytes sequences the >> same way. >> >> To get at the numerical value of the byte, you can use charToNum(). >> You can also use numToChar() as the inverse. >> >> You can also use binaryEncode() and binaryDecode(). Most formats are >> in host order and so are of limited utility. However, some formats, >> such as "N", are big endian. If you need small endian formatting, >> just >> reverse. There are some formats missing, so you would want to build >> up >> a few simple functions to help. >> >> For example, >> >> put binaryEncode("N",566) into aLen >> >> would put 4 bytes (chars) into aLen. >> >> Dar >> >> -- >> ************************************************** >> DSC (Dar Scott Consulting & Dar's Lab) >> http://www.swcp.com/dsc/ >> Custom libraries (with externals, if needed) >> ************************************************** >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCY61p7aqtWrR9cZoRAmGjAKCDS+BAise+oKyQDPN+fbgwD/ACygCfb8wt qUfEbH995cVGfdm2rLI24fA= =AbNP -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From ambassador at fourthworld.com Mon Apr 18 09:18:51 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2005 06:18:51 -0700 Subject: Revolution and .swf In-Reply-To: References: Message-ID: <4263B3BB.2030108@fourthworld.com> sims wrote: > At 11:39 PM -0700 4/17/05, Judy Perry wrote: >> Flash is perhaps the preeminent 2D animation file format; probably >> overtaking Director? > > I wonder how or if Flash is going to change now that it seems Adobe is > going to be the new owner > of Macromedia? > > When I first read that I was looking for a date of April 1 -- no such luck. Damn. I wasn't the biggest fan of Macromedia's management, but less so of Adobe's. Frightening. Among other things I suppose this is a death knell for SVG.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Mon Apr 18 09:21:02 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2005 06:21:02 -0700 Subject: Very annoying IDE Problem In-Reply-To: References: <20050418093820.5507193012E@mail.runrev.com> Message-ID: <4263B43E.5080406@fourthworld.com> Marty Billingsley wrote: > Richard Gaskin wrote: > >>With HyperCard corruption was an ever-present risk, but it's very rare >> >>>in Rev -- for background see: >>>>>017928.html> > > My students quite often run into stack corruption. Most of the time it > can be traced to their being over their disk quota on the file server we > save the stacks to, but sometimes the stacks just corrupt. I *never* had > this problem in ten years of teaching using HyperCard. Were you running HyperCard under the same circumstances? If I understand your circumstance correctly, running out of disk space will affect any program. > BTW, it would be *really* nice if RunRev would, as other apps do, give an > error message when trying to save to a disk that's over quota, instead of > just quietly corrupting the stack beyond recovery. What's the Bugzilla #? I'll add my vote. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From fde101 at fjrhome.net Mon Apr 18 09:48:05 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 18 Apr 2005 09:48:05 -0400 Subject: Revolution and .swf In-Reply-To: <13ce8ed34ea863c78b6a632f7fb99b0b@qldlearning.com> References: <13ce8ed34ea863c78b6a632f7fb99b0b@qldlearning.com> Message-ID: <60d80d7c943d43b80fde248e6351b407@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 SWF File Format Info: http://www.minigui.com/flashplayer/swf_toc1_4/SWFfileformat.html http://ming.sourceforge.net/ http://www.quiss.org/swftools/ http://sourceforge.net/projects/libswf/ http://www.eprg.org/projects/SVG/flash2svg/swfsvganim.html http://www.swift-tools.net/Flash/ An alternative to SWF is SVG, which is a W3C standard, and much more open to outside developers: http://www.w3.org/TR/SVG11/ http://www.w3.org/Graphics/SVG/SVG-Implementations http://www.adobe.com/svg/viewer/install/main.html On Apr 18, 2005, at 5:24 AM, Brian Yennie wrote: > Judy, > > I believe one problem is that there is no public API for embedded > Flash support. Last I checked, it requires paying a hefty license to > Macromedia for a development kit. Implementing from scratch is a huge > task also- notice that they aren't really any 3rd party Flash Players > (even Quicktime's support is always a little behind the curve). > > FWIW. I haven't looked into this in a while. > > The only reasonable way I know of to support Flash would be to offer > up support for browser plug-ins. > > Does anyone know of a dev environment that _does_ include embedded > Flash playback in a desktop app? > > - Brian > >> I gotta admit, I still don't get this. >> >> Flash is perhaps the preeminent 2D animation file format; probably >> overtaking Director? >> >> Not "getting" Flash or providing some native support for it positively >> cripples Rev as a multimedia scripting environment. >> >> And I don't even USE Flash (beyond trying to get together a little >> handout >> on doing simple animation in it for my class). >> >> I recently revisited the Animation Builder. Didn't really suck all >> that >> much, did it? No Flash, certainly, but without native support for >> Flash, >> what is the simple DreamCard developer wishing to include animation >> to do? >> >> And now they don't even have that (the Animation Builder, that is)... >> >> Judy >> >> >> >> On Sun, 17 Apr 2005, Yonnys Pablo Martin Olivera wrote: >> >>> Hello: >>> I am beginning to program in revolution, but previously I had >>> had >>> experience in Flash of Macromedia and I would like to know if >>> somebody >>> could help on that relationship is between Revolution and the files >>> .swf >>> and if some form exists of linking them. >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCY7qV7aqtWrR9cZoRArJrAJ4x2Hikb/g+T7vTaRUNj5jknIGm5ACfQSGx tgJKkRMa65GP5ETVcXFmHc4= =SjGW -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From livfoss at blueyonder.co.uk Mon Apr 18 09:54:31 2005 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Mon, 18 Apr 2005 14:54:31 +0100 Subject: How to call a function is a Group??? Message-ID: <5de9d2abbb2571b19ceb8b102962468b@blueyonder.co.uk> Sorry that this goes back into history (all the way to last Thursday!). Devin Asay wrote: > On Apr 14, 2005, at 4:07 PM, Graham Samuel wrote: > >> The trouble with Devin's solution [which was: send "get initializeGroup()" to group "mygrp" ] >> is that it doesn't actually supply >> the result of the function. From the RunRev docs: > > Actally, in my example, the function's result would be put into the > 'it' variable. > When I'd quoted the RunRev docs: >> >>> You use the value function to call a function that's in the script of >>> an object that isn't in the message path. Usually, you can only call >>> custom functions that are somewhere in the message path, but you can >>> use the value function to call any function in any object in an open >>> stack. >>> >>> For example, suppose you want to use a function named "myFunction" >>> which is defined in the script of card 1 of a stack named "My Stack". >>> The following statement can be used to call the function from any >>> script or from the message box: >>> >>> get value("myFunction()",card 1 of stack "My Stack") >>> >>> Tip: You can use the insert script command to place the object in >>> the message path. In this case, you don't need to use the value >>> function. Well, of course Devin you're right: but it calls into question what the 'value' construct is for. Maybe the difference between the two is with the context that the function 'sees' - I mean, what do 'this stack' and similar references within the function refer to in each case? Can anyone explain this? I don't quite have time to experiment at the moment. Graham ------------------------------------------------------------------------ --- Graham Samuel / The Living Fossil Co. / UK and France From jbv.silences at Club-Internet.fr Mon Apr 18 10:00:56 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 18 Apr 2005 16:00:56 +0200 Subject: LZW compression and binaryEncode References: <4262C963.75390579@Club-Internet.fr> <4ad8d0e3f8f3a3a039f19490446dfe4c@fjrhome.net> Message-ID: <4263BD98.53046D1B@Club-Internet.fr> Frank, Thanks for the reply, and for the code. Actually, I know how to represent numbers in binary or hexadecimal (I did quite a bit of assembler prog. several years ago). What I was wondering was rather : if I need 9 bits to represent my numbers, shall use 2 characters (using the least significant bit of the 2nd char for the 9th bit, and leaving the 7 other bits to 0), or is there a more compact way of representing it (without leaving any extra bit to 0) ? Again, the binary output needs to be compatible with the pdf filter for standard LZW compression... Thanks, JB > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > A character cannot store values outside the range of 0-255. if you > wish to store longer values, you need to use multiple characters. For > example, you can use two characters to store values in the range of > 0-65535: > > function encode2 x > return numToChar(x div 256) & numToChar(x bitAnd 255) > end encode2 > > function decode2 x > return (charToNum(char 1 of x) * 256) + charToNum(char 2 of x) > end decode2 > > On Apr 17, 2005, at 5:07 PM, jbv wrote: > > > > > > > Dar, > > > > Thanks again for the reply, but actually I know most of > > what you explained, as I've already fiddled with the > > binaryEncode function (for sound files & other data > > manipulations)... > > Although, several issues still remain unclear : my serie > > of output indexes resulting from the LZW compression > > feature more than 256 entries. Therefore I'm wondering > > how this could be represented in binary, in order to be > > decoded by the LZW filter in pdf... > > > > Best, > > JB > > > >> On Apr 17, 2005, at 2:38 PM, jbv wrote: > >>> But now I need to convert the output serie of index into binary > >>> data... Anyone familiar with this ? > >>> I guess I need to use binaryEncode, but how to set up parameters ? > >> > >> Normally, we think of a value in Transcript as a sequence of > >> characters. When we work with binary we can view each character as > >> that for an 8-bit encoding, that is, a byte. Thus, a value can be > >> viewed as a sequence of bytes. Just as we can concatenate characters > >> with &, we an concatenate what we consider to be bytes sequences the > >> same way. > >> > >> To get at the numerical value of the byte, you can use charToNum(). > >> You can also use numToChar() as the inverse. > >> > >> You can also use binaryEncode() and binaryDecode(). Most formats are > >> in host order and so are of limited utility. However, some formats, > >> such as "N", are big endian. If you need small endian formatting, > >> just > >> reverse. There are some formats missing, so you would want to build > >> up > >> a few simple functions to help. > >> > >> For example, > >> > >> put binaryEncode("N",566) into aLen > >> > >> would put 4 bytes (chars) into aLen. > >> > >> Dar > >> > >> -- > >> ************************************************** > >> DSC (Dar Scott Consulting & Dar's Lab) > >> http://www.swcp.com/dsc/ > >> Custom libraries (with externals, if needed) > >> ************************************************** > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCY61p7aqtWrR9cZoRAmGjAKCDS+BAise+oKyQDPN+fbgwD/ACygCfb8wt > qUfEbH995cVGfdm2rLI24fA= > =AbNP > -----END PGP SIGNATURE----- > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Mon Apr 18 10:43:19 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 18 Apr 2005 07:43:19 -0700 Subject: Revolution and animation builder Message-ID: Actually, I found it the other day in my Rev Folder--->components--->assistants folder - it's called RevAnimation.rev... >And now they don't even have that (the Animation Builder, that is)... > >Judy From stephenREVOLUTION at barncard.com Mon Apr 18 10:48:12 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 18 Apr 2005 07:48:12 -0700 Subject: Revolution and .swf Message-ID: If the thing your are building is web-enabled, you might consider Chipp's ALTBROWSER... which imbeds a web browser in you stack... and I'm sure it must run Flash... sqb >Hello: > I am beginning to program in revolution, but previously I had had >experience in Flash of Macromedia and I would like to know if somebody >could help on that relationship is between Revolution and the files .swf >and if some form exists of linking them. >Thank. >Yonnys Pablo Martin Olivera[ypmartin at estudinates.uci.cu]. > From stephenREvolution at barncard.com Mon Apr 18 10:52:22 2005 From: stephenREvolution at barncard.com (Stephen Barncard) Date: Mon, 18 Apr 2005 07:52:22 -0700 Subject: Revolution and .swf Message-ID: And GOLIVE too... it was actually gone a while ago.... > >Among other things I suppose this is a death knell for SVG.... > >-- > Richard Gaskin From 3mcgrath at adelphia.net Mon Apr 18 10:56:16 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 18 Apr 2005 10:56:16 -0400 Subject: Revolution and .swf In-Reply-To: References: Message-ID: I agree that some kind of 'simple' animation needs to be included and possibly support for flash since it is the most widely used. I used the animation builder..... Where are we headed in "Mulitmedia" ........ in REV? TOm On Apr 18, 2005, at 2:39 AM, Judy Perry wrote: > I gotta admit, I still don't get this. > > Flash is perhaps the preeminent 2D animation file format; probably > overtaking Director? > > Not "getting" Flash or providing some native support for it positively > cripples Rev as a multimedia scripting environment. > > And I don't even USE Flash (beyond trying to get together a little > handout > on doing simple animation in it for my class). > > I recently revisited the Animation Builder. Didn't really suck all > that > much, did it? No Flash, certainly, but without native support for > Flash, > what is the simple DreamCard developer wishing to include animation to > do? > > And now they don't even have that (the Animation Builder, that is)... > > Judy > > > > On Sun, 17 Apr 2005, Yonnys Pablo Martin Olivera wrote: > >> Hello: >> I am beginning to program in revolution, but previously I had >> had >> experience in Flash of Macromedia and I would like to know if somebody >> could help on that relationship is between Revolution and the files >> .swf >> and if some form exists of linking them. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From zellner at tamu.edu Mon Apr 18 11:02:37 2005 From: zellner at tamu.edu (Ronald Zellner) Date: Mon, 18 Apr 2005 10:02:37 -0500 Subject: Record Sound Message-ID: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> Is anyone using the record sound function? I saw some activity on the listserve a while back pertaining to this but I don't seem to have the right parameters or something. Does anyone have a sample stack or script? Also, I'm still trying to find a way to set the input to the iSight microphone or a USB microphone on a Mac. Anyone know the recordInput property for this? I know it can use 'dflt' to use the one set in the system settings, but I'd like to be able to script it. Thanks, Ron From lists at mangomultimedia.com Mon Apr 18 11:30:00 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 18 Apr 2005 08:30:00 -0700 Subject: Revolution and .swf In-Reply-To: References: Message-ID: On Apr 17, 2005, at 11:39 PM, Judy Perry wrote: > I gotta admit, I still don't get this. > > Flash is perhaps the preeminent 2D animation file format; probably > overtaking Director? > > Not "getting" Flash or providing some native support for it positively > cripples Rev as a multimedia scripting environment. Flash integration would be great but getting Flash playback into your application is very expensive and Macromedia doesn't let just anybody do it. Anybody can build Flash exporters (file format is public) but when it comes to playback it becomes more complicated. I mention this only to say that we can't necessarily blame Revolution for not having Flash playback. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dburgun at dsl.pipex.com Mon Apr 18 11:34:32 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 18 Apr 2005 16:34:32 +0100 Subject: Weird Problem with replaceText In-Reply-To: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> References: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> Message-ID: Hi, Anyone got any ideas on this one: This doesn't work: local myString put replaceText(the filename of this stack,the short name of this stack,"xxxxxxxxxx") into myString The Trailing ".rev" is removed Whereas this does: local myTemp1 local myTemp2 local myString put the filename of this stack into myTemp1 put the short name of this stack into myTemp2 put replaceText(myTemp1, myTemp2,"xxxxxxxxxxxxxxxx") into myString works as expected and leaves the .rev in place. This is being used in an openCard handler. Thanks Dave From eric.chatonet at sosmartsoftware.com Mon Apr 18 11:52:54 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 18 Apr 2005 17:52:54 +0200 Subject: Weird Problem with replaceText In-Reply-To: References: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> Message-ID: <85240f157422255ba273ef69a395b6fe@sosmartsoftware.com> Hi Dave, put replaceText(the filename of this stack,the short name of this stack,"xxxxxxxxxx") into myString Works fine here when the name of the file is the same as the name of the stack (disregarding the extension). But they can be DIFFERENT and then associate these 2 references might not be a good idea ;-) Best, Le 18 avr. 05, ? 17:34, David Burgun a ?crit : > Hi, > > Anyone got any ideas on this one: > > This doesn't work: > > local myString > > put replaceText(the filename of this stack,the short name of this > stack,"xxxxxxxxxx") into myString > > The Trailing ".rev" is removed > > Whereas this does: > > local myTemp1 > local myTemp2 > local myString > > put the filename of this stack into myTemp1 > put the short name of this stack into myTemp2 > put replaceText(myTemp1, myTemp2,"xxxxxxxxxxxxxxxx") into myString > > works as expected and leaves the .rev in place. Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bill at bluewatermaritime.com Mon Apr 18 11:55:12 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 18 Apr 2005 11:55:12 -0400 Subject: Converting mysql to SQLite In-Reply-To: <7644fa9c5c7afb259a04d559bd5476d3@mangomultimedia.com> Message-ID: As soon as you do that I will make two copies of my program, one using MySQL and one using SQLite and start doing some speed test comparisons. I use the database controls and everything moves very slowly with MySQL. On 4/17/05 10:51 PM, "Trevor DeVore" wrote: > On Apr 17, 2005, at 6:21 PM, Bill wrote: >> But it requires SQLite 3.0 database files and it turns out the version >> of >> SQLite installed with altSQLite is SQLite 2.1 (when you look at the >> generated database file that is what it says) even though it says on >> the >> Altuit web site that the version used is 2.8 > > altSQLite does use version 2.8 but the version of the SQLite db file is > 2.1. I tested this with the compiled version of SQLite 2.8 and it > reports 2.1 as well. > > Though this might not help you in the short term I am incorporating > code in the next release of libDatabase which will convert from one > database to another without use of any external programs. Right now > the code I have just does MySQL to Valentina but I am in the middle of > making it more generic and incorporation it into libDatabse so it will > be easy to add additional db support. I plan on releasing 2.0 of > libDatabase with support for MySQL, SQLite and Valentina. > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From dsc at swcp.com Mon Apr 18 11:55:48 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 18 Apr 2005 09:55:48 -0600 Subject: Weird Problem with replaceText In-Reply-To: References: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> Message-ID: On Apr 18, 2005, at 9:34 AM, David Burgun wrote: > Anyone got any ideas on this one: I don't know why those don't work the same, but maybe this applies: The dot (period) has a special meaning in regular expressions. Function replaceText() uses a regex. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From dburgun at dsl.pipex.com Mon Apr 18 12:39:50 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 18 Apr 2005 17:39:50 +0100 Subject: Weird Problem with replaceText In-Reply-To: <85240f157422255ba273ef69a395b6fe@sosmartsoftware.com> References: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> <85240f157422255ba273ef69a395b6fe@sosmartsoftware.com> Message-ID: >Hi Dave, > >put replaceText(the filename of this stack,the short name of this >stack,"xxxxxxxxxx") into myString > >Works fine here when the name of the file is the same as the name of >the stack (disregarding the extension). >But they can be DIFFERENT and then associate these 2 references >might not be a good idea ;-) >Best, In this case they are the same. I just want to replace: /aaaaa/bbbbb/ccccc/ddddd/eeeee/fffff/StackFileA.rev with /aaaaa/bbbbb/ccccc/ddddd/eeeee/fffff/StackFileAnotherFile.rev Can't see it should make a difference where the data comes from. Oh well, another mystery! It works from the Mesasage Box BTW if I put a breakpoint into the code and run it manually! Cheers Dave > >Le 18 avr. 05, ? 17:34, David Burgun a ?crit : > >>Hi, >> >>Anyone got any ideas on this one: >> >>This doesn't work: >> >>local myString >> >>put replaceText(the filename of this stack,the short name of this >>stack,"xxxxxxxxxx") into myString >> >>The Trailing ".rev" is removed >> >>Whereas this does: >> >>local myTemp1 >>local myTemp2 >>local myString >> >>put the filename of this stack into myTemp1 >>put the short name of this stack into myTemp2 >>put replaceText(myTemp1, myTemp2,"xxxxxxxxxxxxxxxx") into myString >> >>works as expected and leaves the .rev in place. > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Mon Apr 18 12:46:27 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 18 Apr 2005 18:46:27 +0200 Subject: Weird Problem with replaceText In-Reply-To: References: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> <85240f157422255ba273ef69a395b6fe@sosmartsoftware.com> Message-ID: <5964682663114135aae14307c83793ee@sosmartsoftware.com> Hi Dave, You might choose another method: set the itemDel to slash put the filename of this stack into tPath put "StackFileAnotherFile.rev" into item -1 of tPath Le 18 avr. 05, ? 18:39, David Burgun a ?crit : >> Hi Dave, >> >> put replaceText(the filename of this stack,the short name of this >> stack,"xxxxxxxxxx") into myString >> >> Works fine here when the name of the file is the same as the name of >> the stack (disregarding the extension). >> But they can be DIFFERENT and then associate these 2 references >> might not be a good idea ;-) >> Best, > > In this case they are the same. I just want to replace: > > /aaaaa/bbbbb/ccccc/ddddd/eeeee/fffff/StackFileA.rev > > with > > /aaaaa/bbbbb/ccccc/ddddd/eeeee/fffff/StackFileAnotherFile.rev > > Can't see it should make a difference where the data comes from. > > Oh well, another mystery! > > It works from the Mesasage Box BTW if I put a breakpoint into the > code and run it manually! > > Cheers > Dave > > >> >> Le 18 avr. 05, ? 17:34, David Burgun a ?crit : >> >>> Hi, >>> >>> Anyone got any ideas on this one: >>> >>> This doesn't work: >>> >>> local myString >>> >>> put replaceText(the filename of this stack,the short name of this >>> stack,"xxxxxxxxxx") into myString >>> >>> The Trailing ".rev" is removed >>> >>> Whereas this does: >>> >>> local myTemp1 >>> local myTemp2 >>> local myString >>> >>> put the filename of this stack into myTemp1 >>> put the short name of this stack into myTemp2 >>> put replaceText(myTemp1, myTemp2,"xxxxxxxxxxxxxxxx") into myString >>> >>> works as expected and leaves the .rev in place. Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Mon Apr 18 12:55:14 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 18 Apr 2005 17:55:14 +0100 Subject: Weird Problem with replaceText In-Reply-To: <5964682663114135aae14307c83793ee@sosmartsoftware.com> References: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> <85240f157422255ba273ef69a395b6fe@sosmartsoftware.com> <5964682663114135aae14307c83793ee@sosmartsoftware.com> Message-ID: I've got it to work just by assigning the names to variables and then using the variables in the replaceText function., as in: local myTemp1 local myTemp2 local myString put the filename of this stack into myTemp1 put the short name of this stack into myTemp2 put replaceText(myTemp1, myTemp2,"xxxxxxxxxxxxxxxx") into myString This works fine. I just wanted a one liner to get the name of a Stack other that the current stack in the current Folder. Something like this: start using replaceText(the filename of this stack, the short name of this stack,"xxxxxxx") Would be good. It's just some linkage I need in a lot of different Scripts and I want to make If there is a better way, I'd bet happy to do it that way! All the Best Dave >Hi Dave, > >You might choose another method: > >set the itemDel to slash >put the filename of this stack into tPath >put "StackFileAnotherFile.rev" into item -1 of tPath > >Le 18 avr. 05, ? 18:39, David Burgun a ?crit : > >>>Hi Dave, >>> >>>put replaceText(the filename of this stack,the short name of this >>>stack,"xxxxxxxxxx") into myString >>> >>>Works fine here when the name of the file is the same as the name of >>>the stack (disregarding the extension). >>>But they can be DIFFERENT and then associate these 2 references >>>might not be a good idea ;-) >>>Best, >> >>In this case they are the same. I just want to replace: >> >>/aaaaa/bbbbb/ccccc/ddddd/eeeee/fffff/StackFileA.rev >> >>with >> >>/aaaaa/bbbbb/ccccc/ddddd/eeeee/fffff/StackFileAnotherFile.rev >> >>Can't see it should make a difference where the data comes from. >> >>Oh well, another mystery! >> >>It works from the Mesasage Box BTW if I put a breakpoint into the >>code and run it manually! >> >>Cheers >>Dave >> >>> >>>Le 18 avr. 05, ? 17:34, David Burgun a ?crit : >>> >>>>Hi, >>>> >>>>Anyone got any ideas on this one: >>>> >>>>This doesn't work: >>>> >>>>local myString >>>> >>>>put replaceText(the filename of this stack,the short name of this >>>>stack,"xxxxxxxxxx") into myString >>>> >>>>The Trailing ".rev" is removed >>>> >>>>Whereas this does: >>>> >>>>local myTemp1 >>>>local myTemp2 >>>>local myString >>>> >>>>put the filename of this stack into myTemp1 >>>>put the short name of this stack into myTemp2 >>>>put replaceText(myTemp1, myTemp2,"xxxxxxxxxxxxxxxx") into myString >>>> >>>>works as expected and leaves the .rev in place. > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Mon Apr 18 13:53:10 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 18 Apr 2005 18:53:10 +0100 Subject: Adding Objects to a group In-Reply-To: References: Message-ID: Hi, How can I add newly created Graphic to a group from TranScript? I want to be able to do something like: put graphic myGraphicName into group "GroupRect" How can I do it????? Thanks Dave From revlist at cableone.net Mon Apr 18 13:54:48 2005 From: revlist at cableone.net (Chris Sheffield) Date: Mon, 18 Apr 2005 11:54:48 -0600 Subject: Standalone Application Launch Error In-Reply-To: Message-ID: <1113847676_24526@S4.cableone.net> Dave, Whenever I've seen this error it's been because the built standalone is missing some resource that should be there. Are you using any type of database access? If so, use ResEdit to check and make sure you have the CODE resource for "revdb" in your standalone (or check for a "Valentina" CODE resource if you're making direct calls to the Valentina external). Not sure if this will be the problem in your case, but it's something to check for. Have you tried just letting the standalone builder automatically search for the inclusions it needs? I'm wondering if because you have all the database support items selected you're getting some conflicts somewhere. Chris Sheffield Read Naturally The Fluency Company www.readnaturally.com -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David Burgun Sent: Monday, April 18, 2005 6:09 AM To: How to use Revolution Subject: Standalone Application Launch Error Hi, I have built a standalone for MacOS 9 and when I launch it I get the following error: The application "xxxxxxxxx" has unexpecttedly quit, because an error of type 1,010 has occured. Any ideas on how to debug this or what is greatfull appreciated! Here is how I have my project setup: In the Standalone App Setup dialog I have the following set: General: Select inclusions for Standalone App is Selected Ask Dialog, Answer Dialog and Cursors, all checked. All the Script Libraries are Selected and all the database items are selected Remove all Profiles is set Stacks, 1 file StartUp.Rev, this just displays a spash screen and then does a go to stack "RunTim/MainMenu.rev" Copy Files: RunTime/Stacks/MainMenu.rev RunTime/Stacks/RectExample/rev RunTime/Images/Splash.jpg Mac OS Mac OS PPC is checked all others off Creator GRex Doument Type Grex Use Dynamic Memory Allocation Min, Max Size is 15000 In other words I am trying to call a .rev file in the RunTime Folder from the Standalone, is this ok? Thanks a lot Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.15 - Release Date: 4/16/2005 From dsc at swcp.com Mon Apr 18 14:00:57 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 18 Apr 2005 12:00:57 -0600 Subject: Weird Problem with replaceText In-Reply-To: References: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> <85240f157422255ba273ef69a395b6fe@sosmartsoftware.com> <5964682663114135aae14307c83793ee@sosmartsoftware.com> Message-ID: <9cdea23a42521abfd9bbaf1a5436974c@swcp.com> On Apr 18, 2005, at 10:55 AM, David Burgun wrote: > This works fine. I just wanted a one liner to get the name of a Stack > other that the current stack in the current Folder. Like this? put renamedFile(oldPath,newName) into myString Now all you have to do is define the function in some common place. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Supporting developers ********************************************** From klaus at major-k.de Mon Apr 18 14:05:10 2005 From: klaus at major-k.de (Klaus Major) Date: Mon, 18 Apr 2005 20:05:10 +0200 Subject: Adding Objects to a group In-Reply-To: References: Message-ID: <26d0f89e6d55eae93283d1889510ba1c@major-k.de> Hi David, > Hi, > > How can I add newly created Graphic to a group from TranScript? > I want to be able to do something like: > put graphic myGraphicName into group "GroupRect" > > How can I do it????? Again far too simple! Create it directly inside the group like: ... create grc myGraphicName in grp "GroupRect" ... Et voila... :-) > Thanks > Dave Regards Klaus Major klaus at major-k.de http://www.major-k.de From jperryl at ecs.fullerton.edu Mon Apr 18 14:08:13 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 18 Apr 2005 11:08:13 -0700 (PDT) Subject: Revolution and .swf In-Reply-To: Message-ID: Xavier, Your 'average' DC user isn't likely to roll his/her own *anything*. Once you become a real geek, it is soooo easy to forget about the millions and maybe billions of people who are not. Yes, if _I_ had a need to incorporate Flashs files, yes, I _could_ spend an hour or two (or three or...?) investigating (those of others) and/or writing my own various hacks. But they'd still be hacks, wouldn't they? Allow me to quote from Rev's top-line webpage regarding Dreamcard: "Dreamcard: build it. Software design and programming for the rest of us... Make multimedia..." Okay, now, You just can't go about advertising yourself as an ideal instrument for creating multimedia (for beginniers, i.e., "the rest of us") and then not provide any native support for what is next to QT one of the more ubiquitous multimedia file formats OR by not providing your own animation tool. It's like tellling people to write their own routines to support color because, after all, any _real_ geek could do so him/herself. I, too, await with hopeful optimism that previous hints regarding the re-release of a better animation builder will be addressed in the not-so-distant in the future upgrades. And, experience has largely shown me that it is the squeaking wheel that gets the grease rather sooner than later. Judy On Mon, 18 Apr 2005 xbury.cs at clearstream.com wrote: > Judy, > > I tend to disagree. While there is no animation manager anymore, it's like > the > GM manager, write your own and you'll have 10X more benefits! From ambassador at fourthworld.com Mon Apr 18 14:11:06 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2005 11:11:06 -0700 Subject: Revolution and .swf In-Reply-To: References: Message-ID: <4263F83A.9070600@fourthworld.com> Judy Perry wrote: > Your 'average' DC user isn't likely to roll his/her own *anything*. > > Once you become a real geek, it is soooo easy to forget about the millions > and maybe billions of people who are not. Agreed. That's what separates scripters from point-and-click authors. But as a scripting product, this puts DC in a mistmatch with its greatest potential audience.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jperryl at ecs.fullerton.edu Mon Apr 18 14:11:59 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 18 Apr 2005 11:11:59 -0700 (PDT) Subject: Dan & Chipp Are TravelingDan, In-Reply-To: Message-ID: Dan, As Spock would no doubt observe, "humor... it is a strange concept" ;-) And one that is perhaps largely absent (sleeping?) from my brain in the late/wee early hours when I am likely to have the opportunity to read email. As for there not being enough to make you two disappear, well, that's a GOOD thing! @;-) Have a good trip! Judy On Mon, 18 Apr 2005, Dan Shafer wrote: > Sorry, Judy. Just a bad attempt at humor. > > I meant: > > The turnout is huge, bigger than we anticipated. > > But there isn't enough money in the kitty for me and Chipp to disappear. > > Whew. > > Back to my packing. > > Dan From jperryl at ecs.fullerton.edu Mon Apr 18 14:17:22 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 18 Apr 2005 11:17:22 -0700 (PDT) Subject: Revolution and .swf In-Reply-To: <13ce8ed34ea863c78b6a632f7fb99b0b@qldlearning.com> Message-ID: Brian, Well, (a) that sucks, and (b) it really sucks. But at least it's a more understandable problem ;-) One which points all the more directly at the need for a new, improved animation builder. (Pretty please?) Judy On Mon, 18 Apr 2005, Brian Yennie wrote: > Judy, > > I believe one problem is that there is no public API for embedded Flash > support. Last I checked, it requires paying a hefty license to > Macromedia for a development kit. Implementing from scratch is a huge > task also- notice that they aren't really any 3rd party Flash Players > (even Quicktime's support is always a little behind the curve). > > FWIW. I haven't looked into this in a while. > > The only reasonable way I know of to support Flash would be to offer up > support for browser plug-ins. > > Does anyone know of a dev environment that _does_ include embedded > Flash playback in a desktop app? > From dburgun at dsl.pipex.com Mon Apr 18 14:26:42 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 18 Apr 2005 19:26:42 +0100 Subject: Adding Objects to a group In-Reply-To: <26d0f89e6d55eae93283d1889510ba1c@major-k.de> References: <26d0f89e6d55eae93283d1889510ba1c@major-k.de> Message-ID: Hi, Thanks, but I am creating the object like so: copy graphic "TemplateRect" to this card set name of last graphic to "xxxxxxxxx" Then I want to add it to the Group. I can't see how to do this, is there a way? Thanks Dave >Hi David, > >>Hi, >> >>How can I add newly created Graphic to a group from TranScript? >>I want to be able to do something like: >>put graphic myGraphicName into group "GroupRect" >> >>How can I do it????? > >Again far too simple! >Create it directly inside the group like: > >... >create grc myGraphicName in grp "GroupRect" >... > >Et voila... :-) > >>Thanks >>Dave > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Apr 18 14:27:31 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2005 11:27:31 -0700 Subject: Revolution and .swf In-Reply-To: References: Message-ID: <4263FC13.6040708@fourthworld.com> Judy Perry wrote: > Brian, > > Well, (a) that sucks, and (b) it really sucks. But at least it's a more > understandable problem ;-) One which points all the more directly at the > need for a new, improved animation builder. > > (Pretty please?) The old one is available here: I doubt Kevin would mind if someone started a working group to enhance it, perhaps as open source or similar model. If the folks who want it are also willing to work on it, you might consider dropping him a note... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jperryl at ecs.fullerton.edu Mon Apr 18 14:28:44 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 18 Apr 2005 11:28:44 -0700 (PDT) Subject: Revolution and .swf In-Reply-To: Message-ID: Boy, THIS almost never turns out to be a good thing. Remember when one or the other or both of them (along with Corel) bought up a bunch of the really neat, innovative stuff that MetaCreations put out? (Carrera, Canoma [I think) and a whole host of others that are now dead, gone and largely forgotten? Just so that they wouldn't compete with inferior technology offered by either of the giants?). Bummer... :-( Judy On Mon, 18 Apr 2005, sims wrote: > At 11:39 PM -0700 4/17/05, Judy Perry wrote: > > > >Flash is perhaps the preeminent 2D animation file format; probably > >overtaking Director? > > I wonder how or if Flash is going to change now that it seems Adobe > is going to be the new owner > of Macromedia? > > From ambassador at fourthworld.com Mon Apr 18 14:31:09 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2005 11:31:09 -0700 Subject: Adding Objects to a group In-Reply-To: References: <26d0f89e6d55eae93283d1889510ba1c@major-k.de> Message-ID: <4263FCED.90702@fourthworld.com> David Burgun wrote: > Hi, > > Thanks, but I am creating the object like so: > > copy graphic "TemplateRect" to this card > set name of last graphic to "xxxxxxxxx" > > Then I want to add it to the Group. > > I can't see how to do this, is there a way? You could copy it into the group with: put the long id of grc "MyGrc" into tObj copy tObj to group "MyGroup" delete tObj But why not simply create the original graphic by copying it directly into the group rather than on the card? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Mon Apr 18 14:37:50 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2005 11:37:50 -0700 Subject: Revolution and .swf In-Reply-To: References: Message-ID: <4263FE7E.7030201@fourthworld.com> Judy Perry wrote: >> >> > > Boy, THIS almost never turns out to be a good thing. > > Remember when one or the other or both of them (along with Corel) > bought up a bunch of the really neat, innovative stuff that > MetaCreations put out? (Carrera, Canoma [I think) and a whole host > of others that are now dead, gone and largely forgotten? While I have my own trepidations over this merger, FWIW Carrara is alive and well in the hands of its original creator: Version 4 was just released, and judging by the activity in their support group on Yahoo it's doing rather well. As for Macrobe, I saw the two company presidents on CNBC this morning and it seems this is more of a long-term strategy thing than any urgent or specific agenda, so it'll likely take at many months before we start seeing the first hints of how this plays out in the product line. Perhaps more than anything else it creates a new organization large enough to accellerate Microsoft's decline. Anti-trust concerns aside, this may not be so bad: Macromedia understands the web in a way Adobe never did, and Adobe owns the print market. Ideally it should let both sets of products do what they do best without encumbering the separate business units with other wares that aren't bringing in good money.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mail at richard-hillen.de Mon Apr 18 14:49:30 2005 From: mail at richard-hillen.de (R. Hillen) Date: Mon, 18 Apr 2005 20:49:30 +0200 Subject: foundline() and linedelimeters other than return In-Reply-To: <20050418160016.D4DB0930170@mail.runrev.com> References: <20050418160016.D4DB0930170@mail.runrev.com> Message-ID: Hello, I wrote: on mouseUp set the itemdelimiter to "|" set the linedelimiter to "\" put "a" & linedelimiter into field "haha" put "b" & linedelimiter after field "haha" find "b" in field haha answer the number of lines of field haha & return & the foundline end mouseUp This Script return 2 lines with "b" found in line _1_ of field 1. I expected line 2 of field 1. Am I wrong? Richard. From jperryl at ecs.fullerton.edu Mon Apr 18 14:48:17 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 18 Apr 2005 11:48:17 -0700 (PDT) Subject: Revolution and animation builder In-Reply-To: Message-ID: How geeky! Rooting around looking for a few potatoes here and there buried under the soil ;-) Thanks for the info. But isn't there still the problem of the change in the file format? Does the old animation builder run natively in the new file format version of Rev? Judy On Mon, 18 Apr 2005, Stephen Barncard wrote: > Actually, I found it the other day in my Rev > Folder--->components--->assistants folder - it's called > RevAnimation.rev... From scott at tactilemedia.com Mon Apr 18 14:48:47 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Apr 2005 11:48:47 -0700 Subject: Keypress Help Message-ID: Howdy List: Still looking for options to reliably detect keypress events on Windows with Rev. Recap: keyUp messages are immediately sent regardless of whether a pressed key is released. Same happens with keyDown and rawKeyDown. Even the keysDown() function doesn't seem to help here since it apparently alternates between returning the pressed key/s and empty. I now have to go explain to a client why I was unable to get their demo working correctly on a test system. This is majorly irritating since key events work as expected on MacOS. How can one reliably tell on Windows when a key is pressed versus when it is released? 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 Mon Apr 18 14:56:10 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2005 11:56:10 -0700 Subject: Revolution and animation builder In-Reply-To: References: Message-ID: <426402CA.2010807@fourthworld.com> Judy Perry wrote: > On Mon, 18 Apr 2005, Stephen Barncard wrote: >>Actually, I found it the other day in my Rev >>Folder--->components--->assistants folder - it's called >>RevAnimation.rev... > > How geeky! Rooting around looking for a few potatoes here and there > buried under the soil ;-) > > Thanks for the info. But isn't there still the problem of the > change in the file format? Does the old animation builder run > natively in the new file format version of Rev? I don't think the file format changed since the Anim tool was last supported, but if/when it does remember that it's just a stack like anything else so it goes through the engine to get the properties it needs... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jperryl at ecs.fullerton.edu Mon Apr 18 14:56:36 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 18 Apr 2005 11:56:36 -0700 (PDT) Subject: Revolution and .swf In-Reply-To: <4263F83A.9070600@fourthworld.com> Message-ID: Yes. I'm certainly not arguing in favor of DC becomming yet another of those exceedingly simplistic, true visual programming language environments. But rolling their own animator is at the other unlikely/undesirable extreme. I had recalled memories of the animation builder as being extremely twinky. But it wasn't too awful, really. For doing simple stuff, it's okay. Just maybe for the potential DC audience, it's more than okay. And better than having no animation tool at all. And it's scripting-lite ;-) Judy On Mon, 18 Apr 2005, Richard Gaskin wrote: > Judy Perry wrote: > > Your 'average' DC user isn't likely to roll his/her own *anything*. > > > > Once you become a real geek, it is soooo easy to forget about the millions > > and maybe billions of people who are not. > > Agreed. That's what separates scripters from point-and-click authors. > > But as a scripting product, this puts DC in a mistmatch with its > greatest potential audience.... From ambassador at fourthworld.com Mon Apr 18 14:59:55 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2005 11:59:55 -0700 Subject: Revolution and .swf In-Reply-To: References: Message-ID: <426403AB.7090000@fourthworld.com> Judy Perry wrote: > Yes. I'm certainly not arguing in favor of DC becomming yet another of > those exceedingly simplistic, true visual programming language > environments. But rolling their own animator is at the other > unlikely/undesirable extreme. Agreed. But that's not needed for many animations. Often simple scripting will do what you need: move grc 1 to the points of grc "poly" -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jperryl at ecs.fullerton.edu Mon Apr 18 15:08:07 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 18 Apr 2005 12:08:07 -0700 (PDT) Subject: Revolution and animation builder In-Reply-To: <426402CA.2010807@fourthworld.com> Message-ID: Cool. Thanks. Judy On Mon, 18 Apr 2005, Richard Gaskin wrote: > I don't think the file format changed since the Anim tool was last > supported, but if/when it does remember that it's just a stack like > anything else so it goes through the engine to get the properties it > needs... From devin_asay at byu.edu Mon Apr 18 15:04:25 2005 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 18 Apr 2005 13:04:25 -0600 Subject: How to call a function is a Group??? In-Reply-To: <5de9d2abbb2571b19ceb8b102962468b@blueyonder.co.uk> References: <5de9d2abbb2571b19ceb8b102962468b@blueyonder.co.uk> Message-ID: <21bc5f7d1b459a2d54b432b0c0ff0db2@byu.edu> Sorry, Graham, I didn't read your post carefully enough. I wasn't aware you could use the 'value' function in this way until I reread your post. I agree that is a better way to access a function outside of the current message path. My original post was simply responding to a question (I've forgotten who posed it) about how to send a function call to a group. Even as I was composing that post I thought "This isn't really an efficient way to do this", but it works and answers the original question. On Apr 18, 2005, at 7:54 AM, Graham Samuel wrote: > Sorry that this goes back into history (all the way to last > Thursday!). Devin Asay wrote: >> On Apr 14, 2005, at 4:07 PM, Graham Samuel wrote: >> >>> The trouble with Devin's solution > > [which was: send "get initializeGroup()" to group "mygrp" ] > >>> is that it doesn't actually supply >>> the result of the function. From the RunRev docs: >> >> Actally, in my example, the function's result would be put into the >> 'it' variable. > >> When I'd quoted the RunRev docs: >>> >>>> You use the value function to call a function that's in the script >>>> of >>>> an object that isn't in the message path. Usually, you can only call >>>> custom functions that are somewhere in the message path, but you can >>>> use the value function to call any function in any object in an open >>>> stack. >>>> >>>> For example, suppose you want to use a function named "myFunction" >>>> which is defined in the script of card 1 of a stack named "My >>>> Stack". >>>> The following statement can be used to call the function from any >>>> script or from the message box: >>>> >>>> get value("myFunction()",card 1 of stack "My Stack") >>>> >>>> Tip: You can use the insert script command to place the object in >>>> the message path. In this case, you don't need to use the value >>>> function. > > Well, of course Devin you're right: but it calls into question what > the 'value' construct is for. Maybe the difference between the two is > with the context that the function 'sees' - I mean, what do 'this > stack' and similar references within the function refer to in each > case? Can anyone explain this? I don't quite have time to experiment > at the moment. Maybe the answer is, like a lot of things in Rev/Transcript, there are several ways to do the same thing. I'm actually glad to know about this use of 'value'. Another weapon in the arsenal, and all that. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jperryl at ecs.fullerton.edu Mon Apr 18 15:12:48 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 18 Apr 2005 12:12:48 -0700 (PDT) Subject: Revolution and .swf In-Reply-To: <426403AB.7090000@fourthworld.com> Message-ID: Yup. And I show them how to do this. But it's laborious (overly-so, they moan). My version is more likely to use set the loc of image "whatever" to x,y Within a loop or repeat of some sort as graphics aren't very pretty to look at. You should hear the howls! ... not silenced when I remind them of the effort needed to bring Fantasia to the screen. And these are largely CS majors (lazy little gremlins, the lot of 'em), not even DC target users. Judy On Mon, 18 Apr 2005, Richard Gaskin wrote: > Often simple scripting will do what you need: > > move grc 1 to the points of grc "poly" From dburgun at dsl.pipex.com Mon Apr 18 15:22:20 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 18 Apr 2005 20:22:20 +0100 Subject: Adding Objects to a group In-Reply-To: References: <26d0f89e6d55eae93283d1889510ba1c@major-k.de> Message-ID: Ok, found it! copy graphic "aaaaa" to group me of this card set the name of the last grahic to "G-" & the ID of the last Graphic But make sure the that graphic "aaaaa" is before the group in the hierarchy. Cheers Dave >Hi, > >Thanks, but I am creating the object like so: > >copy graphic "TemplateRect" to this card >set name of last graphic to "xxxxxxxxx" > >Then I want to add it to the Group. > >I can't see how to do this, is there a way? > >Thanks >Dave > >>Hi David, >> >>>Hi, >>> >>>How can I add newly created Graphic to a group from TranScript? >>>I want to be able to do something like: >>>put graphic myGraphicName into group "GroupRect" >>> >>>How can I do it????? >> >>Again far too simple! >>Create it directly inside the group like: >> >>... >>create grc myGraphicName in grp "GroupRect" >>... >> >>Et voila... :-) >> >>>Thanks >>>Dave >> >>Regards >> >>Klaus Major >>klaus at major-k.de >>http://www.major-k.de >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Apr 18 15:26:01 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Apr 2005 14:26:01 -0500 Subject: foundline() and linedelimeters other than return In-Reply-To: References: <20050418160016.D4DB0930170@mail.runrev.com> Message-ID: <426409C9.1060905@hyperactivesw.com> On 4/18/05 1:49 PM, R. Hillen wrote: > Hello, > > I wrote: > > on mouseUp > set the itemdelimiter to "|" > set the linedelimiter to "\" > > put "a" & linedelimiter into field "haha" > put "b" & linedelimiter after field "haha" > > find "b" in field haha > answer the number of lines of field haha & return & the foundline > end mouseUp > > > This Script return 2 lines with "b" found in line _1_ of field 1. > I expected line 2 of field 1. > > Am I wrong? Well, *I* don't think so, but the engine does. I expressed an identical complaint about delimiters a long time ago, and was told that custom deimiters were just for text chunking and don't work with other commands. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 18 15:28:57 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Apr 2005 14:28:57 -0500 Subject: foundline() and linedelimeters other than return In-Reply-To: References: <20050418160016.D4DB0930170@mail.runrev.com> Message-ID: <42640A79.9040400@hyperactivesw.com> On 4/18/05 1:49 PM, R. Hillen wrote: > Hello, > > I wrote: > > on mouseUp > set the itemdelimiter to "|" > set the linedelimiter to "\" > > put "a" & linedelimiter into field "haha" > put "b" & linedelimiter after field "haha" > > find "b" in field haha > answer the number of lines of field haha & return & the foundline > end mouseUp > > > This Script return 2 lines with "b" found in line _1_ of field 1. > I expected line 2 of field 1. > > Am I wrong? Wait a sec, I didn't read your message enough times before I answered. The word "linedelimiter" can't be used the way you are doing it. Try: put "a\" into field "haha" put "b\" into fld "haha" You are doing text chunking, so this should work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 18 15:38:11 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Apr 2005 14:38:11 -0500 Subject: Keypress Help In-Reply-To: References: Message-ID: <42640CA3.70104@hyperactivesw.com> On 4/18/05 1:48 PM, Scott Rossi wrote: > Howdy List: > > Still looking for options to reliably detect keypress events on Windows with > Rev. Recap: keyUp messages are immediately sent regardless of whether a > pressed key is released. Same happens with keyDown and rawKeyDown. Even > the keysDown() function doesn't seem to help here since it apparently > alternates between returning the pressed key/s and empty. > > I now have to go explain to a client why I was unable to get their demo > working correctly on a test system. This is majorly irritating since key > events work as expected on MacOS. > > How can one reliably tell on Windows when a key is pressed versus when it is > released? Are you sure you don't have your operating systems backwards? ;) In my experience, it has always been Mac OS that doesn't generate accurate keyUp messages. Windows has always worked for me. That is an OS limitation, as Macs send keyup immediately after keydown, regardless of the physical state of the key itself. Or at least, that's how it has always been in the past. At any rate, I wrote a work-around for it, which should work just as well on Windows as it does on Macs. You'll have to alter the script to suit your own needs, but basically I had to implement a checking loop after a key was depressed. I used a rawKeyDown to start the actions I needed to do, and added "checkKey whichKey,theBtn" to the rawKeyDown handler. That started the loop. Then this handler managed the rest of it: on checkKey whichKey,theBtn -- see if "f" or "r" key has been released; Macs don't generate -- accurate keyUp msgs so we need to use a loop check put charToNum(whichKey) into theKey if theKey is not in keysDown() then -- key is released repeat for each line i in the pendingmessages if i contains "checkKey" then cancel (item 1 of i) end repeat send "mouseUp" to btn theBtn else send "checkKey whichKey,theBtn" to me in 200 milliseconds end if end checkKey In my case, I only needed to check for the keys "r" or "f", but you could alter this to check for whatever keys you need, or all of them. I didn't have any trouble with the keysdown() function returning incorrectly. That may be because I allowed some time between checks, but I don't know for sure. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon Apr 18 16:21:59 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 18 Apr 2005 14:21:59 -0600 Subject: Keypress Help In-Reply-To: References: Message-ID: On Apr 18, 2005, at 12:48 PM, Scott Rossi wrote: > How can one reliably tell on Windows when a key is pressed versus when > it is > released? (An external?) Here is an idea that might work. Here is what I see with rawKeyDown and rawKeyUp: When the key is pressed, a rawKeyDown is sent. As the key is held down then a sequence of rawKeyDown/rawKeyUp pairs are sent. Then a rawKeyUp is sent. So maybe you can use a counter that is incremented with down and incremented with up and call the key down if it is not zero. If neither up or down has come in in some period of time clear the counter, making the key up. (There might be some other scheme based on the down/up pairs being close together if that doesn't work.) Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From rjb at robelko.com Mon Apr 18 16:17:47 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 18 Apr 2005 22:17:47 +0200 Subject: page count in PDF files Message-ID: Does anyone knows or has a code snippet that would allow me to pick up the number of pages in a pdf file? I have inspected files from different versions of acrobat and there does not seem to be simple way to extract it programmatically. But admittedly I haven't seen pdf specs for quite a while. Robert From alex at tweedly.net Mon Apr 18 16:44:02 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 18 Apr 2005 21:44:02 +0100 Subject: foundline() and linedelimeters other than return In-Reply-To: <42640A79.9040400@hyperactivesw.com> References: <20050418160016.D4DB0930170@mail.runrev.com> <42640A79.9040400@hyperactivesw.com> Message-ID: <42641C12.8070307@tweedly.net> J. Landman Gay wrote: > On 4/18/05 1:49 PM, R. Hillen wrote: > >> Hello, >> >> I wrote: >> >> on mouseUp >> set the itemdelimiter to "|" >> set the linedelimiter to "\" >> >> put "a" & linedelimiter into field "haha" >> put "b" & linedelimiter after field "haha" >> >> find "b" in field haha >> answer the number of lines of field haha & return & the foundline >> end mouseUp >> >> >> This Script return 2 lines with "b" found in line _1_ of field 1. >> I expected line 2 of field 1. >> >> Am I wrong? > > > Wait a sec, I didn't read your message enough times before I answered. > > The word "linedelimiter" can't be used the way you are doing it. Yes you can - though my first thought was that you'd need to say "the linedelimiter" put "a" & the linedelimiter into field "haha" But in fact the field does get the correct value placed into it. > Try: > > put "a\" into field "haha" > put "b\" into fld "haha" Makes no difference. > You are doing text chunking, so this should work. I think maybe the "find" command doesn't count as "text chunking" - if you do lineOffset("b", field "Field") you get the expected value of 2. Alternatively, of course, lineDelimeter is a *local* value, and doesn't affect the vales used in other handlers - so if the find command is implemented as a handler then that would also explain this behaviour; note the docs don't say that it is - purely speculation. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 18/04/2005 From revlist at cableone.net Mon Apr 18 17:33:15 2005 From: revlist at cableone.net (Chris Sheffield) Date: Mon, 18 Apr 2005 15:33:15 -0600 Subject: Profiles or other? Message-ID: <1113860785_30081@S4.cableone.net> I'm trying to accomplish something and I'm wondering if using profiles is going to be my best bet or if there is some other way of accomplishing this. I'm working on an update to a stack which, when released, will act in such a way so that certain features will only be available based on license keys that users will enter. So basically I've created a custom property that will get set to true or false once it has been determined if these features should be enabled or not. What I would like to do is have certain controls become visible upon setting that custom property. So I'm thinking I would just handle the setProp for that property and then use revSetStackProfile to essentially "show" all the controls that I want to give access to. Otherwise, they would remain hidden. Does that make sense? Not sure if I'm explaining this very well. The only problem is that I've found in the past that revSetStackProfile can be a bit slow, but I'm not sure if that was because of something I did wrong or what. I'm assuming the command scans through all the controls in the stack and sets them to the profile you specify (if it exists for that control). So if the stack is large, it could take some time. Anyway, is this the best thing to do, or can someone think of something else? Thanks, Chris Sheffield Read Naturally The Fluency Company www.readnaturally.com P.S. Can anyone tell me the difference between revSetStackProfile and revSetStackFileProfile? From what I can tell they accomplish the same thing. From ambassador at fourthworld.com Mon Apr 18 17:37:10 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Apr 2005 14:37:10 -0700 Subject: Profiles or other? In-Reply-To: <1113860785_30081@S4.cableone.net> References: <1113860785_30081@S4.cableone.net> Message-ID: <42642886.4010201@fourthworld.com> Chris Sheffield wrote: > I'm trying to accomplish something and I'm wondering if using profiles is > going to be my best bet or if there is some other way of accomplishing this. > > I'm working on an update to a stack which, when released, will act in such a > way so that certain features will only be available based on license keys > that users will enter. So basically I've created a custom property that > will get set to true or false once it has been determined if these features > should be enabled or not. What I would like to do is have certain controls > become visible upon setting that custom property. So I'm thinking I would > just handle the setProp for that property and then use revSetStackProfile to > essentially "show" all the controls that I want to give access to. > Otherwise, they would remain hidden. Does that make sense? Not sure if I'm > explaining this very well. The only problem is that I've found in the past > that revSetStackProfile can be a bit slow, but I'm not sure if that was > because of something I did wrong or what. I'm assuming the command scans > through all the controls in the stack and sets them to the profile you > specify (if it exists for that control). So if the stack is large, it could > take some time. > > Anyway, is this the best thing to do, or can someone think of something > else? One way would be to group the controls according to license type, then you only have to hide/show one object. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From capellan2000 at yahoo.com Mon Apr 18 17:40:29 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 18 Apr 2005 14:40:29 -0700 (PDT) Subject: Revolution and .swf In-Reply-To: <20050418185101.538839301B4@mail.runrev.com> Message-ID: <20050418214030.1168.qmail@web40513.mail.yahoo.com> on Mon, 18 Apr 2005 > Boy, THIS almost never turns out to be a good > thing. > > Remember when one or the other or both of them > (along with Corel)bought up a bunch of the really > neat, innovative stuff that MetaCreations put out? > (Carrera, Canoma [I think)and a whole host > of others that are now dead, gone and largely > forgotten? I remember have seen an old list of Adobe unsupported applications... An impresive range of unique and useful apps that were buried after being bought by Adobe... I really like Adobe products, but i'm not sure about this corporate move. By the way, Kai Krausse in his website makes an anecdote that i believe true: It took only four days to add long filenames support to Windows... Kai points about the countless problems that the 8.3 filename convention caused to productivity, even today. Solved in just four days... About swf in Runrev... Notice, there is a dll that play swf within Neobook, so this could give a hint about if this is possible in Runrev. al Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail From kray at sonsothunder.com Mon Apr 18 17:56:38 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 18 Apr 2005 16:56:38 -0500 Subject: page count in PDF files In-Reply-To: Message-ID: On 4/18/05 3:17 PM, "Robert Brenstein" wrote: > Does anyone knows or has a code snippet that would allow me to pick > up the number of pages in a pdf file? I have inspected files from > different versions of acrobat and there does not seem to be simple > way to extract it programmatically. But admittedly I haven't seen pdf > specs for quite a while. Here you go: on mouseUp answer file "Select a PDF:" if it <> "" then answer "The number of pages in the selected PDF is:" && stsGetNumPDFPages(it) end if end mouseUp function stsGetNumPDFPages pFile put url("file:" & pFile) into tData put word 1 to -1 of line 1 of tData into tPDFVersion put lineOffset("/Type /Catalog",tData) into tLine switch tPDFVersion case "%PDF-1.2" put line (tLine-1) of tData into tPageMarker break default put line (tLine+1) of tData into tPageMarker break end switch put word 2 of tPageMarker into tObjectNode put lineOffset(tObjectNode && "0 obj",tData) into tObjStart put lineOffset(">>",tData,tObjStart) + tObjStart into tObjEnd put line tObjStart to tObjEnd of tData into tObjBlock filter tObjBlock with ("/Count*") return (word 2 of tObjBlock) end stsGetNumPDFPages HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revlist at cableone.net Mon Apr 18 17:57:33 2005 From: revlist at cableone.net (Chris Sheffield) Date: Mon, 18 Apr 2005 15:57:33 -0600 Subject: Profiles or other? In-Reply-To: <42642886.4010201@fourthworld.com> Message-ID: <1113861474_31345@S1.cableone.net> I had thought of that. Only bad thing is that the controls are going to be spread throughout the stack and on different cards. I suppose I could do that and place the group on the cards where I need any of those controls, but then I would still have to handle hiding/showing individual controls, which is kind of what I was hoping to avoid. Chris -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Monday, April 18, 2005 3:37 PM To: How to use Revolution Subject: Re: Profiles or other? Chris Sheffield wrote: > I'm trying to accomplish something and I'm wondering if using profiles is > going to be my best bet or if there is some other way of accomplishing this. > > I'm working on an update to a stack which, when released, will act in such a > way so that certain features will only be available based on license keys > that users will enter. So basically I've created a custom property that > will get set to true or false once it has been determined if these features > should be enabled or not. What I would like to do is have certain controls > become visible upon setting that custom property. So I'm thinking I would > just handle the setProp for that property and then use revSetStackProfile to > essentially "show" all the controls that I want to give access to. > Otherwise, they would remain hidden. Does that make sense? Not sure if I'm > explaining this very well. The only problem is that I've found in the past > that revSetStackProfile can be a bit slow, but I'm not sure if that was > because of something I did wrong or what. I'm assuming the command scans > through all the controls in the stack and sets them to the profile you > specify (if it exists for that control). So if the stack is large, it could > take some time. > > Anyway, is this the best thing to do, or can someone think of something > else? One way would be to group the controls according to license type, then you only have to hide/show one object. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 4/18/2005 From chris at carroll-davis.co.uk Mon Apr 18 18:13:33 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Mon, 18 Apr 2005 23:13:33 +0100 Subject: Record Sound In-Reply-To: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> References: <9bb990eb691751a8c6524f91d87b4354@tamu.edu> Message-ID: Ron - I have had some experience with recording sound. On the Mac it worked fine, but I came across problems on Windows that were apparently caused by QuickTime bugs on Windows. (Rev uses QT for sound recording) I was given some kind help to get recording working properly on Windows by using MCI commands to get around QT bug. (I work on Macs!) I could send you some sample scripts later in week, but I won't be at my desk for a day or so. (Also need to get permission from my "MCI source"...) I don't know about setting the sound input to iSight, but I gather there may be a problem with that at present. Just today, I read that one of the new features of Tiger is to be able to use the iSight for general purpose sound input... From Apple's web site today: http://www.apple.com/macosx/newfeatures/over200.html > iSight Integration > Enable iSight in the Sound Preference panel for regular audio input > including speech recognition. Chris On 18 Apr 2005, at 16:02, Ronald Zellner wrote: > Is anyone using the record sound function? I saw some activity on > the listserve a while back pertaining to this but I don't seem to > have the right parameters or something. Does anyone have a sample > stack or script? > > Also, I'm still trying to find a way to set the input to the iSight > microphone or a USB microphone on a Mac. Anyone know the recordInput > property for this? I know it can use 'dflt' to use the one set in the > system settings, but I'd like to be able to script it. > > Thanks, > Ron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From public at veggio.com Mon Apr 18 18:26:17 2005 From: public at veggio.com (Varen Swaab) Date: Mon, 18 Apr 2005 15:26:17 -0700 Subject: Windows blue border be gone? Message-ID: Hello everyone I'm wondering if there is any way to remove the lovely blue border Windows insists on putting around all windows? I know that I could do a custom shape window with a mask but that isn't a solution I could use for this project. Is there any other way to remove the border, such as a RR setting I'm missing? Thanks Var From dsc at swcp.com Mon Apr 18 19:05:14 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 18 Apr 2005 17:05:14 -0600 Subject: Keypress Help In-Reply-To: References: Message-ID: <68eb6aaaf7309165d81cbf014f7b1be0@swcp.com> On Apr 18, 2005, at 2:21 PM, Dar Scott wrote: > Here is what I see with rawKeyDown and rawKeyUp: > > When the key is pressed, a rawKeyDown is sent. As the key is held > down then a sequence of rawKeyDown/rawKeyUp pairs are sent. Then a > rawKeyUp is sent. A picture might help: D DU DU DU DU DU DU DU U Notice the two downs at the start and two ups at the end. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From scott at tactilemedia.com Mon Apr 18 19:20:39 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Apr 2005 16:20:39 -0700 Subject: Windows blue border be gone? In-Reply-To: Message-ID: Recently, Varen Swaab wrote: > I'm wondering if there is any way to remove the lovely blue border > Windows insists on putting around all windows? I know that I could do a > custom shape window with a mask but that isn't a solution I could use > for this project. Is there any other way to remove the border, such as > a RR setting I'm missing? set the decorations of stack myStack to none You'll need a custom dragging routine in your stack if you need to move it once the titlebar is gone. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sarahr at genesearch.com.au Mon Apr 18 19:23:52 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 19 Apr 2005 09:23:52 +1000 Subject: Very annoying IDE Problem In-Reply-To: References: <20050418093820.5507193012E@mail.runrev.com> Message-ID: <2432d24f3d646b0d99ed25a3ce80b29a@genesearch.com.au> > My students quite often run into stack corruption. Most of the time it > can be traced to their being over their disk quota on the file server > we > save the stacks to, but sometimes the stacks just corrupt. I *never* > had > this problem in ten years of teaching using HyperCard. > > BTW, it would be *really* nice if RunRev would, as other apps do, give > an > error message when trying to save to a disk that's over quota, instead > of > just quietly corrupting the stack beyond recovery. > When Rev tries to save a stack, it first makes a copy the original with a tilde ~ after the name e.g. myStackFile.rev~ If the save succeeds, the tilde copy is deleted. If the save fails, your new stack will be an incomplete file that won't open, but the original is there with the tilde attached. While I agree that it would be nice if there is a warning (although I have never tried checking "the result" after a save), it is easy enough to check for the tilde file after a save and see if it exists. Cheers, Sarah From kray at sonsothunder.com Mon Apr 18 19:44:06 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 18 Apr 2005 18:44:06 -0500 Subject: Keypress Help In-Reply-To: <68eb6aaaf7309165d81cbf014f7b1be0@swcp.com> Message-ID: On 4/18/05 6:05 PM, "Dar Scott" wrote: > > On Apr 18, 2005, at 2:21 PM, Dar Scott wrote: > >> Here is what I see with rawKeyDown and rawKeyUp: >> >> When the key is pressed, a rawKeyDown is sent. As the key is held >> down then a sequence of rawKeyDown/rawKeyUp pairs are sent. Then a >> rawKeyUp is sent. > > A picture might help: > > D DU DU DU DU DU DU DU U > > Notice the two downs at the start and two ups at the end. A long time ago I spoke with Scott Raney about this, and he said that different OSes may send different sequences of downs and ups (he's just reporting them as they come in from the event manager in the OS)... the only thing he could guarantee was that there was always going to be an equal number of downs to ups (i.e. none would get lost). I know this doesn't help, but it does explain why different OSes behave differently in this case. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dsc at swcp.com Mon Apr 18 19:48:08 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 18 Apr 2005 17:48:08 -0600 Subject: Keypress Help In-Reply-To: References: Message-ID: <082c6d2113f27296bfba489039f21098@swcp.com> On Apr 18, 2005, at 5:44 PM, Ken Ray wrote: >> Notice the two downs at the start and two ups at the end. > > A long time ago I spoke with Scott Raney about this, and he said that > different OSes may send different sequences of downs and ups (he's just > reporting them as they come in from the event manager in the OS)... > the only > thing he could guarantee was that there was always going to be an equal > number of downs to ups (i.e. none would get lost). Well, if all the OSes Scott Rossi needs are like this, he's set. dar From gjbalzano at ucsd.edu Mon Apr 18 19:50:11 2005 From: gjbalzano at ucsd.edu (Jerry Balzano) Date: Mon, 18 Apr 2005 16:50:11 -0700 Subject: Revolution and .swf In-Reply-To: <4263FC13.6040708@fourthworld.com> References: <4263FC13.6040708@fourthworld.com> Message-ID: <9A839386-B064-11D9-9EF8-000393DBD07E@ucsd.edu> Well, now, this is a little odd. There is indeed a downloadable file at the URL mentioned by RG, called "revanimation.rev". And there is an apparently identical file -- also called "revanimation.rev" -- in the components/assistants folder of the Rev folder. So which is it? How could the same file be unsupported and also be in the release? Jerry > On Apr 18, 2005, at 11:17 AM, Judy Perry wrote: > >> One which points all the more directly at the >> need for a new, improved animation builder. >> >> (Pretty please?) >> >> Judy > On Apr 18, 2005, at 11:27 AM, Richard Gaskin wrote: > >> The old one is available here: >> From thien at unimelb.edu.au Mon Apr 18 19:59:03 2005 From: thien at unimelb.edu.au (Nicholas Thieberger) Date: Tue, 19 Apr 2005 09:59:03 +1000 Subject: QT problem In-Reply-To: <20050418221049.18FA19300F2@mail.runrev.com> References: <20050418221049.18FA19300F2@mail.runrev.com> Message-ID: Hi, This is really a QT problem, but I can't get them to respond X;{ so I am begging your indulgence. I have an RR app that uses QT for accessing media, but it has lost its audio component. If I try and open the media file directly I get the completely unilluminating message "a software component needed by the movie could not be opened". I have reinstalled QT, I have reinstalled the Mac OS..... Any suggestions? Thankss Nick From webmaster at dreamscapesoftware.com Mon Apr 18 20:01:17 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 18 Apr 2005 19:01:17 -0500 Subject: Windows blue border be gone? In-Reply-To: References: Message-ID: <42644A4D.2000404@dreamscapesoftware.com> > I'm wondering if there is any way to remove the lovely blue border > Windows insists on putting around all windows? I know that I could do a > custom shape window with a mask but that isn't a solution I could use > for this project. Is there any other way to remove the border, such as > a RR setting I'm missing? Well, you can set the decorations of the stack to none. That will, however, remove the stack's taskbar button. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress 2.6.1 http://www.dreamscapesoftware.com/ From scott at tactilemedia.com Mon Apr 18 20:06:10 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Apr 2005 17:06:10 -0700 Subject: Keypress Help In-Reply-To: <42640CA3.70104@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: >> How can one reliably tell on Windows when a key is pressed versus when it is >> released? > > Are you sure you don't have your operating systems backwards? ;) In my > experience, it has always been Mac OS that doesn't generate accurate > keyUp messages. Windows has always worked for me. That is an OS > limitation, as Macs send keyup immediately after keydown, regardless of > the physical state of the key itself. Or at least, that's how it has > always been in the past. Thanks for the response Jacque. But I wonder if you might be thinking about OS9. OSX works great for me. When I run the following simple test stack on MacOS, it works as expected: go url "http://www.tactilemedia.com/download/keytracker.rev" Enable the test button and press one/some keys. The pressed keys are shown and [empty] is displayed when nothing is pressed. When this is run on WindowsXP, I get a mostly empty result, that flickers between the pressed keys and [empty]. The keysDown function is apparently not working because it doesn't seem to reliably return the keys that are pressed (my understanding is the keysDown function was originally designed to get around this whole key detection problem). Does this work for you on Windows (or anyone else for that matter)? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Mon Apr 18 20:09:35 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Apr 2005 17:09:35 -0700 Subject: Keypress Help In-Reply-To: Message-ID: Recently, Dar Scott wrote: > So maybe you can use a counter that is incremented with down and > incremented with up and call the key down if it is not zero. If > neither up or down has come in in some period of time clear the > counter, making the key up. Thanks for the suggestion Dar. Barring a 'real' detection scheme, I might have to resort to something like this. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ptrendler at bigpond.com Mon Apr 18 20:23:33 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Tue, 19 Apr 2005 10:23:33 +1000 Subject: Keypress Help References: Message-ID: <009b01c54476$09c45a60$0100000a@super> Win XP Pro SP2 etc All keys detected except those you wouldn't expect to detect: Power, Sleep and WakeUp. Pat ----- Original Message ----- From: "Scott Rossi" To: Sent: Tuesday, April 19, 2005 10:06 AM Subject: Re: Keypress Help > Recently, J. Landman Gay wrote: > >>> How can one reliably tell on Windows when a key is pressed versus when >>> it is >>> released? >> >> Are you sure you don't have your operating systems backwards? ;) In my >> experience, it has always been Mac OS that doesn't generate accurate >> keyUp messages. Windows has always worked for me. That is an OS >> limitation, as Macs send keyup immediately after keydown, regardless of >> the physical state of the key itself. Or at least, that's how it has >> always been in the past. > > Thanks for the response Jacque. But I wonder if you might be thinking > about > OS9. OSX works great for me. > > When I run the following simple test stack on MacOS, it works as expected: > > go url "http://www.tactilemedia.com/download/keytracker.rev" > > Enable the test button and press one/some keys. The pressed keys are > shown > and [empty] is displayed when nothing is pressed. > > When this is run on WindowsXP, I get a mostly empty result, that flickers > between the pressed keys and [empty]. The keysDown function is apparently > not working because it doesn't seem to reliably return the keys that are > pressed (my understanding is the keysDown function was originally designed > to get around this whole key detection problem). > > Does this work for you on Windows (or anyone else for that matter)? > > 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 ptrendler at bigpond.com Mon Apr 18 20:26:19 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Tue, 19 Apr 2005 10:26:19 +1000 Subject: Keypress Help References: <009b01c54476$09c45a60$0100000a@super> Message-ID: <00a101c54476$6d1a0a60$0100000a@super> And of course those keys which remove the hilite from the btn Space and Return. ----- Original Message ----- From: "Pat Trendler" To: "How to use Revolution" Sent: Tuesday, April 19, 2005 10:23 AM Subject: Re: Keypress Help > Win XP Pro SP2 etc > > All keys detected except those you wouldn't expect to detect: Power, > Sleep and WakeUp. > > Pat > > ----- Original Message ----- > From: "Scott Rossi" > To: > Sent: Tuesday, April 19, 2005 10:06 AM > Subject: Re: Keypress Help > > >> Recently, J. Landman Gay wrote: >> >>>> How can one reliably tell on Windows when a key is pressed versus when >>>> it is >>>> released? >>> >>> Are you sure you don't have your operating systems backwards? ;) In my >>> experience, it has always been Mac OS that doesn't generate accurate >>> keyUp messages. Windows has always worked for me. That is an OS >>> limitation, as Macs send keyup immediately after keydown, regardless of >>> the physical state of the key itself. Or at least, that's how it has >>> always been in the past. >> >> Thanks for the response Jacque. But I wonder if you might be thinking >> about >> OS9. OSX works great for me. >> >> When I run the following simple test stack on MacOS, it works as >> expected: >> >> go url "http://www.tactilemedia.com/download/keytracker.rev" >> >> Enable the test button and press one/some keys. The pressed keys are >> shown >> and [empty] is displayed when nothing is pressed. >> >> When this is run on WindowsXP, I get a mostly empty result, that flickers >> between the pressed keys and [empty]. The keysDown function is >> apparently >> not working because it doesn't seem to reliably return the keys that are >> pressed (my understanding is the keysDown function was originally >> designed >> to get around this whole key detection problem). >> >> Does this work for you on Windows (or anyone else for that matter)? >> >> 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 >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Apr 18 22:50:30 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Apr 2005 21:50:30 -0500 Subject: Keypress Help In-Reply-To: References: Message-ID: <426471F6.8020205@hyperactivesw.com> On 4/18/05 7:06 PM, Scott Rossi wrote: > Recently, J. Landman Gay wrote: > > >>>How can one reliably tell on Windows when a key is pressed versus when it is >>>released? >> >>Are you sure you don't have your operating systems backwards? ;) In my >>experience, it has always been Mac OS that doesn't generate accurate >>keyUp messages. Windows has always worked for me. That is an OS >>limitation, as Macs send keyup immediately after keydown, regardless of >>the physical state of the key itself. Or at least, that's how it has >>always been in the past. > > > Thanks for the response Jacque. But I wonder if you might be thinking about > OS9. OSX works great for me. Seems to work for me too, so it must have been OS 9. It's been a few years since I had to use this. > > When I run the following simple test stack on MacOS, it works as expected: > > go url "http://www.tactilemedia.com/download/keytracker.rev" > > Enable the test button and press one/some keys. The pressed keys are shown > and [empty] is displayed when nothing is pressed. > > When this is run on WindowsXP, I get a mostly empty result, that flickers > between the pressed keys and [empty]. The keysDown function is apparently > not working because it doesn't seem to reliably return the keys that are > pressed (my understanding is the keysDown function was originally designed > to get around this whole key detection problem). > > Does this work for you on Windows (or anyone else for that matter)? Wish I could test it on Windows for you, but my Windows machine is unavailable for a few weeks. But someone else said it worked in WinXP -- which is weird, if it isn't working on your machine. Could your machine have caught a virus/keylogger (or would that even interfere?) Or do you have some macro thing installed, or anything? > > 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 > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From b.xavier at internet.lu Tue Apr 19 00:24:29 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 19 Apr 2005 06:24:29 +0200 Subject: Revolution and .swf In-Reply-To: Message-ID: <20050419043710.3D1B8930067@mail.runrev.com> > Xavier, > > Your 'average' DC user isn't likely to roll his/her own *anything*. > > Once you become a real geek, it is soooo easy to forget about > the millions and maybe billions of people who are not. It does take a rocket scientist to do any basic animation... I agree it can get complicated but it's not that hard... Here's my favority tutorial in flash... it's really quite simple and present nice effects used in modern animation techniques... http://www.bit-101.com/tutorials > Yes, if _I_ had a need to incorporate Flashs files, yes, I > _could_ spend an hour or two (or three or...?) investigating > (those of others) and/or writing my own various hacks. But > they'd still be hacks, wouldn't they? No, they would be absolutely not hacks but your own technique based on someoneelses. > Allow me to quote from Rev's top-line webpage regarding Dreamcard: > > "Dreamcard: build it. Software design and programming for > the rest of us... Make multimedia..." I haven't tried dreamcard but even if it is simple like HyperCard, animation is possible... repeat with x = 1 to x1 set the left of grp "animated" to x set the top of grp "animated" to the top of grp "animated" + (random(3)-2) -- give is a wobble effect end repeat > Okay, now, You just can't go about advertising yourself as an > ideal instrument for creating multimedia (for beginniers, > i.e., "the rest of > us") and then not provide any native support for what is next > to QT one of the more ubiquitous multimedia file formats OR > by not providing your own animation tool. It's like tellling > people to write their own routines to support color because, > after all, any _real_ geek could do so him/herself. you have to start somewhere ;) > I, too, await with hopeful optimism that previous hints > regarding the re-release of a better animation builder will > be addressed in the not-so-distant in the future upgrades. It would be a plus for those starting, i agree. > And, experience has largely shown me that it is the squeaking > wheel that gets the grease rather sooner than later. Or it gets replaced with maintenance free ball-bearing wheels ;) cheers Xavier From public at veggio.com Tue Apr 19 00:26:19 2005 From: public at veggio.com (Varen Swaab) Date: Mon, 18 Apr 2005 21:26:19 -0700 Subject: Windows blue border be gone? In-Reply-To: <42644A4D.2000404@dreamscapesoftware.com> References: <42644A4D.2000404@dreamscapesoftware.com> Message-ID: Thanks guys. On Apr 18, 2005, at 5:01 PM, Derek Bump wrote: > > I'm wondering if there is any way to remove the lovely blue border > > Windows insists on putting around all windows? I know that I could > do a > > custom shape window with a mask but that isn't a solution I could use > > for this project. Is there any other way to remove the border, such > as > > a RR setting I'm missing? > > Well, you can set the decorations of the stack to none. That will, > however, remove the stack's taskbar button. > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Images Easily with JPEGCompress 2.6.1 > http://www.dreamscapesoftware.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jay.listo at gmail.com Tue Apr 19 00:39:19 2005 From: jay.listo at gmail.com (Jay Listo) Date: Tue, 19 Apr 2005 11:39:19 +0700 Subject: Mac compatible DB's In-Reply-To: <20050415221948.ZGZZ13104.fed1rmmtao07.cox.net@smtp.west.cox.net> References: <20050415221948.ZGZZ13104.fed1rmmtao07.cox.net@smtp.west.cox.net> Message-ID: Hi, Sybase 12.5.1 and 12.5.2 works quite well on MacOSX. Quite a breeze to get started and even low maintenance for a full RDBMS. But I haven't had any success using RunRev on MacOSX connect via ODBC to Sybase on MacOSX. I'm just able to get RunRev on WinXP connect via ODBC to Sybase on MacOSX. I'm still looking for solutions to a couple of issues I have with RunRev... 1. RunRev on MacOSX connection via ODBC 2. RunRev consistency with UniCode Jay On Apr 16, 2005, at 5:19 AM, wrote: > Hi Mac OSX 10.2 PostgreSQL developers... > > A work colleague just gave me this site to check out... > http://www.entropy.ch/software/macosx/postgresql/ > > I don't work/develop on the Mac, but he seems to think that this will > help with the installation of PostgreSQL on the Mac OSX. > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ptrendler at bigpond.com Tue Apr 19 00:40:48 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Tue, 19 Apr 2005 14:40:48 +1000 Subject: Revolution and .swf References: <20050419043710.3D1B8930067@mail.runrev.com> Message-ID: <001201c54499$f7aad420$0100000a@super> > >> And, experience has largely shown me that it is the squeaking >> wheel that gets the grease rather sooner than later. >> Judy. > > Or it gets replaced with maintenance free ball-bearing wheels ;) > > cheers > Xavier > You mean like those on the shopping carts in supermarkets that go everywhere except where you want them to, or don't go at all. ;} Pat From jay.listo at gmail.com Tue Apr 19 01:07:05 2005 From: jay.listo at gmail.com (Jay Listo) Date: Tue, 19 Apr 2005 12:07:05 +0700 Subject: Unicode in RunRev Problems Message-ID: Hi, I've been checking out RunRev for a while, and lurking on this list. I'm finding a disproportionate amount of problems with RunRev's handling of Unicode. I thought Unicode was Unicode...but apparently RunRev seems to be treating different languages (esp. Asian languages) inconsistently. I've been considering using RunRev to do a system that should support data and/or menus in multiple languages...I'm getting a sense that this might be somewhat restricted. Is there any information about what language actually works and what doesn't as Unicode in RunRev? Jay From psahores at easynet.fr Tue Apr 19 02:23:27 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 19 Apr 2005 08:23:27 +0200 Subject: Mac compatible DB's In-Reply-To: References: <20050415221948.ZGZZ13104.fed1rmmtao07.cox.net@smtp.west.cox.net> Message-ID: <070c3c06c5e6d11ec5b80547bcf2dcf3@easynet.fr> At this point, i would try to connect the Sybase transactions manager in piping it trought Rev's shell commands. Works fine under the Linux platform to access Postgres. Will need some bash preferences tunning under the Mac OS X platform about the length of the messages the bash can pipe under this platform (need to be tested - could work). Best, Pierre > Hi, > > Sybase 12.5.1 and 12.5.2 works quite well on MacOSX. Quite a breeze > to get started and even low maintenance for a full RDBMS. > > But I haven't had any success using RunRev on MacOSX connect via ODBC > to Sybase on MacOSX. > > I'm just able to get RunRev on WinXP connect via ODBC to Sybase on > MacOSX. > > I'm still looking for solutions to a couple of issues I have with > RunRev... > 1. RunRev on MacOSX connection via ODBC > 2. RunRev consistency with UniCode > > Jay > > > On Apr 16, 2005, at 5:19 AM, wrote: > >> Hi Mac OSX 10.2 PostgreSQL developers... >> >> A work colleague just gave me this site to check out... >> http://www.entropy.ch/software/macosx/postgresql/ >> >> I don't work/develop on the Mac, but he seems to think that this will >> help with the installation of PostgreSQL on the Mac OSX. >> >> Mark >> >> _______________________________________________ >> 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 chrono_wind at yahoo.com Tue Apr 19 03:36:06 2005 From: chrono_wind at yahoo.com (Chrono Wind) Date: Tue, 19 Apr 2005 00:36:06 -0700 (PDT) Subject: Unicode Message-ID: <20050419073607.1912.qmail@web42104.mail.yahoo.com> Hi, i really confused how to use the commands and the properties with unicode displaying. i found many commands and properties in RR; useUnicode, textFont, uniEncode, uniDecode and unicodeText. i don't know when should i be using textFont. Also, do i have to set the useUnicode before the commands or properties? Then, about uniEncode and uniDecode, when should it be used and do it has to be used together with other command or properties. And, how and when unicodeText will be used? Since i'm a newbie here, i just guess using them randomly, sometimes it works, sometimes it doesn't. So, i think somebody please light me up. Thanks, Wind --------------------------------- Do you Yahoo!? Plan great trips with Yahoo! Travel: Now over 17,000 guides! From revolution at jaedworks.com Tue Apr 19 04:36:59 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 19 Apr 2005 01:36:59 -0700 Subject: Profiles or other? In-Reply-To: <1113860785_30081@S4.cableone.net> References: <1113860785_30081@S4.cableone.net> Message-ID: At 3:33 PM -0600 4/18/05, Chris Sheffield wrote: >P.S. Can anyone tell me the difference between revSetStackProfile and >revSetStackFileProfile? From what I can tell they accomplish the same >thing. revSetStackFile profile affects all the stacks in a stack file. revSetStackProfile sets all the profiles in the specified stack; revSetStackFileProfile sets all the profiles in every stack in the file belonging to the specified stack. If the stack is the only one in the file (if it has no substacks), they do the same thing. If there are substacks, revSetStackFileProfile affects the substacks too, while revSetStackProfile doesn't. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From stepheREVOLUTIONn at barncard.com Mon Apr 18 10:27:19 2005 From: stepheREVOLUTIONn at barncard.com (Stephen Barncard) Date: Mon, 18 Apr 2005 07:27:19 -0700 Subject: Converting mysql to SQLite Message-ID: Trevor, thanks again for your DB library. It is very useful and motivational.. and example of great coding... Will the new library be backwards compatible? Should all I have to do would be to change the lib name in the code? sqb >incorporation it into libDatabse so it will be easy to add >additional db support. I plan on releasing 2.0 of libDatabase with >support for MySQL, SQLite and Valentina. >Trevor DeVore >Blue Mango Multimedia From sims at ezpzapps.com Tue Apr 19 07:04:52 2005 From: sims at ezpzapps.com (sims) Date: Tue, 19 Apr 2005 13:04:52 +0200 Subject: playing video on PCs Message-ID: I need to play video on both OS X and Windows machines which will for the most part be business computers - corporate office machines. The Mac part I can figure out and will be able to use QuickTime. Some PC machines will not have QuickTime installed and will not want to install QT. I need some advice on what format/codec to use for these non-QT machines. In the list archives I found this: >Having said that, I suggest you save video in the best format/codec for >each platform, and select the files on the fly according to the platform >its running on. For example, QT with Sorenson for MacOS, and .mpg with >Indeo for WinOS. I say Indeo as it's the only codec you can rely on being >loaded on a WinOS machine. Can anyone else give me some advise on: 1. what format/codec would be found on most PC machines - in other words what is the safest way to go, would it be .mpg with Indeo as suggested above 2. what codec/format would provide the best viewing experience on PCs which do not have QT - in other words what provides the best which can be used via a Rev application TIA sims From xbury.cs at clearstream.com Tue Apr 19 07:22:49 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 19 Apr 2005 13:22:49 +0200 Subject: playing video on PCs Message-ID: Hi Sims, You can use mpg or avi on pcs no problem. As far as codecs go, if you can bare bloat, use indeo or any xp-included codec. But Divx or xvid is by far much smaller if not just as good quality wise and generally the one most in use xvid or divx codecs can be downloaded for free btw. There's also a free quicktime player but dont remember it's web site. As soon as i find it or the other player i wanted to mention, i'll send it... cheers Xavier On 19.04.2005 13:04:52 use-revolution-bounces wrote: >I need to play video on both OS X and Windows machines which will >for the most part be business computers - corporate office machines. > >The Mac part I can figure out and will be able to use QuickTime. > >Some PC machines will not have QuickTime installed and will not want >to install QT. I need some advice on what format/codec to use for >these non-QT machines. > >In the list archives I found this: > >>Having said that, I suggest you save video in the best format/codec for >>each platform, and select the files on the fly according to the platform >>its running on. For example, QT with Sorenson for MacOS, and .mpg with >>Indeo for WinOS. I say Indeo as it's the only codec you can rely on being >>loaded on a WinOS machine. > >Can anyone else give me some advise on: > >1. what format/codec would be found on most PC machines - in other words >what is the safest way to go, would it be .mpg with Indeo as suggested above > >2. what codec/format would provide the best viewing experience on PCs >which do not have QT - in other words what provides the best which can >be used via a Rev application > >TIA >sims >_______________________________________________ >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 klaus at major-k.de Tue Apr 19 08:05:34 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 19 Apr 2005 14:05:34 +0200 Subject: playing video on PCs In-Reply-To: References: Message-ID: <1986abfdb19615cc4359ca8113bfc531@major-k.de> Hi sims, > I need to play video on both OS X and Windows machines which will > for the most part be business computers - corporate office machines. > > The Mac part I can figure out and will be able to use QuickTime. > > Some PC machines will not have QuickTime installed and will not want > to install QT. I need some advice on what format/codec to use for > these non-QT machines. > > In the list archives I found this: > >> Having said that, I suggest you save video in the best format/codec >> for >> each platform, and select the files on the fly according to the >> platform >> its running on. For example, QT with Sorenson for MacOS, and .mpg >> with >> Indeo for WinOS. I say Indeo as it's the only codec you can rely on >> being >> loaded on a WinOS machine. > > Can anyone else give me some advise on: > > 1. what format/codec would be found on most PC machines - in other > words > what is the safest way to go, would it be .mpg with Indeo as suggested > above Well, MPG (1) = MPG (1) and <> INDEO! ;-) The Indeo (Indeo Codec by Intel, 3.2) codec, which dates 1995!, is the most basic codec and does not provide a nice picture, so this should your the last choice... AVIs in general will play on a pc, as long as the appropriate codec is installed on the target machine like DivX etx... And that may be played on PCs without Quicktime, but no guarantees, test, test, test, test etc... > 2. what codec/format would provide the best viewing experience on PCs > which do not have QT - in other words what provides the best which can > be used via a Rev application Again, MPG (1) and AVI, but i would stay with MPG, since AVI is like Quicktime just a container for zillions of different (and maybe VERY exotic) codecs... > TIA > sims Regards Klaus Major klaus at major-k.de http://www.major-k.de From marty at vertex.ucls.uchicago.edu Tue Apr 19 08:26:22 2005 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Tue, 19 Apr 2005 07:26:22 -0500 (CDT) Subject: Very annoying IDE Problem In-Reply-To: <20050419063643.CCF709300E7@mail.runrev.com> References: <20050419063643.CCF709300E7@mail.runrev.com> Message-ID: Sarah Reichelt writes: > > > My students quite often run into stack corruption. Most of the time it > > can be traced to their being over their disk quota on the file server > > we > > save the stacks to, but sometimes the stacks just corrupt. I *never* > > had > > this problem in ten years of teaching using HyperCard. > > > > BTW, it would be *really* nice if RunRev would, as other apps do, give > > an > > error message when trying to save to a disk that's over quota, instead > > of > > just quietly corrupting the stack beyond recovery. > > > When Rev tries to save a stack, it first makes a copy the original with > a tilde ~ after the name e.g. myStackFile.rev~ > If the save succeeds, the tilde copy is deleted. If the save fails, > your new stack will be an incomplete file that won't open, but the > original is there with the tilde attached. > > While I agree that it would be nice if there is a warning (although I > have never tried checking "the result" after a save), it is easy enough > to check for the tilde file after a save and see if it exists. The backup file with the tilde is, in fact, *not* being saved in these situations where the corruption occurs. If it were, my students wouldn't be getting so upset. I think that the OS isn't allowing any saves (backup or otherwise) because of the user being over disk quotas, and RR isn't handling that gracefully. BTW, we're using xinet on a Sun sparc station to emulate a Mac file server. Most likely it's a problem with the communication between application/OS/file server software. Sigh..... - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From christian.langers at education.lu Tue Apr 19 08:41:57 2005 From: christian.langers at education.lu (Christian Langers) Date: Tue, 19 Apr 2005 14:41:57 +0200 Subject: Graphic turning to black Message-ID: Hi, On a windows machine (XP) : 1. I created a new stack 2. I imported an image (black and white img --> created in paint) (.bmp here) 3. colored parts of it with the fill bucket (any color) 4. selecting and resizing the image makes the whole image black !!! You can't work properly with this img anymore ...I noticed this only on the win version of REV.... 5. Saving the stack with the img turned to black, closing and reopening it, gives me the colored img ; the color black did disappear... Is this a bug ? Or,... ? Christian L. From alex at tweedly.net Tue Apr 19 09:59:48 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 19 Apr 2005 14:59:48 +0100 Subject: playing video on PCs In-Reply-To: References: Message-ID: <42650ED4.4030209@tweedly.net> sims wrote: > In the list archives I found this: > >> Having said that, I suggest you save video in the best format/codec for >> each platform, and select the files on the fly according to the platform >> its running on. For example, QT with Sorenson for MacOS, and .mpg with >> Indeo for WinOS. I say Indeo as it's the only codec you can rely on >> being >> loaded on a WinOS machine. > The advice about being able to rely on Indeo being available on all Windows machines is incorrect (or more likely, obsolete). Since SP1 (Sept 2002) of Windows XP, Microsoft have stopped shipping the Indeo codec; any machine bought since then does not have Indeo available. The Microsoft site simply says "we no longer ship it" (I'm told - haven't been and looked at that myself). The Indeo site ( http://www.ligos.com/indeo.htm ) says that it's Microsoft's decision - and they will sell you a personal copy for $15. We have a couple of games that depend on it, and don't work on our current laptops, so although annoyed, I decided I'd just pay the $15 - but I've been unable to complete the order submission; not sure if it's a problem here or with the site. > Can anyone else give me some advise on: Sorry - I don't know enough to help. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 18/04/2005 From capellan2000 at yahoo.com Tue Apr 19 10:04:18 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 19 Apr 2005 07:04:18 -0700 (PDT) Subject: Keypress Help In-Reply-To: <20050419063653.C43FB9300EE@mail.runrev.com> Message-ID: <20050419140418.6948.qmail@web40510.mail.yahoo.com> on Windows 98 SE, All keys detected, even 3 or 4 keys pressed at the same time. if i press 4 keys and lift 2 of these keys, the field changes to reflects this. This confirm something i suspect time ago. No two Windows OS machines behave alike, no matter how hard you try... many computer labs are the true proof. al Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Plan great trips with Yahoo! Travel: Now over 17,000 guides! http://travel.yahoo.com/p-travelguide From devin_asay at byu.edu Tue Apr 19 10:47:32 2005 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 19 Apr 2005 08:47:32 -0600 Subject: QT problem In-Reply-To: References: <20050418221049.18FA19300F2@mail.runrev.com> Message-ID: <751c3d355cbb510cdfc68a4011e0a974@byu.edu> On Apr 18, 2005, at 5:59 PM, Nicholas Thieberger wrote: > Hi, > > This is really a QT problem, but I can't get them to respond X;{ so I > am begging your indulgence. I have an RR app that uses QT for > accessing media, but it has lost its audio component. If I try and > open the media file directly I get the completely unilluminating > message "a software component needed by the movie could not be > opened". I have reinstalled QT, I have reinstalled the Mac OS..... > > Any suggestions? Nick, Usually this problem is caused by the absence of a codec to decode one of the tracks of the movie. See if you can find out what codecs the movie's tracks require. Open the movie (or whatever kind of media file you have) with QuickTime Player and do a Get Properties to look at track properties. That should show you the name of the required codec. Once you know that you should be able to determine whether that codec is available for quicktime. Devin Asay Humanities Technology and Research Support Center Brigham Young University From fde101 at fjrhome.net Tue Apr 19 10:27:23 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 19 Apr 2005 10:27:23 -0400 Subject: playing video on PCs In-Reply-To: <42650ED4.4030209@tweedly.net> References: <42650ED4.4030209@tweedly.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The only "certain" way to do it is to require QuickTime, or to use a codec which you can feasibly and legally bundle with your stack. On Apr 19, 2005, at 9:59 AM, Alex Tweedly wrote: > The advice about being able to rely on Indeo being available on all > Windows machines is incorrect (or more likely, obsolete). Since SP1 > (Sept 2002) of Windows XP, Microsoft have stopped shipping the Indeo > codec; any machine bought since then does not have Indeo available. > The Microsoft site simply says "we no longer ship it" (I'm told - > haven't been and looked at that myself). The Indeo site ( > http://www.ligos.com/indeo.htm ) says that it's Microsoft's decision - > and they will sell you a personal copy for $15. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZRVL7aqtWrR9cZoRAtPPAKCBV3zD7gcrdK/CttL49+mv/D2O3QCeKSiP Ob6mP+B8w4ld5lyoqxeuNE0= =pJfd -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From len-morgan at crcom.net Tue Apr 19 11:02:21 2005 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 19 Apr 2005 10:02:21 -0500 Subject: ODBC Problems Message-ID: <42651D7D.30600@crcom.net> I've been trying to connect to an ODBC database on my system and having lots of problems. When I use the database builder, I get a "connected" message but RR gets locked up anytime I try and execute even the simplest query. If I connect to a database on my Postgres server, everything works fine. I noticed that in the RR installation directory, there is a mySQL.dll and a libpq.dll (Postgres) but nothing for ODBC (I'm on WinXP by the way). Am I missing a file or something? For what it's worth, the same query works agains the ODBC database using query analyzer. Any pointers would be appreciated. len morgan From b.xavier at internet.lu Tue Apr 19 11:29:34 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 19 Apr 2005 17:29:34 +0200 Subject: Graphic turning to black In-Reply-To: Message-ID: <20050419154212.3AF19930120@mail.runrev.com> Christian said > 1. I created a new stack > 2. I imported an image (black and white img --> created in > paint) (.bmp > here) > 3. colored parts of it with the fill bucket (any color) 4. > selecting and resizing the image makes the whole image black !!! > > You can't work properly with this img anymore ...I noticed > this only on the win version of REV.... > > 5. Saving the stack with the img turned to black, closing and > reopening it, gives me the colored imag ; the color black did > disappear... > > > Is this a bug ? Or,... ? Christian, Have you tried using PNG? It might be well worth the switch from the old antiquated and oversized bmp format... Which just gives me the idea to make an import/export module for my media library... get askfile("*.bmp;*.pnt") importImage it replaceFileExtension it, "png" exportImage it delete last image ImportImage it excuse the pseudo script (taoo script actually), but im sure you'll find the right commands. I just join the names of the functions i use in my Transcript wrappers... Voila... I didn't test the rest mind you but it usually works. Although I've found the rev paint tools to be a bit unatractive, I keep the work to a more macpaint like program. I used to love doodling in HyperCard, i just dont feel the pencil the same way in RunRev... cheers Xavier From b.xavier at internet.lu Tue Apr 19 11:36:19 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 19 Apr 2005 17:36:19 +0200 Subject: FW: Request for comments Message-ID: <20050419154854.C3B3A93012F@mail.runrev.com> Hi everyone, I see a few have read my article on the TAOO - What is is... Otherwise i invite you to read it, it's about another object oriented phylosophy which works quite well in RunRev. http://monsieurx.com/modules.php?name=News&file=article&sid=181 I really appreciate any comments (bottom of the page) or critiques to improve it. Or even just a rating (right of the page)... I'd like to know if it is worth rewriting or just forgeting. Does the logic of it all makes sense or seems as practical as I see it? I know many use the same "techniques" in some ways (Rev does!)... For those who liked it, there's a bit more about how TAOO sees information... http://monsieurx.com/modules.php?name=News&file=article&sid=182 For those still unsure, there's lots and lots more to come very soon... For those baffled, let me know... Any subjects some might prefer than others are welcome too. I plan to write about an article a month, maybe 4! Thanks in advance for your time Best Rev scriptin to all Xavier -- http://monsieurx.com From bnz2 at cdc.gov Tue Apr 19 11:20:36 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 19 Apr 2005 11:20:36 -0400 Subject: Question about Valentina Message-ID: <64878EF567131D4596246171F75FD4A974459A@m-epo-1.epo.cdc.gov> Hello, I am investigating Velentina, but their website makes me a bit nervous about using the program. Many part of the website do not work - that cannot be a good sign for a software company, and I still haven't found an Email for contacting the company. So my question is this - is Valentina a reliable database, and is the company, Paradigma, a reliable company? Also, does anyone know if their EULA allows you to freely distribute software that contains embedded Valentina? Thanks, Jonathan From b.xavier at internet.lu Tue Apr 19 11:45:19 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 19 Apr 2005 17:45:19 +0200 Subject: BIG Problems In-Reply-To: <42651D7D.30600@crcom.net> Message-ID: <20050419155755.28B65930067@mail.runrev.com> Everyone, please, Im sure that if we all use the words "challenge" or "issue we wouldn't find that many more dull problems rather than bright solutions to challenges in this big scripting puzzle... Just a little sunshine from downpour capital - Luxembourg ;) Xav From lists at mangomultimedia.com Tue Apr 19 11:48:58 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 19 Apr 2005 08:48:58 -0700 Subject: Converting mysql to SQLite In-Reply-To: References: Message-ID: On Apr 18, 2005, at 7:27 AM, Stephen Barncard wrote: > Trevor, thanks again for your DB library. It is very useful and > motivational.. and example of great coding... You are welcome and thanks for the complement. > Will the new library be backwards compatible? Should all I have to do > would be to change the lib name in the code? Right now most of the calls are backwards compatible except for libdb_updateTable. The order of the array that has the update values and the array that has the search values has been swapped so that it matches libdb_addToTable and the order of the statements in a SQL statement. The major change will be how error handling is done. Now most of the functions and commands throw errors rather than returning false, etc. I grew tired of constantly writing: put libdb_getTableRow("mydb", tSQL) into tDataA if tDataA = false then --> ALERT AND LOG ERROR else --> display to user end if put libdb_getTableRows("mydb", tSQL) into tDataA if tDataA = false then --> ALERT AND LOG ERROR else repeat with i = 1 to tDataA["Length"] --> CREATE LIST FOR USER end repeat end if especially when making multiple db calls in a single handler. Now you do something like this: try put libdb_getTableRow("mydb", tSQL) into tDataA --> display to user put libdb_getTableRows("mydb", tSQL) into tDataA repeat with i = 1 to tDataA["Length"] --> CREATE LIST FOR USER end repeat catch e if item 1 of e = "libdberr" then --> ALERT AND LOG ERROR end if end try Most of the other changes will be transparent to you. I now use binding so that libdb supports binary data with the "*b" prefix before a field name in an array. I've added a setting that will run macToISO and isoToMac transparently for you on Mac (so all values are stored in iso format in the db) so that you don't have high ascii characters displaying funny on different platforms when fetched from the database. I'm in the middle of adding the code to do sql dumps. This will allow you to create sql backups of your database without any additional utilities or to create SQLite or Valentina databases from a MySQL, Postgresql, etc. database. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Tue Apr 19 11:57:13 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 19 Apr 2005 08:57:13 -0700 Subject: Question about Valentina In-Reply-To: <64878EF567131D4596246171F75FD4A974459A@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A974459A@m-epo-1.epo.cdc.gov> Message-ID: <449a38998c5be3b6e887cea624cafb6c@mangomultimedia.com> On Apr 19, 2005, at 8:20 AM, Lynch, Jonathan wrote: > > Hello, > > I am investigating Velentina, but their website makes me a bit nervous > about using the program. Many part of the website do not work - that > cannot be a good sign for a software company, and I still haven't found > an Email for contacting the company. They just revamped their website so there are a couple of things that still don't work right. It coincided with the 2.0 release of their database. > So my question is this - is Valentina a reliable database, and is the > company, Paradigma, a reliable company? Paradigma is a very reliable company. They are growing right but the head developer, Ruslan, is very involved in the mailing list. The Valentina database has some quirks but I've used it in a number of projects without too many problems. > Also, does anyone know if their EULA allows you to freely distribute > software that contains embedded Valentina? Yes, you pay the one time fee for the database and then you can distribute it with your programs. Depending on your needs you might want to check out altSQLite as well. If you don't need to encrypt your database structure this is a great solution. It is cheaper and runs on linux as well. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From mwieder at ahsoftware.net Tue Apr 19 12:01:11 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 19 Apr 2005 09:01:11 -0700 Subject: Keypress Help In-Reply-To: References: Message-ID: <201995739.20050419090111@ahsoftware.net> Scott- Monday, April 18, 2005, 5:06:10 PM, you wrote: SR> Does this work for you on Windows (or anyone else for that matter)? Works fine for me on Win2k, rev 2.5.1. Does your target machine have some weird setting in the BIOS, like no delay before starting an automatic key repeat? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Apr 19 12:08:02 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 19 Apr 2005 09:08:02 -0700 Subject: FW: Request for comments In-Reply-To: <20050419154854.C3B3A93012F@mail.runrev.com> References: <20050419154854.C3B3A93012F@mail.runrev.com> Message-ID: <952407381.20050419090802@ahsoftware.net> MisterX- Tuesday, April 19, 2005, 8:36:19 AM, you wrote: M> http://monsieurx.com/modules.php?name=News&file=article&sid=181 ...sorry... black text on black background is just a bit too hard on these old eyes... -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Tue Apr 19 12:10:47 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 19 Apr 2005 09:10:47 -0700 Subject: Keypress Help In-Reply-To: <201995739.20050419090111@ahsoftware.net> Message-ID: Recently, Mark Wieder wrote: > Works fine for me on Win2k, rev 2.5.1. Does your target machine have > some weird setting in the BIOS, like no delay before starting an > automatic key repeat? Thanks for the confirmation. I've tried messing around with key repeat settings but still haven't seen any change. I'll keep playing with it. 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 Apr 19 12:12:54 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 19 Apr 2005 09:12:54 -0700 Subject: Keypress Help In-Reply-To: <20050419140418.6948.qmail@web40510.mail.yahoo.com> Message-ID: Recently, Alejandro Tejada wrote: > All keys detected, even 3 or 4 keys pressed at > the same time. if i press 4 keys and lift 2 of > these keys, the field changes to reflects this. Thanks for the response. Several folks have reported key detection is working fine so now I need to try to discern why my machine is not producing the same results. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From b.xavier at internet.lu Tue Apr 19 12:16:27 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 19 Apr 2005 18:16:27 +0200 Subject: FW: Request for comments In-Reply-To: <952407381.20050419090802@ahsoftware.net> Message-ID: <20050419162902.077BE930134@mail.runrev.com> Hi Mark, Sorry about that... Here's the quick and dirty solution until i fix it for you! My prefered way of reading is dragging the hilite of the text around the bottom or top of the window. Much easier than a scroll wheel or a scrollbar imoho... But the trick for the readavores among us, is that with the hilite, or outside, i always pick the color that's easiest to read in or out of the hilite. That's the ticket! TextSize, is a browser modifiable feature... Remember that for later i will! ;) cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Wieder > Sent: Tuesday, April 19, 2005 18:08 > To: 'How to use Revolution' > Subject: Re: FW: Request for comments > > MisterX- > > Tuesday, April 19, 2005, 8:36:19 AM, you wrote: > > M> http://monsieurx.com/modules.php?name=News&file=article&sid=181 > > ...sorry... black text on black background is just a bit too > hard on these old eyes... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Apr 19 12:23:39 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 19 Apr 2005 18:23:39 +0200 Subject: FW: Request for comments In-Reply-To: <20050419162902.077BE930134@mail.runrev.com> Message-ID: <20050419163616.7E1CB930134@mail.runrev.com> ok, it's fixed. If you have a better suggestion "color" not already in use, im game (not teal or lime, burgundy or mauve please ;) And you can always register and in "your account" choose another theme to view the site ;) Galapagos is also my own wild-doing ;) Cheerios Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX > Sent: Tuesday, April 19, 2005 18:16 > To: 'How to use Revolution' > Subject: RE: FW: Request for comments > > Hi Mark, > > Sorry about that... Here's the quick and dirty solution until > i fix it for you! > > My prefered way of reading is dragging the hilite of the text > around the bottom or top of the window. Much easier than a > scroll wheel or a scrollbar imoho... > > But the trick for the readavores among us, is that with the > hilite, or outside, i always pick the color that's easiest to > read in or out of the hilite. That's the ticket! > > TextSize, is a browser modifiable feature... Remember that > for later i will! > ;) > > cheers > Xav > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark > > Wieder > > Sent: Tuesday, April 19, 2005 18:08 > > To: 'How to use Revolution' > > Subject: Re: FW: Request for comments > > > > MisterX- > > > > Tuesday, April 19, 2005, 8:36:19 AM, you wrote: > > > > M> http://monsieurx.com/modules.php?name=News&file=article&sid=181 > > > > ...sorry... black text on black background is just a bit > too hard on > > these old eyes... > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From christian.langers at education.lu Tue Apr 19 12:38:29 2005 From: christian.langers at education.lu (Christian Langers) Date: Tue, 19 Apr 2005 18:38:29 +0200 Subject: Graphic turning to black In-Reply-To: <20050419154212.3AF19930120@mail.runrev.com> Message-ID: Hallo, Merci fir deng ?ntwert ... Christian Am 19/04/05 17:29 schrieb "MisterX" unter : > Christian said > >> 1. I created a new stack >> 2. I imported an image (black and white img --> created in >> paint) (.bmp >> here) >> 3. colored parts of it with the fill bucket (any color) 4. >> selecting and resizing the image makes the whole image black !!! >> >> You can't work properly with this img anymore ...I noticed >> this only on the win version of REV.... >> >> 5. Saving the stack with the img turned to black, closing and >> reopening it, gives me the colored imag ; the color black did >> disappear... >> >> >> Is this a bug ? Or,... ? > > Christian, > > Have you tried using PNG? It might be well worth the switch from the old > antiquated and oversized bmp format... > > Which just gives me the idea to make an import/export module for my media > library... > > get askfile("*.bmp;*.pnt") > importImage it > replaceFileExtension it, "png" > exportImage it > delete last image > ImportImage it > > excuse the pseudo script (taoo script actually), but im sure you'll find the > right commands. I just join the names of the functions i use in my > Transcript wrappers... > > Voila... I didn't test the rest mind you but it usually works. Although I've > found the rev paint tools to be a bit unatractive, I keep the work to a more > macpaint like program. > > I used to love doodling in HyperCard, i just dont feel the pencil the same > way in RunRev... > > cheers > Xavier > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at cableone.net Tue Apr 19 13:06:03 2005 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 19 Apr 2005 11:06:03 -0600 Subject: Profiles or other? In-Reply-To: Message-ID: <1113930382_53748@S1.cableone.net> Thanks, Jeanne. From the explanation in the docs I didn't quite understand the differences. Thank you for taking the time to clarify. Chris -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jeanne A. E. DeVoto Sent: Tuesday, April 19, 2005 2:37 AM To: How to use Revolution Subject: Re: Profiles or other? At 3:33 PM -0600 4/18/05, Chris Sheffield wrote: >P.S. Can anyone tell me the difference between revSetStackProfile and >revSetStackFileProfile? From what I can tell they accomplish the same >thing. revSetStackFile profile affects all the stacks in a stack file. revSetStackProfile sets all the profiles in the specified stack; revSetStackFileProfile sets all the profiles in every stack in the file belonging to the specified stack. If the stack is the only one in the file (if it has no substacks), they do the same thing. If there are substacks, revSetStackFileProfile affects the substacks too, while revSetStackProfile doesn't. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 4/18/2005 From service at gaich.de Tue Apr 19 13:01:05 2005 From: service at gaich.de (gaich software service) Date: Tue, 19 Apr 2005 19:01:05 +0200 Subject: ODBC Problems Message-ID: <42653951.1020804@gaich.de> Hi Len, I've lost one day by trying to use the query builder with ODBC. It doesn't work in an acceptable way. At last I got a result of a query but it took 20 minutes for 2000 records. The way to use ODBC with TRANSCRIPT works fine. I have tested it with Access-Databases and MS-SQLServer on a WinXP-machine. The necessary DLL is not in the root directory of revolution. I found it in ../Revolution 2.5.1/components/global environment/database_drivers/Win32/. Ciao G?nter -- From serge.segu at free.fr Tue Apr 19 13:36:22 2005 From: serge.segu at free.fr (=?ISO-8859-1?Q?Serge_S=E9gu?=) Date: Tue, 19 Apr 2005 19:36:22 +0200 Subject: Date 1935 Message-ID: Hello The script below is OK with HyperCard but with DreamCard it returns a negative number with year < 1935 what must I modify ? Best regards Serge -- on mouseUp answer calcAge ("1/1/1934") end mouseUp function calcAge x put x into calc -- day of birth convert calc to seconds put ((the seconds - calc)/86400) into calc -- 86400 s = 1day set itemDelimiter to "." if calc < 30 then -- newborn delete last item of calc put " days." after calc else if calc ? 30 and calc ? 913 then -- enfant put (calc / 30) into calc delete last item of calc put" months." after calc else -- child or adult if calc >913 then put( calc / 365) into calc delete last item of calc put" years." after calc end if end if end if return calc end calcAge -- Serge S?GU AIM : mullowill http://wirinum.free.fr PGP: 0xB6132583 From gbojsza at gmail.com Tue Apr 19 13:47:10 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 19 Apr 2005 13:47:10 -0400 Subject: Ask file but with "open" dialog box Message-ID: <3d8af415050419104765804f56@mail.gmail.com> I have been using the ask file syntax for asking the user where they would like to save a file. But when using it for asking which file to open it unfortunately has a save button instead of the traditional open button. Is there a similar dialog command that can be used to open a file or and option in the ask file command? thanks, Glen From alex at tweedly.net Tue Apr 19 13:49:55 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 19 Apr 2005 18:49:55 +0100 Subject: Ask file but with "open" dialog box In-Reply-To: <3d8af415050419104765804f56@mail.gmail.com> References: <3d8af415050419104765804f56@mail.gmail.com> Message-ID: <426544C3.3070509@tweedly.net> Glen Bojsza wrote: >I have been using the ask file syntax for asking the user where they >would like to save a file. > >But when using it for asking which file to open it unfortunately has a >save button instead of the traditional open button. > >Is there a similar dialog command that can be used to open a file or >and option in the ask file command? > > answer file -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 18/04/2005 From fde101 at fjrhome.net Tue Apr 19 14:09:49 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 19 Apr 2005 14:09:49 -0400 Subject: Date 1935 In-Reply-To: References: Message-ID: <593cbeb84096d09079b64337e196cb33@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It may be due to an internal limitation of your operating system; looking up the "convert" command in the Rev docs reveals that the convert command uses date/time routines provided by the operating system, with the implication that some operating systems can only handle dates after a certain year. Maybe with yours it is 1935. Which operating system are you using? On Apr 19, 2005, at 1:36 PM, Serge S?gu wrote: > Hello > > The script below is OK with HyperCard > but with DreamCard it returns a negative number with year < 1935 > what must I modify ? > > Best regards > Serge > -- > on mouseUp > answer calcAge ("1/1/1934") > end mouseUp > > function calcAge x > put x into calc -- day of birth > convert calc to seconds > put ((the seconds - calc)/86400) into calc -- 86400 s = 1day > set itemDelimiter to "." > if calc < 30 then -- newborn > delete last item of calc > put " days." after calc > else > if calc ? 30 and calc ? 913 then -- enfant > put (calc / 30) into calc > delete last item of calc > put" months." after calc > else -- child or adult > if calc >913 then > put( calc / 365) into calc > delete last item of calc > put" years." after calc > end if > end if > end if > return calc > end calcAge > > -- > Serge S?GU > AIM : mullowill > http://wirinum.free.fr > PGP: 0xB6132583 > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZUlt7aqtWrR9cZoRAlkBAKCBpqTy/7Lc4NC3Ai4AAddqffPbWgCfS4GA knXJdCD54Pk7PDs916dUyPs= =GYSp -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From serge.segu at free.fr Tue Apr 19 14:15:58 2005 From: serge.segu at free.fr (=?ISO-8859-1?Q?Serge_S=E9gu?=) Date: Tue, 19 Apr 2005 20:15:58 +0200 Subject: Date 1935 In-Reply-To: <593cbeb84096d09079b64337e196cb33@fjrhome.net> References: <593cbeb84096d09079b64337e196cb33@fjrhome.net> Message-ID: <528a6cffa7824c70cde3cd386b4d8f55@free.fr> Le 19 avr. 05, ? 20:09, Frank D. Engel, Jr. a ?crit : > Which operating system are you using? Mac OS 10.3.9 -- Serge S?GU http://wirinum.free.fr From dsc at swcp.com Tue Apr 19 14:17:34 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 19 Apr 2005 12:17:34 -0600 Subject: Keypress Help In-Reply-To: <20050419140418.6948.qmail@web40510.mail.yahoo.com> References: <20050419140418.6948.qmail@web40510.mail.yahoo.com> Message-ID: <7cfc31d0a9ca2d281df462076cbde1b7@swcp.com> On Apr 19, 2005, at 8:04 AM, Alejandro Tejada wrote: > No two Windows OS machines behave alike, no matter > how hard you try... many computer labs are > the true proof. Rats. And I thought Scott could use my counter solution. Well, Scott, if you have to do it by cases, the D DU DU DU DU U behavior I saw was on XP sp1? and Rev 2.5. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From fde101 at fjrhome.net Tue Apr 19 14:39:02 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 19 Apr 2005 14:39:02 -0400 Subject: Date 1935 In-Reply-To: <528a6cffa7824c70cde3cd386b4d8f55@free.fr> References: <593cbeb84096d09079b64337e196cb33@fjrhome.net> <528a6cffa7824c70cde3cd386b4d8f55@free.fr> Message-ID: <57737620ff185506a09960cc3a1dd471@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Same OS and version here. Well... OS X still has the APIs from Mac OS Classic which allow dates starting from 1904, but it's also possible that Rev could be going by the UNIX standards (early date is 1970), or even using something else entirely. Since dates prior to 1970 are working for you, I doubt the UNIX calls are actually being used here, so the problem may be elsewhere. Unfortunately, I'm in the middle of writing a complex and lengthy script for something else right now so I can't try to track it down at the moment. Try using answer to view intermediate results during the function execution and see if you can tell where it is going wrong. If I get time later I might take a closer look at this. On Apr 19, 2005, at 2:15 PM, Serge S?gu wrote: > Le 19 avr. 05, ? 20:09, Frank D. Engel, Jr. a ?crit : > >> Which operating system are you using? > > Mac OS 10.3.9 > -- > Serge S?GU > http://wirinum.free.fr > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZVBH7aqtWrR9cZoRAgmaAJ43HuhdMyEpBeHiyJjLaOphYmqVBwCePfqO yirWGW9Eu+caAicTYyiA4VI= =wr01 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Tue Apr 19 14:43:29 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 19 Apr 2005 14:43:29 -0400 Subject: Keypress Help In-Reply-To: <7cfc31d0a9ca2d281df462076cbde1b7@swcp.com> References: <20050419140418.6948.qmail@web40510.mail.yahoo.com> <7cfc31d0a9ca2d281df462076cbde1b7@swcp.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There are areas in which no two installation of the SAME Windows version seem to behave alike. Can't think of a specific one atm, but I do remember having seen differences in behavior from two (virtually identical) computers (the same model, with essentially the same hardware -- same video card, network card, and so on), having had Windows installed from the same installation media using the same settings (when working in a college computer lab having a network/site license of some sort, of course). On Apr 19, 2005, at 2:17 PM, Dar Scott wrote: > > On Apr 19, 2005, at 8:04 AM, Alejandro Tejada wrote: > >> No two Windows OS machines behave alike, no matter >> how hard you try... many computer labs are >> the true proof. > > Rats. And I thought Scott could use my counter solution. Well, > Scott, if you have to do it by cases, the D DU DU DU DU U behavior I > saw was on XP sp1? and Rev 2.5. > > Dar > > -- > ********************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > A Sponsor of RevCon West > ********************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZVFR7aqtWrR9cZoRArgdAJ42OTq874fEKPiacm7LxZ44IPwAYgCfbrq/ IJuo4n/rhS9v52+UJ5to7HU= =XK6X -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jperryl at ecs.fullerton.edu Tue Apr 19 14:55:28 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 19 Apr 2005 11:55:28 -0700 (PDT) Subject: FW: Request for comments In-Reply-To: <20050419163616.7E1CB930134@mail.runrev.com> Message-ID: Xavier, Haven't had a look yet, but below is a quickie look at color and readability: http://snow.utoronto.ca/readtest/ --Color and readability and visual disabilities test. http://hubel.sfasu.edu/research/survreslts.html --Results of a similar test at Stephen F. Austin State University (Nacogdoches, TX) along with a link to the resulting paper. Interestingly, in addition to Black on White scoring high on readability, Blue on White did as well, despite the fact that humans have difficult focusing on the color blue due to the limited number of blue photoreceptors in the human eye and their position on the periphery rather than the center of our visual system. http://www.webwhirlers.com/colors/combining.asp --another nice site with an irritating drop-allover-the-place contents box. http://web.umr.edu/~rhall/commentary/color_readability.htm HTH, Judy On Tue, 19 Apr 2005, MisterX wrote: > ok, it's fixed. If you have a better suggestion "color" not already in use, > im game (not teal or lime, burgundy or mauve please ;) From jacque at hyperactivesw.com Tue Apr 19 15:04:51 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Apr 2005 14:04:51 -0500 Subject: Date 1935 In-Reply-To: References: Message-ID: <42655653.10109@hyperactivesw.com> On 4/19/05 12:36 PM, Serge S?gu wrote: > Hello > > The script below is OK with HyperCard > but with DreamCard it returns a negative number with year < 1935 > what must I modify ? See the "centuryCutoff" property in the docs. This determines how 2-digit years are interpreted. It is set to 1935 by default, but you can change it. > > Best regards > Serge > -- > on mouseUp > answer calcAge ("1/1/1934") > end mouseUp > > function calcAge x > put x into calc -- day of birth > convert calc to seconds > put ((the seconds - calc)/86400) into calc -- 86400 s = 1day > set itemDelimiter to "." > if calc < 30 then -- newborn > delete last item of calc > put " days." after calc > else > if calc ? 30 and calc ? 913 then -- enfant > put (calc / 30) into calc > delete last item of calc > put" months." after calc > else -- child or adult > if calc >913 then > put( calc / 365) into calc > delete last item of calc > put" years." after calc > end if > end if > end if > return calc > end calcAge > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Tue Apr 19 16:35:43 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 19 Apr 2005 13:35:43 -0700 (PDT) Subject: What's our EdCzar up to? In-Reply-To: <952407381.20050419090802@ahsoftware.net> Message-ID: Just wondering, as it's been a considerable period of time since he was appointed and I am not aware of any educational efforts that he's spearheading. Perhaps other educators have heard from him? Just wondering... Judy From serge.segu at free.fr Tue Apr 19 16:32:15 2005 From: serge.segu at free.fr (=?ISO-8859-1?Q?Serge_S=E9gu?=) Date: Tue, 19 Apr 2005 22:32:15 +0200 Subject: Date 1935 In-Reply-To: <57737620ff185506a09960cc3a1dd471@fjrhome.net> References: <593cbeb84096d09079b64337e196cb33@fjrhome.net> <528a6cffa7824c70cde3cd386b4d8f55@free.fr> <57737620ff185506a09960cc3a1dd471@fjrhome.net> Message-ID: <7e8687a1df389d50c1a0ca013e4b5b2f@free.fr> Le 19 avr. 05, ? 20:39, Frank D. Engel, Jr. a ?crit : > [...] Try using answer to view intermediate results during the > function execution and see if you can tell where it is going wrong. > [...] -- Mac OS 10.3.9 put calc ("1/1/1934") ---> 2034,1,1,1,0,0,1 put calc ("1/1/1935") ---> 1935,1,1,0,0,0,3 function calc x convert x to dateitems return x end calc > If I get time later I might take a closer look at this. Thanks Best regards -- Serge S?GU http://wirinum.free.fr From serge.segu at free.fr Tue Apr 19 17:35:43 2005 From: serge.segu at free.fr (=?ISO-8859-1?Q?Serge_S=E9gu?=) Date: Tue, 19 Apr 2005 23:35:43 +0200 Subject: Date 1935 In-Reply-To: <42655653.10109@hyperactivesw.com> References: <42655653.10109@hyperactivesw.com> Message-ID: <36818c2864dd4eac18116a8bc02ef690@free.fr> Le 19 avr. 05, ? 21:04, J. Landman Gay a ?crit : > [...] See the "centuryCutoff" property in the docs. [...] Thanks -- Serge S?GU http://wirinum.free.fr From scott at tactilemedia.com Tue Apr 19 18:25:11 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 19 Apr 2005 15:25:11 -0700 Subject: Keypress Help - Solution In-Reply-To: <7cfc31d0a9ca2d281df462076cbde1b7@swcp.com> Message-ID: >> How can one reliably tell on Windows when a key is pressed versus when >> it is released? > No two Windows OS machines behave alike, no matter > how hard you try... many computer labs are > the true proof. The solution: get a new keyboard. On a whim, I replaced the keyboard (which apparently works fine) on the XP machine, and the keysDown function now works. [sigh] Many thanks to folks who offered alternate script solutions and who verified behavior of the test stack on Windows -- this helped me track down the problem. Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From monte at sweattechnologies.com Tue Apr 19 20:11:22 2005 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 20 Apr 2005 09:41:22 +0930 Subject: Standalone Builder Error Dialog Message-ID: <001801c5453d$7c16fc90$0402a8c0@Fred> Hi I'd just like to make a quick announcement about the standalone builder error dialog. When you see the dialog (the frustrating one that doesn't tell you what the problem is) it means that there was an execution error in the standalone builder code. At the moment I think there is only one issue in 2.5.1 so I'll state the workaround below and if anyone follows this workaround and still has an error please contact me directly at either monte at sweattechnologies.com or monte at runrev.com. If the filename of your stackFile is the same as the standalone name entered into the standalone builder dialog it causes a conflict during the build process and one file overwrites the other. This will be resolved in the next version of Rev but for now there is a simple workaround. Always use a .rev extension on stackFiles or have some other difference between the stackFile name and the standalone name. The problem would not be seen on Windows because of the .exe extension on the standalone. Cheers -- Monte Goulding Sweat Technologies InstallGadget - How to create an installer in 10 seconds Download now from: http://www.sweattechnologies.com/InstallGadget From dsc at swcp.com Tue Apr 19 20:16:41 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 19 Apr 2005 18:16:41 -0600 Subject: Keypress Help - Solution In-Reply-To: References: Message-ID: On Apr 19, 2005, at 4:25 PM, Scott Rossi wrote: > The solution: get a new keyboard. LOL! -- Dar From stephenREVOLUTION at barncard.com Tue Apr 19 21:26:50 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 19 Apr 2005 18:26:50 -0700 Subject: Converting mysql to SQLite Message-ID: Dumps! Fantastic!.. I could actually clone my CocoaMySQL client!... sqb > > >Most of the other changes will be transparent to you. I now use >binding so that libdb supports binary data with the "*b" prefix >before a field name in an array. I've added a setting that will run >macToISO and isoToMac transparently for you on Mac (so all values >are stored in iso format in the db) so that you don't have high >ascii characters displaying funny on different platforms when >fetched from the database. > >I'm in the middle of adding the code to do sql dumps. This will >allow you to create sql backups of your database without any >additional utilities or to create SQLite or Valentina databases from >a MySQL, Postgresql, etc. database. > > >-- >Trevor DeVore From byront at mac.com Tue Apr 19 21:41:52 2005 From: byront at mac.com (Byron Turner) Date: Tue, 19 Apr 2005 18:41:52 -0700 Subject: does an object know that its part of a group? Message-ID: if so, how would I tell a field to get its group name? Byron From scott at tactilemedia.com Tue Apr 19 22:07:00 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 19 Apr 2005 19:07:00 -0700 Subject: does an object know that its part of a group? In-Reply-To: Message-ID: Recently, Byron Turner wrote: > if so, how would I tell a field to get its group name? get the owner of me Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jacque at hyperactivesw.com Tue Apr 19 22:11:59 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Apr 2005 21:11:59 -0500 Subject: Keypress Help - Solution In-Reply-To: References: Message-ID: <4265BA6F.5050804@hyperactivesw.com> On 4/19/05 5:25 PM, Scott Rossi wrote: > On a whim, I replaced the keyboard (which apparently works fine) on the XP > machine, and the keysDown function now works. [sigh] It's the old "Machines Rise Up and Rebel Against Humanity" conspiracy. Be afraid. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Apr 19 22:17:18 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 19 Apr 2005 19:17:18 -0700 Subject: Keypress Help - Solution In-Reply-To: <4265BA6F.5050804@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: >> On a whim, I replaced the keyboard (which apparently works fine) on the XP >> machine, and the keysDown function now works. [sigh] > > It's the old "Machines Rise Up and Rebel Against Humanity" conspiracy. > Be afraid. Funny that you said this. A little while after I replaced the keyboard, a wireless mouse connected to a completely different system on the far side of the desk decided to stop working. Reset didn't work, unplug/replug didn't work, it just decided to stop working. I am afraid. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Tue Apr 19 22:51:52 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Apr 2005 19:51:52 -0700 Subject: Standalone Builder Error Dialog In-Reply-To: <001801c5453d$7c16fc90$0402a8c0@Fred> References: <001801c5453d$7c16fc90$0402a8c0@Fred> Message-ID: <4265C3C8.8060607@fourthworld.com> Monte Goulding wrote: > I'd just like to make a quick announcement about the standalone builder > error dialog. When you see the dialog (the frustrating one that doesn't > tell you what the problem is) it means that there was an execution error > in the standalone builder code. At the moment I think there is only one > issue in 2.5.1 so I'll state the workaround below and if anyone follows > this workaround and still has an error please contact me directly at > either monte at sweattechnologies.com or monte at runrev.com. > > If the filename of your stackFile is the same as the standalone name > entered into the standalone builder dialog it causes a conflict during > the build process and one file overwrites the other. This will be > resolved in the next version of Rev but for now there is a simple > workaround. Always use a .rev extension on stackFiles or have some other > difference between the stackFile name and the standalone name. The > problem would not be seen on Windows because of the .exe extension on > the standalone. > > Cheers > Monte Goulding > Sweat Technologies Thanks for the tip, Monte, and for being proactive in posting it here. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From marisa.kosaisaevee at netgalileo.com Tue Apr 19 23:14:47 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa Kosaisaevee) Date: Wed, 20 Apr 2005 10:14:47 +0700 Subject: Re-2: Unicode Displaying in Runtime Revolution Message-ID: <4265C927.9030103@netgalileo.com> Hello, I tried to display different languages in RunRev but it didn't work. I use "put" command to display the content of the file; on openCard put URL "file:arabic.rtf" into fld Arabic put URL "file:chinese.rtf" into fld Chinese put URL "file:german.txt" into fld German put URL "file:hebrew.rtf" into fld Hebrew put URL "file:hindi.rtf" into fld Hindi put URL "file:japanese.txtf" into fld Japanese put URL "file:spanish.txt" into fld Spanish put URL "file:Thai1.txt" into fld Thai end openCard However, all these files use just to see whether other languages can be displayed or not, no meaning. Still, they didn't display what I expected. May be I did sth wrong here.?? Also, 4 files are saved as Unicode( I use Notepad to save as unicode) but it displayed a mixed up characters as previous trials. So, I set its textFont to Unicode. For Japanese's file, all the Japanese characters are fine, while English Characters cannot be displayed. (as I set it textFont to be Japanese) For Thai's file, it displayed only first few Thai letters followed by unreadable characters. Do you think that is a good sign or just nothing?! Look forward to your kind suggestions. Regards, Marisa From lists at mangomultimedia.com Tue Apr 19 23:39:43 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 19 Apr 2005 20:39:43 -0700 Subject: Re-2: Unicode Displaying in Runtime Revolution In-Reply-To: <4265C927.9030103@netgalileo.com> References: <4265C927.9030103@netgalileo.com> Message-ID: On Apr 19, 2005, at 8:14 PM, Marisa Kosaisaevee wrote: > > I tried to display different languages in RunRev but it didn't work. I > use "put" command to display the content of the file; > > on openCard > put URL "file:arabic.rtf" into fld Arabic > ... > end openCard > > However, all these files use just to see whether other languages can > be displayed or not, no meaning. Still, they didn't display what I > expected. May be I did sth wrong here.?? Hi Marisa, When reading in Unicode files you to use binfile as opposed to file. You also need to set the unicodeText property of the field. So I think the above would look something like this (not tested): set the unicodeText of field "Arabic" to URL "binfile:arabic.rtf" For more tips on unicode click on the "Topics" button in the Revolution help window and type unicode into the search field (with "Filter with:" selected). This provides some useful information. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From marisa.kosaisaevee at netgalileo.com Wed Apr 20 00:12:19 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa Kosaisaevee) Date: Wed, 20 Apr 2005 11:12:19 +0700 Subject: Re-2: Unicode Displaying in Runtime Revolution In-Reply-To: References: <4265C927.9030103@netgalileo.com> Message-ID: <4265D6A3.9000404@netgalileo.com> Hi Trevor, Thank you so much for your information. I really appreciated. I tried on that (binfile: )and it returns Chinese chararters instead of Arabic!? So, I tried again for displaying Thai characters; /file is .txt/. It works great!!! Anyway, I keep working on "unicodeText" and "binfile" with "/.txt /files". They all work fine. However, I found out that ".rtf" files cannot be displayed correctly, am I right? So, I have to save all the files to ".txt" as a Unicode format. Thank you again. Regards, Marisa Trevor DeVore wrote: > On Apr 19, 2005, at 8:14 PM, Marisa Kosaisaevee wrote: > >> >> I tried to display different languages in RunRev but it didn't work. >> I use "put" command to display the content of the file; >> >> on openCard >> put URL "file:arabic.rtf" into fld Arabic >> ... >> end openCard >> >> However, all these files use just to see whether other languages can >> be displayed or not, no meaning. Still, they didn't display what I >> expected. May be I did sth wrong here.?? > > > Hi Marisa, > > When reading in Unicode files you to use binfile as opposed to file. > You also need to set the unicodeText property of the field. So I > think the above would look something like this (not tested): > > set the unicodeText of field "Arabic" to URL "binfile:arabic.rtf" > > For more tips on unicode click on the "Topics" button in the > Revolution help window and type unicode into the search field (with > "Filter with:" selected). This provides some useful information. > > From sims at ezpzapps.com Wed Apr 20 00:56:43 2005 From: sims at ezpzapps.com (sims) Date: Wed, 20 Apr 2005 06:56:43 +0200 Subject: Keypress Help - Solution In-Reply-To: References: Message-ID: >Recently, J. Landman Gay wrote: > >>> On a whim, I replaced the keyboard (which apparently works fine) on the XP >>> machine, and the keysDown function now works. [sigh] >> >> It's the old "Machines Rise Up and Rebel Against Humanity" conspiracy. >> Be afraid. > >Funny that you said this. A little while after I replaced the keyboard, a >wireless mouse connected to a completely different system on the far side of >the desk decided to stop working. Reset didn't work, unplug/replug didn't >work, it just decided to stop working. > >I am afraid. Keyboard Exorcism is your only course of action...then smash with a big hammer...then apply large blow torch if possible...if torch is not an alternative place keyboard in a bathtub until it drowns. Doing the above will also be therapeutic for you. ciao, sims From public at veggio.com Wed Apr 20 00:57:23 2005 From: public at veggio.com (Varen Swaab) Date: Tue, 19 Apr 2005 21:57:23 -0700 Subject: Alternating rows in a list Message-ID: <5c5e54f082436b9267252fc53467f898@veggio.com> Hi everyone. I'm trying to format a list field which displays plain old html with a list of links. I'd like to format the list so that each link in the list is an alternating color such as white, light grey, white, light grey, etc..... I can't figure out how to do this. Does anyone know how? Or is it even possible? Thanks Varen From got at mindspring.com Wed Apr 20 01:29:10 2005 From: got at mindspring.com (Gordon Tillman) Date: Wed, 20 Apr 2005 00:29:10 -0500 Subject: Alternating rows in a list In-Reply-To: <5c5e54f082436b9267252fc53467f898@veggio.com> References: <5c5e54f082436b9267252fc53467f898@veggio.com> Message-ID: <3ecb809dfcb7baca4aa04513bc6db65d@mindspring.com> Howdy Varen, About your post: > I'm trying to format a list field which displays plain old html with a > list of links. I'd like to format the list so that each link in the > list is an alternating color such as white, light grey, white, light > grey, etc..... Here is an example which may get you started.. Given a simple stack with one card that has two fields on it: (1) field "htmlFld" that displays the information, and (2) field "entryFld" where you can enter sample HTML to play with. Field "entryFld" has the following script: on enterInField set the htmlText of field "htmlFld" to me end enterInField And I entered the following into field "entryFld": Line 1
  • Line 2
  • Line 3 When you hit enter with the cursor in field "entryFld", then field "htmlFld" displays this: Line 1 Line 2 Line 3 The first line is black, the second line is green, and the third line is blue. OK, here is another idea... Given a card with a field that contains the list of data to colorize, this script will set the colors to alternate: on mouseUp local tColor1, tColor2, tLastColor put "blue" into tColor1 put "green" into tColor2 put tColor1 into tLastColor local tLine repeat with tLine = 1 to the number of lines of field 1 set the textColor of line tLine of field 1 to tLastColor if tLastColor is tColor1 then put tColor2 into tLastColor else put tColor1 into tLastColor end repeat end mouseUp --gordon From marisa.kosaisaevee at netgalileo.com Wed Apr 20 02:04:15 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa K.) Date: Wed, 20 Apr 2005 13:04:15 +0700 Subject: Re-2: Unicode Displaying in Runtime Revolution In-Reply-To: <4265D6A3.9000404@netgalileo.com> References: <4265C927.9030103@netgalileo.com> <4265D6A3.9000404@netgalileo.com> Message-ID: <4265F0DF.9060003@netgalileo.com> Hello, As previous trial, I still have a problem in displaying Spanish and German speacial characters, i.e. inverted?, accented characters, characters with umlaut, esset characters. Although I converted both of the files to /.txt/ with /unicodeText/ property settings and using /binfile:/ , they displayed mixed up characters. Any suggestions are welcome, Thank you in advance Regards, Marisa > Hi Trevor, > > Thank you so much for your information. I really appreciated. > > I tried on that (binfile: )and it returns Chinese chararters instead > of Arabic!? So, I tried again for displaying Thai characters; /file is > .txt/. It works great!!! > > Anyway, I keep working on "unicodeText" and "binfile" with "/.txt > /files". They all work fine. > > However, I found out that ".rtf" files cannot be displayed correctly, > am I right? So, I have to save all the files to ".txt" as a Unicode > format. > > Thank you again. > > Regards, > Marisa > > ______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From lists at mangomultimedia.com Wed Apr 20 02:07:09 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 19 Apr 2005 23:07:09 -0700 Subject: Re-2: Unicode Displaying in Runtime Revolution In-Reply-To: <4265D6A3.9000404@netgalileo.com> References: <4265C927.9030103@netgalileo.com> <4265D6A3.9000404@netgalileo.com> Message-ID: <34e64cf248066012f36689c8fd3ae384@mangomultimedia.com> On Apr 19, 2005, at 9:12 PM, Marisa Kosaisaevee wrote: > Thank you so much for your information. I really appreciated. > > I tried on that (binfile: )and it returns Chinese chararters instead > of Arabic!? So, I tried again for displaying Thai characters; /file is > .txt/. It works great!!! > > Anyway, I keep working on "unicodeText" and "binfile" with "/.txt > /files". They all work fine. > > However, I found out that ".rtf" files cannot be displayed correctly, > am I right? So, I have to save all the files to ".txt" as a Unicode > format. I haven't tried unicode with rtf so I can't really say what is going on. I would guess that the unicodeText of a field can't handle the extra information that an RTF document has in it. I'm glad it worked for you. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From Signe.Sanne at roman.uib.no Wed Apr 20 03:53:57 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Wed, 20 Apr 2005 09:53:57 +0200 Subject: playing video on PCs In-Reply-To: References: Message-ID: <42660A95.3000205@roman.uib.no> sims skrev: > I need to play video on both OS X and Windows machines which will > for the most part be business computers - corporate office machines. > > The Mac part I can figure out and will be able to use QuickTime. > > Some PC machines will not have QuickTime installed and will not want > to install QT. I need some advice on what format/codec to use for > these non-QT machines. Hello Sims Just mail me off the list if you would like to get a small stack showing how to play mpeg files with mciSendString. Any others are also welcome to do the same. The stack is not fully overhauled to go RevOnLine, but it contains the necessary scripts to get started. Best regards Signe Marie -- Signe Marie Sanne 1. amanuensis/Senior lecturer Romansk institutt Tlf. +47 55 58 21 27 ?isteins gt. 1 Epost: signe.sanne at roman.uib.no Universitetet i Bergen http://www.hf.uib.no/hfolk/mlab/Info/sms.html From christian.langers at education.lu Wed Apr 20 07:04:09 2005 From: christian.langers at education.lu (Christian Langers) Date: Wed, 20 Apr 2005 13:04:09 +0200 Subject: Graphic turning to black In-Reply-To: <20050419154212.3AF19930120@mail.runrev.com> Message-ID: Hi, Independently of the img format, the black is there ! But I found out that turning the "best resize quality" on in the object inspector, solves this problem...?! By the way, is there anybody who did a "paint"-like stack as I'm working on a module for coloring imported images for children in kindergarten.... Thanks for any suggestion how to accelerate the project... Christian Am 19/04/05 17:29 schrieb "MisterX" unter : > Christian said > >> 1. I created a new stack >> 2. I imported an image (black and white img --> created in >> paint) (.bmp >> here) >> 3. colored parts of it with the fill bucket (any color) 4. >> selecting and resizing the image makes the whole image black !!! >> >> You can't work properly with this img anymore ...I noticed >> this only on the win version of REV.... >> >> 5. Saving the stack with the img turned to black, closing and >> reopening it, gives me the colored imag ; the color black did >> disappear... >> >> >> Is this a bug ? Or,... ? > > Christian, > > Have you tried using PNG? It might be well worth the switch from the old > antiquated and oversized bmp format... > > Which just gives me the idea to make an import/export module for my media > library... > > get askfile("*.bmp;*.pnt") > importImage it > replaceFileExtension it, "png" > exportImage it > delete last image > ImportImage it > > excuse the pseudo script (taoo script actually), but im sure you'll find the > right commands. I just join the names of the functions i use in my > Transcript wrappers... > > Voila... I didn't test the rest mind you but it usually works. Although I've > found the rev paint tools to be a bit unatractive, I keep the work to a more > macpaint like program. > > I used to love doodling in HyperCard, i just dont feel the pencil the same > way in RunRev... > > cheers > Xavier > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Wed Apr 20 07:43:05 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 20 Apr 2005 12:43:05 +0100 Subject: Re-2: Unicode Displaying in Runtime Revolution In-Reply-To: <4265D6A3.9000404@netgalileo.com> References: <4265C927.9030103@netgalileo.com> <4265D6A3.9000404@netgalileo.com> Message-ID: Hi, I have a problem with menu bars: If I use the following script in the Stack Script with the preOpenStack message, I get problems, the memu bar does not seem to get instansiated correct. If I use it in the Mouse Up Handler of a button on the Stack, all works fine. --------------------------------------------------------------- -- -- preOpenStack Handler -- --------------------------------------------------------------- on mouseUp local myStackFileName local myStackShortName local myMainMenuPathName local myStatus put the filename of this Stack into myStackFileName put the short name of this Stack into myStackShortName put replaceText(myStackFileName,myStackShortName,"MainMenu") into myMainMenuPathName start using stack myMainMenuPathName -- -- Ok to use Functions in "MainMenu" now -- start using stack myStackFileName set the menubar of this stack to "GroupRectangleMenu" set the destroyStack of this stack to true set the cpSaveStackFlag of this stack to false if the environment is not "development" then set the location of this stack to the screenLoc end if end mouseUp Here's how my App works: I have a Stack called MainMenu.rev, this stack contains the default Menu Bar for my app and also in the Stack Script, functions that are used in other stacks of the same app. Normally when being used as an App (or built as a standalone) the sequence of events is as follows: AppFolder/SpashScreenStack (or the Standalone) - this stack display a splash screen and goes to Stack AppFolder/RunTime/MainMenu.rev AppFolder/StackMainMenu.rev Setups up the Default Menu bar and then goes to other stacks depending on which item is selected. The problem is that under the IDE I want to be able to open one of the other stacks, however since this stack may use funtions defined in MainMenu.rev I want to make sure it's loaded and the Stack Script is available for use. I therefore came up with the following script. I think that there are two problems, one in my code and one that may be due to my code but causes the IDE to become unstable as a result. I am trying to find the problem in my code (which seems to be message I am using (preOpenStack), since it works when placed in a button. The second problem seems to be related to when I use either put "xxxx" or answer "xxxx" or use the debugger to try to find the problem. If I do this then it looks like the menu bar gets changed and code that accesses the Menubar object doesn't work (I get an object not found error when trying to enable or disable items in the menubar. If anyone could give me some advice here, that would be really helpful. Knowing the correct message to put the script onto would be of help!!! One specific questions I have is, does the line: start using stack myMainMenuPathName cause the preOpenStack, openStack etc. messages to be executed in the Stack myMainMenuPathName??? Thanks a lot and All the Best Dave From dburgun at dsl.pipex.com Wed Apr 20 07:51:19 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 20 Apr 2005 12:51:19 +0100 Subject: Problem with Menubar handling Message-ID: *****Opps! Many appoligies, I sent out the last mail without changing the subject!***** Hi, I have a problem with menu bars: If I use the following script in the Stack Script with the preOpenStack message, I get problems, the memu bar does not seem to get instansiated correct. If I use it in the Mouse Up Handler of a button on the Stack, all works fine. --------------------------------------------------------------- -- -- preOpenStack Handler -- --------------------------------------------------------------- on mouseUp local myStackFileName local myStackShortName local myMainMenuPathName local myStatus put the filename of this Stack into myStackFileName put the short name of this Stack into myStackShortName put replaceText(myStackFileName,myStackShortName,"MainMenu") into myMainMenuPathName start using stack myMainMenuPathName -- -- Ok to use Functions in "MainMenu" now -- start using stack myStackFileName set the menubar of this stack to "GroupRectangleMenu" set the destroyStack of this stack to true set the cpSaveStackFlag of this stack to false if the environment is not "development" then set the location of this stack to the screenLoc end if end mouseUp Here's how my App works: I have a Stack called MainMenu.rev, this stack contains the default Menu Bar for my app and also in the Stack Script, functions that are used in other stacks of the same app. Normally when being used as an App (or built as a standalone) the sequence of events is as follows: AppFolder/SpashScreenStack (or the Standalone) - this stack display a splash screen and goes to Stack AppFolder/RunTime/MainMenu.rev AppFolder/StackMainMenu.rev Setups up the Default Menu bar and then goes to other stacks depending on which item is selected. The problem is that under the IDE I want to be able to open one of the other stacks, however since this stack may use funtions defined in MainMenu.rev I want to make sure it's loaded and the Stack Script is available for use. I therefore came up with the following script. I think that there are two problems, one in my code and one that may be due to my code but causes the IDE to become unstable as a result. I am trying to find the problem in my code (which seems to be message I am using (preOpenStack), since it works when placed in a button. The second problem seems to be related to when I use either put "xxxx" or answer "xxxx" or use the debugger to try to find the problem. If I do this then it looks like the menu bar gets changed and code that accesses the Menubar object doesn't work (I get an object not found error when trying to enable or disable items in the menubar. If anyone could give me some advice here, that would be really helpful. Knowing the correct message to put the script onto would be of help!!! One specific questions I have is, does the line: start using stack myMainMenuPathName cause the preOpenStack, openStack etc. messages to be executed in the Stack myMainMenuPathName??? Thanks a lot and All the Best Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From fde101 at fjrhome.net Wed Apr 20 08:13:38 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 20 Apr 2005 08:13:38 -0400 Subject: Keypress Help - Solution In-Reply-To: References: Message-ID: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 But not necessarily for the mouse ;-) On Apr 20, 2005, at 12:56 AM, sims wrote: > Doing the above will also be therapeutic for you. Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZkdz7aqtWrR9cZoRAoqkAJ9Mmr5moj5vvahE03qpmKLFdsxTCACdHVjt v43Cp+ukbfmfxGgLagBAHKE= =WQ3w -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Wed Apr 20 08:19:13 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 20 Apr 2005 08:19:13 -0400 Subject: Alternating rows in a list In-Reply-To: <3ecb809dfcb7baca4aa04513bc6db65d@mindspring.com> References: <5c5e54f082436b9267252fc53467f898@veggio.com> <3ecb809dfcb7baca4aa04513bc6db65d@mindspring.com> Message-ID: <17c15081057012e1625797f3efe66a14@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It's too bad HTML tables are not supported; that would make these questions SO much easier to deal with:
    Line 1
    Line 2
    Line 3
    Line 4
    On Apr 20, 2005, at 1:29 AM, Gordon Tillman wrote: > Howdy Varen, > > About your post: > >> I'm trying to format a list field which displays plain old html with >> a list of links. I'd like to format the list so that each link in the >> list is an alternating color such as white, light grey, white, light >> grey, etc..... > > Here is an example which may get you started.. > > Given a simple stack with one card that has two fields on it: > > (1) field "htmlFld" that displays the information, and > (2) field "entryFld" where you can enter sample HTML to play with. > > > Field "entryFld" has the following script: > > on enterInField > set the htmlText of field "htmlFld" to me > end enterInField > > And I entered the following into field "entryFld": > > Line 1 >
  • Line 2 >
  • Line 3 > > When you hit enter with the cursor in field "entryFld", then field > "htmlFld" displays this: > > Line 1 > Line 2 > Line 3 > > The first line is black, the second line is green, and the third line > is blue. > > > OK, here is another idea... > > Given a card with a field that contains the list of data to colorize, > this script will set the colors to alternate: > > on mouseUp > local tColor1, tColor2, tLastColor > put "blue" into tColor1 > put "green" into tColor2 > put tColor1 into tLastColor > local tLine > repeat with tLine = 1 to the number of lines of field 1 > set the textColor of line tLine of field 1 to tLastColor > if tLastColor is tColor1 then put tColor2 into tLastColor > else put tColor1 into tLastColor > end repeat > end mouseUp > > --gordon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZkjB7aqtWrR9cZoRAk8CAJ9fCT9xlxzrKVFMRwngS7oRVqNMDQCfZnI6 8Sf9aQc1K0KWfm+FeNj0LuM= =VCUE -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Wed Apr 20 08:26:40 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 20 Apr 2005 08:26:40 -0400 Subject: Graphic turning to black In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Drag an image area onto your stack, then right-click and choose "Paint Tools," and you will see that Rev already has built-in painting tools for use with images. You'll need to make your own toolbar (or otherwise provide an interface to pick a tool and color(s)), but most of the infrastructure is already there. Look up the tool property in the docs for more info. On Apr 20, 2005, at 7:04 AM, Christian Langers wrote: > Hi, > > Independently of the img format, the black is there ! > > But I found out that turning the "best resize quality" on in the object > inspector, solves this problem...?! > > By the way, is there anybody who did a "paint"-like stack as I'm > working on > a module for coloring imported images for children in kindergarten.... > > > Thanks for any suggestion how to accelerate the project... > > > Christian > > > > > Am 19/04/05 17:29 schrieb "MisterX" unter : > >> Christian said >> >>> 1. I created a new stack >>> 2. I imported an image (black and white img --> created in >>> paint) (.bmp >>> here) >>> 3. colored parts of it with the fill bucket (any color) 4. >>> selecting and resizing the image makes the whole image black !!! >>> >>> You can't work properly with this img anymore ...I noticed >>> this only on the win version of REV.... >>> >>> 5. Saving the stack with the img turned to black, closing and >>> reopening it, gives me the colored imag ; the color black did >>> disappear... >>> >>> >>> Is this a bug ? Or,... ? >> >> Christian, >> >> Have you tried using PNG? It might be well worth the switch from the >> old >> antiquated and oversized bmp format... >> >> Which just gives me the idea to make an import/export module for my >> media >> library... >> >> get askfile("*.bmp;*.pnt") >> importImage it >> replaceFileExtension it, "png" >> exportImage it >> delete last image >> ImportImage it >> >> excuse the pseudo script (taoo script actually), but im sure you'll >> find the >> right commands. I just join the names of the functions i use in my >> Transcript wrappers... >> >> Voila... I didn't test the rest mind you but it usually works. >> Although I've >> found the rev paint tools to be a bit unatractive, I keep the work to >> a more >> macpaint like program. >> >> I used to love doodling in HyperCard, i just dont feel the pencil the >> same >> way in RunRev... >> >> cheers >> Xavier >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZkqB7aqtWrR9cZoRApj4AJ9uZvoO97aWZhZxklncnOdhDB+AvQCfbrd8 5mQTEfuVgs5Ec0/wdWw7FWM= =Kh+H -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From got at mindspring.com Wed Apr 20 09:01:52 2005 From: got at mindspring.com (Gordon Tillman) Date: Wed, 20 Apr 2005 08:01:52 -0500 Subject: Alternating rows in a list In-Reply-To: <17c15081057012e1625797f3efe66a14@fjrhome.net> References: <5c5e54f082436b9267252fc53467f898@veggio.com> <3ecb809dfcb7baca4aa04513bc6db65d@mindspring.com> <17c15081057012e1625797f3efe66a14@fjrhome.net> Message-ID: Ain't that the truth Frank! On Apr 20, 2005, at 07:19, Frank D. Engel, Jr. wrote: > > It's too bad HTML tables are not supported; that would make these > questions SO much easier to deal with: > > > > > > >
    Line 1
    Line 2
    Line 3
    Line 4
    I guess in the meanwhile one could use the altBrowser plugin... I bought a copy of that when it was released but have been so busy working on other projects I haven't had a chance to play with it... :-( --gordy From tkuypers at pandora.be Wed Apr 20 09:28:40 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Wed, 20 Apr 2005 15:28:40 +0200 Subject: Unicode problem Message-ID: <765ff257564b98d4061bfc16ee292996@pandora.be> I've created a search & replace application to be used from within Adobe Indesign and it works perfectly: A list with search words, a second list with replace words, some options and Indesign has got a supercharged S&R function with whole lists of words replaced by one click on a button. To add words to the list, one can enter it in a "Search" textfield, the second part in the "replace" textfield. An add button adds it to the list. But... InDesign uses OpenType or double-byte fonts. These are unicode fonts. When copying a word from a page in InDesign the clipboard contains te text with the special characters, but they are mixed (unicode and regular). Problem: - Paste in the entry field shows the correct text, moving it up to the list doesn't. Solution: - Loop through the characters in the entry field and set the unicode text or the regular text of the correct line in the list. Question: - Is there a better way to do this? Problem 2: I know what number the last line of the list is, so I put this number + 1 into a var. Each new line will be entered into line varName. - When the last line of the list is a unicode text, the next line is entered on the same line, it seams that the linenumber in the var doesn't have any effect anymore. I've tried to add a CR after that line, but no luck :-( Anyone any solutions or remarks? Regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From dburgun at dsl.pipex.com Wed Apr 20 10:46:34 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 20 Apr 2005 15:46:34 +0100 Subject: Simple Scoping Question In-Reply-To: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> References: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> Message-ID: Hi, If I have a Stack (Call iits GlobalStack that has a lot of common funtions in the Stack Script, and those functions refer to "this Stack", which stack does that actually refer to? e.g. if Stack A does a start using start using stack "GlobalStack" and thean Stack A calls a Function in "GlobalStack" that refers to "this stack" does that refer to "Stack A" or "GlobalStack" ? Does this work the same way if the Stacks in question are both main stacks and does it work the same way in a Standalone Application? Thanks in advance Dave From fde101 at fjrhome.net Wed Apr 20 10:55:28 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 20 Apr 2005 10:55:28 -0400 Subject: Unicode problem In-Reply-To: <765ff257564b98d4061bfc16ee292996@pandora.be> References: <765ff257564b98d4061bfc16ee292996@pandora.be> Message-ID: <1dae2cd3fa74b2cd8d470db1bb26627d@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Did you try using the htmlText of that line rather than just the plaintext of the line? In other words, something like this: set the htmlText of line 7 of field "Target" to the htmlText of field "Source" On Apr 20, 2005, at 9:28 AM, Ton Kuypers wrote: > I've created a search & replace application to be used from within > Adobe Indesign and it works perfectly: > A list with search words, a second list with replace words, some > options and Indesign has got a supercharged S&R function with whole > lists of words replaced by one click on a button. > To add words to the list, one can enter it in a "Search" textfield, > the second part in the "replace" textfield. An add button adds it to > the list. > > But... > > InDesign uses OpenType or double-byte fonts. These are unicode fonts. > When copying a word from a page in InDesign the clipboard contains te > text with the special characters, but they are mixed (unicode and > regular). > > Problem: > - Paste in the entry field shows the correct text, moving it up to the > list doesn't. > Solution: > - Loop through the characters in the entry field and set the unicode > text or the regular text of the correct line in the list. > Question: > - Is there a better way to do this? > > Problem 2: > I know what number the last line of the list is, so I put this number > + 1 into a var. Each new line will be entered into line varName. > - When the last line of the list is a unicode text, the next line is > entered on the same line, it seams that the linenumber in the var > doesn't have any effect anymore. > I've tried to add a CR after that line, but no luck :-( > > Anyone any solutions or remarks? > > > Regards, > > > Ton Kuypers > Digital Media Partners bvba > Tel. +32 (0)477 / 739 530 > Fax +32 (0)14 / 71 03 04 > http://www.dmp-int.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZm1h7aqtWrR9cZoRAuPVAJ4ivgljtrwI3PE58x4aJ+qz2DO/oQCfbwNV 9nZ5zk0hQ3d1+J41A4aB7ME= =wlpi -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From rcozens at pon.net Wed Apr 20 11:16:01 2005 From: rcozens at pon.net (Rob Cozens) Date: Wed, 20 Apr 2005 08:16:01 -0700 Subject: Simple Scoping Question In-Reply-To: References: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> Message-ID: <6.2.1.2.1.20050420081109.01e65e90@pop3.pon.net> Hi Dave, >e.g. if Stack A > >does a start using start using stack "GlobalStack" > >and thean Stack A calls a Function in "GlobalStack" that refers to "this >stack" does that refer to "Stack A" or "GlobalStack" ? > >Does this work the same way if the Stacks in question are both main stacks >and does it work the same way in a Standalone Application? "This" always refers to "the currently selected", whether referencing stacks, cards, groups, or individual controls. Substitute 'stack "GlobalStack"' for "this stack" in GlobalStack's stack script. Rob Cozens, Staff Conservator Mendonoma Marine Life Conservancy "It is contrary to human welfare to contribute in any way... to the degradation of the sea's capacity to support life." -- Walter Hickel, U. S. Secretary of the Interior, 1971 in "From Abundance to Scarcity" by Michael L. Weber From dburgun at dsl.pipex.com Wed Apr 20 11:33:47 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 20 Apr 2005 16:33:47 +0100 Subject: Simple Scoping Question In-Reply-To: <6.2.1.2.1.20050420081109.01e65e90@pop3.pon.net> References: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> <6.2.1.2.1.20050420081109.01e65e90@pop3.pon.net> Message-ID: >Hi Dave, > >>e.g. if Stack A >> >>does a start using start using stack "GlobalStack" >> >>and thean Stack A calls a Function in "GlobalStack" that refers to >>"this stack" does that refer to "Stack A" or "GlobalStack" ? >> >>Does this work the same way if the Stacks in question are both main >>stacks and does it work the same way in a Standalone Application? > >"This" always refers to "the currently selected", whether >referencing stacks, cards, groups, or individual controls. >Substitute >'stack "GlobalStack"' for "this stack" in GlobalStack's stack script. > >Rob Cozens, Staff Conservator >Mendonoma Marine Life Conservancy Hi, I am confused, in the case where "StackA" calls a Function in "GlobalStack", when in that function should "this stack" return "StackA" or "GlobalStack" ? I want it to return "StackA" so that the functions are general. Thanks a lot Dave From eric.chatonet at sosmartsoftware.com Wed Apr 20 12:19:34 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 20 Apr 2005 18:19:34 +0200 Subject: Simple Scoping Question In-Reply-To: References: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> <6.2.1.2.1.20050420081109.01e65e90@pop3.pon.net> Message-ID: Hi Dave, In any script of stack A, if you call a function placed in the script of stack B, *this* will refer to stack A since your script has been initiated in stack A. Function or handler places do not matter. The only important point is: from where do I began :-) Le 20 avr. 05, ? 17:33, David Burgun a ?crit : >> Hi Dave, >> >>> e.g. if Stack A >>> >>> does a start using start using stack "GlobalStack" >>> >>> and thean Stack A calls a Function in "GlobalStack" that refers to >>> "this stack" does that refer to "Stack A" or "GlobalStack" ? >>> >>> Does this work the same way if the Stacks in question are both main >>> stacks and does it work the same way in a Standalone Application? >> >> "This" always refers to "the currently selected", whether referencing >> stacks, cards, groups, or individual controls. Substitute >> 'stack "GlobalStack"' for "this stack" in GlobalStack's stack script. >> >> Rob Cozens, Staff Conservator >> Mendonoma Marine Life Conservancy > > Hi, > > I am confused, in the case where "StackA" calls a Function in > "GlobalStack", when in that function should "this stack" return > "StackA" or "GlobalStack" ? > > I want it to return "StackA" so that the functions are general. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Wed Apr 20 12:41:48 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 20 Apr 2005 17:41:48 +0100 Subject: Simple Scoping Question In-Reply-To: References: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> <6.2.1.2.1.20050420081109.01e65e90@pop3.pon.net> Message-ID: Hi, That's how I thought it would work. I am getting very strange results from code that does this tho. Could the Current Stack be being lost as a result of calling "Answer" or put xxx into msg box? Thanks Dave >Hi Dave, > >In any script of stack A, if you call a function placed in the >script of stack B, *this* will refer to stack A since your script >has been initiated in stack A. >Function or handler places do not matter. >The only important point is: from where do I began :-) > >Le 20 avr. 05, ? 17:33, David Burgun a ?crit : > >>>Hi Dave, >>> >>>>e.g. if Stack A >>>> >>>>does a start using start using stack "GlobalStack" >>>> >>>>and thean Stack A calls a Function in "GlobalStack" that refers >>>>to "this stack" does that refer to "Stack A" or "GlobalStack" ? >>>> >>>>Does this work the same way if the Stacks in question are both >>>>main stacks and does it work the same way in a Standalone >>>>Application? >>> >>>"This" always refers to "the currently selected", whether >>>referencing stacks, cards, groups, or individual controls. >>>Substitute >>>'stack "GlobalStack"' for "this stack" in GlobalStack's stack script. >>> >>>Rob Cozens, Staff Conservator >>>Mendonoma Marine Life Conservancy >> >>Hi, >> >>I am confused, in the case where "StackA" calls a Function in >>"GlobalStack", when in that function should "this stack" return >>"StackA" or "GlobalStack" ? >> >>I want it to return "StackA" so that the functions are general. > >Amicalement, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From public at veggio.com Wed Apr 20 12:44:23 2005 From: public at veggio.com (Varen Swaab) Date: Wed, 20 Apr 2005 09:44:23 -0700 Subject: Alternating rows in a list In-Reply-To: <3ecb809dfcb7baca4aa04513bc6db65d@mindspring.com> References: <5c5e54f082436b9267252fc53467f898@veggio.com> <3ecb809dfcb7baca4aa04513bc6db65d@mindspring.com> Message-ID: <2b6c4fd182255674f0da8a1c04184aaf@veggio.com> Thanks Gordon but this example makes the text alternate in color not the background of the text. I presume that there is no way to do this based on other comments here. Table support in htmlText would be greatly appreciated. Var On Apr 19, 2005, at 10:29 PM, Gordon Tillman wrote: > Howdy Varen, > > About your post: > >> I'm trying to format a list field which displays plain old html with >> a list of links. I'd like to format the list so that each link in the >> list is an alternating color such as white, light grey, white, light >> grey, etc..... > > Here is an example which may get you started.. > > Given a simple stack with one card that has two fields on it: > > (1) field "htmlFld" that displays the information, and > (2) field "entryFld" where you can enter sample HTML to play with. > > > Field "entryFld" has the following script: > > on enterInField > set the htmlText of field "htmlFld" to me > end enterInField > > And I entered the following into field "entryFld": > > Line 1 >
  • Line 2 >
  • Line 3 > > When you hit enter with the cursor in field "entryFld", then field > "htmlFld" displays this: > > Line 1 > Line 2 > Line 3 > > The first line is black, the second line is green, and the third line > is blue. > > > OK, here is another idea... > > Given a card with a field that contains the list of data to colorize, > this script will set the colors to alternate: > > on mouseUp > local tColor1, tColor2, tLastColor > put "blue" into tColor1 > put "green" into tColor2 > put tColor1 into tLastColor > local tLine > repeat with tLine = 1 to the number of lines of field 1 > set the textColor of line tLine of field 1 to tLastColor > if tLastColor is tColor1 then put tColor2 into tLastColor > else put tColor1 into tLastColor > end repeat > end mouseUp > > --gordon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Wed Apr 20 12:46:40 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 20 Apr 2005 18:46:40 +0200 Subject: Simple Scoping Question In-Reply-To: References: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> <6.2.1.2.1.20050420081109.01e65e90@pop3.pon.net> Message-ID: Hi Dave, No. But a statement setting the defaultStack property yes. Best, Le 20 avr. 05, ? 18:41, David Burgun a ?crit : > Hi, > > That's how I thought it would work. I am getting very strange results > from code that does this tho. Could the Current Stack be being lost > as a result of calling "Answer" or put xxx into msg box? > > Thanks > Dave > > >> Hi Dave, >> >> In any script of stack A, if you call a function placed in the >> script of stack B, *this* will refer to stack A since your script >> has been initiated in stack A. >> Function or handler places do not matter. >> The only important point is: from where do I began :-) >> >> Le 20 avr. 05, ? 17:33, David Burgun a ?crit : >> >>>> Hi Dave, >>>> >>>>> e.g. if Stack A >>>>> >>>>> does a start using start using stack "GlobalStack" >>>>> >>>>> and thean Stack A calls a Function in "GlobalStack" that refers >>>>> to "this stack" does that refer to "Stack A" or "GlobalStack" ? >>>>> >>>>> Does this work the same way if the Stacks in question are both >>>>> main stacks and does it work the same way in a Standalone >>>>> Application? >>>> >>>> "This" always refers to "the currently selected", whether >>>> referencing stacks, cards, groups, or individual controls. >>>> Substitute >>>> 'stack "GlobalStack"' for "this stack" in GlobalStack's stack >>>> script. >>>> >>>> Rob Cozens, Staff Conservator >>>> Mendonoma Marine Life Conservancy >>> >>> Hi, >>> >>> I am confused, in the case where "StackA" calls a Function in >>> "GlobalStack", when in that function should "this stack" return >>> "StackA" or "GlobalStack" ? >>> >>> I want it to return "StackA" so that the functions are general. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Wed Apr 20 12:53:53 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Apr 2005 09:53:53 -0700 Subject: Alternating rows in a list In-Reply-To: <2b6c4fd182255674f0da8a1c04184aaf@veggio.com> References: <5c5e54f082436b9267252fc53467f898@veggio.com> <3ecb809dfcb7baca4aa04513bc6db65d@mindspring.com> <2b6c4fd182255674f0da8a1c04184aaf@veggio.com> Message-ID: <42668921.9040400@fourthworld.com> Varen Swaab wrote: > Thanks Gordon but this example makes the text alternate in color not > the background of the text. I presume that there is no way to do this > based on other comments here. Table support in htmlText would be greatly > appreciated. You can cast your vote for it here: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jimlyons at earthlink.net Wed Apr 20 13:03:18 2005 From: jimlyons at earthlink.net (Jim Lyons) Date: Wed, 20 Apr 2005 13:03:18 -0400 Subject: Alternating rows in a list In-Reply-To: <20050420160014.0F8C393008B@mail.runrev.com> References: <20050420160014.0F8C393008B@mail.runrev.com> Message-ID: <72f9c14a7ee72f5cc18e50597e565326@earthlink.net> On Wed, 20 Apr 2005 08:01:52 -0500 Gordon Tillman wrote: >> It's too bad HTML tables are not supported... > > I guess in the meanwhile one could use the altBrowser plugin... I > bought a copy of that when it was released but have been so busy > working on other projects I haven't had a chance to play with it... :-( I bought a copy of altBrowser just to be able to create and display CSS formatted text in Revolution. It works great! If you have never experienced the joy of using style sheets, you owe it to yourself to learn about it. And then of course, it does tables too.... 8^) Jim Lyons From public at veggio.com Wed Apr 20 13:18:00 2005 From: public at veggio.com (Varen Swaab) Date: Wed, 20 Apr 2005 10:18:00 -0700 Subject: Alternating rows in a list In-Reply-To: <72f9c14a7ee72f5cc18e50597e565326@earthlink.net> References: <20050420160014.0F8C393008B@mail.runrev.com> <72f9c14a7ee72f5cc18e50597e565326@earthlink.net> Message-ID: <9895358c47b7c12127bc6350748d4f06@veggio.com> I'm curious, if I used the altBrowser plugin, would I get all the normal functionality such as LinkClicked message, etc. And, yes Jim, stylesheets are wonderful and would completely solve my problem. Varen On Apr 20, 2005, at 10:03 AM, Jim Lyons wrote: > On Wed, 20 Apr 2005 08:01:52 -0500 Gordon Tillman wrote: > >>> It's too bad HTML tables are not supported... >> >> I guess in the meanwhile one could use the altBrowser plugin... I >> bought a copy of that when it was released but have been so busy >> working on other projects I haven't had a chance to play with it... >> :-( > > I bought a copy of altBrowser just to be able to create and display > CSS formatted text in Revolution. It works great! If you have never > experienced the joy of using style sheets, you owe it to yourself to > learn about it. > > And then of course, it does tables too.... 8^) > > Jim Lyons > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Apr 20 13:26:23 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Apr 2005 10:26:23 -0700 Subject: Alternating rows in a list In-Reply-To: <72f9c14a7ee72f5cc18e50597e565326@earthlink.net> References: <20050420160014.0F8C393008B@mail.runrev.com> <72f9c14a7ee72f5cc18e50597e565326@earthlink.net> Message-ID: <426690BF.2070606@fourthworld.com> Jim Lyons wrote: > On Wed, 20 Apr 2005 08:01:52 -0500 Gordon Tillman wrote: > >>> It's too bad HTML tables are not supported... >> >> >> I guess in the meanwhile one could use the altBrowser plugin... I >> bought a copy of that when it was released but have been so busy >> working on other projects I haven't had a chance to play with it... :-( > > > I bought a copy of altBrowser just to be able to create and display CSS > formatted text in Revolution. It works great! If you have never > experienced the joy of using style sheets, you owe it to yourself to > learn about it. It's a great option for displaying lists, but getting at the data is another matter when it's in a browser control. Xavier once posted what is in my experience the efficient solution for this yet: he has a second field below the first filled with spaces and the background color set as you like for alternating colors, with a scrollbarDrag message in the top field which contains the data in order to synch the two. Mr. X - got the URL handy? You may find this a suitable holdover until we get alternating lines implemented natively. FWIW, I rarely use alternating line colors myself. I recognize the value, but somewhere along the way it occured to me that the most commonly-used table views, the Windows Explorer and Mac Finder, seem to get along well without them. They're a good nice-to-have, and if a client is insistent I use Xavier's method. But more often than not I save the overhead and follow the examples of Microsoft's and Apple's file lists. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mikeythek at gmail.com Wed Apr 20 13:44:38 2005 From: mikeythek at gmail.com (Mikey) Date: Wed, 20 Apr 2005 13:44:38 -0400 Subject: Alternating rows in a list In-Reply-To: <9895358c47b7c12127bc6350748d4f06@veggio.com> References: <20050420160014.0F8C393008B@mail.runrev.com> <72f9c14a7ee72f5cc18e50597e565326@earthlink.net> <9895358c47b7c12127bc6350748d4f06@veggio.com> Message-ID: <9b408d8e0504201044474344e5@mail.gmail.com> Ugh. I dislike CSS. In most cases I have found that it makes life harder, not easier. Reading through the HTML seems to be harder. The additional bulk seems to be frequently unwarranted. I guess mainly what I'm saying is I disklike the way most people use CSS, not that I dislike CSS. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dburgun at dsl.pipex.com Wed Apr 20 13:53:10 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 20 Apr 2005 18:53:10 +0100 Subject: Simple Scoping Question In-Reply-To: References: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> <6.2.1.2.1.20050420081109.01e65e90@pop3.pon.net> Message-ID: Hi, Ok, I think I have found the problem! I have a openStack handler in the script of the Stack, as so: on openStack local myStackFileName,myStackShortName,myGlobalStackName put the fileName of this stack into myStackFileName put the short name of this stack into myStackShortName put replaceText(myStackFileName, myStackShortName,"GlobalStack" into myGlobalStackName set the cpGlobalStackFileName to myGlobalStackName --*****Breakpoint here --start using stack myGlobalStackName -Commented out to stop crashing end openStack on closeStack if the cpGlobalStackFileName of this stack <> empty -- stop using stack the cpGlobalStackFileName of this stack -Commented out to stop crashing set the cpGlobalStackFileName to empty end if end closeStack --------------------------------------- The Stack is closed and then I re-open it and hit the breakpoint and the variables are set as you would expect and I think the start using line would work ok. I then hit run and then Save the Stack and hit the breakpoint again, this time the variables are set as follows: myStackFileName - empty myStackShortName - empty myGlobalStackName - revSaving I hadn't realized that the openStack handler gets called when doing a Save. What is the recommended action for handle this? I could do one of three things: 1. Check if myStackFileName is empty and if so skip the "start uisng" 2. Check the Stack Name for "revSaving" and if so skip the "start uisng" 3. Check if in "development" moce and if so skip the "start uisng" I suppose I need similar tests in preOpenStack and closeStack? Can anyone tell me the best thing to do under this condition? Thanks in advance. Dave >Hi Dave, > >No. >But a statement setting the defaultStack property yes. >Best, > >Le 20 avr. 05, ? 18:41, David Burgun a ?crit : > >>Hi, >> >>That's how I thought it would work. I am getting very strange results >>from code that does this tho. Could the Current Stack be being lost >>as a result of calling "Answer" or put xxx into msg box? >> >>Thanks >>Dave >> >>>Hi Dave, >>> >>>In any script of stack A, if you call a function placed in the >>>script of stack B, *this* will refer to stack A since your script >>>has been initiated in stack A. >>>Function or handler places do not matter. >>>The only important point is: from where do I began :-) >>> >>>Le 20 avr. 05, ? 17:33, David Burgun a ?crit : >>> >>>>>Hi Dave, >>>>> >>>>>>e.g. if Stack A >>>>>> >>>>>>does a start using start using stack "GlobalStack" >>>>>> >>>>>>and thean Stack A calls a Function in "GlobalStack" that refers >>>>>>to "this stack" does that refer to "Stack A" or "GlobalStack" ? >>>>>> >>>>>>Does this work the same way if the Stacks in question are both >>>>>>main stacks and does it work the same way in a Standalone >>>>>>Application? >>>>> >>>>>"This" always refers to "the currently selected", whether >>>>>referencing stacks, cards, groups, or individual controls. >>>>>Substitute >>>>>'stack "GlobalStack"' for "this stack" in GlobalStack's stack script. >>>>> >>>>>Rob Cozens, Staff Conservator >>>>>Mendonoma Marine Life Conservancy >>>> >>>>Hi, >>>> >>>>I am confused, in the case where "StackA" calls a Function in >>>>"GlobalStack", when in that function should "this stack" return >>>>"StackA" or "GlobalStack" ? >>>> >>>>I want it to return "StackA" so that the functions are general. > >Amicalement, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Wed Apr 20 14:04:15 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 20 Apr 2005 20:04:15 +0200 Subject: Simple Scoping Question In-Reply-To: References: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> <6.2.1.2.1.20050420081109.01e65e90@pop3.pon.net> Message-ID: <49633ce5b31d96ff51da41f0e963e7c2@sosmartsoftware.com> Hi, openStack handler is called each time a stack is open: in the IDE it may be when opening any script, any property window, rev error dialog, app browser, etc.. In fact any window. That's the great thing with Rev : the IDE is built with Rev :-) As for your problem, you have to check when you have to trigger or PASS a system message with a condition test. You are right: IDE behaviour if different from stand alone environment. You can check this too and act accordingly. Best, Le 20 avr. 05, ? 19:53, David Burgun a ?crit : > I hadn't realized that the openStack handler gets called when doing a > Save. What is the recommended action for handle this? > > I could do one of three things: > > 1. Check if myStackFileName is empty and if so skip the "start uisng" > 2. Check the Stack Name for "revSaving" and if so skip the "start > uisng" > 3. Check if in "development" moce and if so skip the "start uisng" > > I suppose I need similar tests in preOpenStack and closeStack? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Wed Apr 20 14:13:53 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 20 Apr 2005 19:13:53 +0100 Subject: Simple Scoping Question In-Reply-To: <49633ce5b31d96ff51da41f0e963e7c2@sosmartsoftware.com> References: <0014b5b60b868bc6b455c5b173971619@fjrhome.net> <6.2.1.2.1.20050420081109.01e65e90@pop3.pon.net> <49633ce5b31d96ff51da41f0e963e7c2@sosmartsoftware.com> Message-ID: Hi Eric and thanks for the help! >As for your problem, you have to check when you have to trigger or >PASS a system message with a condition test. >You are right: IDE behaviour if different from stand alone environment. >You can check this too and act accordingly. I really don't understand what you mean here, what test do I need to perform? One of these, or something different? 1. Check if myStackFileName is empty and if so skip the "start uisng" 2. Check the Stack Name for "revSaving" and if so skip the "start uisng" 3. Check if in "development" moce and if so skip the "start uisng" Assuming it's 1 above, do you mean do this: if myStackFileName = empty then pass openStack exit openStack end if Do I use the same test in the closeStack handler? Thanks in Advance Dave >Hi, > >openStack handler is called each time a stack is open: in the IDE it >may be when opening any script, any property window, rev error >dialog, app browser, etc.. >In fact any window. That's the great thing with Rev : the IDE is >built with Rev :-) >As for your problem, you have to check when you have to trigger or >PASS a system message with a condition test. >You are right: IDE behaviour if different from stand alone environment. >You can check this too and act accordingly. >Best, > >Le 20 avr. 05, ? 19:53, David Burgun a ?crit : > >>I hadn't realized that the openStack handler gets called when doing a >>Save. What is the recommended action for handle this? >> >>I could do one of three things: >> >>1. Check if myStackFileName is empty and if so skip the "start uisng" >>2. Check the Stack Name for "revSaving" and if so skip the "start uisng" >>3. Check if in "development" moce and if so skip the "start uisng" >> >>I suppose I need similar tests in preOpenStack and closeStack? > > >Amicalement, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Wed Apr 20 14:19:02 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 20 Apr 2005 11:19:02 -0700 Subject: Simple Scoping Question In-Reply-To: Message-ID: Recently, David Burgun wrote: > I hadn't realized that the openStack handler gets called when doing a > Save. What is the recommended action for handle this? > > I could do one of three things: > > 1. Check if myStackFileName is empty and if so skip the "start uisng" > 2. Check the Stack Name for "revSaving" and if so skip the "start uisng" > 3. Check if in "development" moce and if so skip the "start uisng" > > I suppose I need similar tests in preOpenStack and closeStack? > > Can anyone tell me the best thing to do under this condition? If your openStack handler is only supposed to apply to your main stack, then place the openStack handler in the script of the *first card* of your main stack (this goes for any initialization handlers since they are only called when the first card is opened). Any subsequent opening/closing of stacks will not trigger the init handler/s. If your openStack handler must apply to any substacks of your main stack, you can do as you suggest above: check the stack's name, for development mode, etc. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From b.xavier at internet.lu Wed Apr 20 14:30:21 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 20 Apr 2005 20:30:21 +0200 Subject: Alternating rows in a list In-Reply-To: <426690BF.2070606@fourthworld.com> Message-ID: <20050420184304.B828D93022D@mail.runrev.com> Uh, what, where? I thought it was about html text and text color... not stripes... Although with some ink effects... The download page with all the possible votes, comments you can add @ http://www.monsieurx.com/modules.php?name=Downloads&d_op=viewdownloaddetails &lid=75 But i think it should be time somebody voted on (oh, it's not there [again]) http://support.runrev.com/bugdatabase/show_bug.cgi?id=2791 Truly, it's not a negative bug, RunRev's fields do so much already, it's beyond most standards. But there's lots of rough corners IMOPO. Some are so impossible to work around that im actually forced to run without the RevIDE or stop the debugger all together!!! It's scary!!! http://support.runrev.com/bugdatabase/show_bug.cgi?id=2781 - a true blocker! And that's only on W2K, W2K3 is now without RevIDE at all or crash non stop! Thanks Richard for keeping the MC IDE up. Im currently making all my TAOO tools compatible to it too now that the MGM is working! Note that Devolution will need a bit of evolution to keep up - I hope to challenge the RunRev team in features soon ;) Like Wiki i think it's essential that a part of TAOO be public. And now, on to the MGM interface design... There's a challenge! Making an original GUI is not in any link i've seen... ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Wednesday, April 20, 2005 19:26 > To: How to use Revolution > Subject: Re: Alternating rows in a list > > Jim Lyons wrote: > > On Wed, 20 Apr 2005 08:01:52 -0500 Gordon Tillman wrote: > > > >>> It's too bad HTML tables are not supported... > >> > >> > >> I guess in the meanwhile one could use the altBrowser plugin... I > >> bought a copy of that when it was released but have been so busy > >> working on other projects I haven't had a chance to play > with it... > >> :-( > > > > > > I bought a copy of altBrowser just to be able to create and display > > CSS formatted text in Revolution. It works great! If you have never > > experienced the joy of using style sheets, you owe it to > yourself to > > learn about it. > > It's a great option for displaying lists, but getting at the > data is another matter when it's in a browser control. > > Xavier once posted what is in my experience the efficient > solution for this yet: he has a second field below the first > filled with spaces and the background color set as you like > for alternating colors, with a scrollbarDrag message in the > top field which contains the data in order to synch the two. > > Mr. X - got the URL handy? > > You may find this a suitable holdover until we get > alternating lines implemented natively. > > FWIW, I rarely use alternating line colors myself. I > recognize the value, but somewhere along the way it occured > to me that the most commonly-used table views, the Windows > Explorer and Mac Finder, seem to get along well without them. > > They're a good nice-to-have, and if a client is insistent I > use Xavier's method. But more often than not I save the > overhead and follow the examples of Microsoft's and Apple's > file lists. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Wed Apr 20 14:32:15 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 20 Apr 2005 19:32:15 +0100 Subject: Simple Scoping Question In-Reply-To: References: Message-ID: Hi, Thanks a lot for this. No, I don't have any substacks so moving it into the card script sounds best. Ok a couple of questions of this. You say move it to the "first card", well in this stack there is only one card so the issue doesn't come out, but for the sake of knowing, if I have more than one card in the stack, do you mean the card that is currently the "first" card, or the first card created by the IDE? Sorry if I sound dense, but I have been mucking about with this for ages and I just wanna get it right! Thanks for the help Dave >Recently, David Burgun wrote: > >> I hadn't realized that the openStack handler gets called when doing a >> Save. What is the recommended action for handle this? >> >> I could do one of three things: >> >> 1. Check if myStackFileName is empty and if so skip the "start uisng" >> 2. Check the Stack Name for "revSaving" and if so skip the "start uisng" >> 3. Check if in "development" moce and if so skip the "start uisng" >> >> I suppose I need similar tests in preOpenStack and closeStack? >> >> Can anyone tell me the best thing to do under this condition? > >If your openStack handler is only supposed to apply to your main stack, then >place the openStack handler in the script of the *first card* of your main >stack (this goes for any initialization handlers since they are only called >when the first card is opened). Any subsequent opening/closing of stacks >will not trigger the init handler/s. > >If your openStack handler must apply to any substacks of your main stack, >you can do as you suggest above: check the stack's name, for development >mode, etc. > >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 livfoss at blueyonder.co.uk Wed Apr 20 14:33:47 2005 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Wed, 20 Apr 2005 19:33:47 +0100 Subject: Simple Scoping Question Message-ID: <535c41deb4bc927c996c76b962784bc5@blueyonder.co.uk> On Wed, 20 Apr 2005 16:33:47 +0100, David Burgun wrote: > Hi, > > I am confused, in the case where "StackA" calls a Function in > "GlobalStack", when in that function should "this stack" return > "StackA" or "GlobalStack" ? > > I want it to return "StackA" so that the functions are general. > I think it works the way you want: if you put a function in your mainstack "GlobalStack" whose script is function ReportMyName return the short name of this stack end ReportMyName and then you call it from your substack "StackA" (the script of "GlobalStack" will automatically be in the message path) say in a button which is scripted on mouseUp put reportMyName() end mouseUp You'll get "StackA" in the message box, but if you run that script from "GlobalStack", you'll get "GlobableStack", or from another substack "StackB", then that name. So within the function, 'this' still refers to the calling stack. I think this is what you expected. HTH Graham ------------------------------------------------------------------------ --- Graham Samuel / The Living Fossil Co. / UK and France From b.xavier at internet.lu Wed Apr 20 14:35:29 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 20 Apr 2005 20:35:29 +0200 Subject: Alternating rows in a list In-Reply-To: <9b408d8e0504201044474344e5@mail.gmail.com> Message-ID: <20050420184759.A8B49930220@mail.runrev.com> Mickey, Thanks to CSS, it only took 3 seconds to change the text coloring on MonsieurX. Took much more to find the different places where phpnuke doesn't use those as css. And I haven't found all of them yet grrrrr ;) Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mikey > Sent: Wednesday, April 20, 2005 19:45 > To: How to use Revolution > Subject: Re: Alternating rows in a list > > Ugh. I dislike CSS. In most cases I have found that it > makes life harder, not easier. Reading through the HTML > seems to be harder. The additional bulk seems to be > frequently unwarranted. > > I guess mainly what I'm saying is I disklike the way most > people use CSS, not that I dislike CSS. > > -- > http://taoof4d.blogspot.com > http://4dwishlist.blogspot.com > On the first day, God created the heavens and the Earth On > the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikeythek at gmail.com Wed Apr 20 14:43:45 2005 From: mikeythek at gmail.com (Mikey) Date: Wed, 20 Apr 2005 14:43:45 -0400 Subject: Alternating rows in a list In-Reply-To: <4266a0e0.7c75c7c8.75e8.1e0cSMTPIN_ADDED@mx.gmail.com> References: <9b408d8e0504201044474344e5@mail.gmail.com> <4266a0e0.7c75c7c8.75e8.1e0cSMTPIN_ADDED@mx.gmail.com> Message-ID: <9b408d8e0504201143197c5ddf@mail.gmail.com> X What, no Replace in your text editor? Again, I'm mainly annoyed with the way that people use CSS, and the fact that people seem to use it for EVERYTHING, not just large documents, which makes small ones much more difficult to read. It's MIKEY, DAMMIT! -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From scott at tactilemedia.com Wed Apr 20 14:51:17 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 20 Apr 2005 11:51:17 -0700 Subject: Simple Scoping Question In-Reply-To: Message-ID: Recently, David Burgun wrote: >> If your openStack handler is only supposed to apply to your main stack, then >> place the openStack handler in the script of the *first card* of your main >> stack (this goes for any initialization handlers since they are only called >> when the first card is opened). Any subsequent opening/closing of stacks >> will not trigger the init handler/s. > Thanks a lot for this. No, I don't have any substacks so moving it > into the card script sounds best. Ok a couple of questions of this. > You say move it to the "first card", well in this stack there is only > one card so the issue doesn't come out, but for the sake of knowing, > if I have more than one card in the stack, do you mean the card that > is currently the "first" card, or the first card created by the IDE? Literally, the first card of *your* main stack. In your case there is only one card but the method still applies: whenever you need to initialize stuff, placing the init scripts in the first card of your main stack limits causes the scripts to run only when the main stack is opened (preOpenStack, openStack, openCard, etc). Subsequent opening/closing of substacks or IDE stacks will not trigger your card scripts because they are not part of the other stacks' message hierarchy. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From public at veggio.com Wed Apr 20 14:53:02 2005 From: public at veggio.com (Varen Swaab) Date: Wed, 20 Apr 2005 11:53:02 -0700 Subject: Animation Builder Message-ID: <8ca5e765bb0525e0c2fc89d9e538932d@veggio.com> I have a new question which I'm sure will embarrass me. I'm (obviously) new at this RR stuff but I swear my application had a menu item for an Animation Builder. In fact I know it did because I used it during a tutorial. Now I'm trying to do an animation and the menu item is gone, it's not where it should be at all, not greyed out, just not there. BTW, I'm looking in the Tools menu. Any ideas where the Animation Builder in my application has gone to? Reward offered :) Varen From b.xavier at internet.lu Wed Apr 20 14:56:09 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 20 Apr 2005 20:56:09 +0200 Subject: Revonline update yourself! Message-ID: <20050420190839.600CB93022D@mail.runrev.com> Whenever you need them menus that are too short... Im tired of waiting for this or that bugzilla but this cool nitrous injection should already give ya a leg up... I got this stack coming with many of these little enhancements. But i wanted to start a thread on it because it seemed that i might not be the only one... So, who wants to play and post more? I'll compile them and make sure they stick to the right versions of the IDE given feedback naturally... They will also be selective so you only modify the danger level you want to play with. -- see restrictions below Create stack "nitrous injection" create button "Improve RPP" set the script of it to """ on mouseUp put "revpropertypalette" into s put 1 into i repeat while there is a stack (s && i) set the menulines of btn "mainstack" of card "revstack" of stack (s && i) to 20 set the menulines of btn "inks" of card "revinks" of stack (s && i) to 20 save stack (s && i) add 1 to i end repeat end mouseUp""" -- i just learned what triple quotes did in phyton - totally cool! Am i poking at RunRev? No! Absolutely not. For one, i know they dont have time to see the thousands of bugs to be verified and so on... They can also find bugs or fix them in just one click for the next rev build this way! These are just GUI bug fixes - nothing major... Yes, I test everything I release to the extent of my satisfaction experience using the software. Fixes happen as well as daily improvements. I hope to bring this also to RunRev and you the users! This way we can all get to script or design stacks faster! So, send me your improvements and together we'll help RunRev with their updates in a really practical fashion... No GM or scripteditor or debugger stuff please. Restrictions Oh yes, use this script at your own risk - I certainly do so! cheers Xav From fde101 at fjrhome.net Wed Apr 20 15:07:34 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 20 Apr 2005 15:07:34 -0400 Subject: Animation Builder In-Reply-To: <8ca5e765bb0525e0c2fc89d9e538932d@veggio.com> References: <8ca5e765bb0525e0c2fc89d9e538932d@veggio.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Animation Builder was removed from Revolution (was it with the release of 2.5? I forget) -- I believe it is still available as a free (separate) download from Rev's web site, but is no longer supported by the company. On Apr 20, 2005, at 2:53 PM, Varen Swaab wrote: > I have a new question which I'm sure will embarrass me. I'm > (obviously) new at this RR stuff but I swear my application had a menu > item for an Animation Builder. In fact I know it did because I used it > during a tutorial. Now I'm trying to do an animation and the menu item > is gone, it's not where it should be at all, not greyed out, just not > there. > > BTW, I'm looking in the Tools menu. > > Any ideas where the Animation Builder in my application has gone to? > > Reward offered :) > > Varen > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZqh27aqtWrR9cZoRAtO0AJ0XbXysAsFbzfyL9QzNTF6bbEC7GACfen3h 1MwiWfPfM+jItGxbe/W0QZ4= =kyzR -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From public at veggio.com Wed Apr 20 15:19:55 2005 From: public at veggio.com (Varen Swaab) Date: Wed, 20 Apr 2005 12:19:55 -0700 Subject: Animation Builder In-Reply-To: References: <8ca5e765bb0525e0c2fc89d9e538932d@veggio.com> Message-ID: <4aeb994491081218d6402787da117350@veggio.com> Great, I didn't embarrass myself as badly as I feared. What was the reason for removing it? Will it or something like it return in the future? Var On Apr 20, 2005, at 12:07 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > The Animation Builder was removed from Revolution (was it with the > release of 2.5? I forget) -- I believe it is still available as a > free (separate) download from Rev's web site, but is no longer > supported by the company. > > On Apr 20, 2005, at 2:53 PM, Varen Swaab wrote: > >> I have a new question which I'm sure will embarrass me. I'm >> (obviously) new at this RR stuff but I swear my application had a >> menu item for an Animation Builder. In fact I know it did because I >> used it during a tutorial. Now I'm trying to do an animation and the >> menu item is gone, it's not where it should be at all, not greyed >> out, just not there. >> >> BTW, I'm looking in the Tools menu. >> >> Any ideas where the Animation Builder in my application has gone to? >> >> Reward offered :) >> >> Varen >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCZqh27aqtWrR9cZoRAtO0AJ0XbXysAsFbzfyL9QzNTF6bbEC7GACfen3h > 1MwiWfPfM+jItGxbe/W0QZ4= > =kyzR > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Wed Apr 20 15:33:26 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 20 Apr 2005 20:33:26 +0100 Subject: Simple Scoping Question In-Reply-To: References: Message-ID: >Recently, David Burgun wrote: > >>> If your openStack handler is only supposed to apply to your main >>>stack, then >>> place the openStack handler in the script of the *first card* of your main >>> stack (this goes for any initialization handlers since they are only called >>> when the first card is opened). Any subsequent opening/closing of stacks >>> will not trigger the init handler/s. > >> Thanks a lot for this. No, I don't have any substacks so moving it >> into the card script sounds best. Ok a couple of questions of this. >> You say move it to the "first card", well in this stack there is only >> one card so the issue doesn't come out, but for the sake of knowing, >> if I have more than one card in the stack, do you mean the card that >> is currently the "first" card, or the first card created by the IDE? > >Literally, the first card of *your* main stack. > >In your case there is only one card but the method still applies: whenever >you need to initialize stuff, placing the init scripts in the first card of >your main stack limits causes the scripts to run only when the main stack is >opened (preOpenStack, openStack, openCard, etc). Subsequent opening/closing >of substacks or IDE stacks will not trigger your card scripts because they >are not part of the other stacks' message hierarchy. Ok, I think I understand that, in this case though, the Stack in question *is* a main stack, does this make a difference? The reason I asked is because I have some Stacks that have multiple cards formed into a Tabbed Button, one card for each tab, and on the stacks that have this control I send a menuPick command to the Tab to select the correct card. I was wondering if this would cause problems, seems not? Just add it to the fist card of the Stack. Ok, I will give this a try and report back. Thanks a lot for your help, you don't know how much I appreciate it. Some of this stuff is a complete mystery. The documentation seems so scattered that it's hard to know what is going on sometimes. I guess it doesn't help that the IDE gets hosed so often when trying to setup this kind of stuff. All the Best Dave From tkuypers at pandora.be Wed Apr 20 16:17:58 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Wed, 20 Apr 2005 22:17:58 +0200 Subject: Unicode problem In-Reply-To: <1dae2cd3fa74b2cd8d470db1bb26627d@fjrhome.net> References: <765ff257564b98d4061bfc16ee292996@pandora.be> <1dae2cd3fa74b2cd8d470db1bb26627d@fjrhome.net> Message-ID: Sometimes life can be so simple... I tried set the htmlText of line 7 of field "Target" to field "Source" and set the unicodeText of line 7 of field "Target" to field "Source" but just forgot to add the last part: the htmlText of field "Source" Using the htmlText for both fields works like a charm! Thanks a lot!!!! Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com On 20-apr-05, at 16:55, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Did you try using the htmlText of that line rather than just the > plaintext of the line? In other words, something like this: > > set the htmlText of line 7 of field "Target" to the htmlText of field > "Source" > > > On Apr 20, 2005, at 9:28 AM, Ton Kuypers wrote: > >> I've created a search & replace application to be used from within >> Adobe Indesign and it works perfectly: >> A list with search words, a second list with replace words, some >> options and Indesign has got a supercharged S&R function with whole >> lists of words replaced by one click on a button. >> To add words to the list, one can enter it in a "Search" textfield, >> the second part in the "replace" textfield. An add button adds it to >> the list. >> >> But... >> >> InDesign uses OpenType or double-byte fonts. These are unicode fonts. >> When copying a word from a page in InDesign the clipboard contains te >> text with the special characters, but they are mixed (unicode and >> regular). >> >> Problem: >> - Paste in the entry field shows the correct text, moving it up to >> the list doesn't. >> Solution: >> - Loop through the characters in the entry field and set the unicode >> text or the regular text of the correct line in the list. >> Question: >> - Is there a better way to do this? >> >> Problem 2: >> I know what number the last line of the list is, so I put this number >> + 1 into a var. Each new line will be entered into line varName. >> - When the last line of the list is a unicode text, the next line is >> entered on the same line, it seams that the linenumber in the var >> doesn't have any effect anymore. >> I've tried to add a CR after that line, but no luck :-( >> >> Anyone any solutions or remarks? >> >> >> Regards, >> >> >> Ton Kuypers >> Digital Media Partners bvba >> Tel. +32 (0)477 / 739 530 >> Fax +32 (0)14 / 71 03 04 >> http://www.dmp-int.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCZm1h7aqtWrR9cZoRAuPVAJ4ivgljtrwI3PE58x4aJ+qz2DO/oQCfbwNV > 9nZ5zk0hQ3d1+J41A4aB7ME= > =wlpi > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From fde101 at fjrhome.net Wed Apr 20 16:22:29 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 20 Apr 2005 16:22:29 -0400 Subject: Animation Builder In-Reply-To: <4aeb994491081218d6402787da117350@veggio.com> References: <8ca5e765bb0525e0c2fc89d9e538932d@veggio.com> <4aeb994491081218d6402787da117350@veggio.com> Message-ID: <4f24441fbd1f064a3c7d0244f704affd@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There has been a marginalized rumor that a new one will be created at some point in the future, but I don't think that is known for sure, and I certainly haven't seen anything like a timetable related to this. So the short answer is, maybe, maybe not. We of the list do not know. This question comes up a lot, btw; you might be able to find more info by searching the list archives. On Apr 20, 2005, at 3:19 PM, Varen Swaab wrote: > Great, I didn't embarrass myself as badly as I feared. What was the > reason for removing it? Will it or something like it return in the > future? > > Var > > > On Apr 20, 2005, at 12:07 PM, Frank D. Engel, Jr. wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> The Animation Builder was removed from Revolution (was it with the >> release of 2.5? I forget) -- I believe it is still available as a >> free (separate) download from Rev's web site, but is no longer >> supported by the company. >> >> On Apr 20, 2005, at 2:53 PM, Varen Swaab wrote: >> >>> I have a new question which I'm sure will embarrass me. I'm >>> (obviously) new at this RR stuff but I swear my application had a >>> menu item for an Animation Builder. In fact I know it did because I >>> used it during a tutorial. Now I'm trying to do an animation and the >>> menu item is gone, it's not where it should be at all, not greyed >>> out, just not there. >>> >>> BTW, I'm looking in the Tools menu. >>> >>> Any ideas where the Animation Builder in my application has gone to? >>> >>> Reward offered :) >>> >>> Varen >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> - ----------------------------------------------------------- >> Frank D. Engel, Jr. >> >> $ ln -s /usr/share/kjvbible /usr/manual >> $ true | cat /usr/manual | grep "John 3:16" >> John 3:16 For God so loved the world, that he gave his only begotten >> Son, that whosoever believeth in him should not perish, but have >> everlasting life. >> $ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (Darwin) >> >> iD8DBQFCZqh27aqtWrR9cZoRAtO0AJ0XbXysAsFbzfyL9QzNTF6bbEC7GACfen3h >> 1MwiWfPfM+jItGxbe/W0QZ4= >> =kyzR >> -----END PGP SIGNATURE----- >> >> >> >> ___________________________________________________________ >> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer >> 10 Personalized POP and Web E-mail Accounts, and much more. >> Signup at www.doteasy.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZroF7aqtWrR9cZoRAgO8AJ4hDolAtEjmtjEDlEDmH0U70bpnwQCeO/qC waBzvhi5jxMQEM1aZsqO+IA= =AUtv -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From public at veggio.com Wed Apr 20 16:25:10 2005 From: public at veggio.com (Varen Swaab) Date: Wed, 20 Apr 2005 13:25:10 -0700 Subject: Animation Builder In-Reply-To: <4f24441fbd1f064a3c7d0244f704affd@fjrhome.net> References: <8ca5e765bb0525e0c2fc89d9e538932d@veggio.com> <4aeb994491081218d6402787da117350@veggio.com> <4f24441fbd1f064a3c7d0244f704affd@fjrhome.net> Message-ID: <182b6cf429ad7d839053c36a6e858fd8@veggio.com> Thanks for the info Frank, btw, I couldn't find a download on the Rev site. Var On Apr 20, 2005, at 1:22 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > There has been a marginalized rumor that a new one will be created at > some point in the future, but I don't think that is known for sure, > and I certainly haven't seen anything like a timetable related to > this. > > So the short answer is, maybe, maybe not. We of the list do not know. > This question comes up a lot, btw; you might be able to find more > info by searching the list archives. > > > On Apr 20, 2005, at 3:19 PM, Varen Swaab wrote: > >> Great, I didn't embarrass myself as badly as I feared. What was the >> reason for removing it? Will it or something like it return in the >> future? >> >> Var >> >> >> On Apr 20, 2005, at 12:07 PM, Frank D. Engel, Jr. wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> The Animation Builder was removed from Revolution (was it with the >>> release of 2.5? I forget) -- I believe it is still available as a >>> free (separate) download from Rev's web site, but is no longer >>> supported by the company. >>> >>> On Apr 20, 2005, at 2:53 PM, Varen Swaab wrote: >>> >>>> I have a new question which I'm sure will embarrass me. I'm >>>> (obviously) new at this RR stuff but I swear my application had a >>>> menu item for an Animation Builder. In fact I know it did because I >>>> used it during a tutorial. Now I'm trying to do an animation and >>>> the menu item is gone, it's not where it should be at all, not >>>> greyed out, just not there. >>>> >>>> BTW, I'm looking in the Tools menu. >>>> >>>> Any ideas where the Animation Builder in my application has gone to? >>>> >>>> Reward offered :) >>>> >>>> Varen >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> - ----------------------------------------------------------- >>> Frank D. Engel, Jr. >>> >>> $ ln -s /usr/share/kjvbible /usr/manual >>> $ true | cat /usr/manual | grep "John 3:16" >>> John 3:16 For God so loved the world, that he gave his only begotten >>> Son, that whosoever believeth in him should not perish, but have >>> everlasting life. >>> $ >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.2.4 (Darwin) >>> >>> iD8DBQFCZqh27aqtWrR9cZoRAtO0AJ0XbXysAsFbzfyL9QzNTF6bbEC7GACfen3h >>> 1MwiWfPfM+jItGxbe/W0QZ4= >>> =kyzR >>> -----END PGP SIGNATURE----- >>> >>> >>> >>> ___________________________________________________________ >>> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer >>> 10 Personalized POP and Web E-mail Accounts, and much more. >>> Signup at www.doteasy.com >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCZroF7aqtWrR9cZoRAgO8AJ4hDolAtEjmtjEDlEDmH0U70bpnwQCeO/qC > waBzvhi5jxMQEM1aZsqO+IA= > =AUtv > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Wed Apr 20 16:25:01 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Apr 2005 15:25:01 -0500 Subject: Simple Scoping Question In-Reply-To: References: Message-ID: <4266BA9D.8040908@hyperactivesw.com> On 4/20/05 2:33 PM, David Burgun wrote: > Ok, I think I understand that, in this case though, the Stack in > question *is* a main stack, does this make a difference? Every stack has one or more cards; mainstacks, substacks, all of them. Type this into the message box: go card 1 Whatever card appears, that is card one of the current stack. Card 1 is also the card you first see when the stack opens, as the engine automatically displays that card by default. If you have not set a label for your stack and it has more than one card, you will see the card number in the title bar as well. Cards are numbered in the order you have created them. A new stack automatically has one card. If you create another card, that will be card 2. If you use the arrow keys to page through your stack, it will show the cards in order. You can change the order of the cards if necessary (though it isn't often done; usually only needed if you decide you want to add a title card at the front later on.) To change card order: set the number of this card to i.e.: set the number of this card to 1 Ask if you need more info. > > The reason I asked is because I have some Stacks that have multiple > cards formed into a Tabbed Button, one card for each tab, and on the > stacks that have this control I send a menuPick command to the Tab to > select the correct card. I was wondering if this would cause problems, > seems not? Just add it to the fist card of the Stack. > > Ok, I will give this a try and report back. > > Thanks a lot for your help, you don't know how much I appreciate it. > Some of this stuff is a complete mystery. The documentation seems so > scattered that it's hard to know what is going on sometimes. > > I guess it doesn't help that the IDE gets hosed so often when trying to > setup this kind of stuff. > > All the Best > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Apr 20 16:43:33 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Apr 2005 13:43:33 -0700 Subject: Animation Builder In-Reply-To: <182b6cf429ad7d839053c36a6e858fd8@veggio.com> References: <8ca5e765bb0525e0c2fc89d9e538932d@veggio.com> <4aeb994491081218d6402787da117350@veggio.com> <4f24441fbd1f064a3c7d0244f704affd@fjrhome.net> <182b6cf429ad7d839053c36a6e858fd8@veggio.com> Message-ID: <4266BEF5.3080508@fourthworld.com> Varen Swaab wrote: >> Any ideas where the Animation Builder in my application has gone to? > Thanks for the info Frank, btw, I couldn't find a download on the Rev > site. You may not need to -- look locally in: Revolution 2.5.1/components/assistants/revanimation.rev Not sure why it's still bundled if it's unsupported, but at least it saves you from downloading it from: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mikeythek at gmail.com Wed Apr 20 16:46:14 2005 From: mikeythek at gmail.com (Mikey) Date: Wed, 20 Apr 2005 16:46:14 -0400 Subject: Simple Scoping Question In-Reply-To: <4266BA9D.8040908@hyperactivesw.com> References: <4266BA9D.8040908@hyperactivesw.com> Message-ID: <9b408d8e050420134669070eda@mail.gmail.com> > Cards are numbered in the order you have created them. A new stack > automatically has one card. If you create another card, that will be > card 2. If you use the arrow keys to page through your stack, it will > show the cards in order. You can change the order of the cards if > necessary (though it isn't often done; usually only needed if you decide > you want to add a title card at the front later on.) To change card order: > > set the number of this card to > i.e.: set the number of this card to 1 E. Freaking S. P. I have not been following this thread. I was going to post this question, but for some reason decided to check this thread for some other reason first. Freaking amazing. -- http://taoOfRunRev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From stephenREVOLUTION at barncard.com Wed Apr 20 17:27:21 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 20 Apr 2005 14:27:21 -0700 Subject: CSS Message-ID: Well I do a lot of web work too, and I assure you that CSS is the future and the way large and consistent sites can be reasonably done. What's frustrating is that if a page is constructed in CSS that it is not easily possible to see what the commands do as you don't see the results until it's rendered in a browser or two... Using tables is discouraged today - you can do it better and in a more modular way with CSS. And CSS allows absolute pixel dimensions for better cross platform display. HTML was not designed to be a design protocol, but a way to organize and link information online, in outline form. The font and many other HTML tags are limited and vary depending on platform and browser and shouldn't be used in todays html code. CSS is standard, and is essential for database-driven sites. I had to learn to love it, but I think it's great. And it WOULD be nice to have style sheets in REV if we're going to have html..... sqb >X >What, no Replace in your text editor? >Again, I'm mainly annoyed with the way that people use CSS, and the >fact that people seem to use it for EVERYTHING, not just large >documents, which makes small ones much more difficult to read. > >It's MIKEY, DAMMIT! From revdan at danshafer.com Wed Apr 20 17:58:34 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 20 Apr 2005 14:58:34 -0700 Subject: CSS In-Reply-To: References: Message-ID: <7535d797036bd0d4dba4c0d3ba17b19e@danshafer.com> As the author of a widely read book on CSS -- specifically targeted at the question of how you replace table-driven layouts with CSS -- I must say that I agree with Stephen here. Being annoyed at peoples' use of CSS is kind of futile; it's been decreed as the standard and its huge advantages (principally, I think, the separation of content from presentation and standardization in browsers, which is still not 100% but better than for other approaches) means it is going to be here to stay. I've played around a bit with creating a Rev stack that would read formatted text in Rev apps and create appropriate CSS style sheets to describe the content but given that the support in htmlText is so weak in terms of the totality of HTML and the fact that the content would have to be modified to refer to the style sheet in any case, I haven't seen any real value there beyond the academic satisfaction. On Apr 20, 2005, at 2:27 PM, Stephen Barncard wrote: > Well I do a lot of web work too, and I assure you that CSS is the > future and the way large and consistent sites can be reasonably done. > What's frustrating is that if a page is constructed in CSS that it is > not easily possible to see what the commands do as you don't see the > results until it's rendered in a browser or two... > > Using tables is discouraged today - you can do it better and in a more > modular way with CSS. And CSS allows absolute pixel dimensions for > better cross platform display. HTML was not designed to be a design > protocol, but a way to organize and link information online, in > outline form. The font and many other HTML tags are limited and vary > depending on platform and browser and shouldn't be used in todays html > code. CSS is standard, and is essential for database-driven sites. > > I had to learn to love it, but I think it's great. And it WOULD be > nice to have style sheets in REV if we're going to have html..... > > sqb > > >> X >> What, no Replace in your text editor? >> Again, I'm mainly annoyed with the way that people use CSS, and the >> fact that people seem to use it for EVERYTHING, not just large >> documents, which makes small ones much more difficult to read. >> >> It's MIKEY, DAMMIT! Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From steve at messimercomputing.com Wed Apr 20 18:22:09 2005 From: steve at messimercomputing.com (Stephen Messimer) Date: Wed, 20 Apr 2005 18:22:09 -0400 Subject: EdCzar Message-ID: <4c5b140c6f7bc436b1d0fed8f9c592e8@messimercomputing.com> Hi Judy, I'd be interested to hear as well. In the mean time PreceptorTools is still posted on my website. Its freeware and some folks may find it useful. In fact it might be a useful starting point for a broader discussion concerning what educators and educational developers would find useful. I would certainly be interested in participating in that dialog. Steve Steve Messimer, PA-C Manistique Tribal Health Center From michaell at unimelb.edu.au Wed Apr 20 19:02:43 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Thu, 21 Apr 2005 09:02:43 +1000 Subject: Too little space leads to too many spaces Message-ID: Yesterday I encountered an oddity when I started to work on a Rev project: I started to get repeating space characters in the script editor. When I closed the script the problem seemed to go away, at least until I focused on a field when the spaces reappeared. My keyboard looked fine, and so I switched to another app and there seemed to be no problem... until I clicked in a editable place. I guessed that Rev had gone mad and so I quit it. That didn't fix the problem so I restarted the computer, which did. Today I started the same Rev project and immediately found the same repeating space characters appearing in a field, and in my other apps. Oh no, a Rev bug bites? No!. It turns out that when I started to work with Rev each time I got out my project workbook and put it in front of the keyboard. The book didn't press the space key on that keyboard, but I have a second keyboard behind my monitor simply to act as a USB extender and when I put the workbook in front of my primary keyboard, I was pushing the keyboard back a bit which pushed the monitor back a bit which pushed some CD covers onto the space key of my USB extender keyboard! -- 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 rjb at robelko.com Wed Apr 20 19:29:11 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 21 Apr 2005 01:29:11 +0200 Subject: Alternating rows in a list In-Reply-To: <42668921.9040400@fourthworld.com> References: <5c5e54f082436b9267252fc53467f898@veggio.com> <3ecb809dfcb7baca4aa04513bc6db65d@mindspring.com> <2b6c4fd182255674f0da8a1c04184aaf@veggio.com> <42668921.9040400@fourthworld.com> Message-ID: >Varen Swaab wrote: >>Thanks Gordon but this example makes the text alternate in color >>not the background of the text. I presume that there is no way to >>do this based on other comments here. Table support in htmlText >>would be greatly appreciated. > >You can cast your vote for it here: > > >-- > Richard Gaskin > Fourth World Media Corporation actually or also Robert From capellan2000 at yahoo.com Wed Apr 20 20:50:43 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 20 Apr 2005 17:50:43 -0700 (PDT) Subject: Alternating rows in a list In-Reply-To: <20050420184821.6406B93023D@mail.runrev.com> Message-ID: <20050421005044.13868.qmail@web40504.mail.yahoo.com> on Wed, 20 Apr 2005 Varen Swaab wrote: > I presume that there is no way to do this > based on other comments here. Hi Varen, Check the following messages from the archives. This message thread from march 2003 had for name "iTunes-type alternate colored lines in scrolling list field" Jan Schenkel, Malte Brill and Eric from Thinker Toys posted solutions. In October 2003, Monte Gouldwing posted this stack: al Visit my site: http://www.geocities.com/capellan2000/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jacque at hyperactivesw.com Wed Apr 20 21:28:52 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Apr 2005 20:28:52 -0500 Subject: Simple Scoping Question In-Reply-To: <9b408d8e050420134669070eda@mail.gmail.com> References: <4266BA9D.8040908@hyperactivesw.com> <9b408d8e050420134669070eda@mail.gmail.com> Message-ID: <426701D4.3050108@hyperactivesw.com> On 4/20/05 3:46 PM, Mikey wrote: >>Cards are numbered in the order you have created them. A new stack >>automatically has one card. If you create another card, that will be >>card 2. If you use the arrow keys to page through your stack, it will >>show the cards in order. You can change the order of the cards if >>necessary (though it isn't often done; usually only needed if you decide >>you want to add a title card at the front later on.) To change card order: >> >> set the number of this card to >>i.e.: set the number of this card to 1 > > > E. Freaking S. P. I have not been following this thread. I was going > to post this question, but for some reason decided to check this > thread for some other reason first. Freaking amazing. We try to answer questions here before they've been asked. It saves time and spooks the competition. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Wed Apr 20 23:31:14 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 20 Apr 2005 20:31:14 -0700 (PDT) Subject: EdCzar In-Reply-To: <4c5b140c6f7bc436b1d0fed8f9c592e8@messimercomputing.com> Message-ID: As would I... Judy On Wed, 20 Apr 2005, Stephen Messimer wrote: > Hi Judy, > > I'd be interested to hear as well. > > In the mean time PreceptorTools is still posted on my website. Its > freeware and some folks may find it useful. In fact it might be a > useful starting point for a broader discussion concerning what > educators and educational developers would find useful. > > I would certainly be interested in participating in that dialog. From marisa.kosaisaevee at netgalileo.com Wed Apr 20 23:49:46 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa K.) Date: Thu, 21 Apr 2005 10:49:46 +0700 Subject: Unicode Displaying in Runtime Revolution #2 Message-ID: <426722DA.4020508@netgalileo.com> Hello, I have the question about the unicode again. I want to query data from database, which are unicode. I used the revDataFromQuery function to query data from database. However, the result is "". So, I tried on setting unicodeText property, it turns out "????????" . Also, I tried to save the result of the query as binfile. Still, it didn't work. As, the result from revDataFromQuery already went wrong. Then, I tried on usinng Database Query Builder(from /Tool Menu/) for the hope that it will query data correctly, but it doesn't?!! So, is there a way to query unicode data with or without revDataFromQuery function to make data display correctly? Thank you in advance for any suggestions Marisa From lists at mangomultimedia.com Thu Apr 21 00:31:34 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 20 Apr 2005 21:31:34 -0700 Subject: Unicode Displaying in Runtime Revolution #2 In-Reply-To: <426722DA.4020508@netgalileo.com> References: <426722DA.4020508@netgalileo.com> Message-ID: On Apr 20, 2005, at 8:49 PM, Marisa K. wrote: > > I have the question about the unicode again. I want to query data from > database, which are unicode. I used the revDataFromQuery function to > query data from database. However, the result is "". So, I > tried on setting unicodeText property, it turns out "????????" . > > Also, I tried to save the result of the query as binfile. Still, it > didn't work. As, the result from revDataFromQuery already went wrong. > Then, I tried on usinng Database Query Builder(from /Tool Menu/) for > the hope that it will query data correctly, but it doesn't?!! > > So, is there a way to query unicode data with or without > revDataFromQuery function to make data display correctly? Marisa, I imagine your database is storing the text as UTF8. Revolution fields use UTF16. Setting the field using this: set unicodeText of fld "Unicode" to uniEncode(myDatabaseValue, "UTF8") This should display the characters correctly. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From varen at veggio.com Thu Apr 21 01:00:24 2005 From: varen at veggio.com (Varen Swaab) Date: Wed, 20 Apr 2005 22:00:24 -0700 Subject: Alternating rows in a list In-Reply-To: <20050421005044.13868.qmail@web40504.mail.yahoo.com> References: <20050421005044.13868.qmail@web40504.mail.yahoo.com> Message-ID: <05716bd304ba6c3c5658c962512de54c@veggio.com> Alejandro There were some good ideas in that thread, I'll check them out. Thanks Var On Apr 20, 2005, at 5:50 PM, Alejandro Tejada wrote: > on Wed, 20 Apr 2005 > Varen Swaab wrote: > >> I presume that there is no way to do this >> based on other comments here. > > Hi Varen, > > Check the following messages from the archives. > This message thread from march 2003 had for name > "iTunes-type alternate colored lines in scrolling > list field" > > subject.html#13654> > > Jan Schenkel, Malte Brill and Eric from Thinker Toys > posted solutions. > > In October 2003, Monte Gouldwing posted this stack: > > > > > al > > > > > Visit my site: > http://www.geocities.com/capellan2000/ > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Thu Apr 21 01:09:31 2005 From: katir at hindu.org (Sivakatirswami) Date: Wed, 20 Apr 2005 19:09:31 -1000 Subject: CSS In-Reply-To: References: Message-ID: <5abc1035e572820e6be71fda859628bc@hindu.org> OT but, ("my favorite software rant") WestCiv's Style Master is an outstanding aid to the process of using CSS. You won't get 100 percent preview but it will get you very close... Lots of things you want to see right away, like color etc will be there for you instantly as you edit the CSS without going to your browser. And it has the best CSS editing interface I've seen to date, worth every penny. Style Master now stands next to Revolution, BBedit, Interarchy and Image Ready as top tools to get the web job done pronto. Everytime I try some other integrated tool (GoLive or whatever) I always revert back to this suite for real productivity. And Dan, as an owner of HTML Utopia... I want to thank you... without your book I don't think I could have made the bridge from the Cretan Era to the CSS era. Read I three times cover to cover and still refer to it regularly. WestCiv's Tutorials on CSS also tops in their web-dev self education arena As for the future of CSS and standards... the Acid2Test challenge is on and Safari engineers at least are going for it. Sivakatirswami On Apr 20, 2005, at 11:27 AM, Stephen Barncard wrote: > Well I do a lot of web work too, and I assure you that CSS is the > future and the way large and consistent sites can be reasonably done. > What's frustrating is that if a page is constructed in CSS that it is > not easily possible to see what the commands do as you don't see the > results until it's rendered in a browser or two... > > Using tables is discouraged today - you can do it better and in a more > modular way with CSS. And CSS allows absolute pixel dimensions for > better cross platform display. HTML was not designed to be a design > protocol, but a way to organize and link information online, in > outline form. The font and many other HTML tags are limited and vary > depending on platform and browser and shouldn't be used in todays html > code. CSS is standard, and is essential for database-driven sites. > > I had to learn to love it, but I think it's great. And it WOULD be > nice to have style sheets in REV if we're going to have html..... > > sqb > > >> X >> What, no Replace in your text editor? >> Again, I'm mainly annoyed with the way that people use CSS, and the >> fact that people seem to use it for EVERYTHING, not just large >> documents, which makes small ones much more difficult to read. >> >> It's MIKEY, DAMMIT! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kaveh at river-valley.com Thu Apr 21 01:26:22 2005 From: kaveh at river-valley.com (Kaveh Bazargan) Date: Thu, 21 Apr 2005 10:56:22 +0530 Subject: Globals confusion In-Reply-To: References: <08dc349b81ec0fdd9379900b32d0b873@mac.com> Message-ID: I have a list of globals at the top of my script, which is assigned to the one card in my stack. I want these globals to be available, and defined, when a script has run. In other words, if a value has been given to myVar, then I want that value to be given when I type put myVar in the message box. What happens now, is that some of these values are retained, and some are not. I can't understand what determines which variables retain their value. I am missing something fundamental. Any guidance appreciated. -- Kaveh Bazargan http://www.river-valley.com/ http://www.holographer.org/ From marisa.kosaisaevee at netgalileo.com Thu Apr 21 01:30:14 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa K.) Date: Thu, 21 Apr 2005 12:30:14 +0700 Subject: Unicode Displaying in Runtime Revolution #2 In-Reply-To: References: <426722DA.4020508@netgalileo.com> Message-ID: <42673A66.6010806@netgalileo.com> Hi Trevor, Thank you agian for your suggestion. You are right about the database of UTF-8. :-) However, I've tried on that, too, but the result is the same!! I wrote script as: on openCard global tID set the unicodeText of fld testDB to uniEncode( revDataFromQuery (, return, tID, "SELECT cityLocalName FROM POSTAL_CODE_TABLE"),"utf8") end openCard Am I doing sth wrong with the script? Also, I used to try on ; put revDataFromQuery (, return, tID, "SELECT cityLocalName FROM POSTAL_CODE_TABLE") into tCityThai set the unicodeText of fld TestDB to uniEncode (tCityThai, "utf8") The result is the same! Then, i thought 'binfile' may help. So, I saved the result from revDataFromQuery directly as binfile. However, when I open it, the result was wrong. Anyway, I tried to put its content to field with unicodeText settings and uniEncode. put revDataFromQuery (, return, tID, "SELECT cityLocalName FROM POSTAL_CODE_TABLE") into URL "binfile: tCityThai.txt" set the unicodeText of fld TestDB to uniEncode(URL "binfile: tCityThai.txt", "utf8") The result is the same, too. Any suggestions? Regards, Marisa Trevor DeVore wrote: > Marisa, > > I imagine your database is storing the text as UTF8. Revolution > fields use UTF16. Setting the field using this: > > set unicodeText of fld "Unicode" to uniEncode(myDatabaseValue, "UTF8") > > This should display the characters correctly. > > From xbury.cs at clearstream.com Thu Apr 21 02:28:43 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 21 Apr 2005 08:28:43 +0200 Subject: Globals confusion Message-ID: make a little handler in your stack that says on putGlobal what do "global" && what do "put" && what end putGlobal That should help. You can also put the stack "inuse" (via the msg box appropriate section) so it's always available... cheers Xavier On 21.04.2005 07:26:22 use-revolution-bounces wrote: >I have a list of globals at the top of my script, which is assigned to the >one card in my stack. I want these globals to be available, and defined, >when a script has run. In other words, if a value has been given to myVar, >then I want that value to be given when I type > >put myVar > >in the message box. > >What happens now, is that some of these values are retained, and some are >not. I can't understand what determines which variables retain their value. > >I am missing something fundamental. Any guidance appreciated. ----------------------------------------- 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 kaveh at river-valley.com Thu Apr 21 03:06:40 2005 From: kaveh at river-valley.com (Kaveh Bazargan) Date: Thu, 21 Apr 2005 12:36:40 +0530 Subject: Globals confusion In-Reply-To: References: Message-ID: At 8:28 am +0200 21/4/05, xbury.cs at clearstream.com wrote: >make a little handler in your stack that says > >on putGlobal what > do "global" && what > do "put" && what >end putGlobal > >That should help. Certainly does. This is what I was missing. At any point I can make a variable global, then access it. So the variable is there, but not accessible till I make it global. Thanks. :-) -- Kaveh Bazargan http://www.river-valley.com/ http://www.holographer.org/ From alex at harryscollar.com Thu Apr 21 05:53:28 2005 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 21 Apr 2005 19:53:28 +1000 Subject: OT: Adobe kills Director In-Reply-To: <20050420231537.F094C93017E@mail.runrev.com> References: <20050420231537.F094C93017E@mail.runrev.com> Message-ID: <42677818.1010905@harryscollar.com> hi usually try not to get to caught up in these sort of things but i saw this quote from a ex-Macromedia worker (unconfirmed) on slashdot.. "Adobe will kill off Director within 3 years." Good thing the revolution has all ready started :) regards alex From ambassador at fourthworld.com Thu Apr 21 06:06:13 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2005 03:06:13 -0700 Subject: OT: Adobe kills Director In-Reply-To: <42677818.1010905@harryscollar.com> References: <20050420231537.F094C93017E@mail.runrev.com> <42677818.1010905@harryscollar.com> Message-ID: <42677B15.2040000@fourthworld.com> Alex Shaw wrote: > usually try not to get to caught up in these sort of things but i saw > this quote from a ex-Macromedia worker (unconfirmed) on slashdot.. > > "Adobe will kill off Director within 3 years." But Macromedia was likely to kill it off themselves in 3 or 4 years anyway. Think about it: With Flash getting ever more powerful by leaps and bounds eachc year, in three years' time there would have been too much overlap in features to warrant keeping both going as competing products. Yep, we can expect lots of FUD in the coming months.... (Macrobe can shoot themselves in the foot for all I care, but if they harm Fireworks I'll make such a scene at the shareholders' meeting you folks may read about it in the papers ) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dburgun at dsl.pipex.com Thu Apr 21 07:07:06 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 21 Apr 2005 12:07:06 +0100 Subject: Thanks! Was Simple Scoping Question In-Reply-To: References: Message-ID: Hi, I would just like to say thanks to everyone that helped me resolve this problem! It is obviosuly FUNDAMENTAL to the whole RunRev experience, but I had missed it. I have had the IDE crashing all over the place and all kinds of weird behavour for ages, now that I've fixed the the whole RunRev exxperience is MUCH more pleasant. There really does need to be some better documentation for RunRev, I was really walking in the dark when I was trying to get this to work. Maybe there is some but I just can't find it. Another problem is the error reporting, sometimes script errors cause the IDE to hang with the error window NOT displayed. The only way out of this is to quit the IDE, which flashes ALL the error boxes up on the screen then quits before you can see where the error is! Without this list I would have still been at it and probably wouldn't have come up with as good a solution. Thanks again and All the Best Dave >Recently, David Burgun wrote: > >> I hadn't realized that the openStack handler gets called when doing a > > Save. What is the recommended action for handle this > > I could do one of three things: >> >> 1. Check if myStackFileName is empty and if so skip the "start uisng" >> 2. Check the Stack Name for "revSaving" and if so skip the "start uisng" >> 3. Check if in "development" moce and if so skip the "start uisng" >> >> I suppose I need similar tests in preOpenStack and closeStack? >> >> Can anyone tell me the best thing to do under this condition? > >If your openStack handler is only supposed to apply to your main stack, then >place the openStack handler in the script of the *first card* of your main >stack (this goes for any initialization handlers since they are only called >when the first card is opened). Any subsequent opening/closing of stacks >will not trigger the init handler/s. > >If your openStack handler must apply to any substacks of your main stack, >you can do as you suggest above: check the stack's name, for development >mode, etc. > >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 Signe.Sanne at roman.uib.no Thu Apr 21 07:08:23 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Thu, 21 Apr 2005 13:08:23 +0200 Subject: playing video on PCs In-Reply-To: <42660A95.3000205@roman.uib.no> References: <42660A95.3000205@roman.uib.no> Message-ID: <426789A7.8010606@roman.uib.no> Signe Marie Sanne skrev: > sims skrev: > >> I need to play video on both OS X and Windows machines which will >> for the most part be business computers - corporate office machines. >> >> The Mac part I can figure out and will be able to use QuickTime. >> >> Some PC machines will not have QuickTime installed and will not want >> to install QT. I need some advice on what format/codec to use for >> these non-QT machines. > > > Hello Sims > Just mail me off the list if you would like to get a small stack showing > how to play mpeg files with mciSendString. Any others are also welcome > to do the same. The stack is not fully overhauled to go RevOnLine, but > it contains the necessary scripts to get started. I just uploaded the stack "mciMpegVideo" to RevOnLine. It can be found either in User spaces under "sms", or under Programming. If anyone finds out how to avoid flickering in closeVideo, I would be grateful to get the scripts. -- Signe Marie Sanne 1. amanuensis/Senior lecturer Romansk institutt Tlf. +47 55 58 21 27 ?isteins gt. 1 Epost: signe.sanne at roman.uib.no Universitetet i Bergen http://www.hf.uib.no/hfolk/mlab/Info/sms.html From sims at ezpzapps.com Thu Apr 21 08:16:21 2005 From: sims at ezpzapps.com (sims) Date: Thu, 21 Apr 2005 14:16:21 +0200 Subject: playing video on PCs In-Reply-To: <426789A7.8010606@roman.uib.no> References: <42660A95.3000205@roman.uib.no> <426789A7.8010606@roman.uib.no> Message-ID: At 1:08 PM +0200 4/21/05, Signe Marie Sanne wrote: >I just uploaded the stack "mciMpegVideo" to RevOnLine. It can be >found either in User spaces under "sms", or under Programming. If >anyone finds out how to avoid flickering in closeVideo, I would be >grateful to get the scripts. > >-- >Signe Marie Sanne Many thanks for doing this! Grazzi hafna, sims From klaus at major-k.de Thu Apr 21 08:29:51 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 21 Apr 2005 14:29:51 +0200 Subject: playing video on PCs In-Reply-To: References: <42660A95.3000205@roman.uib.no> <426789A7.8010606@roman.uib.no> Message-ID: <5685b3c0faad5ea696cf4f4610ea3cb7@major-k.de> Hi Marie, > At 1:08 PM +0200 4/21/05, Signe Marie Sanne wrote: >> I just uploaded the stack "mciMpegVideo" to RevOnLine. It can be >> found either in User spaces under "sms", or under Programming. If >> anyone finds out how to avoid flickering in closeVideo, I would be >> grateful to get the scripts. >> >> -- >> Signe Marie Sanne > > Many thanks for doing this! Yeah, great stack, thanks a lot! This does indeed shed some light on the (for me) mysterious mciSendString stuff... :-) > Grazzi hafna, > sims Best from germany Klaus Major klaus at major-k.de http://www.major-k.de From xbury.cs at clearstream.com Thu Apr 21 08:42:40 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 21 Apr 2005 14:42:40 +0200 Subject: playing video on PCs Message-ID: Klaus, >This does indeed shed some light on the (for me) mysterious >mciSendString stuff... :-) I just [re-]discovered yesterday that there's a full mcistring tutorial in the metacard tools. MCtools stack -> Tools Menu -> Last item -> Tools.metacard.com and click on the mci demo... cheers Xavier ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From klaus at major-k.de Thu Apr 21 08:48:55 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 21 Apr 2005 14:48:55 +0200 Subject: playing video on PCs In-Reply-To: References: Message-ID: Hi Xavier, > Klaus, > >> This does indeed shed some light on the (for me) mysterious >> mciSendString stuff... :-) > > I just [re-]discovered yesterday that there's a full mcistring > tutorial in > the > metacard tools. MCtools stack -> Tools Menu -> Last item -> > Tools.metacard.com > and click on the mci demo... tell me something new! ;-) As you might have guessed, i knew this one already, but cannot say that it does shed much light on the (for me still) mysterious mciSendString stuff... :-) OK, i could open and close my cd tray after reading through this, which is almost "magic", for sure :-D > cheers > Xavier Regards Klaus Major klaus at major-k.de http://www.major-k.de From xbury.cs at clearstream.com Thu Apr 21 09:09:03 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 21 Apr 2005 15:09:03 +0200 Subject: playing video on PCs Message-ID: Na Klaus, Sorry to hear that! ;) I thought I had found the "right" stuff ;) I'll send you what I find as I find it. Sorry if it's obsolete news ;) Why is it that the programmers that implement this cannot document it or make it clear for the users I wonder? cheerios Xavier On 21.04.2005 14:48:55 use-revolution-bounces wrote: >Hi Xavier, > >> Klaus, >> >>> This does indeed shed some light on the (for me) mysterious >>> mciSendString stuff... :-) >> >> I just [re-]discovered yesterday that there's a full mcistring >> tutorial in >> the >> metacard tools. MCtools stack -> Tools Menu -> Last item -> >> Tools.metacard.com >> and click on the mci demo... > >tell me something new! ;-) > >As you might have guessed, i knew this one already, but cannot say that >it does >shed much light on the (for me still) mysterious mciSendString stuff... >:-) > >OK, i could open and close my cd tray after reading through this, which >is >almost "magic", for sure :-D > >> cheers >> Xavier > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From fde101 at fjrhome.net Thu Apr 21 09:23:13 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 21 Apr 2005 09:23:13 -0400 Subject: Simple Scoping Question In-Reply-To: <426701D4.3050108@hyperactivesw.com> References: <4266BA9D.8040908@hyperactivesw.com> <9b408d8e050420134669070eda@mail.gmail.com> <426701D4.3050108@hyperactivesw.com> Message-ID: <700929415528266e73d7f986f96dea9a@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Now if only more people would read the archives *before* posting the questions, the list would have more answers to fewer questions (allowing time for things to catch up...) On Apr 20, 2005, at 9:28 PM, J. Landman Gay wrote: > We try to answer questions here before they've been asked. It saves > time and spooks the competition. ;) - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZ6lC7aqtWrR9cZoRAvA7AJ9H8U4X1LRJiHhUWtdpWITZSCdOPQCdGorv XPvRC1RMLqGfUjFcJqLO+zU= =+Sof -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From klaus at major-k.de Thu Apr 21 10:14:47 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 21 Apr 2005 16:14:47 +0200 Subject: playing video on PCs In-Reply-To: References: Message-ID: <50058df4cd7f95bda153b39cc41a1bec@major-k.de> Hi X, > Na Klaus, > > Sorry to hear that! ;) > I thought I had found the "right" stuff ;) > I'll send you what I find as I find it. Sorry if it's obsolete news ;) Don't worry, it's the thought that counts... ;-) > Why is it that the programmers that implement this cannot document it > or make it clear for the users I wonder? Well they are definitvely lacking a "Jeanne"!!! :-) It could have been worse, actually... (Anyone ever tried the "rsa demo stack" in Revonline from a certain "tuvman"? ;-) > cheerios > Xavier Best Klaus Major klaus at major-k.de http://www.major-k.de From mark at maseurope.net Thu Apr 21 10:43:40 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 21 Apr 2005 15:43:40 +0100 Subject: General approach question In-Reply-To: <20050421132242.8E9CC9300BB@mail.runrev.com> References: <20050421132242.8E9CC9300BB@mail.runrev.com> Message-ID: Here's a question, as much philosophical as practical, and I wonder what the list makes of it. I have an app for keeping track of stock and futures trades. The data is effectively a list of days, each day containing a list of open trades, one per line, with the details as items in each line. Currently, I have this data in an array, with the keys being the date of each day, and each element containing that day's open trades. I store the array in a custom property set. This all works perfectly well, so I'm not about to change it, but I can't help feeling that this is not a particularly 'natural' way to do it in Rev. My background is in Hypercard, and I would always have done this by having a stack with a card for each day, rather than using arrays and custom property sets. I'm wondering if I chose the approach I did simply because as a non-professional, I perceived that approach as being more like what a pro would do, when perhaps the multiple-cards approach would be more 'natural' in Rev. I'm pretty sure that having a card for each day (approx. 260 trading days per annum) would carry a pretty small memory overhead, and searching and sorting always seems to be pretty quick using cards...and it would be using the native architecture of a Rev stack. I'd be interested to know how people here are making these choices. Cheers, Mark Smith From mikeythek at gmail.com Thu Apr 21 10:54:12 2005 From: mikeythek at gmail.com (Mikey) Date: Thu, 21 Apr 2005 10:54:12 -0400 Subject: Simple Scoping Question In-Reply-To: <700929415528266e73d7f986f96dea9a@fjrhome.net> References: <4266BA9D.8040908@hyperactivesw.com> <9b408d8e050420134669070eda@mail.gmail.com> <426701D4.3050108@hyperactivesw.com> <700929415528266e73d7f986f96dea9a@fjrhome.net> Message-ID: <9b408d8e0504210754ffd5fb@mail.gmail.com> The problem with the archives is that a) responses here are very fast (in other words, y'all make it easy), and the culture is permissive b) Honestly, the archive search tools are not as easy to use c) Most of the responses are not so complicated as to discourage the responders from telling the noobs to RTFA and d) The lack of manuals means that most of the issues are from noobs, who don't know about the archives, or aren't used to using them before asking questions first. In the 4D community we have a tool called Monkeywerks, which is very easy to use, and returns results quickly and completely, with excerpts. In addition, most of the repeat issues are complex, and thus the monkey gets referrals. -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Thu Apr 21 10:56:56 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 21 Apr 2005 07:56:56 -0700 Subject: Unicode Displaying in Runtime Revolution #2 In-Reply-To: <42673A66.6010806@netgalileo.com> References: <426722DA.4020508@netgalileo.com> <42673A66.6010806@netgalileo.com> Message-ID: <0c8772298bf225e15ebc498f246f9900@mangomultimedia.com> On Apr 20, 2005, at 10:30 PM, Marisa K. wrote: > Hi Trevor, > > Thank you agian for your suggestion. You are right about the database > of UTF-8. :-) > > However, I've tried on that, too, but the result is the same!! > > I wrote script as: > > on openCard > global tID > set the unicodeText of fld testDB to uniEncode( revDataFromQuery (, > return, tID, "SELECT cityLocalName FROM POSTAL_CODE_TABLE"),"utf8") > end openCard > > Am I doing sth wrong with the script? Also, I used to try on ; Hmm, this worked in a test I did last night using MySQL on some UTF8 encoded data. The only difference is that I used cursors (revQueryDatabase and revDatabaseColumnNamed). Perhaps try that and see if it changes results at all. I'm not sure why it would but you never know. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From mikeythek at gmail.com Thu Apr 21 11:25:53 2005 From: mikeythek at gmail.com (Mikey) Date: Thu, 21 Apr 2005 11:25:53 -0400 Subject: General approach question In-Reply-To: References: <20050421132242.8E9CC9300BB@mail.runrev.com> Message-ID: <9b408d8e05042108253ce74b83@mail.gmail.com> It's the beauty of RR and SC and HC before it - the language lets you do things a zillion different ways, and the environment lets you do things a zillion different ways, too. If the volume of trades that you are tracking isn't enormous, then who cares? Do what's easy. Don't think of a stack as a database, think of it however you want to. Personally I would probably put one trade per card, but that's just me. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From carambola at aliceposta.it Thu Apr 21 11:30:22 2005 From: carambola at aliceposta.it (paolo) Date: Thu, 21 Apr 2005 17:30:22 +0200 Subject: replaceText in Rev cgi In-Reply-To: <42601983.73B74C72@Club-Internet.fr> Message-ID: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> Hi JB may I ask you where did you get a rev 2.5 engine cgi Linux? I thought there was only the rev 2.0 engine cgi available.... is there a new engine cgi also for mac and windows? I should install the cgi rev engine on a FirstClass server. In MACOX it works fine ... I put the engine on the cgi-bin folder and tht's it! However it does not work on Windows XP. I got " HTTP InternalError 500 from the browser" when I tried to run an Hello World script. Any suggestions? Paolo Mazza Venerd?, 15 Apr 2005, alle 21:44 Europe/Rome, jbv ha scritto: > Hi all, > > I just noticed that the replaceText function doesn't > work in Rev 2.5 cgi Linux... > Is there a rational explanation to this ? Is that because the engine has not the Revolution GUI and commands that address the GUI will error? > > PS : I just finished a cgi script that generates on the fly > PDF files (from 1 to 30 pages) with complex layouts > featuring data from a MySQL DB, and it takes less than > a fraction of a second... I'm so happy... :-) > > Actually rev cgi is great .. I have benn using for a while on Linux servers. From mikeythek at gmail.com Thu Apr 21 11:30:35 2005 From: mikeythek at gmail.com (Mikey) Date: Thu, 21 Apr 2005 11:30:35 -0400 Subject: OT: Adobe kills Director In-Reply-To: <42677B15.2040000@fourthworld.com> References: <20050420231537.F094C93017E@mail.runrev.com> <42677B15.2040000@fourthworld.com> Message-ID: <9b408d8e050421083046c97d69@mail.gmail.com> I'm with you, Richrad. Who cares? Director is old and redundant. It hasn't been innovative in quite a while. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From fde101 at fjrhome.net Thu Apr 21 12:44:42 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 21 Apr 2005 12:44:42 -0400 Subject: replaceText in Rev cgi In-Reply-To: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> References: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 2.5 has *been* out for Linux. It's the other *NIX platforms where Rev has been coming up short -- BSD, Solaris, Irix, etc. On Apr 21, 2005, at 11:30 AM, paolo wrote: > Hi JB > may I ask you where did you get a rev 2.5 engine cgi Linux? > I thought there was only the rev 2.0 engine cgi available.... is there > a new engine cgi also for mac and windows? > > I should install the cgi rev engine on a FirstClass server. In MACOX > it works fine ... I put the engine on the cgi-bin folder and tht's > it! However it does not work on Windows XP. > I got " HTTP InternalError 500 from the browser" when I tried to run > an Hello World script. > Any suggestions? > > Paolo Mazza > > > Venerd?, 15 Apr 2005, alle 21:44 Europe/Rome, jbv ha scritto: > >> Hi all, >> >> I just noticed that the replaceText function doesn't >> work in Rev 2.5 cgi Linux... >> Is there a rational explanation to this ? > > Is that because the engine has not the Revolution GUI and commands > that address the GUI will error? > >> >> PS : I just finished a cgi script that generates on the fly >> PDF files (from 1 to 30 pages) with complex layouts >> featuring data from a MySQL DB, and it takes less than >> a fraction of a second... I'm so happy... :-) >> >> > > Actually rev cgi is great .. I have benn using for a while on Linux > servers. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCZ9h77aqtWrR9cZoRAhk9AKCHX75e4hXleif6xZsYBniEynYoEQCght/v A+Y9hgr1cwacxlRJ6Y1DuDQ= =y6mh -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From see3d at writeme.com Thu Apr 21 13:17:38 2005 From: see3d at writeme.com (Dennis Brown) Date: Thu, 21 Apr 2005 13:17:38 -0400 Subject: Slider thumbPosition crazy values In-Reply-To: References: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> Message-ID: <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> I am really baffled debugging what should be a non-problem, but I must be missing something basic. I was trying to debud why my script would not work and I worked it down to this symptom. I made two sliders that go from 1 to 44, increment 1, show value. The first one "startQ" works as expected. The second one "endQ" behaves in a strange way. put the thumbPosition of scrollbar "startQ" into SQ --starting quarter put the thumbPosition of scrollbar "endQ" into EQ --ending quarter put SQ && EQ -- displays 2 2 put SQ +0 && EQ +0 -- displays 2 1.9375 every click on the first slider advances the thumbPosition by 1 every click on the second slider advances the thumbPosition by 0.9375, but displays as an integer. I made the second slider by copy/paste the first slider. Then I tried deleting that slider and dragging a fresh slider to the card to make the second one, but it still acts the same. I checked every inspector basic parameter, and both are identical. What is going on????? Dennis From userev at canelasoftware.com Thu Apr 21 13:38:56 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 21 Apr 2005 10:38:56 -0700 Subject: Slider thumbPosition crazy values In-Reply-To: <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> References: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> Message-ID: <609e078dbd3a7a6188c61c35cd78b99c@canelasoftware.com> On Apr 21, 2005, at 10:17 AM, Dennis Brown wrote: > I am really baffled debugging what should be a non-problem, but I must > be missing something basic. I was trying to debud why my script would > not work and I worked it down to this symptom. > > I made two sliders that go from 1 to 44, increment 1, show value. The > first one "startQ" works as expected. The second one "endQ" behaves > in a strange way. > > put the thumbPosition of scrollbar "startQ" into SQ --starting > quarter > put the thumbPosition of scrollbar "endQ" into EQ --ending quarter > put SQ && EQ -- displays 2 2 > put SQ +0 && EQ +0 -- displays 2 1.9375 > > every click on the first slider advances the thumbPosition by 1 > every click on the second slider advances the thumbPosition by 0.9375, > but displays as an integer. > > I made the second slider by copy/paste the first slider. Then I tried > deleting that slider and dragging a fresh slider to the card to make > the second one, but it still acts the same. I checked every inspector > basic parameter, and both are identical. > > What is going on????? > Hi Dennis, I just tried you situation and all behaved as it should. Give this a try and see what happens. I did the following in the scroll bar scripts: --SCROLLBAR ONE on scrollbarDrag lValue global SQ put lValue into SQ end scrollbarDrag --SCROLLBAR TWO on scrollbarDrag lValue global EQ put lValue into EQ end scrollbarDrag --IN A BUTTON on mouseUp global SQ, EQ put (SQ+0) && (EQ+0) end mouseUp Mark Talluto -- CANELA Software http://www.canelasoftware.com From see3d at writeme.com Thu Apr 21 13:54:24 2005 From: see3d at writeme.com (Dennis Brown) Date: Thu, 21 Apr 2005 13:54:24 -0400 Subject: Slider thumbPosition crazy values In-Reply-To: <609e078dbd3a7a6188c61c35cd78b99c@canelasoftware.com> References: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> <609e078dbd3a7a6188c61c35cd78b99c@canelasoftware.com> Message-ID: Thanks Mark, I also just "fixed" the problem by putting a script into the sliders (slider 1 also started generating crazy values the more I tested it). on mouseup set thumbPosition of me to round( thumbposition of me) end mouseup So I can fix it, but it still doesn't explain why I should have to fix it. Dennis On Apr 21, 2005, at 1:38 PM, Mark Talluto wrote: > > On Apr 21, 2005, at 10:17 AM, Dennis Brown wrote: > >> I am really baffled debugging what should be a non-problem, but I >> must be missing something basic. I was trying to debud why my script >> would not work and I worked it down to this symptom. >> >> I made two sliders that go from 1 to 44, increment 1, show value. >> The first one "startQ" works as expected. The second one "endQ" >> behaves in a strange way. >> >> put the thumbPosition of scrollbar "startQ" into SQ --starting >> quarter >> put the thumbPosition of scrollbar "endQ" into EQ --ending quarter >> put SQ && EQ -- displays 2 2 >> put SQ +0 && EQ +0 -- displays 2 1.9375 >> >> every click on the first slider advances the thumbPosition by 1 >> every click on the second slider advances the thumbPosition by >> 0.9375, but displays as an integer. >> >> I made the second slider by copy/paste the first slider. Then I >> tried deleting that slider and dragging a fresh slider to the card to >> make the second one, but it still acts the same. I checked every >> inspector basic parameter, and both are identical. >> >> What is going on????? >> > > > Hi Dennis, > > I just tried you situation and all behaved as it should. Give this a > try and see what happens. I did the following in the scroll bar > scripts: > > --SCROLLBAR ONE > on scrollbarDrag lValue > global SQ > put lValue into SQ > end scrollbarDrag > > > --SCROLLBAR TWO > on scrollbarDrag lValue > global EQ > put lValue into EQ > end scrollbarDrag > > > --IN A BUTTON > on mouseUp > global SQ, EQ > put (SQ+0) && (EQ+0) > end mouseUp > > > > Mark Talluto > -- > CANELA Software > http://www.canelasoftware.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Thu Apr 21 13:59:25 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 21 Apr 2005 19:59:25 +0200 Subject: Slider thumbPosition crazy values In-Reply-To: <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> References: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> Message-ID: <95c104322bf4d8cfd9a20a7197c15958@sosmartsoftware.com> Hi Dennis, Your problem is with the numberFormat property: By default, the numberFormat property is set to 0.######. BUT (see the docs) the numberFormat of newly created scrollbars is set to empty. So you have a scrollbar whose behaviour accords with default numberFormat value and another with scrollbars default numberFormat values. And the current numberformat value is applied when you perform any calculation (addition in your case). Le 21 avr. 05, ? 19:17, Dennis Brown a ?crit : > I am really baffled debugging what should be a non-problem, but I must > be missing something basic. I was trying to debud why my script would > not work and I worked it down to this symptom. > > I made two sliders that go from 1 to 44, increment 1, show value. The > first one "startQ" works as expected. The second one "endQ" behaves > in a strange way. > > put the thumbPosition of scrollbar "startQ" into SQ --starting > quarter > put the thumbPosition of scrollbar "endQ" into EQ --ending quarter > put SQ && EQ -- displays 2 2 > put SQ +0 && EQ +0 -- displays 2 1.9375 > > every click on the first slider advances the thumbPosition by 1 > every click on the second slider advances the thumbPosition by 0.9375, > but displays as an integer. > > I made the second slider by copy/paste the first slider. Then I tried > deleting that slider and dragging a fresh slider to the card to make > the second one, but it still acts the same. I checked every inspector > basic parameter, and both are identical. > > What is going on????? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revdan at danshafer.com Thu Apr 21 13:59:51 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 21 Apr 2005 10:59:51 -0700 Subject: CSS In-Reply-To: <5abc1035e572820e6be71fda859628bc@hindu.org> References: <5abc1035e572820e6be71fda859628bc@hindu.org> Message-ID: <451844eb90a63802a1e98b3fb1649a20@danshafer.com> Thanks for the kind words. Reviewers seem to be very hot or very cold on it. you've read it once more than I have! On Apr 20, 2005, at 10:09 PM, Sivakatirswami wrote: > And Dan, as an owner of HTML Utopia... I want to thank you... without > your book I don't think I could have made the bridge from the Cretan > Era to the CSS era. Read I three times cover to cover and still refer > to it regularly. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From userev at canelasoftware.com Thu Apr 21 14:14:42 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 21 Apr 2005 11:14:42 -0700 Subject: Slider thumbPosition crazy values In-Reply-To: References: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> <609e078dbd3a7a6188c61c35cd78b99c@canelasoftware.com> Message-ID: <99510943fcbc635e5fb187c4baf3e84b@canelasoftware.com> On Apr 21, 2005, at 10:54 AM, Dennis Brown wrote: > Thanks Mark, > > I also just "fixed" the problem by putting a script into the sliders > (slider 1 also started generating crazy values the more I tested it). > > on mouseup > set thumbPosition of me to round( thumbposition of me) > end mouseup > > So I can fix it, but it still doesn't explain why I should have to fix > it. > I just tried: put round(SQ+0) && round(EQ+0) as well and it worked. I thought it might have something to do with the numberFormat property, but found that the slider still added up with decimals at times. Maybe the slider's internal value is super accurate while it does rounding to the nearest whole number visually. Mark Talluto -- CANELA Software http://www.canelasoftware.com From see3d at writeme.com Thu Apr 21 15:08:46 2005 From: see3d at writeme.com (Dennis Brown) Date: Thu, 21 Apr 2005 15:08:46 -0400 Subject: Slider thumbPosition crazy values In-Reply-To: <95c104322bf4d8cfd9a20a7197c15958@sosmartsoftware.com> References: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> <95c104322bf4d8cfd9a20a7197c15958@sosmartsoftware.com> Message-ID: <8c3438811e427a8253c1ef0213102101@writeme.com> Thanks Eric, Setting the Value Format for the slider let me see that the slider does not increase in unit values of the scale marker even though the scroll distance on bar click is set to 1. I guess the units were close because of the sizing I applied to the object so that it appeared that it was advancing by 1. In the Variable watcher it said the value of SQ was 3, but if SQ=3 statement would evaluate false --I got real confused. Got to watch out for that property with scrollbars. Dennis On Apr 21, 2005, at 1:59 PM, Eric Chatonet wrote: > Hi Dennis, > > Your problem is with the numberFormat property: > By default, the numberFormat property is set to 0.######. > BUT (see the docs) the numberFormat of newly created scrollbars is set > to empty. > So you have a scrollbar whose behaviour accords with default > numberFormat value and another with scrollbars default numberFormat > values. > And the current numberformat value is applied when you perform any > calculation (addition in your case). > > Le 21 avr. 05, ? 19:17, Dennis Brown a ?crit : > >> I am really baffled debugging what should be a non-problem, but I >> must be missing something basic. I was trying to debud why my script >> would not work and I worked it down to this symptom. >> >> I made two sliders that go from 1 to 44, increment 1, show value. >> The first one "startQ" works as expected. The second one "endQ" >> behaves in a strange way. >> >> put the thumbPosition of scrollbar "startQ" into SQ --starting >> quarter >> put the thumbPosition of scrollbar "endQ" into EQ --ending quarter >> put SQ && EQ -- displays 2 2 >> put SQ +0 && EQ +0 -- displays 2 1.9375 >> >> every click on the first slider advances the thumbPosition by 1 >> every click on the second slider advances the thumbPosition by >> 0.9375, but displays as an integer. >> >> I made the second slider by copy/paste the first slider. Then I >> tried deleting that slider and dragging a fresh slider to the card to >> make the second one, but it still acts the same. I checked every >> inspector basic parameter, and both are identical. >> >> What is going on????? > > Amicalement, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Thu Apr 21 15:29:23 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 21 Apr 2005 20:29:23 +0100 Subject: closeStackRequest and closeStack problems In-Reply-To: <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> References: <46B1003E-B27A-11D9-AA0F-000393680A94@aliceposta.it> <4ffc0b83e5723b1785fd3d05677b6366@writeme.com> Message-ID: Hi, I have the following scripts in CARD script of Card 1 - this is to avoid problems when doing saves etc. in the IDE. If I run the Stack, click the dirty button and then click the window close box, I get the following events: closeStackRequest closeStack And it saves as Planned - ALWAYS!!!! If I run the Stack, click the dirty button and then click the OK button, I ge the following events: closeStack the FIRST time I run it from an IDE reload. If I re-open the Stack, click the Dirty button and then the OK button I do NOT get the closeStack message! But the Stack closes. Is this something to do with having the Handlers in the Card Script rather than the Stack Script? Does anyone know how to get around this problem or what I am doing wrong? Thanks a lot Dave open openStack set the destroyStack of this stack to true set cpStackSaved of this stack = false set cpStackDirty of this stack = false set cpStackSaveStack of this stack = true end openStack on closeStack if cpStackSaved of this stack = false then if cpStackDirty of this stack = true then save this stack set the cpStackSaved of this stack to true set the cpStackDirty of this stack to false end if end if end closeStack on closeStackRequest if cpStackSaveStack of this stack = false then if cpStackDirty of this stack = true then answer "Save this Stack?" with "No" or "Yes" if it is "Yes" then set the cpStackSaved of this stack to true set the cpStackDirty of this stack to false end if end if end if pass closeStackRequest end closeStackRequest and this script on an OK button on mouseUp close this stack end mouseUp and on a "Dirty" Button set cpStackDirty of this stack it true on mouseUp set the From public at veggio.com Thu Apr 21 15:29:44 2005 From: public at veggio.com (Varen Swaab) Date: Thu, 21 Apr 2005 12:29:44 -0700 Subject: New substacks are black Message-ID: <5c0024c690ed4673ac53ef3e8f29089e@veggio.com> Hi all, Here is a problem that is probably something really stupid that I'm doing, just can't figure out what. In my application when I create a new substack the window comes up black. There is no color property in the inspector, the window is just black. I can change the color of the window by adding a color property but it seems it shouldn't open black in the first place. Probably related, I've noticed that whenever I have a dialog window open it also is in black. Any help would be appreciated. Var From fde101 at fjrhome.net Thu Apr 21 15:49:26 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 21 Apr 2005 15:49:26 -0400 Subject: New substacks are black In-Reply-To: <5c0024c690ed4673ac53ef3e8f29089e@veggio.com> References: <5c0024c690ed4673ac53ef3e8f29089e@veggio.com> Message-ID: <9d179b12b421790ac87cc013e762dca1@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Okay, sounds like the background color of the main stack is black. This is inherited by the substacks (and thus the dialog boxes) of that stack unless you explicitly specify a background color of the substacks. On Apr 21, 2005, at 3:29 PM, Varen Swaab wrote: > Hi all, > > Here is a problem that is probably something really stupid that I'm > doing, just can't figure out what. > > In my application when I create a new substack the window comes up > black. There is no color property in the inspector, the window is just > black. I can change the color of the window by adding a color property > but it seems it shouldn't open black in the first place. > > Probably related, I've noticed that whenever I have a dialog window > open it also is in black. > > Any help would be appreciated. > > Var > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCaAPG7aqtWrR9cZoRAolbAJ9etO8QE42Z5i9doiF9TE6H8zHpGwCeJGw6 xsYQRy9sAaZ7eKkYEPHVack= =tN75 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From devin_asay at byu.edu Thu Apr 21 16:07:24 2005 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 21 Apr 2005 14:07:24 -0600 Subject: New substacks are black In-Reply-To: <5c0024c690ed4673ac53ef3e8f29089e@veggio.com> References: <5c0024c690ed4673ac53ef3e8f29089e@veggio.com> Message-ID: <673e038e7a9877c9df1ed7b87e1b0c89@byu.edu> On Apr 21, 2005, at 1:29 PM, Varen Swaab wrote: > Hi all, > > Here is a problem that is probably something really stupid that I'm > doing, just can't figure out what. > > In my application when I create a new substack the window comes up > black. There is no color property in the inspector, the window is just > black. I can change the color of the window by adding a color property > but it seems it shouldn't open black in the first place. > > Probably related, I've noticed that whenever I have a dialog window > open it also is in black. > Var, Objects in Revolution inherit properties from their parents objects. In the case of substacks (and dialogs are just specialized substacks), the parent is the mainstack. Check the backgroundColor prop of the mainstack. It's probably been set to black. If it isn't that, then somehow the default background color for the engine got set to black, it which case I'm out of my depth. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From public at veggio.com Thu Apr 21 16:14:45 2005 From: public at veggio.com (Varen Swaab) Date: Thu, 21 Apr 2005 13:14:45 -0700 Subject: New substacks are black In-Reply-To: <673e038e7a9877c9df1ed7b87e1b0c89@byu.edu> References: <5c0024c690ed4673ac53ef3e8f29089e@veggio.com> <673e038e7a9877c9df1ed7b87e1b0c89@byu.edu> Message-ID: <8bafee1be5d397904d763a1574d7ee17@veggio.com> Thanks, you're absolutely correct, the color was inherited from the mainstack. I'm not sure I would have figured that out myself even if I spent a day on the problem. I'm grateful for this discussion to help with problems like this!! Varen On Apr 21, 2005, at 1:07 PM, Devin Asay wrote: > On Apr 21, 2005, at 1:29 PM, Varen Swaab wrote: > >> Hi all, >> >> Here is a problem that is probably something really stupid that I'm >> doing, just can't figure out what. >> >> In my application when I create a new substack the window comes up >> black. There is no color property in the inspector, the window is >> just black. I can change the color of the window by adding a color >> property but it seems it shouldn't open black in the first place. >> >> Probably related, I've noticed that whenever I have a dialog window >> open it also is in black. >> > Var, > > Objects in Revolution inherit properties from their parents objects. > In the case of substacks (and dialogs are just specialized substacks), > the parent is the mainstack. Check the backgroundColor prop of the > mainstack. It's probably been set to black. If it isn't that, then > somehow the default background color for the engine got set to black, > it which case I'm out of my depth. > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Thu Apr 21 16:17:01 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 21 Apr 2005 16:17:01 -0400 Subject: line number in a for each repeat Message-ID: I am confused........ can someone help me???? Thanks I have a for each repeat statement in my script. The global "theKeys" holds a list of valid images that can be clicked. If it is a valid key/image then I want to find out what line it is on in that global since I have a field that I want to highlight that name on that matches the global. the target is the image short named three global theKeys -- (contains image names "one(cr) two(cr) three(cr) four(cr)" etc.) if the short name of the target is among the lines of theKeys then -- (yes, the target key is "three") put the short name of the target into thekey -- now contains "three" repeat for each line x in theKeys if x = theKey then -- after the third sweep it comes to x = three -- this is where I need the actual line number that three is in theKeys global which in this case is 3 put line x into theblend -- doesn't work --put the line number of x of theKeys into theblend -- doesn't work end if end repeat else exit mouseUp end if Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From scott at tactilemedia.com Thu Apr 21 16:28:10 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Apr 2005 13:28:10 -0700 Subject: line number in a for each repeat In-Reply-To: Message-ID: Recently, Thomas McGrath III wrote: > repeat for each line x in theKeys > if x = theKey then -- after the third sweep it comes to x = three > > -- this is where I need the actual line number that three is in > theKeys global which in this case is 3 > put line x into theblend -- doesn't work > --put the line number of x of theKeys into theblend -- doesn't work put x into theBlend Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From 3mcgrath at adelphia.net Thu Apr 21 16:36:35 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 21 Apr 2005 16:36:35 -0400 Subject: line number in a for each repeat In-Reply-To: References: Message-ID: <12427329b8064d23c9e2bc2a378d14d1@adelphia.net> I'm afraid that gets me "three" and not the line number 3 which is what I needed. I am now trying to use the lineoffset on the global using the short name of the target with the global list of images. Thank you On Apr 21, 2005, at 4:28 PM, Scott Rossi wrote: > Recently, Thomas McGrath III wrote: > >> repeat for each line x in theKeys >> if x = theKey then -- after the third sweep it comes to x = >> three >> >> -- this is where I need the actual line number that three is in >> theKeys global which in this case is 3 >> put line x into theblend -- doesn't work >> --put the line number of x of theKeys into theblend -- doesn't work > > put x into theBlend > > 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 > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From carambola at aliceposta.it Thu Apr 21 16:56:07 2005 From: carambola at aliceposta.it (carambola at aliceposta.it) Date: Thu, 21 Apr 2005 22:56:07 +0200 (CEST) Subject: R: Re: replaceText in Rev cgi Message-ID: <103668bcd2d.carambola@aliceposta.it> Rev cgi is great also on the windows platform... I fixed all the problems and now it works! Ciao Paolo From briany at qldlearning.com Thu Apr 21 17:00:35 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 21 Apr 2005 14:00:35 -0700 Subject: line number in a for each repeat In-Reply-To: <12427329b8064d23c9e2bc2a378d14d1@adelphia.net> References: <12427329b8064d23c9e2bc2a378d14d1@adelphia.net> Message-ID: <98dca29655763eebd81ee14c082eab49@qldlearning.com> Thomas, You can always just add your own counter to the loop: put 0 into lineNumber repeat for each line x in theKeys add 1 to lineNumber ... end repeat HTH - Brian > I'm afraid that gets me "three" and not the line number 3 which is > what I needed. > > I am now trying to use the lineoffset on the global using the short > name of the target with the global list of images. > > Thank you > > On Apr 21, 2005, at 4:28 PM, Scott Rossi wrote: > >> Recently, Thomas McGrath III wrote: >> >>> repeat for each line x in theKeys >>> if x = theKey then -- after the third sweep it comes to x = >>> three >>> >>> -- this is where I need the actual line number that three is >>> in >>> theKeys global which in this case is 3 >>> put line x into theblend -- doesn't work >>> --put the line number of x of theKeys into theblend -- doesn't work >> >> put x into theBlend >> >> 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 >> >> > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From 3mcgrath at adelphia.net Thu Apr 21 17:13:56 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 21 Apr 2005 17:13:56 -0400 Subject: line number in a for each repeat In-Reply-To: <98dca29655763eebd81ee14c082eab49@qldlearning.com> References: <12427329b8064d23c9e2bc2a378d14d1@adelphia.net> <98dca29655763eebd81ee14c082eab49@qldlearning.com> Message-ID: Yes that would work. I forgot because I am not used to the (new to me) repeat for each and was more concerned if there was a way built into the repeat that did it. I was so concerned that I forgot that I could role my own. I did end up using the lineoffset and that works for what I am doing, but this would have been the way I did it before in SuperCard. PS.. I have decided to take on our Director programmer after reading the threads about Adobe buying MM out. Before I felt that he had a lot of time invested and although I knew I could do this I didn't want to push him out. Now however I figured that it was a good time to 'recreate' in REV what he has been doing in MM Director for the past two years. I know REV can handle it especially since we are no longer posting a live version straight on the web of our software. Thanks tom On Apr 21, 2005, at 5:00 PM, Brian Yennie wrote: > Thomas, > > You can always just add your own counter to the loop: > > put 0 into lineNumber > repeat for each line x in theKeys > add 1 to lineNumber > ... > end repeat > > HTH > > - Brian > >> I'm afraid that gets me "three" and not the line number 3 which is >> what I needed. >> >> I am now trying to use the lineoffset on the global using the short >> name of the target with the global list of images. >> >> Thank you >> >> On Apr 21, 2005, at 4:28 PM, Scott Rossi wrote: >> >>> Recently, Thomas McGrath III wrote: >>> >>>> repeat for each line x in theKeys >>>> if x = theKey then -- after the third sweep it comes to x = >>>> three >>>> >>>> -- this is where I need the actual line number that three is >>>> in >>>> theKeys global which in this case is 3 >>>> put line x into theblend -- doesn't work >>>> --put the line number of x of theKeys into theblend -- doesn't work >>> >>> put x into theBlend >>> >>> 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 >>> >>> >> >> Thomas J. McGrath III >> SCS >> 1000 Killarney Dr. >> Pittsburgh, PA 15234 >> 412-885-8541 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From ambassador at fourthworld.com Thu Apr 21 17:18:18 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2005 14:18:18 -0700 Subject: line number in a for each repeat In-Reply-To: References: <12427329b8064d23c9e2bc2a378d14d1@adelphia.net> <98dca29655763eebd81ee14c082eab49@qldlearning.com> Message-ID: <4268189A.9000302@fourthworld.com> Thomas McGrath III wrote: > PS.. I have decided to take on our Director programmer after reading the > threads about Adobe buying MM out. Before I felt that he had a lot of > time invested and although I knew I could do this I didn't want to push > him out. Now however I figured that it was a good time to 'recreate' in > REV what he has been doing in MM Director for the past two years. I know > REV can handle it especially since we are no longer posting a live > version straight on the web of our software. I'd be interested to learn how that comes out. Please keep me posted. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From briany at qldlearning.com Thu Apr 21 17:47:12 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 21 Apr 2005 14:47:12 -0700 Subject: line number in a for each repeat In-Reply-To: References: <12427329b8064d23c9e2bc2a378d14d1@adelphia.net> <98dca29655763eebd81ee14c082eab49@qldlearning.com> Message-ID: <1c1e66bec0e1ee7bde8a512a88311a94@qldlearning.com> > Yes that would work. I forgot because I am not used to the (new to me) > repeat for each and was more concerned if there was a way built into > the repeat that did it. I was so concerned that I forgot that I could > role my own. Yah- many other languages supply a way to fetch the "key" as well as the value in these sort of structures, so it was a reasonable expectation! I guess since "for each" is sequential, it's easy enough to do without... > I did end up using the lineoffset and that works for what I am doing, > but this would have been the way I did it before in SuperCard. That'll work, but keep in mind it mostly defeats the speed of "for each". Incrementing a counter would preserve the speed advantage over other structures. > PS.. I have decided to take on our Director programmer after reading > the threads about Adobe buying MM out. Before I felt that he had a lot > of time invested and although I knew I could do this I didn't want to > push him out. Now however I figured that it was a good time to > 'recreate' in REV what he has been doing in MM Director for the past > two years. I know REV can handle it especially since we are no longer > posting a live version straight on the web of our software. Good luck! From gwalias-rev at yahoo.com Thu Apr 21 17:58:40 2005 From: gwalias-rev at yahoo.com (Gordon Webster) Date: Thu, 21 Apr 2005 14:58:40 -0700 (PDT) Subject: Adding text to fields In-Reply-To: 6667 Message-ID: <20050421215840.79639.qmail@web51104.mail.yahoo.com> Dear Revvers This is probably a very simple question, but when I'm adding text to a scrolled field, how do I make it autoscroll down so that it's always showing the last line of added text? Best Gordon From bvg at mac.com Thu Apr 21 18:18:19 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 22 Apr 2005 00:18:19 +0200 Subject: Adding text to fields In-Reply-To: <20050421215840.79639.qmail@web51104.mail.yahoo.com> References: <20050421215840.79639.qmail@web51104.mail.yahoo.com> Message-ID: <89f476c859f19772b8f33367f5f49211@mac.com> set the vscroll of field "yourfield" to the formattedheight of field "yourfield" On Apr 21 2005, at 23:58, Gordon Webster wrote: > Dear Revvers > > This is probably a very simple question, but when I'm > adding text to a scrolled field, how do I make it > autoscroll down so that it's always showing the last > line of added text? > > Best > > Gordon -- official ChatRev page: http://chatrev.cjb.net Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From nicolas_cueto at yahoo.com Thu Apr 21 18:23:11 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Fri, 22 Apr 2005 07:23:11 +0900 Subject: Adding text to fields Message-ID: <008101c546c0$b49d73d0$0b01a8c0@niconiko04zbtb> Gordon, Here's how I was taught to do it: on doScrollCheck ---MAKE SURE FIELDS ARE SCROLLED TO MAX SO READER CAN VIEW MSG put the formattedHeight of field "fWhatever" into tHeight set the scroll of field "fWhatever" to tHeight end doScrollCheck Cheers, Nicolas Cueto From 3mcgrath at adelphia.net Thu Apr 21 18:32:53 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 21 Apr 2005 18:32:53 -0400 Subject: line number in a for each repeat In-Reply-To: <1c1e66bec0e1ee7bde8a512a88311a94@qldlearning.com> References: <12427329b8064d23c9e2bc2a378d14d1@adelphia.net> <98dca29655763eebd81ee14c082eab49@qldlearning.com> <1c1e66bec0e1ee7bde8a512a88311a94@qldlearning.com> Message-ID: <8ef8227aa6efeda29c19a4c504dd1a26@adelphia.net> Thanks, I did not know that the lineoffset would slow it down. In my case i only have between 3 to 18 items to work with so speed should not be affected. i will revisit my code and look at a counter method. This started out because I have set a goal for myself to both optimize my code using my own functions for common tasks and to also comment the heck out of my code. Something I have grown slack in doing lately. The last two projects i did were successful and did turn into products but I was not completely satisfied with my work. The one project made use of a Flash front end that then ran my Rev app after an intro video done out of house. The other involved using a commercial software that Rev was the front end. It used Portfolio as an image library and used Rev as a sign in and guide to using the software. This project is actually a prototype of software we are developing for use in smart phones and PDAs. We design it quickly for features and for viewing on a laptop with a data projector and then we send the project with a specifications sheet to our engineers who then have to match what we have done in a real phone. I have to be very careful that we don't put things in that can't be done in 'real' life on a phone. But that is what I'm good at so it's actually a lot of fun. I know that rev can handle this and once I get this first one finished I should then be able to add 'features' to it with ease. The Director programmer always seemed to leave out this ability. I wanted to change one icon and it took five days for him to get it back to us. I would have put the icons in a folder and allowed us to dump new ones in anytime we needed to. Well, Thanks again Tom On Apr 21, 2005, at 5:47 PM, Brian Yennie wrote: > >> I did end up using the lineoffset and that works for what I am doing, >> but this would have been the way I did it before in SuperCard. > > That'll work, but keep in mind it mostly defeats the speed of "for > each". Incrementing a counter would preserve the speed advantage over > other structures. > Thomas McGrath III wrote: >> PS.. I have decided to take on our Director programmer after reading >> the threads about Adobe buying MM out. Before I felt that he had a >> lot of time invested and although I knew I could do this I didn't >> want to push him out. Now however I figured that it was a good time >> to 'recreate' in REV what he has been doing in MM Director for the >> past two years. I know REV can handle it especially since we are no >> longer posting a live version straight on the web of our software. > > I'd be interested to learn how that comes out. Please keep me posted. > > -- > Richard Gaskin > Fourth World Media Corporation Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From dburgun at dsl.pipex.com Thu Apr 21 18:47:04 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 21 Apr 2005 23:47:04 +0100 Subject: Simple Scoping Question In-Reply-To: <9b408d8e0504210754ffd5fb@mail.gmail.com> References: <4266BA9D.8040908@hyperactivesw.com> <9b408d8e050420134669070eda@mail.gmail.com> <426701D4.3050108@hyperactivesw.com> <700929415528266e73d7f986f96dea9a@fjrhome.net> <9b408d8e0504210754ffd5fb@mail.gmail.com> Message-ID: >The problem with the archives is that >a) responses here are very fast (in other words, y'all make it easy), >and the culture is permissive >b) Honestly, the archive search tools are not as easy to use >c) Most of the responses are not so complicated as to discourage the >responders from telling the noobs to RTFA and >d) The lack of manuals means that most of the issues are from noobs, >who don't know about the archives, or aren't used to using them before >asking questions first. I agree and and not only this, but also for a newbie it isn't always obvious what terms to seach for. For instance I had a problem that was to do with not knowing how to handle preOpenStack, openStack and closeStack. However, the code worked fine until I added a menubar. Both are areas that: 1) Crash or make the IDE unuable. 2) Are not documented in any detail (that I can find). 3) Take a lot of time to debug. Given all this, I spent ages trying to figure out what was wrong with the menubar handling, it was only once I starting asking questions did I follow the trail and let to the real problem. Thanks again, I think it would be almost impossible to learn RunRev in any realistic time-frame without this list. All the Best Dave From ambassador at fourthworld.com Thu Apr 21 19:38:12 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2005 16:38:12 -0700 Subject: General approach question In-Reply-To: References: <20050421132242.8E9CC9300BB@mail.runrev.com> Message-ID: <42683964.7000805@fourthworld.com> Mark Smith wrote: > I have an app for keeping track of stock and futures trades. The data is > effectively a list of days, each day containing a list of open trades, > one per line, with the details as items in each line. Currently, I have > this data in an array, with the keys being the date of each day, and > each element containing that day's open trades. I store the array in a > custom property set. This all works perfectly well, so I'm not about to > change it, but I can't help feeling that this is not a particularly > 'natural' way to do it in Rev. If it's Transcript and it works, IMO it's "natural". :) Some things are more convenient when stored in fields on cards, but arrays and even simple tab-delimited lists have their own conveniences too. Cards may seem more "natural" to someone coming from HyperCard because with HC you had no choice: it had neither arrays nor custom properties to store them in, and the built-in sort command only worked on cards; you had to use an external for anything else. One thing to remember with storing data in fields is the object overhead. Every object has a certain amount of overhead associated with it. It's usually just a few bytes, but it can add up with large numbers of fields and/or cards. I had a similar decision to make recently for an app I'm working on. As a test case I used a tab-delimited list of Congressional contact info -- 8 fields, with each line under 1k. As a text file it's 64k, but imported into a stack (8 bg fields per card, 530 cards) it's nearly double at 122k. On such a small dataset the size difference was negligible, so I decided to do some stress testing: I used ten copied of the source data, giving me 5300 records. As cards the performance was quite acceptable, but saving was slow. So I decided to see just how slow it would get and I ran a larger data set with 100 copies of my source file. It would have been 53,000 cards, but I'll never know: after several long minutes it still wasn't done so I aborted the import. God only knows what might have happened if I had waited and then tried to save. :) The inventor of the engine, Scott Raney, once recommended to me to use stacks with only about 5,000 cards, and if you need more you'll get better performance using a database like Valentina for storage and retrieval. But Dr. Raney overlooked the beauty and simplicity of his own custom properties. I've worked on projects with tens of thousands of custom properties with narry a blink. For a small data set like yours you could go either way. But if you're enjoying the convenience of transfering an array to properties and back in just one line each, there's no need to fix what's working. :) For some other thoughts on use stack file properties for storage see: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From public at veggio.com Thu Apr 21 20:28:11 2005 From: public at veggio.com (Varen Swaab) Date: Thu, 21 Apr 2005 17:28:11 -0700 Subject: Menu Bar Blues Message-ID: <746e10e112dc125edf8af8b97e89f34a@veggio.com> I'm making a menu bar for a cross-platform application. I can place the menu bar and it shows properly, that's good, but when I check the option to "Set as Menu Bar on Mac OS" all the images and controls on the stack slide up to fill the space where the menu bar was. I'd like the menu bar to show in the normal places in each platform without the window resizing to adjust for each platform (my design calls for this approach). This happens even if I uncheck the option to slide down objects when the menu bar is first created. How can I have a menu bar on MacOS without all the images and controls sliding up? Thanks. Var From ambassador at fourthworld.com Thu Apr 21 20:32:03 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2005 17:32:03 -0700 Subject: Menu Bar Blues In-Reply-To: <746e10e112dc125edf8af8b97e89f34a@veggio.com> References: <746e10e112dc125edf8af8b97e89f34a@veggio.com> Message-ID: <42684603.8050102@fourthworld.com> Varen Swaab wrote: > I'm making a menu bar for a cross-platform application. > > I can place the menu bar and it shows properly, that's good, but when I > check the option to "Set as Menu Bar on Mac OS" all the images and > controls on the stack slide up to fill the space where the menu bar was. > I'd like the menu bar to show in the normal places in each platform > without the window resizing to adjust for each platform (my design calls > for this approach). > > This happens even if I uncheck the option to slide down objects when the > menu bar is first created. > > How can I have a menu bar on MacOS without all the images and controls > sliding up? The default behavior is for any group assigned as the stack's menuGroup to have its contents displayed in the Mac menu bar, and the stack is cropped and scrolls up to hide it so the appearance is very much what you'd expect to see in a typical Mac app. To make a Mac app look like a Windows app just clear the menuGroup property of the stack (uncheck the checkbox you set labeled "Set as Menu Bat on Mac OS"). -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From public at veggio.com Thu Apr 21 20:48:21 2005 From: public at veggio.com (Varen Swaab) Date: Thu, 21 Apr 2005 17:48:21 -0700 Subject: Menu Bar Blues In-Reply-To: <42684603.8050102@fourthworld.com> References: <746e10e112dc125edf8af8b97e89f34a@veggio.com> <42684603.8050102@fourthworld.com> Message-ID: <2e89af4318452a678a84dc7fd59fb3f7@veggio.com> > To make a Mac app look like a Windows app just clear the menuGroup > property of the stack (uncheck the checkbox you set labeled "Set as > Menu Bat on Mac OS"). Richard, If I uncheck this checkbox then the menu will stay in the stack window in Mac OS and not move to the top of the screen. I'm trying to figure out how to move the stack and to the top of the screen in Mac OS but resize the window when it does. There must be a way to stop resizing the window. Thanks Var From varen at veggio.com Thu Apr 21 20:56:37 2005 From: varen at veggio.com (Varen Swaab) Date: Thu, 21 Apr 2005 17:56:37 -0700 Subject: Menu Bar Blues In-Reply-To: <2e89af4318452a678a84dc7fd59fb3f7@veggio.com> References: <746e10e112dc125edf8af8b97e89f34a@veggio.com> <42684603.8050102@fourthworld.com> <2e89af4318452a678a84dc7fd59fb3f7@veggio.com> Message-ID: <1d08bb6f9c9210109e5a8742ca6ea5c0@veggio.com> Sorry, there was a major typo in my previous post which changed the meaning of my question... I meant to say: "I'm trying to figure out how to move the stack and to the top of the screen in Mac OS but ***NOT*** resize the stack window when it does." On Apr 21, 2005, at 5:48 PM, Varen Swaab wrote: > Richard, > > If I uncheck this checkbox then the menu will stay in the stack window > in Mac OS and not move to the top of the screen. > > I'm trying to figure out how to move the stack and to the top of the > screen in Mac OS but resize the window when it does. > > There must be a way to stop resizing the window. > > Thanks > Var From ambassador at fourthworld.com Thu Apr 21 20:57:42 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2005 17:57:42 -0700 Subject: Menu Bar Blues In-Reply-To: <2e89af4318452a678a84dc7fd59fb3f7@veggio.com> References: <746e10e112dc125edf8af8b97e89f34a@veggio.com> <42684603.8050102@fourthworld.com> <2e89af4318452a678a84dc7fd59fb3f7@veggio.com> Message-ID: <42684C06.4080904@fourthworld.com> Varen Swaab wrote: > >> To make a Mac app look like a Windows app just clear the menuGroup >> property of the stack (uncheck the checkbox you set labeled "Set as >> Menu Bat on Mac OS"). > > > Richard, > > If I uncheck this checkbox then the menu will stay in the stack window > in Mac OS and not move to the top of the screen. > > I'm trying to figure out how to move the stack and to the top of the > screen in Mac OS but resize the window when it does. I don't understand: if you don't crop the stack then the menu bar will be showing in the window. Is that what you want, the menus in two places? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From erikhans08 at yahoo.com Thu Apr 21 21:28:06 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 21 Apr 2005 18:28:06 -0700 (PDT) Subject: Simple Scoping Question In-Reply-To: 6667 Message-ID: <20050422012806.75322.qmail@web31301.mail.mud.yahoo.com> --- Scott Rossi wrote: > ... to initialize stuff, placing the init > scripts in the first card of > your main stack causes the scripts to > run only when the main stack is > opened (preOpenStack, openStack, openCard, > etc). and if any of your mainstack cards may be deleted? Erik Hansen erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sarahr at genesearch.com.au Thu Apr 21 21:48:04 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 22 Apr 2005 11:48:04 +1000 Subject: line number in a for each repeat In-Reply-To: <8ef8227aa6efeda29c19a4c504dd1a26@adelphia.net> References: <12427329b8064d23c9e2bc2a378d14d1@adelphia.net> <98dca29655763eebd81ee14c082eab49@qldlearning.com> <1c1e66bec0e1ee7bde8a512a88311a94@qldlearning.com> <8ef8227aa6efeda29c19a4c504dd1a26@adelphia.net> Message-ID: On 22 Apr 2005, at 8:35 AM, Thomas McGrath III wrote: > Thanks, I did not know that the lineoffset would slow it down. In my > case i only have between 3 to 18 items to work with so speed should > not be affected. i will revisit my code and look at a counter method. > If you have a long list, it is faster to use repeat for each with a separate loop counter. If you know that the list will never be long, it is probably more efficient to use a standard counted loop e.g. repeat with x = 1 to 18 Cheers, Sarah From kkaufman at snet.net Thu Apr 21 22:49:02 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu, 21 Apr 2005 22:49:02 -0400 Subject: number of substacks- practical limits Message-ID: Assuming that an individual substack consists of a single card containing perhaps 7 or 8 fields, each with <5 KB of text, plus a few pop-up menus and buttons, how many substacks can be associated with a single mainstack? Only one substack would be open at any given point, but I might have as many as 2000 substacks. Right now, I have a single data stack with about 800 cards. Trouble is, only one person can access the data at a time. Would it be possible, if the data was divided by substack rather than by card, for more than one person to access the different substacks concurrently? I guess another way of expressing this would be to say that the equivalent of a db "record" would be a substack rather than a card. TIA, Kurt From scott at tactilemedia.com Thu Apr 21 23:02:16 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Apr 2005 20:02:16 -0700 Subject: Simple Scoping Question In-Reply-To: <20050422012806.75322.qmail@web31301.mail.mud.yahoo.com> Message-ID: Recently, Erik Hansen wrote: >> ... to initialize stuff, placing the init >> scripts in the first card of >> your main stack causes the scripts to >> run only when the main stack is >> opened (preOpenStack, openStack, openCard, >> etc). > > and if any of your mainstack cards > may be deleted? First I would question if this is really need to build your stack this way. But in any event, you could prohibit deletion of the first card. Or consider relegating your deletable cards to a substack. Or place your init scripts in the mainstack and manage by window name accordingly. Or you can go through all substacks and place blocking handlers in each (open preOpenStack, end preOpenstack, etc). Lots of options... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Thu Apr 21 23:08:29 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Apr 2005 20:08:29 -0700 Subject: Simple Scoping Question In-Reply-To: Message-ID: Recently, Scott Rossi wrote: > Or you can go through all substacks and place blocking handlers in each (open > preOpenStack, end preOpenstack, etc). Actually the following is a little more clear: on preOpenStack end preOpenStack on openStack end openStack Etc. These are placed in your substacks if you store your init scripts in your mainstack. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From public at veggio.com Thu Apr 21 23:08:46 2005 From: public at veggio.com (Varen Swaab) Date: Thu, 21 Apr 2005 20:08:46 -0700 Subject: Menu Bar Blues In-Reply-To: <42684C06.4080904@fourthworld.com> References: <746e10e112dc125edf8af8b97e89f34a@veggio.com> <42684603.8050102@fourthworld.com> <2e89af4318452a678a84dc7fd59fb3f7@veggio.com> <42684C06.4080904@fourthworld.com> Message-ID: <6c17625df673a5011d8a8f58c870e6d5@veggio.com> Richard After further research I suppose what I'm asking is whether the EditMenus property for a stack can be disabled so a stack doesn't resize when it's menu bar is changed from true to false and from false to true. So that the EditMenus property has only the effect to show the menu bar and not change the Vscroll property of objects. Thanks Varen On Apr 21, 2005, at 5:57 PM, Richard Gaskin wrote: > Varen Swaab wrote: >>> To make a Mac app look like a Windows app just clear the menuGroup >>> property of the stack (uncheck the checkbox you set labeled "Set as >>> Menu Bat on Mac OS"). >> Richard, >> If I uncheck this checkbox then the menu will stay in the stack >> window in Mac OS and not move to the top of the screen. >> I'm trying to figure out how to move the stack and to the top of the >> screen in Mac OS but resize the window when it does. > > I don't understand: if you don't crop the stack then the menu bar > will be showing in the window. Is that what you want, the menus in > two places? > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Thu Apr 21 23:17:05 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 21 Apr 2005 23:17:05 -0400 Subject: Initial Caps in Table Fields Message-ID: Hey, does anyone know WHY 'table fields' keep initial capitalizing each word when I tab out of that field? Is there a way to turn this off? I need exact names in the table. TOm Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Thu Apr 21 23:25:47 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 21 Apr 2005 23:25:47 -0400 Subject: Better than tables, better than delimited lines? Message-ID: <9d338cca158a27cedc935bd8fa925a76@adelphia.net> Hello all, I am playing with tables for a database driven interface. I used to use comma delimited items with CR delimited lines in a text document. Is there a better way to do this, I am trying with a table field. The interface needs three criteria (Key columns one two and three) and then anywhere from three to seven actions chosen based on outside criteria. My db looks like this: key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5 key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5 , action6 , action7 key1 , key2 , key3 , action1 , action2 , action3 , action4 key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5 key1 , key2 , key3 , action1 , action2 , action3 key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5, action6 key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5 etc... (May be up to 6,000 lines more at most) My outside criteria would be like this: If the checked of preference one is 4 then go through each line until key1 & key2 & key3 match these three keys and do action number 4 of that line (where key1 is pressed first and key2 is pressed next and key three is pressed last. once that is done the system will check the preference item and pick the action item of that sequence of keys and act upon it.) -or- if there are only three action items then do number three if this criteria X has been met. -or- if there are more than three action items then do numbers 4 to end (5, 6 or 7) singularly back to back. These all make sense to me in what I am doing but I want a visual field to do my testing and was wondering if there is a better recommended way to handle many calls to a field by line first then first three items and then finally by last three to seven items? Again, I used to use comma delimited items with CR delimited lines in a text document but that was rather cumbersome with a few thousand lines. I eventually split it up to be easier to read through and fix errant key entries and action items. Thanks in advance, Tom Thomas J McGrath III 3mcgrath at adelphia.net 412-831-3094 220 Drake Road Bethel Park, PA 15102 <*)) >=< "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways - a Cigar in one hand - a large steak in the other - your body thoroughly used up, totally worn out, and screaming - WOO HOO! What a Ride!" From 3mcgrath at adelphia.net Thu Apr 21 23:38:34 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 21 Apr 2005 23:38:34 -0400 Subject: Initial Caps in Table Fields In-Reply-To: References: Message-ID: Actually it is only the upper most top left table field that wants to capitalize the first letter. The ones below it will stay lower case if I typed it that way. This is weird to me? Tom On Apr 21, 2005, at 11:17 PM, Thomas McGrath III wrote: > Hey, does anyone know WHY 'table fields' keep initial capitalizing > each word when I tab out of that field? > > Is there a way to turn this off? I need exact names in the table. > > > TOm > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.8, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.5 Advanced Media Group Thomas J McGrath III 3mcgrath at adelphia.net From erikhans08 at yahoo.com Fri Apr 22 01:11:34 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 21 Apr 2005 22:11:34 -0700 (PDT) Subject: Simple Scoping Question In-Reply-To: 6667 Message-ID: <20050422051134.99665.qmail@web31305.mail.mud.yahoo.com> --- Scott Rossi wrote: > Recently, Erik Hansen wrote: > > >> ... to initialize stuff, placing the init > >> scripts in the first card of > >> your main stack causes the scripts to > >> run only when the main stack is > >> opened (preOpenStack, openStack, openCard, > >> etc). > > > > and if any of your mainstack cards > > may be deleted? > > First I would question if this is really need > to build your stack this way. > But in any event, you could prohibit deletion > of the first card. Or > consider relegating your deletable cards to a > substack. Or place your init > scripts in the mainstack and manage by window > name accordingly. Or you can > go through all substacks and place blocking > handlers in each (open > preOpenStack, end preOpenstack, etc). > > Lots of options... thanks, maybe that "splash" stack could do the init job, then beat it. Erik Hansen erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From erikhans08 at yahoo.com Fri Apr 22 01:21:09 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 21 Apr 2005 22:21:09 -0700 (PDT) Subject: arrowKey modifier? In-Reply-To: 6667 Message-ID: <20050422052109.25738.qmail@web31301.mail.mud.yahoo.com> --- Ken Ray wrote: > If I'm reading you correctly, you just trap the > message, get the direction > of the arrowkey and process accordingly. > on arrowKey pDir > if the shiftKey is down then put 10 into tIncr > else put 1 into tIncr > put the selectedObject into tObj > if tObj <> "" then > switch pDir > case "left" > set the left of tObj to (the left of tObj > - tIncr) > break > case "right" > set the left of tObj to (the left of tObj > + tIncr) > break > case "up" > set the top of tObj to (the top of tObj - > tIncr) > break > case "down" > set the top of tObj to (the top of tObj + > tIncr) > break > end switch > else > pass arrowkey > end if > end arrowKey > > Is this what you're looking for? yes it is, thanks. it just wasn't working with the shiftKey before. wouldn't go to the arrowkey handler, now OK. my solution uses the loc, but i like your lefts, tops approach better, the move commnd takes a x,y input so i just go with the loc for now for consistancy. incidently, this is a nice intro to the case, break control structure! Erik Hansen erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From public at veggio.com Fri Apr 22 01:47:05 2005 From: public at veggio.com (Varen Swaab) Date: Thu, 21 Apr 2005 22:47:05 -0700 Subject: Image Library question Message-ID: Hi everyone, I'm working on an application which has about 25 .png files imported via the image library. We recently discovered an aesthetic problem with the images which required me to import new images into the stack's library. When I imported the new images I noticed some wrong images being used in the various button states even though I'm sure the images were being called correctly. I have several button states I'm working with, mouseEnter, mouseClick, etc. In a seemingly random pattern some button images have been replaced by very old images I'd imported into, and deleted from the application weeks ago. In other cases, the thumbnail in the Image Library was of a totally different image than the actual imported image, but when viewed in the stack the image was correct. For example, when I mouse over a button an image appears that I deleted from the application in February. I haven't seen or used this image in a long time but BANG there it is!! fI know the image number is being called is correctly and the image appears correctly in the stack, but not in the button. Has anyone ever seen this problem before? It seems that there is an image cache that isn't properly cleared when images are deleted, or something else is going on. BTW, I even created a new substack, imported the new images, and the same problem happens. Any help or ideas are appreciated. Varen From ambassador at fourthworld.com Fri Apr 22 01:47:51 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2005 22:47:51 -0700 Subject: Menu Bar Blues In-Reply-To: <6c17625df673a5011d8a8f58c870e6d5@veggio.com> References: <746e10e112dc125edf8af8b97e89f34a@veggio.com> <42684603.8050102@fourthworld.com> <2e89af4318452a678a84dc7fd59fb3f7@veggio.com> <42684C06.4080904@fourthworld.com> <6c17625df673a5011d8a8f58c870e6d5@veggio.com> Message-ID: <42689007.1030108@fourthworld.com> Varen Swaab wrote: > Richard > > After further research I suppose what I'm asking is whether the > EditMenus property for a stack can be disabled so a stack doesn't resize > when it's menu bar is changed from true to false and from false to true. > So that the EditMenus property has only the effect to show the menu bar > and not change the Vscroll property of objects. I'm a bit sleep-deprived today, so forgive me if I seem slow. It seems that you want: - The menubar showing on Windows within the stack - The menus to appear in the system's menubar on Mac - The menus will not appear in the stack on Mac - The stack will not scroll on Mac Do I have that right? Ordinarily, here's what happens: -------------------------- <------------ | File Edit Help | <- menu grp | |------------------------| | | | |-- stack height | (content region) | | | | | -------------------------- <------------- The stack height includes the menubar on non-Mac systems. In apps that conform to the HIG recommendations for Windows the only thing in the menugroup region are the menus, so Rev is safe to crop that when displaying the stack on Mac OS. If the stack is not cropped then on Mac OS you'll have the menus appearing both in the stack and in the system's menu bar; I'm fairly confident that's not what you're looking for, correct? I'm guessing that the missing piece in the description here is that you have non-menu elements in the menu bar region -- is that correct? If it is you can override the normal HIG-compliant behavior by simply hiding the menugroup on Mac OS, and setting the editMenus property to true: on preOpenStack if the platform is "MacOS" then hide grp "myMenuGroup" set the editMenus of this stack to true end if end preOpenStack Chipp had a similar situation and reported this worked just fine: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Fri Apr 22 01:52:01 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2005 22:52:01 -0700 Subject: Image Library question In-Reply-To: References: Message-ID: <42689101.4070504@fourthworld.com> Varen Swaab wrote: > I'm working on an application which has about 25 .png files imported via > the image library. We recently discovered an aesthetic problem with the > images which required me to import new images into the stack's library. > > When I imported the new images I noticed some wrong images being used in > the various button states even though I'm sure the images were being > called correctly. I have several button states I'm working with, > mouseEnter, mouseClick, etc. In a seemingly random pattern some button > images have been replaced by very old images I'd imported into, and > deleted from the application weeks ago. Sounds like an ID conflict. If you set the ID property of imported images to an arbitrarily high number (anywhere in the range between 10000 and 2000000000 should be fine) the problem should go away. I beleieve there's a discussion of reserved ID ranges in the docs somewhere, but IIRC all of them are well below 10000. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From xbury.cs at clearstream.com Fri Apr 22 01:54:26 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 22 Apr 2005 07:54:26 +0200 Subject: Image Library question Message-ID: Hi Varen I think the issue is this... http://support.runrev.com/bugdatabase/show_bug.cgi?id=2449 Not the first or last time. You'll find some solutions and answers to your questions there I hope... Im writing a library to avoid the issue altogeter and have both images and any references reassigned to unique ids but library images are always a big job... cheers Xavier On 22.04.2005 07:47:05 use-revolution-bounces wrote: >Hi everyone, > >I'm working on an application which has about 25 .png files imported >via the image library. We recently discovered an aesthetic problem >with the images which required me to import new images into the stack's >library. > >When I imported the new images I noticed some wrong images being used >in the various button states even though I'm sure the images were being >called correctly. I have several button states I'm working with, >mouseEnter, mouseClick, etc. In a seemingly random pattern some button >images have been replaced by very old images I'd imported into, and >deleted from the application weeks ago. > >In other cases, the thumbnail in the Image Library was of a totally >different image than the actual imported image, but when viewed in the >stack the image was correct. > >For example, when I mouse over a button an image appears that I deleted >from the application in February. I haven't seen or used this image in >a long time but BANG there it is!! fI know the image number is being >called is correctly and the image appears correctly in the stack, but >not in the button. > >Has anyone ever seen this problem before? It seems that there is an >image cache that isn't properly cleared when images are deleted, or >something else is going on. > >BTW, I even created a new substack, imported the new images, and the >same problem happens. > >Any help or ideas are appreciated. > >Varen > >_______________________________________________ >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 jacque at hyperactivesw.com Fri Apr 22 01:57:18 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Apr 2005 00:57:18 -0500 Subject: General approach question In-Reply-To: <42683964.7000805@fourthworld.com> References: <20050421132242.8E9CC9300BB@mail.runrev.com> <42683964.7000805@fourthworld.com> Message-ID: <4268923E.5070506@hyperactivesw.com> On 4/21/05 6:38 PM, Richard Gaskin wrote: > Cards may seem more "natural" to someone coming from HyperCard because > with HC you had no choice: it had neither arrays nor custom properties > to store them in, and the built-in sort command only worked on cards; > you had to use an external for anything else. Aw, it isn't *that* bad. You can sort containers in HC; as a matter of fact, Rev's "sort" command is taken verbatim from HyperCard. "Sort lines of..." "sort words of..." etc. Compatibility and all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Apr 22 02:00:26 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Apr 2005 23:00:26 -0700 Subject: General approach question In-Reply-To: <4268923E.5070506@hyperactivesw.com> References: <20050421132242.8E9CC9300BB@mail.runrev.com> <42683964.7000805@fourthworld.com> <4268923E.5070506@hyperactivesw.com> Message-ID: <426892FA.8030703@fourthworld.com> J. Landman Gay wrote: > On 4/21/05 6:38 PM, Richard Gaskin wrote: > >> Cards may seem more "natural" to someone coming from HyperCard because >> with HC you had no choice: it had neither arrays nor custom >> properties to store them in, and the built-in sort command only worked >> on cards; you had to use an external for anything else. > > Aw, it isn't *that* bad. You can sort containers in HC; as a matter of > fact, Rev's "sort" command is taken verbatim from HyperCard. "Sort lines > of..." "sort words of..." etc. Compatibility and all. My bad. I must have been living in the past -- remember, I moved to SuperCard the day it was release in May '89. If HC had a sort command then why were there so many sort externals floating around? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From public at veggio.com Fri Apr 22 02:18:18 2005 From: public at veggio.com (Varen Swaab) Date: Thu, 21 Apr 2005 23:18:18 -0700 Subject: Menu Bar Blues In-Reply-To: <42689007.1030108@fourthworld.com> References: <746e10e112dc125edf8af8b97e89f34a@veggio.com> <42684603.8050102@fourthworld.com> <2e89af4318452a678a84dc7fd59fb3f7@veggio.com> <42684C06.4080904@fourthworld.com> <6c17625df673a5011d8a8f58c870e6d5@veggio.com> <42689007.1030108@fourthworld.com> Message-ID: Richard, I haven't tried your suggestion yet but it seems to solve the problem. Thanks very much for your help! Varen On Apr 21, 2005, at 10:47 PM, Richard Gaskin wrote: > Varen Swaab wrote: >> Richard >> After further research I suppose what I'm asking is whether the >> EditMenus property for a stack can be disabled so a stack doesn't >> resize when it's menu bar is changed from true to false and from >> false to true. So that the EditMenus property has only the effect to >> show the menu bar and not change the Vscroll property of objects. > > I'm a bit sleep-deprived today, so forgive me if I seem slow. It seems > that you want: > > - The menubar showing on Windows within the stack > - The menus to appear in the system's menubar on Mac > - The menus will not appear in the stack on Mac > - The stack will not scroll on Mac > > Do I have that right? > > Ordinarily, here's what happens: > > -------------------------- <------------ > | File Edit Help | <- menu grp | > |------------------------| | > | | |-- stack height > | (content region) | | > | | | > -------------------------- <------------- > > The stack height includes the menubar on non-Mac systems. In apps > that conform to the HIG recommendations for Windows the only thing in > the menugroup region are the menus, so Rev is safe to crop that when > displaying the stack on Mac OS. > > If the stack is not cropped then on Mac OS you'll have the menus > appearing both in the stack and in the system's menu bar; I'm fairly > confident that's not what you're looking for, correct? > > I'm guessing that the missing piece in the description here is that > you have non-menu elements in the menu bar region -- is that correct? > > If it is you can override the normal HIG-compliant behavior by simply > hiding the menugroup on Mac OS, and setting the editMenus property to > true: > > on preOpenStack > if the platform is "MacOS" then > hide grp "myMenuGroup" > set the editMenus of this stack to true > end if > end preOpenStack > > Chipp had a similar situation and reported this worked just fine: > 048741.html> > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Fri Apr 22 02:42:14 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 21 Apr 2005 23:42:14 -0700 Subject: HC sort container. Message-ID: Because it was added in v2.0 or so...late in the game... sqb > >If HC had a sort command then why were there so many sort externals >floating around? > >-- > Richard Gaskin From eric.chatonet at sosmartsoftware.com Fri Apr 22 02:50:37 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Apr 2005 08:50:37 +0200 Subject: number of substacks- practical limits In-Reply-To: References: Message-ID: Hi Kurt, You can open as much script windows or property palettes as you want... Don't you? To do this there are not thousands of stacks (or substacks) in the IDE. Think of such an architecture to solve your problem: Create a template substack (only one!) and clone it on the fly when needed :-) And keep your main stack as a container. Best regards, Le 22 avr. 05, ? 04:49, Kurt Kaufman a ?crit : > Assuming that an individual substack consists of a single card > containing perhaps 7 or 8 fields, each with <5 KB of text, plus a few > pop-up menus and buttons, how many substacks can be associated with a > single mainstack? Only one substack would be open at any given point, > but I might have as many as 2000 substacks. > Right now, I have a single data stack with about 800 cards. Trouble > is, only one person can access the data at a time. Would it be > possible, if the data was divided by substack rather than by card, for > more than one person to access the different substacks concurrently? > > I guess another way of expressing this would be to say that the > equivalent of a db "record" would be a substack rather than a card. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From sarahr at genesearch.com.au Fri Apr 22 02:53:04 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 22 Apr 2005 16:53:04 +1000 Subject: Better than tables, better than delimited lines? In-Reply-To: <9d338cca158a27cedc935bd8fa925a76@adelphia.net> References: <9d338cca158a27cedc935bd8fa925a76@adelphia.net> Message-ID: <9225af0f0322fef92dd73190acbab7ba@genesearch.com.au> > These all make sense to me in what I am doing but I want a visual > field to do my testing and was wondering if there is a better > recommended way to handle many calls to a field by line first then > first three items and then finally by last three to seven items? > Again, I used to use comma delimited items with CR delimited lines in > a text document but that was rather cumbersome with a few thousand > lines. I eventually split it up to be easier to read through and fix > errant key entries and action items. > The filter command should be able to do what you want very quickly e.g. filter fld "Data" with myKey1 & comma & myKey2 & comma & myKey3 & comma & "*" will give you only the lines that start with the 3 specified keys. Then you can loop through a subset of the original data. While custom properties may be faster, I prefer to do my initial development with the data in a visible and easily editable form. Even later on, I still find that this is often the best way as retrieving & setting the data is rarely the speed limiting step. HTH, Sarah From ambassador at fourthworld.com Fri Apr 22 03:04:06 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Apr 2005 00:04:06 -0700 Subject: Better than tables, better than delimited lines? In-Reply-To: <9225af0f0322fef92dd73190acbab7ba@genesearch.com.au> References: <9d338cca158a27cedc935bd8fa925a76@adelphia.net> <9225af0f0322fef92dd73190acbab7ba@genesearch.com.au> Message-ID: <4268A1E6.5000302@fourthworld.com> Sarah Reichelt wrote: >> These all make sense to me in what I am doing but I want a visual >> field to do my testing and was wondering if there is a better >> recommended way to handle many calls to a field by line first then >> first three items and then finally by last three to seven items? >> Again, I used to use comma delimited items with CR delimited lines in >> a text document but that was rather cumbersome with a few thousand >> lines. I eventually split it up to be easier to read through and fix >> errant key entries and action items. >> > The filter command should be able to do what you want very quickly e.g. > filter fld "Data" with myKey1 & comma & myKey2 & comma & myKey3 & comma > & "*" > will give you only the lines that start with the 3 specified keys. > Then you can loop through a subset of the original data. > > While custom properties may be faster, I prefer to do my initial > development with the data in a visible and easily editable form. Even > later on, I still find that this is often the best way as retrieving & > setting the data is rarely the speed limiting step. Good stuff, Sarah. In my benchmarking, custom properties are only faster than a delimited list for random access of specific items. If you need to walk through all elements ("repeat for each element...") or lines ("repeat for each line...") it turns out that arrays are slower than lists by about 15-20%, and slightly slower than that if stored in props rather than in an array variable. I would be interested in seeing the original poster's script for querying items in a delimited list. Reported as cumbersome, I'm confident some of the folks here could optimize it for very satisfying performance. I've been doing some testing with some complicated queries of delimited lists and have been able to do a three-criteria evaluation ("if item 1 contains x and item 3 contains y and item 6 is not in x") of each line in a list of 40,000 lines in under two seconds on a modest 1GHz machine. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From 3mcgrath at adelphia.net Fri Apr 22 05:42:23 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 22 Apr 2005 05:42:23 -0400 Subject: Better than tables, better than delimited lines? In-Reply-To: <9225af0f0322fef92dd73190acbab7ba@genesearch.com.au> References: <9d338cca158a27cedc935bd8fa925a76@adelphia.net> <9225af0f0322fef92dd73190acbab7ba@genesearch.com.au> Message-ID: Actually, Sarah, this helps a lot! The first part is exactly a way in which I need to 'look' at the data. I never looked at the filter aspect before. and I am very much a visual person and need to 'see' the data the first few hundred times I work with it. :-) Off to read up on filtering..... Thanks Tom On Apr 22, 2005, at 2:53 AM, Sarah Reichelt wrote: > The filter command should be able to do what you want very quickly e.g. > filter fld "Data" with myKey1 & comma & myKey2 & comma & myKey3 & > comma & "*" > will give you only the lines that start with the 3 specified keys. > Then you can loop through a subset of the original data. > > While custom properties may be faster, I prefer to do my initial > development with the data in a visible and easily editable form. Even > later on, I still find that this is often the best way as retrieving & > setting the data is rarely the speed limiting step. > > HTH, > Sarah Thomas J McGrath III 3mcgrath at adelphia.net <*)) >=< "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways - a Cigar in one hand - a large steak in the other - your body thoroughly used up, totally worn out, and screaming - WOO HOO! What a Ride!" From david at dvglasgow.wanadoo.co.uk Fri Apr 22 05:53:04 2005 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 22 Apr 2005 10:53:04 +0100 Subject: Constraining the pointer In-Reply-To: <20050103120335.C3ED19300D1@mail.runrev.com> References: <20050103120335.C3ED19300D1@mail.runrev.com> Message-ID: <6641ac09dcad58dfbf85d570710e0688@dvglasgow.wanadoo.co.uk> Revlistas, This is a fairly lengthy preamble, so be patient. I have an assessment that may be used with people with significant motor skills problems. At a point when they have to use a rating scale I constrain the pointer so it can't 'fall' of the scale. I know this is contrary to the HIG gospel, but it works very well. As soon as they have made a legitimate rating, the pointer is released. I suspect they don't even notice what happens, because of course they don't *want* to move off the scale, it just sometimes happens with a muscular jerk or difficulty stopping a purposeful move one way or the other. Anyway, the build using 1.1.1 worked fine on Win & Mac classic. I downloaded the latest Rev, and tried a build of the assessment stack. I was disappointed with how many things broke, including the first effort at an OSX build. Among the many glitches, I found that the constraining script resulted in horribly jerky and delayed mouse movements. The scale is unusable on OSX (10.3.8 - or maybe 7) but fine in classic and win. Is this an OS X thang? Well obviously it is, but is it at the Rev or OS end? The script is below: Yes it is a hack, but it works OK. (By way of explanation the field 'container' is contiguous with the scale & the +4 and - 4 are just my way of adjusting the margin of error around the scale. Any suggestions as to what might be happening would be gratefully received - or any alternative suggestions as to how to obtain the same effect.... if within (field "container",mouseloc()) = false then get the mouseloc switch case item 2 of the mouseloc > the bottom of field "container" put (the bottom of field "container" -4) into item 2 of it break case item 2 of the mouseloc < the top of field "container" put (the top of field "container" +4)into item 2 of it end switch switch case item 1 of the mouseloc < the left of field "container" put (the left of field "container" + 4) into item 1 of it break case item 1 of the mouseloc > the right of field "container" put (the right of field "container"- 4) into item 1 of it end switch put (item 1 of the topleft of this stack) + (item 1 of it) into item 1 of it put (item 2 of the topleft of this stack) + (item 2 of it) into item 2 of it set the screenmouseloc to it end if Best Wishes, David Glasgow http://www.i-psych.co.uk From jsng at wayoflife.org Fri Apr 22 03:06:58 2005 From: jsng at wayoflife.org (Jesse Sng) Date: Fri, 22 Apr 2005 15:06:58 +0800 Subject: OT: Adobe kills Director In-Reply-To: <9b408d8e050421083046c97d69@mail.gmail.com> References: <20050420231537.F094C93017E@mail.runrev.com> <42677B15.2040000@fourthworld.com> <9b408d8e050421083046c97d69@mail.gmail.com> Message-ID: >I'm with you, Richrad. Who cares? Director is old and redundant. It >hasn't been innovative in quite a while. True, but it's about the only way that one can write in a badly mutated Xtalk language and then target for a web browser. If I had Revolution about 10 years ago, I wouldn't have had to jump through all sorts of hoops using Director simply because Supercard couldn't give me more control over the display of graphics, images and text. What took a week to do in Supercard, took much longer in Director but we need more control over what was being presented. Jesse From 3mcgrath at adelphia.net Fri Apr 22 06:09:33 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 22 Apr 2005 06:09:33 -0400 Subject: Better than tables, better than delimited lines? In-Reply-To: <4268A1E6.5000302@fourthworld.com> References: <9d338cca158a27cedc935bd8fa925a76@adelphia.net> <9225af0f0322fef92dd73190acbab7ba@genesearch.com.au> <4268A1E6.5000302@fourthworld.com> Message-ID: Richard, My first successful project doing the 3 criteria evaluation was in SuperCard over seven years ago. Once I figured out 'a method' for the eval part then I needed to store temporary lists of the evaluated lines and do a lot of reseting of button/images based on the new lists. Clicking one button would start the eval based upon what button it was and the system would need to see that button as mykey1 in slot item 1 across multiple lines, then a second button click would only search those found lines and produce a list based on those two criteria and then a third button would do the same to produce a final list matching all three in a 'live' sort of way as the user was pressing buttons. Then if the user decided they wanted to back out of a sequence to the second or first button I would keep the temp lists around for that. Oh yeah and each button has three states (available to press, unavailable to press, and a while being pressed state- mouseDown) which are driven by the info in the database. The old system used 128 buttons but this new one is only using 18 buttons so it will be a lot less cumbersome to deal with. I knew I could do this, but in SC it became so cumbersome and that memory is one part that kept me from attempting it again in Rev for so long. But I am ready now since I have a need to do it. I think the memory of taking this on again is what drove me to letting our Director guy handle it in the first place. I will post some samples once I start that part. The scripts will be all new using Rev's more powerful features and the biggest part will be not falling into my old thinking which was based on the 'limitations' in SC. Therefore, I am not going back and reading 'any' of my old scripts but rather forcing myself to start fresh and find new better ways. So far, I have been testing my button states which use a mask with a blendlevel and visible states as a way of being visually available and then the eval part is next. Thanks Tom On Apr 22, 2005, at 3:04 AM, Richard Gaskin wrote: > I would be interested in seeing the original poster's script for > querying items in a delimited list. Reported as cumbersome, I'm > confident some of the folks here could optimize it for very satisfying > performance. > > I've been doing some testing with some complicated queries of > delimited lists and have been able to do a three-criteria evaluation > ("if item 1 contains x and item 3 contains y and item 6 is not in x") > of each line in a list of 40,000 lines in under two seconds on a > modest 1GHz machine. > > -- > Richard Gaskin > Fourth World Media Corporation Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Fri Apr 22 06:14:12 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 22 Apr 2005 06:14:12 -0400 Subject: OT: Adobe kills Director In-Reply-To: References: <20050420231537.F094C93017E@mail.runrev.com> <42677B15.2040000@fourthworld.com> <9b408d8e050421083046c97d69@mail.gmail.com> Message-ID: Jesse, This was my experience as well. I am pushing Rev in to 'fill' the slot though. Tom On Apr 22, 2005, at 3:06 AM, Jesse Sng wrote: >> I'm with you, Richrad. Who cares? Director is old and redundant. It >> hasn't been innovative in quite a while. > > True, but it's about the only way that one can write in a badly > mutated Xtalk language and then target for a web browser. > > If I had Revolution about 10 years ago, I wouldn't have had to jump > through all sorts of hoops using Director simply because Supercard > couldn't give me more control over the display of graphics, images and > text. > > What took a week to do in Supercard, took much longer in Director but > we need more control over what was being presented. > > > Jesse > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From ambassador at fourthworld.com Fri Apr 22 06:17:25 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Apr 2005 03:17:25 -0700 Subject: Better than tables, better than delimited lines? In-Reply-To: References: <9d338cca158a27cedc935bd8fa925a76@adelphia.net> <9225af0f0322fef92dd73190acbab7ba@genesearch.com.au> <4268A1E6.5000302@fourthworld.com> Message-ID: <4268CF35.1070203@fourthworld.com> Thomas McGrath III wrote: > Richard, > > My first successful project doing the 3 criteria evaluation was in > SuperCard over seven years ago. Once I figured out 'a method' for the > eval part then I needed to store temporary lists of the evaluated lines > and do a lot of reseting of button/images based on the new lists. > Clicking one button would start the eval based upon what button it was > and the system would need to see that button as mykey1 in slot item 1 > across multiple lines, then a second button click would only search > those found lines and produce a list based on those two criteria and > then a third button would do the same to produce a final list matching > all three in a 'live' sort of way as the user was pressing buttons. Then > if the user decided they wanted to back out of a sequence to the second > or first button I would keep the temp lists around for that. Oh yeah and > each button has three states (available to press, unavailable to press, > and a while being pressed state- mouseDown) which are driven by the info > in the database. The old system used 128 buttons but this new one is > only using 18 buttons so it will be a lot less cumbersome to deal with. Have you considered using a list for that selection so you don't have to make so many buttons? > I knew I could do this, but in SC it became so cumbersome and that > memory is one part that kept me from attempting it again in Rev for so > long. But I am ready now since I have a need to do it. I think the > memory of taking this on again is what drove me to letting our Director > guy handle it in the first place. I will post some samples once I start > that part. The scripts will be all new using Rev's more powerful > features and the biggest part will be not falling into my old thinking > which was based on the 'limitations' in SC. Therefore, I am not going > back and reading 'any' of my old scripts but rather forcing myself to > start fresh and find new better ways. The older I get, the more I throw code away. I used to think code was important, but much of the time what I've learned since I wrote it is really more valuable. Starting from scratch can be very refreshing. With my products I tend to use major upgrades as an opportunity for a complete rewrite... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From dburgun at dsl.pipex.com Fri Apr 22 06:54:54 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 22 Apr 2005 11:54:54 +0100 Subject: Menu Bar Blues In-Reply-To: <1d08bb6f9c9210109e5a8742ca6ea5c0@veggio.com> References: <746e10e112dc125edf8af8b97e89f34a@veggio.com> <42684603.8050102@fourthworld.com> <2e89af4318452a678a84dc7fd59fb3f7@veggio.com> <1d08bb6f9c9210109e5a8742ca6ea5c0@veggio.com> Message-ID: Hi, I think the answer to you problem is the place: set the menubar of this stack to "meunu group name" --The name of you Menu Group in the preOpenStack handler of Card 1 of your Stack. Once you have done this you will have to Save and Close the Stack, in fact the first time it's better to quit RunRev and the reload the stack, the menubar should be ok from now on. Hope this works for you, that's what I did and the problem is fixed! All the Best Dave From wouter.abraham at scarlet.be Fri Apr 22 08:01:17 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Fri, 22 Apr 2005 14:01:17 +0200 Subject: Constraining the pointer In-Reply-To: <6641ac09dcad58dfbf85d570710e0688@dvglasgow.wanadoo.co.uk> References: <20050103120335.C3ED19300D1@mail.runrev.com> <6641ac09dcad58dfbf85d570710e0688@dvglasgow.wanadoo.co.uk> Message-ID: <3386e8127e5f411dc1307278c9157120@scarlet.be> On 22 Apr 2005, at 11:53, David Glasgow wrote: > > Revlistas, > > This is a fairly lengthy preamble, so be patient. > > I have an assessment that may be used with people with significant > motor skills problems. At a point when they have to use a rating > scale I constrain the pointer so it can't 'fall' of the scale. I > know this is contrary to the HIG gospel, but it works very well. As > soon as they have made a legitimate rating, the pointer is released. > I suspect they don't even notice what happens, because of course they > don't *want* to move off the scale, it just sometimes happens with a > muscular jerk or difficulty stopping a purposeful move one way or the > other. > > Anyway, the build using 1.1.1 worked fine on Win & Mac classic. I > downloaded the latest Rev, and tried a build of the assessment stack. > I was disappointed with how many things broke, including the first > effort at an OSX build. > > Among the many glitches, I found that the constraining script resulted > in horribly jerky and delayed mouse movements. The scale is unusable > on OSX (10.3.8 - or maybe 7) but fine in classic and win. Is this an > OS X thang? Well obviously it is, but is it at the Rev or OS end? > > The script is below: Yes it is a hack, but it works OK. (By way of > explanation the field 'container' is contiguous with the scale & the > +4 and - 4 are just my way of adjusting the margin of error around the > scale. > > Any suggestions as to what might be happening would be gratefully > received - or any alternative suggestions as to how to obtain the same > effect.... > > if within (field "container",mouseloc()) = false > then > get the mouseloc > > switch > case item 2 of the mouseloc > the bottom of field "container" > put (the bottom of field "container" -4) into item 2 of it > break > case item 2 of the mouseloc < the top of field "container" > put (the top of field "container" +4)into item 2 of it > end switch > > switch > case item 1 of the mouseloc < the left of field "container" > put (the left of field "container" + 4) into item 1 of it > break > case item 1 of the mouseloc > the right of field "container" > put (the right of field "container"- 4) into item 1 of it > end switch > > put (item 1 of the topleft of this stack) + (item 1 of it) into > item 1 of it > put (item 2 of the topleft of this stack) + (item 2 of it) into > item 2 of it > > set the screenmouseloc to it > end if > > Best Wishes, > > David Glasgow > Hi David, I don't know in which kind of control structure you used the code above, but I changed it a bit and put it inside a mousemove handler. The code seems to work without jerks or delayed mousemovements or extra overhead: on mousemove x,y get rect of fld "container" if x,y is not within it then if x < item 1 of it then put (item 1 of it + 4) into tX --left of field "container" else if x > item 3 of it then put (item 3 of it - 4) into tX --right of field "container" else put x into tX if y > item 4 of it then put (item 4 of it - 4) into tY --bottom of field "container" else if y < item 2 of it then put (item 2 of it + 4) into tY --top of field "container" else put y into tY put (left of this stack) + tX into item 1 of tLoc put (top of this stack) + tY into item 2 of tLoc set the screenmouseloc to tLoc end if end mousemove Hope this works for you. Greetings, Wouter From kkaufman at snet.net Fri Apr 22 08:30:23 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri, 22 Apr 2005 08:30:23 -0400 Subject: Multi-user access (was: number of substacks- practical limits) In-Reply-To: <20050422102323.33833930105@mail.runrev.com> References: <20050422102323.33833930105@mail.runrev.com> Message-ID: <71a0619a5e36794747aa85315c5e6ff0@snet.net> On Apr 22, 2005, at 6:23 AM, EC wrote: > > > You can open as much script windows or property palettes as you want... > Don't you? > To do this there are not thousands of stacks (or substacks) in the IDE. > Think of such an architecture to solve your problem: > Create a template substack (only one!) and clone it on the fly when > needed :-) > And keep your main stack as a container. Thanks for your reply, Eric. Upon falling asleep last night I realized I used the wrong word; I did not really mean literally "substacks". Perhaps I'd better explain the idea: Two users on separate (Windows XP Pro) computers each running an "anchor" standalone. One of the users also has >1000 separate one-card data stacks located on their computer. Both users, through the anchors, open and close the data stacks as needed. They must open different data stacks, of course, and I'd use a file marker as recommended in the Rev Documentation to indicate that a given data stack was in use. In this way, both users can work with [different records of] the data at the same time. I need to know whether this is possible, since I'd be in effect running [data] stacks over a Windows Workgroup PTP network. File-size of data and speed is of secondary importance here. I already have the data records set up as separate cards in a single stack; it would not be difficult to divide it into separate data stacks. I cannot configure one of the computers to run a Windows Server OS instead of XP, so I am assuming that as a result I cannot work with MySQL. Or am I mistaken? Thanks, Kurt From dsc at swcp.com Fri Apr 22 09:04:39 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 22 Apr 2005 07:04:39 -0600 Subject: Displaying execution errors caught in 'try' during development Message-ID: <8cf873291abab34cc7bcba8a7ec26202@swcp.com> I tend to do something like this with high-level commands and functions in libraries: on doSomething a, b, c local errorText = "" try -- do the thing catch e if item 1 of e is a number then -- not mine put "Error: General" into errorText else put "Error: " & e into errorText end if end try return errorText end doSomething Well, that is simplified. The idea is that fatal errors are thrown. Some errors are explicitly thrown. However, some errors (often caused by my bugs) are thrown by the engine or a Revolution library. The code detects those (I think) and creates a generic message. However, during development, I'd like to see those errors. I tried throwing the error again if in the IDE. For some reason that didn't work. An alternative is to display the error. Anybody know how to redo the error or display the error text? Dar Scott -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From fde101 at fjrhome.net Fri Apr 22 09:17:39 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 22 Apr 2005 09:17:39 -0400 Subject: number of substacks- practical limits In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You are still limited to one person using the program at a time, though - -- how do you propose to let multiple people access it simultaneously? This is really a solution demanding a database server, such as PostgreSQL (or MySql, or whatever), using Rev as a front-end... On Apr 22, 2005, at 2:50 AM, Eric Chatonet wrote: > Hi Kurt, > > You can open as much script windows or property palettes as you > want... Don't you? > To do this there are not thousands of stacks (or substacks) in the IDE. > Think of such an architecture to solve your problem: > Create a template substack (only one!) and clone it on the fly when > needed :-) > And keep your main stack as a container. > Best regards, > > Le 22 avr. 05, ? 04:49, Kurt Kaufman a ?crit : > >> Assuming that an individual substack consists of a single card >> containing perhaps 7 or 8 fields, each with <5 KB of text, plus a few >> pop-up menus and buttons, how many substacks can be associated with a >> single mainstack? Only one substack would be open at any given >> point, but I might have as many as 2000 substacks. >> Right now, I have a single data stack with about 800 cards. Trouble >> is, only one person can access the data at a time. Would it be >> possible, if the data was divided by substack rather than by card, >> for more than one person to access the different substacks >> concurrently? >> >> I guess another way of expressing this would be to say that the >> equivalent of a db "record" would be a substack rather than a card. > > Amicalement, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCaPlz7aqtWrR9cZoRAgnVAJ9nfMAQ2u+PAxJa1Q92umiTzF6fKwCeMrvI +t40dF1oJI3ZyEgId7CwqKE= =E+ro -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jhurley at infostations.com Fri Apr 22 09:23:28 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 22 Apr 2005 06:23:28 -0700 Subject: Some advice about Dreamcard player In-Reply-To: <20050422033839.497B4930100@mail.runrev.com> References: <20050422033839.497B4930100@mail.runrev.com> Message-ID: I received an email request for my Cryptogram Decoder--but not from a Run Rev user. Apparently someone did a Google search for "Cryptogram decoder" and a link to the Run Rev list came up. (Oddly, there was no Google link to my web site where this program is listed.) This program was intended only for members of the Run Rev list, but I would offer it to this individual to run on the Player. I have had no experience with the Player. Does it run just Dreamcard stacks or any Run Rev stack? Jim From dburgun at dsl.pipex.com Fri Apr 22 09:22:26 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 22 Apr 2005 14:22:26 +0100 Subject: IDE Grouping Woes! Help! In-Reply-To: <8cf873291abab34cc7bcba8a7ec26202@swcp.com> References: <8cf873291abab34cc7bcba8a7ec26202@swcp.com> Message-ID: Hi, Have a Stack that used to comtain: GroupX (layer order) Graphic rect BoundingRect Graphic rect G-1111 Graphic rect G-1112 etc. The rectangles G-xxxx are all contained within BoundingRect. I then added two buttons to the stack. Ungrouped "GroupX" made the bounding rect smalled but shifting the bottom so it was shorter, moved the buttons to within the Rect of GroupX, regrouped and saved the Stack. Then the Group looked like this: GroupX (layer order) Button "new" Button "delete" Graphic rect BoundingRect Graphic rect G-1111 Graphic rect G-1112 etc. All seemed fine. Then I discover that some code doesn't work anymore! On further investigation the preOpenStack and openStack handlers are not being called. I then editing the card script to beep if openStack is entered and put a breakpoint on the beep and hey presto I hit the breakpoint and now everything works fine! I close the stack, shutdown RunRev and re-load the stack. Now "BoundingRect" is back to the size it was BEFORE I changed it BUT the buttons are still there! I if now attempt to change the Size of "BoundingRect" the IDE crashes! Wisely I made a backup! I am fast learning the ways of RunRev and it's ability to corrupt or lose stacks and always make a backup before doing anything major. What do I do now??? Thanks for any advice! All the Best Dave From fde101 at fjrhome.net Fri Apr 22 09:24:28 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 22 Apr 2005 09:24:28 -0400 Subject: Multi-user access (was: number of substacks- practical limits) In-Reply-To: <71a0619a5e36794747aa85315c5e6ff0@snet.net> References: <20050422102323.33833930105@mail.runrev.com> <71a0619a5e36794747aa85315c5e6ff0@snet.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You are mistaken. MySql (or even better PostgreSQL) can be run with an ordinary, client version of Windows, Mac OS X, Linux, whatever. You don't need a server edition operating system to run them. It would be much better for the integrity of your data, and for performance, to rewrite as a database front-end and use PostgreSQL (or MySql) as a back-end. On Apr 22, 2005, at 8:30 AM, Kurt Kaufman wrote: > > On Apr 22, 2005, at 6:23 AM, EC wrote: >> >> >> You can open as much script windows or property palettes as you >> want... >> Don't you? >> To do this there are not thousands of stacks (or substacks) in the >> IDE. >> Think of such an architecture to solve your problem: >> Create a template substack (only one!) and clone it on the fly when >> needed :-) >> And keep your main stack as a container. > > Thanks for your reply, Eric. Upon falling asleep last night I > realized I used the wrong word; I did not really mean literally > "substacks". Perhaps I'd better explain the idea: > > Two users on separate (Windows XP Pro) computers each running an > "anchor" standalone. One of the users also has >1000 separate > one-card data stacks located on their computer. Both users, through > the anchors, open and close the data stacks as needed. They must open > different data stacks, of course, and I'd use a file marker as > recommended in the Rev Documentation to indicate that a given data > stack was in use. In this way, both users can work with [different > records of] the data at the same time. > > I need to know whether this is possible, since I'd be in effect > running [data] stacks over a Windows Workgroup PTP network. > File-size of data and speed is of secondary importance here. I already > have the data records set up as separate cards in a single stack; it > would not be difficult to divide it into separate data stacks. > > I cannot configure one of the computers to run a Windows Server OS > instead of XP, so I am assuming that as a result I cannot work with > MySQL. Or am I mistaken? > > Thanks, Kurt > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCaPsN7aqtWrR9cZoRAteYAJ4hGpOFXMXaSq2C9zfwuKZYpCJawACfZavk jrXQ1cJz17qGFfzLh+RKtOY= =3kEp -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From 3mcgrath at adelphia.net Fri Apr 22 09:33:44 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 22 Apr 2005 09:33:44 -0400 Subject: Better than tables, better than delimited lines? In-Reply-To: <4268CF35.1070203@fourthworld.com> References: <9d338cca158a27cedc935bd8fa925a76@adelphia.net> <9225af0f0322fef92dd73190acbab7ba@genesearch.com.au> <4268A1E6.5000302@fourthworld.com> <4268CF35.1070203@fourthworld.com> Message-ID: Richard, It is a graphical user system that uses 18 buttons to access 6,000 text items. I'll upload a version when it is working. Then you will see more of what it does. The more I know the more I find I don't know. So a fresh start seems a good idea. Thanks Tom On Apr 22, 2005, at 6:17 AM, Richard Gaskin wrote: > Have you considered using a list for that selection so you don't have > to make so many buttons? > >> I knew I could do this, but in SC it became so cumbersome and that >> memory is one part that kept me from attempting it again in Rev for >> so long. But I am ready now since I have a need to do it. I think >> the memory of taking this on again is what drove me to letting our >> Director guy handle it in the first place. I will post some samples >> once I start that part. The scripts will be all new using Rev's more >> powerful features and the biggest part will be not falling into my >> old thinking which was based on the 'limitations' in SC. Therefore, I >> am not going back and reading 'any' of my old scripts but rather >> forcing myself to start fresh and find new better ways. > > The older I get, the more I throw code away. I used to think code was > important, but much of the time what I've learned since I wrote it is > really more valuable. > > Starting from scratch can be very refreshing. With my products I tend > to use major upgrades as an opportunity for a complete rewrite... > > -- > Richard Gaskin > Fourth World Media Corporation From mparent at readnaturally.com Fri Apr 22 10:01:48 2005 From: mparent at readnaturally.com (Michael Parent) Date: Fri, 22 Apr 2005 09:01:48 -0500 Subject: Several Text issues Message-ID: <1D6B534B0B0BB04999ED232B8DA8A52C042B86@READNATSERVER.readnaturally.local> Hello, I have been reading all the user list messages for awhile and learning lots about Revolution, but I am still a newbie at it. I am using Ken Ray's Directory Walking (thanks Ken) to put the path of all files in a directory in a scroll text field: I have read the documentation and searched the user list archives but still cannot find how to do a couple of things. 1. I would like to format the text in the field for better reading, how do I use the set htmltext property to format the text field, do I put that in the text field script? 2. I want the user to enter a search string and be able to find that in the text field, the string could be a file name or an extension type. Do I use the find command? what is the format? I want to be able to find anything that closeley matches the search as well as exact matches, and have that open in a new stack. The documenation shows how to use Find with a specific string but not how to do it with a variable. 3. I would like to be able to open to that file in an explorer window (only needs to be windows, but a cross platform way would be great) by clicking on the file name in the search result window. Thanks for all your help Michael Parent From mikeythek at gmail.com Fri Apr 22 10:07:32 2005 From: mikeythek at gmail.com (Mikey) Date: Fri, 22 Apr 2005 10:07:32 -0400 Subject: OT: Adobe kills Director In-Reply-To: References: <20050420231537.F094C93017E@mail.runrev.com> <42677B15.2040000@fourthworld.com> <9b408d8e050421083046c97d69@mail.gmail.com> Message-ID: <9b408d8e05042207075c509b0d@mail.gmail.com> You know, Jesse, I COMPLETELY get it now. xTalk is the main reason why I decided to check out (and then buy a copy of) RR a couple of months ago. I'm completely hooked on the language, which is stupid and crazy, since I've worked in 30+languages, most of them BEFORE xTalk, and I had more-or-less given up on xTalk for the last 10 years. It isn't rational to like xTalk more than BASIC. OK, no, that's so not true. I'm shutting up now. I actually was pondering writing an xTalk interpreter/cross-compiler earlier this year until I discovered RR. With the innovations that SC brought after I gave up on it that were then incorporated into RR I'm glad I didn't. Of course, RR has quirks in it that are extremely annoying, but with some suggestions from Richard, I'm hopeful that I can ultimately overcome them. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From FMoyer at aol.com Fri Apr 22 10:50:28 2005 From: FMoyer at aol.com (FMoyer at aol.com) Date: Fri, 22 Apr 2005 10:50:28 EDT Subject: Printing Transparent Bitmap Images Message-ID: <1d5.3a999f42.2f9a6934@aol.com> I'm having problems printing overlapping transparent bitmap images in Revolution. I try it so many ways, but it seems that whatever I do, transparent images print poorly (they become fuzzy) and opaque images print nice and sharp. Oddly enough, sometimes images that are transparent on screen print sharp, but they also turn out to be opaque on the printout (i.e., they obliterate the images underneath.) I have tried taking a snapshot of the card and printing that; the image does print transparent, but the printout becomes fuzzy. These images need to be transparent because they often overlap one another. I am using png's. Does anyone (e.g. Chipp Walters, Scott Rossi) have any suggestions? Thanks a lot. Fred Moyer From 3mcgrath at adelphia.net Fri Apr 22 11:16:15 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 22 Apr 2005 11:16:15 -0400 Subject: Several Text issues In-Reply-To: <1D6B534B0B0BB04999ED232B8DA8A52C042B86@READNATSERVER.readnaturally.local> References: <1D6B534B0B0BB04999ED232B8DA8A52C042B86@READNATSERVER.readnaturally.local> Message-ID: Michael, HTH Tom On Apr 22, 2005, at 10:01 AM, Michael Parent wrote: > 1. I would like to format the text in the field for better reading, how > do I use the set htmltext property to format the text field, do I put > that in the text field script? Do this when you put the text into the field. If you do it by script then do it from there otherwise make a temp button and put it in there then delete the button later. > 2. I want the user to enter a search string and be able to find that in > the text field, the string could be a file name or an extension type. > Do > I use the find command? what is the format? I want to be able to find > anything that closeley matches the search as well as exact matches, and > have that open in a new stack. The documenation shows how to use Find > with a specific string but not how to do it with a variable. Find works: find string "beat must go on" in field "Quotes" as well as 'is among' is 'not among' as well as the offsets - lineoffset, itemoffset, wordoffset > 3. I would like to be able to open to that file in an explorer window > (only needs to be windows, but a cross platform way would be great) by > clicking on the file name in the search result window. use the revgourl - revGoURL "http://www.example.org/info.html" revGoURL "http://me:secret at www.example.com/secret-plan/" revGoURL it revGoURL "mailto:guido at sales.example.com" revGoURL "file:///Folder/file.html" > Thanks for all your help > > Michael Parent > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From jsng at wayoflife.org Fri Apr 22 11:11:54 2005 From: jsng at wayoflife.org (Jesse Sng) Date: Fri, 22 Apr 2005 23:11:54 +0800 Subject: OT: Adobe kills Director In-Reply-To: <9b408d8e05042207075c509b0d@mail.gmail.com> References: <20050420231537.F094C93017E@mail.runrev.com> <42677B15.2040000@fourthworld.com> <9b408d8e050421083046c97d69@mail.gmail.com> <9b408d8e05042207075c509b0d@mail.gmail.com> Message-ID: >You know, Jesse, I COMPLETELY get it now. > >xTalk is the main reason why I decided to check out (and then buy a >copy of) RR a couple of months ago. I'm completely hooked on the >language, which is stupid and crazy, since I've worked in >30+languages, most of them BEFORE xTalk, and I had more-or-less given >up on xTalk for the last 10 years. I've been in the same situation. I could do the other stuff better than most people but there was something about XTalk that was unmatched. I compared it to writing novels vs writing poetry. XTalk development was like poetry, you do it in small chunks, in small, elegant bits and instead marching down the timeline of a project, you could sprint in short spurts and then get to enjoy the scenery at the same time. >It isn't rational to like xTalk more than BASIC. OK, no, that's so >not true. I'm shutting up now. I actually was pondering writing an >xTalk interpreter/cross-compiler earlier this year until I discovered >RR. With the innovations that SC brought after I gave up on it that >were then incorporated into RR I'm glad I didn't. Of course, RR has >quirks in it that are extremely annoying, but with some suggestions >from Richard, I'm hopeful that I can ultimately overcome them. Folks used poo-poo the stuff I did in SC, saying that they could better with all their advanced tools and superior brains, but nothing ever came out of those projects, while I moved it from black and white Hypercard to Hypercard with 24 bit colour using my own externals, to SC. While lots of things took very little code in SC, you can build very sophisticated things with much code. Getting to enjoy Rev a bit more and it helps when you try it out, do some stuff, back off, think a bit before going back to it some more. Getting into Rev isn't quite the same as SC or HC, but it isn't difficult either. Ultimately, I think it's because the development model better suits the playfulness in my mind when I'm initiating a new project. It invites the playfulness and the experimentation, very much like messing around with your kids' Lego bricks. Jesse From kurtkaufman at hotmail.com Fri Apr 22 11:31:42 2005 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Fri, 22 Apr 2005 15:31:42 +0000 Subject: Create new mainstack (not substack) Message-ID: While running a stack (will be a standalone) I would like to create a new mainstack in a specific path. I understand that I can set this path by using the defaultFolder property. However, I don't seem to be able to save a new and separate stack, only a substack. And I guess I can't set a substack's mainstack property to itself......(Rev Win 2.0.3) Thanks, Kurt From eric.chatonet at sosmartsoftware.com Fri Apr 22 11:35:21 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Apr 2005 17:35:21 +0200 Subject: Create new mainstack (not substack) In-Reply-To: References: Message-ID: <1828eba37fda4f129671ab5178cc8cb0@sosmartsoftware.com> Hi Kurt, Why not? Yes you can! Le 22 avr. 05, ? 17:31, Kurt Kaufman a ?crit : > While running a stack (will be a standalone) I would like to create a > new mainstack in a specific path. I understand that I can set this > path by using the defaultFolder property. However, I don't seem to be > able to save a new and separate stack, only a substack. And I guess I > can't set a substack's mainstack property to itself......(Rev Win > 2.0.3) Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jhurley at infostations.com Fri Apr 22 11:36:41 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 22 Apr 2005 08:36:41 -0700 Subject: Setting print margins In-Reply-To: <20050422102323.4FC52930106@mail.runrev.com> References: <20050422102323.4FC52930106@mail.runrev.com> Message-ID: I am trying to print labels but I can't seem to be able to set the left margin to .25". I running Run Rev 2.5 on a Mac OS X. (I know the printer will go there. No trouble using FileMaker.) I have tried to set a custom page size in the Page Setup, but Run Rev ignores that setting and resets to Letter size. Little help, please. Jim From bnz2 at cdc.gov Fri Apr 22 11:39:49 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 22 Apr 2005 11:39:49 -0400 Subject: Create new mainstack (not substack) Message-ID: <64878EF567131D4596246171F75FD4A946A166@m-epo-1.epo.cdc.gov> You should be able to save a new main stack - I do so often, without a problem. When you save the new stack, save it by its full name, including the path and ".rev" - that is how I do it. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Kurt Kaufman Sent: Friday, April 22, 2005 11:32 AM To: use-revolution at lists.runrev.com Subject: Create new mainstack (not substack) While running a stack (will be a standalone) I would like to create a new mainstack in a specific path. I understand that I can set this path by using the defaultFolder property. However, I don't seem to be able to save a new and separate stack, only a substack. And I guess I can't set a substack's mainstack property to itself......(Rev Win 2.0.3) Thanks, Kurt _______________________________________________ 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 Apr 22 11:52:05 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 22 Apr 2005 17:52:05 +0200 Subject: Create new mainstack (not substack) In-Reply-To: <1828eba37fda4f129671ab5178cc8cb0@sosmartsoftware.com> References: <1828eba37fda4f129671ab5178cc8cb0@sosmartsoftware.com> Message-ID: <371fe3e9bb80006e3eb905b6e399f5d0@major-k.de> Hi Kurt, > Hi Kurt, > > Why not? > Yes you can! Exactement, mon ami! :-) > Le 22 avr. 05, ? 17:31, Kurt Kaufman a ?crit : > >> While running a stack (will be a standalone) I would like to create a >> new mainstack in a specific path. I understand that I can set this >> path by using the defaultFolder property. Simply script: ... create stack "Name of new stack here" save "Name of new stack here" as (path_to_stack & "Name of new stack here.rev") ## Where- and whatever you like :-) ... et voila! :-) >> However, I don't seem to be able to save a new and separate stack, >> only a substack. And I guess I can't set a substack's mainstack >> property to itself......(Rev Win 2.0.3) ... set the mainstack of "Name of substack here" to "Name of substack here" ## :-) ... > Amicalement, > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software Best Klaus Major klaus at major-k.de http://www.major-k.de From kurtkaufman at hotmail.com Fri Apr 22 11:53:33 2005 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Fri, 22 Apr 2005 15:53:33 +0000 Subject: Create new mainstack (not substack) Message-ID: Eric: Why not? Yes you can! Kurt: But how? (This has to be under script control in a standalone app). From eric.chatonet at sosmartsoftware.com Fri Apr 22 12:01:48 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Apr 2005 18:01:48 +0200 Subject: Create new mainstack (not substack) In-Reply-To: <371fe3e9bb80006e3eb905b6e399f5d0@major-k.de> References: <1828eba37fda4f129671ab5178cc8cb0@sosmartsoftware.com> <371fe3e9bb80006e3eb905b6e399f5d0@major-k.de> Message-ID: <8ec1a416b1e28b219c35218f8aa6d931@sosmartsoftware.com> Hi again, Some additional thought which might help: you can prepare a stack and save it as a custom property into your standalone. Then , when needed, you can *go* to it and save it. Check SaveStackInStack stack from Signe Marie Sanne on RevOnline (user: sms) Best, Le 22 avr. 05, ? 17:52, Klaus Major a ?crit : > Hi Kurt, > >> Hi Kurt, >> >> Why not? >> Yes you can! > > Exactement, mon ami! :-) > >> Le 22 avr. 05, ? 17:31, Kurt Kaufman a ?crit : >> >>> While running a stack (will be a standalone) I would like to create >>> a new mainstack in a specific path. I understand that I can set this >>> path by using the defaultFolder property. > > Simply script: > > ... > create stack "Name of new stack here" > save "Name of new stack here" as (path_to_stack & "Name of new stack > here.rev") > ## Where- and whatever you like :-) > ... > > et voila! :-) > >>> However, I don't seem to be able to save a new and separate stack, >>> only a substack. And I guess I can't set a substack's mainstack >>> property to itself......(Rev Win 2.0.3) > > ... > set the mainstack of "Name of substack here" to "Name of substack here" > ## :-) Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From mwieder at ahsoftware.net Fri Apr 22 12:03:35 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Apr 2005 09:03:35 -0700 Subject: Some advice about Dreamcard player In-Reply-To: References: <20050422033839.497B4930100@mail.runrev.com> Message-ID: <343685599.20050422090335@ahsoftware.net> Jim- Friday, April 22, 2005, 6:23:28 AM, you wrote: JH> Apparently someone did a Google search for "Cryptogram decoder" and a JH> link to the Run Rev list came up. (Oddly, there was no Google link to JH> my web site where this program is listed.) I just tried that search and it not only finds the list posting for your stack, it comes up as the top item. Congrats! The link doesn't work, though, which explains the email request. JH> This program was intended only for members of the Run Rev list, but I JH> would offer it to this individual to run on the Player. I have had no JH> experience with the Player. Does it run just Dreamcard stacks or any JH> Run Rev stack? ...like you, I have no experience with the player. -- -Mark Wieder mwieder at ahsoftware.net From lists at mangomultimedia.com Fri Apr 22 12:29:13 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 22 Apr 2005 09:29:13 -0700 Subject: Displaying execution errors caught in 'try' during development In-Reply-To: <8cf873291abab34cc7bcba8a7ec26202@swcp.com> References: <8cf873291abab34cc7bcba8a7ec26202@swcp.com> Message-ID: <713e9f09071b2e82c1e2335f56ec9844@mangomultimedia.com> On Apr 22, 2005, at 6:04 AM, Dar Scott wrote: > However, during development, I'd like to see those errors. > > I tried throwing the error again if in the IDE. For some reason that > didn't work. > > An alternative is to display the error. > > Anybody know how to redo the error or display the error text? Dar, I saw the same problem with trying to throw an error from within a catch statement. What I've done is in the first catch statement I assign the error text to a variable. Outside the try statement if the variable isn't empty I then throw it. local e, e2 try catch e put e into e2 end try if e2 is not empty then throw e2 Maybe that would work in your case. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From kurtkaufman at hotmail.com Fri Apr 22 12:33:11 2005 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Fri, 22 Apr 2005 16:33:11 +0000 Subject: Create new mainstack (not substack) Message-ID: JL wrote: When you save the new stack, save it by its full name, including the path and ".rev" - that is how I do it. Kurt: That's it. Now it works. Thanks to all. From ambassador at fourthworld.com Fri Apr 22 12:36:13 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Apr 2005 09:36:13 -0700 Subject: Rev as server immune to buffer overflow? Message-ID: <426927FD.8020503@fourthworld.com> I vaguely recall someone quoting Scott Raney as saying that buffer overflow issues aren't a concern when building any socket apps with the engine. Do I recall correctly? Any of you have more background on that? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From bnz2 at cdc.gov Fri Apr 22 12:39:06 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 22 Apr 2005 12:39:06 -0400 Subject: Create new mainstack (not substack) Message-ID: <64878EF567131D4596246171F75FD4A946A168@m-epo-1.epo.cdc.gov> Doing it this way, it should not be necessary to set the defaultfolder. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Kurt Kaufman Sent: Friday, April 22, 2005 12:33 PM To: use-revolution at lists.runrev.com Subject: Create new mainstack (not substack) JL wrote: When you save the new stack, save it by its full name, including the path and ".rev" - that is how I do it. Kurt: That's it. Now it works. Thanks to all. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From davis.phil at comcast.net Fri Apr 22 12:43:23 2005 From: davis.phil at comcast.net (Phil Davis) Date: Fri, 22 Apr 2005 09:43:23 -0700 Subject: Rev as server immune to buffer overflow? In-Reply-To: <426927FD.8020503@fourthworld.com> References: <426927FD.8020503@fourthworld.com> Message-ID: <426929AB.1000703@comcast.net> Check this out, Richard - I think it's your answer: http://www.mail-archive.com/metacard at lists.runrev.com/msg02659.html Phil Davis Richard Gaskin wrote: > I vaguely recall someone quoting Scott Raney as saying that buffer > overflow issues aren't a concern when building any socket apps with the > engine. > > Do I recall correctly? Any of you have more background on that? > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Fri Apr 22 12:55:59 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Apr 2005 09:55:59 -0700 Subject: Rev as server immune to buffer overflow? In-Reply-To: <426929AB.1000703@comcast.net> References: <426927FD.8020503@fourthworld.com> <426929AB.1000703@comcast.net> Message-ID: <42692C9F.2000809@fourthworld.com> Phil Davis wrote: > Check this out, Richard - I think it's your answer: > http://www.mail-archive.com/metacard at lists.runrev.com/msg02659.html Perfect -- just what I was looking for. Thank you. And in Raney's inimitably bold style, no less. :) Looking forward to seeing you in Monterey... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jperryl at ecs.fullerton.edu Fri Apr 22 12:59:41 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 22 Apr 2005 09:59:41 -0700 (PDT) Subject: Some advice about Dreamcard player In-Reply-To: <343685599.20050422090335@ahsoftware.net> Message-ID: Jim, AFAIK, your uncompiled Rev stack should be playable within the player. All I personally know about the player is that it crashes our OS 9 Macs in the lab whenever it is accidentally launched. Judy From b.xavier at internet.lu Fri Apr 22 13:12:44 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 22 Apr 2005 19:12:44 +0200 Subject: Rev as server immune to buffer overflow? In-Reply-To: <426927FD.8020503@fourthworld.com> Message-ID: <20050422172511.C646F930141@mail.runrev.com> Richard, Im glad you asked this but I didn't want to scare the community... ;) Buffer overflow only affect cpu register handling. Macs have data and execution (scripts ;) register in their cpus while PCs have a mixed register where the malicious calls can be "faked"... Data becomes "script" and voila - compromized! Macs are inmune more or less. And i guess pc makers are trying to fix that too... I wouldn't be concerned with them as much as securing a transaction protocol before doing any net negotiation... Or making a secure registration protocol for securing your software. Etc, etc... Beware there's a zillion more security holes worse than those. I know a lot in Rev but hell im gonna tell ya! Just today, we just got some free tickets to a race in zolder.be through a stupid web-form where you could add your name to print the ticket in the url ;)) Just an example... So regarding, a past mail against Tuv's RSA examples, the best security is through education, nothing more. I have a pc, web server, mysql, and i've been able to plug in each hole and rarely, rarely get a virus (2 in 4 years without damage) - spywares took me by surprise once... and that will go even through Chipp's ieexplorer plugin - left by default open by the software maker again? OK, i didn't know it, it's patched now... No big deal. But Thanks to backups and "reasonable" usage, there's no danger!!! If you want real security buy it or learn it... Only took 20 rules to rule out most of my spam! Things like that, just take the users ingenuity, nothing more... there's no substitute for education Xav http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Friday, April 22, 2005 18:36 > To: How to use Revolution > Subject: Rev as server immune to buffer overflow? > > I vaguely recall someone quoting Scott Raney as saying that > buffer overflow issues aren't a concern when building any > socket apps with the engine. > > Do I recall correctly? Any of you have more background on that? > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From public at veggio.com Fri Apr 22 13:22:19 2005 From: public at veggio.com (Varen Swaab) Date: Fri, 22 Apr 2005 10:22:19 -0700 Subject: Image Library question In-Reply-To: References: Message-ID: <7b15e1842b51d04555c41ee874ad6cbd@veggio.com> Xavier Thanks for the info but I'm not sure what to do from here. You say to set the image IDs above 1 billion but how do I do that? I'm importing a folder full of images, I'm not even sure how to do that with one image. I admit to be a little dismayed and discouraged that this problem and I'm surprised it hasn't been addressed yet. (hek, it's not even a "confirmed" bug in the Bug Database. This has become a big issue for me as now all my images are messed up and I have no confidence in the image management system of RR. I may now need to completely rebuild my stack from scratch to fix this problem and it will cost me a lot of time and effort. Varen On Apr 21, 2005, at 10:54 PM, xbury.cs at clearstream.com wrote: > Hi Varen > > I think the issue is this... > > http://support.runrev.com/bugdatabase/show_bug.cgi?id=2449 > > Not the first or last time. You'll find some solutions and answers to > your > > questions there I hope... > > Im writing a library to avoid the issue altogeter and have both images > and > any references reassigned to unique ids but library images are always a > big job... > > cheers > Xavier > > On 22.04.2005 07:47:05 use-revolution-bounces wrote: >> Hi everyone, >> >> I'm working on an application which has about 25 .png files imported >> via the image library. We recently discovered an aesthetic problem >> with the images which required me to import new images into the >> stack's >> library. >> >> When I imported the new images I noticed some wrong images being used >> in the various button states even though I'm sure the images were >> being >> called correctly. I have several button states I'm working with, >> mouseEnter, mouseClick, etc. In a seemingly random pattern some >> button >> images have been replaced by very old images I'd imported into, and >> deleted from the application weeks ago. >> >> In other cases, the thumbnail in the Image Library was of a totally >> different image than the actual imported image, but when viewed in the >> stack the image was correct. >> >> For example, when I mouse over a button an image appears that I >> deleted >> from the application in February. I haven't seen or used this image in >> a long time but BANG there it is!! fI know the image number is being >> called is correctly and the image appears correctly in the stack, but >> not in the button. >> >> Has anyone ever seen this problem before? It seems that there is an >> image cache that isn't properly cleared when images are deleted, or >> something else is going on. >> >> BTW, I even created a new substack, imported the new images, and the >> same problem happens. >> >> Any help or ideas are appreciated. >> >> Varen >> >> _______________________________________________ >> 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 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Fri Apr 22 13:35:08 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 22 Apr 2005 19:35:08 +0200 Subject: Rev as server immune to buffer overflow? In-Reply-To: <20050422172511.C646F930141@mail.runrev.com> Message-ID: <20050422174734.528D0930104@mail.runrev.com> regarding the comment about Tuv's RSA stack example, mail from Klaus if i remember right (no offense included at all!), is that knowledge of RSA technology my help decypher Tuv's work. Im sure he'll be honored! Unless Tuv is the kind of programmer that uses girl's names for variables, it shouldn't be a problem to understand... (unless stack scripts are locked ;) But what i mean is that we can all read RSA code to a degree if we know what RSA is about... Right Tuv ? RSA is cool, in use by many banks for transactions but kind of obsolete given quantum cyphers or computers. Nonetheless, like satelitte or any secured channel transmission, the crypto technology is less interesting than the implementation that really makes it secure - no middleman or brute force attacks allowed for example... cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX > Sent: Friday, April 22, 2005 19:13 > To: 'How to use Revolution' > Subject: RE: Rev as server immune to buffer overflow? > > Richard, > > Im glad you asked this but I didn't want to scare the community... ;) > > Buffer overflow only affect cpu register handling. Macs have > data and execution (scripts ;) register in their cpus while > PCs have a mixed register where the malicious calls can be > "faked"... Data becomes "script" and voila > - compromized! Macs are inmune more or less. And i guess pc > makers are trying to fix that too... > > I wouldn't be concerned with them as much as securing a > transaction protocol before doing any net negotiation... Or > making a secure registration protocol for securing your > software. Etc, etc... > > Beware there's a zillion more security holes worse than > those. I know a lot in Rev but hell im gonna tell ya! Just > today, we just got some free tickets to a race in zolder.be > through a stupid web-form where you could add your name to > print the ticket in the url ;)) Just an example... > > So regarding, a past mail against Tuv's RSA examples, the > best security is through education, nothing more. I have a > pc, web server, mysql, and i've been able to plug in each > hole and rarely, rarely get a virus (2 in 4 years without > damage) - spywares took me by surprise once... and that will > go even through Chipp's ieexplorer plugin - left by default > open by the software maker again? OK, i didn't know it, it's > patched now... No big deal. But Thanks to backups and > "reasonable" usage, there's no danger!!! If you want real > security buy it or learn it... Only took 20 rules to rule out > most of my spam! Things like that, just take the users > ingenuity, nothing more... > > there's no substitute for education > > Xav > http://monsieurx.com > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf > Of Richard > > Gaskin > > Sent: Friday, April 22, 2005 18:36 > > To: How to use Revolution > > Subject: Rev as server immune to buffer overflow? > > > > I vaguely recall someone quoting Scott Raney as saying that buffer > > overflow issues aren't a concern when building any socket apps with > > the engine. > > > > Do I recall correctly? Any of you have more background on that? > > > > -- > > Richard Gaskin > > Fourth World Media Corporation > > __________________________________________________ > > Rev tools and more: http://www.fourthworld.com/rev > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From livfoss at blueyonder.co.uk Fri Apr 22 13:35:09 2005 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri, 22 Apr 2005 18:35:09 +0100 Subject: Setting print margins Message-ID: On Fri, 22 Apr 2005 08:36:41 -0700, Jim Hurley wrote: > > I am trying to print labels but I can't seem to be able to set the > left margin to .25". I running Run Rev 2.5 on a Mac OS X. (I know > the printer will go there. No trouble using FileMaker.) > > I have tried to set a custom page size in the Page Setup, but Run Rev > ignores that setting and resets to Letter size. > > Little help, please. > > Jim Jim I have been bitten by something like this: I didn't realise that when you print a card, RunRev prints the image of the entire card or pagerect (see the docs on the 'print' command) edge to edge **within** the print area which is available on the printer after the margin settings have been applied. It doesn't work to create a card which is a simulated bit of paper, with white space corresponding to the printer's margins around it: if you do this, the white space (margins) on your card will be added to the white space which you created by setting the margins using Page Setup (if you were lucky enough to find a way of doing this) or by setting the printMargins by script. So if you want the print margins you set to apply with no further white space, you have to set the RunRev global property 'printMargins' to 0.25" or whatever (for example to do a quarter of an inch all round, the printMargins need to be set to 18,18,18,18), and print a card (or pageRect) where the text starts at the edge of the defined area. I just tried this and it worked (OSX). If this sounds confusing, it is. Roll on better print control from with RunRev, proper access to printer drivers and print interfaces that meet user expectations (vote for Bugzilla no 1619). Graham ------------------------------------------------------------------------ --- Graham Samuel / The Living Fossil Co. / UK and France From mparent at readnaturally.com Fri Apr 22 13:42:33 2005 From: mparent at readnaturally.com (michael parent) Date: Fri, 22 Apr 2005 12:42:33 -0500 Subject: Several Text issues Message-ID: <1D6B534B0B0BB04999ED232B8DA8A52C087A42@READNATSERVER.readnaturally.local> I looked at these suggestions still need help 1 Cannot see how I set the Htmltext when I am putting the text into the field 2. I need to search by a user entered search string so it has to be by variable, how Do I use the Find command with a variable, or is there a different way to do this? 3. The revgourl seems to open the file, I don't want to open the file, I want to open the Explorer Window to that file location so then the user has access to the file to attach to email or burn to CD ect. This is mainly going to be on Windows XP Pro Thanks again Michael Parent -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Friday, April 22, 2005 10:16 AM To: How to use Revolution Subject: Re: Several Text issues Michael, HTH Tom On Apr 22, 2005, at 10:01 AM, Michael Parent wrote: > 1. I would like to format the text in the field for better reading, > how do I use the set htmltext property to format the text field, do I > put that in the text field script? Do this when you put the text into the field. If you do it by script then do it from there otherwise make a temp button and put it in there then delete the button later. > 2. I want the user to enter a search string and be able to find that > in the text field, the string could be a file name or an extension > type. Do I use the find command? what is the format? I want to be able > to find anything that closeley matches the search as well as exact > matches, and have that open in a new stack. The documenation shows how > to use Find with a specific string but not how to do it with a > variable. Find works: find string "beat must go on" in field "Quotes" as well as 'is among' is 'not among' as well as the offsets - lineoffset, itemoffset, wordoffset > 3. I would like to be able to open to that file in an explorer window > (only needs to be windows, but a cross platform way would be great) by > clicking on the file name in the search result window. use the revgourl - revGoURL "http://www.example.org/info.html" revGoURL "http://me:secret at www.example.com/secret-plan/" revGoURL it revGoURL "mailto:guido at sales.example.com" revGoURL "file:///Folder/file.html" > Thanks for all your help > > Michael Parent > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Fri Apr 22 14:06:58 2005 From: mikeythek at gmail.com (Mikey) Date: Fri, 22 Apr 2005 14:06:58 -0400 Subject: Rev as server immune to buffer overflow? In-Reply-To: <20050422174734.528D0930104@mail.runrev.com> References: <20050422172511.C646F930141@mail.runrev.com> <20050422174734.528D0930104@mail.runrev.com> Message-ID: <9b408d8e05042211067d1f4c70@mail.gmail.com> > RSA is cool, in use by many banks for transactions but kind of obsolete > given quantum cyphers or computers. Uh, this is still a little far off, don't you think? The announcement on /. three weeks ago that someone had finally built a quantum computer capable of evaluating three (was it three? Was it four?) bits made big waves, until it was realized that upscaling this is still at least a decade away. On the other hand, quantum key generation is here now, works really well (oh MAN is that clever!), and can generate infinite length truly random keys. The problem is that going the other way is much much much much more complicated, and overcoming quantum-generated keys is going to require another branch of math. I still can't believe how clever the key generation hardware is: One laser, one mirror, two detectors. That is SO COOL! -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From eric.chatonet at sosmartsoftware.com Fri Apr 22 14:10:41 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Apr 2005 20:10:41 +0200 Subject: Several Text issues In-Reply-To: <1D6B534B0B0BB04999ED232B8DA8A52C087A42@READNATSERVER.readnaturally.local> References: <1D6B534B0B0BB04999ED232B8DA8A52C087A42@READNATSERVER.readnaturally.local> Message-ID: Hi Michael, About your first point about HTML, you might check the html Property in the docs and dowload my Encoded Text Picker plugin (from my web site) which is a translator from/to HTML and/or UrlEncode. It will show you *on the fly* the difference between tagged text ant *plain* text, then you will understand easily how to specify the right tags to build html :-) And... set the htmlText of fld "MyField" to MyTaggedText Best, Le 22 avr. 05, ? 19:42, michael parent a ?crit : > 1 Cannot see how I set the Htmltext when I am putting the text into the > field Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Fri Apr 22 14:13:43 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Apr 2005 11:13:43 -0700 Subject: Rev as server immune to buffer overflow? In-Reply-To: <20050422172511.C646F930141@mail.runrev.com> References: <20050422172511.C646F930141@mail.runrev.com> Message-ID: <42693ED7.2080409@fourthworld.com> MisterX wrote: > I wouldn't be concerned with them as much as securing a transaction protocol > before doing any net negotiation... Or making a secure registration protocol > for securing your software. Etc, etc... > > Beware there's a zillion more security holes worse than those. I know a lot > in Rev but hell im gonna tell ya! Just today, we just got some free tickets > to a race in zolder.be through a stupid web-form where you could add your > name to print the ticket in the url ;)) Just an example... The web form was made in Rev? All OSes and protocols have security exposures which will affect any software using them. But if you know of security exposures *unique to Rev* I agree that it would be counter-productive to publish them, but perhaps equally counter-productive to not report them to rev. Given the potential sensitivity of such issue I'm sure Kevin wouldn't mind a personal email rather than a public Bugzilla report: kevin at runrev.com -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From klaus at major-k.de Fri Apr 22 14:34:51 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 22 Apr 2005 20:34:51 +0200 Subject: slight cosmetic bug Message-ID: <841694946a5891f872fe0bb29257002e@major-k.de> Hi friends, for your records :-) i just made a new godzilla entry, concerning the disapearing border when focusing a field which has its showfocusborder set to false... http://support.runrev.com/bugdatabase/show_bug.cgi?id=2796 Regards Klaus Major klaus at major-k.de http://www.major-k.de From mwieder at ahsoftware.net Fri Apr 22 14:44:17 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Apr 2005 11:44:17 -0700 Subject: Some advice about Dreamcard player In-Reply-To: References: Message-ID: <7913327103.20050422114417@ahsoftware.net> Judy- Friday, April 22, 2005, 9:59:41 AM, you wrote: JP> All I personally know about the player is that it crashes our OS 9 Macs in JP> the lab whenever it is accidentally launched. There's a valuable lesson to be learned here - always launch the player *on purpose* in OS9. -- -Mark Wieder mwieder at ahsoftware.net From b.xavier at internet.lu Fri Apr 22 14:51:59 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 22 Apr 2005 20:51:59 +0200 Subject: Image Library question In-Reply-To: <7b15e1842b51d04555c41ee874ad6cbd@veggio.com> Message-ID: <20050422190425.44C739300B0@mail.runrev.com> Varen, Until i can release my mediastack... Klaus or Mickey might tell you what they think about it... (without mentioning the unfinishedness of it of course)... but until then, here's a little insight (or a lot ;) I wish I could share a quick script but's it's now gotten much bigger and complicated which is not the point... Alternative procedure: Import the folder into a new stack... Set the mainstack of your new "media" stack to the main stack you use or just open it and hide it so your stacks can use it (note that if you open the media stack after, the stack needs a toplevel kick in the but to refresh it's images (bugzilla lurking already)). Make a button in the media stack. In it, put a repeat loop script to make all ids of each image +1 zillion (set the id of image x to x+K). Note there's a limit to the max integer in ids. -- imagine what is an id... function isImgIDReserved what return (what >= 1 and what < 100) or \ (what >= 101 and what < 135) or \ (what >= 236 and what < 300) or \ (what >= 301 and what < 1000) or \ (what >= 101000 and what < 103000) or \ (what >= 200000 and what < 299999) end isImgIDReserved Now there's a little trick... if you have already set the patterns or icons of buttons with your media before you set the ids, you have to track the icons and patterns of all your controls before you reassign or replace the ids for the correct images. Problem #1: can't use the name of an image unless you use the path of the image (then problem and media stack are futile, but 1 stack file is better than 50 images folder). Problem #2: remember which stack used which media stack or ID range. Problem #3: hope that no other stack already uses the same ids... You work on many stacks at once instead of a one stack project for example. Solution #1: encode names as numbers (base 256 numbers encoding). It might help in the diversity or standardization of images in use. Solution #1b: use the md5 hash of the image data to generate an id. In solution #3, this helps identify duplicates... Solution #2: use stackID:imageID to define your IDs' range. Names [encoding] instead/along ids can help if there's a zillion images. solution #3: one stack with media, the rest depend on it... Stack stability problems? There's lots to think about this. One issue is that stacks can't have the same name (yet have different ids!) - why can images then? I might even add that in an object programing level, any global can be harmful is is disrecommended. In this case it fouls the inheritance of private resources/data in a stack. A choice to make images public, shared, or private could help. And this could be caried on to cards, groups, bgs, etc... Am i too far ahead again? And this imoho is a mistake that polutes the image stack-independent id space... Im sure menus or controls could be confused in this way in a script maybe somewhere along the line (and be exploited as a security hole maybe too ;). To be precise, stay simple... Use the solution that is best for you. Adapt to your needs and duplicate the shared/experience for the standalones... Just use an original id ;) cheers Xavier -- http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Varen Swaab > Sent: Friday, April 22, 2005 19:22 > To: How to use Revolution > Subject: Re: Image Library question > > Xavier > > Thanks for the info but I'm not sure what to do from here. > You say to set the image IDs above 1 billion but how do I do > that? I'm importing a folder full of images, I'm not even > sure how to do that with one image. > > I admit to be a little dismayed and discouraged that this > problem and I'm surprised it hasn't been addressed yet. (hek, > it's not even a "confirmed" bug in the Bug Database. This has > become a big issue for me as now all my images are messed up > and I have no confidence in the image management system of RR. > > I may now need to completely rebuild my stack from scratch to > fix this problem and it will cost me a lot of time and effort. > > Varen > > > On Apr 21, 2005, at 10:54 PM, xbury.cs at clearstream.com wrote: > > > Hi Varen > > > > I think the issue is this... > > > > http://support.runrev.com/bugdatabase/show_bug.cgi?id=2449 > > > > Not the first or last time. You'll find some solutions and > answers to > > your > > > > questions there I hope... > > > > Im writing a library to avoid the issue altogeter and have > both images > > and any references reassigned to unique ids but library images are > > always a big job... > > > > cheers > > Xavier > > > > On 22.04.2005 07:47:05 use-revolution-bounces wrote: > >> Hi everyone, > >> > >> I'm working on an application which has about 25 .png > files imported > >> via the image library. We recently discovered an aesthetic > problem > >> with the images which required me to import new images into the > >> stack's library. > >> > >> When I imported the new images I noticed some wrong images > being used > >> in the various button states even though I'm sure the images were > >> being called correctly. I have several button states I'm working > >> with, mouseEnter, mouseClick, etc. In a seemingly random pattern > >> some button images have been replaced by very old images > I'd imported > >> into, and deleted from the application weeks ago. > >> > >> In other cases, the thumbnail in the Image Library was of > a totally > >> different image than the actual imported image, but when viewed in > >> the stack the image was correct. > >> > >> For example, when I mouse over a button an image appears that I > >> deleted from the application in February. I haven't seen > or used this > >> image in a long time but BANG there it is!! fI know the > image number > >> is being called is correctly and the image appears > correctly in the > >> stack, but not in the button. > >> > >> Has anyone ever seen this problem before? It seems that > there is an > >> image cache that isn't properly cleared when images are > deleted, or > >> something else is going on. > >> > >> BTW, I even created a new substack, imported the new > images, and the > >> same problem happens. > >> > >> Any help or ideas are appreciated. > >> > >> Varen > >> > >> _______________________________________________ > >> 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 > > _______________________________________________ > > 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 b.xavier at internet.lu Fri Apr 22 15:07:24 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 22 Apr 2005 21:07:24 +0200 Subject: Several Text issues In-Reply-To: <1D6B534B0B0BB04999ED232B8DA8A52C087A42@READNATSERVER.readnaturally.local> Message-ID: <20050422191949.D9BAA9300B0@mail.runrev.com> Michael > I looked at these suggestions still need help you need to copy to look to find to search to make it work kinda thing it is you know ;) Like every skill... > 1 Cannot see how I set the Htmltext when I am putting the > text into the field local mylastsearch on mouseup put "http://runrev.com" into thisurl get url thisurl # i'll skip the checking for brevity> put it into thisvariable set the htmlfield of fld "myhtmlfield" to thisvariable > 2. I need to search by a user entered search string so it has > to be by variable, how Do I use the Find command with a > variable, or is there a different way to do this? -- script continued... answer "search for what:" with mylastsearch if it is empty or the result is "cancel" then exit mouseup put lineoffset(it, fld "myhtmlfield") into x if x is less than one than answer "sorry '"& it & "' not found, at least you got an htmlfield!" exit mouseup end if else put offset(it,fld "myhtmlfield") into a set the textcolor of char a to a+length(it) of fld "myhtmlfield" to red put it into mylastsearch end mouseup something like that says my hat. I know it's incomplete but it should send you on your way to great scripting. The Find command is better used for stack card searching. In-field searching is done with offset searches and "text" selection or hiliting (in this case) ;) > 3. The revgourl seems to open the file, I don't want to open > the file, I want to open the Explorer Window to that file > location so then the user has access to the file to attach to > email or burn to CD ect. This is mainly going to be on Windows XP Pro if you want a fully featured example, find the DiscreteBrowser on http://MonsieurX.com which I think does it all but now does even more ;) Although CD burning... Let's get serious... There's also lots of examples in the RevDocs (find revgourl) that you can find via the "see also" in each 'card' - an exploration of the links and examples in revdocs usually solves most basic scripting questions... Xav http://monsieurx.com Stacks of nitrous injections for your stacks From revdan at danshafer.com Fri Apr 22 15:16:59 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 22 Apr 2005 12:16:59 -0700 Subject: Where xTalk Excels (Was Re: OT: Adobe kills Director) In-Reply-To: References: <20050420231537.F094C93017E@mail.runrev.com> <42677B15.2040000@fourthworld.com> <9b408d8e050421083046c97d69@mail.gmail.com> <9b408d8e05042207075c509b0d@mail.gmail.com> Message-ID: There have been some wonderfully eloquent descriptions in this thread of why some of us prefer xTalk to more conventional programming languages. I liked the poetry vs. novel, sprint vs. marathon analogy a lot. For me, writing software and writing prose and poetry are very similar processes. I spend virtually all of my time engaged in one or the other of those creative pursuits. And, for me, xTalks are the only languages that get out of the way and let me create. I don't have to spend a huge amount of time thinking about syntax, structure, and other elements of the language. i just use it. This comes from a couple of features of xTalks that are not generally shared with other languages: their human-like syntax and their encouragement of verbosity. Many years ago, Adele Goldbert, a Smalltalk pioneer, wrote a wonderful paper for the ACM called "Programmer as Reader" in which she argued persuasively that since most programs spend far more of their life cycles in maintenance mode than in development mode, it was important that programs be inherently readable. Smalltalk took a very sentence-structure approach to creating readability and it is that feature which drew me to it. Transcript code tends to be more readable than code written in other languages, in part, I think, because the syntax itself is verbose. Writing "put 14 into field 'age'" puts the coder in a different mind set than "age=14". At least it seems to in my head. Perhaps in part because of this human-readability and verbosity (I suspect the two go hand-in-hand), it is far more often the case that a Transcript statement does what I expect it to do even when I'm unsure of the syntax than is true of most other languages (notable exception for me being Python). I'm amazed as I work on projects how often I go through this process: (1) I wonder how to say that in Revolution; (2) I'll try it this way and see what happens; (3) what do you know, it worked. This is in part, of course, because the very high-level nature of the language means that step 2 never (at least in my experience so far) causes any catastrophes. (That possibility is what ultimately caused my uneasiness with Smalltalk, where it was at least theoretically possible that I could munge up the entire Smalltalk image, not just my app, since I was never isolated from it.) People who don't program for a living and who are generally not trained in computer art (I'm not sure it's really a science, are you?) generally find xTalk languages more comfortable, inviting and productive. And it's good to hear from some real professional coders who are finding the same experience. On Apr 22, 2005, at 8:11 AM, Jesse Sng wrote: >> You know, Jesse, I COMPLETELY get it now. >> >> xTalk is the main reason why I decided to check out (and then buy a >> copy of) RR a couple of months ago. I'm completely hooked on the >> language, which is stupid and crazy, since I've worked in >> 30+languages, most of them BEFORE xTalk, and I had more-or-less given >> up on xTalk for the last 10 years. > > I've been in the same situation. I could do the other stuff better > than most people but there was something about XTalk that was > unmatched. > > I compared it to writing novels vs writing poetry. XTalk development > was like poetry, you do it in small chunks, in small, elegant bits and > instead marching down the timeline of a project, you could sprint in > short spurts and then get to enjoy the scenery at the same time. > >> It isn't rational to like xTalk more than BASIC. OK, no, that's so >> not true. I'm shutting up now. I actually was pondering writing an >> xTalk interpreter/cross-compiler earlier this year until I discovered >> RR. With the innovations that SC brought after I gave up on it that >> were then incorporated into RR I'm glad I didn't. Of course, RR has >> quirks in it that are extremely annoying, but with some suggestions >> from Richard, I'm hopeful that I can ultimately overcome them. > > Folks used poo-poo the stuff I did in SC, saying that they could > better with all their advanced tools and superior brains, but nothing > ever came out of those projects, while I moved it from black and white > Hypercard to Hypercard with 24 bit colour using my own externals, to > SC. > > While lots of things took very little code in SC, you can build very > sophisticated things with much code. Getting to enjoy Rev a bit more > and it helps when you try it out, do some stuff, back off, think a bit > before going back to it some more. > > Getting into Rev isn't quite the same as SC or HC, but it isn't > difficult either. > > Ultimately, I think it's because the development model better suits > the playfulness in my mind when I'm initiating a new project. It > invites the playfulness and the experimentation, very much like > messing around with your kids' Lego bricks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Fri Apr 22 15:20:38 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 22 Apr 2005 12:20:38 -0700 Subject: Some advice about Dreamcard player In-Reply-To: References: <20050422033839.497B4930100@mail.runrev.com> Message-ID: <104a9af746f95f39efc42ab0edd15555@danshafer.com> As far as I know, any Rev stack that doesn't rely on features not supported in DC (including, e.g., database access) will run in the DC environment. Most of the time, though, it's probably better to compile it. On Apr 22, 2005, at 6:23 AM, Jim Hurley wrote: > This program was intended only for members of the Run Rev list, but I > would offer it to this individual to run on the Player. I have had no > experience with the Player. Does it run just Dreamcard stacks or any > Run Rev stack? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From jhurley at infostations.com Fri Apr 22 15:36:43 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 22 Apr 2005 12:36:43 -0700 Subject: Some advice about Dreamcard player In-Reply-To: <20050422182348.9EA6E930163@mail.runrev.com> References: <20050422182348.9EA6E930163@mail.runrev.com> Message-ID: > >Message: 12 >Date: Fri, 22 Apr 2005 09:59:41 -0700 (PDT) >From: Judy Perry >Subject: Re: Some advice about Dreamcard player >To: How to use Revolution >Message-ID: > >Content-Type: TEXT/PLAIN; charset=US-ASCII > >Jim, > >AFAIK, your uncompiled Rev stack should be playable within the player. > >All I personally know about the player is that it crashes our OS 9 Macs in >the lab whenever it is accidentally launched. > >Judy > Thanks Judy. Well, if it crashed for him, all he will have lost is access to a free stack--and time spent. Jim From jhurley at infostations.com Fri Apr 22 15:48:10 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 22 Apr 2005 12:48:10 -0700 Subject: Setting print margins In-Reply-To: <20050422182348.9EA6E930163@mail.runrev.com> References: <20050422182348.9EA6E930163@mail.runrev.com> Message-ID: > >Message: 16 >Date: Fri, 22 Apr 2005 18:35:09 +0100 >From: Graham Samuel >Subject: Re: Setting print margins >To: Rev Use-List >Message-ID: >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed >(snip) > >If this sounds confusing, it is. Roll on better print control from with >RunRev, proper access to printer drivers and print interfaces that meet >user expectations (vote for Bugzilla no 1619). > >Graham >----------- Thank you so much Graham. Setting the print margins did the trick. I am off to support 1619. What would be nice is see the "printMargins" property incorporated into the Custom page size in the Page Setup. Jim From katir at hindu.org Fri Apr 22 16:40:26 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 22 Apr 2005 10:40:26 -1000 Subject: OT-Lay explanations of Unicode Message-ID: For the back cover "Digital Dharma" page of the next issue of our international magazine, Hinduism Today, I'm writing a 1/3 page article on Unicode with a focus on fonts, now that Tiger has added Tamil to their list of supported Unicode languages. I need as non-geeky an explanation as I can get without dumbing it down so far that the information is useless. Added boon: This might even help me me figure out what is going on inside Revolution with Unicode, and possibly resolve some of the mysteries (read "headaches") we're having moving text from InDesign to raw ascii- - XML to BBEdit, to Revolution and back again... OF course, I will dig the web myself, but if any of you unicode wizards can supply me (offlist) with URLs, a layperson's description or a reference, I would very much appreciate it. even a few one-5 liner metaphoric descriptions to help visualize it could be useful. "UTF-8" and "UTF-16" means something like "Unidentified Torch Flowers--8 of them..." to me today ... but I hope to correct this understanding shortly. (smile) Best from Hawaii, 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 psahores at easynet.fr Fri Apr 22 16:59:45 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 22 Apr 2005 22:59:45 +0200 Subject: Rev as server immune to buffer overflow? In-Reply-To: <426927FD.8020503@fourthworld.com> References: <426927FD.8020503@fourthworld.com> Message-ID: <032b1bf2c4a7c69ad6debb5c609e3f3d@easynet.fr> Hello Richard, If you avoid the use of "GET" calls to access from a client app to your rev sockets driven server = if you only use "POST" procs, the server will never wake up if he recieve a request witch is not listed in its predefinite collection of actions to handle. It will just stay in idle state => no way, in using this design guideline to have the rev app server going to bufferoverflow trouble... Just unpossible. I never got this in huit yahrs of MC/Rev applications servers deploymen ;-) Best, Pierre > I vaguely recall someone quoting Scott Raney as saying that buffer > overflow issues aren't a concern when building any socket apps with > the engine. > > Do I recall correctly? Any of you have more background on that? > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chris at carroll-davis.co.uk Fri Apr 22 17:14:39 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Fri, 22 Apr 2005 22:14:39 +0100 Subject: Printing Transparent Bitmap Images In-Reply-To: <1d5.3a999f42.2f9a6934@aol.com> References: <1d5.3a999f42.2f9a6934@aol.com> Message-ID: <13f31e41d3f804b0f440b325b8be80cd@carroll-davis.co.uk> Fred - I got caught out with this recently too. Not good news I'm afraid. Rev will only print images that have an alpha channel (transparent) in low resolution. (Presumably that is 72 dpi?) I'm not aware of any effective workaround for this, but perhaps more experienced Revolutionaries might? Sorry to be bearer of bad news :-( Chris On 22 Apr 2005, at 15:50, FMoyer at aol.com wrote: > I'm having problems printing overlapping transparent bitmap images in > Revolution. I try it so many ways, but it seems that whatever I do, > transparent > images print poorly (they become fuzzy) and opaque images print nice > and sharp. > > Oddly enough, sometimes images that are transparent on screen print > sharp, > but they also turn out to be opaque on the printout (i.e., they > obliterate the > images underneath.) I have tried taking a snapshot of the card and > printing > that; the image does print transparent, but the printout becomes fuzzy. > > These images need to be transparent because they often overlap one > another. I > am using png's. > > Does anyone (e.g. Chipp Walters, Scott Rossi) have any suggestions? > > Thanks a lot. > Fred Moyer > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Fri Apr 22 18:24:01 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 22 Apr 2005 15:24:01 -0700 Subject: Several Text issues In-Reply-To: <1D6B534B0B0BB04999ED232B8DA8A52C087A42@READNATSERVER.readnaturally.local> References: <1D6B534B0B0BB04999ED232B8DA8A52C087A42@READNATSERVER.readnaturally.local> Message-ID: <24416c6f34e841859ad026b87dd1fe45@danshafer.com> On Apr 22, 2005, at 10:42 AM, michael parent wrote: > I looked at these suggestions still need help > > 1 Cannot see how I set the Htmltext when I am putting the text into the > field > Put the text that you want in the field into a variable, then set the htmlText of the field to the variable. Assume that the list of files you want to display is in a variable called tFilesToShow: set the htmlText of field "File List" to tFilesToShow > 2. I need to search by a user entered search string so it has to be by > variable, how Do I use the Find command with a variable, or is there a > different way to do this? > Just put the variable into the search command. Assume the variable is called tTextToFind: find string tTextToFind in field "File List" You may want to use some other form than "string"; the "find" docs are pretty clear on these options. > 3. The revgourl seems to open the file, I don't want to open the file, > I > want to open the Explorer Window to that file location so then the user > has access to the file to attach to email or burn to CD ect. This is > mainly going to be on Windows XP Pro > I don't see any documented way to do this. > Thanks again > > Michael Parent > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Fri Apr 22 18:26:32 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 22 Apr 2005 15:26:32 -0700 Subject: Initial Caps in Table Fields In-Reply-To: References: Message-ID: Can't reproduce this one, Tom. It works correctly on my system (OS X 10.3.9, Rev 2.5.1) every time. On Apr 21, 2005, at 8:38 PM, Thomas McGrath III wrote: > Actually it is only the upper most top left table field that wants to > capitalize the first letter. The ones below it will stay lower case if > I typed it that way. > > This is weird to me? > > Tom > > On Apr 21, 2005, at 11:17 PM, Thomas McGrath III wrote: > >> Hey, does anyone know WHY 'table fields' keep initial capitalizing >> each word when I tab out of that field? >> >> Is there a way to turn this off? I need exact names in the table. >> >> >> TOm >> >> Thomas J. McGrath III >> SCS >> 1000 Killarney Dr. >> Pittsburgh, PA 15234 >> 412-885-8541 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Macintosh PowerBook G-4 OSX 10.3.8, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.5 > > > Advanced Media Group > Thomas J McGrath III > 3mcgrath at adelphia.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From dburgun at dsl.pipex.com Fri Apr 22 18:42:31 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 22 Apr 2005 23:42:31 +0100 Subject: Rev as server immune to buffer overflow? In-Reply-To: <032b1bf2c4a7c69ad6debb5c609e3f3d@easynet.fr> References: <426927FD.8020503@fourthworld.com> <032b1bf2c4a7c69ad6debb5c609e3f3d@easynet.fr> Message-ID: Hi, Is it possible to send an object to another object on a different stack? I'd like to be able to do something like this: send "AddMenu button "xyz"" to Group "MainMenu" (I know I need to use quote) And then have the AddMenu handler add "xyz" to the group? I would use the "copy" command to copy the object. Any tips on how to make this work greatly appreciated. Thanks a lot Dave From dburgun at dsl.pipex.com Fri Apr 22 18:44:03 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 22 Apr 2005 23:44:03 +0100 Subject: Sending Objects to other Objects in different stacks? Message-ID: Hi, Is it possible to send an object to another object? What if the object that is being sent to is on a different stack? I'd like to be able to do something like this: send "AddMenu button "xyz"" to Group "MainMenu" (I know I need to use quote) And then have the AddMenu handler add "xyz" to the group? I would use the "copy" command to copy the object. Any tips on how to make this work greatly appreciated. Thanks a lot Dave From lists at mangomultimedia.com Fri Apr 22 18:44:34 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 22 Apr 2005 15:44:34 -0700 Subject: Several Text issues In-Reply-To: <1D6B534B0B0BB04999ED232B8DA8A52C042B86@READNATSERVER.readnaturally.local> References: <1D6B534B0B0BB04999ED232B8DA8A52C042B86@READNATSERVER.readnaturally.local> Message-ID: <0795705a1664b2bea7003865345d6b32@mangomultimedia.com> On Apr 22, 2005, at 7:01 AM, Michael Parent wrote: > 3. I would like to be able to open to that file in an explorer window > (only needs to be windows, but a cross platform way would be great) by > clicking on the file name in the search result window. On windows you can use this: set the hideConsoleWindows to true get shell(format("explorer.exe /root,\"%s\" ", pPath)) Where pPath is the path to your file. You will need to escape characters in the path. I *think* for windows you need to do the following. Someone correct me if I'm wrong. replace "/" with "\" in pPath --> CHANGE REV PATH DELIMITERS TO WINDOWS replace "&" with "^&" in pPath replace "|" with "^|" in pPath replace "(" with "^(" in pPath replace ")" with "^)" in pPath -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From ambassador at fourthworld.com Fri Apr 22 18:54:51 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Apr 2005 15:54:51 -0700 Subject: Sending Objects to other Objects in different stacks? In-Reply-To: References: Message-ID: <426980BB.9010600@fourthworld.com> David Burgun wrote: > Hi, > > Is it possible to send an object to another object? What if the object > that is being sent to is on a different stack? I'd like to be able to do > something like this: > > send "AddMenu button "xyz"" to Group "MainMenu" Just specify the stack by adding "of stack "MyStack" -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From Cubist at aol.com Fri Apr 22 18:57:10 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 22 Apr 2005 18:57:10 EDT Subject: Constraining the pointer Message-ID: <111.48c1983d.2f9adb46@aol.com> sez wouter.abraham at scarlet.be: >On 22 Apr 2005, at 11:53, David Glasgow wrote: >> I have an assessment that may be used with people with significant >> motor skills problems. At a point when they have to use a rating >> scale I constrain the pointer so it can't 'fall' of the scale. >I don't know in which kind of control structure you used the code above, >but I changed it a bit and put it inside a mousemove handler. >The code seems to work without jerks or delayed mousemovements or extra >overhead: > >on mousemove x,y > get rect of fld "container" > if x,y is not within it then > if x < item 1 of it then put (item 1 of it + 4) into tX --left >of field "container" > else if x > item 3 of it then put (item 3 of it - 4) into tX >--right of field "container" > else put x into tX > if y > item 4 of it then put (item 4 of it - 4) into tY >--bottom of field "container" > else if y < item 2 of it then put (item 2 of it + 4) into tY >--top of field "container" > else put y into tY > put (left of this stack) + tX into item 1 of tLoc > put (top of this stack) + tY into item 2 of tLoc > set the screenmouseloc to tLoc > end if >end mousemove I don't believe that mega-IF statement is truly necessary. Try this instead: on mouseMove X,Y put the rect of fld "container" into Fred put min (item 3 of Fred - 4, max (item 1 of Fred + 4, X)) into X put min (item 4 of Fred - 4, max (item 2 of Fred + 4, Y)) into Y set the screenMouseLoc to (X,Y) end mouseMove If the mouseLoc is within the specified rectangle, the mouse's X co-ord will be less than item 3 of the rect, and greater than item 1 of the rect. Thus, max (item 1 of rect, the mouse X) will always result in a number *at least* as large as that item 1, and min (item 3 of rect, the mouse Y) will always result in a number *no greater than* that item 3. Plug the results of the max into a min (sorry about how that sounds, but you get the idea, right?), and you end up with a number that *must* be somewhere between item 1 of the rect and item 3 of the rect. Something similar applies to the mouse's Y co-ord, and items 2 and 4 of the rect. Hope this helps... From 3mcgrath at adelphia.net Fri Apr 22 18:59:42 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 22 Apr 2005 18:59:42 -0400 Subject: Initial Caps in Table Fields In-Reply-To: References: Message-ID: Dan, I put a test stack in my user area. mcgrath3 "table issue with caps" type a lower case word in the upper left field and hit the tab key. It will capitalize. But not allways..... Tom On Apr 22, 2005, at 6:26 PM, Dan Shafer wrote: > Can't reproduce this one, Tom. It works correctly on my system (OS X > 10.3.9, Rev 2.5.1) every time. > > > On Apr 21, 2005, at 8:38 PM, Thomas McGrath III wrote: > >> Actually it is only the upper most top left table field that wants to >> capitalize the first letter. The ones below it will stay lower case >> if I typed it that way. >> >> This is weird to me? >> >> Tom >> >> On Apr 21, 2005, at 11:17 PM, Thomas McGrath III wrote: >> >>> Hey, does anyone know WHY 'table fields' keep initial capitalizing >>> each word when I tab out of that field? >>> >>> Is there a way to turn this off? I need exact names in the table. >>> >>> >>> TOm >>> >>> Thomas J. McGrath III >>> SCS >>> 1000 Killarney Dr. >>> Pittsburgh, PA 15234 >>> 412-885-8541 >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> Macintosh PowerBook G-4 OSX 10.3.8, OS 9.2.2, 1.25 GHz, 512MB RAM, >> Rev 2.5 >> >> >> Advanced Media Group >> Thomas J McGrath III >> 3mcgrath at adelphia.net >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From ambassador at fourthworld.com Fri Apr 22 19:16:05 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Apr 2005 16:16:05 -0700 Subject: Rev as server immune to buffer overflow? In-Reply-To: <032b1bf2c4a7c69ad6debb5c609e3f3d@easynet.fr> References: <426927FD.8020503@fourthworld.com> <032b1bf2c4a7c69ad6debb5c609e3f3d@easynet.fr> Message-ID: <426985B5.10500@fourthworld.com> Pierre Sahores wrote: > Hello Richard, > > If you avoid the use of "GET" calls to access from a client app to your > rev sockets driven server = if you only use "POST" procs, the server > will never wake up if he recieve a request witch is not listed in its > predefinite collection of actions to handle. It will just stay in idle > state => no way, in using this design guideline to have the rev app > server going to bufferoverflow trouble... Just unpossible. I never got > this in huit yahrs of MC/Rev applications servers deploymen ;-) If it's so simple, how does Microsoft keep getting it so wrong year after year? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mleonti at clear.net.nz Fri Apr 22 20:30:44 2005 From: mleonti at clear.net.nz (Mario Leonti) Date: Sat, 23 Apr 2005 12:30:44 +1200 Subject: Recovery of a corrupted stack Message-ID: <265f0eafc346b5f8d1951d54d586116c@clear.net.nz> Hi to all, I wander if anybody can help me. I had a stack that got deleted (hd was reinitialized). I managed to recover it but revolution does not want to open it. It says it's corrupted. I wander if there is a tool in revolution to recover corrupted stacks (all or partially). I tried opening the .rev file in a text editor but it shows nothing legible. Thanks for your help. WordPower phone: +64 4 293 4774 Software Developers email: wordpower at clear.net.nz Computer Consultants URL: http://members.fortunecity.com/wordpower1/ Film/Audio/Video/DVD Specialists snailMail: P.O. Box 160, Waikanae, New Zealand From ps1 at softseven.org Fri Apr 22 20:46:53 2005 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 22 Apr 2005 19:46:53 -0500 Subject: Recovery of a corrupted stack In-Reply-To: <265f0eafc346b5f8d1951d54d586116c@clear.net.nz> References: <265f0eafc346b5f8d1951d54d586116c@clear.net.nz> Message-ID: <6.1.1.1.2.20050422194100.02f7e620@softseven.org> At 07:30 PM 4/22/2005, you wrote: >Hi to all, > >I wander if anybody can help me. >I had a stack that got deleted (hd was reinitialized). I managed to >recover it but revolution does not want to open it. It says it's >corrupted. I wander if there is a tool in revolution to recover >corrupted stacks (all or partially). >I tried opening the .rev file in a text editor but it shows nothing legible. > >Thanks for your help. Maybe this answer will also help me, not a "reinitialized" I try to load it in my rev editor and it closes down not even asking if I wish to save. I can't even load in edit mode. Any suggestion. This script isn't some great program I was just making scripts to see how they worked so I remade in about 5 min. I would like to know why this is happening. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From wouter.abraham at scarlet.be Fri Apr 22 21:05:24 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Sat, 23 Apr 2005 03:05:24 +0200 Subject: Constraining the pointer In-Reply-To: <111.48c1983d.2f9adb46@aol.com> References: <111.48c1983d.2f9adb46@aol.com> Message-ID: On 23 Apr 2005, at 00:57, Cubist at aol.com wrote: > I don't believe that mega-IF statement is truly necessary. Try this > instead: > > on mouseMove X,Y > put the rect of fld "container" into Fred > put min (item 3 of Fred - 4, max (item 1 of Fred + 4, X)) into X > put min (item 4 of Fred - 4, max (item 2 of Fred + 4, Y)) into Y > set the screenMouseLoc to (X,Y) > end mouseMove > > If the mouseLoc is within the specified rectangle, the mouse's X > co-ord > will be less than item 3 of the rect, and greater than item 1 of the > rect. Thus, > max (item 1 of rect, the mouse X) will always result in a number *at > least* > as large as that item 1, and min (item 3 of rect, the mouse Y) will > always > result in a number *no greater than* that item 3. Plug the results of > the max into > a min (sorry about how that sounds, but you get the idea, right?), and > you > end up with a number that *must* be somewhere between item 1 of the > rect and > item 3 of the rect. > Something similar applies to the mouse's Y co-ord, and items 2 and > 4 of > the rect. > > Hope this helps... > Yeah it is a nice idea. But to make it work fluently you'll have to add at least 1 if statement and adjust the screenmouseloc coordinates by adding the left and top of the stack to x,y respectively. Otherwise you'll end up with a "constrain out of the card by jump off the left side", which people with significant motor skills problems won't really appreciate. Without the if statement the x,y coordinates will be set continuously which makes it very slow and jerky, at least on my slowbook. on mouseMove X,Y put the rect of fld "container" into Fred if x,y is not within Fred then put min (item 3 of Fred - 4, max (item 1 of Fred + 4, X)) into X put min (item 4 of Fred - 4, max (item 2 of Fred + 4, Y)) into Y set the screenMouseLoc to (left of this stack +X,top of this stack + Y) end if end mouseMove Greetings, Wouter From ambassador at fourthworld.com Fri Apr 22 21:04:17 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Apr 2005 18:04:17 -0700 Subject: Recovery of a corrupted stack In-Reply-To: <6.1.1.1.2.20050422194100.02f7e620@softseven.org> References: <265f0eafc346b5f8d1951d54d586116c@clear.net.nz> <6.1.1.1.2.20050422194100.02f7e620@softseven.org> Message-ID: <42699F11.1000508@fourthworld.com> Paul Salyers wrote: > Maybe this answer will also help me, not a "reinitialized" I try to load > it in my rev editor and it closes down not even asking if I wish to save. > > I can't even load in edit mode. Any suggestion. This script isn't some > great program I was just making scripts to see how they worked so I > remade in about 5 min. I would like to know why this is happening. I'll bet the folks at RunRev would too. What did they say when you sent it to them at support at runrev.com? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From bvg at mac.com Fri Apr 22 21:25:19 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 23 Apr 2005 03:25:19 +0200 Subject: RunRev and Cookies Message-ID: <6aa301c0571500ff79215c7fd4b127bb@mac.com> I want to make a standalone app with rev that replaces a web page. Ideally nothing on the server side should be changed, thus I would need to accept, store and send a cookie. Anyone done this before and able to shed some light on this? I guess I need to change my HTML headers somehow? -- official ChatRev page: http://chatrev.cjb.net Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From 3mcgrath at adelphia.net Fri Apr 22 21:56:25 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 22 Apr 2005 21:56:25 -0400 Subject: mouseDown and within Message-ID: Hello all, I have a few buttons and when the mouse is down over a button the background turns blue. This is good. Now I want to have the other buttons turn blue by still holding the mouseDown but moving it over the other buttons and when it is over them that they will act like a mouseDown has been sent to them. I have tried mouseDown, mouseStillDown, mouseWithin, mouseEnter etc. No luck, I might be able to do a mouseOver (SC) but prefer the mouseDown if possible. Does anyone know a way to do this???? Thanks in advance.... Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From jacque at hyperactivesw.com Fri Apr 22 22:23:57 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Apr 2005 21:23:57 -0500 Subject: Some advice about Dreamcard player In-Reply-To: References: <20050422033839.497B4930100@mail.runrev.com> Message-ID: <4269B1BD.9060409@hyperactivesw.com> On 4/22/05 8:23 AM, Jim Hurley wrote: > I have had no > experience with the Player. Does it run just Dreamcard stacks or any Run > Rev stack? There are some glitches to be aware of, but I don't use player enough to know what they all are. The main thing people complain about is that file access, both read and write, is blocked by default. This is intentional for security. To overcome that, click the Rev icon in the upper right corner of the player to show the preferences, and uncheck the last checkbox to turn off "secure mode". Player will now allow disk access, but be aware that if you run any untrusted stacks, they can mess with your hard drive. Secure mode stays off across sessions until you turn it on again. You have to set each player this way on each machine. The other thing I've noticed is that player doesn't provide any default menus. If your stack does not have its own menus, your users will have only an empty menu bar and no command key equivalents. I am not sure how many externals are embedded in player, but it is likely that it is missing database drivers, though I haven't looked. You might want to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at adelphia.net Fri Apr 22 22:27:34 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 22 Apr 2005 22:27:34 -0400 Subject: mouseDown and within In-Reply-To: References: Message-ID: <740269e20617e0b07df48c8fad27da1f@adelphia.net> It seems that ever possible message PREVENTS the possibility of a mouseDown moving from one control to another and initiating the mouseDown on that without first releasing the mouse. Most programs at least will let you float a mouse cursor over items and hover to display a tooltip. What I want to do is the same thing but with a mouseDown state. It seems I can't do a Hover or a mouseDown in Rev..... HELP From the docs.... mouseEnter If the mouse button is down when the mouse pointer enters the control, no mouseEnter message is sent unless the mouse button is released while the pointer is still in the control. mouseWithin If the mouse button is down when the mouse pointer enters the control, no mouseWithin messages are sent until the mouse button is released. If the mouse pointer leaves the control while the mouse button is still down, no mouseWithin messages are sent. If the mouse button is pressed while the pointer is in the control, however, mouseWithin messages continue to be sent, even while the mouse button is down. Usually, it is easier and more efficient to use the mouseMove message to track the movement of the mouse while the button is being held down. mouseStillDown The mouseStillDown message is sent to the control that was originally clicked, or to the card if no control was under the mouse pointer. mouseMove If the mouse button is down, the mouseMove message continues to be sent to the object that was clicked, even if the mouse pointer moves outside that object. mouseLeave If the mouse button is down when the mouse pointer leaves the control, the mouseLeave message is not sent until the mouse button is released. Tom On Apr 22, 2005, at 9:56 PM, Thomas McGrath III wrote: > Hello all, > > I have a few buttons and when the mouse is down over a button the > background turns blue. This is good. Now I want to have the other > buttons turn blue by still holding the mouseDown but moving it over > the other buttons and when it is over them that they will act like a > mouseDown has been sent to them. > > I have tried mouseDown, mouseStillDown, mouseWithin, mouseEnter etc. > > No luck, > > I might be able to do a mouseOver (SC) but prefer the mouseDown if > possible. > > Does anyone know a way to do this???? > > Thanks in advance.... > > Tom > > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From NnykkieeK24 at aol.com Fri Apr 22 22:27:36 2005 From: NnykkieeK24 at aol.com (NnykkieeK24 at aol.com) Date: Fri, 22 Apr 2005 22:27:36 EDT Subject: Several Text issues Message-ID: PLEASE REMOVE ME FROM YOUR EMAIL LIST. THE MAIL IS A NUISANCE. NNEKA KENDRICK NnykkieeK24 at aol.com From webmaster at dreamscapesoftware.com Fri Apr 22 22:40:01 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 22 Apr 2005 21:40:01 -0500 Subject: Several Text issues In-Reply-To: References: Message-ID: <4269B581.4080108@dreamscapesoftware.com> > PLEASE REMOVE ME FROM YOUR EMAIL LIST. THE MAIL IS A NUISANCE. No need to scream, but I agree. If the subject ever does come up again, I vote for Message Board. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com From ambassador at fourthworld.com Fri Apr 22 22:59:36 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Apr 2005 19:59:36 -0700 Subject: Several Text issues In-Reply-To: <4269B581.4080108@dreamscapesoftware.com> References: <4269B581.4080108@dreamscapesoftware.com> Message-ID: <4269BA18.3050800@fourthworld.com> Derek Bump wrote: > If the subject ever does come up again, I vote for Message Board. This is the 21st century -- isn't there listserver software that also provides a Web interface? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From erikhans08 at yahoo.com Fri Apr 22 23:15:13 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Fri, 22 Apr 2005 20:15:13 -0700 (PDT) Subject: PLEASE REMOVE ME FROM YOUR EMAIL LIST. THE MAIL IS A NUISANCE. In-Reply-To: 6667 Message-ID: <20050423031513.49728.qmail@web31303.mail.mud.yahoo.com> --- NnykkieeK24 at aol.com wrote: > PLEASE REMOVE ME FROM YOUR EMAIL LIST. THE > MAIL IS A NUISANCE. > > NNEKA KENDRICK > NnykkieeK24 at aol.com how do you REALLY feel about it, NNEKA? erik at erikhansen.org http://www.erikhansen.org __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail From ptrendler at bigpond.com Fri Apr 22 23:26:40 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Sat, 23 Apr 2005 13:26:40 +1000 Subject: mouseDown and within References: Message-ID: <00c701c547b4$60d319e0$0100000a@super> Tom, You can get mouseStillDown if it's in the target btn and also you can always get the mouseloc. A bit of fiddling with these two should get you what you want. HTH Pat ----- Original Message ----- From: "Thomas McGrath III" <3mcgrath at adelphia.net> To: "How to use Revolution" Sent: Saturday, April 23, 2005 11:56 AM Subject: mouseDown and within > Hello all, > > I have a few buttons and when the mouse is down over a button the > background turns blue. This is good. Now I want to have the other buttons > turn blue by still holding the mouseDown but moving it over the other > buttons and when it is over them that they will act like a mouseDown has > been sent to them. > > I have tried mouseDown, mouseStillDown, mouseWithin, mouseEnter etc. > > No luck, > > I might be able to do a mouseOver (SC) but prefer the mouseDown if > possible. > > Does anyone know a way to do this???? > > Thanks in advance.... > > Tom > > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ps1 at softseven.org Fri Apr 22 23:28:35 2005 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 22 Apr 2005 22:28:35 -0500 Subject: Recovery of a corrupted stack In-Reply-To: <42699F11.1000508@fourthworld.com> References: <265f0eafc346b5f8d1951d54d586116c@clear.net.nz> <6.1.1.1.2.20050422194100.02f7e620@softseven.org> <42699F11.1000508@fourthworld.com> Message-ID: <6.1.1.1.2.20050422222749.0300aca8@softseven.org> At 08:04 PM 4/22/2005, you wrote: >Paul Salyers wrote: >>Maybe this answer will also help me, not a "reinitialized" I try to load >>it in my rev editor and it closes down not even asking if I wish to save. >>I can't even load in edit mode. Any suggestion. This script isn't some >>great program I was just making scripts to see how they worked so I >>remade in about 5 min. I would like to know why this is happening. > >I'll bet the folks at RunRev would too. > >What did they say when you sent it to them at support at runrev.com? > >-- > Richard Gaskin I didn't but I will thanks for the email address. Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From revdan at danshafer.com Fri Apr 22 23:33:15 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 22 Apr 2005 20:33:15 -0700 Subject: Initial Caps in Table Fields In-Reply-To: References: Message-ID: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> Tom.... Just can't make it fail. I tried about 30 times and it worked correctly every time. What OS are you testing on? On Apr 22, 2005, at 3:59 PM, Thomas McGrath III wrote: > Dan, > > I put a test stack in my user area. > mcgrath3 > "table issue with caps" > > type a lower case word in the upper left field and hit the tab key. It > will capitalize. > But not allways..... > > Tom > > On Apr 22, 2005, at 6:26 PM, Dan Shafer wrote: > >> Can't reproduce this one, Tom. It works correctly on my system (OS X >> 10.3.9, Rev 2.5.1) every time. >> >> >> On Apr 21, 2005, at 8:38 PM, Thomas McGrath III wrote: >> >>> Actually it is only the upper most top left table field that wants >>> to capitalize the first letter. The ones below it will stay lower >>> case if I typed it that way. >>> >>> This is weird to me? >>> >>> Tom >>> >>> On Apr 21, 2005, at 11:17 PM, Thomas McGrath III wrote: >>> >>>> Hey, does anyone know WHY 'table fields' keep initial capitalizing >>>> each word when I tab out of that field? >>>> >>>> Is there a way to turn this off? I need exact names in the table. >>>> >>>> >>>> TOm >>>> >>>> Thomas J. McGrath III >>>> SCS >>>> 1000 Killarney Dr. >>>> Pittsburgh, PA 15234 >>>> 412-885-8541 >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> >>> Macintosh PowerBook G-4 OSX 10.3.8, OS 9.2.2, 1.25 GHz, 512MB RAM, >>> Rev 2.5 >>> >>> >>> Advanced Media Group >>> Thomas J McGrath III >>> 3mcgrath at adelphia.net >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Co-Chair >> RevConWest '05 >> June 17-18, 2005, Monterey, California >> http://www.altuit.com/webs/altuit/RevConWest >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From sims at ezpzapps.com Sat Apr 23 00:58:44 2005 From: sims at ezpzapps.com (sims) Date: Sat, 23 Apr 2005 06:58:44 +0200 Subject: RunRev and Cookies In-Reply-To: <6aa301c0571500ff79215c7fd4b127bb@mac.com> References: <6aa301c0571500ff79215c7fd4b127bb@mac.com> Message-ID: At 3:25 AM +0200 4/23/05, Bj?rnke von Gierke wrote: > >I want to make a standalone app with rev that >replaces a web page. Ideally nothing on the >server side should be changed, thus I would need >to accept, store and send a cookie. Anyone done >this before and able to shed some light on this? >I guess I need to change my HTML headers somehow? I think that the original Revzilla used cookies. Maybe you can learn something from a copy of that. ciao, sims btw - If you haven't tried Bj?rnke's ChatRev you are missing out on something really cool!! official ChatRev page: http://chatrev.cjb.net Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From katir at hindu.org Sat Apr 23 01:18:49 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 22 Apr 2005 19:18:49 -1000 Subject: CSS In-Reply-To: <451844eb90a63802a1e98b3fb1649a20@danshafer.com> References: <5abc1035e572820e6be71fda859628bc@hindu.org> <451844eb90a63802a1e98b3fb1649a20@danshafer.com> Message-ID: <4c81db3c2620c3d91bd65583e230c4a4@hindu.org> You probably get panned by wizards for being simplistic... but that's the whole point...and you do it well. You can't tell a person to go to M, when he's at A... he has to know how to get to B from A... maybe later he can learn to skip rope, chew gum, whistle and hop at the same time, but in the beginning he needs help just to get his head around it... "Here's the main building blocks." That's where Dan comes in :-) On Apr 21, 2005, at 7:59 AM, Dan Shafer wrote: > Thanks for the kind words. Reviewers seem to be very hot or very cold > on it. > > you've read it once more than I have! From scott at tactilemedia.com Sat Apr 23 01:43:22 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 22 Apr 2005 22:43:22 -0700 Subject: Several Text issues In-Reply-To: <4269BA18.3050800@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: >> If the subject ever does come up again, I vote for Message Board. > > This is the 21st century -- isn't there listserver software that also > provides a Web interface? This was already set up some time ago, thanks to Ben Rubinstein: http://dir.gmane.org/gmane.comp.ide.revolution.user Multiple views of the same content. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Sat Apr 23 03:14:36 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Apr 2005 00:14:36 -0700 Subject: Several Text issues In-Reply-To: References: Message-ID: <4269F5DC.4010509@fourthworld.com> Scott Rossi wrote: > Recently, Richard Gaskin wrote: > > >>>If the subject ever does come up again, I vote for Message Board. >> >>This is the 21st century -- isn't there listserver software that also >>provides a Web interface? > > > This was already set up some time ago, thanks to Ben Rubinstein: > > http://dir.gmane.org/gmane.comp.ide.revolution.user > > Multiple views of the same content. Cool! Thank you for the link, and thanks to Ben for setting that up! This should be linked to from the Rev site... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From rev at armbase.com Sat Apr 23 03:35:15 2005 From: rev at armbase.com (Bob Hartley) Date: Sat, 23 Apr 2005 08:35:15 +0100 Subject: Sending Objects to other Objects in different stacks? In-Reply-To: References: Message-ID: <6.2.1.2.0.20050423083321.01ee4c90@mail.armbase.com> At 23:44 22/04/2005, you wrote: >Hi, Hi DAve >Is it possible to send an object to another object? What if the object >that is being sent to is on a different stack? I'd like to be able to do >something like this: > >send "AddMenu button "xyz"" to Group "MainMenu" Here is a script I use for exactly that in my main app. I have a button next to my insert fields that adds that field to another stack. The global is just for the chose stack andler in another action but it gives the idea. on mouseUp global tFileName copy field "TextField" of stack "Armbase" to card 1 of stack tFileName end mouseUp cheers bob >(I know I need to use quote) > >And then have the AddMenu handler add "xyz" to the group? > >I would use the "copy" command to copy the object. > >Any tips on how to make this work greatly appreciated. > >Thanks a lot >Dave >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > > >-- >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 21/04/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 21/04/2005 From alex at tweedly.net Sat Apr 23 03:47:43 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 23 Apr 2005 08:47:43 +0100 Subject: Some advice about Dreamcard player In-Reply-To: <4269B1BD.9060409@hyperactivesw.com> References: <20050422033839.497B4930100@mail.runrev.com> <4269B1BD.9060409@hyperactivesw.com> Message-ID: <4269FD9F.4080806@tweedly.net> J. Landman Gay wrote: > On 4/22/05 8:23 AM, Jim Hurley wrote: > >> I have had no experience with the Player. Does it run just Dreamcard >> stacks or any Run Rev stack? > > > There are some glitches to be aware of, but I don't use player enough > to know what they all are. The main thing people complain about is > that file access, both read and write, is blocked by default. This is > intentional for security. To overcome that, click the Rev icon in the > upper right corner of the player to show the preferences, and uncheck > the last checkbox to turn off "secure mode". Player will now allow > disk access, but be aware that if you run any untrusted stacks, they > can mess with your hard drive. Secure mode stays off across sessions > until you turn it on again. You have to set each player this way on > each machine. Note "secure mode" prevents Network Access, as well as file access. > The other thing I've noticed is that player doesn't provide any > default menus. If your stack does not have its own menus, your users > will have only an empty menu bar and no command key equivalents. And there is Bug 2294 - In the Player, stacks have no "home" directory. So any of the filename, the effective filename, the long filename, ... of this stack are empty. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 21/04/2005 From david at dvglasgow.wanadoo.co.uk Sat Apr 23 03:52:14 2005 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Sat, 23 Apr 2005 08:52:14 +0100 Subject: use-revolution Digest, Vol 19, Issue 84 In-Reply-To: <20050423072746.0A34A9300D6@mail.runrev.com> References: <20050423072746.0A34A9300D6@mail.runrev.com> Message-ID: Well, there you go folks. Rev at its best and worst - (too many ways to do the same thing), ........and this list at its best. Many thanks Cubist and Wouter. Slightly embarrassed now at how pleased I was to use 'case' instead of a mess of 'if thens' in my original script. I haven't tested this, but intermittently I can see how it should work. Clever. So, if anyone else wants to use a deprecated HIG technique, THIS is the preferred method. On 23 Apr 2005, at 8:27 am, use-revolution-request at lists.runrev.com wrote: > on mouseMove X,Y > put the rect of fld "container" into Fred > if x,y is not within Fred then > put min (item 3 of Fred - 4, max (item 1 of Fred + 4, X)) into > X > put min (item 4 of Fred - 4, max (item 2 of Fred + 4, Y)) into > Y > set the screenMouseLoc to (left of this stack +X,top of this > stack + Y) > end if > end mouseMove > > Best Wishes, David Glasgow http://www.i-psych.co.uk From eric.chatonet at sosmartsoftware.com Sat Apr 23 04:11:35 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 23 Apr 2005 10:11:35 +0200 Subject: mouseDown and within In-Reply-To: References: Message-ID: Hi Tom, Once the mouse is down, the engine stops sending any message until the mouse is up. Then some retroactive messages are sent (as mouseleave). You can check this in the message watcher (where mouseStillDown is not shown). So, the only way I see to do that would be using a pending message with a loop which would check other buttons status :-( Le 23 avr. 05, ? 03:56, Thomas McGrath III a ?crit : > I have a few buttons and when the mouse is down over a button the > background turns blue. This is good. Now I want to have the other > buttons turn blue by still holding the mouseDown but moving it over > the other buttons and when it is over them that they will act like a > mouseDown has been sent to them. > > I have tried mouseDown, mouseStillDown, mouseWithin, mouseEnter etc. > > No luck, > > I might be able to do a mouseOver (SC) but prefer the mouseDown if > possible. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From psahores at easynet.fr Sat Apr 23 04:54:39 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 23 Apr 2005 10:54:39 +0200 Subject: Rev as server immune to buffer overflow? In-Reply-To: <426985B5.10500@fourthworld.com> References: <426927FD.8020503@fourthworld.com> <032b1bf2c4a7c69ad6debb5c609e3f3d@easynet.fr> <426985B5.10500@fourthworld.com> Message-ID: Le 23 avr. 05, ? 01:16, Richard Gaskin a ?crit : > Pierre Sahores wrote: >> Hello Richard, >> If you avoid the use of "GET" calls to access from a client app to >> your rev sockets driven server = if you only use "POST" procs, the >> server will never wake up if he recieve a request witch is not listed >> in its predefinite collection of actions to handle. It will just stay >> in idle state => no way, in using this design guideline to have the >> rev app server going to bufferoverflow trouble... Just unpossible. I >> never got this in huit yahrs of MC/Rev applications servers deploymen >> ;-) > > If it's so simple, how does Microsoft keep getting it so wrong year > after year? The less it works ; the most it costs... ;-) > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Sat Apr 23 06:33:03 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 06:33:03 -0400 Subject: Initial Caps in Table Fields In-Reply-To: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> References: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> Message-ID: Dan, Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.5.1 Was the word Left initial capped when you opened it? It was here. But, When I copy the table field to another stack and type into that first square the problem goes away. meaning if I type with lower case it stays that way in another stack. I am using a substack of a stack with a windowShape . with hardly any scripts in the stack or card script. TOm On Apr 22, 2005, at 11:33 PM, Dan Shafer wrote: > Tom.... > > Just can't make it fail. I tried about 30 times and it worked > correctly every time. > > What OS are you testing on? > > > On Apr 22, 2005, at 3:59 PM, Thomas McGrath III wrote: > >> Dan, >> >> I put a test stack in my user area. >> mcgrath3 >> "table issue with caps" >> >> type a lower case word in the upper left field and hit the tab key. >> It will capitalize. >> But not allways..... >> >> Tom >> >> On Apr 22, 2005, at 6:26 PM, Dan Shafer wrote: >> >>> Can't reproduce this one, Tom. It works correctly on my system (OS X >>> 10.3.9, Rev 2.5.1) every time. >>> >>> >>> On Apr 21, 2005, at 8:38 PM, Thomas McGrath III wrote: >>> >>>> Actually it is only the upper most top left table field that wants >>>> to capitalize the first letter. The ones below it will stay lower >>>> case if I typed it that way. >>>> >>>> This is weird to me? >>>> >>>> Tom >>>> >>>> On Apr 21, 2005, at 11:17 PM, Thomas McGrath III wrote: >>>> >>>>> Hey, does anyone know WHY 'table fields' keep initial capitalizing >>>>> each word when I tab out of that field? >>>>> >>>>> Is there a way to turn this off? I need exact names in the table. >>>>> >>>>> >>>>> TOm >>>>> >>>>> Thomas J. McGrath III >>>>> SCS >>>>> 1000 Killarney Dr. >>>>> Pittsburgh, PA 15234 >>>>> 412-885-8541 >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>> >>>> Macintosh PowerBook G-4 OSX 10.3.8, OS 9.2.2, 1.25 GHz, 512MB RAM, >>>> Rev 2.5 >>>> >>>> >>>> Advanced Media Group >>>> Thomas J McGrath III >>>> 3mcgrath at adelphia.net >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Dan Shafer, Co-Chair >>> RevConWest '05 >>> June 17-18, 2005, Monterey, California >>> http://www.altuit.com/webs/altuit/RevConWest >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> Thomas J. McGrath III >> SCS >> 1000 Killarney Dr. >> Pittsburgh, PA 15234 >> 412-885-8541 >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Advanced Media Group Thomas J McGrath III 3mcgrath at adelphia.net From 3mcgrath at adelphia.net Sat Apr 23 06:41:05 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 06:41:05 -0400 Subject: mouseDown and within In-Reply-To: References: Message-ID: <839b9e73438ba95a70d1779a0431f295@adelphia.net> Thanks Eric, So my trapping the mouseDown message will break what I want to do while the mouse is down?!! BUT when you mouseDown on a menu and then with it still down you nav down to a sub menu it seems to still highlight text items. And the same works in paint tools where you mouseDown a tool and sub to another tool in a popup. Seems kinda the same... What kind of pending message is good for this and also is there a way to get the button to 'highlight' without a mouseDown??? Thanks again tom On Apr 23, 2005, at 4:11 AM, Eric Chatonet wrote: > Hi Tom, > > Once the mouse is down, the engine stops sending any message until the > mouse is up. > Then some retroactive messages are sent (as mouseleave). > You can check this in the message watcher (where mouseStillDown is not > shown). > So, the only way I see to do that would be using a pending message > with a loop which would check other buttons status :-( > > Le 23 avr. 05, ? 03:56, Thomas McGrath III a ?crit : > >> I have a few buttons and when the mouse is down over a button the >> background turns blue. This is good. Now I want to have the other >> buttons turn blue by still holding the mouseDown but moving it over >> the other buttons and when it is over them that they will act like a >> mouseDown has been sent to them. >> >> I have tried mouseDown, mouseStillDown, mouseWithin, mouseEnter etc. >> >> No luck, >> >> I might be able to do a mouseOver (SC) but prefer the mouseDown if >> possible. > > > Amicalement, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From gbojsza at gmail.com Sat Apr 23 06:50:41 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 23 Apr 2005 06:50:41 -0400 Subject: Limiting the number of characters per line in a scrolling field? Message-ID: <3d8af4150504230350375da36e@mail.gmail.com> I would like to limit the number of characters a user can input on any line in a scrolling field. In the field script on keydown theKey if theKey is not in " 0 1 2 3 4 5 6 7 8 9 - . " then beep exit keydown else if (the length of me) > 4 then beep exit keydown end if pass keydown end if end keydown "if the length of me is > 4 then..." this works but limits the TOTAL field to 4 characters. thanks From 3mcgrath at adelphia.net Sat Apr 23 07:01:38 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 07:01:38 -0400 Subject: alt mouseDown Message-ID: <0c49f9b46048e86b9e2de20617c1f179@adelphia.net> Hello all, Does anyone know of an alternative to the mouseDown? Or of a way to exit the mouseDown even though the user is still holding the mouse down? Or of a way to keep the highlight feature but force rev to ignore or trap a mouseDown? Thanks Revers, Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From dburgun at dsl.pipex.com Sat Apr 23 07:06:43 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 23 Apr 2005 12:06:43 +0100 Subject: Recovery of a corrupted stack In-Reply-To: <42699F11.1000508@fourthworld.com> References: <265f0eafc346b5f8d1951d54d586116c@clear.net.nz> <6.1.1.1.2.20050422194100.02f7e620@softseven.org> <42699F11.1000508@fourthworld.com> Message-ID: Hi, If you need to save the scripts then try this: With a fresh load of RunRev (making sure there are no Stacks in memory), open the message box and type: answer file "Which Stack?";edit script script of stack it. This will prompt you for a file, select the Stack in question. Which will open the Stack Script, you can use: edit script of card X of stack it or edit script of control "X" of card "Y" of stack it This should allow you to at least copy your Scripts into a text file(s) so you can re-paste them. You can then try to open the Script using the command "open stack it", however this may crash the IDE if the Stack is really corrupted. One thing I tried was to comment out the "preOpenStack" and "openStack" handlers in the Stack Script and save it back using the "Apply and Save Stack" command (after making a backup). Once you have saved the stack quit RunRev and try reloading the Stack. If it now works you know it's something in your preOpen ot Open handler that is causing the IDE to barf when the Stack is first opened. You can also write a tool stack that you can use to extract Objects from the Stack in question. If you need more help on this feel free to contact me directly. I have become quite a expert at recovering "weird" Stacks lately! All the Best Dave >Paul Salyers wrote: >>Maybe this answer will also help me, not a "reinitialized" I try to >>load it in my rev editor and it closes down not even asking if I >>wish to save. >> >>I can't even load in edit mode. Any suggestion. This script isn't >>some great program I was just making scripts to see how they worked >>so I remade in about 5 min. I would like to know why this is >>happening. > >I'll bet the folks at RunRev would too. > >What did they say when you sent it to them at support at runrev.com? > >-- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Sat Apr 23 07:15:04 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 23 Apr 2005 12:15:04 +0100 Subject: Recovery of a corrupted stack In-Reply-To: References: <265f0eafc346b5f8d1951d54d586116c@clear.net.nz> <6.1.1.1.2.20050422194100.02f7e620@softseven.org> <42699F11.1000508@fourthworld.com> Message-ID: >Hi, > >If you need to save the scripts then try this: > >With a fresh load of RunRev (making sure there are no Stacks in >memory), open the message box and type: > >answer file "Which Stack?";edit script script of stack it. > >This will prompt you for a file, select the Stack in question. > >Which will open the Stack Script, you can use: edit script of card X >of stack it or edit script of control "X" of card "Y" of stack it > >This should allow you to at least copy your Scripts into a text >file(s) so you can re-paste them. > >You can then try to open the Script using the command "open stack >it", however this may crash the IDE if the Stack is really corrupted. > >One thing I tried was to comment out the "preOpenStack" and >"openStack" handlers in the Stack Script and save it back using the >"Apply and Save Stack" command (after making a backup). Once you >have saved the stack quit RunRev and try reloading the Stack. If it >now works you know it's something in your preOpen ot Open handler >that is causing the IDE to barf when the Stack is first opened. > >You can also write a tool stack that you can use to extract Objects >from the Stack in question. If you need more help on this feel free >to contact me directly. I have become quite a expert at recovering >"weird" Stacks lately! > >All the Best >Dave > >>Paul Salyers wrote: >>>Maybe this answer will also help me, not a "reinitialized" I try >>>to load it in my rev editor and it closes down not even asking if >>>I wish to save. >>> >>>I can't even load in edit mode. Any suggestion. This script isn't >>>some great program I was just making scripts to see how they >>>worked so I remade in about 5 min. I would like to know why this >>>is happening. >> >>I'll bet the folks at RunRev would too. >> >>What did they say when you sent it to them at support at runrev.com? >> >>-- >> Richard Gaskin >> Fourth World Media Corporation >> __________________________________________________ >> Rev tools and more: http://www.fourthworld.com/rev >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Sat Apr 23 07:16:41 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 23 Apr 2005 12:16:41 +0100 Subject: Recovery of a corrupted stack Message-ID: Opps! Typeo, that should be: open the message box and type: answer file "Which Stack?";edit script of stack it. All the Best Dave Hi, If you need to save the scripts then try this: With a fresh load of RunRev (making sure there are no Stacks in memory), open the message box and type: answer file "Which Stack?";edit script script of stack it. This will prompt you for a file, select the Stack in question. Which will open the Stack Script, you can use: edit script of card X of stack it or edit script of control "X" of card "Y" of stack it This should allow you to at least copy your Scripts into a text file(s) so you can re-paste them. You can then try to open the Script using the command "open stack it", however this may crash the IDE if the Stack is really corrupted. One thing I tried was to comment out the "preOpenStack" and "openStack" handlers in the Stack Script and save it back using the "Apply and Save Stack" command (after making a backup). Once you have saved the stack quit RunRev and try reloading the Stack. If it now works you know it's something in your preOpen ot Open handler that is causing the IDE to barf when the Stack is first opened. You can also write a tool stack that you can use to extract Objects from the Stack in question. If you need more help on this feel free to contact me directly. I have become quite a expert at recovering "weird" Stacks lately! All the Best Dave >Paul Salyers wrote: >>Maybe this answer will also help me, not a "reinitialized" I try to >>load it in my rev editor and it closes down not even asking if I >>wish to save. >> >>I can't even load in edit mode. Any suggestion. This script isn't >>some great program I was just making scripts to see how they worked >>so I remade in about 5 min. I would like to know why this is >>happening. > >I'll bet the folks at RunRev would too. > >What did they say when you sent it to them at support at runrev.com? > >-- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ 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 Apr 23 07:30:16 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 23 Apr 2005 13:30:16 +0200 Subject: Several Text issues In-Reply-To: <24416c6f34e841859ad026b87dd1fe45@danshafer.com> References: <1D6B534B0B0BB04999ED232B8DA8A52C087A42@READNATSERVER.readnaturally.local> <24416c6f34e841859ad026b87dd1fe45@danshafer.com> Message-ID: <12a34136b5afc20c869ffbaf99f10ed6@major-k.de> Hi Michael and Dan, > Am 23.04.2005 um 00:24 schrieb Dan Shafer: >> On Apr 22, 2005, at 10:42 AM, michael parent wrote: > ,,, >> 3. The revgourl seems to open the file, I don't want to open the >> file, I >> want to open the Explorer Window to that file location so then the >> user >> has access to the file to attach to email or burn to CD ect. This is >> mainly going to be on Windows XP Pro > I don't see any documented way to do this. And that's the secret word: no documented way :-) Here is my variation of a handler that Ken Ray (i think) once posted, or how i fondly call him "The Man Ray of X-talk" :-) on revealinexplorer tFile ## tFile is a valid and full path to the file you want ## to show in its parent window... ## Does also work with a FOLDER! set the hideconsolewindows to true ## Hide ugly DOS box... replace "/" with "\" in tFile ## shell command needs a Win path! get shell("explore.exe /select," && tFile) end revealinexplorer Hope that helps... >> Thanks again >> >> Michael Parent > > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest Best from sunny germany Klaus Major klaus at major-k.de http://www.major-k.de From eric.chatonet at sosmartsoftware.com Sat Apr 23 07:48:16 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 23 Apr 2005 13:48:16 +0200 Subject: mouseDown and within In-Reply-To: <839b9e73438ba95a70d1779a0431f295@adelphia.net> References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> Message-ID: <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> Hi Tom, Menus are handled by the engine and unfortunately are not transcript statements :-( or :-) Something like that (non tested) in the card script: on mouseDown if "button" is in the target then CheckOtherButtons -- ? end if end mouseDown --------------------------------------- on CheckOtherButtons if the mouse is up then exit CheckOtherButtons repeat with i = 1 to the number of btns if the mouseLoc is within the rect of btn i then set the hilite of btn i to true end repeat send "CheckOtherButtons" to me in 50 milliseconds end CheckOtherButtons But I would to turn your attention to another thing: I'm not sure such a behaviour is good ergonomics... Best regards from Paris. Le 23 avr. 05, ? 12:41, Thomas McGrath III a ?crit : > Thanks Eric, > > So my trapping the mouseDown message will break what I want to do > while the mouse is down?!! > > BUT when you mouseDown on a menu and then with it still down you nav > down to a sub menu it seems to still highlight text items. And the > same works in paint tools where you mouseDown a tool and sub to > another tool in a popup. Seems kinda the same... > > What kind of pending message is good for this and also is there a way > to get the button to 'highlight' without a mouseDown??? > > Thanks again > > tom > > On Apr 23, 2005, at 4:11 AM, Eric Chatonet wrote: > >> Hi Tom, >> >> Once the mouse is down, the engine stops sending any message until >> the mouse is up. >> Then some retroactive messages are sent (as mouseleave). >> You can check this in the message watcher (where mouseStillDown is >> not shown). >> So, the only way I see to do that would be using a pending message >> with a loop which would check other buttons status :-( >> >> Le 23 avr. 05, ? 03:56, Thomas McGrath III a ?crit : >> >>> I have a few buttons and when the mouse is down over a button the >>> background turns blue. This is good. Now I want to have the other >>> buttons turn blue by still holding the mouseDown but moving it over >>> the other buttons and when it is over them that they will act like a >>> mouseDown has been sent to them. >>> >>> I have tried mouseDown, mouseStillDown, mouseWithin, mouseEnter etc. >>> >>> No luck, >>> >>> I might be able to do a mouseOver (SC) but prefer the mouseDown if >>> possible. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Sat Apr 23 08:08:54 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 23 Apr 2005 13:08:54 +0100 Subject: Getting Handler Name? In-Reply-To: References: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> Message-ID: Hi, Is it possible to get the name of the current Function or Handler? I'd like to be able to say: answer name of this function or name of this handler Is this possible? Thanks Dave From eric.chatonet at sosmartsoftware.com Sat Apr 23 08:10:41 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 23 Apr 2005 14:10:41 +0200 Subject: Getting Handler Name? In-Reply-To: References: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> Message-ID: <566acb2b55ab393293573707219611ee@sosmartsoftware.com> Hi Dave, Check the params function. Best regards from Paris, Le 23 avr. 05, ? 14:08, David Burgun a ?crit : > Hi, > > Is it possible to get the name of the current Function or Handler? I'd > like to be able to say: > > answer name of this function or name of this handler > > Is this possible? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Sat Apr 23 08:24:11 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 23 Apr 2005 13:24:11 +0100 Subject: Getting Handler Name? In-Reply-To: <566acb2b55ab393293573707219611ee@sosmartsoftware.com> References: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> <566acb2b55ab393293573707219611ee@sosmartsoftware.com> Message-ID: Thanks Eric. I looked up Handler in the Rev Dictionary and nada! Cheers Dave >Hi Dave, > >Check the params function. >Best regards from Paris, > >Le 23 avr. 05, ? 14:08, David Burgun a ?crit : > >>Hi, >> >>Is it possible to get the name of the current Function or Handler? >>I'd like to be able to say: >> >>answer name of this function or name of this handler >> >>Is this possible? > > >Amicalement, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Sat Apr 23 08:44:59 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 23 Apr 2005 13:44:59 +0100 Subject: How do I get the menubar to change? In-Reply-To: <566acb2b55ab393293573707219611ee@sosmartsoftware.com> References: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> <566acb2b55ab393293573707219611ee@sosmartsoftware.com> Message-ID: Hi, I have a menubar that I have changed dynamically, however, it doesn't display as the main menu unless I save the stack first? I have tried setting the menubar property, showing the menu bar and hiding and then showing the menubar! How do I get it to refresh with the current menubar object? Thanks a lot Dave From frank at backtalk.com Sat Apr 23 08:45:05 2005 From: frank at backtalk.com (Frank Leahy) Date: Sat, 23 Apr 2005 13:45:05 +0100 Subject: mouseDown in menu bar Message-ID: <7151bb22a099b391246cde2ecddfb1a6@backtalk.com> I have a mouseDown handler in the menubar object in each stack. I just noticed that the menubar's mouseDown handler was being called on *every* mouseDown anywhere in the stack, not just in the menubar itself. Is that correct? Is the menubar always in the message hierarchy? -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ From ptrendler at bigpond.com Sat Apr 23 08:50:50 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Sat, 23 Apr 2005 22:50:50 +1000 Subject: mouseDown and within References: <00c701c547b4$60d319e0$0100000a@super> Message-ID: <003701c54803$1d7eacf0$0100000a@super> Just another thought, you can use - if the mouse is "down" for example as in the following (a bit sloppy scripting but it does work OK) on mouseMove if the mouse is "down" then repeat with i = 1 to 4 if the mouseLoc is within the rect of btn i then set the backgroundcolor of btn i to "blue" end if end repeat end if end mouseMove Correction to my previous mail I should have said you can get mouseStillDown if the handler is in the script of the target btn. Pat ----- Original Message ----- From: "Pat Trendler" To: "How to use Revolution" Sent: Saturday, April 23, 2005 1:26 PM Subject: Re: mouseDown and within > Tom, > You can get mouseStillDown if it's in the target btn and also you can > always get the mouseloc. A bit of fiddling with these two should get you > what you want. > > HTH > > Pat > > ----- Original Message ----- > From: "Thomas McGrath III" <3mcgrath at adelphia.net> > To: "How to use Revolution" > Sent: Saturday, April 23, 2005 11:56 AM > Subject: mouseDown and within > > >> Hello all, >> >> I have a few buttons and when the mouse is down over a button the >> background turns blue. This is good. Now I want to have the other buttons >> turn blue by still holding the mouseDown but moving it over the other >> buttons and when it is over them that they will act like a mouseDown has >> been sent to them. >> >> I have tried mouseDown, mouseStillDown, mouseWithin, mouseEnter etc. >> >> No luck, >> >> I might be able to do a mouseOver (SC) but prefer the mouseDown if >> possible. >> >> Does anyone know a way to do this???? >> >> Thanks in advance.... >> >> Tom >> >> >> Thomas J. McGrath III >> SCS >> 1000 Killarney Dr. >> Pittsburgh, PA 15234 >> 412-885-8541 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Sat Apr 23 09:13:01 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Sat, 23 Apr 2005 14:13:01 +0100 Subject: Design Advice on Menubar Handling In-Reply-To: <0c49f9b46048e86b9e2de20617c1f179@adelphia.net> References: <0c49f9b46048e86b9e2de20617c1f179@adelphia.net> Message-ID: Hi All, I was wondering if anyone could offer some advice on the best way to acheive the following: I have a "MainMenu" Stack which the default menu for the app. When the App first starts up it and no Stacks are open. The Deisgn I have followed is that each Stack is in fact a main stack in it's own right and they all link to a "Global" stack dymanically via the "start using" command. This allows the Stack to be opened and used in it's own right (if it doesn't need a menubar or if it uses it's own menubar), or the Stack can choose to use the "MainMenuBar" (and dynamically link to the "MainMenu" stack via the "start using" command). I am now in the process of adding Menu Button Objects dynamically to the "MainMenu" Stack. This allows a flexible environment in which to do development work and testing and also to provide updates to users (you only need send the new or changed stacks, not the while Standalone). Anyway, this has given rise to some design issues and I was wondering if anyone had any suggestion or advice on the subject. The first problem is that if there are no other open active stacks then the "MainMenu" will need a default menubar. This is not a problem initially. The problem comes when I call "StackX" in response to (say) a "Open" command and then "StackX" wants to use one of the Menu Button already being used by "MainMenu", which can be done, but how to restore the "MainMenuState" once the Stack is done? In more detail: MainMenu - has default Menu Items, opens calls StackX StackX - Wants to change the File menu for it's own use It can do so, but when the user closes StackX. MainMenu - Still contains the Menu Items from StackX. The are a number of ways to get around this: 1. When "MainMenu" dispatches a Stack it does this: goto stack myStackFullPathName I could add a line that sends a message to the target stack as so: send "AddMainMenuObject" to stack myStackFullPathName, a refinement would be to add a custom property to the target stack: if cpStackRequiresMainMenu of stack myStackFullPathName then send "AddMainMenuObject myGroupMainMenu" to stack myStackFullPathName, end if But this is error prone if the Handler doesn't exist it will cause an error, so it would be better to add a test to see if the handler exists. This would slow things down a bit, but since this is only done when a new stack is being opened the lag shouldn't be too noticable. AddMainMenuObject handler would then modify the the standard menubar as necessary and 2. Have StackX retreives the Object using the dynamic linkage described above to access functions in the stack script that return the object and then does essentially the same as 1. In both these cases the Menubar object is copied into a card of StackX where it is the modified and set as the new menubar. There are other ways which involve making copies of the the MainMenu menubar object at stack open and restoring them at stack close, but these seem error prone, so it's 1 or 2 unless you have a better way of doing it! In options 1 and 2, there will be a menunar object left in StackX, should I delete it at stack close and maybe also stack preOpen ??? If I didn't then I'd have the Stack embedded for use when running the stack without mainmenu loaded. All comments, suggestions and advice on a postcard please! All the Best Dave From jhurley at infostations.com Sat Apr 23 09:50:12 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 23 Apr 2005 06:50:12 -0700 Subject: PPP--Peculiar Printing Problem In-Reply-To: <20050423125811.143D39300E3@mail.runrev.com> References: <20050423125811.143D39300E3@mail.runrev.com> Message-ID: I am trying to print labels. I have set up 20 fields, one for each label (1"x4") When printed they should just about cover an 8.5'x11" sheet. Standard Avery 5161 labels. I have included them in a scrolling group. If the stack size is sufficient to view the whole group, the print is fine--shows the whole group of labels. If the stack size is less than the size of the group but I print to a rect which which includes the entire 8.5"x11" page, the whole 8.5x11" of the card is printed but only a portion of the group shows. (To save paper and time, I'm using the PDF preview in OS X.) I have tried locking the screen, expanding the screen size (in script) and then unlocking the screen, but this doesn't work. (If I do not lock the screen, it does work, i.e. the entire 8.5 x 11" is printed.) As an experiment, I created a scrolling field and a rectangle, both of which extended off the bottom of the window. I printed from 0,0 to 800,800--sufficient to cover everything. The entire rectangle was printed and all of the field except that portion of the scrollbar which was off the screen. Is this a problem with groups? Is a scrolling field treated as a group by the IDE? Jim From rcozens at pon.net Sat Apr 23 09:50:38 2005 From: rcozens at pon.net (Rob Cozens) Date: Sat, 23 Apr 2005 06:50:38 -0700 Subject: Design Advice on Menubar Handling In-Reply-To: References: <0c49f9b46048e86b9e2de20617c1f179@adelphia.net> Message-ID: <6.2.1.2.1.20050423064743.01eafcb8@pop3.pon.net> Hi Dave, > if there are no other open active stacks then the "MainMenu" will need a > default menubar. This is not a problem initially. The problem comes when > I call "StackX" in response to (say) a "Open" command and then "StackX" > wants to use one of the Menu Button already being used by "MainMenu", > which can be done, but how to restore the "MainMenuState" once the Stack > is done? See the Rev Dictionary, "defaultMenubar property". Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From 3mcgrath at adelphia.net Sat Apr 23 11:19:51 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 11:19:51 -0400 Subject: mouseDown and within In-Reply-To: <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> Message-ID: <497dc646fe936f89fb0693d9512146ef@adelphia.net> Eric, I tried your script for a while and it will need a bit more work to work for me. Thank you though. As far as the 'good ergonomics' , what I am trying to do in Rev works in our Director project and also works in our pda prototype. You see, on a PDA you don't have a mouseHover type of operation but instead you must place a pen on the screen in a mouseDown situation and then move the pen around in that state. If you stay for a time in one spot then a popup will show. That is normal behavior for PDAs. I think it would also be normal for touch screens. What I am doing is an offset of that concept and actually works quite well in user interface parameters. We are using a palette of 18 buttons that when you move the pen around in a penDown (simulated on the Mac as a mouseDown) that the buttons will highlight so you know you are actually over that button and if it is what you want then you release the pen - executing a penUp (simulated as a mouseUp). If it is not what you want then you move on to either another button or out of our palette and release the penUp(mouseUp) in another area. We also have a field in our palette that will display the name of the button when in the penDown (mouseDown) state within the bonds of our palette and will clear that text when leaving that button. In the end due to the operation of PDAs this behavior is intuitive and expected and we just take it a step further by giving feedback while the user is in our palette. Currently the problem I have with my scripts and the one you offer is that I can't find a way to not allow the mouseDown to send messages to the original control when I have moved on to another control. Your solution does send a message to the control we have moved over BUT it also sends a message back to the original control as well. It seems Rev wants to stick to this in at least five different messages including the mouseMove message IF the mouseDown was pressed and is still down. Thanks again Tom On Apr 23, 2005, at 7:48 AM, Eric Chatonet wrote: > on mouseDown > if "button" is in the target then > CheckOtherButtons -- ? > end if > end mouseDown > --------------------------------------- > CheckOtherButtons > But I would to turn your attention to another thing: I'm not sure such > a behaviour is good ergonomics... > Best regards from Paris. From 3mcgrath at adelphia.net Sat Apr 23 11:28:17 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 11:28:17 -0400 Subject: mouseDown and within In-Reply-To: <003701c54803$1d7eacf0$0100000a@super> References: <00c701c547b4$60d319e0$0100000a@super> <003701c54803$1d7eacf0$0100000a@super> Message-ID: Pat, Thanks, this is one of the ways I have been trying. Two things are wrong: 1. If the mouse is down then messages are still sent to the original control that took the mouseDown and it tries to highlight 2. This only highlights the button or sets the color to blue when moved within it but after leaving it leaves behind the blue. I might have to stick with the Hover approach using the within message. But our Director guy was able to do it in Director and since I am duplicating that work in Rev it is a shame I won't be able to. I will have to explain that Rev just can't do it. Thanks again to all, Tom On Apr 23, 2005, at 8:50 AM, Pat Trendler wrote: > Just another thought, you can use - if the mouse is "down" > for example as in the following (a bit sloppy scripting but it does > work OK) > > on mouseMove > if the mouse is "down" then > repeat with i = 1 to 4 > if the mouseLoc is within the rect of btn i then > set the backgroundcolor of btn i to "blue" > end if > end repeat > end if > end mouseMove > > Correction to my previous mail I should have said you can get > mouseStillDown if the handler is in the script of the target btn. > > Pat > > ----- Original Message ----- From: "Pat Trendler" > > To: "How to use Revolution" > Sent: Saturday, April 23, 2005 1:26 PM > Subject: Re: mouseDown and within > > >> Tom, >> You can get mouseStillDown if it's in the target btn and also you can >> always get the mouseloc. A bit of fiddling with these two should get >> you what you want. >> >> HTH >> >> Pat >> >> ----- Original Message ----- From: "Thomas McGrath III" >> <3mcgrath at adelphia.net> >> To: "How to use Revolution" >> Sent: Saturday, April 23, 2005 11:56 AM >> Subject: mouseDown and within >> >> >>> Hello all, >>> >>> I have a few buttons and when the mouse is down over a button the >>> background turns blue. This is good. Now I want to have the other >>> buttons turn blue by still holding the mouseDown but moving it over >>> the other buttons and when it is over them that they will act like a >>> mouseDown has been sent to them. >>> >>> I have tried mouseDown, mouseStillDown, mouseWithin, mouseEnter etc. >>> >>> No luck, >>> >>> I might be able to do a mouseOver (SC) but prefer the mouseDown if >>> possible. >>> >>> Does anyone know a way to do this???? >>> >>> Thanks in advance.... >>> >>> Tom >>> >>> >>> Thomas J. McGrath III >>> SCS >>> 1000 Killarney Dr. >>> Pittsburgh, PA 15234 >>> 412-885-8541 >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From ambassador at fourthworld.com Sat Apr 23 11:33:00 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Apr 2005 08:33:00 -0700 Subject: Getting Handler Name? In-Reply-To: References: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> <566acb2b55ab393293573707219611ee@sosmartsoftware.com> Message-ID: <426A6AAC.5050009@fourthworld.com> David Burgun wrote: > I looked up Handler in the Rev Dictionary and nada! That's understandable, as I don't think "handler" is a keyword. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Sat Apr 23 11:35:06 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Apr 2005 08:35:06 -0700 Subject: mouseDown in menu bar In-Reply-To: <7151bb22a099b391246cde2ecddfb1a6@backtalk.com> References: <7151bb22a099b391246cde2ecddfb1a6@backtalk.com> Message-ID: <426A6B2A.1030009@fourthworld.com> Frank Leahy wrote: > I have a mouseDown handler in the menubar object in each stack. I just > noticed that the menubar's mouseDown handler was being called on *every* > mouseDown anywhere in the stack, not just in the menubar itself. Is > that correct? Is the menubar always in the message hierarchy? Groups that have their backgroundBehavior property set to true become part of the message path, as per HyperCard. If your menu group doesn't have the backgroundBehavior set to true then maybe something else is at play... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From eric.chatonet at sosmartsoftware.com Sat Apr 23 11:35:22 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 23 Apr 2005 17:35:22 +0200 Subject: mouseDown and within In-Reply-To: <497dc646fe936f89fb0693d9512146ef@adelphia.net> References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> <497dc646fe936f89fb0693d9512146ef@adelphia.net> Message-ID: Hi Tom, I did not know you were working on a PDA interface: So, I apologize :-) The problem is very different indeed. I take the opportunity to say that Pat's solution seems a better approach since mousemove is an IDE "pending" message. If you want the button hilited when the mouse is down and the mouseLoc within the button rectangle, but only in this case, you could try: on mouseMove -- in the script of the card if the mouse is "down" then repeat with i = 1 to 4 set the hilite of btn i to the mouseLoc is within the rect of btn i end repeat end if end mouseMove But I don't konw if I understood correctly your problem... Best regards from Paris, Le 23 avr. 05, ? 17:19, Thomas McGrath III a ?crit : > Eric, > I tried your script for a while and it will need a bit more work to > work for me. Thank you though. > > As far as the 'good ergonomics' , what I am trying to do in Rev works > in our Director project and also works in our pda prototype. You see, > on a PDA you don't have a mouseHover type of operation but instead you > must place a pen on the screen in a mouseDown situation and then move > the pen around in that state. If you stay for a time in one spot then > a popup will show. That is normal behavior for PDAs. I think it would > also be normal for touch screens. > > What I am doing is an offset of that concept and actually works quite > well in user interface parameters. We are using a palette of 18 > buttons that when you move the pen around in a penDown (simulated on > the Mac as a mouseDown) that the buttons will highlight so you know > you are actually over that button and if it is what you want then you > release the pen - executing a penUp (simulated as a mouseUp). If it is > not what you want then you move on to either another button or out of > our palette and release the penUp(mouseUp) in another area. We also > have a field in our palette that will display the name of the button > when in the penDown (mouseDown) state within the bonds of our palette > and will clear that text when leaving that button. > > In the end due to the operation of PDAs this behavior is intuitive and > expected and we just take it a step further by giving feedback while > the user is in our palette. > > Currently the problem I have with my scripts and the one you offer is > that I can't find a way to not allow the mouseDown to send messages to > the original control when I have moved on to another control. Your > solution does send a message to the control we have moved over BUT it > also sends a message back to the original control as well. It seems > Rev wants to stick to this in at least five different messages > including the mouseMove message IF the mouseDown was pressed and is > still down. > > Thanks again > > Tom > > On Apr 23, 2005, at 7:48 AM, Eric Chatonet wrote: >> on mouseDown >> if "button" is in the target then >> CheckOtherButtons -- ? >> end if >> end mouseDown >> --------------------------------------- >> CheckOtherButtons >> But I would to turn your attention to another thing: I'm not sure >> such a behaviour is good ergonomics... >> Best regards from Paris. >> Amicalement, Eric Chatonet. --------------------------------------------------------------- -------------- next part -------------- Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch --------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Post 24, Bd de Port-Royal 75005 Paris Phone (33) 143 317 762 Mobile (33) 620 745 086 --------------------------------------------------------------- From 3mcgrath at adelphia.net Sat Apr 23 12:02:43 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 12:02:43 -0400 Subject: mouseDown and within In-Reply-To: References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> <497dc646fe936f89fb0693d9512146ef@adelphia.net> Message-ID: <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> Eric, Thanks, Yeah I didn't specify the PDA simulation aspect before. No apology is needed of course. I appreciate the advice always. So here is what I have so far (adapted to my needs of course). AND it works. Sort of. The problem is still two fold: 1. If I release the mouse over another acceptable control there is no mouseUp sent to it since the mouseDown doesn't want to. This is the same in a mouseMove. and 2. The script below WORKS but leaves behind highlighted keys every couple of seconds. (oh so close) (it still will not send a mouseUp to the control we are over) ------ -- theKeys - holds my list of 18 acceptable buttons and the script is in the card -- thecheck - I hope holds the last button that was highlighted on mouseDown global theKeys if the short name of the target is among the lines of theKeys then -- if "button" is in the target then CheckOtherButtons -- ? end if end mouseDown --------------------------------------- on CheckOtherButtons global theKeys, thecheck if the mouse is up then exit CheckOtherButtons if thecheck is not empty then -- hopefully each 50 milliseconds this un-highlights the last key if there is one set the hilite of btn thecheck to false end if repeat for each line i in theKeys -- with i = 1 to the number of btns if the mouseLoc is within the rect of btn i then set the hilite of btn i to true put i into thecheck end if end repeat send "CheckOtherButtons" to me in 50 milliseconds end CheckOtherButtons Thanks I really need to get this right. Tom On Apr 23, 2005, at 11:35 AM, Eric Chatonet wrote: > Hi Tom, > > I did not know you were working on a PDA interface: So, I apologize :-) > The problem is very different indeed. From eric.chatonet at sosmartsoftware.com Sat Apr 23 12:21:25 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 23 Apr 2005 18:21:25 +0200 Subject: mouseDown and within In-Reply-To: <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> <497dc646fe936f89fb0693d9512146ef@adelphia.net> <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> Message-ID: <2a593f7b323eba56562530690a370358@sosmartsoftware.com> Hi Tom, Could not you send the mouseUp message by yourself? ;-) Simplified here: on CheckOtherButtons repeat with i = 1 to the number of btns if the mouse is down then set the hilite of btn i to the mouseLoc is within the rect of btn i else if the mouseLoc is within the rect of btn i then set the hilite of btn i to false send mouseUp to btn i exit CheckOtherButtons end if end if end repeat send "CheckOtherButtons" to me in 50 milliseconds end CheckOtherButtons Best regards from Paris, Le 23 avr. 05, ? 18:02, Thomas McGrath III a ?crit : > So here is what I have so far (adapted to my needs of course). AND it > works. Sort of. The problem is still two fold: > 1. If I release the mouse over another acceptable control there is no > mouseUp sent to it since the mouseDown doesn't want to. This is the > same in a mouseMove. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 3mcgrath at adelphia.net Sat Apr 23 12:22:58 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 12:22:58 -0400 Subject: mouseDown and within In-Reply-To: <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> <497dc646fe936f89fb0693d9512146ef@adelphia.net> <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> Message-ID: Hey Eric and others, HELP, I am so damn close. With the adjusted script below I can pretend to trap a mouseUp even though the actual mouseUp handler in my script doesn't receive it. (This is because of the mouseDown issue "bug", sort of, at least to me it is!). Any way the check if the mouse is up works over the new control at present and I get to hear the "mouse up" which will be replaced later with my necessary code. The problem now comes down to one thing. 1. The highlights don't always un-highlight and seems to be a time related thing. I tried 50 ms, 10 ms, 1 ms, and 5 ms - If I move the mouse around in the down state I end up with a trail of highlighted buttons left behind. Not all of them and some times it seems like the same ones but I can't prove that. on mouseDown global theKeys, thecheck if the short name of the target is among the lines of theKeys then -- if "button" is in the target then CheckOtherButtons -- ? end if end mouseDown --------------------------------------- on CheckOtherButtons global theKeys, thecheck if the mouse is up then set the hilite of btn thecheck to false revspeak "mouse up" && thecheck put "" into thecheck exit CheckOtherButtons end if if thecheck is not empty then set the hilite of btn thecheck to false end if repeat for each line i in theKeys --with i = 1 to the number of btns if the mouseLoc is within the rect of btn i then set the hilite of btn i to true put i into thecheck cPreviewKey i end if end repeat send "CheckOtherButtons" to me in 5 milliseconds -- 50 end CheckOtherButtons From 3mcgrath at adelphia.net Sat Apr 23 12:25:56 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 12:25:56 -0400 Subject: mouseDown and within In-Reply-To: <2a593f7b323eba56562530690a370358@sosmartsoftware.com> References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> <497dc646fe936f89fb0693d9512146ef@adelphia.net> <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> <2a593f7b323eba56562530690a370358@sosmartsoftware.com> Message-ID: Eric, I just posted another response before I saw this one. In the other the mouse up is faked a little bit. Tom On Apr 23, 2005, at 12:21 PM, Eric Chatonet wrote: > Hi Tom, > > Could not you send the mouseUp message by yourself? ;-) > Simplified here: > > on CheckOtherButtons > repeat with i = 1 to the number of btns > if the mouse is down then set the hilite of btn i to the mouseLoc > is within the rect of btn i > else > if the mouseLoc is within the rect of btn i then > set the hilite of btn i to false > send mouseUp to btn i > exit CheckOtherButtons > end if > end if > end repeat > send "CheckOtherButtons" to me in 50 milliseconds > end CheckOtherButtons > > Best regards from Paris, > > Le 23 avr. 05, ? 18:02, Thomas McGrath III a ?crit : > >> So here is what I have so far (adapted to my needs of course). AND it >> works. Sort of. The problem is still two fold: >> 1. If I release the mouse over another acceptable control there is no >> mouseUp sent to it since the mouseDown doesn't want to. This is the >> same in a mouseMove. > > Amicalement, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From jperryl at ecs.fullerton.edu Sat Apr 23 13:22:11 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 23 Apr 2005 10:22:11 -0700 (PDT) Subject: Some advice about Dreamcard player In-Reply-To: <7913327103.20050422114417@ahsoftware.net> Message-ID: ;-) On Fri, 22 Apr 2005, Mark Wieder wrote: > Judy- > > Friday, April 22, 2005, 9:59:41 AM, you wrote: > > JP> All I personally know about the player is that it crashes our OS 9 Macs in > JP> the lab whenever it is accidentally launched. > > There's a valuable lesson to be learned here - always launch the > player *on purpose* in OS9. From revdan at danshafer.com Sat Apr 23 14:52:41 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 23 Apr 2005 11:52:41 -0700 Subject: CSS In-Reply-To: <4c81db3c2620c3d91bd65583e230c4a4@hindu.org> References: <5abc1035e572820e6be71fda859628bc@hindu.org> <451844eb90a63802a1e98b3fb1649a20@danshafer.com> <4c81db3c2620c3d91bd65583e230c4a4@hindu.org> Message-ID: Thanks. That's always been my perception of my forte: I try to explain difficult concepts and techniques in simple terms. I'm doing the same thing with my new career as a spiritual teacher/writer. Dan On Apr 22, 2005, at 10:18 PM, Sivakatirswami wrote: > You probably get panned by wizards for being simplistic... but that's > the whole point...and you do it well. > > You can't tell a person to go to M, when he's at A... he has to know > how to get to B from A... maybe later he can learn to skip rope, chew > gum, whistle and hop at the same time, but in the beginning he needs > help just to get his head around it... "Here's the main building > blocks." That's where Dan comes in :-) > > > > On Apr 21, 2005, at 7:59 AM, Dan Shafer wrote: > >> Thanks for the kind words. Reviewers seem to be very hot or very cold >> on it. >> >> you've read it once more than I have! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Sat Apr 23 14:59:54 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 23 Apr 2005 11:59:54 -0700 Subject: Initial Caps in Table Fields In-Reply-To: References: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> Message-ID: No, the initial letter in the first cell was not capped when I opened it. Dan On Apr 23, 2005, at 3:33 AM, Thomas McGrath III wrote: > Dan, > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.5.1 > > Was the word Left initial capped when you opened it? It was here. > But, When I copy the table field to another stack and type into that > first square the problem goes away. meaning if I type with lower case > it stays that way in another stack. I am using a substack of a stack > with a windowShape . with hardly any scripts in the stack or card > script. > > TOm > > On Apr 22, 2005, at 11:33 PM, Dan Shafer wrote: > >> Tom.... >> >> Just can't make it fail. I tried about 30 times and it worked >> correctly every time. >> >> What OS are you testing on? Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From Cubist at aol.com Sat Apr 23 15:07:51 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Sat, 23 Apr 2005 15:07:51 EDT Subject: Limiting the number of characters per line in a scrolling field? Message-ID: <64.53cc749a.2f9bf707@aol.com> sez gbojsza at gmail.com: >I would like to limit the number of characters a user can input on any >line in a scrolling field. > >In the field script > >on keydown theKey > if theKey is not in " 0 1 2 3 4 5 6 7 8 9 - . " then > beep > exit keydown > else > if (the length of me) > 4 then > beep > exit keydown > end if > pass keydown > end if >end keydown > > "if the length of me is > 4 then..." this works but limits the >TOTAL field to 4 characters. Well, you could always let the field be updated normally, and use "send in" with a very short delay to check the field's contents *just* after that update occurs. Like so... local OldContents on keyDown DisKey put me into OldContents if DisKey is in ".-1234567890" then send "CheckMe" to me in 10 milliseconds pass keyDown else beep end if end keyDown on CheckMe put the selectedChunk into Fred # mind the e-mail line wrap here! put the number of lines in (char 1 to (word 4 of the selectedChunk) of me into DisLine # and here, too! if (line DisLine of me is not a number) or (the length of line DisLine of me > 4) then beep put OldContents into me end if end CheckMe Hmmm... "line DisLine of me is not a number" is supposed to cover all the bases, numerical-input-wise, but if the user wants to type a negative number, he'll start with a dash... not sure if "-" counts as a number... decimal points could be bothersome in this respect, too... If need be, try this for the IF statement instead: if not (((line DisLine of me is a number) or (line DisLine of me is in ". - -.")) and (the length of line DisLine of me <= 4)) then Hope this helps... From Cubist at aol.com Sat Apr 23 15:11:50 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Sat, 23 Apr 2005 15:11:50 EDT Subject: mouseDown and within Message-ID: <203.2ab57c.2f9bf7f6@aol.com> sez 3mcgrath at adelphia.ne >Thanks, this is one of the ways I have been trying. Two things are >wrong: >1. If the mouse is down then messages are still sent to the original >control that took the mouseDown and it tries to highlight >2. This only highlights the button or sets the color to blue when moved >within it but after leaving it leaves behind the blue. >I might have to stick with the Hover approach using the within message. >But our Director guy was able to do it in Director and since I am >duplicating that work in Rev it is a shame I won't be able to. I will >have to explain that Rev just can't do it. What about rolling your own messages? You could do a send-in-time loop which checks where the mouseLoc is, and triggers appropriate behavior for whichever locations? From eric.chatonet at sosmartsoftware.com Sat Apr 23 16:09:34 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 23 Apr 2005 22:09:34 +0200 Subject: Limiting the number of characters per line in a scrolling field? In-Reply-To: <3d8af4150504230350375da36e@mail.gmail.com> References: <3d8af4150504230350375da36e@mail.gmail.com> Message-ID: Hi Glen, One liner handler in the script of your field (if you please) : on keyDown pKey if (pKey is an integer) and (the number of chars of the selectedLine < 5) then pass keyDown end keyDown Best regards from Paris, PS. My ears don't like beep ;-) Le 23 avr. 05, ? 12:50, Glen Bojsza a ?crit : > I would like to limit the number of characters a user can input on any > line in a scrolling field. > > In the field script > > on keydown theKey > if theKey is not in " 0 1 2 3 4 5 6 7 8 9 - . " then > beep > exit keydown No need exiting: nothing else can happen! > else > if (the length of me) > 4 then > beep > exit keydown Same comment :-) > end if > pass keydown > end if > end keydown > > "if the length of me is > 4 then..." this works but limits the > TOTAL field to 4 characters. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dsc at swcp.com Sat Apr 23 16:18:04 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 23 Apr 2005 14:18:04 -0600 Subject: Limiting the number of characters per line in a scrolling field? In-Reply-To: <64.53cc749a.2f9bf707@aol.com> References: <64.53cc749a.2f9bf707@aol.com> Message-ID: On Apr 23, 2005, at 1:07 PM, Cubist at aol.com wrote: > send "CheckMe" to me in 10 milliseconds Or send "Checkme" to me in -10 seconds Without the time-travel external, that queues it up to execute right after the current goings-on, but after really high priority stuff that was queued for -100000 seconds. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From alex at tweedly.net Sat Apr 23 16:34:43 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 23 Apr 2005 21:34:43 +0100 Subject: mouseDown and within In-Reply-To: References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> <497dc646fe936f89fb0693d9512146ef@adelphia.net> <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> Message-ID: <426AB163.5080901@tweedly.net> Thomas McGrath III wrote: > Hey Eric and others, > > HELP, I am so damn close. > > With the adjusted script below I can pretend to trap a mouseUp even > though the actual mouseUp handler in my script doesn't receive it. > (This is because of the mouseDown issue "bug", sort of, at least to me > it is!). Any way the check if the mouse is up works over the new > control at present and I get to hear the "mouse up" which will be > replaced later with my necessary code. > > The problem now comes down to one thing. > 1. The highlights don't always un-highlight and seems to be a time > related thing. I tried 50 ms, 10 ms, 1 ms, and 5 ms - If I move the > mouse around in the down state I end up with a trail of highlighted > buttons left behind. Not all of them and some times it seems like the > same ones but I can't prove that. Thomas, I haven't had good email access for the last few days, so I hadn't been following this thread closely - so I may have missed a problem described earlier, but.... your description of the PDA interactions required seemed straightforward (and I didn't like the sound of debugging time-related or race conditions), so I thought I'd try it from scratch. The following script does what I think you want :-), with no hilites left behind or other issues. Notes: 1. I created four buttons (B1,B2,B3,B4), and set the "auto-hilite" of each to false (otherwise the hilite is unhelpfully removed for you when the mouse leaves the initial button) 2. I put all four buttons within a group - and put all the code below in the *group*'s script. 3. It assumes that you start off with "theOne" set to empty; this will be the case in production use (because it always sets it to empty on mouseUp/Release - but beware that in development (e.g. if a script stops with an error), you'll need to tidy that up before restarting the script. I added an extra button (tidy) to the group and the script, and did this tidying up in there. 4. I left in some of the debugging - lines like put "A" && ..... where the initial letter let's me know which line is doing it ... > global theKeys, theOne > > on mouseDown > > -- tidy up - for development use only > if the short name of the mouseControl = "Tidy" then > put "B1,B2,B3,B4" into theKeys -- should be elsewhere !! > put empty into theOne > exit mouseDown > end if > > put the short name of the mouseControl into theOne > set the hilite of button theOne to true > end mouseDown > > on mouseMove x,y > if theOne is empty then exit mouseMove > repeat for each item B in theKeys > if the mouseloc is within the rect of button B then > if theOne <> B then > if theOne is not empty then > set the hilite of button theOne to false > -- put "A" && theOne && "false" & cr after msg > end if > put B into theOne > put B & Cr after msg -- or into a field to display > set the hilight of button B to true > -- put "B" && theOne && "true" & cr after msg > end if > else > if B <> theOne then > if the hilite of button B then > put B & Cr after msg > set the hilight of button B to false > -- put "C" && theOne && "false" & cr after msg > end if > end if > end if > end repeat > end mouseMove > > on mouseUp > if theOne is not empty then > set the hilite of button theOne to false > if the mouseloc is within the rect of group id 1076then put > "mouseUp select " && theOne & cr after msg > put empty into theOne > end if > end mouseUp > > on mouseRelease > if theOne is not empty then > set the hilite of button theOne to false > if the mouseloc is within the rect of group id 1076 then put > "mouseRelease select " && theOne & cr after msg > put empty into theOne > end if > end mouseRelease -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 21/04/2005 From bvg at mac.com Sat Apr 23 16:51:32 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 23 Apr 2005 22:51:32 +0200 Subject: RunRev and Cookies In-Reply-To: <6aa301c0571500ff79215c7fd4b127bb@mac.com> References: <6aa301c0571500ff79215c7fd4b127bb@mac.com> Message-ID: <68beb33939f88a3223f4206c932e622c@mac.com> On Apr 23 2005, at 03:25, Bj?rnke von Gierke wrote: > I want to make a standalone app with rev that replaces a web page. > Ideally nothing on the server side should be changed, thus I would > need to accept, store and send a cookie. Anyone done this before and > able to shed some light on this? I guess I need to change my HTML > headers somehow? I figured this out by reading some specification. basically what you get is a "set-cookie:" line in the headers, and you should send the cookie back by using a "cookie:" line. what i have done is basically two lines to retrieve the cookie (watch for linewraps): get url "http://jedi.galciv.org/northwood/forum/login.php" put char 5 to -1 of line lineoffset("Set-Cookie: phpbb2mysql_sid=", libURLLastRHHeaders()) of libURLLastRHHeaders() into gCookie now to send the cookie back, i just have to set the httpHeaders every time i contact the website: set the httpHeaders to gCookie finished. -- official ChatRev page: http://chatrev.cjb.net Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From dsc at swcp.com Sat Apr 23 17:29:09 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 23 Apr 2005 15:29:09 -0600 Subject: Limiting the number of characters per line in a scrolling field? In-Reply-To: References: <3d8af4150504230350375da36e@mail.gmail.com> Message-ID: <4f6efaa9cf196fe01e90b1df75779c44@swcp.com> On Apr 23, 2005, at 2:09 PM, Eric Chatonet wrote: > on keyDown pKey > if (pKey is an integer) and (the number of chars of the selectedLine > < 5) then pass keyDown > end keyDown Will this let in the occasional accented character? Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From 3mcgrath at adelphia.net Sat Apr 23 17:34:11 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 17:34:11 -0400 Subject: Initial Caps in Table Fields In-Reply-To: References: <41d597c5e3d2034ee0a39a0fa8efe9a0@danshafer.com> Message-ID: <67144cc77ed374ad2a8c2db8959a5404@adelphia.net> Now that's weird. I copied the table field to another stack and back again and now it acts normally. I just don't know. Thanks for looking at it though. Tom On Apr 23, 2005, at 2:59 PM, Dan Shafer wrote: > No, the initial letter in the first cell was not capped when I opened > it. > > Dan Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Sat Apr 23 17:50:11 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sat, 23 Apr 2005 17:50:11 -0400 Subject: mouseDown and within In-Reply-To: <426AB163.5080901@tweedly.net> References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> <497dc646fe936f89fb0693d9512146ef@adelphia.net> <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> <426AB163.5080901@tweedly.net> Message-ID: <2974db66e8a39277b3cf086a9c2cbb8d@adelphia.net> Alex, Thanks for responding. I spent all day trying things out but now I need a break. I am going out to eat and tonight or tomorrow I will revisit your code. It looks interesting. So far, I have a hover solution. I also have a mouse down and up while the mouse is down that sends messages to the button I am over even though real up and downs won't be sent. Pretty cool. But my real goal is to fix the way I think it should be and I will share what I get when I am done. Thanks for all the help, Tom On Apr 23, 2005, at 4:34 PM, Alex Tweedly wrote: > Thomas, I haven't had good email access for the last few days, so I > hadn't been following this thread closely - so I may have missed a > problem described earlier, but.... > > your description of the PDA interactions required seemed > straightforward (and I didn't like the sound of debugging time-related > or race conditions), so I thought I'd try it from scratch. > > The following script does what I think you want :-), with no hilites > left behind or other issues. From gbojsza at gmail.com Sat Apr 23 18:14:20 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 23 Apr 2005 18:14:20 -0400 Subject: Limiting the number of characters per line in a scrolling field? In-Reply-To: <4f6efaa9cf196fe01e90b1df75779c44@swcp.com> References: <3d8af4150504230350375da36e@mail.gmail.com> <4f6efaa9cf196fe01e90b1df75779c44@swcp.com> Message-ID: <3d8af41505042315142df49e05@mail.gmail.com> This seems to do the trick but now I have to ask... What's an accented character? On 4/23/05, Dar Scott wrote: > > On Apr 23, 2005, at 2:09 PM, Eric Chatonet wrote: > > > on keyDown pKey > > if (pKey is an integer) and (the number of chars of the selectedLine > > < 5) then pass keyDown > > end keyDown > > Will this let in the occasional accented character? > > Dar > > -- > ********************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > A Sponsor of RevCon West > ********************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From frank at backtalk.com Sat Apr 23 19:28:00 2005 From: frank at backtalk.com (Frank Leahy) Date: Sun, 24 Apr 2005 00:28:00 +0100 Subject: mouseDown in menu bar In-Reply-To: <20050423160007.1C886930108@mail.runrev.com> References: <20050423160007.1C886930108@mail.runrev.com> Message-ID: Well, that would do it. Yes, the backgroundBehavior is set to true...it must be the default setting as I never changed it. Thanks, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Apr 23, 2005, at 5:00 PM, use-revolution-request at lists.runrev.com wrote: > From: Richard Gaskin > Subject: Re: mouseDown in menu bar > To: How to use Revolution > Message-ID: <426A6B2A.1030009 at fourthworld.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Frank Leahy wrote: >> I have a mouseDown handler in the menubar object in each stack. I >> just >> noticed that the menubar's mouseDown handler was being called on >> *every* >> mouseDown anywhere in the stack, not just in the menubar itself. Is >> that correct? Is the menubar always in the message hierarchy? > > Groups that have their backgroundBehavior property set to true become > part of the message path, as per HyperCard. > > If your menu group doesn't have the backgroundBehavior set to true then > maybe something else is at play... > > -- > Richard Gaskin From dsc at swcp.com Sat Apr 23 19:58:53 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 23 Apr 2005 17:58:53 -0600 Subject: Limiting the number of characters per line in a scrolling field? In-Reply-To: <3d8af41505042315142df49e05@mail.gmail.com> References: <3d8af4150504230350375da36e@mail.gmail.com> <4f6efaa9cf196fe01e90b1df75779c44@swcp.com> <3d8af41505042315142df49e05@mail.gmail.com> Message-ID: <34dfe0adc89bc4eaff335807d5f13982@swcp.com> On Apr 23, 2005, at 4:14 PM, Glen Bojsza wrote: > This seems to do the trick but now I have to ask... > > What's an accented character? I'm thinking of umlaut and such. Maybe I'm using the wrong word. On OS X when I type in option-u u, the key message handlers are bypassed. Maybe that's been fixed? Dar >>> on keyDown pKey >>> if (pKey is an integer) and (the number of chars of the >>> selectedLine >>> < 5) then pass keyDown >>> end keyDown >> >> Will this let in the occasional accented character? -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From ps1 at softseven.org Sun Apr 24 00:01:06 2005 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 23 Apr 2005 23:01:06 -0500 Subject: delete registry do no work In-Reply-To: <426AB163.5080901@tweedly.net> References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> <497dc646fe936f89fb0693d9512146ef@adelphia.net> <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> <426AB163.5080901@tweedly.net> Message-ID: <6.1.1.1.2.20050423225357.02a5d1a8@softseven.org> I'mm trying to get a button to delete a registry, but it gives an error: Type Handler: can't find handler Object Button Line deleteRegistry("HKEY_CURRENT_USER\Software\123\UserName\") Hint deleteRegistry this is my command to save the registry: put "HKEY_CURRENT_USER\Software\123\UserName" into tRegistryKey Anyone see what might be wrong? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From revolution at jaedworks.com Sun Apr 24 02:44:48 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 23 Apr 2005 23:44:48 -0700 Subject: delete registry do no work In-Reply-To: <6.1.1.1.2.20050423225357.02a5d1a8@softseven.org> References: <839b9e73438ba95a70d1779a0431f295@adelphia.net> <77a6af09fbdd6a5161c036acc3ca22cc@sosmartsoftware.com> <497dc646fe936f89fb0693d9512146ef@adelphia.net> <9d613c660dd71b28e4f5c4c9ca70bdb5@adelphia.net> <426AB163.5080901@tweedly.net> <6.1.1.1.2.20050423225357.02a5d1a8@softseven.org> Message-ID: At 11:01 PM -0500 4/23/05, Paul Salyers wrote: >I'mm trying to get a button to delete a registry, but it gives an error: > >Type Handler: can't find handler >Object Button >Line deleteRegistry("HKEY_CURRENT_USER\Software\123\UserName\") >Hint deleteRegistry deleteRegistry is a function. You need to say: get deleteRegistry("HKEY_CURRENT_USER\Software\123\UserName\") or put deleteRegistry("HKEY_CURRENT_USER\Software\123\UserName\") into myVar rather than just deleteRegistry("HKEY_CURRENT_USER\Software\123\UserName\") -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From eric.chatonet at sosmartsoftware.com Sun Apr 24 05:59:22 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 24 Apr 2005 11:59:22 +0200 Subject: Two keys characters combinations (Was Limiting the number of characters per line in a scrolling field) In-Reply-To: <34dfe0adc89bc4eaff335807d5f13982@swcp.com> References: <3d8af4150504230350375da36e@mail.gmail.com> <4f6efaa9cf196fe01e90b1df75779c44@swcp.com> <3d8af41505042315142df49e05@mail.gmail.com> <34dfe0adc89bc4eaff335807d5f13982@swcp.com> Message-ID: <8cc980b04a8d05016b6def98351f77fd@sosmartsoftware.com> Hi Dar and Glen, It seems that special characters you can type with a single key (? with a French keyboard, ? with a German one, etc.) which were bypassed with Rev 2.2.x work now correctly since Rev 2.5. But for all characters which need a two keys combination (? with a French keyboard, ? with an English one, etc.), the message handlers (keyUp/Down and rawKeyUp/Down) are still bypassed :-( I did not check Bugzilla... Le 24 avr. 05, ? 01:58, Dar Scott a ?crit : > On Apr 23, 2005, at 4:14 PM, Glen Bojsza wrote: > >> This seems to do the trick but now I have to ask... >> What's an accented character? > > I'm thinking of umlaut and such. Maybe I'm using the wrong word. > On OS X when I type in option-u u, the key message handlers are > bypassed. Maybe that's been fixed? Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From kkaufman at snet.net Sun Apr 24 09:43:52 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun, 24 Apr 2005 09:43:52 -0400 Subject: another multi-user "solution"? Message-ID: <42afdcd6c24262dc2350e2affff2e0b4@snet.net> This morning, while in the shower of course ("Mr. Kaufman, the U.N. has decided to elect you Secretary General, on the condition that all of your decisions regarding this institution are made whilst you are in the shower.") I thought of another possible Rev-only solution to the problem of allowing multiple user access to data. Originally I had thought of two or more "anchor" apps that would subsequently open one of many data-record stacks. But instead of record-stacks, why not record-text-files? While opening a single text file containing all of the records would effectively shut out any other users from accessing the data, if that data was divided into separate text files, one for each record, any number of users could work on them (provided they were working on different records, of course). Plus, there would be the added advantage of easy manual correction should one of the records become corrupted somehow. My needs here are very basic; the records do not have to interact in any way; I don't have to do operations on any of the records in the aggregate (else I could see how opening many records successively would be cumbersome). Before I embark on this option, does anyone see any serious problems with this method? TIA, Kurt From bill at bluewatermaritime.com Sun Apr 24 10:19:15 2005 From: bill at bluewatermaritime.com (Bill) Date: Sun, 24 Apr 2005 10:19:15 -0400 Subject: another multi-user "solution"? In-Reply-To: <42afdcd6c24262dc2350e2affff2e0b4@snet.net> Message-ID: Why again are you not just using MySQL or SQLite? On 4/24/05 9:43 AM, "Kurt Kaufman" wrote: > This morning, while in the shower of course ("Mr. Kaufman, the U.N. has > decided to elect you Secretary General, on the condition that all of > your decisions regarding this institution are made whilst you are in > the shower.") I thought of another possible Rev-only solution to the > problem of allowing multiple user access to data. > > Originally I had thought of two or more "anchor" apps that would > subsequently open one of many data-record stacks. But instead of > record-stacks, why not record-text-files? While opening a single text > file containing all of the records would effectively shut out any other > users from accessing the data, if that data was divided into separate > text files, one for each record, any number of users could work on them > (provided they were working on different records, of course). Plus, > there would be the added advantage of easy manual correction should one > of the records become corrupted somehow. > > My needs here are very basic; the records do not have to interact in > any way; I don't have to do operations on any of the records in the > aggregate (else I could see how opening many records successively would > be cumbersome). > > Before I embark on this option, does anyone see any serious problems > with this method? > > TIA, Kurt > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From kkaufman at snet.net Sun Apr 24 10:36:03 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun, 24 Apr 2005 10:36:03 -0400 Subject: another multi-user "solution"? Message-ID: Bill wrote: Why again are you not just using MySQL or SQLite? Kurt: I guess I'm a bit intimidated: Many pages of information on how to set up a Rev stack to work with a SQL db; the question of how to create the db itself from existing data in stack format (I've managed to export it to text, but I've no idea how to do so in SQL format). I once borrowed a book on SQL about 10 years ago, but remember nothing now. I guess I also feel that if I have my scripts keeping track of all the data and formatting, I can easily correct a potential problem myself. With someone else's drivers as another part of the picture (on Windows, of which I don't really have enough knowledge to do effective troubleshooting). But thanks for your input; I know that there are probably those for whom working with SQL is a piece of cake; in their eyes I'm probably making things much more difficult for myself that they need be.... Kurt From rcozens at pon.net Sun Apr 24 11:39:02 2005 From: rcozens at pon.net (Rob Cozens) Date: Sun, 24 Apr 2005 08:39:02 -0700 Subject: another multi-user "solution"? In-Reply-To: References: Message-ID: <6.2.1.2.1.20050424081302.01e6ea48@pop3.pon.net> Hi Kurt, >I know that there are probably those for whom working with SQL is a piece >of cake; in their eyes I'm probably making things much more difficult for >myself that they need be.... A project I was working on started down the SQL road and hit a BIG bump with the first book on actually setting up and administering an SQL network on Mac OS X. Do you like Unix command line syntax, aka Apple's Terminal application? Would you like to walk users through it over the phone as part of your support effort? Do you want to predefine every data field to the database...and assign each a data type which may be meaningless to Transcript? Do you want to ship &/or install different versions of server on different platforms? Then yes, you may be making life more difficult. Kurt, I was going to suggest you look at working within Transcript's record locking procedure; but I recall doing that in the aftermath of learning the realities of SQL. I concluded that, since Transcript reserves write capability for the first person to open a stack until she closes it, any scheme that requires concurrent update by more than one user meant opening and closing the data stack with each read or write--which I considered unacceptable overhead. But note that all read-only stacks can be shared by multiple users now. What you propose with text file databases should work seamlessly within Transcript and require no third-party software. ...and if that fails, there's always SDB. :{`) Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From got at mindspring.com Sun Apr 24 12:12:07 2005 From: got at mindspring.com (Gordon Tillman) Date: Sun, 24 Apr 2005 11:12:07 -0500 Subject: another multi-user "solution"? In-Reply-To: <42afdcd6c24262dc2350e2affff2e0b4@snet.net> References: <42afdcd6c24262dc2350e2affff2e0b4@snet.net> Message-ID: <35f4e04fa4ac42cfb474ef2759c6cffa@mindspring.com> Howdy Kurt, On Apr 24, 2005, at 08:43, Kurt Kaufman wrote: > This morning, while in the shower of course ("Mr. Kaufman, the U.N. > has decided to elect you Secretary General, on the condition that all > of your decisions regarding this institution are made whilst you are > in the shower.") I thought of another possible Rev-only solution to > the problem of allowing multiple user access to data. > > Originally I had thought of two or more "anchor" apps that would > subsequently open one of many data-record stacks. But instead of > record-stacks, why not record-text-files? While opening a single text > file containing all of the records would effectively shut out any > other users from accessing the data, if that data was divided into > separate text files, one for each record, any number of users could > work on them (provided they were working on different records, of > course). Plus, there would be the added advantage of easy manual > correction should one of the records become corrupted somehow. > > My needs here are very basic; the records do not have to interact in > any way; I don't have to do operations on any of the records in the > aggregate (else I could see how opening many records successively > would be cumbersome). > > Before I embark on this option, does anyone see any serious problems > with this method? One potential problem - if you are relying on the filesystem's locking facilities to control access to files in a multi-user situation, then I'm guessing that the volume that holds these files must be made available to each of the client computers that is running your application. But remember in that case that file locking is not a reliable mechanism on a network mounted volume. If you don't want to use a database, one simple (and somewhat cool) solution would be to have a server stack or resource management stack running on your designated server machine. This application would listen on a designated port. When any of your client applications needed to access a shared resource they would open a socket connection with the server app, get or update the resource in question, and then close the socket. So long as you don't have a whole lot of clients and you don't keep the sockets open a long time this would work just fine. --gordy From kkaufman at snet.net Sun Apr 24 12:45:27 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun, 24 Apr 2005 12:45:27 -0400 Subject: another multi-user "solution"? Message-ID: <71284489c8377c312c5d5bac08de24cf@snet.net> GT wrote: One potential problem - if you are relying on the filesystem's locking facilities to control access to files in a multi-user situation, then I'm guessing that the volume that holds these files must be made available to each of the client computers that is running your application. But remember in that case that file locking is not a reliable mechanism on a network mounted volume. [...] Kurt: Thanks for your advice. This is a Windows Workgroup PTP network with just 3 computers; no restricted data as far as any of the users is concerned, so I don't see a problem there. From kkaufman at snet.net Sun Apr 24 12:50:15 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun, 24 Apr 2005 12:50:15 -0400 Subject: another multi-user "solution"? Message-ID: RC wrote: [...] What you propose with text file databases should work seamlessly within Transcript... Kurt: I'm glad to hear that. Thanks. From stephenREVOLUTION at barncard.com Sun Apr 24 13:21:53 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 24 Apr 2005 10:21:53 -0700 Subject: To MySQL or Not SQL Message-ID: I've been up and down with this 'to SQL or not SQL' thing for a while, fearing long monotonous nights debugging arcane commands and crashing, etc. which has been my experience with client server databases used with x-talks in years past. Remember "Butler"? Holy smoke, what a crashfest. Not helped by system 7's ODBC implementation. I've painfully worked with GoLive 6's amazing but buggy Dynamic feature, which allows you to create webpages that suck data from MySQL and others. It writes php or asp snippets to the web page as well as install a few subroutines on your site. Brilliantly executed, to a point, except it looked like they just ran out of money and stopped beta testing and debugging. Out it went, and with only one bug fix version (the first version wouldn't work at all) that was it, in typical Adobe fashion. "There are no more bugs in this product." So I had to tough it out with the unfamiliar PHP code calling SQL from html. Pretty crazy. But one thing in all my struggles was constant: my MySQL server hosted at Dreamhost. I gotta tell ya, if you guys don't have an ISP that includes mySQL, python,perl,mysql, quicktime streaming on a Linux server... move!! This stuff works, and one of the benefits of my particular webhost is that MySQL is part of the deal. They maintain it, and you secure it, put data in, and use it. For $10/month! Why bother running one's own server for most projects if installation is painful? But, getting to the point, I recently started a project that included a client-server function and I felt that this might take a while to get running. I actually tried to make a 'mock-database' in globals thinking it might allow me to get on to the other parts of building and come back to it; you know, hook it up later. Well I was debugging pretty much what would start to look like SQL calls anyway, so I just scrapped it and was determined to do it the 'right' way. I got Sarah's fine SQL stack, which demonstrates some of the built-in SQL functionality of Rev, with a very nice layout and a simple dislplay of data that I hadn't seen before -- thanks for the idea..and it inspired me to just dive in. Still I needed a bit more functionality and ease...too many things to open and close, cleanup etc.. THEN.. after a tiny bit of searching I found Trevor Devore's libDB... finally, a simple, logical way to deal with database calls. And it works, fast and clean. And all based on Rev arrays. Yesterday, I reached a milestone in my project, I got a moderately complicated multi-call SQL report working...and it took about 2 weeks after I decided to go for the 'real deal'. So I'd say, if your project can use client-server functionality now or in the future, do it! Use Chipps altMYSQL lite if it's imbedded. It just works and saves time for other things, like the interface! SQL itself is pretty easy as a language. It's verbose, self describing and consists of 40 or so commands that all make sense. Sometimes it's almost like Transcript! You usually only need to know a few commands to get a listing or a single record. It's a little more involved to insert and create records, but not much with Trevor's lib. And if the data doesn't need to be entered much, one can always manage the data input side with a SQL client such as CocoaMySQL and many others. I save various SQL calls in custom properties to avoid a lot of the quoting problems, and Trevor's lib also cleans up the entered SQL calls. Speaking of verbose, I'll stop. Sorry for the long post. stephen quinn barncard (sqb) >Hi Kurt, > >>I know that there are probably those for whom working with SQL is a >>piece of cake; in their eyes I'm probably making things much more >>difficult for myself that they need be.... > >A project I was working on started down the SQL road and hit a BIG >bump with the first book on actually setting up and administering an >SQL network on Mac OS X. Do you like Unix command line syntax, aka >Apple's Terminal application? Would you like to walk users through >it over the phone as part of your support effort? Do you want to >predefine every data field to the database...and assign From len-morgan at crcom.net Sun Apr 24 14:27:49 2005 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 24 Apr 2005 13:27:49 -0500 Subject: Table Formatting Message-ID: <426BE525.8080909@crcom.net> This may seem like a simple question but how do I format a table field with different widths for the columns and a header? What I want is a three column table with a single digit in the first column, a dollar amount in the second, and a (fairly) long description in the third. I also want to have a set of titles above the table denoting what each column is for. I looked up table in the documents and don't see much that would help me. Thanks in advance... Len Morgan From psahores at easynet.fr Sun Apr 24 15:00:50 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 24 Apr 2005 21:00:50 +0200 Subject: To MySQL or Not SQL In-Reply-To: References: Message-ID: <080ec7748ac1895e5d572491dfb7cb2f@easynet.fr> > > So I'd say, if your project can use client-server functionality now or > in the future, do it! Use Chipps altMYSQL lite if it's imbedded. It > just works and saves time for other things, like the interface! > > SQL itself is pretty easy as a language. It's verbose, self describing > and consists of 40 or so commands that all make sense. Sometimes it's > almost like Transcript! You usually only need to know a few commands > to get a listing or a single record. It's a little more involved to > insert and create records, but not much with Trevor's lib. And if the > data doesn't need to be entered much, one can always manage the data > input side with a SQL client such as CocoaMySQL and many others. I > save various SQL calls in custom properties to avoid a lot of the > quoting problems, and Trevor's lib also cleans up the entered SQL > calls. > > Speaking of verbose, I'll stop. Sorry for the long post. > > stephen quinn barncard > (sqb) SQL is, probably, in about direct to disk datas storage and management, the perfect Rev sister-ship and, with the help of Chipp's libraries, a piece of cake to set-up. Leaen once how to drive SQL back-ends from within Rev and you will than use this winning combination all the time :-) -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From yvescoppe at skynet.be Sun Apr 24 15:09:14 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 24 Apr 2005 21:09:14 +0200 Subject: Table Formatting In-Reply-To: <426BE525.8080909@crcom.net> References: <426BE525.8080909@crcom.net> Message-ID: Le 24-avr.-05, ? 20:27, Len Morgan a ?crit : > This may seem like a simple question but how do I format a table field > with different widths for the columns and a header? > > What I want is a three column table with a single digit in the first > column, a dollar amount in the second, and a (fairly) long description > in the third. I also want to have a set of titles above the table > denoting what each column is for. > I looked up table in the documents and don't see much that would help > me. > > Thanks in advance... > > Look at tabstops property : set the tabStops of field to tabStopList Hope this helps Greetings. Yves COPPE yvescoppe at skynet.be From jacque at hyperactivesw.com Sun Apr 24 15:56:14 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Apr 2005 14:56:14 -0500 Subject: another multi-user "solution"? In-Reply-To: <6.2.1.2.1.20050424081302.01e6ea48@pop3.pon.net> References: <6.2.1.2.1.20050424081302.01e6ea48@pop3.pon.net> Message-ID: <426BF9DE.6060201@hyperactivesw.com> On 4/24/05 10:39 AM, Rob Cozens wrote: > I concluded that, since Transcript > reserves write capability for the first person to open a stack until she > closes it, any scheme that requires concurrent update by more than one > user meant opening and closing the data stack with each read or > write--which I considered unacceptable overhead. But note that all > read-only stacks can be shared by multiple users now. Actually, while HyperCard works that way, Revolution lets multiple users open a stack and write to it. If two people have the stack open at the same time, either one can overwrite the other's changes. Record locking has to be scripted; often accomplished by writing a small text file to disk that tracks usage. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From varen at veggio.com Sun Apr 24 17:25:20 2005 From: varen at veggio.com (Varen Swaab) Date: Sun, 24 Apr 2005 14:25:20 -0700 Subject: Slider Questions Message-ID: Hi everyone, I have a couple of questions about sliders. I?m using my slider to adjust the speed of playback for a presentation. 1. Is there a way to build a new slider widget to replace the system sliders? I?d like to have the identical slider on all platforms. 2. Is there a way to ?snap? the slider handle into specific positions so the slider handle is in the absolute position of the closest whole value it was near when the user releases the mouse click ....there must be an easier way to say that :) Thanks From see3d at writeme.com Sun Apr 24 19:31:56 2005 From: see3d at writeme.com (Dennis Brown) Date: Sun, 24 Apr 2005 19:31:56 -0400 Subject: Slider Questions In-Reply-To: References: Message-ID: <41a78fd3b9ebd7cb376c375e573d798d@writeme.com> On Apr 24, 2005, at 5:25 PM, Varen Swaab wrote: > 2. Is there a way to ?snap? the slider handle into specific positions > so the > slider handle is in the absolute position of the closest whole value > it was > near when the user releases the mouse click ....there must be an > easier way > to say that :) > Varen, I did this with a simple mouseup handler in the slider script: on mouseup set thumbposition of me to round(thumbposition of me) end mouseup From varen at veggio.com Sun Apr 24 22:21:54 2005 From: varen at veggio.com (Varen Swaab) Date: Sun, 24 Apr 2005 19:21:54 -0700 Subject: Slider Questions In-Reply-To: <41a78fd3b9ebd7cb376c375e573d798d@writeme.com> Message-ID: Thank you Dennis, that worked perfectly!!! On 4/24/05 4:31 PM, "Dennis Brown" wrote: > > On Apr 24, 2005, at 5:25 PM, Varen Swaab wrote: > >> 2. Is there a way to ?snap? the slider handle into specific positions so the >> slider handle is in the absolute position of the closest whole value it was >> near when the user releases the mouse click ....there must be an easier way >> to >> say that :) >> > > Varen, > > I did this with a simple mouseup handler in the slider script: > > on mouseup > set thumbposition of me to round(thumbposition of me) > end mouseup > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ps1 at softseven.org Sun Apr 24 23:42:37 2005 From: ps1 at softseven.org (Paul Salyers) Date: Sun, 24 Apr 2005 22:42:37 -0500 Subject: Registry write/read problems Message-ID: <6.1.1.1.2.20050424223250.025d8c18@softseven.org> Dear Rev Programmer, I have a program that writes a key to registry to unlock a program and make it go from shareware to full version. I program on a Windows 2000 Pro. The executable works great on my Windows 2000 Pro & Windows 98 laptop. Three friends run it on their Windows XP and it worked fully on 1 worked half way on 1 and didn't work at all on 1. * * Worked fully: means the program registered the key and it shows that the program is registered. Worked half: means it registered the programs, but didn't show that it registered the programs. Didn't work: didn't register at all. Any reasons why the 3 XP was like this? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From ambassador at fourthworld.com Mon Apr 25 01:34:49 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 24 Apr 2005 22:34:49 -0700 Subject: Registry write/read problems In-Reply-To: <6.1.1.1.2.20050424223250.025d8c18@softseven.org> References: <6.1.1.1.2.20050424223250.025d8c18@softseven.org> Message-ID: <426C8179.6000700@fourthworld.com> Paul Salyers wrote: > I have a program that writes a key to registry to unlock a program and > make it go from shareware to full version. > > I program on a Windows 2000 Pro. The executable works great on my > Windows 2000 Pro & Windows 98 laptop. > > Three friends run it on their Windows XP and it worked fully on 1 worked > half way on 1 and didn't work at all on 1. * I can't offer any insight into the Registry, as I generally avoid platform-specific solutions whenever possible. Maybe this multi-platform alternative will be helpful: I tend to store reg info in stack files, and you can tuck them into C:/Documents and Settings//Application Data/ You can obtain the path to that folder with: get specialFolderPath(26) For a list of all specialFolderPath options available for both Mac and Win see Ken Ray's excellent compendium at On Mac I do the same thing, storing the info in the Preferences folder using: get specialFolderPath("preferences") The stack I store the info in contains code and/or objects critical to the program's operation, so merely deleting it will make the program unable to run. It's not bullet-proof (what is?), but it's more secure and less volatile than the Registry, can be used on all platforms, and avoids the wonkiness of working with the Registry. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From eric.chatonet at sosmartsoftware.com Mon Apr 25 02:52:38 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 25 Apr 2005 08:52:38 +0200 Subject: Slider Questions In-Reply-To: References: Message-ID: Hi Varen, As for the first point, you could check the Custom Volume Slider stack from Klaus Major. RevOnline, user: klausimusi As for the second point, you could check my #007 How-To stack: How to manage "Snap to" scrollbars. RevOnline, user: So Smart Software Best regards from Paris, Le 24 avr. 05, ? 23:25, Varen Swaab a ?crit : > I have a couple of questions about sliders. I?m using my slider to > adjust > the speed of playback for a presentation. > > 1. Is there a way to build a new slider widget to replace the system > sliders? I?d like to have the identical slider on all platforms. > 2. Is there a way to ?snap? the slider handle into specific positions > so the > slider handle is in the absolute position of the closest whole value > it was > near when the user releases the mouse click ....there must be an > easier way > to say that :) Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From marisa.kosaisaevee at netgalileo.com Mon Apr 25 04:20:03 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa K.) Date: Mon, 25 Apr 2005 15:20:03 +0700 Subject: Unicode Displaying in Runtime Revolution #2 In-Reply-To: <0c8772298bf225e15ebc498f246f9900@mangomultimedia.com> References: <426722DA.4020508@netgalileo.com> Message-ID: <426CA833.6010701@netgalileo.com> Hello Trevor, Thank you so much for your reply. I had tried on your suggestion(using cursors) but it didn't work with me, still. While, English texts can be displayed just fine, Thai's texts cannot. Well, I connect to the database through ODBC. Do you think this is where the problem is? Every suggestions are welcome as I'm willing to try. Regards, Marisa Trevor DeVore wrote: > On Apr 20, 2005, at 10:30 PM, Marisa. wrote: > Hmm, this worked in a test I did last night using MySQL on some UTF8 > encoded data. The only difference is that I used cursors > (revQueryDatabase and revDatabaseColumnNamed). Perhaps try that and > see if it changes results at all. I'm not sure why it would but you > never know. > >> Hi Trevor, >> >> Thank you agian for your suggestion. You are right about the database >> of UTF-8. :-) >> >> However, I've tried on that, too, but the result is the same!! >> >> I wrote script as: >> >> on openCard >> global tID >> set the unicodeText of fld testDB to uniEncode( revDataFromQuery (, >> return, tID, "SELECT cityLocalName FROM POSTAL_CODE_TABLE"),"utf8") >> end openCard >> >> Am I doing sth wrong with the script? Also, I used to try on ; >> >> put revDataFromQuery (, return, tID, "SELECT cityLocalName FROM >> POSTAL_CODE_TABLE") into tCityThai >> set the unicodeText of fld TestDB to uniEncode (tCityThai, "utf8") >> >> The result is the same! Then, i thought 'binfile' may help. So, I >> saved the result from revDataFromQuery directly as binfile. However, >> when I open it, the result was wrong. Anyway, I tried to put its >> content to field with unicodeText settings and uniEncode. >> >> put revDataFromQuery (, return, tID, "SELECT cityLocalName FROM >> POSTAL_CODE_TABLE") into URL "binfile: tCityThai.txt" >> set the unicodeText of fld TestDB to uniEncode(URL "binfile: >> tCityThai.txt", "utf8") >> >> The result is the same, too. >> >> Any suggestions? >> >> Regards, >> Marisa > From Scrappymad12 at aol.com Fri Apr 22 06:31:14 2005 From: Scrappymad12 at aol.com (Scrappymad12 at aol.com) Date: Fri, 22 Apr 2005 06:31:14 EDT Subject: Little questions on Rev as a game plataform (related to: myst) Message-ID: <1e4.3a02adea.2f9a2c72@aol.com> i wont to create my own game but i dont know how could you please send me some infomation on how to create scenes, characters and missions yours thankfully violet parr From eric.chatonet at sosmartsoftware.com Mon Apr 25 05:18:28 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 25 Apr 2005 11:18:28 +0200 Subject: Little questions on Rev as a game plataform (related to: myst) In-Reply-To: <1e4.3a02adea.2f9a2c72@aol.com> References: <1e4.3a02adea.2f9a2c72@aol.com> Message-ID: Hi Violet, Have a look at the Latest News section on RevOnline: As part of Runtime Revolution's Christmas Coding Campaign, Brian Thomas of Rivertext has put together a demo of the premiere title 'If Monks had Macs...' complete with commentary on the design and scripting. This is available as a stack - viewable in the Revolution Dreamcard Player, and editable with both trial and full versions of Dreamcard and Revolution. Due to the beautiful artwork contained in the demo, it is provided as a zip archive that needs to be unpacked before gaining access to the stack. You can download the archive here: http://revonline.runrev.com/resources/coding/monks-demo.zip Best regards from Paris, Le 22 avr. 05, ? 12:31, Scrappymad12 at aol.com a ?crit : > i wont to create my own game but i dont know how could you please send > me > some infomation on how to create scenes, characters and missions > yours thankfully > violet parr Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From cohiza at earthlink.net Mon Apr 25 06:07:02 2005 From: cohiza at earthlink.net (neal) Date: Mon, 25 Apr 2005 00:07:02 -1000 (GMT-10:00) Subject: Little questions on Rev as a game plataform (related to: myst) Message-ID: <20122356.1114423622498.JavaMail.root@huey.psp.pas.earthlink.net> -----Original Message----- From: Scrappymad12 at aol.com Sent: Apr 22, 2005 12:31 AM To: use-revolution at lists.runrev.com Subject: Little questions on Rev as a game plataform (related to: myst) i wont to create my own game but i dont know how could you please send me some infomation on how to create scenes, characters and missions yours thankfully violet parr _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution Have not learned yet-ssorry! JT Key From dburgun at dsl.pipex.com Mon Apr 25 06:53:44 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 25 Apr 2005 11:53:44 +0100 Subject: Last Menubar Problem - or The Incredible Shrinking Stack! In-Reply-To: References: <1e4.3a02adea.2f9a2c72@aol.com> Message-ID: Hi, I've got my menu bar handling working except I have one annoying problem. This is how my app work: I have a Stack (call it StackA) that may be called from the MainMenu (in which case the MainMenu stack sends an event to the target stack with the long name of the MainMenu Group. This works fine. However, if StackA can also be loaded from other places that don't supply a menu. In this case StackA uses it's own menu. This works fine too. The only problem I have left is that in the closeStack handler of StackA I have the following: -- -- Delete the Imported Menubar if there is one -- set the menubar of this stack to "InternalMenuBar", get DeleteMenuBar(the cpImportedMenu of this stack) <-- deletes the menubar if not empty, is empty if there is no imported menubar. set the cpImportedMenu of this stack to empty And this causes the Stack to shrink by the height of the menu bar each time the stack is closed! Since the stack is saved after this (cos I don't want the imported menubar hanging around). Any ideas of how to get around this? Thanks a lot Dave From xbury.cs at clearstream.com Mon Apr 25 08:19:28 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 25 Apr 2005 14:19:28 +0200 Subject: 'Blessed' plugins Message-ID: Hi Hugh, Just a question if you have seen a similar problem I have: When I drag'n'Drop a control over stack b and ControlsN2O is in the "path" of the drag, ControslN2O intercepts the control (even in palette mode), hides my stack ControlsN2O and the best is that it's still visible, in the rect of teh screen and you can't see it again until you toplevel/palette it again... Have you seen that too? I have other plugins with similar calls and they dont cause this trouble... Very strange indeed... I'll add a fix to teh Rev's scritps in my IDE modder... For a release soon! ;) cheers Xavier On 17.09.2004 22:58:46 use-revolution-bounces wrote: >There is, presently no way I can figure to make a plugin immune from Rev's >drap and drop of controls. For plugins that need to be modifiable this is a >problem, especially for palette or modeless stacks... User accidentally creates >a control on your plugin and cannot easily remove it (and if a newbie to Rev >would probably be very confused if not lost). > >At the moment, the revTools palette locks messages (so no trapping events) >and only tests if visible and modifiable (unreliable). My suggestion is a >'blessed' property of some nature that the plugin author and revTools both >implement as a common identifier. > >Comments? Suggestions? > >/H > >Hugh Senior >The Flexible Learning Company >Web: _www.FlexibleLearning.com_ (http://www.flexiblelearning.com/) >E: _h at flexiblelearning.com_ (mailto:h at flexiblelearning.com) >T/F: +44(0)1483.27 87 27 >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xbury.cs at clearstream.com Mon Apr 25 08:24:03 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 25 Apr 2005 14:24:03 +0200 Subject: 'Blessed' plugins Message-ID: Sorry, I didn't see the date on that post. I assumed my email client would keep things sorted the way it was last time - but it being lotus not... it doesn't... And I keep messing it up :) sorry Xav On 25.04.2005 14:19:28 use-revolution-bounces wrote: >Hi Hugh, > >Just a question if you have seen a similar problem I have: >When I drag'n'Drop a control over stack b and ControlsN2O is in the "path" >of the >drag, ControslN2O intercepts the control (even in palette mode), hides my >stack >ControlsN2O and the best is that it's still visible, in the rect of teh >screen and you >can't see it again until you toplevel/palette it again... > >Have you seen that too? I have other plugins with similar calls and they >dont cause >this trouble... Very strange indeed... > >I'll add a fix to teh Rev's scritps in my IDE modder... For a release >soon! ;) > >cheers >Xavier > >On 17.09.2004 22:58:46 use-revolution-bounces wrote: >>There is, presently no way I can figure to make a plugin immune from >Rev's >>drap and drop of controls. For plugins that need to be modifiable this is >a >>problem, especially for palette or modeless stacks... User accidentally >creates >>a control on your plugin and cannot easily remove it (and if a newbie to >Rev >>would probably be very confused if not lost). >> >>At the moment, the revTools palette locks messages (so no trapping >events) >>and only tests if visible and modifiable (unreliable). My suggestion is a >>'blessed' property of some nature that the plugin author and revTools >both >>implement as a common identifier. >> >>Comments? Suggestions? >> >>/H >> >>Hugh Senior >>The Flexible Learning Company >>Web: _www.FlexibleLearning.com_ (http://www.flexiblelearning.com/) >>E: _h at flexiblelearning.com_ (mailto:h at flexiblelearning.com) >>T/F: +44(0)1483.27 87 27 >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution > > >----------------------------------------- >Visit us at http://www.clearstream.com >IMPORTANT MESSAGE Internet communications are not secure and therefore >Clearstream International does not accept legal responsibility for the >contents of this message. The information contained in this e-mail is >confidential and may be legally privileged. It is intended solely for the >addressee. If you are not the intended recipient, any disclosure, copying, >distribution or any action taken or omitted to be taken in reliance on it, >is prohibited and may be unlawful. Any views expressed in this e-mail are >those of the individual sender, except where the sender specifically states >them to be the views of Clearstream International or of any of its >affiliates or subsidiaries. END OF DISCLAIMER >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Mon Apr 25 08:34:06 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 25 Apr 2005 14:34:06 +0200 Subject: Problem with "convert it to seconds" Message-ID: <426CE3BD.ECEB146D@Club-Internet.fr> Hi list, When using the convert function in Rev cgi Linux and in Rev Mac OS9 (or Win XP) I get different results : - Rev cgi : 1114427491 - Rev Win XP : 1114423891 There's a 3600 seconds difference, and I vaguely remember a discussion (in the old MC days) about the fact that the cgi engine calling a unix convert function that doesn't take into account the summer / winter time change... Anyone has some info about this (or a workaround) ? Thanks, JB From benr at cogapp.com Mon Apr 25 08:30:58 2005 From: benr at cogapp.com (Ben Rubinstein) Date: Mon, 25 Apr 2005 13:30:58 +0100 Subject: Simulating 'drawer' behaviour on Windows Message-ID: As far as I can tell, it is not possible to make a really effective simulation on Windows of the MacOS X 'drawer' behaviour using transcript. The essential aspect is that the 'drawer' window is always at the same level in the window stack as its parent, and always moves attached to it. It is possible to code event handlers so that when one window is moved, another is snapped to it, but there's a powerful difference in effect. It does not seem to be possible to keep two windows in the same or consecutive layers of the window stack - in fact it is quite hard to manipulate this altogether. The two leading options seem to be: use a second pane on the main window, with a disclosure triangle or similar; use a palette, at least on non OSX systems. Using the main window gives the right effect in terms of window layer. It's more hassle from a coding point of view, as the the substack becomes a group (and in effect everything on the 'parent' stack probably has to become a group as well, especially if you want to support having the 'drawer' on either side of the 'main' window). The user experience in terms of sizing etc is also different and in my view suboptimal. Using a palette works well for more sophisticated users, but in my experience is less helpful for more na?ve users (obviously this depends considerably on the app in question). Since the 'drawer' UI is now supported at a core level in the engine (for Mac OS X only), and cannot effectively be implemented on other platforms using Transcript (AFAICT - I'd welcome suggestions on other ways to attack this) I've added an enhancement request to bugzilla to support this mode on other platforms: http://support.runrev.com/bugdatabase/show_bug.cgi?id=2797 If you would find this useful, please vote for it. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From len-morgan at crcom.net Mon Apr 25 09:13:09 2005 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 25 Apr 2005 08:13:09 -0500 Subject: Table Formatting Message-ID: <426CECE5.4000102@crcom.net> Le 24-avr.-05, ? 20:27, Len Morgan a ?crit : >> This may seem like a simple question but how do I format a table field >> with different widths for the columns and a header? >> >> What I want is a three column table with a single digit in the first >> column, a dollar amount in the second, and a (fairly) long description >> in the third. I also want to have a set of titles above the table >> denoting what each column is for. >> I looked up table in the documents and don't see much that would help >> me. >> >> Thanks in advance... >> >> > > > Look at tabstops property : set the tabStops of field to tabStopList tabstops only gets me the width of the columns. I want to end up with something more like a spreadsheet. I need to be able to right align the numbers but left align the text fields (or maybe center them) and it appears that this is not possible with the table control. Is there something available like a "table control" or the TkTable widget that I can use? Will I have to roll my own? In a similar vein, is there some mechanism that I can use to create a new control (perhaps in C) that could be added to RR to get "missing" functionality? Len Morgan From xbury.cs at clearstream.com Mon Apr 25 09:21:20 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 25 Apr 2005 15:21:20 +0200 Subject: Table Formatting Message-ID: Hi Len, >tabstops only gets me the width of the columns. I want to end up with >something more like a spreadsheet. I need to be able to right align the >numbers but left align the text fields (or maybe center them) and it appears >that this is not possible with the table control. Is there something available >like a "table control" or the TkTable widget that I can use? Will I have to >roll my own? In a similar vein, is there some mechanism that I can use to >create a new control (perhaps in C) that could be added to RR to get "missing" >functionality? To do that you will need a number of column fields. It's not hard but a bit more tedious to code. The best technique is to keep the Main data table in memory and drop the data in the columns as needed. The other way becomes a lot more cumbersome after (custom sorts for one)... The missing functionality is not new. I thnk i suggested that long long ago but as usual i wasn't listened to ;)) .... If you want a sample stack, contact me at x at monsieurx.com. cheers Xavier On 25.04.2005 15:13:09 use-revolution-bounces wrote: >Le 24-avr.-05, ? 20:27, Len Morgan a ?crit : > >>> This may seem like a simple question but how do I format a table field >>> with different widths for the columns and a header? >>> >>> What I want is a three column table with a single digit in the first >>> column, a dollar amount in the second, and a (fairly) long description >>> in the third. I also want to have a set of titles above the table >>> denoting what each column is for. >>> I looked up table in the documents and don't see much that would help >>> me. >>> >>> Thanks in advance... >>> >>> >> >> > > >> Look at tabstops property : set the tabStops of field to tabStopList > >tabstops only gets me the width of the columns. I want to end up with >something more like a spreadsheet. I need to be able to right align the >numbers but left align the text fields (or maybe center them) and it appears >that this is not possible with the table control. Is there something available >like a "table control" or the TkTable widget that I can use? Will I have to >roll my own? In a similar vein, is there some mechanism that I can use to >create a new control (perhaps in C) that could be added to RR to get "missing" >functionality? > >Len Morgan > > > >_______________________________________________ >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 dburgun at dsl.pipex.com Mon Apr 25 09:54:46 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 25 Apr 2005 14:54:46 +0100 Subject: Last Menubar Problem - or The Incredible Shrinking Stack! Message-ID: **** I still can't get this to work ***** I have tried doing this: set the locksScreen to true set the lockMenus to true put the rect of this stack into myStackRect set the menubar of this stack to "xxxxx" set the rect of this stack to myStackRect set the lockmenus to false set the lockscreen to false This sort of fixes it, but I still get the window and/or menu flickering. How do I make this work? Thanks a lot Dave Hi, I've got my menu bar handling working except I have one annoying problem. This is how my app work: I have a Stack (call it StackA) that may be called from the MainMenu (in which case the MainMenu stack sends an event to the target stack with the long name of the MainMenu Group. This works fine. However, if StackA can also be loaded from other places that don't supply a menu. In this case StackA uses it's own menu. This works fine too. The only problem I have left is that in the closeStack handler of StackA I have the following: -- -- Delete the Imported Menubar if there is one -- set the menubar of this stack to "InternalMenuBar", get DeleteMenuBar(the cpImportedMenu of this stack) <-- deletes the menubar if not empty, is empty if there is no imported menubar. set the cpImportedMenu of this stack to empty And this causes the Stack to shrink by the height of the menu bar each time the stack is closed! Since the stack is saved after this (cos I don't want the imported menubar hanging around). Any ideas of how to get around this? Thanks a lot Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From webmaster at dreamscapesoftware.com Mon Apr 25 10:20:22 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 25 Apr 2005 09:20:22 -0500 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: References: Message-ID: <426CFCA6.4010503@dreamscapesoftware.com> I would honestly say for aesthetic reasons, don't make the drawer a palette. Make it a normal stack with no window decorations and create your own simulated border. That way if someone drags your main stack, the drawer will not "raise" above other windows while your main stack does not. Thus far from my testing I've been able to successfully create a drawer that slides open and close on either side of the window. The only thing it can't do is keep the "focus" on the main window. But if that's the only side effect, I can live with that. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From pevensen at siboneylg.com Mon Apr 25 10:48:14 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 25 Apr 2005 09:48:14 -0500 Subject: Profiling? Odd delay on windows Message-ID: <6.2.1.2.2.20050425094537.17954598@exchange.slg.com> Is there any way to do application profiling (to find out what Revolution is doing)? I am experiencing an odd delay of 1-2 seconds when going to a card on Windows in a stand-alone (which doesn't happen on the Mac). It appears it is something that is happening between preOpenCard and OpenCard. It is happening only on the first time I go to that card. Is there anyway to generate a log of what Rev is doing so I could track it down? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From b.xavier at internet.lu Mon Apr 25 10:58:10 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 25 Apr 2005 16:58:10 +0200 Subject: Profiling? Odd delay on windows In-Reply-To: <6.2.1.2.2.20050425094537.17954598@exchange.slg.com> Message-ID: <20050425151029.1D99493005C@mail.runrev.com> Hi Peter, Use the message watcher from the development menu... cheers Xavier http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Peter T. Evensen > Sent: Monday, April 25, 2005 16:48 > To: use-revolution at lists.runrev.com > Subject: Profiling? Odd delay on windows > > Is there any way to do application profiling (to find out > what Revolution > is doing)? I am experiencing an odd delay of 1-2 seconds > when going to a > card on Windows in a stand-alone (which doesn't happen on the Mac). > > It appears it is something that is happening between > preOpenCard and OpenCard. It is happening only on the first > time I go to that card. > > Is there anyway to generate a log of what Rev is doing so I > could track it down? > > Thanks! > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 24-hour recorded info hotline: 1-800-624-7671 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pevensen at siboneylg.com Mon Apr 25 11:12:57 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 25 Apr 2005 10:12:57 -0500 Subject: Profiling? Odd delay on windows In-Reply-To: <20050425151029.1D99493005C@mail.runrev.com> References: <6.2.1.2.2.20050425094537.17954598@exchange.slg.com> <20050425151029.1D99493005C@mail.runrev.com> Message-ID: <6.2.1.2.2.20050425101231.177fd758@exchange.slg.com> It only seems to have the delay in the standalone, unfortunately. At 09:58 AM 4/25/2005, MisterX wrote: >Hi Peter, > >Use the message watcher from the development menu... > >cheers >Xavier >http://monsieurx.com > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > Peter T. Evensen > > Sent: Monday, April 25, 2005 16:48 > > To: use-revolution at lists.runrev.com > > Subject: Profiling? Odd delay on windows > > > > Is there any way to do application profiling (to find out > > what Revolution > > is doing)? I am experiencing an odd delay of 1-2 seconds > > when going to a > > card on Windows in a stand-alone (which doesn't happen on the Mac). > > > > It appears it is something that is happening between > > preOpenCard and OpenCard. It is happening only on the first > > time I go to that card. > > > > Is there anyway to generate a log of what Rev is doing so I > > could track it down? > > > > Thanks! > > > > Peter T. Evensen > > http://www.PetersRoadToHealth.com > > 24-hour recorded info hotline: 1-800-624-7671 > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > 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 Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From dcragg at lacscentre.co.uk Mon Apr 25 11:53:53 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 25 Apr 2005 16:53:53 +0100 Subject: Profiling? Odd delay on windows In-Reply-To: <6.2.1.2.2.20050425094537.17954598@exchange.slg.com> References: <6.2.1.2.2.20050425094537.17954598@exchange.slg.com> Message-ID: <27dc33195244d4e9f1b9edb7b10d34c0@lacscentre.co.uk> On 25 Apr 2005, at 15:48, Peter T. Evensen wrote: > Is there any way to do application profiling (to find out what > Revolution is doing)? I am experiencing an odd delay of 1-2 seconds > when going to a card on Windows in a stand-alone (which doesn't happen > on the Mac). > > It appears it is something that is happening between preOpenCard and > OpenCard. It is happening only on the first time I go to that card. > Are you using visual effects when going to the card. It could be QuickTime starting up that causes the delay. I seem to remember a report of this before. If so, perhaps you can "do something" to start quickTime before going to the card. Cheers Dave From pevensen at siboneylg.com Mon Apr 25 12:03:19 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 25 Apr 2005 11:03:19 -0500 Subject: Profiling? Odd delay on windows In-Reply-To: <27dc33195244d4e9f1b9edb7b10d34c0@lacscentre.co.uk> References: <6.2.1.2.2.20050425094537.17954598@exchange.slg.com> <27dc33195244d4e9f1b9edb7b10d34c0@lacscentre.co.uk> Message-ID: <6.2.1.2.2.20050425105921.179388f8@exchange.slg.com> No, I'm not using any visual effects. I'm just using "go to card CardName" I basically have 3 tabs, and when you click on one of the tabs, it goes to one of 3 cards. The 3rd card is what takes so long (and it has less on it than the first two). At 10:53 AM 4/25/2005, Dave Cragg wrote: >On 25 Apr 2005, at 15:48, Peter T. Evensen wrote: > >>Is there any way to do application profiling (to find out what Revolution >>is doing)? I am experiencing an odd delay of 1-2 seconds when going to >>a card on Windows in a stand-alone (which doesn't happen on the Mac). >> >>It appears it is something that is happening between preOpenCard and >>OpenCard. It is happening only on the first time I go to that card. > >Are you using visual effects when going to the card. It could be QuickTime >starting up that causes the delay. I seem to remember a report of this before. > >If so, perhaps you can "do something" to start quickTime before going to >the card. > >Cheers >Dave > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From jacque at hyperactivesw.com Mon Apr 25 12:19:40 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Apr 2005 11:19:40 -0500 Subject: Profiling? Odd delay on windows In-Reply-To: <6.2.1.2.2.20050425105921.179388f8@exchange.slg.com> References: <6.2.1.2.2.20050425094537.17954598@exchange.slg.com> <27dc33195244d4e9f1b9edb7b10d34c0@lacscentre.co.uk> <6.2.1.2.2.20050425105921.179388f8@exchange.slg.com> Message-ID: <426D189C.1030108@hyperactivesw.com> On 4/25/05 11:03 AM, Peter T. Evensen wrote: > No, I'm not using any visual effects. I'm just using "go to card > CardName" I basically have 3 tabs, and when you click on one of the > tabs, it goes to one of 3 cards. The 3rd card is what takes so long > (and it has less on it than the first two). I just had a similar delay in a stack and found it was running a long preOpenCard script while the screen was locked. That made it look like the card hadn't changed, though it really had. Are you locking the screen? > > At 10:53 AM 4/25/2005, Dave Cragg wrote: > >> On 25 Apr 2005, at 15:48, Peter T. Evensen wrote: >> >>> Is there any way to do application profiling (to find out what >>> Revolution is doing)? I am experiencing an odd delay of 1-2 seconds >>> when going to a card on Windows in a stand-alone (which doesn't >>> happen on the Mac). >>> >>> It appears it is something that is happening between preOpenCard and >>> OpenCard. It is happening only on the first time I go to that card. >> >> >> Are you using visual effects when going to the card. It could be >> QuickTime starting up that causes the delay. I seem to remember a >> report of this before. >> >> If so, perhaps you can "do something" to start quickTime before going >> to the card. >> >> Cheers >> Dave >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 24-hour recorded info hotline: 1-800-624-7671 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Apr 25 12:37:26 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Apr 2005 09:37:26 -0700 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: Message-ID: Recently, Ben Rubinstein wrote: > As far as I can tell, it is not possible to make a really effective > simulation on Windows of the MacOS X 'drawer' behaviour using transcript. Maybe something like this could help (enter in msg box): go url "http://www.tactilemedia.com/download/slider.rev" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From b.xavier at internet.lu Mon Apr 25 13:03:43 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 25 Apr 2005 19:03:43 +0200 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: Message-ID: <20050425171602.9011E93005C@mail.runrev.com> you get a much smoother fx from HotKeyN2O or the breakpointsN2O stacks with a few more effects when you click the diskette icon! ;) But that's the general idea... I dont dare the open url link but here's the links to the stacks... http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=74 http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=77 Now part of the Nitrous library called TAOO... Those interested in sharing and pitching in the ultimate scripting environment wanted! Takes one call to do the message: ShowMessage "mymessage" Why make it more complicated and have less features? Obviously this is not my first attempt! It sure beats the unseen message box. If you want to enjoy cool modules like that, just join the TAOO team... cheers X http://monsieurx.com - doing RAD^N2O with TAOO > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Scott Rossi > Sent: Monday, April 25, 2005 18:37 > To: How to use Revolution > Subject: Re: Simulating 'drawer' behaviour on Windows > > Recently, Ben Rubinstein wrote: > > > As far as I can tell, it is not possible to make a really effective > > simulation on Windows of the MacOS X 'drawer' behaviour > using transcript. > > Maybe something like this could help (enter in msg box): > > go url "http://www.tactilemedia.com/download/slider.rev" > > 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 mwieder at ahsoftware.net Mon Apr 25 13:35:50 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 25 Apr 2005 10:35:50 -0700 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: References: Message-ID: <1214005429.20050425103550@ahsoftware.net> Ben- My knee-jerk reaction is "don't do that" - Windows users expect their applications to look and act like Windows applications, and OSX users expect their applications to look and act like OSX applications. I do the snapping technique on Windows apps myself sometimes, but nothing I hope that can be mistaken for an ersatz drawer. -- -Mark Wieder mwieder at ahsoftware.net From fde101 at fjrhome.net Mon Apr 25 13:45:29 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 25 Apr 2005 13:45:29 -0400 Subject: Draw over existing objects Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am trying to set up an environment where I can use the standard drawing tools (graphic, field, pointer) and draw over top of a group, so that I can catch the new objects and add them to the group myself. I set the cantSelect of the group, etc., and that stuff is working okay; however, when I try to draw over the group, nothing happens. Apparently, Rev automatically tries to select an object when you mouseDown on it in pointer mode, even when you are using the graphic tool instead of the pointer tool. Thus instead of starting to draw a graphic, Rev is trying to select the group, but sees the cantSelect property and just decides to do nothing instead. Anyone know of a way to convince Rev to start the new graphic rather than just sit there when I try to draw with such a group underneath? Rev 2.5, OS X.3.whatever, etc. Thank you! - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbSy67aqtWrR9cZoRAkqDAKCL1dtDU1J4ZY3lwBCiPsyboGJm0wCgg+KV Emd46eKmarOeRcn3rKrDEWk= =lzNq -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From chipp at chipp.com Mon Apr 25 13:57:08 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Apr 2005 12:57:08 -0500 Subject: Printing Transparent Bitmap Images In-Reply-To: <1d5.3a999f42.2f9a6934@aol.com> References: <1d5.3a999f42.2f9a6934@aol.com> Message-ID: <426D2F74.7080806@chipp.com> Hi Fred, Sorry so late to the party, I've been away the last week and am just now catching up. A couple of things you might try: 1) On PC (don't know if it works on Macs) you can overlap text with a single image below it, the text will print with the image underneath correctly. 2) You can use my compositing library at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm to composite your overlapping images. 3) You can print at higher resolutions by using print card from topLeft to rightBottom into pageRect If you want to print at 150 dpi, try making your card: 8.5*150 pixels wide X 11.0*150 pixels high best, Chipp FMoyer at aol.com wrote: > I'm having problems printing overlapping transparent bitmap images in > Revolution. I try it so many ways, but it seems that whatever I do, transparent > images print poorly (they become fuzzy) and opaque images print nice and sharp. > > Oddly enough, sometimes images that are transparent on screen print sharp, > but they also turn out to be opaque on the printout (i.e., they obliterate the > images underneath.) I have tried taking a snapshot of the card and printing > that; the image does print transparent, but the printout becomes fuzzy. > > These images need to be transparent because they often overlap one another. I > am using png's. > > Does anyone (e.g. Chipp Walters, Scott Rossi) have any suggestions? > > Thanks a lot. > Fred Moyer > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From revdan at danshafer.com Mon Apr 25 14:17:26 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Apr 2005 11:17:26 -0700 Subject: To MySQL or Not SQL In-Reply-To: <080ec7748ac1895e5d572491dfb7cb2f@easynet.fr> References: <080ec7748ac1895e5d572491dfb7cb2f@easynet.fr> Message-ID: Pierre..... I think you meant to refer to Trevor's libDB libraries here. Just in case someone gets confused. I really agree with you about SQL being the perfect Rev sister ship, though, and I like the analogy. One thing I've been thinking about a lot lately in conjunction with a set of apps I'm doing for my main client, is whether or not to use altSQlite out the gate for all data storage, skipping over cards and custom properties altogether (I'm talking about storage of record-type data here, not things for which cards and props are decidedly correct). One big advantage of that approach is that if the client's needs change and suddenly he wants the data on a networked server with a robust database, I don't have to change my code except for the connect stuff (typically one line) for it to just work. Since I seem to attract clients whose needs always change (I think that's why we call them "clients"), this has a lot of attraction for me. And now that altSQLite has overcome all the objections I had to Valentina (primarily the costs), this approach makes more and more sense to me. Anyone else thinking along these lines? On Apr 24, 2005, at 12:00 PM, Pierre Sahores wrote: > > SQL is, probably, in about direct to disk datas storage and > management, the perfect Rev sister-ship and, with the help of Chipp's > libraries, a piece of cake to set-up. Leaen once how to drive SQL > back-ends from within Rev and you will than use this winning > combination all the time :-) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From sims at ezpzapps.com Mon Apr 25 14:18:15 2005 From: sims at ezpzapps.com (sims) Date: Mon, 25 Apr 2005 20:18:15 +0200 Subject: counting keystrokes Message-ID: I am using Rev 2.5.1 on Mac OS X to count keystrokes that are typed in any application that I have running - it keeps a running total of how many keys I hit no matter what applications I use (MS Word, Eudora, etc.). I use one btn with the script shown below and one fld which I lock so I don't accidently place text in it and mess up my count. When I try this same Rev file on Windows XP it doesn't work. Can anyone tell me what I might have to do to get this to work (keep a running total of the number of keys hit) on Windows? Thanks in advance, sims ---------------------------- on mouseUp busyHands send "mouseUp" to me in 200 millisecs end mouseUp on busyHands repeat put the KeysDown into tKeys if the KeysDown is not empty then add 1 to fld "strokesClicks" exit busyHands end if wait 10 millisecs with messages if the optionKey is down then exit repeat end repeat end busyHands From b.xavier at internet.lu Mon Apr 25 14:20:01 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 25 Apr 2005 20:20:01 +0200 Subject: Draw over existing objects In-Reply-To: Message-ID: <20050425183219.004F59300F4@mail.runrev.com> look at how ResizeN2O does it... http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=78 Another example (but in browse mode) is how i make palettes draggeable... just intercept (or pass) the mousedown except where you shouldn't (or should)... cheers Xavier http://monsieurx.com - TAOO - the rave in RAD > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Frank D. Engel, Jr. > Sent: Monday, April 25, 2005 19:45 > To: How to use Revolution > Subject: Draw over existing objects > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I am trying to set up an environment where I can use the > standard drawing tools (graphic, field, pointer) and draw > over top of a group, so that I can catch the new objects and > add them to the group myself. > I set the cantSelect of the group, etc., and that stuff is > working okay; however, when I try to draw over the group, > nothing happens. > > Apparently, Rev automatically tries to select an object when > you mouseDown on it in pointer mode, even when you are using > the graphic tool instead of the pointer tool. Thus instead > of starting to draw a graphic, Rev is trying to select the > group, but sees the cantSelect property and just decides to > do nothing instead. > > Anyone know of a way to convince Rev to start the new graphic > rather than just sit there when I try to draw with such a > group underneath? > > Rev 2.5, OS X.3.whatever, etc. > > Thank you! > > > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only > begotten Son, that whosoever believeth in him should not > perish, but have everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCbSy67aqtWrR9cZoRAkqDAKCL1dtDU1J4ZY3lwBCiPsyboGJm0wCgg+KV > Emd46eKmarOeRcn3rKrDEWk= > =lzNq > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Apr 25 14:23:23 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Apr 2005 11:23:23 -0700 Subject: Draw over existing objects In-Reply-To: <20050425183219.004F59300F4@mail.runrev.com> References: <20050425183219.004F59300F4@mail.runrev.com> Message-ID: <426D359B.9000609@fourthworld.com> Frank D. Engel, Jr. wrote: >Anyone know of a way to convince Rev to start the new graphic >rather than just sit there when I try to draw with such a >group underneath? Not reliably in all cases. Anyone working on drawing apps may find these requests useful: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From revdan at danshafer.com Mon Apr 25 14:24:07 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Apr 2005 11:24:07 -0700 Subject: another multi-user "solution"? In-Reply-To: <426BF9DE.6060201@hyperactivesw.com> References: <6.2.1.2.1.20050424081302.01e6ea48@pop3.pon.net> <426BF9DE.6060201@hyperactivesw.com> Message-ID: <559525d58eb969ae4509a5f92e9009d8@danshafer.com> Two comments. First, check the total number of "records" you need. I think that there are (at least used to be) upper limits on the total number of files in a directory in some OSes. (That may have only applied to Mac Classic, but it's worth being sure about up front.) Second, using the semaphore file approach that Jacque suggested is eminently doable and quite simple to implement. It would be pretty easy, e.g., to have a single file that just contained a list of all the card numbers currently open for editing and checking it before allowing a user to edit a card's contents. Equally easy and perhaps a little better from a robustness perspective would be to create a text file called, e.g., card.lok, where card is the name or ID of the card, for a card when it's opened for editing and then deleting that file when the user's done. In either case, a pretty simple command could check to ensure the card the user asks to edit isn't already being edited and take some appropriate action. On Apr 24, 2005, at 12:56 PM, J. Landman Gay wrote: > On 4/24/05 10:39 AM, Rob Cozens wrote: > >> I concluded that, since Transcript reserves write capability for the >> first person to open a stack until she closes it, any scheme that >> requires concurrent update by more than one user meant opening and >> closing the data stack with each read or write--which I considered >> unacceptable overhead. But note that all read-only stacks can be >> shared by multiple users now. > > Actually, while HyperCard works that way, Revolution lets multiple > users open a stack and write to it. If two people have the stack open > at the same time, either one can overwrite the other's changes. Record > locking has to be scripted; often accomplished by writing a small text > file to disk that tracks usage. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From capellan2000 at yahoo.com Mon Apr 25 14:37:14 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 25 Apr 2005 11:37:14 -0700 (PDT) Subject: Simple Scoping Question In-Reply-To: <20050421160027.A1B289300BD@mail.runrev.com> Message-ID: <20050425183714.20706.qmail@web40512.mail.yahoo.com> on Thu, 21 Apr 2005 Mikey wrote: > d) The lack of manuals means that most of the > issues are from noobs,who don't know about the > archives, or aren't used to using them before > asking questions first. Hi Mikey, Could you explain what you mean when you said: "The lack of manuals"? You could download a manual from: 98 % of the Printed manual is in these docs... For free. But notice, mikey, you could buy the manual here: al Visit my site: http://www.geocities.com/capellan2000/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From kkaufman at snet.net Mon Apr 25 14:40:03 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon, 25 Apr 2005 14:40:03 -0400 Subject: OT: 10.4 "Automator" = Applescript? Message-ID: <48647dbcbc01973f0ecd91965ad4711e@snet.net> Anyone know if Mac 10.4's "Automator" is a collection of customizable pre-fab Applescripts? As the author of a few Rev utilities that use Applescript, I'm wondering if Applescript will continue as before? KK From higginsta at mac.com Mon Apr 25 14:46:55 2005 From: higginsta at mac.com (Todd Higgins) Date: Mon, 25 Apr 2005 14:46:55 -0400 Subject: OT: 10.4 "Automator" = Applescript? In-Reply-To: <48647dbcbc01973f0ecd91965ad4711e@snet.net> References: <48647dbcbc01973f0ecd91965ad4711e@snet.net> Message-ID: <9becb0bc332bf47c2c5d5642efd6ac19@mac.com> Applescript will continue on strong as ever. Automator is just a tool that will help people harness the power of Applescript without having to learn how to program. Or so the marketing speak goes. ; > ) On Apr 25, 2005, at 2:40 PM, Kurt Kaufman wrote: > Anyone know if Mac 10.4's "Automator" is a collection of customizable > pre-fab Applescripts? As the author of a few Rev utilities that use > Applescript, I'm wondering if Applescript will continue as before? > > KK > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Todd Higgins ASG Systems Engineer MICRO Technology Groupe, Inc voice: 215-788-6811 fax: 215-788-1766 email: higgins at mtgroupe.com www: http://www.mtgroupe.com From benr_mc at cogapp.com Mon Apr 25 14:45:54 2005 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 25 Apr 2005 18:45:54 +0000 (UTC) Subject: Simulating 'drawer' behaviour on Windows References: Message-ID: Scott Rossi writes: > Maybe something like this could help (enter in msg box): > > go url "http://www.tactilemedia.com/download/slider.rev" Hi Scott, I found this in archives, and checked it out (indeed I namechecked you in my Bugzilla entry). This solution looks great; however it requires the main window to be a palette (not workable for me) and in what I guess is a related issue, as soon as you have additional 'normal' windows, you get crazy layering issues, where the third window comes between the (palette) main window and its drawer. I played around with something based on ideas stolen from your sample - but couldn't get anything satisfactory. Hence my conclusion that there were limits to what we could achieve in Transcript, so we need support at the engine level. (Xavier - I hadn't seen your palettes before - they look great! - but I think they suffer in a similar way.) I would like to add these drawers to main document windows; they need to operate in the normal layer, not disappear when the app is in the background - and definitely not interleave. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From bill at bluewatermaritime.com Mon Apr 25 14:58:36 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 25 Apr 2005 14:58:36 -0400 Subject: To MySQL or Not SQL In-Reply-To: Message-ID: Yes I agree that SQL is the way to go. I can't wait until the MySQL to SQLite utility is released so that I can try SQLite. I think it will be faster at connecting. On 4/25/05 2:17 PM, "Dan Shafer" wrote: > > Anyone else thinking along these lines? | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From rcozens at pon.net Mon Apr 25 14:59:52 2005 From: rcozens at pon.net (Rob Cozens) Date: Mon, 25 Apr 2005 11:59:52 -0700 Subject: another multi-user "solution"? In-Reply-To: <559525d58eb969ae4509a5f92e9009d8@danshafer.com> References: <6.2.1.2.1.20050424081302.01e6ea48@pop3.pon.net> <426BF9DE.6060201@hyperactivesw.com> <559525d58eb969ae4509a5f92e9009d8@danshafer.com> Message-ID: <6.2.1.2.1.20050425114318.01e8a7c8@pop3.pon.net> Hi Dan, >Second, using the semaphore file approach that Jacque suggested is >eminently doable and quite simple to implement. It would be pretty easy, >e.g., to have a single file that just contained a list of all the card >numbers currently open for editing and checking it before allowing a user >to edit a card's contents. Equally easy and perhaps a little better from a >robustness perspective would be to create a text file called, e.g., >card.lok, where card is the name or ID of the card, for a card when it's >opened for editing and then deleting that file when the user's done. In >either case, a pretty simple command could check to ensure the card the >user asks to edit isn't already being edited and take some appropriate action. Question: How do changes on individual cards in different copies of a stack in each user's RAM get made to the copy resident on disk? There is not, to my knowledge, a way to save changes on one card of a stack without overwriting the entire stack. So if I open a stack before you, Jacque, and Kurt do, wait until you all close the stack, and then save it, the only changes to the original stack will be mine. You need to take it the extra step the Rob Eppich took EPSI-Talk, and have each users' copy of the stack updated whenever anyone else makes a change. This was more feasible in HyperTalk than Transcript, me thinks. One advantage of a client-server design is record locking tables can reside in the server's RAM; so no disk files are necessary and all records are automatically unlocked when the server shuts down. Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From b.xavier at internet.lu Mon Apr 25 15:01:55 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 25 Apr 2005 21:01:55 +0200 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: Message-ID: <20050425191415.E5E6A9300C2@mail.runrev.com> have you tried opening one stack #1 (layer x) before stack 2 (layer X+1) so as to layer them? when you go to a stack it becomes #1, to make it layer 2, open a stack after it (even offscreen)... works like charm using the "defaultstack"... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Ben Rubinstein > Sent: Monday, April 25, 2005 20:46 > To: use-revolution at lists.runrev.com > Subject: Re: Simulating 'drawer' behaviour on Windows > > Scott Rossi writes: > > > Maybe something like this could help (enter in msg box): > > > > go url "http://www.tactilemedia.com/download/slider.rev" > > Hi Scott, > > I found this in archives, and checked it out (indeed I > namechecked you in my Bugzilla entry). This solution looks > great; however it requires the main window to be a palette > (not workable for me) and in what I guess is a related issue, > as soon as you have additional 'normal' windows, you get > crazy layering issues, where the third window comes between > the (palette) main window and its drawer. > > I played around with something based on ideas stolen from > your sample - but couldn't get anything satisfactory. Hence > my conclusion that there were limits to what we could achieve > in Transcript, so we need support at the engine level. > > (Xavier - I hadn't seen your palettes before - they look > great! - but I think they suffer in a similar way.) > > I would like to add these drawers to main document windows; > they need to operate in the normal layer, not disappear when > the app is in the background - and definitely not interleave. > > Ben Rubinstein | Email: benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From benr_mc at cogapp.com Mon Apr 25 14:57:02 2005 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 25 Apr 2005 18:57:02 +0000 (UTC) Subject: Simulating 'drawer' behaviour on Windows References: <1214005429.20050425103550@ahsoftware.net> Message-ID: Mark Wieder writes: > My knee-jerk reaction is "don't do that" - Windows users expect their > applications to look and act like Windows applications, and OSX users > expect their applications to look and act like OSX applications. I do > the snapping technique on Windows apps myself sometimes, but nothing I > hope that can be mistaken for an ersatz drawer. I'm not hoping to make it look like an 'os x' drawer; but I do find the UI technique of a panel that's clearly linked to, but clearly subsidiary to, a main window to be a useful one. I don't believe that it has never been seen on Windows (including before OS X 'blessed' it); the fact that OS X has provided core support for this technique doesn't mean that using the same technique on Windows is now a sign of platform-treachery! Many other conventions have started on one platform or another (Mac die hards could make some pithy comments here!) and spread to the other; palettes probably being a good example, not originally native to either platform, now very well accepted on both. If Rev incorporated this into the engine for Windows (etc), I would certainly not want it to look exactly like the OS X version, for that reason (in my Bugzilla entry I specifically mentioned not having rounded corners, for a trivial example). Derek Bump writes: > I would honestly say for aesthetic reasons, don't make the drawer a > palette. Make it a normal stack with no window decorations and create > your own simulated border. > > That way if someone drags your main stack, the drawer will not "raise" > above other windows while your main stack does not. I agree - if I can get it working well enough, I'll be using a normal stack with no decorations. However, if I can't get it working well enough, then I'll use a standard palette on Windows, without any special display or moving behaviour. Derek also wrote: > Thus far from my testing I've been able to successfully create a drawer > that slides open and close on either side of the window. The only thing > it can't do is keep the "focus" on the main window. But if that's the > only side effect, I can live with that. The problem I have with focus is more than that; my problem is that other normal stack/windows can interleave between the 'main' window and its drawer, and I seem to be powerless to stop it. If you or anyone else has a solution to this I'd be very grateful to hear it. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From rev at armbase.com Mon Apr 25 15:07:06 2005 From: rev at armbase.com (Bob Hartley) Date: Mon, 25 Apr 2005 20:07:06 +0100 Subject: Well done runrev. valentina Message-ID: <6.2.1.2.0.20050425200415.01f0a120@mail.armbase.com> Hi All. Well...... I moaned about marketing of runrev in the past. Specifically that there was no mention of runrev on the valentina web page but there was a version for real basic etc being sold. Well runrev has a slot on the new valentina page. Well done all at runrev for addressing this... :-) Cheers Bob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 21/04/2005 From b.xavier at internet.lu Mon Apr 25 15:09:26 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 25 Apr 2005 21:09:26 +0200 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: <1214005429.20050425103550@ahsoftware.net> Message-ID: <20050425192145.021E59300DC@mail.runrev.com> > My knee-jerk reaction is "don't do that" - Windows users > expect their applications to look and act like Windows > applications, and OSX users expect their applications to look > and act like OSX applications. I do the snapping technique on > Windows apps myself sometimes, but nothing I hope that can be > mistaken for an ersatz drawer. Is there room for the fruity WinAmp windowing GUI? ;) I grew up on MacOS 1 - 9 and a few first Raphsody betas Then switched to clunky NT4... N2K, (i hate XP), N2K3 (love it or hate it) Meanwhile discovered NeXTStep, W98 (licensed from NeXT?), WinAmp, FruityLoops, KPT, Talisman, DragThing, and the ultimate "Wrap Init" that makes screen life so much shorter way back in MacOS3... Although i admit not to have seen it work on osx, it seems Like WinAmp, it's a layer above in the GUI reality layer ;) This is how KPT stood out of the crowd for one... and made osx come bit by bit following kaleidoscope and the aqua revoltion (still the nicest, i agree...) But all still so flat... The army is checking out the "Minority Report" movie 3D interfaces and screens and that's cool! But we can still do more (without the effects ;) and unless we experiment with our own GUIs which is so easy in RunRev, then there's no point in trying... But since it's better info, faster the way I like it on my desktop or your drawer, it's RunRev's way or no way - i forgot MS's way long ago - it's so senile... ;) RunRev's the only place where I can marry the best GUIs for my personalized paperless desktop - since Hypercard times! I just do my GUI... maybe not to everyone's taste, but for efficiency of the moment... Nothing's forever... But thanks to RUnRev, mission critical is almost like real-time GUI delivery! ;) cheers and nitee rev-nite from Europe! Xavier http://monsieurx.com - TAOO - n-tuplate or nothing "keep the good, throw the useless, adapt to the moment" - Bruce Lee From b.xavier at internet.lu Mon Apr 25 15:09:26 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 25 Apr 2005 21:09:26 +0200 Subject: another multi-user "solution"? In-Reply-To: <559525d58eb969ae4509a5f92e9009d8@danshafer.com> Message-ID: <20050425192145.38FA29300DD@mail.runrev.com> Hi guys, here's what I can share about "multi"-user solutions... Sorry for the complexity but it should cover a maximum of cases and situations in a simple way... I work in a multi-user - multi-server - multi-domain - multi-network evironment, an enterprise. The multi-domain part is a Moft Active Directory where user's are delimited by their security credentials which can be cascaded down to the "field" level in some applications... It's a different IDE level but someone at microsoft managed to script it and it's amazing the layering, the guis, the drivers, the whole bit top to bottom is finally consistent (if not a bit over-complex)... There's clustering, dfs, and scripting at dos, vbs, wsh, odbc, asp, etc levels... A small enterprise... You can use python, runrev, perl, anything you want to manage it... How do we transmit data? We got mainframes, unix, nts by the hundreds and maybe one or 2 macs. Dozens of mac fans that dont relenquish their desktop origins and have "desktops" instead of thin clients have their cool desktops... Files: unix to NT: use ftp or samba (EMC does...) Mainframe to NT: use ftp NT to outworld over secured IP: use ftp... Outlook: send an email from your shared drive Lotus Notes: send via a shared drive without notes Share a file format: Unix to NT: text, html, xml NT to Unix: text, html, xml business: sql+ I wont say but it's big and fast... sql - too many front ends to mention except for java... as usual But in the end one thing prevails... xml... sql and text files... im sure some of you might remember record or file-locking in some programs (Filemaker for example)... the cool thing is that if anyone can read text files, it's best if a central process updates them. The reader reads and closes the file, goodbie... Can be in-effective in long file treatments but that's up to the app to eat what it can digest efficiently. So the next step in this is for the client to write... The solution is quite simple. We can't write and hope others to read the file simultaneously. More than one file update may happen too... But more than one simultaneous ecord change is unlikely. The changes are also usually a small percentage. So instead of updating the whole file we can queue up small changes to update the "main file". Your server application updates the main file as it validates and processes queued changes... One or many at a time... Depending on the work load... Hope what i explained is not too obscure... It's quite simple though... Processes to update with time or sererity priority can also be adapted. Security should be a definite concern in these applications from the beginning. cheers Xavier http://monsieurx.com - TAOO, try HyperRAD style... > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dan Shafer > Sent: Monday, April 25, 2005 20:24 > To: jacque at hyperactivesw.com; How to use Revolution > Subject: Re: another multi-user "solution"? > > Two comments. > > First, check the total number of "records" you need. I think > that there are (at least used to be) upper limits on the > total number of files in a directory in some OSes. (That may > have only applied to Mac Classic, but it's worth being sure > about up front.) > > Second, using the semaphore file approach that Jacque > suggested is eminently doable and quite simple to implement. > It would be pretty easy, e.g., to have a single file that > just contained a list of all the card numbers currently open > for editing and checking it before allowing a user to edit a > card's contents. Equally easy and perhaps a little better > from a robustness perspective would be to create a text file > called, e.g., card.lok, where card is the name or ID of the > card, for a card when it's opened for editing and then > deleting that file when the user's done. In either case, a > pretty simple command could check to ensure the card the user > asks to edit isn't already being edited and take some > appropriate action. > > > On Apr 24, 2005, at 12:56 PM, J. Landman Gay wrote: > > > On 4/24/05 10:39 AM, Rob Cozens wrote: > > > >> I concluded that, since Transcript reserves write > capability for the > >> first person to open a stack until she closes it, any scheme that > >> requires concurrent update by more than one user meant opening and > >> closing the data stack with each read or write--which I considered > >> unacceptable overhead. But note that all read-only stacks can be > >> shared by multiple users now. > > > > Actually, while HyperCard works that way, Revolution lets multiple > > users open a stack and write to it. If two people have the > stack open > > at the same time, either one can overwrite the other's > changes. Record > > locking has to be scripted; often accomplished by writing a > small text > > file to disk that tracks usage. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Mon Apr 25 15:31:50 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Apr 2005 12:31:50 -0700 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: Message-ID: Recently, Ben Rubinstein wrote: >> Thus far from my testing I've been able to successfully create a drawer >> that slides open and close on either side of the window. The only thing >> it can't do is keep the "focus" on the main window. But if that's the >> only side effect, I can live with that. > > The problem I have with focus is more than that; my problem is that other > normal > stack/windows can interleave between the 'main' window and its drawer, and I > seem to be powerless to stop it. If you or anyone else has a solution to this > I'd be very grateful to hear it. Maybe an option is two palettes, and making sure the "drawer"-ed palette lines up at the exact edge of the main palette. You could add a little fake shadow on the interior edge of the drawer palette to make it look like it's layered below the main palette. The biggest issue is that when dragged, a gap may be visible between the drawer and main palettes, but once dragging is complete they should line up. Also, to start the effect, you may need to open the drawer offscreen, make the main palette the default, the reposition the drawer at the same loc as the main to prevent any unwanted window visibility. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From mikeythek at gmail.com Mon Apr 25 15:32:27 2005 From: mikeythek at gmail.com (Mikey) Date: Mon, 25 Apr 2005 15:32:27 -0400 Subject: Simple Scoping Question In-Reply-To: <20050425183714.20706.qmail@web40512.mail.yahoo.com> References: <20050421160027.A1B289300BD@mail.runrev.com> <20050425183714.20706.qmail@web40512.mail.yahoo.com> Message-ID: <9b408d8e05042512324eb5ce0@mail.gmail.com> Al, I'm not going to argue with you at length on this one. The reason there is a Revolution Documentation Project is because... -- http://taoofrunrev.blogspot.com http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From chipp at chipp.com Mon Apr 25 16:39:57 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Apr 2005 15:39:57 -0500 Subject: someone noticed this one? In-Reply-To: <8BB36280-2449-11D9-BC10-000A27B49A96@major-k.de> References: <5.1.0.14.0.20041022130556.00add308@mail.tweedly.net> <8002AB68-2446-11D9-BC10-000A27B49A96@major-k.de> <4179371F.3060307@fourthworld.com> <8BB36280-2449-11D9-BC10-000A27B49A96@major-k.de> Message-ID: <426D559D.5080206@chipp.com> Hmmm. Show of hands-- anyone who has lost a client to RR? I really don't see it as a threat, especially since they're in Scotland, and I don't know of any clients who wouldn't rather work with customers in their own country. My guess, is the main point here is they're offering to become a resource for *us developers* if we need to make engine modifications, etc.. In fact, they advertise 3rd party RR developer services on their website! In fact, I've gotten a lead or 2 already from the website links. best, Chipp From revdan at danshafer.com Mon Apr 25 16:43:53 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Apr 2005 13:43:53 -0700 Subject: another multi-user "solution"? In-Reply-To: <6.2.1.2.1.20050425114318.01e8a7c8@pop3.pon.net> References: <6.2.1.2.1.20050424081302.01e6ea48@pop3.pon.net> <426BF9DE.6060201@hyperactivesw.com> <559525d58eb969ae4509a5f92e9009d8@danshafer.com> <6.2.1.2.1.20050425114318.01e8a7c8@pop3.pon.net> Message-ID: Rob.... Ah, good point. It would appear that there is not a simple way to solve this problem using text files as locking semaphores. Back to the ol' drawing board! On Apr 25, 2005, at 11:59 AM, Rob Cozens wrote: > Hi Dan, > >> Second, using the semaphore file approach that Jacque suggested is >> eminently doable and quite simple to implement. It would be pretty >> easy, e.g., to have a single file that just contained a list of all >> the card numbers currently open for editing and checking it before >> allowing a user to edit a card's contents. Equally easy and perhaps a >> little better from a robustness perspective would be to create a text >> file called, e.g., card.lok, where card is the name or ID of the >> card, for a card when it's opened for editing and then deleting that >> file when the user's done. In either case, a pretty simple command >> could check to ensure the card the user asks to edit isn't already >> being edited and take some appropriate action. > > Question: > > How do changes on individual cards in different copies of a stack in > each user's RAM get made to the copy resident on disk? There is not, > to my knowledge, a way to save changes on one card of a stack without > overwriting the entire stack. So if I open a stack before you, > Jacque, and Kurt do, wait until you all close the stack, and then save > it, the only changes to the original stack will be mine. You need to > take it the extra step the Rob Eppich took EPSI-Talk, and have each > users' copy of the stack updated whenever anyone else makes a change. > This was more feasible in HyperTalk than Transcript, me thinks. > > One advantage of a client-server design is record locking tables can > reside in the server's RAM; so no disk files are necessary and all > records are automatically unlocked when the server shuts down. > > Rob Cozens CCW > Serendipity Software Company > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From fde101 at fjrhome.net Mon Apr 25 17:14:40 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 25 Apr 2005 17:14:40 -0400 Subject: OT: 10.4 "Automator" = Applescript? In-Reply-To: <9becb0bc332bf47c2c5d5642efd6ac19@mac.com> References: <48647dbcbc01973f0ecd91965ad4711e@snet.net> <9becb0bc332bf47c2c5d5642efd6ac19@mac.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 For details: http://developer.apple.com/macosx/tiger/automator.html On Apr 25, 2005, at 2:46 PM, Todd Higgins wrote: > Applescript will continue on strong as ever. Automator is just a tool > that will help people harness the power of Applescript without having > to learn how to program. Or so the marketing speak goes. ; > ) > > > > > On Apr 25, 2005, at 2:40 PM, Kurt Kaufman wrote: > >> Anyone know if Mac 10.4's "Automator" is a collection of customizable >> pre-fab Applescripts? As the author of a few Rev utilities that use >> Applescript, I'm wondering if Applescript will continue as before? >> >> KK >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > -- > Todd Higgins > ASG Systems Engineer > MICRO Technology Groupe, Inc > voice: 215-788-6811 fax: 215-788-1766 > email: higgins at mtgroupe.com www: http://www.mtgroupe.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbV3A7aqtWrR9cZoRAqByAJ9jfueLMe6dBbBfaiJj7cuAbc5N7gCePB3T icAwQ4p8eOwDBJEbQItbIM8= =7DjP -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Mon Apr 25 17:12:21 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 25 Apr 2005 17:12:21 -0400 Subject: Draw over existing objects In-Reply-To: <426D359B.9000609@fourthworld.com> References: <20050425183219.004F59300F4@mail.runrev.com> <426D359B.9000609@fourthworld.com> Message-ID: <435123a3c3e1e6c521b03a06bf8007bb@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, I'm aware of both of those requests, and have commented on (and I think voted for) both of them a while back. The first would be particularly nice for me, but in the meantime I'm trying to work around that limitation by doing this. I guess this is a no-go then, too... :-( On Apr 25, 2005, at 2:23 PM, Richard Gaskin wrote: > Frank D. Engel, Jr. wrote: >> Anyone know of a way to convince Rev to start the new graphic rather >> than just sit there when I try to draw with such a group underneath? > > Not reliably in all cases. > > Anyone working on drawing apps may find these requests useful: > > > > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbV027aqtWrR9cZoRAva1AJwPpfftpWyFjeOBD1/es4idJzfXIACdFyPa 1Y7j2jyKMWxRzzh/5YwBeRg= =arKN -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From psahores at easynet.fr Mon Apr 25 17:26:25 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Mon, 25 Apr 2005 23:26:25 +0200 Subject: To MySQL or Not SQL In-Reply-To: References: <080ec7748ac1895e5d572491dfb7cb2f@easynet.fr> Message-ID: <6e5798799e4ec4e5b0d5e0855feebd4d@easynet.fr> Hello Dan, Trevor and All, > Pierre..... > > I think you meant to refer to Trevor's libDB libraries here. Just in > case someone gets confused. All my apologies, Trevor. As you are remembering, Dan, i just wants to speak from your libDatabase client-server dedicated usefull framework, Trevor and from the Chipp's altSQLlite one in about the Rev's embbedable SQLlite solutions... > > I really agree with you about SQL being the perfect Rev sister ship, > though, and I like the analogy. > > One thing I've been thinking about a lot lately in conjunction with a > set of apps I'm doing for my main client, is whether or not to use > altSQlite out the gate for all data storage, skipping over cards and > custom properties altogether (I'm talking about storage of record-type > data here, not things for which cards and props are decidedly > correct). One big advantage of that approach is that if the client's > needs change and suddenly he wants the data on a networked server with > a robust database, I don't have to change my code except for the > connect stuff (typically one line) for it to just work. Exactly the same motivations there, Dan... When Rev let us code our apps teen times faster and securly than in going down with UML+Java miseries (core-coding or low-level frameworks), when ACID-SQL back-ends let us learn how to let powerfull transactions managers handle the security of our datas, we are going head with more and more reliable and powerfull ways to design and build great xtalk's solutions... Is'n it just : cool ? Best, :-) Pierre > Since I seem to attract clients whose needs always change (I think > that's why we call them "clients"), this has a lot of attraction for > me. And now that altSQLite has overcome all the objections I had to > Valentina (primarily the costs), this approach makes more and more > sense to me. > > Anyone else thinking along these lines? > > > On Apr 24, 2005, at 12:00 PM, Pierre Sahores wrote: > >> >> SQL is, probably, in about direct to disk datas storage and >> management, the perfect Rev sister-ship and, with the help of Chipp's >> libraries, a piece of cake to set-up. Leaen once how to drive SQL >> back-ends from within Rev and you will than use this winning >> combination all the time :-) >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Mon Apr 25 16:20:11 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon, 25 Apr 2005 16:20:11 -0400 Subject: another multi-user "solution"? In-Reply-To: <20050425191429.789F193011E@mail.runrev.com> References: <20050425191429.789F193011E@mail.runrev.com> Message-ID: RC wrote: > Question: > > How do changes on individual cards in different copies of a stack in > each > user's RAM get made to the copy resident on disk? There is not, to my > knowledge, a way to save changes on one card of a stack without > overwriting > the entire stack. So if I open a stack before you, Jacque, and Kurt > do, > wait until you all close the stack, and then save it, the only changes > to > the original stack will be mine. Kurt: I'm actually concerned about two things here. The first is that the single (standalone) stack being used now contains about 900 record cards, and is about 13 MB in size. I'm concerned that it might gradually become unwieldy during saves. It already takes an unacceptable amount of time to save over the Windows network. I'd also rather separate the app and the data so that if something goes wrong, the data is still relatively easily accessible. The second is that by dividing the records, the only restrictions are that no more than one user can work on a single record at a time, all the others being available. I initially thought that the individual records could be stacks, but ended up using text files instead for the ability to manually edit if needed. I've got it working (with "busy" marker files); now I have to test it on the real network (as opposed to my Mac with VPC at home). I will keep in mind the folder limits of the OS (in this case Win XP Pro): -Appears to be 65,534 [combined folders/files] per folder on FAT32; and 4,294,967,295 per volume [no folder limit specified] on NTFS; however the practical limits would be slightly lower ;-) -Kurt From sanke at hrz.uni-kassel.de Mon Apr 25 18:08:12 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 26 Apr 2005 00:08:12 +0200 Subject: Simulating 'drawer' behaviour on Windows Message-ID: <426D6A4C.4010906@hrz.uni-kassel.de> On Mon, 25 Apr 2005, Ben Rubinstein wrote: > As far as I can tell, it is not possible to make a really effective > simulation on Windows of the MacOS X 'drawer' behaviour using transcript. > The essential aspect is that the 'drawer' window is always at the same > level > in the window stack as its parent, and always moves attached to it. > (snip) > Ben Rubinstein Have a look at my sample stack "Drawers" of August 2003 at page "Samples and Tools". The stack was uploaded again (originally to my FTP-site and later transferred) following discussions on the Metacard list in February 2004. The stack does *not* use the new drawer command, therefore the examples could be implemented on any platform and also with older versions of Metacard or Revolution. Two approaches are illustrated - changing the stack size - and even here achieving a real sliding-drawer effect - using substacks or other stacks Modifying the examples - that use substacks - you can create any reasonable number of drawers at any point of the four sides of the base stack that slide out in any direction, i.e. also diagonally. If you wish, you could also go to another card of the drawer stack before it is displayed ( There was a request or a question about this on the list). No "resize"-problems occur as they were reported for the new drawer command on MacOS X Regards, Wilhelm Sanke From bvg at mac.com Mon Apr 25 18:21:37 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 26 Apr 2005 00:21:37 +0200 Subject: [ANN] ChatRev with Kevin Miller Message-ID: <70047ea04a9239c6ef4497ce2b447291@mac.com> Dear Revolutionaries On Friday the 6th May 17.00 GMT, there will be a chat session with Kevin Miller and Ro Nagey. Everyone is invited to ask polite questions and we hope for a civilised discussion about RunRev in general. If you have a special topic that you want to ask the CEO of RunRev then this chat is the right time and place. To join just paste the next line into your message box, and hit enter: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" You need to click register and enter at least a nickname and a password. After that hit connect, and you should join the chat. Best wishes Bjoernke von Gierke -- official ChatRev page: http://chatrev.cjb.net Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From docmann at gmail.com Mon Apr 25 20:18:01 2005 From: docmann at gmail.com (docmann) Date: Mon, 25 Apr 2005 19:18:01 -0500 Subject: To MySQL or Not SQL In-Reply-To: References: <080ec7748ac1895e5d572491dfb7cb2f@easynet.fr> Message-ID: <9d58de7d05042517186c05871d@mail.gmail.com> On 4/25/05, Dan Shafer wrote: > Pierre..... > > I think you meant to refer to Trevor's libDB libraries here. Just in > case someone gets confused. > > I really agree with you about SQL being the perfect Rev sister ship, > though, and I like the analogy. > > One thing I've been thinking about a lot lately in conjunction with a > set of apps I'm doing for my main client, is whether or not to use > altSQlite out the gate for all data storage, skipping over cards and > custom properties altogether (I'm talking about storage of record-type > data here, not things for which cards and props are decidedly correct). > Anyone else thinking along these lines? > I absolutely agree. Personally, next to finding Rev in the first place (yeah!), Chipp's altSQlite plugin has got to be the most exciting news I've run across in quite some time. ...I've already "shot" my personal software budget for this month or I'd have already licensed a copy. That's okay, though next month's budget is just around the corner. :) Once the ability to use binary data is firmly in place, I see the Rev/SQlite/altSQlite combination as an almost perfect solution... ..well, that is unless Kevin and crew decide to add a native SQL database feature directly to Rev. :) -Doc- From sarahr at genesearch.com.au Mon Apr 25 22:41:16 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 26 Apr 2005 12:41:16 +1000 Subject: Recovery of a corrupted stack In-Reply-To: <6.1.1.1.2.20050422194100.02f7e620@softseven.org> References: <265f0eafc346b5f8d1951d54d586116c@clear.net.nz> <6.1.1.1.2.20050422194100.02f7e620@softseven.org> Message-ID: On 23 Apr 2005, at 10:49 AM, Paul Salyers wrote: > Maybe this answer will also help me, not a "reinitialized" I try to > load it in my rev editor and it closes down not even asking if I wish > to save. > > I can't even load in edit mode. Any suggestion. This script isn't some > great program I was just making scripts to see how they worked so I > remade in about 5 min. I would like to know why this is happening. > Try locking messages before opening the stack - click the Messages button in the toolbar until the lock looks locked. Your stack may have an openStack or similar handler that is closing it down. Cheers, Sarah From jacque at hyperactivesw.com Mon Apr 25 22:50:52 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Apr 2005 21:50:52 -0500 Subject: counting keystrokes In-Reply-To: References: Message-ID: <426DAC8C.2060805@hyperactivesw.com> On 4/25/05 1:18 PM, sims wrote: > I am using Rev 2.5.1 on Mac OS X to count keystrokes that are typed > in any application that I have running - it keeps a running total of how > many > keys I hit no matter what applications I use (MS Word, Eudora, etc.). > > I use one btn with the script shown below and one fld which I lock so > I don't accidently place text in it and mess up my count. > > When I try this same Rev file on Windows XP it doesn't work. > Can anyone tell me what I might have to do to get this to work > (keep a running total of the number of keys hit) on Windows? > > Thanks in advance, > sims > ---------------------------- > > on mouseUp > busyHands > send "mouseUp" to me in 200 millisecs > end mouseUp > > > on busyHands > repeat > put the KeysDown into tKeys > if the KeysDown is not empty then > add 1 to fld "strokesClicks" > exit busyHands > end if > wait 10 millisecs with messages > if the optionKey is down then exit repeat > end repeat > end busyHands The repeat loop might be hogging the cpu and could cause problems. I'd suggest something like this if you were using only Rev: global tCount on rawKeyDown add 1 to tCount pass rawKeyDown end rawKeyDown But I'm not sure the keypresses would be passed to Rev if it weren't in front. I suppose you've already tried it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 25 23:16:39 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Apr 2005 22:16:39 -0500 Subject: Scripting conference stack available Message-ID: <426DB297.4020004@hyperactivesw.com> The topic stack for the first Revolution Scripting Conference this Saturday, April 30, is now available for download at . Scripting conferences are both online teaching sessions for newcomers and an opportunity for you to ask questions of the pros. We are focusing on the basics of Revolution for novices but experienced scripters will want to attend too, to add their input and expertise. Those who attend all the conferences will receive an excellent education in the use of all major aspects of Revolution. Each topic stack is provided the week before the conference so that you can study the material to be presented. Familiarity with the stack isn't required, but knowing the material will enhance your experience. Speakers may sometimes refer to the stack in their presentation. Our topic for this conference is "Stack Structure", which is a general overview of Revolution's major structural elements and a look at the objects and methods Revolution uses. Many of the concepts presented this week will be covered in more detail in future conferences. Due to a late change in plans, the presentation this week will be given by Runtime CEO Kevin Miller. You won't want to miss this; nobody knows more about Revolution than he does. More details on times and dates can be found on the web page. Please note that our conference follows a strict chat protocol, which is described in the topic stack (in the Conference Info section) and is also briefly outlined when you sign on to the conference. Chat is moderated during the presentation to prevent everyone from talking at once. Please arrive a few minutes early so that you can get settled in before we begin. We hope to see you all there! Jacque -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 25 23:21:19 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Apr 2005 22:21:19 -0500 Subject: [ANN] ChatRev with Kevin Miller In-Reply-To: <70047ea04a9239c6ef4497ce2b447291@mac.com> References: <70047ea04a9239c6ef4497ce2b447291@mac.com> Message-ID: <426DB3AF.7040501@hyperactivesw.com> Bjoernke, I tried to sign on with ChatRev last week and couldn't connect. Is there more we should know about connecting, or was the server down? On 4/25/05 5:21 PM, Bj?rnke von Gierke wrote: > Dear Revolutionaries > > On Friday the 6th May 17.00 GMT, there will be a chat session with Kevin > Miller and Ro Nagey. Everyone is invited to ask polite questions and we > hope for a civilised discussion about RunRev in general. If you have a > special topic that you want to ask the CEO of RunRev then this chat is > the right time and place. > > To join just paste the next line into your message box, and hit enter: > go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" > > You need to click register and enter at least a nickname and a password. > After that hit connect, and you should join the chat. > > Best wishes > Bjoernke von Gierke > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From webmaster at dreamscapesoftware.com Mon Apr 25 23:49:39 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 25 Apr 2005 22:49:39 -0500 Subject: Starting from Shell Message-ID: <426DBA53.9040502@dreamscapesoftware.com> How could I setup a rev standalone to launch on the following shell command? click "start" choose "run" type "jpegcompress" ==> Boom, it loads! I have no idea on how to set this up and I'd really like to add this functionality without having to type the full path. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From b.xavier at internet.lu Tue Apr 26 00:00:26 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Apr 2005 06:00:26 +0200 Subject: another multi-user "solution"? In-Reply-To: Message-ID: <20050426041244.2CE78930068@mail.runrev.com> Dan said... > Rob.... > > Ah, good point. It would appear that there is not a simple > way to solve this problem using text files as locking semaphores. > > Back to the ol' drawing board! I just wrote the solution and you didn't get it or understand me... In a server-client - the client doesn't touch the database. Only sends updates to the server to queue up changes. This way, you have no locks, no problems. Everyone accesses it. You can't do this with stacks - without damaging them. So you work with a client front-end (or stack replica but inneficient) that receives (collects) the data you browse and sends the data you change... Data can be send in mini-stacks, text files, sql queries or sockets... Oh yes, a server can lock the record for you more reliably than counting on a client's poor connection to do it... If you lost the connection to the server when you edit the databse, then what? You corrupt the database probably (trust me, i do this at work all the time)... The server cannot lose that connection. cheers Xavier > On Apr 25, 2005, at 11:59 AM, Rob Cozens wrote: > > > Hi Dan, > > > >> Second, using the semaphore file approach that Jacque suggested is > >> eminently doable and quite simple to implement. It would be pretty > >> easy, e.g., to have a single file that just contained a > list of all > >> the card numbers currently open for editing and checking it before > >> allowing a user to edit a card's contents. Equally easy > and perhaps a > >> little better from a robustness perspective would be to > create a text > >> file called, e.g., card.lok, where card is the name or ID of the > >> card, for a card when it's opened for editing and then > deleting that > >> file when the user's done. In either case, a pretty simple command > >> could check to ensure the card the user asks to edit isn't already > >> being edited and take some appropriate action. > > > > Question: > > > > How do changes on individual cards in different copies of a > stack in > > each user's RAM get made to the copy resident on disk? > There is not, > > to my knowledge, a way to save changes on one card of a > stack without > > overwriting the entire stack. So if I open a stack before you, > > Jacque, and Kurt do, wait until you all close the stack, > and then save > > it, the only changes to the original stack will be mine. > You need to > > take it the extra step the Rob Eppich took EPSI-Talk, and have each > > users' copy of the stack updated whenever anyone else makes > a change. > > This was more feasible in HyperTalk than Transcript, me thinks. > > > > One advantage of a client-server design is record locking > tables can > > reside in the server's RAM; so no disk files are necessary and all > > records are automatically unlocked when the server shuts down. > > > > Rob Cozens CCW > > Serendipity Software Company > > > > "And I, which was two fooles, do so grow three; Who are a little > > wise, the best fooles bee." > > > > from "The Triple Foole" by John Donne (1572-1631) > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Apr 26 00:05:28 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Apr 2005 06:05:28 +0200 Subject: Starting from Shell In-Reply-To: <426DBA53.9040502@dreamscapesoftware.com> Message-ID: <20050426041745.E19B79300C2@mail.runrev.com> Hi Derek Just make sure the path to the jpegcompress.exe application is in the path of windows. To change the path, check window's help. (my computer properties -> tab "advanced", environment variables... find the path and add your application's path to it. or drop your application in the winnt folder (but messy)... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Derek Bump > Sent: Tuesday, April 26, 2005 05:50 > To: How to use Revolution > Subject: Starting from Shell > > How could I setup a rev standalone to launch on the following > shell command? > > click "start" > choose "run" > type "jpegcompress" ==> Boom, it loads! > > I have no idea on how to set this up and I'd really like to > add this functionality without having to type the full path. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From varen at veggio.com Tue Apr 26 00:08:44 2005 From: varen at veggio.com (Varen Swaab) Date: Mon, 25 Apr 2005 21:08:44 -0700 Subject: Scripting conference stack available In-Reply-To: <426DB297.4020004@hyperactivesw.com> Message-ID: Jacque, This sounds great, I'll be there! Errr, just one question. I was trying to read the time table but got confused, it is 8:30 AM or PM pacific time? Thanks Var On 4/25/05 8:16 PM, "J. Landman Gay" wrote: > The topic stack for the first Revolution Scripting Conference this > Saturday, April 30, is now available for download at > . > > Scripting conferences are both online teaching sessions for newcomers > and an opportunity for you to ask questions of the pros. We are focusing > on the basics of Revolution for novices but experienced scripters will > want to attend too, to add their input and expertise. Those who attend > all the conferences will receive an excellent education in the use of > all major aspects of Revolution. > > Each topic stack is provided the week before the conference so that you > can study the material to be presented. Familiarity with the stack isn't > required, but knowing the material will enhance your experience. > Speakers may sometimes refer to the stack in their presentation. > > Our topic for this conference is "Stack Structure", which is a general > overview of Revolution's major structural elements and a look at the > objects and methods Revolution uses. Many of the concepts presented this > week will be covered in more detail in future conferences. Due to a late > change in plans, the presentation this week will be given by Runtime CEO > Kevin Miller. You won't want to miss this; nobody knows more about > Revolution than he does. > > More details on times and dates can be found on the web page. Please > note that our conference follows a strict chat protocol, which is > described in the topic stack (in the Conference Info section) and is > also briefly outlined when you sign on to the conference. Chat is > moderated during the presentation to prevent everyone from talking at > once. Please arrive a few minutes early so that you can get settled in > before we begin. > > We hope to see you all there! > > Jacque From sims at ezpzapps.com Tue Apr 26 00:47:24 2005 From: sims at ezpzapps.com (sims) Date: Tue, 26 Apr 2005 06:47:24 +0200 Subject: counting keystrokes In-Reply-To: <426DAC8C.2060805@hyperactivesw.com> References: <426DAC8C.2060805@hyperactivesw.com> Message-ID: Thanks for the reply Jacque, The issue is that the keystrokes *are* passed to my application even when Rev is *not* in front BUT this only occurs on OS X. I need to be able to count keystrokes on Windows machines also. [This is for an application which provides therapy and prevention for musculoskeletal problems caused by sitting at the computer and working for too many hours without a break. ] On the PC side I have only tested on XP (two different machines so far, thanks Klaus) and the script shown below is only working on Macs right now. I need to count keystrokes on PCs also. ciao, sims At 9:50 PM -0500 4/25/05, J. Landman Gay wrote: >The repeat loop might be hogging the cpu and could cause problems. >I'd suggest something like this if you were using only Rev: > >global tCount > >on rawKeyDown > add 1 to tCount > pass rawKeyDown >end rawKeyDown > >But I'm not sure the keypresses would be passed to Rev if it weren't >in front. I suppose you've already tried it. On 4/25/05 1:18 PM, sims wrote: >I am using Rev 2.5.1 on Mac OS X to count keystrokes that are typed >in any application that I have running - it keeps a running total of how many >keys I hit no matter what applications I use (MS Word, Eudora, etc.). > >I use one btn with the script shown below and one fld which I lock so >I don't accidently place text in it and mess up my count. > >When I try this same Rev file on Windows XP it doesn't work. >Can anyone tell me what I might have to do to get this to work >(keep a running total of the number of keys hit) on Windows? > >Thanks in advance, >sims >---------------------------- > >on mouseUp > busyHands > send "mouseUp" to me in 200 millisecs >end mouseUp > > >on busyHands > repeat > put the KeysDown into tKeys > if the KeysDown is not empty then > add 1 to fld "strokesClicks" > exit busyHands > end if > wait 10 millisecs with messages > if the optionKey is down then exit repeat > end repeat >end busyHands From jacque at hyperactivesw.com Tue Apr 26 01:06:48 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Apr 2005 00:06:48 -0500 Subject: Scripting conference stack available In-Reply-To: References: Message-ID: <426DCC68.9090505@hyperactivesw.com> On 4/25/05 11:08 PM, Varen Swaab wrote: > Jacque, > > This sounds great, I'll be there! > > Errr, just one question. I was trying to read the time table but got > confused, it is 8:30 AM or PM pacific time? Thanks It's morning on the US east coast -- doors open at 8:30 AM for you and the formal presentation starts at 9:00 AM. Over in the UK it is dinner time. And over in OZ they have to get up at 2 AM Sunday morning. Bring coffee. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Apr 26 01:07:23 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Apr 2005 22:07:23 -0700 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: <426D6A4C.4010906@hrz.uni-kassel.de> References: <426D6A4C.4010906@hrz.uni-kassel.de> Message-ID: <426DCC8B.9080601@fourthworld.com> Ben Rubinstein wrote: > As far as I can tell, it is not possible to make a really effective > simulation on Windows of the MacOS X 'drawer' behaviour using transcript. I think I missed the original post, so please forgive me if this has been addressed: The Win HIG recommends using a disclosure triangle for the sorts of things the Aqua HIG recommends using drawers for. Even better, the Aqua HIG maintains support for disclosure triangles, so one solution can cover you on all major platforms. Would a disclosure triangle not work in the app you're designing? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Tue Apr 26 01:10:45 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Apr 2005 22:10:45 -0700 Subject: another multi-user "solution"? In-Reply-To: References: <20050425191429.789F193011E@mail.runrev.com> Message-ID: <426DCD55.2050406@fourthworld.com> Kurt Kaufman wrote: > I'm actually concerned about two things here. > The first is that the single (standalone) stack being used now contains > about 900 record cards, and is about 13 MB in size. I'm concerned that > it might gradually become unwieldy during saves. It already takes an > unacceptable amount of time to save over the Windows network.\ I'm not sure if this will work for you, but lately I've been using tab-delimited text for the sorts of things I used to use cards for. I maintain a one-card window for display, pouring data into the fields as needed, but the data itself is maintained as just straight text. Fast, flexible, and about as small as it can be.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From sarahr at genesearch.com.au Tue Apr 26 01:11:34 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 26 Apr 2005 15:11:34 +1000 Subject: counting keystrokes In-Reply-To: References: <426DAC8C.2060805@hyperactivesw.com> Message-ID: What if you make the window a systemWindow so that it is always at the front? Actually, I am surprised that it works in any system. I would have assumed that keystrokes only got passed to the front application no matter what OS you were using :-) Sarah On 26 Apr 2005, at 2:48 PM, sims wrote: > Thanks for the reply Jacque, > > The issue is that the keystrokes *are* passed to my application even > when > Rev is *not* in front BUT this only occurs on OS X. I need to be able > to count > keystrokes on Windows machines also. [This is for an application > which provides > therapy and prevention for musculoskeletal problems caused by sitting > at the > computer and working for too many hours without a break. ] From erikhans08 at yahoo.com Tue Apr 26 01:13:48 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 25 Apr 2005 22:13:48 -0700 (PDT) Subject: Recovery of a corrupted stack -- actual case study In-Reply-To: 6667 Message-ID: <20050426051348.81495.qmail@web31309.mail.mud.yahoo.com> David, i used your ideas on my bad stack "songsDB" with the most amazing results! backgroundbehavior = true for both stacks 1. make a fresh stack 2. copy the bad stack script, 3. copy the bad stack group(s), one in this case containing all controls 4. copy all 400 pages of the bad stack all of the contents of all of the fields transfered correctly. buttons to find, sort, limit, checkbox which fields to display for printing, all worked correctly. the bad stack was 137K, the new one: 16 Megabytes! then the corker, the "bad" stack somehow auto-corrected and began to work again! Erik Hansen --- David Burgun wrote: > If you need to save the scripts then try this: > > With a fresh load of RunRev (making sure there > are no Stacks in > memory), open the message box and type: > > answer file "Which Stack?";edit script > of stack it. > > This will prompt you for a file, select the > Stack in question. > > Which will open the Stack Script, you can use: > edit script of card X > of stack it or edit script of control "X" of > card "Y" of stack it > > This should allow you to at least copy your > Scripts into a text > file(s) so you can re-paste them. > > You can then try to open the Script using the > command "open stack > it", however this may crash the IDE if the > Stack is really corrupted. > > One thing I tried was to comment out the > "preOpenStack" and > "openStack" handlers in the Stack Script and > save it back using the > "Apply and Save Stack" command (after making a > backup). Once you > have saved the stack quit RunRev and try > reloading the Stack. If it > now works you know it's something in your > preOpen ot Open handler > that is causing the IDE to barf when the Stack > is first opened. > > You can also write a tool stack that you can > use to extract Objects > from the Stack in question. If you need more > help on this feel free > to contact me directly. I have become quite a > expert at recovering > "weird" Stacks lately! > erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ambassador at fourthworld.com Tue Apr 26 01:13:39 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Apr 2005 22:13:39 -0700 Subject: Well done runrev. valentina In-Reply-To: <6.2.1.2.0.20050425200415.01f0a120@mail.armbase.com> References: <6.2.1.2.0.20050425200415.01f0a120@mail.armbase.com> Message-ID: <426DCE03.50102@fourthworld.com> Bob Hartley wrote: > Hi All. > > Well...... I moaned about marketing of runrev in the past. Specifically > that there was no mention of runrev on the valentina web page but there > was a version for real basic etc being sold. > > Well runrev has a slot on the new valentina page. > > Well done all at runrev for addressing this... :-) And a tip of the hat to the good folks at Valentina, as I suspect they had a hand in their web site too. :) They've been very helpful to Rev folks using their DB, and it is indeed nice to see them get more public about the great support they've been providing the Rev community for years. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From sims at ezpzapps.com Tue Apr 26 01:33:39 2005 From: sims at ezpzapps.com (sims) Date: Tue, 26 Apr 2005 07:33:39 +0200 Subject: counting keystrokes In-Reply-To: References: <426DAC8C.2060805@hyperactivesw.com> Message-ID: >What if you make the window a systemWindow so that it is always at the front? Interesting idea...and if I don't want that window to show I could hide it somehow. I'll give that a try, thanks. >Actually, I am surprised that it works in any system. I would have >assumed that keystrokes only got passed to the front application no >matter what OS you were using :-) Surprised me also...but it works on OS X, at least with all the non-Rev apps I have and that includes Word. ciao, sims From sims at ezpzapps.com Tue Apr 26 01:40:08 2005 From: sims at ezpzapps.com (sims) Date: Tue, 26 Apr 2005 07:40:08 +0200 Subject: another multi-user "solution"? In-Reply-To: <426DCD55.2050406@fourthworld.com> References: <20050425191429.789F193011E@mail.runrev.com> <426DCD55.2050406@fourthworld.com> Message-ID: At 10:10 PM -0700 4/25/05, Richard Gaskin wrote: > >I'm not sure if this will work for you, but lately I've been using >tab-delimited text for the sorts of things I used to use cards for. >I maintain a one-card window for display, pouring data into the >fields as needed, but the data itself is maintained as just straight >text. Fast, flexible, and about as small as it can be.... Is this usually reading from text files or using custom properties? ciao, sims From bvg at mac.com Tue Apr 26 02:02:34 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 26 Apr 2005 08:02:34 +0200 Subject: [ANN] ChatRev with Kevin Miller In-Reply-To: <426DB3AF.7040501@hyperactivesw.com> References: <70047ea04a9239c6ef4497ce2b447291@mac.com> <426DB3AF.7040501@hyperactivesw.com> Message-ID: Hmm, somehow it is unable to connect right away, but I can't find the problem right now. Try to first click connect and disconnect, then register and enter at least a password and a nickname, then connect again. If it says "that nick is already taken", chances are that your nick got registered without you noticing the first time. Proceed with entering the nick and your password in that case (if you still know your password that is). Also On Apr 26 2005, at 05:21, J. Landman Gay wrote: > Bjoernke, I tried to sign on with ChatRev last week and couldn't > connect. Is there more we should know about connecting, or was the > server down? > > On 4/25/05 5:21 PM, Bj?rnke von Gierke wrote: > >> Dear Revolutionaries >> On Friday the 6th May 17.00 GMT, there will be a chat session with >> Kevin Miller and Ro Nagey. Everyone is invited to ask polite >> questions and we hope for a civilised discussion about RunRev in >> general. If you have a special topic that you want to ask the CEO of >> RunRev then this chat is the right time and place. >> To join just paste the next line into your message box, and hit enter: >> go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" >> You need to click register and enter at least a nickname and a >> password. After that hit connect, and you should join the chat. >> Best wishes >> Bjoernke von Gierke -- official ChatRev page: http://chatrev.cjb.net Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From ambassador at fourthworld.com Tue Apr 26 02:13:19 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Apr 2005 23:13:19 -0700 Subject: another multi-user "solution"? In-Reply-To: References: <20050425191429.789F193011E@mail.runrev.com> <426DCD55.2050406@fourthworld.com> Message-ID: <426DDBFF.3070805@fourthworld.com> sims wrote: > At 10:10 PM -0700 4/25/05, Richard Gaskin wrote: > >> >> I'm not sure if this will work for you, but lately I've been using >> tab-delimited text for the sorts of things I used to use cards for. I >> maintain a one-card window for display, pouring data into the fields >> as needed, but the data itself is maintained as just straight text. >> Fast, flexible, and about as small as it can be.... > > Is this usually reading from text files or using custom properties? I rarely use text files, since I'd need to parse them and the engine does this well with custom props, field-tested and proven for more than a decade, with simple and efficient one-liners for getting at the data. Most commonly I store tab-delimited lists in properties, and since I'm using properties I can store any number of them in a single file. It's like having a multi-table database, simple to slice and dice at will with minimal effort. For more ideas on using stack files for general data storage see: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Tue Apr 26 02:21:24 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Apr 2005 23:21:24 -0700 Subject: OT: 10.4 "Automator" = Applescript? In-Reply-To: <9becb0bc332bf47c2c5d5642efd6ac19@mac.com> References: <48647dbcbc01973f0ecd91965ad4711e@snet.net> <9becb0bc332bf47c2c5d5642efd6ac19@mac.com> Message-ID: <426DDDE4.6070902@fourthworld.com> Todd Higgins wrote: > On Apr 25, 2005, at 2:40 PM, Kurt Kaufman wrote: > >> Anyone know if Mac 10.4's "Automator" is a collection of customizable >> pre-fab Applescripts? As the author of a few Rev utilities that use >> Applescript, I'm wondering if Applescript will continue as before? ... > Applescript will continue on strong as ever. Automator is just a tool > that will help people harness the power of Applescript without having to > learn how to program. Or so the marketing speak goes. ; > ) From the session I attended at WWDC last year on Automator, it appears to be merely a point-and-click way to write AppleScript, just like interface for making scripts that you can use with Flash in leiu of directly typing, or the point-and-click scripting found in FileMaker Pro for years (and a bit like an old flow-chart GUI for scripting graphics apps in UNIX called, if memory serves, AVS, with its structured inputs and outputs). Apple's implementation is in some ways more graceful, but the central concept of making a point-and-click UI alternative for scripting isn't new. Just the same, once the Steve Jobs Reality Distortion Field is turned up to full volume at Tiger's release, we can expect the lay and even trade press to momentarily forget the history of scripting environments and declare that they've seen God. ;) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From sarahr at genesearch.com.au Tue Apr 26 02:54:17 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 26 Apr 2005 16:54:17 +1000 Subject: Image Library question In-Reply-To: <7b15e1842b51d04555c41ee874ad6cbd@veggio.com> References: <7b15e1842b51d04555c41ee874ad6cbd@veggio.com> Message-ID: <936571805613c00070b40431b3e2c39e@genesearch.com.au> > Thanks for the info but I'm not sure what to do from here. You say to > set the image IDs above 1 billion but how do I do that? I'm importing > a folder full of images, I'm not even sure how to do that with one > image. Import all your images and then make a button with this script: on mouseUp repeat with x = 1 to the number of images set the ID of image x to 50000 + x end repeat end mouseUp You may need to alter it so that it gets to all your images, depending on where they are, but you should get the idea. > > I admit to be a little dismayed and discouraged that this problem and > I'm surprised it hasn't been addressed yet. (hek, it's not even a > "confirmed" bug in the Bug Database. This has become a big issue for > me as now all my images are messed up and I have no confidence in the > image management system of RR. > > I may now need to completely rebuild my stack from scratch to fix this > problem and it will cost me a lot of time and effort. Once you have re-allocated unique IDs, you won't have any further problems with images and you won;t have to re-build your stack or even re-import the images. HTH, Sarah From sarahr at genesearch.com.au Tue Apr 26 03:05:25 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 26 Apr 2005 17:05:25 +1000 Subject: IDE Grouping Woes! Help! In-Reply-To: References: <8cf873291abab34cc7bcba8a7ec26202@swcp.com> Message-ID: <8065199029bc890a661b12f6540ab2a6@genesearch.com.au> Hi Dave, Could you post a copy of your stack in RevOnline or email it to me off-list? I have never come across a problem like this before, so would be interested to see if I could work out what causes it. > Have a Stack that used to comtain: > > GroupX (layer order) > Graphic rect BoundingRect > Graphic rect G-1111 > Graphic rect G-1112 etc. > > The rectangles G-xxxx are all contained within BoundingRect. > > I then added two buttons to the stack. > > Ungrouped "GroupX" made the bounding rect smalled but shifting the > bottom so it was shorter, moved the buttons to within the Rect of > GroupX, regrouped and saved the Stack. Then the Group looked like > this: Why did you un-group & then re-group? If it was just to add the new buttons, you don't have to do it that way. You can either select the group, click "Edit group" in the toolbar and then create your buttons directly into the group, or you can create the buttons, cut them and then select the group and right-click to get the menu that allows you to paste into a group. > > GroupX (layer order) > Button "new" > Button "delete" > Graphic rect BoundingRect > Graphic rect G-1111 > Graphic rect G-1112 etc. > > All seemed fine. > > Then I discover that some code doesn't work anymore! On further > investigation the preOpenStack and openStack handlers are not being > called. I then editing the card script to beep if openStack is entered > and put a breakpoint on the beep and hey presto I hit the breakpoint > and now everything works fine! It may be that un-grouping & re-grouping messed with the message passing hierarchy. That's about all I can think of for this one. > > I close the stack, shutdown RunRev and re-load the stack. Now > "BoundingRect" is back to the size it was BEFORE I changed it BUT the > buttons are still there! I don't tend to use many graphics, but with images, after a resize you always need to lock the size & location. Maybe this is the same. Alternatively, you may have set up Geometry Manager to resize the BoundingRect, or you may have a script that does it. > > I if now attempt to change the Size of "BoundingRect" the IDE crashes! Well that shouldn't happen no matter what you do. File a bug report at Bugzilla and attach the stack that makes this happen. If you have any crash logs, they are always useful too. > > Wisely I made a backup! I am fast learning the ways of RunRev and it's > ability to corrupt or lose stacks and always make a backup before > doing anything major. I've been programming in Rev for years now and the only stacks I lost were one day when I used the "delete file" command on the wrong folder... After learning to cope with HyperCard's ability to corrupt stacks on a regular basis, Rev is very refreshing :-) Cheers, Sarah From mwieder at ahsoftware.net Tue Apr 26 03:45:14 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 26 Apr 2005 00:45:14 -0700 Subject: [ANN] ChatRev with Kevin Miller In-Reply-To: <426DB3AF.7040501@hyperactivesw.com> References: <70047ea04a9239c6ef4497ce2b447291@mac.com> <426DB3AF.7040501@hyperactivesw.com> Message-ID: <9254969632.20050426004514@ahsoftware.net> Jacque- Monday, April 25, 2005, 8:21:19 PM, you wrote: JLG> Bjoernke, I tried to sign on with ChatRev last week and couldn't JLG> connect. Is there more we should know about connecting, or was the JLG> server down? Which client are you using? I had trouble until I grabbed the latest client from Bjornke's site. The port has changed to 8008 from whatever it used to be. If you're getting errors like "" or "" then that's probably the problem. -- -Mark Wieder mwieder at ahsoftware.net From psahores at easynet.fr Tue Apr 26 03:56:31 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 26 Apr 2005 09:56:31 +0200 Subject: OT: 10.4 "Automator" = Applescript? In-Reply-To: <426DDDE4.6070902@fourthworld.com> References: <48647dbcbc01973f0ecd91965ad4711e@snet.net> <9becb0bc332bf47c2c5d5642efd6ac19@mac.com> <426DDDE4.6070902@fourthworld.com> Message-ID: <09eb62a776bc590ed387d3230219621d@easynet.fr> In addition to what you are saying, Richard, i have the feeling that there is some of the good old "KeyQuencer" ground code behind Automator... > Todd Higgins wrote: >> On Apr 25, 2005, at 2:40 PM, Kurt Kaufman wrote: >>> Anyone know if Mac 10.4's "Automator" is a collection of >>> customizable pre-fab Applescripts? As the author of a few Rev >>> utilities that use Applescript, I'm wondering if Applescript will >>> continue as before? > ... >> Applescript will continue on strong as ever. Automator is just a >> tool that will help people harness the power of Applescript without >> having to learn how to program. Or so the marketing speak goes. ; > >> ) > > From the session I attended at WWDC last year on Automator, it appears > to be merely a point-and-click way to write AppleScript, just like > interface for making scripts that you can use with Flash in leiu of > directly typing, or the point-and-click scripting found in FileMaker > Pro for years (and a bit like an old flow-chart GUI for scripting > graphics apps in UNIX called, if memory serves, AVS, with its > structured inputs and outputs). > > Apple's implementation is in some ways more graceful, but the central > concept of making a point-and-click UI alternative for scripting isn't > new. > > Just the same, once the Steve Jobs Reality Distortion Field is turned > up to full volume at Tiger's release, we can expect the lay and even > trade press to momentarily forget the history of scripting > environments and declare that they've seen God. > > ;) > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From klaus at major-k.de Tue Apr 26 04:26:23 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 26 Apr 2005 10:26:23 +0200 Subject: someone noticed this one? In-Reply-To: <426D559D.5080206@chipp.com> References: <5.1.0.14.0.20041022130556.00add308@mail.tweedly.net> <8002AB68-2446-11D9-BC10-000A27B49A96@major-k.de> <4179371F.3060307@fourthworld.com> <8BB36280-2449-11D9-BC10-000A27B49A96@major-k.de> <426D559D.5080206@chipp.com> Message-ID: <06afc8a1496d0261dd5d4a8c2c80359f@major-k.de> Hi Chipp, > Hmmm. Show of hands-- anyone who has lost a client to RR? > I really don't see it as a threat, especially since they're in > Scotland, and I don't know of any clients who wouldn't rather work > with customers in their own country. > My guess, is the main point here is they're offering to become a > resource for *us developers* if we need to make engine modifications, > etc.. In fact, they advertise 3rd party RR developer services on their > website! In fact, I've gotten a lead or 2 already from the website > links. wow, are you currently working through the "use revolution" archieves starting at 1946 or are you testing the prototype of a new "altTimeWarp" plugin? :-) That post (my post and a bit premature, i have to confess, but i was young and needed the money) was from october 2004 and should be considered "done" ;-) > best, > > Chipp Regards from germany Klaus Major klaus at major-k.de http://www.major-k.de From frank at backtalk.com Tue Apr 26 05:19:56 2005 From: frank at backtalk.com (Frank Leahy) Date: Tue, 26 Apr 2005 10:19:56 +0100 Subject: counting keystrokes In-Reply-To: <20050426070752.ED5E59300E3@mail.runrev.com> References: <20050426070752.ED5E59300E3@mail.runrev.com> Message-ID: Sims, The keymap was originally a Macintosh toolbox data structure that sat in low-memory, specifying which keys were currently down. It was intended primarily to let the front-most app see if the user had multiple keys down simultaneously (e.g. ctrl-option-shift-delete), but like others before you, you've found that it's also possible to check for keys down from other than the front-most app. Two comments: 1) It's possible that RunRev is merely simulating the Mac effect for Windows, by providing a keymap function that only works when RunRev is frontmost. If this is the case, then your app will never see other app keystrokes on Windows. 2) I assume you realize that there's no guarantee that you'll see all keystrokes, even with your Mac version? By calling "wait 10 millisecs with messages" you're assuming first, that keystrokes don't happen any faster than 10 milliseconds, and second, that your app will be given a time-slice every 10 milliseconds...either of these might be incorrect, resulting in lost keystrokes (though possibly not enough to matter). Regards, -- Frank Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users See us on the web at http://www.webphotospro.com/ On Apr 26, 2005, at 8:07 AM, use-revolution-request at lists.runrev.com wrote: > From: sims > Subject: Re: counting keystrokes > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > >> What if you make the window a systemWindow so that it is always at >> the front? > > Interesting idea...and if I don't want that window to show I could > hide it somehow. > I'll give that a try, thanks. > >> Actually, I am surprised that it works in any system. I would have >> assumed that keystrokes only got passed to the front application no >> matter what OS you were using :-) > > Surprised me also...but it works on OS X, at least with all the > non-Rev apps I have > and that includes Word. From wow at together.net Tue Apr 26 05:34:07 2005 From: wow at together.net (Richard Miller) Date: Tue, 26 Apr 2005 05:34:07 -0400 Subject: Some kind of incompatibility issue In-Reply-To: <6.2.1.2.2.20050425101231.177fd758@exchange.slg.com> References: <6.2.1.2.2.20050425094537.17954598@exchange.slg.com> <20050425151029.1D99493005C@mail.runrev.com> <6.2.1.2.2.20050425101231.177fd758@exchange.slg.com> Message-ID: <574517e4113f577b7c488572618cfa76@together.net> Ran into an interesting little bug. Discovered there is an incompatibility between OS 10.3.9 (the most recent OSX update), RR's Quicktime video capture functions, and our USB-based touch screen drivers. Enabling the video grabber functions disables our touch screen. Switching back to 10.3.8 eliminates the problem. Tried this on several computers to verify it is strictly tied to 10.3.9. Apple has done something that is interacting with Rev code in a less than positive manner. Good chance it'll extend to Tiger. No idea what's going on. Richard Miller Imprinter Technologies From sims at ezpzapps.com Tue Apr 26 05:36:58 2005 From: sims at ezpzapps.com (sims) Date: Tue, 26 Apr 2005 11:36:58 +0200 Subject: counting keystrokes In-Reply-To: References: <20050426070752.ED5E59300E3@mail.runrev.com> Message-ID: At 10:19 AM +0100 4/26/05, Frank Leahy wrote: > >1) It's possible that RunRev is merely simulating the Mac effect for >Windows, by providing a keymap function that only works when RunRev >is frontmost. If this is the case, then your app will never see >other app keystrokes on Windows. > >2) I assume you realize that there's no guarantee that you'll see >all keystrokes, even with your Mac version? By calling "wait 10 >millisecs with messages" you're assuming first, that keystrokes >don't happen any faster than 10 milliseconds, and second, that your >app will be given a time-slice every 10 milliseconds...either of >these might be incorrect, resulting in lost keystrokes (though >possibly not enough to matter). Thanks for this interesting information Frank. I'm beginning to think that I'll need a dll or some sort of 'extra' bit to help me. I'm using a combination of time & keystrokes and an exact count is not critical but your point is well taken. ciao, sims From kkaufman at snet.net Tue Apr 26 07:58:49 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue, 26 Apr 2005 07:58:49 -0400 Subject: another multi-user "solution"? In-Reply-To: <20050426070751.D020B9300F1@mail.runrev.com> References: <20050426070751.D020B9300F1@mail.runrev.com> Message-ID: > sims wrote: >> At 10:10 PM -0700 4/25/05, Richard Gaskin wrote: >> >>> >>> I'm not sure if this will work for you, but lately I've been using >>> tab-delimited text for the sorts of things I used to use cards for. I >>> maintain a one-card window for display, pouring data into the fields >>> as needed, but the data itself is maintained as just straight text. >>> Fast, flexible, and about as small as it can be.... >> >> Is this usually reading from text files or using custom properties? As I mentioned, we need to have more than one user accessing parts of the data concurrently, so I needed the data itself to be saved outside of the user-operated stacks. I also wanted some sort of backup while the data was being worked on. So I decided to try multiple text files, one for each record. When FirstRecord.txt is opened, a BusyFirstRecord.txt is created that accomplishes two tasks: all of the existing data from FirstRecord.txt is backed-up to BusyFirstRecord.txt, and the latter also serves as a temporary block to any subsequent users that try to access FirstRecord.txt. After user-updated data is saved to FirstRecord.txt, BusyFirstRecord.txt is then deleted. If there is a problem (i.e. user-operated stack crashes or computer problem, etc.), then the original data is still available in BusyFirstRecord.txt, which can be easily renamed or fixed in a text editor. This app. is simply a "Rolodex" of accounts receivable; data across accounts are not needed; it would be cumbersome (but possible) to do calculations by opening/closing all of the accounts in succession using the method described above. So far I've accessed a single group of records concurrently from Mac and Windows XP standalones (via VPC), and the mechanism seems to work well. Today I'll try it in the real world and see if I can "break" it. Kurt From fde101 at fjrhome.net Tue Apr 26 08:42:48 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 26 Apr 2005 08:42:48 -0400 Subject: Starting from Shell In-Reply-To: <20050426041745.E19B79300C2@mail.runrev.com> References: <20050426041745.E19B79300C2@mail.runrev.com> Message-ID: <3dec8cea263760401b32dc7a5b0f74c5@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 set the hideConsoleWindows to true -- optional, prevents "ugly" black windows from being displayed get shell("jpegcompress") -- required On Apr 26, 2005, at 12:05 AM, MisterX wrote: > Hi Derek > > Just make sure the path to the jpegcompress.exe application is in the > path > of windows. > > To change the path, check window's help. (my computer properties -> tab > "advanced", environment variables... find the path and add your > application's path to it. > > or drop your application in the winnt folder (but messy)... > > cheers > Xavier > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Derek Bump >> Sent: Tuesday, April 26, 2005 05:50 >> To: How to use Revolution >> Subject: Starting from Shell >> >> How could I setup a rev standalone to launch on the following >> shell command? >> >> click "start" >> choose "run" >> type "jpegcompress" ==> Boom, it loads! >> >> I have no idea on how to set this up and I'd really like to >> add this functionality without having to type the full path. >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com/ >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbjdI7aqtWrR9cZoRAlz5AKCI19HsKCV95cG7xWZqSiFAqbgVewCdH5Jx gvbP48Z+h/riDYT17MqC4Zo= =2sMv -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Tue Apr 26 08:46:03 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 26 Apr 2005 08:46:03 -0400 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: <426DCC8B.9080601@fourthworld.com> References: <426D6A4C.4010906@hrz.uni-kassel.de> <426DCC8B.9080601@fourthworld.com> Message-ID: <672431fa48264009dee7495aad16a09f@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hmm... I think M$ could stand to hire more capable web designers, as their web site is a disaster (particularly the developer sections). Where can I find the Windows HIG? I was starting to wonder if they even existed. Thank you! On Apr 26, 2005, at 1:07 AM, Richard Gaskin wrote: > Ben Rubinstein wrote: >> As far as I can tell, it is not possible to make a really effective >> simulation on Windows of the MacOS X 'drawer' behaviour using >> transcript. > > I think I missed the original post, so please forgive me if this has > been addressed: > > The Win HIG recommends using a disclosure triangle for the sorts of > things the Aqua HIG recommends using drawers for. Even better, the > Aqua HIG maintains support for disclosure triangles, so one solution > can cover you on all major platforms. > > Would a disclosure triangle not work in the app you're designing? > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbjgL7aqtWrR9cZoRAsbkAJ9ygFBulF4biMs3bEn2kTnqHs82jwCffkkd DgiQtfYFFIbpP91N6Q8NZsU= =Zh7Y -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From martin.mccarrick at btinternet.com Tue Apr 26 08:49:01 2005 From: martin.mccarrick at btinternet.com (Martin) Date: Tue, 26 Apr 2005 13:49:01 +0100 Subject: MySQL Database Query Builder Question Message-ID: <20050426130151.F0EFC9300CA@mail.runrev.com> Hi, I'm trying to connect to my database which is hosted by oneandone.co.uk. I'm using the database query builder in RR. I set the name (Contact), host (db141.oneandone.co.uk) - this is the actual server name Database (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) When I try to press the connect button I get an error "Unknown MySQL Host 'db141.oneandone.co.uk' (11004)' I am able to connect to the database in PHP MyAdmin without any problems! The only thing I can think of that could be causing this is the syntax of the host name!! maybe I'm wrong, has anyone had this problem? I've tried the MySQL database example in RR's video tutorials and it connects fine. Thank you Martin McCarrick From JimCarwardine at OwnYourFuture-net.com Tue Apr 26 08:49:42 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Tue, 26 Apr 2005 09:49:42 -0300 Subject: To MySQL or Not SQL In-Reply-To: Message-ID: What about the differences between MySQL and MSSQL. The proponents of MSSQL are adamant that it is far better. Is it really? Of course, it's not x-platform, which is a mark against it in my books... Jim on 4/25/05 3:58 PM, Bill wrote: > Yes I agree that SQL is the way to go. I can't wait until the MySQL to > SQLite utility is released so that I can try SQLite. I think it will be > faster at connecting. > > > On 4/25/05 2:17 PM, "Dan Shafer" wrote: > >> >> Anyone else thinking along these lines? > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- http://www.bluewatermaritime.com > ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ > ^^^^ ^^^^ ^^^ ^^ > ^^^^ ^^^ > > 24 hour cell: (787) 378-6190 > fax: (787) 809-8426 > > Blue Water Maritime > P.O. Box 91 > Puerto Real, PR 00740 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Phone: 902-823-2339. Fax: 902-823-2139 What?s New... * Have you ever hired an employee who didn?t work out? * Did you do that on purpose? Probably not... If you want to greatly improve your hiring process, check out our new hiring process... www.HiringSmart.ca/ns and... www.KeepingTheBest.ca/ns From xbury.cs at clearstream.com Tue Apr 26 09:06:02 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 26 Apr 2005 15:06:02 +0200 Subject: Simulating 'drawer' behaviour on Windows Message-ID: Frank, 5 seconds search... http://search.microsoft.com/search/results.aspx?view=en-us&st=b&na=82&qu=human+interface+guidelines&s=4 Knowing how to use a website reduces the amount of non-sense ranting that is required to prove that Apple's web designers are better ;) Besides, Win GUIs are the worst and we all know it - after lotus notes... Oh, you didn't mention how bad IBM's website designers were! ;)) cheerios Xav On 26.04.2005 14:46:03 use-revolution-bounces wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hmm... I think M$ could stand to hire more capable web designers, as >their web site is a disaster (particularly the developer sections). >Where can I find the Windows HIG? I was starting to wonder if they >even existed. > >Thank you! > >On Apr 26, 2005, at 1:07 AM, Richard Gaskin wrote: > >> Ben Rubinstein wrote: >>> As far as I can tell, it is not possible to make a really effective >>> simulation on Windows of the MacOS X 'drawer' behaviour using >>> transcript. >> >> I think I missed the original post, so please forgive me if this has >> been addressed: >> >> The Win HIG recommends using a disclosure triangle for the sorts of >> things the Aqua HIG recommends using drawers for. Even better, the >> Aqua HIG maintains support for disclosure triangles, so one solution >> can cover you on all major platforms. >> >> Would a disclosure triangle not work in the app you're designing? >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> __________________________________________________ >> Rev tools and more: http://www.fourthworld.com/rev >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >- ----------------------------------------------------------- >Frank D. Engel, Jr. > >$ ln -s /usr/share/kjvbible /usr/manual >$ true | cat /usr/manual | grep "John 3:16" >John 3:16 For God so loved the world, that he gave his only begotten >Son, that whosoever believeth in him should not perish, but have >everlasting life. >$ >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.4 (Darwin) > >iD8DBQFCbjgL7aqtWrR9cZoRAsbkAJ9ygFBulF4biMs3bEn2kTnqHs82jwCffkkd >DgiQtfYFFIbpP91N6Q8NZsU= >=Zh7Y >-----END PGP SIGNATURE----- > > > >___________________________________________________________ >$0 Web Hosting with up to 200MB web space, 1000 MB Transfer >10 Personalized POP and Web E-mail Accounts, and much more. >Signup at www.doteasy.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From bnz2 at cdc.gov Tue Apr 26 09:16:30 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 26 Apr 2005 09:16:30 -0400 Subject: another multi-user "solution"? Message-ID: <64878EF567131D4596246171F75FD4A97445A0@m-epo-1.epo.cdc.gov> Not sure if this has already been mentioned... But you will need a mechanism for handling a situation where a user opens a file, then his computer crashes. At that point, he won't really have it open, but the index will say he has it open. A possible solution for this is for the index to not only record which files are open, but also to record the IP address of the computer that has it open. If the stack that accesses a data file sets itself to listen to a particular port, then, when a different computer on the network tries to access that data file, and sees in the index that it is open by a particular computer, it can send a message to the IP address of that computer verifying that it is still running. If the original user's computer does not respond, then the second user's computer can "take over" ownership of that file. If the original user's computer does respond, then the second user can return a message saying that the file is currently open by that computer. Another suggestion - regarding delimiters - I use ascII codes 28, 29, 30, and 31. These codes are actually set aside in the ascII set for the purpose of delimiting files. Doing this allows you to have tab and linefeed characters within a particular 'cell' in a data file. So far, I have not had any problems using those characters. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Kurt Kaufman Sent: Tuesday, April 26, 2005 7:59 AM To: use-revolution at lists.runrev.com Subject: Re: another multi-user "solution"? > sims wrote: >> At 10:10 PM -0700 4/25/05, Richard Gaskin wrote: >> >>> >>> I'm not sure if this will work for you, but lately I've been using >>> tab-delimited text for the sorts of things I used to use cards for. I >>> maintain a one-card window for display, pouring data into the fields >>> as needed, but the data itself is maintained as just straight text. >>> Fast, flexible, and about as small as it can be.... >> >> Is this usually reading from text files or using custom properties? As I mentioned, we need to have more than one user accessing parts of the data concurrently, so I needed the data itself to be saved outside of the user-operated stacks. I also wanted some sort of backup while the data was being worked on. So I decided to try multiple text files, one for each record. When FirstRecord.txt is opened, a BusyFirstRecord.txt is created that accomplishes two tasks: all of the existing data from FirstRecord.txt is backed-up to BusyFirstRecord.txt, and the latter also serves as a temporary block to any subsequent users that try to access FirstRecord.txt. After user-updated data is saved to FirstRecord.txt, BusyFirstRecord.txt is then deleted. If there is a problem (i.e. user-operated stack crashes or computer problem, etc.), then the original data is still available in BusyFirstRecord.txt, which can be easily renamed or fixed in a text editor. This app. is simply a "Rolodex" of accounts receivable; data across accounts are not needed; it would be cumbersome (but possible) to do calculations by opening/closing all of the accounts in succession using the method described above. So far I've accessed a single group of records concurrently from Mac and Windows XP standalones (via VPC), and the mechanism seems to work well. Today I'll try it in the real world and see if I can "break" it. Kurt _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From fde101 at fjrhome.net Tue Apr 26 09:30:02 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 26 Apr 2005 09:30:02 -0400 Subject: To MySQL or Not SQL In-Reply-To: References: Message-ID: <42e0784d416dd90af2d985917cccb712@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It's one of the few databases I'd consider inferior to MySql, not because it lacks cross-platform compatibility, but because it is a Microsoft product ;-) Realistically, any of the major database servers will have advantages and disadvantages compared to the others. I personally like PostgreSQL: it is free for both noncommercial *and* commercial use (unlike MySql, which is only free for non-commercial use), it is reasonably fast and quite powerful, fully ACID-compliant, supports stored procedures, views, and so forth, has a sizable user community, etc. And it runs just fine on my OS X box, along with Windows, Linux, and a variety of other platforms. On Apr 26, 2005, at 8:49 AM, Jim Carwardine wrote: > What about the differences between MySQL and MSSQL. The proponents of > MSSQL > are adamant that it is far better. Is it really? Of course, it's not > x-platform, which is a mark against it in my books... Jim > > on 4/25/05 3:58 PM, Bill wrote: > >> Yes I agree that SQL is the way to go. I can't wait until the MySQL to >> SQLite utility is released so that I can try SQLite. I think it will >> be >> faster at connecting. >> >> >> On 4/25/05 2:17 PM, "Dan Shafer" wrote: >> >>> >>> Anyone else thinking along these lines? >> >> | | | >> )_) )_) )_) >> )___))___))___)\ >> )____)____)_____)\\ >> _____|____|____|____\\\__ >> -------\ /--------- http://www.bluewatermaritime.com >> ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >> ^^^^ ^^^^ ^^^ ^^ >> ^^^^ ^^^ >> >> 24 hour cell: (787) 378-6190 >> fax: (787) 809-8426 >> >> Blue Water Maritime >> P.O. Box 91 >> Puerto Real, PR 00740 >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > -- > > OYF is... Highly resourceful people working together. > > > Own Your Future Consulting Services Limited, > 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 > Phone: 902-823-2339. Fax: 902-823-2139 > > What?s New... > > * Have you ever hired an employee who didn?t work out? > > * Did you do that on purpose? > > Probably not... > > If you want to greatly improve your hiring process, > check out our new hiring process... www.HiringSmart.ca/ns > > and... > www.KeepingTheBest.ca/ns > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbkJa7aqtWrR9cZoRAsoQAJ0aMN6w4NN3gIgLL0JSNe6qY67FzACfab9U WgSg71YvUbOWBSxrn/KLB1k= =mwRm -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Tue Apr 26 09:31:54 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 26 Apr 2005 09:31:54 -0400 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: References: Message-ID: <03bc48cfccb6dd43733209f551f5f75b@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 26, 2005, at 9:06 AM, xbury.cs at clearstream.com wrote: > http://search.microsoft.com/search/results.aspx?view=en- > us&st=b&na=82&qu=human+interface+guidelines&s=4 > > Knowing how to use a website reduces the amount of non-sense ranting > that > is required to prove that Apple's web designers are better ;) > > Besides, Win GUIs are the worst and we all know it - after lotus > notes... > Oh, you didn't mention how bad IBM's website designers were! ;)) Only because it didn't seem relevant, not because I hadn't noticed. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbkLK7aqtWrR9cZoRAuyGAJ9xwPkdk3gTdBbY4ysyOy2EE7UtIgCfco+s 4szXZOc3Dvzay527jA/Ac5k= =6ZJV -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From gbojsza at gmail.com Tue Apr 26 09:42:00 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 26 Apr 2005 09:42:00 -0400 Subject: Working with animated gifs Message-ID: <3d8af41505042606426c51ee72@mail.gmail.com> I was wondering if there are some general guidelines on how to use animated gifs in Rev on the XP platform? Turning the animation on and off would be my first question. I understand that I can set the repeat and direction properties in the property inspector and that actually shows the animation but how do you do it at the script level? thanks, From fde101 at fjrhome.net Tue Apr 26 09:46:48 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 26 Apr 2005 09:46:48 -0400 Subject: Draw over existing objects In-Reply-To: <20050425183219.004F59300F4@mail.runrev.com> References: <20050425183219.004F59300F4@mail.runrev.com> Message-ID: <69a56e29c71836897ce169f9275fe7c8@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Maybe I'm just missing something here, but that stack doesn't seem relevant. There is lots of code in there for a number of things, but I am looking for a way to, for example: set the tool to "graphic" set the style of the templateGraphic to "rectangle" then let the user draw in a window whose entire visible area is covered by a group. The tool seemingly ignores the fact that it is a "drawing" tool (rather than a "selection" tool) and tries to select the group rather than draw a new rectangle. The group is not marked as opaque, currently has no objects within it (it is an empty group), is set to cantSelect, has both scrollbars, is visible, and covers all but a small part of the window, where I am dragging a palette along with the window (as a toolbar -- not a perfect solution, of course, but the best I've come up with so far given Rev's feature set in terms of the drawing tools). On Apr 25, 2005, at 2:20 PM, MisterX wrote: > look at how ResizeN2O does it... > > http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=78 > > Another example (but in browse mode) is how i make palettes > draggeable... > just intercept (or pass) the mousedown except where you shouldn't (or > should)... > > cheers > Xavier > http://monsieurx.com - TAOO - the rave in RAD > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Frank D. Engel, Jr. >> Sent: Monday, April 25, 2005 19:45 >> To: How to use Revolution >> Subject: Draw over existing objects >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I am trying to set up an environment where I can use the >> standard drawing tools (graphic, field, pointer) and draw >> over top of a group, so that I can catch the new objects and >> add them to the group myself. >> I set the cantSelect of the group, etc., and that stuff is >> working okay; however, when I try to draw over the group, >> nothing happens. >> >> Apparently, Rev automatically tries to select an object when >> you mouseDown on it in pointer mode, even when you are using >> the graphic tool instead of the pointer tool. Thus instead >> of starting to draw a graphic, Rev is trying to select the >> group, but sees the cantSelect property and just decides to >> do nothing instead. >> >> Anyone know of a way to convince Rev to start the new graphic >> rather than just sit there when I try to draw with such a >> group underneath? >> >> Rev 2.5, OS X.3.whatever, etc. >> >> Thank you! >> >> >> - ----------------------------------------------------------- >> Frank D. Engel, Jr. >> >> $ ln -s /usr/share/kjvbible /usr/manual >> $ true | cat /usr/manual | grep "John 3:16" >> John 3:16 For God so loved the world, that he gave his only >> begotten Son, that whosoever believeth in him should not >> perish, but have everlasting life. >> $ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (Darwin) >> >> iD8DBQFCbSy67aqtWrR9cZoRAkqDAKCL1dtDU1J4ZY3lwBCiPsyboGJm0wCgg+KV >> Emd46eKmarOeRcn3rKrDEWk= >> =lzNq >> -----END PGP SIGNATURE----- >> >> >> >> ___________________________________________________________ >> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer >> 10 Personalized POP and Web E-mail Accounts, and much more. >> Signup at www.doteasy.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCbkZJ7aqtWrR9cZoRAnOkAJ4jDU5Z3gKfCSMdPxWUdkKFGGL6RQCbBUTM p8l2ix39fxsJftvBUHjuomM= =UCgw -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From klaus at major-k.de Tue Apr 26 09:53:52 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 26 Apr 2005 15:53:52 +0200 Subject: Working with animated gifs In-Reply-To: <3d8af41505042606426c51ee72@mail.gmail.com> References: <3d8af41505042606426c51ee72@mail.gmail.com> Message-ID: Hi Glen, > I was wondering if there are some general guidelines on how to use > animated gifs in Rev on the XP platform? > > Turning the animation on and off would be my first question. I > understand that I can set the repeat and direction properties in the > property inspector and that actually shows the animation but how do > you do it at the script level? I took this opportunity and uploaded an old stack of mine to Rev-online: User: klausimausi Name: The taming of the animated gif... :-) That may get you started... > thanks, Regards Klaus Major klaus at major-k.de http://www.major-k.de From b.xavier at internet.lu Tue Apr 26 10:19:50 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Apr 2005 16:19:50 +0200 Subject: Draw over existing objects In-Reply-To: <69a56e29c71836897ce169f9275fe7c8@fjrhome.net> Message-ID: <20050426143209.A348A930056@mail.runrev.com> Frank > Maybe I'm just missing something here, but that stack doesn't > seem relevant. > > set the tool to "graphic" > set the style of the templateGraphic to "rectangle" you're not obliged to be in drawing mode... You can simulate it with a cursor and a moving/resizing rect or graphic (with a marquee pattern). > then let the user draw in a window whose entire visible area > is covered by a group. The tool seemingly ignores the fact > that it is a "drawing" > tool (rather than a "selection" tool) and tries to select the > group rather than draw a new rectangle. Then you select what falls in the "selection" by intersection or inclusion... Im not sure i'd use a group rather than a simple rect graphic (simpler)... > The group is not marked as opaque, currently has no objects > within it (it is an empty group), is set to cantSelect, has > both scrollbars, is visible, and covers all but a small part > of the window, where I am dragging a palette along with the > window (as a toolbar -- not a perfect solution, of course, > but the best I've come up with so far given Rev's feature set > in terms of the drawing tools). im lost here... What does the group do? Are you supposed to scroll when dragging beyond the edge? Xav > On Apr 25, 2005, at 2:20 PM, MisterX wrote: > > > look at how ResizeN2O does it... > > > > > http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=78 > > > > Another example (but in browse mode) is how i make palettes > > draggeable... > > just intercept (or pass) the mousedown except where you > shouldn't (or > > should)... > > > > cheers > > Xavier > > http://monsieurx.com - TAOO - the rave in RAD > > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com > >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf > Of Frank > >> D. Engel, Jr. > >> Sent: Monday, April 25, 2005 19:45 > >> To: How to use Revolution > >> Subject: Draw over existing objects > >> > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> I am trying to set up an environment where I can use the standard > >> drawing tools (graphic, field, pointer) and draw over top > of a group, > >> so that I can catch the new objects and add them to the > group myself. > >> I set the cantSelect of the group, etc., and that stuff is working > >> okay; however, when I try to draw over the group, nothing happens. > >> > >> Apparently, Rev automatically tries to select an object when you > >> mouseDown on it in pointer mode, even when you are using > the graphic > >> tool instead of the pointer tool. Thus instead of > starting to draw a > >> graphic, Rev is trying to select the group, but sees the > cantSelect > >> property and just decides to do nothing instead. > >> > >> Anyone know of a way to convince Rev to start the new > graphic rather > >> than just sit there when I try to draw with such a group > underneath? > >> > >> Rev 2.5, OS X.3.whatever, etc. > >> > >> Thank you! > >> > >> > >> - ----------------------------------------------------------- > >> Frank D. Engel, Jr. > >> > >> $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | > >> grep "John 3:16" > >> John 3:16 For God so loved the world, that he gave his > only begotten > >> Son, that whosoever believeth in him should not perish, but have > >> everlasting life. > >> $ > >> -----BEGIN PGP SIGNATURE----- > >> Version: GnuPG v1.2.4 (Darwin) > >> > >> iD8DBQFCbSy67aqtWrR9cZoRAkqDAKCL1dtDU1J4ZY3lwBCiPsyboGJm0wCgg+KV > >> Emd46eKmarOeRcn3rKrDEWk= > >> =lzNq > >> -----END PGP SIGNATURE----- > >> > >> > >> > >> ___________________________________________________________ > >> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 > >> Personalized POP and Web E-mail Accounts, and much more. > >> Signup at www.doteasy.com > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only > begotten Son, that whosoever believeth in him should not > perish, but have everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCbkZJ7aqtWrR9cZoRAnOkAJ4jDU5Z3gKfCSMdPxWUdkKFGGL6RQCbBUTM > p8l2ix39fxsJftvBUHjuomM= > =UCgw > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From lynn at paradigmasoft.com Tue Apr 26 10:45:05 2005 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Tue, 26 Apr 2005 07:45:05 -0700 Subject: Well done runrev. valentina In-Reply-To: <426DCE03.50102@fourthworld.com> Message-ID: <1097595785-20156800@lindbergh.macserve.net> > And a tip of the hat to the good folks at Valentina, as I > suspect they had a hand in their web site too. :) > > They've been very helpful to Rev folks using their DB, and it > is indeed nice to see them get more public about the great > support they've been providing the Rev community for years. Thanks, Richard! And just to let you all know, Valentina 2 for Revolution is on the visible horizon. Over the last two years, Paradigma Software has undergone a number of changes, both technological and business. Our friends at Runtime have been very supportive, and the support is about to pay off. With Valentina 2 for Revolution, we will continue the single connection pricing and configurations we have always had, with significant technology improvements. You can find core technology improvements here: http://www.paradigmasoft.com/en/technology The improvements have been significant, and in response to our customers needs around the world. We have made signficant technology improvements to provide the best solution for Japan and international business. We've also introduced Valentina Developer Network, which will allow royalty free deployment of multi-user, client-server applications. Valentina Embedded Server is automatically initialized to support five simultanous connections. These can be extended by any number of connections or with an unlimited connection version, on a per-deployment basis. These extensions to Embedded Server are ONLY available to VDN members, so it keeps the developer in control of the customer relationship. VDN was set up to support *our customer*, the developer, in the relationship with the end user of *their* solution. This reflects growing concerns in the custom software and system integration market of big vendors trampling on relationships to try to direct sell. We've been improving both the business and technology. I hope Revolution developers will take the opportunity revisit Valentina 2, especially with the impending roll-out of Valentina 2 for Revolution. Best regards, Lynn Fredricks President Paradigma Software, Inc From rcozens at pon.net Tue Apr 26 10:30:22 2005 From: rcozens at pon.net (Rob Cozens) Date: Tue, 26 Apr 2005 07:30:22 -0700 Subject: another multi-user "solution"? In-Reply-To: <20050426041244.2CE78930068@mail.runrev.com> References: <20050426041244.2CE78930068@mail.runrev.com> Message-ID: <6.2.1.2.1.20050426072343.01ebead0@pop3.pon.net> Xavier, et al: >In a server-client - the client doesn't touch the database. Only sends >updates to the server to queue up changes. This way, you have no locks, no >problems. Everyone accesses it. A server-client system eliminates the potential for data collision; but you still need record locking so one user can prevent others from changing the record she is currently working on while she is working on it. Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From jacque at hyperactivesw.com Tue Apr 26 10:48:38 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Apr 2005 09:48:38 -0500 Subject: [ANN] ChatRev with Kevin Miller In-Reply-To: <9254969632.20050426004514@ahsoftware.net> References: <70047ea04a9239c6ef4497ce2b447291@mac.com> <426DB3AF.7040501@hyperactivesw.com> <9254969632.20050426004514@ahsoftware.net> Message-ID: <426E54C6.7080605@hyperactivesw.com> On 4/26/05 2:45 AM, Mark Wieder wrote: > Jacque- > > Monday, April 25, 2005, 8:21:19 PM, you wrote: > > JLG> Bjoernke, I tried to sign on with ChatRev last week and couldn't > JLG> connect. Is there more we should know about connecting, or was the > JLG> server down? > > Which client are you using? I had trouble until I grabbed the latest > client from Bjornke's site. The port has changed to 8008 from whatever > it used to be. If you're getting errors like "" or "" then > that's probably the problem. > I had downloaded the latest 1.3 and it had the right port number. I didn't get any errors, it just wouldn't connect. It just sort of sat there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Apr 26 10:59:12 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 26 Apr 2005 07:59:12 -0700 Subject: Simulating 'drawer' behaviour on Windows In-Reply-To: <672431fa48264009dee7495aad16a09f@fjrhome.net> References: <426D6A4C.4010906@hrz.uni-kassel.de> <426DCC8B.9080601@fourthworld.com> <672431fa48264009dee7495aad16a09f@fjrhome.net> Message-ID: <426E5740.5070809@fourthworld.com> Frank D. Engel, Jr. wrote: > Hmm... I think M$ could stand to hire more capable web designers, as > their web site is a disaster (particularly the developer sections). Agreed. MSDN's search facility would benefit from being thrown away in favor of Google's. > Where can I find the Windows HIG? I was starting to wonder if they even > existed. The HIGs for most popular OSes (along with a lot of other usability links) are available on the right of this page: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From sims at ezpzapps.com Tue Apr 26 11:02:09 2005 From: sims at ezpzapps.com (sims) Date: Tue, 26 Apr 2005 17:02:09 +0200 Subject: [ANN] ChatRev with Kevin Miller In-Reply-To: <426E54C6.7080605@hyperactivesw.com> References: <70047ea04a9239c6ef4497ce2b447291@mac.com> <426DB3AF.7040501@hyperactivesw.com> <9254969632.20050426004514@ahsoftware.net> <426E54C6.7080605@hyperactivesw.com> Message-ID: > >I had downloaded the latest 1.3 and it had the right port number. I >didn't get any errors, it just wouldn't connect. It just sort of sat >there. Did you click the middle btn which reads "Chat"? sims From fde101 at fjrhome.net Tue Apr 26 11:09:10 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 26 Apr 2005 11:09:10 -0400 Subject: Draw over existing objects In-Reply-To: <20050426143209.A348A930056@mail.runrev.com> References: <20050426143209.A348A930056@mail.runrev.com> Message-ID: <44bd07135e8fe69cc4fc8bac8d3217c2@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 26, 2005, at 10:19 AM, MisterX wrote: > you're not obliged to be in drawing mode... You can simulate it with a > cursor and a moving/resizing rect or graphic (with a marquee pattern). Except that I want to support nearly all of the graphics shapes -- rects, roundRects, ovals, curves, etc. -- and this would be substantially more work, possibly negating the value of doing this at all. > Then you select what falls in the "selection" by intersection or > inclusion... Im not sure i'd use > a group rather than a simple rect graphic (simpler)... Except that the group does the work of handling scrolling for you. The group fills virtually the entire window (except where the toolbar is) - -- so there would be no value in using a rect. >> The group is not marked as opaque, currently has no objects >> within it (it is an empty group), is set to cantSelect, has >> both scrollbars, is visible, and covers all but a small part >> of the window, where I am dragging a palette along with the >> window (as a toolbar -- not a perfect solution, of course, >> but the best I've come up with so far given Rev's feature set >> in terms of the drawing tools). > > im lost here... What does the group do? Are you supposed to scroll > when dragging beyond the edge? Not necessarily (though that's not a particularly bad idea); I'm creating a custom report layout editor to be included with a commercial software product, and would like to be able to scroll larger report layouts rather than splitting them into separate windows. I am now realizing various issues with my current implementation (which uses separate windows for each section -- this isn't the problem I'm trying to solve, but I'd like to fix it anyway), and in considering starting over, I'd like to get this done right this time, including a scrolling, resizing window representing the report layout. I want it to act like a drawing program, to make life a little easier for the end users. And looking at the reports product which has been brought up on this list previously: 1. I want to distribute the editor with the product, which would seemingly require a royalty fee (or at least an expensive custom version purchase), which I'm trying to avoid. 2. The product will gather information from a database, and I want the layouts stored on the database server itself, rather than files on a disk. 3. The editor brought up on the list allows use of Rev functions, etc. in fields, and I don't want to risk users picking up on the functions, etc. which I have included in the (rather large, complex) product and misusing them. 4. I'd like the editor to be a separate program, so that I can have it shared between several products in a series. Information about the various types of reports which layouts can be generated for should also be gathered from information which an installer will populate the database with. This includes a list of available sections, fields, etc. for any given report (and there will be a different set of sections possible with different types of reports). I could go on, but I think you get the idea by now. The editor is somewhat specialized, but I want it to look a bit more professional than a too-highly specialized tool. Of course, dragging the palette window around to make a toolbar isn't particularly professional-looking, either... Please Rev, let us specify a different tool for a single group placed on a card! Please... Or at least let us scroll entire windows, rather than just groups: I could stand to use a floating palette if that helps... - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCblmX7aqtWrR9cZoRAgoCAJ9Ja0jsZrK8nv2kxokc9cNH4kMj5wCfZf6m ndKQLd3k0Lu2lXeyiiTOZD0= =k0sp -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From jamesjrichards at lineone.net Tue Apr 26 11:09:33 2005 From: jamesjrichards at lineone.net (James Richards) Date: Tue, 26 Apr 2005 16:09:33 +0100 Subject: Some kind of incompatibility issue In-Reply-To: <20050426135508.E33839300F5@mail.runrev.com> References: <20050426135508.E33839300F5@mail.runrev.com> Message-ID: Hmm! Of all the 10.3 updates, 10.3.9 is the only one to have given me problems, and this seems true for quite a few others (as you are probably aware). For me, fixing permissions with Disk Utility and using MacJanitor sorted things out but I felt like the motorist at a break down who has just had it pointed out that the fuel gauge is empty - so I'm probably telling you stuff you already know. Regards James -- James J Richards jamesjrichards at lineone.net Tel. +44 (0)15394 43063 On 26 Apr, 2005, at 05:34:07 -0400, Richard Miller wrote: > > Ran into an interesting little bug. > > Discovered there is an incompatibility between OS 10.3.9 (the most > recent OSX update), RR's Quicktime video capture functions, and our > USB-based touch screen drivers. Enabling the video grabber functions > disables our touch screen. Switching back to 10.3.8 eliminates the > problem. Tried this on several computers to verify it is strictly tied > to 10.3.9. > > Apple has done something that is interacting with Rev code in a less > than positive manner. Good chance it'll extend to Tiger. No idea what's > going on. > > Richard Miller > Imprinter Technologies From ambassador at fourthworld.com Tue Apr 26 11:19:32 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 26 Apr 2005 08:19:32 -0700 Subject: Draw over existing objects In-Reply-To: <20050426143209.A348A930056@mail.runrev.com> References: <20050426143209.A348A930056@mail.runrev.com> Message-ID: <426E5C04.50604@fourthworld.com> MisterX wrote: > Frank > > >>Maybe I'm just missing something here, but that stack doesn't >>seem relevant. >> >>set the tool to "graphic" >>set the style of the templateGraphic to "rectangle" > > > you're not obliged to be in drawing mode... You can simulate it with a > cursor and a moving/resizing rect or graphic (with a marquee pattern). I would encourage you to review the discussion logged with these two feature requests: Yes, one can simulate a lot of things, but it won't have the simplicity or performance of using the behaviors built into the engine with the pointer tool. Try it and you'll see. Making a simple MacDraw-like app is a loooooooooooooooot of work in Rev today, but could be as simple as doing so in SuperCard, with greater flexibility, if those two requests were acted on. One of the most inspiring things I've ever worked with was the old SampleDraw app that shipped with SuperCard. A simple MacDraw-like app, it had very little code and served as an excellent example of making an app with its own documents. Most of its behaviors were simply built into the engine with the pointer tool, something that at that time was unique among xTalks. Rev's engine already provides some 90% of the core behaviors needed for simple drawing apps. Unfortunately the remaining 10% is also essential if the existing 90% is to be useful in making such apps. Once RR completes BZ items #623 and #624 whole new worlds open up, at least as easily as accomplishing the same things in SuperCard. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From kurtkaufman at hotmail.com Tue Apr 26 11:24:11 2005 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Tue, 26 Apr 2005 15:24:11 +0000 Subject: OT: 10.4 "Automator" = Applescript? Message-ID: RG wrote: "...From the session I attended at WWDC last year on Automator, it appears to be merely a point-and-click way to write AppleScript, just like interface for making scripts that you can use with Flash in leiu of directly typing, or the point-and-click scripting found in FileMaker Pro for years..." Perhaps I've mentioned this before, but nothing was so easy to use as Mac System 6's MacroMaker. Just start it up, go through whatever process is required, save the Macro, and you're done. It might not have been very elegant visually (everything including Menu pulls and button clicks was visible when running the macros, and it sort of reminded me of early film comic slapstick), but it seemed always to work no matter what the application. As someome who has slugged through Applescript GUI scripting, I miss a tool so simple and yet so effective. THAT'S the way a macro tool "for the rest of us" should operate! From b.xavier at internet.lu Tue Apr 26 11:27:49 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Apr 2005 17:27:49 +0200 Subject: another multi-user "solution"? In-Reply-To: <6.2.1.2.1.20050426072343.01ebead0@pop3.pon.net> Message-ID: <20050426154015.EF90C9300E4@mail.runrev.com> Rob, i dont disagree... But it should be visible to the browsing or searching user. If he wants to edit it, then a query should be done to see if possible or delay+update+allow... cheers X > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Rob Cozens > Sent: Tuesday, April 26, 2005 16:30 > To: How to use Revolution > Subject: RE: another multi-user "solution"? > > Xavier, et al: > > > >In a server-client - the client doesn't touch the database. > Only sends > >updates to the server to queue up changes. This way, you > have no locks, > >no problems. Everyone accesses it. > > A server-client system eliminates the potential for data > collision; but you still need record locking so one user can > prevent others from changing the record she is currently > working on while she is working on it. > > Rob Cozens CCW > Serendipity Software Company > > "And I, which was two fooles, do so grow three; > Who are a little wise, the best fooles bee." > > from "The Triple Foole" by John Donne (1572-1631) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ps1 at softseven.org Tue Apr 26 11:29:52 2005 From: ps1 at softseven.org (Paul Salyers) Date: Tue, 26 Apr 2005 10:29:52 -0500 Subject: cut & paste error In-Reply-To: References: <20050426135508.E33839300F5@mail.runrev.com> Message-ID: <6.1.1.1.2.20050426101601.02a63780@softseven.org> Dear Rev Programmer This may be already discussed, but if so I missed it, so please help. when I copy text and try to paste into a text field in a program it will not paste, I can copy using paste if the clipboard is "text" then paste Thats what I found from Rev help. is it correct? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From stephenREVOLUTION at barncard.com Tue Apr 26 12:57:17 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 26 Apr 2005 09:57:17 -0700 Subject: To MySQL or Not SQL In-Reply-To: References: Message-ID: I'd get a copy of the SQL Pocket Guide, via Oreilly press. They might even list out the differences at the www.oreilly.com site. However, to answer the question, I feel MySQL is very adequate, even robust, for most of the Rev applications I see discussed here. And with the aforementioned libraries, fairly simple, almost fun to implement. Having not one but two competing local SQL server products, Rev rocks again. Not having to create my own data storage and retrieval scheme is wonderful and I can move on to 'business logic' and interface and getting the app out the door. At 9:49 AM -0300 4/26/05, Jim Carwardine wrote: >What about the differences between MySQL and MSSQL. The proponents of MSSQL >are adamant that it is far better. Is it really? Of course, it's not >x-platform, which is a mark against it in my books... Jim From bornstein at designeq.com Tue Apr 26 14:35:18 2005 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 26 Apr 2005 13:35:18 -0500 Subject: OT: 10.4 "Automator" = Applescript? In-Reply-To: References: Message-ID: <20050426133518.64fx3wvrlickg4kc@designeq.com> This is from an email correspondence I had with the Engineering Manager of Automator at Apple in September of 2004: ------------- There have been some discussions about the various ways to interact with Applescript on the Revolution listserv. Since Automator is a high-level interface for Applescript, I wanted to find out if the applescript it generates is actually available? That is, is the actual applescript code viewable and accessible? >> This is inaccurate. Automator could be described as a high-level >> interface for scripting or automation, but it's not tied to >> AppleScript. >> >> Automator does not generate an AppleScript to represent the entire >> workflow. Each action is a separate bundle executed independently by >> the Automator engine. Is the actual applescript code viewable and accessible? >> An individual action may be backed by an AppleScript (many use no >> AppleScript at all), but the way we are planning to ship them, a >> customer wouldn't have access to the script. It is a compiled >> script with the script source removed. >> This would allow a script-savvy application to execute the script, >> but not view it, so it would be accessible, but not viewable. But >> without the surrounding infrastructure of the action bundle, the >> script alone might not help you too much. You'd have to reimplement >> what's in the surrounding bundle. Since Revolution can execute applescript directly, it seems that the combination of Revolution and Automator could be very powerful. Build inter-application processes with Automator and include these in a more robust Revolution application. >> This is doable, but it has little to do with AppleScript. >> Revolution would need to learn how to load and execute action >> bundles, which is easy to do using Cocoa. --------------- Regards, Howard Bornstein From ambassador at fourthworld.com Tue Apr 26 14:44:53 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 26 Apr 2005 11:44:53 -0700 Subject: OT: 10.4 "Automator" = Applescript? In-Reply-To: <20050426133518.64fx3wvrlickg4kc@designeq.com> References: <20050426133518.64fx3wvrlickg4kc@designeq.com> Message-ID: <426E8C25.3090404@fourthworld.com> Howard Bornstein wrote: > This is from an email correspondence I had with the Engineering Manager of > Automator at Apple in September of 2004: > > ------------- > There have been some discussions about the various ways to interact with > Applescript on the Revolution listserv. Since Automator is a high-level > interface for Applescript, I wanted to find out if the applescript it > generates > is actually available? That is, is the actual applescript code viewable and > accessible? > >>> This is inaccurate. Automator could be described as a high-level >>> interface for scripting or automation, but it's not tied to AppleScript. >>> >>> Automator does not generate an AppleScript to represent the entire >>> workflow. Each action is a separate bundle executed independently by >>> the Automator engine. > > > Is the actual applescript code viewable and accessible? > >>> An individual action may be backed by an AppleScript (many use no >>> AppleScript at all), but the way we are planning to ship them, a >>> customer wouldn't have access to the script. It is a compiled script >>> with the script source removed. >>> This would allow a script-savvy application to execute the script, >>> but not view it, so it would be accessible, but not viewable. But >>> without the surrounding infrastructure of the action bundle, the >>> script alone might not help you too much. You'd have to reimplement >>> what's in the surrounding bundle. > > > Since Revolution can execute applescript directly, it seems that the > combination > of Revolution and Automator could be very powerful. Build inter-application > processes with Automator and include these in a more robust Revolution > application. > >>> This is doable, but it has little to do with AppleScript. Revolution >>> would need to learn how to load and execute action bundles, which is >>> easy to do using Cocoa. Thanks for the clarification, Howard. If they're not using compiled AppleScript for these "action bundles", it looks like yet another OS X-only API to support. Too bad, as making AppleScript dictionaries is already well adopted. On the bright side, with their increased adoption for OS X it probably has as much as 1.8% of the global desktop market by now. For Tiger we may see a whopping 1.6% adoption in less than a year -- woo hoo! ;) When will the industry grow up to create a universal platform-independent application interoperability standard? Maybe that'll happen the day after the various Linux window managers get together and create a common standard mechanism for app installation essentials (icon, Start menu shortcuts, file associations). Hey, I can dream can't I? :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From varen at veggio.com Tue Apr 26 14:51:50 2005 From: varen at veggio.com (Varen Swaab) Date: Tue, 26 Apr 2005 11:51:50 -0700 Subject: Image Library question In-Reply-To: <936571805613c00070b40431b3e2c39e@genesearch.com.au> Message-ID: Thanks everyone for your help. Thanks to your suggestions I got this problem licked! Var On 4/25/05 11:54 PM, "Sarah Reichelt" wrote: >> Thanks for the info but I'm not sure what to do from here. You say to >> set the image IDs above 1 billion but how do I do that? I'm importing >> a folder full of images, I'm not even sure how to do that with one >> image. > Import all your images and then make a button with this script: > > on mouseUp > repeat with x = 1 to the number of images > set the ID of image x to 50000 + x > end repeat > end mouseUp > > You may need to alter it so that it gets to all your images, depending > on where they are, but you should get the idea. >> >> I admit to be a little dismayed and discouraged that this problem and >> I'm surprised it hasn't been addressed yet. (hek, it's not even a >> "confirmed" bug in the Bug Database. This has become a big issue for >> me as now all my images are messed up and I have no confidence in the >> image management system of RR. >> >> I may now need to completely rebuild my stack from scratch to fix this >> problem and it will cost me a lot of time and effort. > Once you have re-allocated unique IDs, you won't have any further > problems with images and you won;t have to re-build your stack or even > re-import the images. > > HTH, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Tue Apr 26 15:29:48 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 26 Apr 2005 12:29:48 -0700 Subject: click-words In-Reply-To: References: Message-ID: I'm working with a horizontal field with tab-delimited text in columns serving as column headings fed from an SQL database. I want to "word click" those headers to select the sort. However when importing data and creating the database (from a hypercard card-background data set) that I had to do something with field names with spaces. To keep them as close to the original names as possible, I used the underscore character "_" in place of a space. Now I'm at the point where "Field_With_Underscores" in a tab delim field header won't word-click properly; one gets "Field" only with the click. So, is there a character, visible or invisible, that will stand in place of a space for word-click so I get the whole phrase? Otherwise I have to start over with the data capture, and rename hard coded names. thanks stephen barncard From b.xavier at internet.lu Tue Apr 26 15:49:59 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Apr 2005 21:49:59 +0200 Subject: Draw over existing objects (and can'tselect script for Richard!!) In-Reply-To: <426E5C04.50604@fourthworld.com> Message-ID: <20050426200215.BDEA1930075@mail.runrev.com> for bz 624, coz i think it's a good cause! [Sorry if i go off the subject. ed.] Many things where suggested for graphic handling in runrev to Scott and Kevin but apparently neither has used or use Freehand... ;) Best drawing interface in a clever GUI i've ever seen! Some prefer illustrator, but FH was a natural thing to use for MacDraw upgradees. It was so intuitive that i learned how to split a circle in a quadrant in a dream - ungroup... Made the bezier points ungrouped to reveal the curves... I searched for a week for that one... Just a dream interface i miss in RunRev... (Common Alejandro... ;) And with the many things suggested before including the recent cantselect control property, I hope to bring that along in TAOO... Im inclined to make things more freehand like anyway because it's just natural to do. I got the undo and proportional things started (takes lot of time alone scripting/testing it all ;)... So i might as well as laydown the next step in layer control in editing... on selectedobjectchanged put the selobjs into objlist repeat for each line l in objlist if the xos["cantselect"] of l is not true then put l & cr into selectlist end if end repeat lock messages -- avoid 1 infinite loop - off after handler ,;] select the selectlist pass selectedobjectchanged end selectedobjectchanged -- you can replace xos with MagicControlEditMode and do more things in between those lines like force selections, update the magic control editor palette, etc... Along with the ResizeN2O palette, an additional helper palette/drawer B-) to make this group/layer selectable and the obvious xos["locked"] which prevents any mods to a control... -- Next in line is how to make polygon points and corner points in the stack editeable like freehand - as a block or set of points. In layers and groups... Not too hard but tedious scripting... Just offset from the rect of the poligons' vertices a few square rect non-opaque controls (8X8) in an overlay group which is easily controled as ResizeN2O does... Nothing rev cant handle. All controls have a rect, proportional resizing will need a bit more thinking for matrices of polygons... in 3D anyone? ;) > This introduces the other related issue: the ability to create objects interactively in a group. > Currently the only way to do this is to set the editbg to true (and loose some scripts on the way if you're not careful - also stop the stack script card access too), > but in this scenario of a multi-pane drawing window that would be unacceptable, as it would hide the drawing pane (ugh). I had this problem in ClipperX couple of years ago. And Richard's bugz 623-4 are dated 2003 and i've told countless times how the group editing is a pain... But the solution was quite simple. Make your own tools palette that takes the selobj into account to create "in" or along the selobj the control you choose... This would create your prefered control type (and style) right into the selobj from a palette's menu (bugzilla lurks here though) - peanuts features wise though! It's possible to do since PropsN2O had anyone suggested it before! ;) This is a nice "behavior" feature!!! Why can't we still right click multiple objects? [And woah: while testing if the cursor disappeared as in MetaCard while right-clicking controls, I discovered that you can shift-click "multiple" objects - Select 2 objects with the markee, shift-right-click either object twice and a third and a fourth... Cool! And that was the 3rd hour edit cut time before sending the mail ;)] >Better would be that if a group has its tool set to pointer, objected created within its rect are > created as a member if the group. hard to do... if the group is behind another control or a control is behind the non-opaque group catches the event before the card... Note: the default mouseup handler that comes when you edit the script of a control can leave some unwanted code here that intercepts card messages if you save carelessly... Not a problem if frontscripted though... Im working on this via a new type of palette (better than nitrous ;) At first i thought I'd make a quick button approach like the revtools palette or SuperPaint's for that matter. But then, I remembered the many trips to the revpropertypalette there after... So im integrating a menu to create styled controls (and a style browser) or make them switch styles (btn to tab or menu for example...). And RPP is just a waste of time here when you can extend this easily with a browser or style-list palette (FH experience ;). I released a control style editor/setter in PropsN2O and it was already a step ahead, now comes the archers into battle ;) Now, to the matter of the mail... > Once RR completes BZ items #623 and #624 whole new worlds > open up, at least as easily as accomplishing the same things > in SuperCard. Im thinking about it as you see. I found the supercard app/design modes too limiting for the kind of work i did and couldn't justify the price difference... Despite the color and macdraw advantages and it's enhanced IDE but it was nice to have superPaint in the card! I miss SuperPaint ;0 But the solution to editing, like freehand, a control individually from the group while in group mode is now easy with the right modifier key held down and there's even a second way to do it in TAOO! ResizeN2O shows the way, it's ridiculously easy now that i see it! ;) But there you have a start up script and the resizeN2O to use for behavior templates (just like in TAOO). Left is rendering/editing the points of the selpolygon. Just my 2 cents.. Cheerios Xavier http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Tuesday, April 26, 2005 17:20 > To: How to use Revolution > Subject: Re: Draw over existing objects > > MisterX wrote: > > Frank > > > > > >>Maybe I'm just missing something here, but that stack doesn't seem > >>relevant. > >> > >>set the tool to "graphic" > >>set the style of the templateGraphic to "rectangle" > > > > > > you're not obliged to be in drawing mode... You can > simulate it with a > > cursor and a moving/resizing rect or graphic (with a > marquee pattern). > > I would encourage you to review the discussion logged with > these two feature requests: > > > > Yes, one can simulate a lot of things, but it won't have the > simplicity or performance of using the behaviors built into > the engine with the pointer tool. Try it and you'll see. > > Making a simple MacDraw-like app is a loooooooooooooooot of > work in Rev today, but could be as simple as doing so in > SuperCard, with greater flexibility, if those two requests > were acted on. > > One of the most inspiring things I've ever worked with was > the old SampleDraw app that shipped with SuperCard. A simple > MacDraw-like app, it had very little code and served as an > excellent example of making an app with its own documents. > Most of its behaviors were simply built into the engine with > the pointer tool, something that at that time was unique among xTalks. > > Rev's engine already provides some 90% of the core behaviors > needed for simple drawing apps. Unfortunately the remaining > 10% is also essential if the existing 90% is to be useful in > making such apps. > > Once RR completes BZ items #623 and #624 whole new worlds > open up, at least as easily as accomplishing the same things > in SuperCard. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Tue Apr 26 15:53:10 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 26 Apr 2005 21:53:10 +0200 Subject: click-words In-Reply-To: References: Message-ID: <4cfbfc9df74517fa00fb6541db67e804@sosmartsoftware.com> Hi Stephen, You could use numToChar(202) (option space with Mac OS) which is the "indivisible space" (I don't know if it is the right word :-) Le 26 avr. 05, ? 21:29, Stephen Barncard a ?crit : > I'm working with a horizontal field with tab-delimited text in columns > serving as column headings fed from an SQL database. I want to "word > click" those headers to select the sort. > > However when importing data and creating the database (from a > hypercard card-background data set) that I had to do something with > field names with spaces. To keep them as close to the original names > as possible, I used the underscore character "_" in place of a space. > > Now I'm at the point where "Field_With_Underscores" in a tab delim > field header won't word-click properly; one gets "Field" only with > the click. > > So, is there a character, visible or invisible, that will stand in > place of a space for word-click so I get the whole phrase? Otherwise I > have to start over with the data capture, and rename hard coded names. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From stephenREVOLUTION at barncard.com Tue Apr 26 15:55:42 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 26 Apr 2005 12:55:42 -0700 Subject: click-words In-Reply-To: <4cfbfc9df74517fa00fb6541db67e804@sosmartsoftware.com> References: <4cfbfc9df74517fa00fb6541db67e804@sosmartsoftware.com> Message-ID: That would be a 'non-breaking' space, right? Excellent. Thanks. At 9:53 PM +0200 4/26/05, Eric Chatonet wrote: >Hi Stephen, > >You could use numToChar(202) (option space with >Mac OS) which is the "indivisible space" (I >don't know if it is the right word :-) > >Le 26 avr. 05, ? 21:29, Stephen Barncard a ?crit : > >>I'm working with a horizontal field with >>tab-delimited text in columns serving as column >>headings fed from an SQL database. I want to >>"word click" those headers to select the sort. From revdan at danshafer.com Tue Apr 26 16:06:07 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 26 Apr 2005 13:06:07 -0700 Subject: [ANN] ChatRev with Kevin Miller In-Reply-To: References: <70047ea04a9239c6ef4497ce2b447291@mac.com> <426DB3AF.7040501@hyperactivesw.com> <9254969632.20050426004514@ahsoftware.net> <426E54C6.7080605@hyperactivesw.com> Message-ID: <5600e3801e70dc33b1b8bf31d69b1e9e@danshafer.com> I got in just fine last night and happened to find Bjornke himself in the chat room. We had a nice conversation. On Apr 26, 2005, at 8:02 AM, sims wrote: >> >> I had downloaded the latest 1.3 and it had the right port number. I >> didn't get any errors, it just wouldn't connect. It just sort of sat >> there. > > Did you click the middle btn which reads "Chat"? > > sims > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From 3mcgrath at adelphia.net Tue Apr 26 17:44:52 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 26 Apr 2005 17:44:52 -0400 Subject: greater than Message-ID: <012e30c12222a0c7fb5e365fb883574c@adelphia.net> Hello to all, I put 3 into gSeqLength in an openCard handler: put 3 into gSeqLength Then I want to do stuff in a switch statement based on gSeqNum, but not more than 3 if gSeqLength = 3, or 4 if 4 ,etc. Anyway, the statement " if gSeqLength is > 3 then " generates a double binary error. Now I know that gSeqLength is 3. Does anyone know what I am doing wrong here. (I need gSeqNum as my switch and not gSeqLength) I tried: if gSeqLength is > 3 then if gSeqLength is greater than 3 then if gSeqlength is more than 3 then if (gSeqLength is > 3) then if gSeqLength is > "3" then etc. .....switch gSeqNum ........ case 1 -- then go up one in gSeqNum -- do real important stuff here put 2 into gSeqNum break case 2 -- do different stuff here -- (if gSeqLength is more than 3 then I don't want to make gSeqNum a three since I have 0,1,2 already) if gSeqLength is more than "3" then put 3 into gSeqNum end if break case 3 if gSeqLength is > 4 then put 4 into gSeqNum end if break ...........switch............ Macintosh PowerBook G-4 OSX 10.3.8, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.5 Advanced Media Group Thomas J McGrath III 3mcgrath at adelphia.net From revlist at cableone.net Tue Apr 26 17:50:40 2005 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 26 Apr 2005 15:50:40 -0600 Subject: greater than In-Reply-To: <012e30c12222a0c7fb5e365fb883574c@adelphia.net> Message-ID: <1114552259_112026@S1.cableone.net> Try removing the word "is". Just use ">". :-) Chris Sheffield Read Naturally The Fluency Company www.readnaturally.com -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Tuesday, April 26, 2005 3:45 PM To: How to use Revolution Subject: greater than Hello to all, I put 3 into gSeqLength in an openCard handler: put 3 into gSeqLength Then I want to do stuff in a switch statement based on gSeqNum, but not more than 3 if gSeqLength = 3, or 4 if 4 ,etc. Anyway, the statement " if gSeqLength is > 3 then " generates a double binary error. Now I know that gSeqLength is 3. Does anyone know what I am doing wrong here. (I need gSeqNum as my switch and not gSeqLength) I tried: if gSeqLength is > 3 then if gSeqLength is greater than 3 then if gSeqlength is more than 3 then if (gSeqLength is > 3) then if gSeqLength is > "3" then etc. .....switch gSeqNum ........ case 1 -- then go up one in gSeqNum -- do real important stuff here put 2 into gSeqNum break case 2 -- do different stuff here -- (if gSeqLength is more than 3 then I don't want to make gSeqNum a three since I have 0,1,2 already) if gSeqLength is more than "3" then put 3 into gSeqNum end if break case 3 if gSeqLength is > 4 then put 4 into gSeqNum end if break ...........switch............ Macintosh PowerBook G-4 OSX 10.3.8, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.5 Advanced Media Group Thomas J McGrath III 3mcgrath at adelphia.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005 From nicolas_cueto at yahoo.com Tue Apr 26 18:52:10 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Wed, 27 Apr 2005 07:52:10 +0900 Subject: OT: text editors? (was Re: click-words) Message-ID: <006001c54ab2$94ea8a00$0b01a8c0@niconiko04zbtb> Speaking of "non-breaking spaces" and other characters that just ain't on my keyboard, does any one have recommendations for Windows text editors that allow non-standard characters such as these to be directly inputted and even displayable on-screen? And I just got to add a note of thanks to Eric and Stephen for raising this topic. The "non-breaking space" helps solve a long-time problem, namely, how to link multi-word items in a manner that's transparent to the user but not to Rev functions such as clickText. -- Nicolas Cueto From mleonti at clear.net.nz Tue Apr 26 19:59:16 2005 From: mleonti at clear.net.nz (Mario Leonti) Date: Wed, 27 Apr 2005 11:59:16 +1200 Subject: Recovery of a corrupted stack Message-ID: Hi Dave, thanks for your offer to help directly. Would it be ok if I sent you the offending stack by attachment? I really cannot make any sense of it. If I try to open the stack in Rev it simply says it's not a stack. The funny thing is I recovered a .sit with the same file inside. Stuffit uncompresses it ok and the stack is still not opened/recognized by Revolution. I spent a month developing this sucker and I am really keen to recover anything I can from it. Thanks once more Mario PS Thanks to all others that offered advise. WordPower phone: +64 4 293 4774 Software Developers email: wordpower at clear.net.nz Computer Consultants URL: http://members.fortunecity.com/wordpower1/ Film/Audio/Video/DVD Specialists snailMail: P.O. Box 160, Waikanae, New Zealand From see3d at writeme.com Tue Apr 26 20:06:22 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 26 Apr 2005 20:06:22 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> Message-ID: On Apr 14, 2005, at 10:09 AM, Dennis Brown wrote: > Dick, > > Thanks for your various tips and help online and offline. I need to > take a week to digest and incorporate the ideas into a real piece of > code that I hope will fly like the wind --then I will share my code > and a data generator for you and everyone else to see and rip to > shreds ;-) > > Thanks again, > Dennis > > I have been studying methods of making things go faster with the numeric processing of big arrays during the last couple of weeks (while I have been writing a lot of actually useful processing scripts). However, I thought I should provide some simplified scripts to make it easier to separate out the essential factors that I have learned so far. The first thing I have found is that accessing the array elements with the repeat for each is very fast, but does not allow for accessing more than one array at a time. This is a shame and should be corrected by adding or modifying some Transcript operators. The second thing I have found is that if you want to do just a few mathematical operations, the times really start adding up quickly. Do a few adds, rounds, etc. and accessing the data is not the worst of the bottlenecks. I used to have a rule of thumb that a P code compiler runs 16 times slower than a machine code compiler, and an interpreter was 256 times as slow for number crunching. Transcript seems to be 128 times as slow. Not as optimized as I would have hoped for. All my large array stuff runs about 4 times slower than I had hoped, but it is within the realm that I can make it work for me --with a bit of doing things in more complicated ways than I would like and taking a lot more time with work arounds. Here are the scripts I came up with for adding each element of a 1000 line by 1000 item text array to each other. I know there are much faster ways of doing this particular operation, but I wanted to use it as a simplified example of accessing parallel elements in two (or more) arrays at the same time to see how fast different methods would be. Method1: 1.7 s =1x This is how fast Rev would be if it had the proper Transcript support for doing this along the lines of a repeat for each. Method2a: 10.8 s = 6.35x This is using a repeat for each on one array and a character pointer on the other array Method2b: 18 s =10.6x This is using a repeat for each on one array and simulating the code for new Transcript functions/commands for sequential access Method3: 7.9 s =4.6x This is using a repeat for each on one array and the split command to access the other array as an indexed array Method4: 12.6 s =7.4x This is using the split command on both arrays and accessing each as an indexed array Can anyone think of another way to do this that would be faster (for accessing parallel arrays, not the trivial adding them together operation I am doing here). Of course the times are for my machine and will vary on yours, but the time relative to Method1 should be noted. If you can figure out how to make my examples run faster, I will also learn more about this problem. Thanks, Dennis THE SCRIPT: global gTestArrayX,gTestArrayY --put the following lines into the menu items of a menu button Init Method1 Method2a Method2b Method3 Method4 --put the following into the script of the button on menuPick x put the long seconds into s send x to me put space & (the long seconds -s) after msg end menuPick on Init --create two test string arrays 1000x1000 numbers put empty into gTestArrayX put empty into gTestArrayY repeat with i=1 to 1000 repeat with j=1 to 1000 put j&comma after gTestArrayX end repeat put cr into last char of gTestArrayX end repeat put gTestArrayX into gTestArrayY put "Init:" end Init on Method1 --just repeat for each on the two arrays as best case reference timing (can't add them directly this way) put 0 into total repeat for each line n in gTestArrayX repeat for each item x in n add x to total end repeat end repeat repeat for each line n in gTestArrayY repeat for each item x in n add x to total end repeat end repeat put total&&"Reference(Method1):" end Method1 on Method2a --Add lines in two text arrays using repeat for each and sequential processing method put 0 into total put 1 into i --character index into gTestArrayY repeat for each line n in gTestArrayX repeat for each item x in n -- put empty into itemY repeat forever --get next item in gTestArrayY get char i of gTestArrayY add 1 to i if (it=comma)or(it=cr)or(it=empty) then exit repeat put it after itemY end repeat -- add itemY+x to total end repeat end repeat put total&&"Sequential(Method2):" end Method2a on Method2b --Add lines in two text arrays using repeat for each and simulated Rev sequential functions put 0 into total put 1 into i --character line index into gTestArrayY repeat for each line n in gTestArrayX --put nextLine(offset,string) This should be a primitive Rev command or function put empty into lineY repeat forever --get next item in gTestArrayY get char i of gTestArrayY add 1 to i if (it = cr)or(it=empty) then exit repeat put it after lineY end repeat --end of nextLine(offset,string) put 1 into j --character item index into lineY repeat for each item x in n --put nextItem(offset,string) This should be a primitive Rev command or function put empty into itemY repeat forever --get next item in gTestArrayY get char j of lineY add 1 to j if (it = comma)or(it = empty) then exit repeat put it after itemY end repeat --end of nextItem(offset,string) add itemY+x to total end repeat end repeat put total&&"Sequential(Method2):" end Method2b on Method3 --Add lines in two text arrays using repeat for each and split array processing method put 0 into total put gTestArrayY into y --I do not split the global directly, because I don't want to destroy it split y by cr put 0 into lineCount repeat for each line n in gTestArrayX add 1 to lineCount put y[lineCount] into m split m by comma put 0 into i repeat for each item x in n add 1 to i add x+m[i] to total end repeat end repeat put total&&"Split(Method3):" end Method3 on Method4 --Add lines in two text arrays using split array only processing method put 0 into total put gTestArrayX into n --I do not split the globals directly, because I don't want to destroy them put gTestArrayY into m split n by cr split m by cr repeat with i=1 to 1000 put n[i] into x put m[i] into y split x by comma split y by comma repeat with j=1 to 1000 add x[j]+y[j] to total end repeat end repeat put total&&"Split(Method4):" end Method4 From stephenREVOLUTION at barncard.com Tue Apr 26 21:06:22 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 26 Apr 2005 18:06:22 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> Message-ID: MySQL can do math on columns like you want. Very Fast. No loops in transcript. Check out the GROUP BY (Aggregate) Functions. http://dev.mysql.com/doc/mysql/en/group-by-functions.html At 8:06 PM -0400 4/26/05, Dennis Brown wrote: > > >Can anyone think of another way to do this that would be faster (for >accessing parallel arrays, not the trivial adding them together >operation I am doing here). Of course the times are for my machine >and will vary on yours, but the From eric.chatonet at sosmartsoftware.com Wed Apr 27 04:02:26 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 27 Apr 2005 10:02:26 +0200 Subject: OT: text editors? (was Re: click-words) In-Reply-To: <006001c54ab2$94ea8a00$0b01a8c0@niconiko04zbtb> References: <006001c54ab2$94ea8a00$0b01a8c0@niconiko04zbtb> Message-ID: <5421b0c64bcb70cb93018f1e599246a8@sosmartsoftware.com> Hi Nicolas and Stephen, Non breaking spaces are a solution for linking multiple words items, but in my mind, it is an unnecessary workaround. Rev provides all you need in this case without wrecking your text: Take advantage of Rev hypertext abilities by setting the style of multiple words items to link but without showing the link style (underlineLinks stack property = false). With link text, the returned values by mouseText, mouseChunk, clickChunk, etc. functions specify the ENTIRE TEXT group: this very handy feature is often forgotten ;-) More, see the linkText property which allows to store any string related to any chunk of text (including carriage returns if needed). For instance, it can be the name of a message that you will execute with the "do" command, a complete revGoUrl statement, a multi-lines prompt, a translation, etc. Note that link text properties are not lost when you copy/paste the text: amazing! You can get and set this property by script but not via the property palette: so it's not well-known and, it's true, not entirely tranparent... In addition, you can trigger the linkClicked message whose single parameter is the contents of the linkText property (or the "raw" clicked text when this property was not defined). As for non-standard characters, Nicolas, you might be interesested by my ASCII Picker you can download from my web site: It does not indicate any keys combinations (they depend on too many factors) but allows you to copy/paste any character and search by ASCII value or "real" char. Best regards, PS. What OT means? Le 27 avr. 05, ? 00:52, Nicolas Cueto a ?crit : > Speaking of "non-breaking spaces" and other characters that just ain't > on my > keyboard, does any one have recommendations for Windows text editors > that > allow non-standard characters such as these to be directly inputted > and even > displayable on-screen? > > And I just got to add a note of thanks to Eric and Stephen for raising > this > topic. The "non-breaking space" helps solve a long-time problem, > namely, how > to link multi-word items in a manner that's transparent to the user > but not > to Rev functions such as clickText. Amicalement, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From richmond at mail.maclaunch.com Tue Apr 26 17:05:31 2005 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue, 26 Apr 2005 17:05:31 -0400 Subject: A Philosophical Point Message-ID: I recently completed a Master's thesis at the University of Abertay, Dundee. It was mainly concerned with designing a new Graphic User Interface for computers (and may be read, in its entirety, on my website at http://members.maclaunch.com/richmond), and had at its heart a prototype developed using a version of Runtime Revolution. The reason I chose to use Runtime Revolution was based largely on the fact that I have 12 years of experience using what has come to be called 'xTalk' but when I started was called 'HyperTalk'. While I believe that Runtime Revolution produce an extremely good programming interface that uses a dialect of 'xTalk' I have a major philosophical disagreement with them, of which many people who work with Runtime Revolution are aware, but may not realise the reasons for. On Friday 22 April I went to Sofia to the Webtech conference and listened to Richard Stallman for close on two hours. Dr Stallman's message was clear (and is well known in programming circles), and for the first time I heard somebody else say things that echoed, to a large extent, my own ideas. About 4 years ago I downloaded Runtime Revolution 1 and started to play with it; over a period of time I developed a wide variety of 'widgets' that I either uploaded to their user site or made available through my own website. During this time I developed a complete interactive CD-ROM for an educational company based in St Andrews (Scotland); my employer bought me the Runtime Revolution 1.1.1 manuals. In working on this CD-ROM I developed various bits-and-bobs that I spun off as 'widgets' made freely available via the internet. This culminated in my designing a complex extended toolbar for Runtime Revolution 2. At no time did I ask for any money for these contributions, and never tried to exercise any copyright control. This was based on the fact that Runtime Revolution was available as a free download that could be used in a relatively unrestricted way without having to pay for it. When Runtime Revolution released version 2.0.3 the company suddenly removed that freedom and beyond a 30 day 'trial license' expected payment. I felt betrayed and said so, forcefully; for which I was slammed, forcefully. I subsequently stopped making widgets I developed available via my website. I expect there are a large number of people who felt sad about the end of a free version of Runtime Revolution ? although nobody else went so far as to state that. What Runtime Revolution has done has ensured that their product will only be used by commercial developers (i.e. those who can pay), and stifled a whole section of the programming community who would otherwise have contributed to the growth of the product. For my masters thesis I used Runtime Revolution 2.0.1 ? the last free version. None of the free versions are available for download any more. John Richmond Mathewson. 27 April 2005 --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From docmann at gmail.com Wed Apr 27 06:30:47 2005 From: docmann at gmail.com (docmann) Date: Wed, 27 Apr 2005 05:30:47 -0500 Subject: Rev.101 Revisited... Background groups Message-ID: <9d58de7d0504270330704ab25@mail.gmail.com> Hello folks, I'm getting ready to rewrite (expand) my existing application using a new tabbed interface and another design question comes to mind before getting too serious about it. When using a selection of controls as a grouped background on a tabbed interface, do the controls retain (inherit) all of the same properties for existing scripts? More importantly in this case, can the script of a background group be changed on each individual card, without having the same effect on *all* cards? Basically, I need the same control interface (UI) for each of my tabs, but with different scripting actions for each card. Thanks, -Doc- From ps1 at softseven.org Wed Apr 27 08:50:46 2005 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 27 Apr 2005 07:50:46 -0500 Subject: cut & paste error Message-ID: <6.1.1.1.2.20050427074818.02d812c0@softseven.org> Dear Rev Programmer This may be already discussed, but if so I missed it, so please help. when I copy text and try to paste into a text field in a program it will not paste, I can copy using on tabKey select text of the target -- for good ergonomics -- you might prefer to put this handler in the card script: -- on tabKey -- select text of fld "MyField" -- end tabKey end tabKey Thos is the code I found from Rev help for paste. paste if the clipboard is "text" then paste is it correct? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From eric.chatonet at sosmartsoftware.com Wed Apr 27 09:03:58 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 27 Apr 2005 15:03:58 +0200 Subject: cut & paste error In-Reply-To: <6.1.1.1.2.20050427074818.02d812c0@softseven.org> References: <6.1.1.1.2.20050427074818.02d812c0@softseven.org> Message-ID: <5c83d9749b14121d6b02ee59ac1f44c6@sosmartsoftware.com> Hi Paul, By pressing the tab key with your handler, you only select the text but you don't copy it. So there is nothing to paste :-) on tabKey select text of the target copy end tabKey Best regards, Le 27 avr. 05, ? 14:50, Paul Salyers a ?crit : > when I copy text and try to paste into a text field in a program it > will not paste, I can copy using > > on tabKey > select text of the target > -- for good ergonomics > -- you might prefer to put this handler in the card script: > -- on tabKey > -- select text of fld "MyField" > -- end tabKey > end tabKey Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ps1 at softseven.org Wed Apr 27 09:08:16 2005 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 27 Apr 2005 08:08:16 -0500 Subject: cut & paste error In-Reply-To: <5c83d9749b14121d6b02ee59ac1f44c6@sosmartsoftware.com> References: <6.1.1.1.2.20050427074818.02d812c0@softseven.org> <5c83d9749b14121d6b02ee59ac1f44c6@sosmartsoftware.com> Message-ID: <6.1.1.1.2.20050427080413.0308e0d0@softseven.org> At 08:03 AM 4/27/2005, you wrote: >Hi Paul, > >By pressing the tab key with your handler, you only select the text but >you don't copy it. >So there is nothing to paste :-) > >on tabKey > select text of the target > copy >end tabKey > >Best regards, After you press tab it is selected true! then you press (ctrl +C) to copy onto the clip board. then press (ctrl +V) to paste but it will not paste. I didn't think I would have to go through the step by step detail instructions with a programmers Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From fde101 at fjrhome.net Wed Apr 27 09:28:03 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 27 Apr 2005 09:28:03 -0400 Subject: OT: text editors? (was Re: click-words) In-Reply-To: <5421b0c64bcb70cb93018f1e599246a8@sosmartsoftware.com> References: <006001c54ab2$94ea8a00$0b01a8c0@niconiko04zbtb> <5421b0c64bcb70cb93018f1e599246a8@sosmartsoftware.com> Message-ID: <685b6f47f45915bd4a2f07d0d5114893@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Off-Topic On Apr 27, 2005, at 4:02 AM, Eric Chatonet wrote: > PS. What OT means? - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCb5Nj7aqtWrR9cZoRAkbxAJ9CakIbDNRtEHj2vMee3CRIMramBgCfVUUd YgSD1WXM/DBxxx2aNvI13/E= =oq2I -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From bnz2 at cdc.gov Wed Apr 27 09:32:24 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 27 Apr 2005 09:32:24 -0400 Subject: A Philosophical Point Message-ID: <64878EF567131D4596246171F75FD4A97445A3@m-epo-1.epo.cdc.gov> I have a question for you John... For folks using RunRev in a commercial setting - we need the program to be developed further - bug fixes, more extensive utilization of html in fields, better table objects, that sort of thing. Under an open source model, or a freeware model, would the resources be available for the development of RunRev to continue at the necessary pace? I recall that at one point some folks were developing a program called 'Free Card' that was to be an open source Xtalk style program (I believe this is correct, but am not certain on this point). It seems like that project did not blossom (or at least, I have not heard much about it - a quick search on Google did not turn up much). Personally, I would rather pay for the program, and have rapid development of the IDE. My opinion - I think they need a freeware version to lure in new users, but that would not be the same as making it open source or making the full product freeware. You sound as if you have done a good bit of research into freeware and open source business models, so I am genuinely asking for your knowledge on this topic. If they make it free, how would they fund development? Cheers, Jonathan From jbv.silences at Club-Internet.fr Wed Apr 27 09:42:33 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Wed, 27 Apr 2005 15:42:33 +0200 Subject: A Philosophical Point References: <64878EF567131D4596246171F75FD4A97445A3@m-epo-1.epo.cdc.gov> Message-ID: <426F96C7.C1C0FB30@Club-Internet.fr> "Lynch, Jonathan" a *crit : > > If they make it free, how would they fund development? > Paypal donations ? Just kidding, of course... JB From eric.chatonet at sosmartsoftware.com Wed Apr 27 09:43:24 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 27 Apr 2005 15:43:24 +0200 Subject: cut & paste error In-Reply-To: <6.1.1.1.2.20050427080413.0308e0d0@softseven.org> References: <6.1.1.1.2.20050427074818.02d812c0@softseven.org> <5c83d9749b14121d6b02ee59ac1f44c6@sosmartsoftware.com> <6.1.1.1.2.20050427080413.0308e0d0@softseven.org> Message-ID: Le 27 avr. 05, ? 15:08, Paul Salyers a ?crit : > At 08:03 AM 4/27/2005, you wrote: >> Hi Paul, >> >> By pressing the tab key with your handler, you only select the text >> but you don't copy it. >> So there is nothing to paste :-) >> >> on tabKey >> select text of the target >> copy >> end tabKey > > After you press tab it is selected true! > then you press (ctrl +C) to copy onto the clip board. > then press (ctrl +V) to paste > but it will not paste. It should work. With Windows , the only problems I encountered were when copying from an app (NotePad for instance) and pasting into another one (Rev for instance). Clipboard transfer between applications is not such reliable as it is with Mac OS. If your problem is strictly within Rev, make tests: using the menu items, using the shortcuts, testing in another new stack, restarting Rev and so on. Be logical and you will find if it is an IDE problem, a specific stack problem or something else :-) > I didn't think I would have to go through the step by step detail > instructions with a programmers The more difficult for us to help beginners is that they think things are patently obvious ;-) Best regards, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bill at bluewatermaritime.com Wed Apr 27 10:00:27 2005 From: bill at bluewatermaritime.com (Bill) Date: Wed, 27 Apr 2005 10:00:27 -0400 Subject: A Philosophical Point In-Reply-To: Message-ID: I have always admired the public domain software community. I think the stuff on source forge is excellent and everybody knows the story of Apache and how even IBM's engineers came to use it. But everyone of those projects released under the GNU license that have gotten really successful spun off some kind of money-making business. Look at Red Hat Linux. But there are still people working with Linux and add-ons for it and programs for it that are released under GNU even though Red Hat is making money. The same thing is true for Apache. It is public domain but there are plenty of servers with an Apache core that are sold and making everyone's software experience richer. Please don't feel betrayed because RunRev has to make a living. I hope instead that you will keep making some incredible additions to RunRev that we can all enjoy released to the public domain but also use the reputation you gain from the release of that software to make some money yourself also programming with RunRev. I think it will help if you look at incredible software as an enriching empowerment experience for the people that get to use it and to realize that for most people whether it is free or cost less than $200 makes very little difference. On 4/26/05 5:05 PM, "Mathewson" wrote: > I recently completed a Master's thesis at the University of > Abertay, Dundee. > It was mainly concerned with designing a new Graphic User > Interface for computers (and may be read, in its entirety, > on my website at http://members.maclaunch.com/richmond), > and had at its heart a prototype developed using a version > of Runtime Revolution. The reason I chose to use Runtime > Revolution was based largely on the fact that I have 12 > years of experience using what has come to be called > 'xTalk' but when I started was called 'HyperTalk'. > > While I believe that Runtime Revolution produce an > extremely good programming interface that uses a dialect of > 'xTalk' I have a major philosophical disagreement with > them, of which many people who work with Runtime Revolution > are aware, but may not realise the reasons for. > > On Friday 22 April I went to Sofia to the Webtech > conference and listened to Richard Stallman for close on > two hours. Dr Stallman's message was clear (and is well > known in programming circles), and for the first time I > heard somebody else say things that echoed, to a large > extent, my own ideas. > > About 4 years ago I downloaded Runtime Revolution 1 and > started to play with it; over a period of time I developed > a wide variety of 'widgets' that I either uploaded to their > user site or made available through my own website. > > During this time I developed a complete interactive CD-ROM > for an educational company based in St Andrews (Scotland); > my employer bought me the Runtime Revolution 1.1.1 manuals. > In working on this CD-ROM I developed various bits-and-bobs > that I spun off as 'widgets' made freely available via the > internet. > > This culminated in my designing a complex extended toolbar > for Runtime Revolution 2. At no time did I ask for any > money for these contributions, and never tried to exercise > any copyright control. This was based on the fact that > Runtime Revolution was available as a free download that > could be used in a relatively unrestricted way without > having to pay for it. When Runtime Revolution released > version 2.0.3 the company suddenly removed that freedom and > beyond a 30 day 'trial license' expected payment. I felt > betrayed and said so, forcefully; for which I was slammed, > forcefully. I subsequently stopped making widgets I > developed available via my website. > > I expect there are a large number of people who felt sad > about the end of a free version of Runtime Revolution ? > although nobody else went so far as to state that. > > What Runtime Revolution has done has ensured that their > product will only be used by commercial developers (i.e. > those who can pay), and stifled a whole section of the > programming community who would otherwise have contributed > to the growth of the product. > > For my masters thesis I used Runtime Revolution 2.0.1 ? the > last free version. None of the free versions are available > for download any more. > > John Richmond Mathewson. 27 April 2005 > --------------------------------------------------------------- > The Think Different Store > http://www.thinkdifferentstore.com/ > For All Your Mac Gear > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From 3mcgrath at adelphia.net Wed Apr 27 10:03:30 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 10:03:30 -0400 Subject: A Philosophical Point In-Reply-To: References: Message-ID: <203dd8547fcc84f54db5f68a8d92734b@adelphia.net> John Richmond, I read your thesis, and it was very interesting. It seemed that you thought through it well. I do have a question about one of your presuppositions. You state a good argument for a very linear approach using an interface that takes a user step by step to a final conclusion (a finished application). My question is what happens when a user decides 12 steps later that they don't like a decision they made 12 steps back? or What happens if they are not sure how far back the error in their decision making was? It seems that to back out of that would be simple enough, but if there were dozens or hundreds of steps involved I think that a cognitive overload would then occur. I have studied the decision making steps that users make while doing day to day work on their computers. Maybe if you had another set of question/answer steps to solve changes or mistakes on the users part that that could possibly work. But if that is the case then I would tend to have an argument against this concept being able to replace an entire WIMP/GUI for generalized use. I do think in a highly specialized/restricted environment that this approach would be a viable alternative. But in a generalized/expanded environment the sheer number of options/choices/questions/answers would still result in a cognitive overload as is found in today's modern GUIs. I therefore think that to a certain point this would be a good approach but that, after that a point of complexity is reached and you would possibly find yourself back at the initial problem. My critique is offered humbly and with out malice. I have also been facing this issue with alternative interface development for the past eight years. I am author of 512 patent claims resulting in new approaches for GUI interaction and I am part owner of a company taking this new approach to the Cell Phone, Smart Phone and PDA environments. We are still in initial startup and I can't share too much more just yet because of copyright issues. Sorry. But I can say that with just 18 buttons I can control every single command/function currently on any phone or PDA. But the complexity involved in changing the way people think in order to understand our system is much harder then just going with the already accepted approaches and I can understand why people/companies "stick to what doesn't work!" Thank you for the opportunity to read your thesis and I hope it is received well. Yours truly, Tom McGrath On Apr 26, 2005, at 5:05 PM, Mathewson wrote: > I recently completed a Master's thesis at the University of > Abertay, Dundee. > It was mainly concerned with designing a new Graphic User > Interface for computers (and may be read, in its entirety, > on my website at http://members.maclaunch.com/richmond), > and had at its heart a prototype developed using a version > of Runtime Revolution. John Richmond Mathewson. 27 April 2005 > --------------------------------------------------------------- > The Think Different Store > http://www.thinkdifferentstore.com/ > For All Your Mac Gear > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From devin_asay at byu.edu Wed Apr 27 10:07:05 2005 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 27 Apr 2005 08:07:05 -0600 Subject: Environment for CGI? Message-ID: <3c84902563d7b7b68b9d1e841026029c@byu.edu> Can anyone tell me what the environment function returns when rev is being run as a CGI? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From Roger.E.Eller at sealedair.com Wed Apr 27 10:12:15 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 27 Apr 2005 10:12:15 -0400 Subject: A Philosophical Point Message-ID: > If they make it free, how would they fund development? I don't think that Richmonds point was that Revolution should be opensource or freeware, but that removal of the free "limited version" has turned away many potential future programmers. Not everyone has even a mere $99 for which to experiment and learn using DreamCard. And 30 days just isn't enough if you are a student with no money. Many hobbyists that used the "limited" version AS HOBBYISTS for a year or so, eventually became professional paying customers. What did it hurt to allow free 10-line scripts to be created for free? Did it really take away that much of RunTimes revenue? Just remember that every kid, or every student that could have had a pleasant learning experience with the free "limited" version will eventually grow up and be a potential customer. Wouldn't you want "Revolution" to be the name that comes to mind when they are in a position to choose their tools of the trade. Without that availability, I believe that Richmond is correct. The potential customer base is greatly reduced to only the current generation of professional adults. Roger Eller From bnz2 at cdc.gov Wed Apr 27 10:23:26 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 27 Apr 2005 10:23:26 -0400 Subject: A Philosophical Point Message-ID: <64878EF567131D4596246171F75FD4A97445A5@m-epo-1.epo.cdc.gov> Yah - I agree with that. A limited freeware version seems like a good idea. There are a number of ways it could work - limiting script size, limiting the range of available functions, limiting stack size or number of cards. I bet a knowledgable Rev programmer could create a self limiting version of RunRev just with the creative use of user rights and locked front end and back end scripts that contain scripts for limiting various aspects of the program. If someone did that, and they were able to get permission for RunRev to distribute it, they could potentially attract quite a few future customers for RunRev, and quite a few customers for their own custom programming business. Just speculation, of course. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Roger.E.Eller at sealedair.com Sent: Wednesday, April 27, 2005 10:12 AM To: How to use Revolution Subject: RE: A Philosophical Point > If they make it free, how would they fund development? I don't think that Richmonds point was that Revolution should be opensource or freeware, but that removal of the free "limited version" has turned away many potential future programmers. Not everyone has even a mere $99 for which to experiment and learn using DreamCard. And 30 days just isn't enough if you are a student with no money. Many hobbyists that used the "limited" version AS HOBBYISTS for a year or so, eventually became professional paying customers. What did it hurt to allow free 10-line scripts to be created for free? Did it really take away that much of RunTimes revenue? Just remember that every kid, or every student that could have had a pleasant learning experience with the free "limited" version will eventually grow up and be a potential customer. Wouldn't you want "Revolution" to be the name that comes to mind when they are in a position to choose their tools of the trade. Without that availability, I believe that Richmond is correct. The potential customer base is greatly reduced to only the current generation of professional adults. Roger Eller _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Wed Apr 27 10:31:39 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 27 Apr 2005 07:31:39 -0700 Subject: OT: text editors? (was Re: click-words) In-Reply-To: <5421b0c64bcb70cb93018f1e599246a8@sosmartsoftware.com> References: <006001c54ab2$94ea8a00$0b01a8c0@niconiko04zbtb> <5421b0c64bcb70cb93018f1e599246a8@sosmartsoftware.com> Message-ID: I tried linked text Eric and it worked, but it was ugly visually, - and I don't like the look of underline links that are not on a web page either. It takes a bit of scripting to turn off linkcolor and hilitecolor, and manage the hilites and it didn't seem as elegant. And when one is using underscores instead of spaces, you get a double line there... ugly... These are for sorting in a faked table header (that scrolls). Anyway, clicktext works fine, and I convert the non-breaking spaces back to underscores. Thanks Eric. At 10:02 AM +0200 4/27/05, Eric Chatonet wrote: >Hi Nicolas and Stephen, > >Non breaking spaces are a solution for linking multiple words items, >but in my mind, it is an unnecessary workaround. >Rev provides all you need in this case without wrecking your text: >Take advantage of Rev hypertext abilities by setting the style of >multiple words items to link but without showing the link style >(underlineLinks stack property = false). > >PS. What OT means? > OT= Off Topic From lynn at paradigmasoft.com Wed Apr 27 10:36:31 2005 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Wed, 27 Apr 2005 07:36:31 -0700 Subject: A Philosophical Point In-Reply-To: Message-ID: <1097509899-25310061@lindbergh.macserve.net> > > If they make it free, how would they fund development? > > I don't think that Richmonds point was that Revolution should > be opensource or freeware, but that removal of the free > "limited version" has turned away many potential future > programmers. Not everyone has even a mere $99 for which to > experiment and learn using DreamCard. But their target customer does have $99. I can tell you from experience that offering a free version does not necessarily equate to a large paying customer base later. Within the group that opts to take you up on the free version, there are many who abandon at various stages, and then there are those who like it but there is some disqualifier for them to become paying customers (no money, not enough time, work makes them use product X, etc). Runtime ran several free offers through various UK magazines wherein you could pick up Revolution for free (abeit an older version). If that didn't yield gold then they rightfully may expect that offering a free version (especially one without some sort of call to action) would provide very little. Best regards, Lynn Fredricks President Paradigma Software, Inc From eric.chatonet at sosmartsoftware.com Wed Apr 27 10:44:36 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 27 Apr 2005 16:44:36 +0200 Subject: OT: text editors? (was Re: click-words) In-Reply-To: References: <006001c54ab2$94ea8a00$0b01a8c0@niconiko04zbtb> <5421b0c64bcb70cb93018f1e599246a8@sosmartsoftware.com> Message-ID: <64be478d0aaa21e79b3a6653b45c4d58@sosmartsoftware.com> Hi Stephen, Le 27 avr. 05, ? 16:31, Stephen Barncard a ?crit : > I tried linked text Eric and it worked, but it was ugly visually, - > and I don't like the look of underline links that are not on a web > page either. It takes a bit of scripting to turn off linkcolor and > hilitecolor, and manage the hilites and it didn't seem as elegant. And > when one is using underscores instead of spaces, you get a double line > there... ugly... Why complicate matters? Just type in the message box: set the underlinesLinks of this stack to false Link style appearance (colors, underlines and so on) will disappear but all the related features will remain unchanged. > These are for sorting in a faked table header (that scrolls). > Anyway, clicktext works fine, and I convert the non-breaking spaces > back to underscores. Best regards, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rcozens at pon.net Wed Apr 27 10:46:30 2005 From: rcozens at pon.net (Rob Cozens) Date: Wed, 27 Apr 2005 07:46:30 -0700 Subject: Making Revolution faster with really big arrays Message-ID: Hi Dennis, Here's an approach that uses keyed arrays. Run time on an old iMac with 320 MB RAM and a 400 Mhz clock is 7.2 seconds. on mouseUp global gTestArrayX,gTestArrayY if gTestArray is empty then repeat with i = 1 to 1000 repeat with j = 1 to 1000 put j into gTestArrayX[x,y] end repeat end repeat put gTestArrayX into gTestArrayY end if put the long seconds into startTime Method5 get the long seconds answer "Elapsed time ="&&(it-startTime)&&"seconds." end mouseUp on Method5 -- Add lines using keyed arrays global gTestArrayX,gTestArrayY put 0 into theTotal repeat with i = 1 to 1000 repeat with j = 1 to 1000 add gTestArrayX[x,y]to theTotal add gTestArrayY[x,y]to theTotal end repeat end repeat put theTotal&&"Keyed Method" end Method5 -- Rob Cozens, Staff Conservator Mendonoma Marine Life Conservancy P.O. Box 217 Manchester, CA 95459-0217 (707) 895-2584 "Promoting a healthy and bountiful offshore environment." From see3d at writeme.com Wed Apr 27 11:49:20 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 27 Apr 2005 11:49:20 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: Message-ID: <551da6581f8bb04c293d456957409b1f@writeme.com> Sorry to disappoint Rob, Make your script actually do some work and it runs a lot slower. I added the following two handlers to my menu button and the results were: 23 seconds to init the array and 20 sec to process (on a 1.8GHz G5). I have to add the array initialization time to your example because the arrays in my example are initially read from a .csv disk file, and must be converted into a keyed array first. I don't think you can beat the repeat for each, but I would certainly like to see it if you could. Dennis on init5 put empty into gTestArrayX2 put empty into gTestArrayY2 repeat with i = 1 to 1000 repeat with j = 1 to 1000 put j into gTestArrayX2[i,j] put j into gTestArrayY2[i,j] end repeat end repeat put "Init5:" end init5 on Method5 -- Add lines using keyed arrays put 0 into total repeat with i = 1 to 1000 repeat with j = 1 to 1000 add gTestArrayX2[i,j]+gTestArrayY2[i,j] to total end repeat end repeat put total&&"Keyed (Method5): " end Method5 On Apr 27, 2005, at 10:46 AM, Rob Cozens wrote: > on mouseUp > global gTestArrayX,gTestArrayY > if gTestArray is empty then > repeat with i = 1 to 1000 > repeat with j = 1 to 1000 > put j into gTestArrayX[x,y] > end repeat > end repeat > put gTestArrayX into gTestArrayY > end if > put the long seconds into startTime > Method5 > get the long seconds > answer "Elapsed time ="&&(it-startTime)&&"seconds." > end mouseUp > > on Method5 -- Add lines using keyed arrays > global gTestArrayX,gTestArrayY > put 0 into theTotal > repeat with i = 1 to 1000 > repeat with j = 1 to 1000 > add gTestArrayX[x,y]to theTotal > add gTestArrayY[x,y]to theTotal > end repeat > end repeat > put theTotal&&"Keyed Method" > end Method5 From rcozens at pon.net Wed Apr 27 11:57:12 2005 From: rcozens at pon.net (Rob Cozens) Date: Wed, 27 Apr 2005 08:57:12 -0700 Subject: Making Revolution faster with really big arrays In-Reply-To: <551da6581f8bb04c293d456957409b1f@writeme.com> References: <551da6581f8bb04c293d456957409b1f@writeme.com> Message-ID: <6.2.1.2.1.20050427085152.01e60880@pop3.pon.net> Dennis,et al: >I don't think you can beat the repeat for each, but I would certainly like >to see it if you could. I don't think repeat for each will be beaten, either. I wws mainly interested in how keyed access stacked up against the other options you tried. Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From 3mcgrath at adelphia.net Wed Apr 27 12:02:16 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 12:02:16 -0400 Subject: Bypass Repeat Structure in Debug Mode Message-ID: Hello my friends, Does anyone know how to bypass a lengthy repeat structure while in script debug mode? I still need the repeat to execute but I want to skip having to click through it. I need to follow the script to find out where my problem is at but this repeat for each line x structure takes a couple hundred clicks to get through. Thanks in advance, Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From see3d at writeme.com Wed Apr 27 12:07:57 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 27 Apr 2005 12:07:57 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> Message-ID: <034a2609c7d66955996ed4804e092ce4@writeme.com> Stephen, The math I want to do is not regular --as in the simple example, but very algorithmic on a item by item basis. The overhead of passing the data to and from MySQL will kill the speed unless it can do all the algorithms internally. Previous attempts have shown this. Dennis On Apr 26, 2005, at 9:06 PM, Stephen Barncard wrote: > MySQL can do math on columns like you want. Very Fast. No loops in > transcript. > Check out the GROUP BY (Aggregate) Functions. > > http://dev.mysql.com/doc/mysql/en/group-by-functions.html > > > > At 8:06 PM -0400 4/26/05, Dennis Brown wrote: >> >> >> Can anyone think of another way to do this that would be faster (for >> accessing parallel arrays, not the trivial adding them together >> operation I am doing here). Of course the times are for my machine >> and will vary on yours, but the > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Wed Apr 27 12:06:43 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 27 Apr 2005 18:06:43 +0200 Subject: Bypass Repeat Structure in Debug Mode In-Reply-To: References: Message-ID: <1b434c9f9c89ecd74b88f89bef829b2a@sosmartsoftware.com> Hi Tom, Just place another breakpoint after the loop and run. For precise debugging a loop, you can add a line like if i = 4578 then breakpoint Best regards, Le 27 avr. 05, ? 18:02, Thomas McGrath III a ?crit : > Does anyone know how to bypass a lengthy repeat structure while in > script debug mode? I still need the repeat to execute but I want to > skip having to click through it. > I need to follow the script to find out where my problem is at but > this repeat for each line x structure takes a couple hundred clicks to > get through. Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From see3d at writeme.com Wed Apr 27 12:10:29 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 27 Apr 2005 12:10:29 -0400 Subject: Bypass Repeat Structure in Debug Mode In-Reply-To: References: Message-ID: Tom, Set new breakpoints in your script and run until it hits it, or add a few lines of debug script that check for certain conditions before executing a line that you can breakpoint on. Dennis On Apr 27, 2005, at 12:02 PM, Thomas McGrath III wrote: > Hello my friends, > > Does anyone know how to bypass a lengthy repeat structure while in > script debug mode? I still need the repeat to execute but I want to > skip having to click through it. > I need to follow the script to find out where my problem is at but > this repeat for each line x structure takes a couple hundred clicks to > get through. > > Thanks in advance, > > Tom > > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Wed Apr 27 12:12:19 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 27 Apr 2005 18:12:19 +0200 Subject: Bypass Repeat Structure in Debug Mode In-Reply-To: Message-ID: <20050427162437.7B8749300FF@mail.runrev.com> Try this Tom try do it catch errid if errid is ok or myresult is not right then next repeat breakpoint end try end repeat cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Thomas McGrath III > Sent: Wednesday, April 27, 2005 18:02 > To: How to use Revolution > Subject: Bypass Repeat Structure in Debug Mode > > Hello my friends, > > Does anyone know how to bypass a lengthy repeat structure > while in script debug mode? I still need the repeat to > execute but I want to skip having to click through it. > I need to follow the script to find out where my problem is > at but this repeat for each line x structure takes a couple > hundred clicks to get through. > > Thanks in advance, > > Tom > > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Wed Apr 27 12:13:17 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 12:13:17 -0400 Subject: errant IDE messages Message-ID: Hello my friends, I have a problem. (we knew that) ;-) I have a piece of code that had it's start from a mouseDown handler (hint - this starts the problem) BUT it seems that while various code is running that when it gets to this part and calls cResetGrayIcons that it takes a break and goes else where. on cResetGrayIcons global gTheBKeys repeat for each line f in gTheBKeys -- Reset -- this makes all 18 gray set the visible of image f to true end repeat end cResetGrayIcons First it starts the repeat structure and after 3 or 4 rounds it then pauses (at least in debug mode it feels like a pause) and then it goes to a mouseEnter code and then it goes to a mouseMove handler and then it comes back to finish the repeat structure. I view this as errant behavior since it is right in the middle of a handler. 1. I don't know if it is starting the repeat again or if it is picking up where it left off? 2. I don't want it to do this since I am tracking a latency in my code and this is suspect? 3. For now I commented out the mouseEnter (I am considering getting rid of it completely) and it now just goes to mouseMove. 4. I need the mouseMove to keep my window moveable/dragable, Is there another way to keep a window moveable? This is my window moveable code: on mouseMove x,y if not the uAllowDrag of this stack then exit mouseMove put 1 into M set topLeft of img 1 to \ M * (- item 1 of the screenMouseLoc + item 1 of the clickLoc),\ M * (- item 2 of the screenMouseLoc + item 2 of the clickLoc) set the topLeft of me to \ left of me + x - item 1 of the clickLoc,top of me + y - item 2 of the clickLoc end mouseMove Thanks in advance, Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From eric.chatonet at sosmartsoftware.com Wed Apr 27 12:16:58 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 27 Apr 2005 18:16:58 +0200 Subject: errant IDE messages In-Reply-To: References: Message-ID: Hi Tom, You could try to lock the messages? Le 27 avr. 05, ? 18:13, Thomas McGrath III a ?crit : > I have a piece of code that had it's start from a mouseDown handler > (hint - this starts the problem) BUT it seems that while various code > is running that when it gets to this part and calls cResetGrayIcons > that it takes a break and goes else where. > > on cResetGrayIcons > global gTheBKeys > repeat for each line f in gTheBKeys -- Reset -- this makes all 18 > gray > set the visible of image f to true > end repeat > end cResetGrayIcons > > First it starts the repeat structure and after 3 or 4 rounds it then > pauses (at least in debug mode it feels like a pause) and then it goes > to a mouseEnter code and then it goes to a mouseMove handler and then > it comes back to finish the repeat structure. I view this as errant > behavior since it is right in the middle of a handler. > > 1. I don't know if it is starting the repeat again or if it is picking > up where it left off? > 2. I don't want it to do this since I am tracking a latency in my code > and this is suspect? > 3. For now I commented out the mouseEnter (I am considering getting > rid of it completely) and it now just goes to mouseMove. > 4. I need the mouseMove to keep my window moveable/dragable, Is there > another way to keep a window moveable? > > This is my window moveable code: > on mouseMove x,y > if not the uAllowDrag of this stack then exit mouseMove > put 1 into M > set topLeft of img 1 to \ > M * (- item 1 of the screenMouseLoc + item 1 of the clickLoc),\ > M * (- item 2 of the screenMouseLoc + item 2 of the clickLoc) > set the topLeft of me to \ > left of me + x - item 1 of the clickLoc,top of me + y - item 2 > of the clickLoc > end mouseMove Best regards, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revdan at danshafer.com Wed Apr 27 12:20:26 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 27 Apr 2005 09:20:26 -0700 Subject: Rev.101 Revisited... Background groups In-Reply-To: <9d58de7d0504270330704ab25@mail.gmail.com> References: <9d58de7d0504270330704ab25@mail.gmail.com> Message-ID: Off-hand, one *possible* way of doing this (if I'm understanding correctly what you want, which is no guarantee) would be to: 1. Use a group with background behavior for the controls. 2. Have each control call a function or handler with the same name on all tabs. 3. Put the *scripts* for those handlers at the card level rather than the background level. Pressing a button in the group might, e.g., send the message "iGotClicked" in all cases (because you cannot have different scripts for the objects in a single group without doing a lot of conditional processing as far as I can come up with off the top of my head). But on one card, the iGotClicked handler does one thing and on another card, the handler of the same name does something completely different. Make sense? Maybe someone more awake than I am can offer a cleaner solution. On Apr 27, 2005, at 3:30 AM, docmann wrote: > > Basically, I need the same control interface (UI) for each of my tabs, > but with different scripting actions for each card. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Wed Apr 27 12:23:39 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 27 Apr 2005 09:23:39 -0700 Subject: Bypass Repeat Structure in Debug Mode In-Reply-To: References: Message-ID: <6476e7a48ec47fab28e3c53825d19115@danshafer.com> Tom..... Can't you use "Step Over" instead of "Step Into" in those cases? Not tested, but it does seem like that's what ought to happen. Alternatively, you could put in two breakpoints, one before and one after the loop. After the first breakpoint executes, hit "Run" in the debugger and things should stop at the next breakpoint, no? On Apr 27, 2005, at 9:02 AM, Thomas McGrath III wrote: > Does anyone know how to bypass a lengthy repeat structure while in > script debug mode? I still need the repeat to execute but I want to > skip having to click through it. > I need to follow the script to find out where my problem is at but > this repeat for each line x structure takes a couple hundred clicks to > get through. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From b.xavier at internet.lu Wed Apr 27 12:25:36 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 27 Apr 2005 18:25:36 +0200 Subject: errant IDE messages In-Reply-To: Message-ID: <20050427163749.F30099300E5@mail.runrev.com> > Hello my friends, > > I have a problem. (we knew that) ;-) very funny! ;) > I have a piece of code that had it's start from a mouseDown > handler (hint - this starts the problem) BUT it seems that > while various code is running that when it gets to this part > and calls cResetGrayIcons that it takes a break and goes else where. Where are your scripts located BTW? a card or stack with a mouseenter handler will trigger anytime you enter a control... Im thinking this is possible cause... > on cResetGrayIcons > global gTheBKeys > repeat for each line f in gTheBKeys -- Reset -- this makes > all 18 gray -- always check!!! if there is an image f then... > set the visible of image f to true > end repeat > end cResetGrayIcons > > First it starts the repeat structure and after 3 or 4 rounds > it then pauses (at least in debug mode it feels like a pause) > and then it goes to a mouseEnter code and then it goes to a > mouseMove handler and then it comes back to finish the repeat > structure. I view this as errant behavior since it is right > in the middle of a handler. Does this happen when not in debug mode? > 1. I don't know if it is starting the repeat again or if it > is picking up where it left off? > 2. I don't want it to do this since I am tracking a latency > in my code and this is suspect? > 3. For now I commented out the mouseEnter (I am considering > getting rid of it completely) and it now just goes to mouseMove. > 4. I need the mouseMove to keep my window moveable/dragable, > Is there another way to keep a window moveable? yes... But not with mousemove... With mousedown on mousedown repeat while the mouse is down set the loc of my window to the mouseloc -- "see also" the mouseh, mousev, etc... -- this code is the base and not exactly smooth... end repeat you can make it a lot nicer like HotKeyN2O http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=74 or BreakpointsN2O http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=77 The last one is described on the front page of monsieurx.com. hope that helps Xavier From jperryl at ecs.fullerton.edu Wed Apr 27 13:54:38 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 27 Apr 2005 10:54:38 -0700 (PDT) Subject: A Philosophical Point In-Reply-To: Message-ID: John, What would you propose that the good folks at the company use to pay their electrical bills with? Water? Rent? Food? I don't know about you, but my creditors want actual money. It's great that you are willing to work for nothing. I do alot of free work, too, but at the end of the day the only reason why this is possible is that I have a nominally-paying job and a spouse who has a decent-paying job. By all means, keep working in 2.0.x or whatever the last "free" version was. Just keep in mind, however, that THAT version was made possible by the folks like me who paid for version 1 & 2.0... Judy From 3mcgrath at adelphia.net Wed Apr 27 14:11:18 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 14:11:18 -0400 Subject: Bypass Repeat Structure in Debug Mode In-Reply-To: <6476e7a48ec47fab28e3c53825d19115@danshafer.com> References: <6476e7a48ec47fab28e3c53825d19115@danshafer.com> Message-ID: <24cbb840b657fd13933173861c47d263@adelphia.net> Thanks Dan, Xav, Dennis and Eric, The "Step Over" did not seem to obey me! ;-) It didn't seem to work and well I thought I misunderstood its use. I ended up using the set multiple break points so I could hit "Run" and bypass that section but still have it run. The one problem is that I am testing a mouseDown over a button and can't release the mouse to go ahead and hit the run button. MouseDown with its limitations is kicking my butt right now. Big Time. I wish that at least one of the messages passed while in a mouseDown would not go back to the original control. If that was the case I would have been done three days ago. Thanks again, Tom On Apr 27, 2005, at 12:23 PM, Dan Shafer wrote: > Tom..... > > Can't you use "Step Over" instead of "Step Into" in those cases? Not > tested, but it does seem like that's what ought to happen. > > Alternatively, you could put in two breakpoints, one before and one > after the loop. After the first breakpoint executes, hit "Run" in the > debugger and things should stop at the next breakpoint, no? > > > On Apr 27, 2005, at 9:02 AM, Thomas McGrath III wrote: > >> Does anyone know how to bypass a lengthy repeat structure while in >> script debug mode? I still need the repeat to execute but I want to >> skip having to click through it. >> I need to follow the script to find out where my problem is at but >> this repeat for each line x structure takes a couple hundred clicks >> to get through. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Wed Apr 27 14:27:43 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 14:27:43 -0400 Subject: errant IDE messages In-Reply-To: <20050427163749.F30099300E5@mail.runrev.com> References: <20050427163749.F30099300E5@mail.runrev.com> Message-ID: <54a9de48e418339275a7949f10651c88@adelphia.net> On Apr 27, 2005, at 12:25 PM, MisterX wrote: > >> I have a piece of code that had it's start from a mouseDown >> handler (hint - this starts the problem) BUT it seems that >> while various code is running that when it gets to this part >> and calls cResetGrayIcons that it takes a break and goes else where. > > Where are your scripts located BTW? > a card or stack with a mouseenter handler will trigger anytime you > enter > a control... Im thinking this is possible cause... They are located at the Card level. But I tested and the mouseenter does not always trigger if a mouseDown is pressed. It is sporadic at best. >> on cResetGrayIcons >> global gTheBKeys >> repeat for each line f in gTheBKeys -- Reset -- this makes >> all 18 gray > > -- always check!!! > if there is an image f then... Thanks for this one... I forgot. I actually stopped reading and went back and corrected all places where I have image/graphic settings. Thanks. >> First it starts the repeat structure and after 3 or 4 rounds >> it then pauses (at least in debug mode it feels like a pause) >> and then it goes to a mouseEnter code and then it goes to a >> mouseMove handler and then it comes back to finish the repeat >> structure. I view this as errant behavior since it is right >> in the middle of a handler. > > Does this happen when not in debug mode? I don't know what was happening when not in debug mode BUT I was experiencing a latency involved with my mouseDown messages. If I hit mouseDown then went to mouseDown again elsewhere, sometimes it would not trigger unless it seemed I would wait first. Or it could have been that I had to click once and then do a mouseDown whereby it would then work. That is what I was trying to track down in Debug Mode. > >> 1. I don't know if it is starting the repeat again or if it >> is picking up where it left off? >> 2. I don't want it to do this since I am tracking a latency >> in my code and this is suspect? >> 3. For now I commented out the mouseEnter (I am considering >> getting rid of it completely) and it now just goes to mouseMove. >> 4. I need the mouseMove to keep my window moveable/dragable, >> Is there another way to keep a window moveable? > > yes... But not with mousemove... With mousedown Oh No, I need what limited mousedown I have now. Damn..... > on mousedown > repeat while the mouse is down > set the loc of my window to the mouseloc > -- "see also" the mouseh, mousev, etc... > -- this code is the base and not exactly smooth... > end repeat > > you can make it a lot nicer like > HotKeyN2O > http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=74 > or > BreakpointsN2O > http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=77 > > The last one is described on the front page of monsieurx.com. > > hope that helps > Xavier Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Wed Apr 27 14:30:16 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 14:30:16 -0400 Subject: I hate mousedown Message-ID: <3aa3b991e2c6a826ce234fb57bbe37d2@adelphia.net> I hate mousedown !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Thomas J McGrath III 3mcgrath at adelphia.net From bnz2 at cdc.gov Wed Apr 27 14:32:56 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 27 Apr 2005 14:32:56 -0400 Subject: I hate mousedown Message-ID: <64878EF567131D4596246171F75FD4A946A18A@m-epo-1.epo.cdc.gov> How do you suppose mousedown feels towards you? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Wednesday, April 27, 2005 2:30 PM To: How to use Revolution Subject: I hate mousedown I hate mousedown !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Thomas J McGrath III 3mcgrath at adelphia.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Wed Apr 27 14:54:34 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 14:54:34 -0400 Subject: I hate mousedown In-Reply-To: <64878EF567131D4596246171F75FD4A946A18A@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A946A18A@m-epo-1.epo.cdc.gov> Message-ID: <64e587e7d61927c2b0f2f79ee0f862dc@adelphia.net> Oh, I know it hates me. I've been abusing it for four days now. t On Apr 27, 2005, at 2:32 PM, Lynch, Jonathan wrote: > How do you suppose mousedown feels towards you? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas > McGrath III > Sent: Wednesday, April 27, 2005 2:30 PM > To: How to use Revolution > Subject: I hate mousedown > > I hate mousedown Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From bnz2 at cdc.gov Wed Apr 27 14:55:34 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 27 Apr 2005 14:55:34 -0400 Subject: I hate mousedown Message-ID: <64878EF567131D4596246171F75FD4A946A18B@m-epo-1.epo.cdc.gov> Is there a particular situation where it is not working? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Wednesday, April 27, 2005 2:55 PM To: How to use Revolution Subject: Re: I hate mousedown Oh, I know it hates me. I've been abusing it for four days now. t On Apr 27, 2005, at 2:32 PM, Lynch, Jonathan wrote: > How do you suppose mousedown feels towards you? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas > McGrath III > Sent: Wednesday, April 27, 2005 2:30 PM > To: How to use Revolution > Subject: I hate mousedown > > I hate mousedown Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Wed Apr 27 15:11:57 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 27 Apr 2005 21:11:57 +0200 Subject: I hate mousedown In-Reply-To: <64878EF567131D4596246171F75FD4A946A18B@m-epo-1.epo.cdc.gov> Message-ID: <20050427192412.7073B9300FF@mail.runrev.com> what's dragging you down? ;) Script courtesy of EditN2O's* card script - ;) (* not available yet). hope it helps... cheers Xav on mousedown get the long name of the target if word 1 of it is in "field,button" and "theme" is not in it then pass mousedown local initrec, mouserec, offrec, oldrec put the loc of this stack into initrec put the mouseloc into mouserec put item 1 of mouserec - item 1 of initrec into offrec put item 2 of mouserec - item 2 of initrec into item 2 of offrec repeat while the mouse is down lock screen --get offset movement add (the mouseH - item 1 of mouserec) to item 1 of initrec add (the mouseV - item 2 of mouserec) to item 2 of initrec if initrec = oldrec then unlock screen next repeat end if -- if the right border beyond the screenwidth then set the loc of this stack to initrec put initrec into oldrec unlock screen end repeat pass mousedown end mousedown > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Wednesday, April 27, 2005 20:56 > To: How to use Revolution > Subject: RE: I hate mousedown > > Is there a particular situation where it is not working? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Thomas McGrath III > Sent: Wednesday, April 27, 2005 2:55 PM > To: How to use Revolution > Subject: Re: I hate mousedown > > Oh, I know it hates me. I've been abusing it for four days now. > > t > > On Apr 27, 2005, at 2:32 PM, Lynch, Jonathan wrote: > > > How do you suppose mousedown feels towards you? > > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf > Of Thomas > > McGrath III > > Sent: Wednesday, April 27, 2005 2:30 PM > > To: How to use Revolution > > Subject: I hate mousedown > > > > I hate mousedown > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Wed Apr 27 15:48:17 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 15:48:17 -0400 Subject: I hate mousedown In-Reply-To: <64878EF567131D4596246171F75FD4A946A18B@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A946A18B@m-epo-1.epo.cdc.gov> Message-ID: <2ff42aefd8f15e27184a9d50e8ae8af0@adelphia.net> Jonathan, I have a palette of 18 buttons that I want to act upon once a mouse down has been pressed. SO if I press the mouseDown I want to move from btn to btn and see a label for that btn and do some other things. But any messages are sent back to the original control that received the mouseDown including the mouseUp, mousewithin, mouseenter, mouseleave, mousestilldown etc. Even the mousemove gets sent. I had to use a mouseDown with a call to another message and do a 'send in'. Then I had to do a 'if the mouse is up' and a 'if the mouse is down' in order to do what I need. But now it only works sporadically. I just need a Down message that works when the mouse is down and KNOWS what btn it is over. I used this script from Eric: on mouseDown global theKeys, thecheck if the short name of the target is among the lines of theKeys then -- if "button" is in the target then CheckOtherButtons -- ? end if end mouseDown --------------------------------------- on CheckOtherButtons global theKeys, thecheck if the mouse is up then set the hilite of btn thecheck to false revspeak "mouse up" && thecheck put "" into thecheck exit CheckOtherButtons end if if thecheck is not empty then set the hilite of btn thecheck to false end if repeat for each line i in theKeys --with i = 1 to the number of btns if the mouseLoc is within the rect of btn i then set the hilite of btn i to true put i into thecheck cPreviewKey i end if end repeat send "CheckOtherButtons" to me in 5 milliseconds -- 50 end CheckOtherButtons On Apr 27, 2005, at 2:55 PM, Lynch, Jonathan wrote: > Is there a particular situation where it is not working? Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From bnz2 at cdc.gov Wed Apr 27 15:58:45 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 27 Apr 2005 15:58:45 -0400 Subject: I hate mousedown Message-ID: <64878EF567131D4596246171F75FD4A97445A6@m-epo-1.epo.cdc.gov> >SO if I press the mouseDown I want to move from >btn to btn and see a label for that btn and do some other things. I believe you can accomplish this with setting the dragdata on mousedown, and using dragenter after that: On MouseDown Set the dragdata to "Yo Mama" End mousedown In the group, card, or stack script: On DragEnter If the dragdata = "Yo Mama" then Set the label of the target to "Greetings" End if End dragenter I will play with this approach in a stack, and see if it works. A dragenter message is only sent of the dragdata is not empty. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Wednesday, April 27, 2005 3:48 PM To: How to use Revolution Subject: Re: I hate mousedown Jonathan, I have a palette of 18 buttons that I want to act upon once a mouse down has been pressed. SO if I press the mouseDown I want to move from btn to btn and see a label for that btn and do some other things. But any messages are sent back to the original control that received the mouseDown including the mouseUp, mousewithin, mouseenter, mouseleave, mousestilldown etc. Even the mousemove gets sent. I had to use a mouseDown with a call to another message and do a 'send in'. Then I had to do a 'if the mouse is up' and a 'if the mouse is down' in order to do what I need. But now it only works sporadically. I just need a Down message that works when the mouse is down and KNOWS what btn it is over. I used this script from Eric: on mouseDown global theKeys, thecheck if the short name of the target is among the lines of theKeys then -- if "button" is in the target then CheckOtherButtons -- ? end if end mouseDown --------------------------------------- on CheckOtherButtons global theKeys, thecheck if the mouse is up then set the hilite of btn thecheck to false revspeak "mouse up" && thecheck put "" into thecheck exit CheckOtherButtons end if if thecheck is not empty then set the hilite of btn thecheck to false end if repeat for each line i in theKeys --with i = 1 to the number of btns if the mouseLoc is within the rect of btn i then set the hilite of btn i to true put i into thecheck cPreviewKey i end if end repeat send "CheckOtherButtons" to me in 5 milliseconds -- 50 end CheckOtherButtons On Apr 27, 2005, at 2:55 PM, Lynch, Jonathan wrote: > Is there a particular situation where it is not working? Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Wed Apr 27 16:39:57 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 27 Apr 2005 16:39:57 -0400 Subject: I hate mousedown Message-ID: <64878EF567131D4596246171F75FD4A97445A7@m-epo-1.epo.cdc.gov> Ok - I got it to work, but it is a little tricky. These scripts go in the buttons: On mousedown Set the dragdata to "yo mama" End mousedown On dragenter Set the acceptdrop to true Pass dragenter End dragenter These scripts go in the stack: on dragenter if the dragdata = "yo mama" then set the label of the target to "over" end if end dragenter on dragleave if word 1 of the name of the target = "button" then set the label of the target to "not over" end if end dragleave on dragdrop dragleave set the dragdata to empty end dragdrop You may have to play with it a bit, depending on what you want the labels to say, and which cursor you want to use at various steps along the way. It should all be quite doable though. Good luck, Jonathan From jacque at hyperactivesw.com Wed Apr 27 16:58:09 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Apr 2005 15:58:09 -0500 Subject: A Philosophical Point In-Reply-To: References: Message-ID: <426FFCE1.408@hyperactivesw.com> On 4/26/05 4:05 PM, Mathewson wrote: > What Runtime Revolution has done has ensured that their > product will only be used by commercial developers (i.e. > those who can pay), and stifled a whole section of the > programming community who would otherwise have contributed > to the growth of the product. The flaw in this logic is that a free version was tried and it did not contribute to the growth of the product. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Apr 27 17:06:06 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Apr 2005 16:06:06 -0500 Subject: cut & paste error In-Reply-To: <6.1.1.1.2.20050427080413.0308e0d0@softseven.org> References: <6.1.1.1.2.20050427074818.02d812c0@softseven.org> <5c83d9749b14121d6b02ee59ac1f44c6@sosmartsoftware.com> <6.1.1.1.2.20050427080413.0308e0d0@softseven.org> Message-ID: <426FFEBE.6050201@hyperactivesw.com> On 4/27/05 8:08 AM, Paul Salyers wrote: > At 08:03 AM 4/27/2005, you wrote: > >> Hi Paul, >> >> By pressing the tab key with your handler, you only select the text >> but you don't copy it. >> So there is nothing to paste :-) >> >> on tabKey >> select text of the target >> copy >> end tabKey >> >> Best regards, > > > After you press tab it is selected true! > > then you press (ctrl +C) to copy onto the clip board. > > then press (ctrl +V) to paste > > but it will not paste. Seems to work here okay. Do you have any commandkey handlers in your scripts that might block the normal menu functions? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Wed Apr 27 17:07:38 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 27 Apr 2005 22:07:38 +0100 Subject: I hate mousedown In-Reply-To: <2ff42aefd8f15e27184a9d50e8ae8af0@adelphia.net> References: <64878EF567131D4596246171F75FD4A946A18B@m-epo-1.epo.cdc.gov> <2ff42aefd8f15e27184a9d50e8ae8af0@adelphia.net> Message-ID: <426FFF1A.6090201@tweedly.net> Thomas McGrath III wrote: > Jonathan, > > I have a palette of 18 buttons that I want to act upon once a mouse > down has been pressed. SO if I press the mouseDown I want to move from > btn to btn and see a label for that btn and do some other things. But > any messages are sent back to the original control that received the > mouseDown including the mouseUp, mousewithin, mouseenter, mouseleave, > mousestilldown etc. Even the mousemove gets sent. > > I had to use a mouseDown with a call to another message and do a 'send > in'. Then I had to do a 'if the mouse is up' and a 'if the mouse is > down' in order to do what I need. But now it only works sporadically. > > I just need a Down message that works when the mouse is down and KNOWS > what btn it is over. > Thomas - did you get a chance to try the script I sent on Friday ? As far as I can see it does everything you need, in a very simple manner. If it doesn't - let me know and I'll see if it can be tweaked .... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25/04/2005 From docmann at gmail.com Wed Apr 27 17:39:23 2005 From: docmann at gmail.com (docmann) Date: Wed, 27 Apr 2005 16:39:23 -0500 Subject: Rev.101 Revisited... Background groups In-Reply-To: References: <9d58de7d0504270330704ab25@mail.gmail.com> Message-ID: <9d58de7d05042714392a634133@mail.gmail.com> Thanks for the suggestions, Dan. I'll try that with a sample stack to test the functionality. The UI has become extremely complex already which is the reason for the re-write (adding tabs and more features). One way or another, I'm sure I'll get it figured out. > Off-hand, one *possible* way of doing this (if I'm understanding > correctly what you want, which is no guarantee) ... ... > > Maybe someone more awake than I am can offer a cleaner solution. Heh heh... I'm sure I could have offered a better description, but I was still 3/4 asleep myself when I posted. Writing code and asking Rev questions between 4 - 5:30 am without the benefit of a full pot of coffee is a sad, sad, sad thing indeed. ;) Appreciate the help! -Doc- On 4/27/05, Dan Shafer wrote: > Off-hand, one *possible* way of doing this (if I'm understanding > correctly what you want, which is no guarantee) would be to: > > 1. Use a group with background behavior for the controls. > 2. Have each control call a function or handler with the same name on > all tabs. > 3. Put the *scripts* for those handlers at the card level rather than > the background level. > > Pressing a button in the group might, e.g., send the message > "iGotClicked" in all cases (because you cannot have different scripts > for the objects in a single group without doing a lot of conditional > processing as far as I can come up with off the top of my head). But on > one card, the iGotClicked handler does one thing and on another card, > the handler of the same name does something completely different. > > Make sense? > > Maybe someone more awake than I am can offer a cleaner solution. > > On Apr 27, 2005, at 3:30 AM, docmann wrote: > > > > > Basically, I need the same control interface (UI) for each of my tabs, > > but with different scripting actions for each card. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Co-Chair > RevConWest '05 > June 17-18, 2005, Monterey, California > http://www.altuit.com/webs/altuit/RevConWest > > From fde101 at fjrhome.net Wed Apr 27 18:39:36 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Wed, 27 Apr 2005 18:39:36 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <034a2609c7d66955996ed4804e092ce4@writeme.com> References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> <034a2609c7d66955996ed4804e092ce4@writeme.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Try PostgreSQL, which offers stored procedures. You could write the complex parts of the algorithms in pl/pgsql, if nothing else -- or pl/perl, or pl/python, or whatever. On Apr 27, 2005, at 12:07 PM, Dennis Brown wrote: > Stephen, > > The math I want to do is not regular --as in the simple example, but > very algorithmic on a item by item basis. The overhead of passing the > data to and from MySQL will kill the speed unless it can do all the > algorithms internally. Previous attempts have shown this. > > Dennis > > On Apr 26, 2005, at 9:06 PM, Stephen Barncard wrote: > >> MySQL can do math on columns like you want. Very Fast. No loops in >> transcript. >> Check out the GROUP BY (Aggregate) Functions. >> >> http://dev.mysql.com/doc/mysql/en/group-by-functions.html >> >> >> >> At 8:06 PM -0400 4/26/05, Dennis Brown wrote: >>> >>> >>> Can anyone think of another way to do this that would be faster (for >>> accessing parallel arrays, not the trivial adding them together >>> operation I am doing here). Of course the times are for my machine >>> and will vary on yours, but the >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCcBSo7aqtWrR9cZoRAqPNAJwNlnoWWFlDlFUkH8iN5flftEyl+wCggQXb nYgvMmE+WiguK14yohNJ/W4= =ywu1 -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From dan at clearvisiontech.com Wed Apr 27 19:33:45 2005 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 27 Apr 2005 16:33:45 -0700 Subject: Is this true? Rev doesn't print Unicode? In-Reply-To: <20050427192436.41F549300E8@mail.runrev.com> Message-ID: Hello... Does Revolution not print unicode text? I recently upgraded Rev to version 2.5.1 and spent 2 weeks updating my application to support Unicode. I went to test the printout and nothing printed!! Does anyone know if there is a way to print Unicode? Or, is this a bug? If so, anyone know the status of printing Unicode? Thanks in advance, Dan From public at veggio.com Wed Apr 27 19:52:08 2005 From: public at veggio.com (Varen Swaab) Date: Wed, 27 Apr 2005 16:52:08 -0700 Subject: linebreak in text Message-ID: Hi everybody, I know this is probably a really simple matter but I'm trying to take this line of code: put session_name&&"on date"&&session_date into fld "message" and display it so there is a line break before the words "on date", then, to make it more complicated, I'd like to change the size of the font for the first word only. I've tried &CLRF and a few other things and I just can't seem to get the syntax correct. I know I could do this with two different fields stacked one on top of the other but I'm also animating them so I thought it would be easier to move just one field. Thanks! Var From davis.phil at comcast.net Wed Apr 27 20:06:51 2005 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 27 Apr 2005 17:06:51 -0700 Subject: linebreak in text In-Reply-To: References: Message-ID: <4270291B.2060602@comcast.net> Varen Swaab wrote: > Hi everybody, > > I know this is probably a really simple matter but I'm trying to take > this line of code: > > put session_name&&"on date"&&session_date into fld "message" > > and display it so there is a line break before the words "on date", > then, to make it more complicated, I'd like to change the size of the > font for the first word only. Hi Varen, Try using 'cr' or 'return' to create line breaks, like this: put session_name & cr & "on date" & session_date into fld "message" set the textSize of word 1 of fld "message" to 72 -- ha ha Phil Davis From 3mcgrath at adelphia.net Wed Apr 27 20:24:25 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 20:24:25 -0400 Subject: Variable question Message-ID: <64099c2fabcc564b3de18c8ab21c6984@adelphia.net> Hello all, I need to check if this is right: Is it OK to ask " if item 1 is not among the lines of lSeq " even though this is the first instance of lSeq? The local lSeq is new the first time around and I don't know if it is "" or empty or what BUT the 'Put' line seems to put item 1 of d & cr in the first line. repeat for each line d in gInitialList -- we build list of available icons if d is not "" then if item 1 of d is not among the lines of lSeq then -- store avail keys in lSeq put item 1 of d & cr after lSeq -- empty first time around check end if end if end repeat Thanks Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Wed Apr 27 20:27:37 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 20:27:37 -0400 Subject: I hate mousedown In-Reply-To: <426FFF1A.6090201@tweedly.net> References: <64878EF567131D4596246171F75FD4A946A18B@m-epo-1.epo.cdc.gov> <2ff42aefd8f15e27184a9d50e8ae8af0@adelphia.net> <426FFF1A.6090201@tweedly.net> Message-ID: Alex, I used the first code you sent and have been building it up from there. I could not figure out the second code you sent. So I just went with the first. I needed an " If the mouse is up" and an " If the mouse is down" and within those two to check what type of valid btns we were in. So I added that. Thanks Tom RIght now I am getting double mouseDown messages when holding the mouseDown. I need to find that one. On Apr 27, 2005, at 5:07 PM, Alex Tweedly wrote: > Thomas - did you get a chance to try the script I sent on Friday ? > As far as I can see it does everything you need, in a very simple > manner. > > If it doesn't - let me know and I'll see if it can be tweaked .... > > > -- > Alex Tweedly http://www.tweedly.net Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From revlist at cableone.net Wed Apr 27 20:47:38 2005 From: revlist at cableone.net (Chris Sheffield) Date: Wed, 27 Apr 2005 18:47:38 -0600 Subject: OT: sample contracts and non-disclosure agreements Message-ID: <1114649280_87840@S1.cableone.net> Hi all, I am starting my very first contract job using Revolution, and I'm trying to come up with a good contract for my client and me to sign. A NDA clause or even a separate NDA would also be welcome. Does anyone have some samples they'd be willing to share? I just want to make sure I do this right and protect myself and my client, and I don't have much experience when it comes to the legal stuff. :-) Thanks, Chris Chris Sheffield Read Naturally The Fluency Company www.readnaturally.com From briany at qldlearning.com Wed Apr 27 20:48:14 2005 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 27 Apr 2005 17:48:14 -0700 Subject: Variable question In-Reply-To: <64099c2fabcc564b3de18c8ab21c6984@adelphia.net> References: <64099c2fabcc564b3de18c8ab21c6984@adelphia.net> Message-ID: Tom, > Is it OK to ask " if item 1 is not among the lines of lSeq " > even though this is the first instance of lSeq? It should be, yes. It will just be FALSE, since lSeq is empty. > The local lSeq is new the first time around and I don't know if it is > "" or empty or what BUT the 'Put' line seems to put item 1 of d & cr > in the first line. "" and empty are the same -- the latter is just a constant name which represents the former. > repeat for each line d in gInitialList -- we build list of available > icons > if d is not "" then > if item 1 of d is not among the lines of lSeq then -- store > avail keys in lSeq > put item 1 of d & cr after lSeq -- empty first time around > check > end if > end if > end repeat This looks ok to me, and should generate a list of unique, non-empty lines from gInitialList. You may want to clean up the trailing return when you are done: delete last char of lSeq HTH Brian From rbarber at yhb.att.ne.jp Wed Apr 27 21:28:40 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Thu, 28 Apr 2005 10:28:40 +0900 Subject: Is this true? Rev doesn't print Unicode? In-Reply-To: References: Message-ID: Hi Dan You are right, Rev does not print Unicode. See bug 1955 which is listed as unconfirmed and passed on to Michael. The following is a description of the problem. I have mentioned this several times but no response so far. I would love to be proven wrong... Type Unicoded text into a fld and then use the various print options available to us. put the htmltext of fld 1 into thetext revshowprintdialog false,true revprinttext thetext === This results in a blank page(s) being previewed as well as 'printed' put the text of fld 1 into thetext revshowprintdialog false,true revprinttext thetext === This results in the unicode text being printed in ascii format ie. incorrectlly This can be used. One just needs to clone a stack with a field the size of the printable area of the chosen paper, add a little to the topright and chop off a little of the bottomleft to get rid of the fld outline and it passes as a printed page of text. It is not an ideal solution however. This works for ascii text but not for unicode. The results is a blank page(s) similar to using revprinttext using htmltext. Ron On Apr 28, 2005, at 8:33 AM, Dan Friedman wrote: > Hello... > > Does Revolution not print unicode text? > > I recently upgraded Rev to version 2.5.1 and spent 2 weeks updating my > application to support Unicode. I went to test the printout and > nothing > printed!! Does anyone know if there is a way to print Unicode? Or, > is this > a bug? If so, anyone know the status of printing Unicode? > > Thanks in advance, > Dan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Wed Apr 27 21:30:29 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 28 Apr 2005 02:30:29 +0100 Subject: I hate mousedown In-Reply-To: References: <64878EF567131D4596246171F75FD4A946A18B@m-epo-1.epo.cdc.gov> <2ff42aefd8f15e27184a9d50e8ae8af0@adelphia.net> <426FFF1A.6090201@tweedly.net> Message-ID: <42703CB5.8040400@tweedly.net> Thomas McGrath III wrote: > Alex, > > I used the first code you sent and have been building it up from there. > > I could not figure out the second code you sent. So I just went with > the first. > Have I sent two fragments of code on this problem ? I guess I'm getting forgetful ..... The only one I remember is the one where I grouped the buttons into a group, and put all the handlers into the group script; had to set the "autohilite" to off. > I needed an " If the mouse is up" and an " If the mouse is down" and > within those two to check what type of valid btns we were in. So I > added that. > > Thanks > > Tom > > RIght now I am getting double mouseDown messages when holding the > mouseDown. I need to find that one. Good luck !! But don't fight too hard; if you think you're stuck - send the code you're using and the problem symptom and I (and others) will take a look .... it's easy to be so close to a problem you can't see the forest. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25/04/2005 From 3mcgrath at adelphia.net Wed Apr 27 22:21:51 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Apr 2005 22:21:51 -0400 Subject: Variable question In-Reply-To: References: <64099c2fabcc564b3de18c8ab21c6984@adelphia.net> Message-ID: Thanks for your input Brian, I did clean it up. Tom On Apr 27, 2005, at 8:48 PM, Brian Yennie wrote: > This looks ok to me, and should generate a list of unique, non-empty > lines from gInitialList. > You may want to clean up the trailing return when you are done: > > delete last char of lSeq > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From ambassador at fourthworld.com Wed Apr 27 22:25:59 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Apr 2005 19:25:59 -0700 Subject: A Philosophical Point In-Reply-To: References: Message-ID: <427049B7.1070908@fourthworld.com> Roger.E.Eller at sealedair.com wrote: > Many hobbyists that used the "limited" version AS HOBBYISTS for > a year or so, eventually became professional paying customers. > What did it hurt to allow free 10-line scripts to be created > for free? We have at least one anecdotal data point in which the hobbyist was quite happy to use only the free version with narry a though about buying a license, and only after Rev discontinued the free version did he obtain one. I used to believe the old free version was a good idea, but it's hard to argue with data like that. ;) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From lists at mangomultimedia.com Wed Apr 27 23:20:16 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 27 Apr 2005 20:20:16 -0700 Subject: Unicode Displaying in Runtime Revolution #2 In-Reply-To: <426CA833.6010701@netgalileo.com> References: <426722DA.4020508@netgalileo.com> <426CA833.6010701@netgalileo.com> Message-ID: <2fafddd63f4b1e0c8aca473a4954cf99@mangomultimedia.com> On Apr 25, 2005, at 1:20 AM, Marisa K. wrote: > Hello Trevor, > > Thank you so much for your reply. > > I had tried on your suggestion(using cursors) but it didn't work with > me, still. While, English texts can be displayed just fine, Thai's > texts cannot. > > Well, I connect to the database through ODBC. Do you think this is > where the problem is? > > Every suggestions are welcome as I'm willing to try. I haven't used ODBC much so I'm not sure if that could cause the problem or not. What database are you using? Can you try connecting directly to it and seeing if that solves the problem? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From kray at sonsothunder.com Wed Apr 27 23:24:24 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 27 Apr 2005 22:24:24 -0500 Subject: OT: sample contracts and non-disclosure agreements In-Reply-To: <1114649280_87840@S1.cableone.net> Message-ID: On 4/27/05 7:47 PM, "Chris Sheffield" wrote: > Hi all, > > I am starting my very first contract job using Revolution, and I'm trying to > come up with a good contract for my client and me to sign. A NDA clause or > even a separate NDA would also be welcome. > > Does anyone have some samples they'd be willing to share? I just want to > make sure I do this right and protect myself and my client, and I don't have > much experience when it comes to the legal stuff. :-) Here's one I use: http://www.sonsothunder.com/services/nda.htm HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sarahr at genesearch.com.au Wed Apr 27 23:37:53 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 28 Apr 2005 13:37:53 +1000 Subject: Bypass Repeat Structure in Debug Mode In-Reply-To: <24cbb840b657fd13933173861c47d263@adelphia.net> References: <6476e7a48ec47fab28e3c53825d19115@danshafer.com> <24cbb840b657fd13933173861c47d263@adelphia.net> Message-ID: > The one problem is that I am testing a mouseDown over a button and > can't release the mouse to go ahead and hit the run button. For debugging, it might be better to place the script in a mouseUp handler, then when it's working, change it back to mouseDown. Sarah From simplsol at aol.com Wed Apr 27 23:42:12 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Wed, 27 Apr 2005 23:42:12 -0400 Subject: A Philosophical Point In-Reply-To: <427049B7.1070908@fourthworld.com> References: <427049B7.1070908@fourthworld.com> Message-ID: <8C719BB6585654E-FF4-16152@MBLK-M28.sysops.aol.com> Let's not forget that many of Revolution's customers were HyperCard users - and many of us started x-cards with HypercCard, because it was free. I got my first copy free with an SE 30 I bought in 1987, have since bought hundreds of copies of HyperCard. This all begs the real question: what is Revolution's target market - now that all the "low hanging fruit" (HC & MC users) are picked? Paul Looney -----Original Message----- From: Richard Gaskin To: How to use Revolution Sent: Wed, 27 Apr 2005 19:25:59 -0700 Subject: Re: A Philosophical Point Roger.E.Eller at sealedair.com wrote:? > Many hobbyists that used the "limited" version AS HOBBYISTS for? > a year or so, eventually became professional paying customers.? > What did it hurt to allow free 10-line scripts to be created? > for free?? ? We have at least one anecdotal data point in which the hobbyist was quite happy to use only the free version with narry a though about buying a license, and only after Rev discontinued the free version did he obtain one.? ? I used to believe the old free version was a good idea, but it's hard to argue with data like that. ;)? ? -- ?Richard Gaskin? ?Fourth World Media Corporation? ?__________________________________________________? ?Rev tools and more: http://www.fourthworld.com/rev? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? http://lists.runrev.com/mailman/listinfo/use-revolution? From sarahr at genesearch.com.au Wed Apr 27 23:52:33 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 28 Apr 2005 13:52:33 +1000 Subject: A Philosophical Point In-Reply-To: References: Message-ID: > This culminated in my designing a complex extended toolbar > for Runtime Revolution 2. At no time did I ask for any > money for these contributions, and never tried to exercise > any copyright control. This was based on the fact that > Runtime Revolution was available as a free download that > could be used in a relatively unrestricted way without > having to pay for it. When Runtime Revolution released > version 2.0.3 the company suddenly removed that freedom and > beyond a 30 day 'trial license' expected payment. I felt > betrayed and said so, forcefully; for which I was slammed, > forcefully. I subsequently stopped making widgets I > developed available via my website. > While I respect your decision to remain with an older version of Revolution so that you never need to pay, I find it sad that you feel unable to contribute to the Rev community for this reason. Presumably you no longer take advantage of other people's generous offerings in advice and stacks as this would be inconsistent with your philosophy unless you could be sure they were older stacks or techniques developed with the free version. Some of your contributions have been very helpful and interesting - thanks for that. If you ever change your mind and wish to rejoin the Rev community, we'll still be here :-) Sarah From sarahr at genesearch.com.au Thu Apr 28 00:00:02 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 28 Apr 2005 14:00:02 +1000 Subject: MySQL Database Query Builder Question In-Reply-To: <20050426130151.F0EFC9300CA@mail.runrev.com> References: <20050426130151.F0EFC9300CA@mail.runrev.com> Message-ID: <0c8f6804978b2483f47ceb2cc39cb1ca@genesearch.com.au> Hi Martin, > I'm trying to connect to my database which is hosted by > oneandone.co.uk. I'm > using the database query builder in RR. > > I set the name (Contact), > host (db141.oneandone.co.uk) - this is the actual server name > Database (dbxxxxxxxx), > User (dboxxxxxxxx) > Password (xxxxxxxx) > > When I try to press the connect button I get an error "Unknown MySQL > Host > 'db141.oneandone.co.uk' (11004)' > > I am able to connect to the database in PHP MyAdmin without any > problems! > > The only thing I can think of that could be causing this is the syntax > of > the host name!! maybe I'm wrong, has anyone had this problem? > When I tried to find the IP address for "db141.oneandone.co.uk", I got nothing. However I was able to get an address for "oneandone.co.uk" using the hostNameToAddress() function. If the Rev database query builder uses the hostNameToAddress function before trying to connect, it isn't going to work for the host name you have supplied. What happens if you use just "oneandone.co.uk"? When you connect using PHP, does it use the standard MySQL port (3306)? If not, you need to add this to the host name e.g. oneandone.co.uk:12345 where 12345 is my imaginary port number. HTH, Sarah From mwieder at ahsoftware.net Thu Apr 28 00:22:44 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 27 Apr 2005 21:22:44 -0700 Subject: A Philosophical Point In-Reply-To: <427049B7.1070908@fourthworld.com> References: <427049B7.1070908@fourthworld.com> Message-ID: <6736426538.20050427212244@ahsoftware.net> Richard- Wednesday, April 27, 2005, 7:25:59 PM, you wrote: RG> We have at least one anecdotal data point in which the hobbyist was RG> quite happy to use only the free version with narry a though about RG> buying a license, and only after Rev discontinued the free version did RG> he obtain one. RG> I used to believe the old free version was a good idea, but it's hard to RG> argue with data like that. ;) It's not hard at all to argue with a *single anecdotal data point*. If I remember correctly, the free version never expired, but in order to use the new features you had to upgrade. If said hobbyist wasn't impressed with runrev, he could have passed on upgrading to a new version and continued with the free one. Obviously that wasn't the case. The free version hooked the user and made enough of an impact that he decided to spring for a paid upgrade. Seems to me like the free version was the cause of a sale. Of course, I'm one of those weirdos who pays for shareware if I find I like and use it, so don't take *my* word for anything... -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Thu Apr 28 00:35:02 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Apr 2005 21:35:02 -0700 Subject: A Philosophical Point In-Reply-To: <6736426538.20050427212244@ahsoftware.net> References: <427049B7.1070908@fourthworld.com> <6736426538.20050427212244@ahsoftware.net> Message-ID: <427067F5.3090700@fourthworld.com> Mark Wieder wrote: > Richard- > > Wednesday, April 27, 2005, 7:25:59 PM, you wrote: > > RG> We have at least one anecdotal data point in which the hobbyist was > RG> quite happy to use only the free version with narry a though about > RG> buying a license, and only after Rev discontinued the free version did > RG> he obtain one. > > RG> I used to believe the old free version was a good idea, but it's hard to > RG> argue with data like that. ;) > > > > It's not hard at all to argue with a *single anecdotal data point*. > > If I remember correctly, the free version never expired, but in order > to use the new features you had to upgrade. If said hobbyist wasn't > impressed with runrev, he could have passed on upgrading to a new > version and continued with the free one. Obviously that wasn't the > case. The free version hooked the user and made enough of an impact > that he decided to spring for a paid upgrade. > > Seems to me like the free version was the cause of a sale. As I read it the termination of the free version was the cause of the sale. But the cause-and-effect is not entirely clear from the story, so I may well be mistaken. > Of course, I'm one of those weirdos who pays for shareware if I find I > like and use it, so don't take *my* word for anything... Freak! :) I paid for Tex-Edit twice only because I liked it so much and use it so often and it's so affordable. Same with GraphicConverter -- one of the best values in this history of software, IMO. Personally I liked having the free version, and use a very similar feature-restriction-with-no-time-limite model for every package I make. While I have no hard data on the efficacy of that approach for RR, for myself and my clients it's done very well. But I don't run RR, and they don't run 4W, and we both like it that way. :) Kee Nethery of the great Kagi.com feels strongly in favor of this model too, if memory serves -- Kee, care to share your experiences? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From sarahr at genesearch.com.au Thu Apr 28 00:34:37 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 28 Apr 2005 14:34:37 +1000 Subject: Problem with "convert it to seconds" In-Reply-To: <426CE3BD.ECEB146D@Club-Internet.fr> References: <426CE3BD.ECEB146D@Club-Internet.fr> Message-ID: > When using the convert function in Rev cgi Linux and > in Rev Mac OS9 (or Win XP) I get different results : > - Rev cgi : 1114427491 > - Rev Win XP : 1114423891 > > There's a 3600 seconds difference, and I vaguely remember > a discussion (in the old MC days) about the fact that the cgi > engine calling a unix convert function that doesn't take into > account the summer / winter time change... > Anyone has some info about this (or a workaround) ? > WARNING: long rant about Rev's time handling!! I have only encountered this on Mac OS X but it is a real problem. I can confirm that it happens, but the only solution I worked out used AppleScript. There may be a Unix method you could use, so I'll explain what I do. In Rev, I use "the internet date" to give me the time zone (it's the last word), then I use AppleScript to give me the number of minutes to GMT. AppleScript gives me the time zone INCLUDING any daylight savings component, rev's gives me the time zone ignoring daylight saving. I then use the difference between these 2 to get the current amount of daylight savings time, so I can apply this as necessary. I have a further problem with "the seconds" which I will describe in case anyone else finds it a problem. It reports the number of seconds since midnight on 1/1/1970 GMT. The fact that it is GMT is crucial as it means that the number returned by the seconds is not an absolute date & time but depends on the time zone of the computer that is converting it. For example, I operate a remote computer in a different time zone that logs certain events using time stamps in seconds. It then sends me that log and I convert the time stamps to date & time. Because I am in a different time zone, the times change. I am in time zone +1000 and the remote computer is in +0930. A log entry gets added at the remote computer at 5:30 am. It sends me the report and the log entry gets translated as having happened at 6 am. Now it was 6 am for me when it happened, so the seconds is reporting the actual moment in time, but I want to know what the local time was when the event happened, so again I am forced into weird convolutions where I have to allow for differences in time zones whenever data is transferred from a remote machine. While I am stuck using the seconds because other programs depend on getting data in that format, I recommend using another method if at all possible. Julian time would now be my preferred option for a numeric time stamp. Unfortunately, my system originally used HyperCard where a numeric value in seconds ALWAYS translated to the same date & time regardless of time zones. If you want to test this, try the following script: put 1113336031 into t convert t to short date and long time put t If I use my local time - Brisbane, Australia (+1000), I get: 4/13/05 6:00:31 AM But if I switch to Adelaide, Australia (+0930), I get: 4/13/05 5:30:31 AM You will get a varying date & time depending on your local time zone and current daylight savings setting. Cheers, Sarah From xbury.cs at clearstream.com Thu Apr 28 03:40:50 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 28 Apr 2005 09:40:50 +0200 Subject: MySQL Database Query Builder Question Message-ID: Note that some ISPs block this capability... Mine does... cheers Xavier On 28.04.2005 06:00:02 use-revolution-bounces wrote: >Hi Martin, > >> I'm trying to connect to my database which is hosted by >> oneandone.co.uk. I'm >> using the database query builder in RR. >> >> I set the name (Contact), >> host (db141.oneandone.co.uk) - this is the actual server name >> Database (dbxxxxxxxx), >> User (dboxxxxxxxx) >> Password (xxxxxxxx) >> >> When I try to press the connect button I get an error "Unknown MySQL >> Host >> 'db141.oneandone.co.uk' (11004)' >> >> I am able to connect to the database in PHP MyAdmin without any >> problems! >> >> The only thing I can think of that could be causing this is the syntax >> of >> the host name!! maybe I'm wrong, has anyone had this problem? >> >When I tried to find the IP address for "db141.oneandone.co.uk", I got >nothing. However I was able to get an address for "oneandone.co.uk" >using the hostNameToAddress() function. > >If the Rev database query builder uses the hostNameToAddress function >before trying to connect, it isn't going to work for the host name you >have supplied. What happens if you use just "oneandone.co.uk"? > >When you connect using PHP, does it use the standard MySQL port (3306)? >If not, you need to add this to the host name e.g. >oneandone.co.uk:12345 where 12345 is my imaginary port number. > >HTH, >Sarah > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From martin.mccarrick at btinternet.com Thu Apr 28 04:06:43 2005 From: martin.mccarrick at btinternet.com (Martin McCarrick) Date: Thu, 28 Apr 2005 09:06:43 +0100 Subject: MySQL Database Query Builder Question In-Reply-To: <0c8f6804978b2483f47ceb2cc39cb1ca@genesearch.com.au> Message-ID: <20050428081929.09A0E9300AD@mail.runrev.com> Thanks Sarah & Xavier With PHP 3306 is the port used, I tried changing to 'oneandone.co.uk:port' with many variations, to no avail. It seems that Xavier hit the nail on the head, my ISP wont allow this type of access!! I really cant see the point of having a database that I cant access. Can anyone recommend a good ISP with 'proper' database hosting (MySQL PHP etc...) Regards Martin McCarrick -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah Reichelt Sent: 28 April 2005 05:00 To: How to use Revolution Subject: Re: MySQL Database Query Builder Question Hi Martin, > I'm trying to connect to my database which is hosted by > oneandone.co.uk. I'm using the database query builder in RR. > > I set the name (Contact), > host (db141.oneandone.co.uk) - this is the actual server name Database > (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) > > When I try to press the connect button I get an error "Unknown MySQL > Host 'db141.oneandone.co.uk' (11004)' > > I am able to connect to the database in PHP MyAdmin without any > problems! > > The only thing I can think of that could be causing this is the syntax > of the host name!! maybe I'm wrong, has anyone had this problem? > When I tried to find the IP address for "db141.oneandone.co.uk", I got nothing. However I was able to get an address for "oneandone.co.uk" using the hostNameToAddress() function. If the Rev database query builder uses the hostNameToAddress function before trying to connect, it isn't going to work for the host name you have supplied. What happens if you use just "oneandone.co.uk"? When you connect using PHP, does it use the standard MySQL port (3306)? If not, you need to add this to the host name e.g. oneandone.co.uk:12345 where 12345 is my imaginary port number. HTH, Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Thu Apr 28 04:18:02 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 28 Apr 2005 10:18:02 +0200 Subject: MySQL Database Query Builder Question Message-ID: Martin, Later I'll be trying to drive the phpmyadmin post and gets to make it run but as you imagine it's not very efficient. However i dont really need a "live" access to it... Have you tried negotiating with the ISP for it? cheers Xavier On 28.04.2005 10:06:43 use-revolution-bounces wrote: >Thanks Sarah & Xavier > >With PHP 3306 is the port used, I tried changing to 'oneandone.co.uk:port' >with many variations, to no avail. > >It seems that Xavier hit the nail on the head, my ISP wont allow this type >of access!! > >I really cant see the point of having a database that I cant access. > >Can anyone recommend a good ISP with 'proper' database hosting (MySQL PHP >etc...) > >Regards > > >Martin McCarrick > > > > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah Reichelt >Sent: 28 April 2005 05:00 >To: How to use Revolution >Subject: Re: MySQL Database Query Builder Question > >Hi Martin, > >> I'm trying to connect to my database which is hosted by >> oneandone.co.uk. I'm using the database query builder in RR. >> >> I set the name (Contact), >> host (db141.oneandone.co.uk) - this is the actual server name Database >> (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) >> >> When I try to press the connect button I get an error "Unknown MySQL >> Host 'db141.oneandone.co.uk' (11004)' >> >> I am able to connect to the database in PHP MyAdmin without any >> problems! >> >> The only thing I can think of that could be causing this is the syntax >> of the host name!! maybe I'm wrong, has anyone had this problem? >> >When I tried to find the IP address for "db141.oneandone.co.uk", I got >nothing. However I was able to get an address for "oneandone.co.uk" >using the hostNameToAddress() function. > >If the Rev database query builder uses the hostNameToAddress function before >trying to connect, it isn't going to work for the host name you have >supplied. What happens if you use just "oneandone.co.uk"? > >When you connect using PHP, does it use the standard MySQL port (3306)? >If not, you need to add this to the host name e.g. >oneandone.co.uk:12345 where 12345 is my imaginary port number. > >HTH, >Sarah > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From martin.mccarrick at btinternet.com Thu Apr 28 04:46:45 2005 From: martin.mccarrick at btinternet.com (Martin McCarrick) Date: Thu, 28 Apr 2005 09:46:45 +0100 Subject: MySQL Database Query Builder Question In-Reply-To: Message-ID: <20050428085931.ABC42930140@mail.runrev.com> Xavier Oneandone.co.uk use call centre's in the far east, it's not a pleasant experience trying to simply understand what they are saying, imagine trying to negotiate!! It's a bit flippant I know but my nerve's have been taken to the limit with call centre's. I would love to speak to an English speaking person who I can understand & who isn't simply referencing a FAQ (that I've already studied) to provide answers. I think id like to simply change ISP (out the frying pan!) Thanks for your help Martin -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of xbury.cs at clearstream.com Sent: 28 April 2005 09:18 To: How to use Revolution Subject: RE: MySQL Database Query Builder Question Martin, Later I'll be trying to drive the phpmyadmin post and gets to make it run but as you imagine it's not very efficient. However i dont really need a "live" access to it... Have you tried negotiating with the ISP for it? cheers Xavier On 28.04.2005 10:06:43 use-revolution-bounces wrote: >Thanks Sarah & Xavier > >With PHP 3306 is the port used, I tried changing to 'oneandone.co.uk:port' >with many variations, to no avail. > >It seems that Xavier hit the nail on the head, my ISP wont allow this type >of access!! > >I really cant see the point of having a database that I cant access. > >Can anyone recommend a good ISP with 'proper' database hosting (MySQL >PHP >etc...) > >Regards > > >Martin McCarrick > > > > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah Reichelt >Sent: 28 April 2005 05:00 >To: How to use Revolution >Subject: Re: MySQL Database Query Builder Question > >Hi Martin, > >> I'm trying to connect to my database which is hosted by >> oneandone.co.uk. I'm using the database query builder in RR. >> >> I set the name (Contact), >> host (db141.oneandone.co.uk) - this is the actual server name >> Database (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) >> >> When I try to press the connect button I get an error "Unknown MySQL >> Host 'db141.oneandone.co.uk' (11004)' >> >> I am able to connect to the database in PHP MyAdmin without any >> problems! >> >> The only thing I can think of that could be causing this is the >> syntax of the host name!! maybe I'm wrong, has anyone had this problem? >> >When I tried to find the IP address for "db141.oneandone.co.uk", I got >nothing. However I was able to get an address for "oneandone.co.uk" >using the hostNameToAddress() function. > >If the Rev database query builder uses the hostNameToAddress function before >trying to connect, it isn't going to work for the host name you have >supplied. What happens if you use just "oneandone.co.uk"? > >When you connect using PHP, does it use the standard MySQL port (3306)? >If not, you need to add this to the host name e.g. >oneandone.co.uk:12345 where 12345 is my imaginary port number. > >HTH, >Sarah > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From docmann at gmail.com Thu Apr 28 05:32:00 2005 From: docmann at gmail.com (docmann) Date: Thu, 28 Apr 2005 04:32:00 -0500 Subject: MySQL Database Query Builder Question In-Reply-To: <20050428085931.ABC42930140@mail.runrev.com> References: <20050428085931.ABC42930140@mail.runrev.com> Message-ID: <9d58de7d05042802321c520976@mail.gmail.com> Hello Martin, It's a long shot, but there is one more thing to check before giving up... Using PhpMyAdmin, have a look at the "privilages" that are set up for your DB and make sure it is set to "% any", which will allow access from any domain address. -Doc- On 4/28/05, Martin McCarrick wrote: > Xavier > > Oneandone.co.uk use call centre's in the far east, it's not a pleasant > experience trying to simply understand what they are saying, imagine trying > to negotiate!! > > It's a bit flippant I know but my nerve's have been taken to the limit with > call centre's. I would love to speak to an English speaking person who I can > understand & who isn't simply referencing a FAQ (that I've already studied) > to provide answers. > > I think id like to simply change ISP (out the frying pan!) > > Thanks for your help > > Martin > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > xbury.cs at clearstream.com > Sent: 28 April 2005 09:18 > To: How to use Revolution > Subject: RE: MySQL Database Query Builder Question > > Martin, > > Later I'll be trying to drive the phpmyadmin post and gets to make it run > but as you imagine it's not very efficient. However i dont really need a > "live" access to it... > > Have you tried negotiating with the ISP for it? > > cheers > Xavier > > On 28.04.2005 10:06:43 use-revolution-bounces wrote: > >Thanks Sarah & Xavier > > > >With PHP 3306 is the port used, I tried changing to > 'oneandone.co.uk:port' > >with many variations, to no avail. > > > >It seems that Xavier hit the nail on the head, my ISP wont allow this > type > >of access!! > > > >I really cant see the point of having a database that I cant access. > > > >Can anyone recommend a good ISP with 'proper' database hosting (MySQL > >PHP > >etc...) > > > >Regards > > > > > >Martin McCarrick > > > > > > > > > >-----Original Message----- > >From: use-revolution-bounces at lists.runrev.com > >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah > Reichelt > >Sent: 28 April 2005 05:00 > >To: How to use Revolution > >Subject: Re: MySQL Database Query Builder Question > > > >Hi Martin, > > > >> I'm trying to connect to my database which is hosted by > >> oneandone.co.uk. I'm using the database query builder in RR. > >> > >> I set the name (Contact), > >> host (db141.oneandone.co.uk) - this is the actual server name > >> Database (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) > >> > >> When I try to press the connect button I get an error "Unknown MySQL > >> Host 'db141.oneandone.co.uk' (11004)' > >> > >> I am able to connect to the database in PHP MyAdmin without any > >> problems! > >> > >> The only thing I can think of that could be causing this is the > >> syntax of the host name!! maybe I'm wrong, has anyone had this problem? > >> > >When I tried to find the IP address for "db141.oneandone.co.uk", I got > >nothing. However I was able to get an address for "oneandone.co.uk" > >using the hostNameToAddress() function. > > > >If the Rev database query builder uses the hostNameToAddress function > before > >trying to connect, it isn't going to work for the host name you have > >supplied. What happens if you use just "oneandone.co.uk"? > > > >When you connect using PHP, does it use the standard MySQL port (3306)? > >If not, you need to add this to the host name e.g. > >oneandone.co.uk:12345 where 12345 is my imaginary port number. > > > >HTH, > >Sarah > > > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >http://lists.runrev.com/mailman/listinfo/use-revolution > > ----------------------------------------- > Visit us at http://www.clearstream.com > IMPORTANT MESSAGE Internet communications are not secure and therefore > Clearstream International does not accept legal responsibility for the > contents of this message. The information contained in this e-mail is > confidential and may be legally privileged. It is intended solely for the > addressee. If you are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance on it, > is prohibited and may be unlawful. Any views expressed in this e-mail are > those of the individual sender, except where the sender specifically states > them to be the views of Clearstream International or of any of its > affiliates or subsidiaries. END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > 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 xbury.cs at clearstream.com Thu Apr 28 05:36:23 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 28 Apr 2005 11:36:23 +0200 Subject: MySQL Database Query Builder Question Message-ID: Doc, Is this in the config.php file or? cheers Xavier On 28.04.2005 11:32:00 use-revolution-bounces wrote: >Hello Martin, >It's a long shot, but there is one more thing to check before giving up... > >Using PhpMyAdmin, have a look at the "privilages" that are set up for >your DB and make sure it is set to "% any", which will allow access >from any domain address. > >-Doc- > >On 4/28/05, Martin McCarrick wrote: >> Xavier >> >> Oneandone.co.uk use call centre's in the far east, it's not a pleasant >> experience trying to simply understand what they are saying, imagine trying >> to negotiate!! >> >> It's a bit flippant I know but my nerve's have been taken to the limit with >> call centre's. I would love to speak to an English speaking person who I can >> understand & who isn't simply referencing a FAQ (that I've already studied) >> to provide answers. >> >> I think id like to simply change ISP (out the frying pan!) >> >> Thanks for your help >> >> Martin >> >> >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> xbury.cs at clearstream.com >> Sent: 28 April 2005 09:18 >> To: How to use Revolution >> Subject: RE: MySQL Database Query Builder Question >> >> Martin, >> >> Later I'll be trying to drive the phpmyadmin post and gets to make it run >> but as you imagine it's not very efficient. However i dont really need a >> "live" access to it... >> >> Have you tried negotiating with the ISP for it? >> >> cheers >> Xavier >> >> On 28.04.2005 10:06:43 use-revolution-bounces wrote: >> >Thanks Sarah & Xavier >> > >> >With PHP 3306 is the port used, I tried changing to >> 'oneandone.co.uk:port' >> >with many variations, to no avail. >> > >> >It seems that Xavier hit the nail on the head, my ISP wont allow this >> type >> >of access!! >> > >> >I really cant see the point of having a database that I cant access. >> > >> >Can anyone recommend a good ISP with 'proper' database hosting (MySQL >> >PHP >> >etc...) >> > >> >Regards >> > >> > >> >Martin McCarrick >> > >> > >> > >> > >> >-----Original Message----- >> >From: use-revolution-bounces at lists.runrev.com >> >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah >> Reichelt >> >Sent: 28 April 2005 05:00 >> >To: How to use Revolution >> >Subject: Re: MySQL Database Query Builder Question >> > >> >Hi Martin, >> > >> >> I'm trying to connect to my database which is hosted by >> >> oneandone.co.uk. I'm using the database query builder in RR. >> >> >> >> I set the name (Contact), >> >> host (db141.oneandone.co.uk) - this is the actual server name >> >> Database (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) >> >> >> >> When I try to press the connect button I get an error "Unknown MySQL >> >> Host 'db141.oneandone.co.uk' (11004)' >> >> >> >> I am able to connect to the database in PHP MyAdmin without any >> >> problems! >> >> >> >> The only thing I can think of that could be causing this is the >> >> syntax of the host name!! maybe I'm wrong, has anyone had this problem? >> >> >> >When I tried to find the IP address for "db141.oneandone.co.uk", I got >> >nothing. However I was able to get an address for "oneandone.co.uk" >> >using the hostNameToAddress() function. >> > >> >If the Rev database query builder uses the hostNameToAddress function >> before >> >trying to connect, it isn't going to work for the host name you have >> >supplied. What happens if you use just "oneandone.co.uk"? >> > >> >When you connect using PHP, does it use the standard MySQL port (3306)? >> >If not, you need to add this to the host name e.g. >> >oneandone.co.uk:12345 where 12345 is my imaginary port number. >> > >> >HTH, >> >Sarah >> > >> >_______________________________________________ >> >use-revolution mailing list >> >use-re ----------------------------------------- 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 docmann at gmail.com Thu Apr 28 05:48:49 2005 From: docmann at gmail.com (docmann) Date: Thu, 28 Apr 2005 04:48:49 -0500 Subject: MySQL Database Query Builder Question In-Reply-To: References: Message-ID: <9d58de7d05042802481235331a@mail.gmail.com> Hello Xavier, Actually there is a link directly from the main phpMyAdmin page where you can check and or change the status (assuming you have the right access privilages). I know that on our LAN, I cannot connect from a remote work station without changing the "Host" settings.... HTH, -Doc- On 4/28/05, xbury.cs at clearstream.com wrote: > > Doc, > > Is this in the config.php file or? > > cheers > Xavier > > > On 28.04.2005 11:32:00 use-revolution-bounces wrote: > >Hello Martin, > >It's a long shot, but there is one more thing to check before giving up... > > > >Using PhpMyAdmin, have a look at the "privilages" that are set up for > >your DB and make sure it is set to "% any", which will allow access > >from any domain address. > > > >-Doc- > > > >On 4/28/05, Martin McCarrick wrote: > >> Xavier > >> > >> Oneandone.co.uk use call centre's in the far east, it's not a pleasant > >> experience trying to simply understand what they are saying, imagine > trying > >> to negotiate!! > >> > >> It's a bit flippant I know but my nerve's have been taken to the limit > with > >> call centre's. I would love to speak to an English speaking person who I > can > >> understand & who isn't simply referencing a FAQ (that I've already > studied) > >> to provide answers. > >> > >> I think id like to simply change ISP (out the frying pan!) > >> > >> Thanks for your help > >> > >> Martin > >> > >> > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com > >> [mailto:use-revolution-bounces at lists.runrev.com] On > Behalf Of > >> xbury.cs at clearstream.com > >> Sent: 28 April 2005 09:18 > >> To: How to use Revolution > >> Subject: RE: MySQL Database Query Builder Question > >> > >> Martin, > >> > >> Later I'll be trying to drive the phpmyadmin post and gets to make it > run > >> but as you imagine it's not very efficient. However i dont really need a > >> "live" access to it... > >> > >> Have you tried negotiating with the ISP for it? > >> > >> cheers > >> Xavier > >> > >> On 28.04.2005 10:06:43 use-revolution-bounces wrote: > >> >Thanks Sarah & Xavier > >> > > >> >With PHP 3306 is the port used, I tried changing to > >> 'oneandone.co.uk:port' > >> >with many variations, to no avail. > >> > > >> >It seems that Xavier hit the nail on the head, my ISP wont allow this > >> type > >> >of access!! > >> > > >> >I really cant see the point of having a database that I cant access. > >> > > >> >Can anyone recommend a good ISP with 'proper' database hosting (MySQL > >> >PHP > >> >etc...) > >> > > >> >Regards > >> > > >> > > >> >Martin McCarrick > >> > > >> > > >> > > >> > > >> >-----Original Message----- > >> >From: use-revolution-bounces at lists.runrev.com > >> >[mailto:use-revolution-bounces at lists.runrev.com] On > Behalf Of Sarah > >> Reichelt > >> >Sent: 28 April 2005 05:00 > >> >To: How to use Revolution > >> >Subject: Re: MySQL Database Query Builder Question > >> > > >> >Hi Martin, > >> > > >> >> I'm trying to connect to my database which is hosted by > >> >> oneandone.co.uk. I'm using the database query builder in RR. > >> >> > >> >> I set the name (Contact), > >> >> host (db141.oneandone.co.uk) - this is the actual server name > >> >> Database (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) > >> >> > >> >> When I try to press the connect button I get an error "Unknown MySQL > >> >> Host 'db141.oneandone.co.uk' (11004)' > >> >> > >> >> I am able to connect to the database in PHP MyAdmin without any > >> >> problems! > >> >> > >> >> The only thing I can think of that could be causing this is the > >> >> syntax of the host name!! maybe I'm wrong, has anyone had this > problem? > >> >> > >> >When I tried to find the IP address for "db141.oneandone.co.uk", I got > >> >nothing. However I was able to get an address for "oneandone.co.uk" > >> >using the hostNameToAddress() function. > >> > > >> >If the Rev database query builder uses the hostNameToAddress function > >> before > >> >trying to connect, it isn't going to work for the host name you have > >> >supplied. What happens if you use just "oneandone.co.uk"? > >> > > >> >When you connect using PHP, does it use the standard MySQL port (3306)? > >> >If not, you need to add this to the host name e.g. > >> >oneandone.co.uk:12345 where 12345 is my imaginary port number. > >> > > >> >HTH, > >> >Sarah > >> > > >> >_______________________________________________ > >> >use-revolution mailing list > >> >use-re > > ________________________________ > > > > > 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 docmann at gmail.com Thu Apr 28 06:16:12 2005 From: docmann at gmail.com (docmann) Date: Thu, 28 Apr 2005 05:16:12 -0500 Subject: MySQL Database Query Builder Question In-Reply-To: <9d58de7d05042802481235331a@mail.gmail.com> References: <9d58de7d05042802481235331a@mail.gmail.com> Message-ID: <9d58de7d0504280316c4b99a3@mail.gmail.com> As an afterthought, I'd highly recommend that you have a good look at the mySQL documentation in regards to security settings. It would be a good thing to understand the issues *before* making changes. :) -Doc- On 4/28/05, docmann wrote: > Hello Xavier, > Actually there is a link directly from the main phpMyAdmin page where > you can check and or change the status (assuming you have the right > access privilages). > > I know that on our LAN, I cannot connect from a remote work station > without changing the "Host" settings.... > > HTH, > -Doc- > > On 4/28/05, xbury.cs at clearstream.com wrote: > > > > Doc, > > > > Is this in the config.php file or? > > > > cheers > > Xavier > > > > > > On 28.04.2005 11:32:00 use-revolution-bounces wrote: > > >Hello Martin, > > >It's a long shot, but there is one more thing to check before giving up... > > > > > >Using PhpMyAdmin, have a look at the "privilages" that are set up for > > >your DB and make sure it is set to "% any", which will allow access > > >from any domain address. > > > > > >-Doc- > > > > > >On 4/28/05, Martin McCarrick wrote: > > >> Xavier > > >> > > >> Oneandone.co.uk use call centre's in the far east, it's not a pleasant > > >> experience trying to simply understand what they are saying, imagine > > trying > > >> to negotiate!! > > >> > > >> It's a bit flippant I know but my nerve's have been taken to the limit > > with > > >> call centre's. I would love to speak to an English speaking person who I > > can > > >> understand & who isn't simply referencing a FAQ (that I've already > > studied) > > >> to provide answers. > > >> > > >> I think id like to simply change ISP (out the frying pan!) > > >> > > >> Thanks for your help > > >> > > >> Martin > > >> > > >> > > >> -----Original Message----- > > >> From: use-revolution-bounces at lists.runrev.com > > >> [mailto:use-revolution-bounces at lists.runrev.com] On > > Behalf Of > > >> xbury.cs at clearstream.com > > >> Sent: 28 April 2005 09:18 > > >> To: How to use Revolution > > >> Subject: RE: MySQL Database Query Builder Question > > >> > > >> Martin, > > >> > > >> Later I'll be trying to drive the phpmyadmin post and gets to make it > > run > > >> but as you imagine it's not very efficient. However i dont really need a > > >> "live" access to it... > > >> > > >> Have you tried negotiating with the ISP for it? > > >> > > >> cheers > > >> Xavier > > >> > > >> On 28.04.2005 10:06:43 use-revolution-bounces wrote: > > >> >Thanks Sarah & Xavier > > >> > > > >> >With PHP 3306 is the port used, I tried changing to > > >> 'oneandone.co.uk:port' > > >> >with many variations, to no avail. > > >> > > > >> >It seems that Xavier hit the nail on the head, my ISP wont allow this > > >> type > > >> >of access!! > > >> > > > >> >I really cant see the point of having a database that I cant access. > > >> > > > >> >Can anyone recommend a good ISP with 'proper' database hosting (MySQL > > >> >PHP > > >> >etc...) > > >> > > > >> >Regards > > >> > > > >> > > > >> >Martin McCarrick > > >> > > > >> > > > >> > > > >> > > > >> >-----Original Message----- > > >> >From: use-revolution-bounces at lists.runrev.com > > >> >[mailto:use-revolution-bounces at lists.runrev.com] On > > Behalf Of Sarah > > >> Reichelt > > >> >Sent: 28 April 2005 05:00 > > >> >To: How to use Revolution > > >> >Subject: Re: MySQL Database Query Builder Question > > >> > > > >> >Hi Martin, > > >> > > > >> >> I'm trying to connect to my database which is hosted by > > >> >> oneandone.co.uk. I'm using the database query builder in RR. > > >> >> > > >> >> I set the name (Contact), > > >> >> host (db141.oneandone.co.uk) - this is the actual server name > > >> >> Database (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) > > >> >> > > >> >> When I try to press the connect button I get an error "Unknown MySQL > > >> >> Host 'db141.oneandone.co.uk' (11004)' > > >> >> > > >> >> I am able to connect to the database in PHP MyAdmin without any > > >> >> problems! > > >> >> > > >> >> The only thing I can think of that could be causing this is the > > >> >> syntax of the host name!! maybe I'm wrong, has anyone had this > > problem? > > >> >> > > >> >When I tried to find the IP address for "db141.oneandone.co.uk", I got > > >> >nothing. However I was able to get an address for "oneandone.co.uk" > > >> >using the hostNameToAddress() function. > > >> > > > >> >If the Rev database query builder uses the hostNameToAddress function > > >> before > > >> >trying to connect, it isn't going to work for the host name you have > > >> >supplied. What happens if you use just "oneandone.co.uk"? > > >> > > > >> >When you connect using PHP, does it use the standard MySQL port (3306)? > > >> >If not, you need to add this to the host name e.g. > > >> >oneandone.co.uk:12345 where 12345 is my imaginary port number. > > >> > > > >> >HTH, > > >> >Sarah > > >> > > > >> >_______________________________________________ > > >> >use-revolution mailing list > > >> >use-re > > > > ________________________________ > > > > > > > > > > Visit us at http://www.clearstream.com > > > > IMPORTANT MESSAGE > > > > Internet communications are not secure and therefore Clearstream > > International does not accept legal responsibility for the contents of this > > message. > > > > The information contained in this e-mail is confidential and may be legally > > privileged. It is intended solely for the addressee. If you are not the > > intended recipient, any disclosure, copying, distribution or any action > > taken or omitted to be taken in reliance on it, is prohibited and may be > > unlawful. Any views expressed in this e-mail are those of the individual > > sender, except where the sender specifically states them to be the views of > > Clearstream International or of any of its affiliates or subsidiaries. > > > > END OF DISCLAIMER > From martin.mccarrick at btinternet.com Thu Apr 28 06:23:55 2005 From: martin.mccarrick at btinternet.com (Martin McCarrick) Date: Thu, 28 Apr 2005 11:23:55 +0100 Subject: MySQL Database Query Builder Question In-Reply-To: <9d58de7d05042802481235331a@mail.gmail.com> Message-ID: <20050428103641.12D309300B0@mail.runrev.com> Hi Docmann It seems that I cant even use phpAdmin anymore....I have it installed (v 2.3.2) on my site but cant access it anymore as I would normally, the link I had saved in favourites does nothing now! Not good. Oneandone.co.uk now have a MySQL admin link from within their own web control panel which utilises phpMyadmin 2.6.1, in it there is no access to privileges. I think they have restricted access in favour of me 'upgrading' by the look of it. Martin -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of docmann Sent: 28 April 2005 10:49 To: xbury.cs at clearstream.com Cc: How to use Revolution Subject: Re: MySQL Database Query Builder Question Hello Xavier, Actually there is a link directly from the main phpMyAdmin page where you can check and or change the status (assuming you have the right access privilages). I know that on our LAN, I cannot connect from a remote work station without changing the "Host" settings.... HTH, -Doc- On 4/28/05, xbury.cs at clearstream.com wrote: > > Doc, > > Is this in the config.php file or? > > cheers > Xavier > > > On 28.04.2005 11:32:00 use-revolution-bounces wrote: > >Hello Martin, > >It's a long shot, but there is one more thing to check before giving up... > > > >Using PhpMyAdmin, have a look at the "privilages" that are set up > for >your DB and make sure it is set to "% any", which will allow > access >from any domain address. > > > >-Doc- > > > >On 4/28/05, Martin McCarrick wrote: > >> Xavier > >> > >> Oneandone.co.uk use call centre's in the far east, it's not a > pleasant >> experience trying to simply understand what they are > saying, imagine trying >> to negotiate!! > >> > >> It's a bit flippant I know but my nerve's have been taken to the > limit with >> call centre's. I would love to speak to an English > speaking person who I can >> understand & who isn't simply > referencing a FAQ (that I've already > studied) > >> to provide answers. > >> > >> I think id like to simply change ISP (out the frying pan!) >> >> > Thanks for your help >> >> Martin >> >> >> -----Original > Message----- >> From: use-revolution-bounces at lists.runrev.com > >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> > xbury.cs at clearstream.com >> Sent: 28 April 2005 09:18 >> To: How to > use Revolution >> Subject: RE: MySQL Database Query Builder Question > >> >> Martin, >> >> Later I'll be trying to drive the phpmyadmin > post and gets to make it run >> but as you imagine it's not very > efficient. However i dont really need a >> "live" access to it... > >> > >> Have you tried negotiating with the ISP for it? > >> > >> cheers > >> Xavier > >> > >> On 28.04.2005 10:06:43 use-revolution-bounces wrote: > >> >Thanks Sarah & Xavier > >> > > >> >With PHP 3306 is the port used, I tried changing to >> > 'oneandone.co.uk:port' > >> >with many variations, to no avail. > >> > > >> >It seems that Xavier hit the nail on the head, my ISP wont allow > this >> type >> >of access!! > >> > > >> >I really cant see the point of having a database that I cant access. > >> > > >> >Can anyone recommend a good ISP with 'proper' database hosting > (MySQL >> >PHP >> >etc...) >> > >> >Regards >> > >> > >> > >Martin McCarrick >> > >> > >> > >> > >> >-----Original > Message----- >> >From: use-revolution-bounces at lists.runrev.com > >> >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Sarah >> Reichelt >> >Sent: 28 April 2005 05:00 >> >To: How to use > Revolution >> >Subject: Re: MySQL Database Query Builder Question >> > > >> >Hi Martin, >> > >> >> I'm trying to connect to my database > which is hosted by >> >> oneandone.co.uk. I'm using the database > query builder in RR. > >> >> > >> >> I set the name (Contact), > >> >> host (db141.oneandone.co.uk) - this is the actual server name > >> >> Database (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) > >> >> >> >> When I try to press the connect button I get an error > "Unknown MySQL >> >> Host 'db141.oneandone.co.uk' (11004)' > >> >> > >> >> I am able to connect to the database in PHP MyAdmin without any > >> >> problems! > >> >> > >> >> The only thing I can think of that could be causing this is the > >> >> syntax of the host name!! maybe I'm wrong, has anyone had this > problem? > >> >> > >> >When I tried to find the IP address for "db141.oneandone.co.uk", > I got >> >nothing. However I was able to get an address for "oneandone.co.uk" > >> >using the hostNameToAddress() function. > >> > > >> >If the Rev database query builder uses the hostNameToAddress > function >> before >> >trying to connect, it isn't going to work for > the host name you have >> >supplied. What happens if you use just > "oneandone.co.uk"? > >> > > >> >When you connect using PHP, does it use the standard MySQL port (3306)? > >> >If not, you need to add this to the host name e.g. > >> >oneandone.co.uk:12345 where 12345 is my imaginary port number. > >> > > >> >HTH, > >> >Sarah > >> > > >> >_______________________________________________ > >> >use-revolution mailing list > >> >use-re > > ________________________________ > > > > > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents of > this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, distribution > or any action taken or omitted to be taken in reliance on it, is > prohibited and may be unlawful. Any views expressed in this e-mail are > those of the individual sender, except where the sender specifically > states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. > > END OF DISCLAIMER _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From martin.mccarrick at btinternet.com Thu Apr 28 06:29:27 2005 From: martin.mccarrick at btinternet.com (Martin McCarrick) Date: Thu, 28 Apr 2005 11:29:27 +0100 Subject: MySQL Database Query Builder Question In-Reply-To: <9d58de7d0504280316c4b99a3@mail.gmail.com> Message-ID: <20050428104213.69E20930132@mail.runrev.com> An excerpt taken from oneandone- "The MySQL database is stored on a separate database server behind a firewall to protect your data. You can only access this database server and your database exclusively through your site. Direct access to the MySQL database using a home PC (external ODBC connection) cannot be established." I'm moving Host. Can you suggest anyone? Regards Martin -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of docmann Sent: 28 April 2005 11:16 To: xbury.cs at clearstream.com Cc: How to use Revolution Subject: Re: MySQL Database Query Builder Question As an afterthought, I'd highly recommend that you have a good look at the mySQL documentation in regards to security settings. It would be a good thing to understand the issues *before* making changes. :) -Doc- On 4/28/05, docmann wrote: > Hello Xavier, > Actually there is a link directly from the main phpMyAdmin page where > you can check and or change the status (assuming you have the right > access privilages). > > I know that on our LAN, I cannot connect from a remote work station > without changing the "Host" settings.... > > HTH, > -Doc- > > On 4/28/05, xbury.cs at clearstream.com wrote: > > > > Doc, > > > > Is this in the config.php file or? > > > > cheers > > Xavier > > > > > > On 28.04.2005 11:32:00 use-revolution-bounces wrote: > > >Hello Martin, > > >It's a long shot, but there is one more thing to check before giving up... > > > > > >Using PhpMyAdmin, have a look at the "privilages" that are set up > > for >your DB and make sure it is set to "% any", which will allow > > access >from any domain address. > > > > > >-Doc- > > > > > >On 4/28/05, Martin McCarrick wrote: > > >> Xavier > > >> > > >> Oneandone.co.uk use call centre's in the far east, it's not a > > pleasant >> experience trying to simply understand what they are > > saying, imagine trying >> to negotiate!! > > >> > > >> It's a bit flippant I know but my nerve's have been taken to the > > limit with >> call centre's. I would love to speak to an English > > speaking person who I can >> understand & who isn't simply > > referencing a FAQ (that I've already > > studied) > > >> to provide answers. > > >> > > >> I think id like to simply change ISP (out the frying pan!) >> > > >> Thanks for your help >> >> Martin >> >> >> -----Original > > Message----- >> From: use-revolution-bounces at lists.runrev.com > > >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > >> xbury.cs at clearstream.com >> Sent: 28 April 2005 09:18 >> To: > > How to use Revolution >> Subject: RE: MySQL Database Query Builder > > Question >> >> Martin, >> >> Later I'll be trying to drive the > > phpmyadmin post and gets to make it run >> but as you imagine it's > > not very efficient. However i dont really need a >> "live" access > > to it... > > >> > > >> Have you tried negotiating with the ISP for it? > > >> > > >> cheers > > >> Xavier > > >> > > >> On 28.04.2005 10:06:43 use-revolution-bounces wrote: > > >> >Thanks Sarah & Xavier > > >> > > > >> >With PHP 3306 is the port used, I tried changing to >> > > 'oneandone.co.uk:port' > > >> >with many variations, to no avail. > > >> > > > >> >It seems that Xavier hit the nail on the head, my ISP wont > > allow this >> type >> >of access!! > > >> > > > >> >I really cant see the point of having a database that I cant access. > > >> > > > >> >Can anyone recommend a good ISP with 'proper' database hosting > > (MySQL >> >PHP >> >etc...) >> > >> >Regards >> > >> > >> > > >Martin McCarrick >> > >> > >> > >> > >> >-----Original > > Message----- >> >From: use-revolution-bounces at lists.runrev.com > > >> >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > Sarah >> Reichelt >> >Sent: 28 April 2005 05:00 >> >To: How to > > use Revolution >> >Subject: Re: MySQL Database Query Builder > > Question >> > >> >Hi Martin, >> > >> >> I'm trying to connect to > > my database which is hosted by >> >> oneandone.co.uk. I'm using the > > database query builder in RR. > > >> >> > > >> >> I set the name (Contact), > > >> >> host (db141.oneandone.co.uk) - this is the actual server name > > >> >> Database (dbxxxxxxxx), User (dboxxxxxxxx) Password (xxxxxxxx) > > >> >> >> >> When I try to press the connect button I get an error > > "Unknown MySQL >> >> Host 'db141.oneandone.co.uk' (11004)' > > >> >> > > >> >> I am able to connect to the database in PHP MyAdmin without > > any >> >> problems! > > >> >> > > >> >> The only thing I can think of that could be causing this is > > the >> >> syntax of the host name!! maybe I'm wrong, has anyone had > > this problem? > > >> >> > > >> >When I tried to find the IP address for > > "db141.oneandone.co.uk", I got >> >nothing. However I was able to get an address for "oneandone.co.uk" > > >> >using the hostNameToAddress() function. > > >> > > > >> >If the Rev database query builder uses the hostNameToAddress > > function >> before >> >trying to connect, it isn't going to work > > for the host name you have >> >supplied. What happens if you use > > just "oneandone.co.uk"? > > >> > > > >> >When you connect using PHP, does it use the standard MySQL port (3306)? > > >> >If not, you need to add this to the host name e.g. > > >> >oneandone.co.uk:12345 where 12345 is my imaginary port number. > > >> > > > >> >HTH, > > >> >Sarah > > >> > > > >> >_______________________________________________ > > >> >use-revolution mailing list > > >> >use-re > > > > ________________________________ > > > > > > > > > > Visit us at http://www.clearstream.com > > > > IMPORTANT MESSAGE > > > > Internet communications are not secure and therefore Clearstream > > International does not accept legal responsibility for the contents > > of this message. > > > > The information contained in this e-mail is confidential and may be > > legally privileged. It is intended solely for the addressee. If you > > are not the intended recipient, any disclosure, copying, > > distribution or any action taken or omitted to be taken in reliance > > on it, is prohibited and may be unlawful. Any views expressed in > > this e-mail are those of the individual sender, except where the > > sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. > > > > END OF DISCLAIMER > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From docmann at gmail.com Thu Apr 28 06:31:47 2005 From: docmann at gmail.com (docmann) Date: Thu, 28 Apr 2005 05:31:47 -0500 Subject: MySQL Database Query Builder Question In-Reply-To: <4270b9c2.12c87c53.3d38.ffffed95SMTPIN_ADDED@mx.gmail.com> References: <9d58de7d05042802481235331a@mail.gmail.com> <4270b9c2.12c87c53.3d38.ffffed95SMTPIN_ADDED@mx.gmail.com> Message-ID: <9d58de7d05042803314ffd9050@mail.gmail.com> Hi Martin, I just had a look at the feature matrix provided by your hosting company and an upgrade may in fact be required, depending on the hosting package you have now.... Bummer. :( -Doc- On 4/28/05, Martin McCarrick wrote: > Hi Docmann > > It seems that I cant even use phpAdmin anymore....I have it installed (v > 2.3.2) on my site but cant access it anymore as I would normally, the link I > had saved in favourites does nothing now! Not good. > > Oneandone.co.uk now have a MySQL admin link from within their own web > control panel which utilises phpMyadmin 2.6.1, in it there is no access to > privileges. > > I think they have restricted access in favour of me 'upgrading' by the look > of it From marty at vertex.ucls.uchicago.edu Thu Apr 28 07:08:01 2005 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Thu, 28 Apr 2005 06:08:01 -0500 (CDT) Subject: A Philosophical Point In-Reply-To: <20050428094955.9261493013D@mail.runrev.com> References: <20050428094955.9261493013D@mail.runrev.com> Message-ID: simplsol at aol.com writes: > > Let's not forget that many of Revolution's customers were HyperCard > users - and many of us started x-cards with HypercCard, because it was > free. I got my first copy free with an SE 30 I bought in 1987, have > since bought hundreds of copies of HyperCard. > > This all begs the real question: what is Revolution's target market - > now that all the "low hanging fruit" (HC & MC users) are picked? A lot of schools are turning away from HyperStudio (not supported for the Mac any more, support for the PC seems to be waning) and looking for a replacement. In fact, at NECC (National Educators Computing Conference) our presentation is a comparison of five multi-media environments for those looking for a HyperStudio replacement. I think that Revolution should target this market; this may be what they're aiming for with DreamCard. I wish they hadn't gone with such a different name (RevCard or something), but that's beside the point. Now what they need to do is to become more high-profile and get some documentation out there aimed at teachers (guess I'll have to write that book I've been threatening to....). Now is the time to do it; in a year or two the education market will have settled on a new product. - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From see3d at writeme.com Thu Apr 28 07:55:34 2005 From: see3d at writeme.com (Dennis Brown) Date: Thu, 28 Apr 2005 07:55:34 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> <034a2609c7d66955996ed4804e092ce4@writeme.com> Message-ID: <60d87184f11dc1d70ebe5d22053fd475@writeme.com> Frank, That sounds interesting. How fast can PostgreSQL generate the simple example I showed using an item by item algorithm? Will it really execute faster than Transcript? Dennis On Apr 27, 2005, at 6:39 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Try PostgreSQL, which offers stored procedures. You could write the > complex parts of the algorithms in pl/pgsql, if nothing else -- or > pl/perl, or pl/python, or whatever. > > On Apr 27, 2005, at 12:07 PM, Dennis Brown wrote: > >> Stephen, >> >> The math I want to do is not regular --as in the simple example, but >> very algorithmic on a item by item basis. The overhead of passing >> the data to and from MySQL will kill the speed unless it can do all >> the algorithms internally. Previous attempts have shown this. >> >> Dennis >> >> On Apr 26, 2005, at 9:06 PM, Stephen Barncard wrote: >> >>> MySQL can do math on columns like you want. Very Fast. No loops in >>> transcript. >>> Check out the GROUP BY (Aggregate) Functions. >>> >>> http://dev.mysql.com/doc/mysql/en/group-by-functions.html >>> >>> >>> >>> At 8:06 PM -0400 4/26/05, Dennis Brown wrote: >>>> >>>> >>>> Can anyone think of another way to do this that would be faster >>>> (for accessing parallel arrays, not the trivial adding them >>>> together operation I am doing here). Of course the times are for >>>> my machine and will vary on yours, but the >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCcBSo7aqtWrR9cZoRAqPNAJwNlnoWWFlDlFUkH8iN5flftEyl+wCggQXb > nYgvMmE+WiguK14yohNJ/W4= > =ywu1 > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bnz2 at cdc.gov Thu Apr 28 09:17:49 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 28 Apr 2005 09:17:49 -0400 Subject: Making Revolution faster with really big arrays Message-ID: <64878EF567131D4596246171F75FD4A946A192@m-epo-1.epo.cdc.gov> Is there any sort of math processing / array processing external that can be used by RunRev? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dennis Brown Sent: Thursday, April 28, 2005 7:56 AM To: How to use Revolution Subject: Re: Making Revolution faster with really big arrays Frank, That sounds interesting. How fast can PostgreSQL generate the simple example I showed using an item by item algorithm? Will it really execute faster than Transcript? Dennis On Apr 27, 2005, at 6:39 PM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Try PostgreSQL, which offers stored procedures. You could write the > complex parts of the algorithms in pl/pgsql, if nothing else -- or > pl/perl, or pl/python, or whatever. > > On Apr 27, 2005, at 12:07 PM, Dennis Brown wrote: > >> Stephen, >> >> The math I want to do is not regular --as in the simple example, but >> very algorithmic on a item by item basis. The overhead of passing >> the data to and from MySQL will kill the speed unless it can do all >> the algorithms internally. Previous attempts have shown this. >> >> Dennis >> >> On Apr 26, 2005, at 9:06 PM, Stephen Barncard wrote: >> >>> MySQL can do math on columns like you want. Very Fast. No loops in >>> transcript. >>> Check out the GROUP BY (Aggregate) Functions. >>> >>> http://dev.mysql.com/doc/mysql/en/group-by-functions.html >>> >>> >>> >>> At 8:06 PM -0400 4/26/05, Dennis Brown wrote: >>>> >>>> >>>> Can anyone think of another way to do this that would be faster >>>> (for accessing parallel arrays, not the trivial adding them >>>> together operation I am doing here). Of course the times are for >>>> my machine and will vary on yours, but the >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCcBSo7aqtWrR9cZoRAqPNAJwNlnoWWFlDlFUkH8iN5flftEyl+wCggQXb > nYgvMmE+WiguK14yohNJ/W4= > =ywu1 > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From fde101 at fjrhome.net Thu Apr 28 10:00:37 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 28 Apr 2005 10:00:37 -0400 Subject: Variable question In-Reply-To: References: <64099c2fabcc564b3de18c8ab21c6984@adelphia.net> Message-ID: <9da417e83adc5568d1e84f153ddd9628@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 27, 2005, at 8:48 PM, Brian Yennie wrote: >> Is it OK to ask " if item 1 is not among the lines of lSeq " >> even though this is the first instance of lSeq? > > It should be, yes. It will just be FALSE, since lSeq is empty. No, if this is the first instance of lSeq, then lSeq will contain the value "lSeq". - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCcOyG7aqtWrR9cZoRAjUSAKCIBrnP/q7RkZCggCSu2kTwf7hUFwCff8UC GBepxm66joetiaH0/oZrdHw= =PPFc -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Thu Apr 28 10:04:51 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 28 Apr 2005 10:04:51 -0400 Subject: Unicode Displaying in Runtime Revolution #2 In-Reply-To: <2fafddd63f4b1e0c8aca473a4954cf99@mangomultimedia.com> References: <426722DA.4020508@netgalileo.com> <426CA833.6010701@netgalileo.com> <2fafddd63f4b1e0c8aca473a4954cf99@mangomultimedia.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The only thing I can think of with regard to using ODBC is that this may be a limitation of the ODBC driver? You should check any settings the driver provides to see if there is something in there which may affect this, and you should check the docs of the driver to see if there is a limitation of some kind. On Apr 27, 2005, at 11:20 PM, Trevor DeVore wrote: > On Apr 25, 2005, at 1:20 AM, Marisa K. wrote: > >> Hello Trevor, >> >> Thank you so much for your reply. >> >> I had tried on your suggestion(using cursors) but it didn't work with >> me, still. While, English texts can be displayed just fine, Thai's >> texts cannot. >> >> Well, I connect to the database through ODBC. Do you think this is >> where the problem is? >> >> Every suggestions are welcome as I'm willing to try. > > I haven't used ODBC much so I'm not sure if that could cause the > problem or not. What database are you using? Can you try connecting > directly to it and seeing if that solves the problem? > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCcO2D7aqtWrR9cZoRAuqhAJsEcrAyO9lX8NOVFsVYLz8eVanLAACfRhNW MzJAEB1e3oQmKWu1e6BFciE= =rEIF -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From revlist at cableone.net Thu Apr 28 10:08:06 2005 From: revlist at cableone.net (Chris Sheffield) Date: Thu, 28 Apr 2005 08:08:06 -0600 Subject: OT: sample contracts and non-disclosure agreements In-Reply-To: Message-ID: <1114697308_99890@S1.cableone.net> Thanks, Ken. That's great. I appreciate it. Chris -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Wednesday, April 27, 2005 9:24 PM To: Use Revolution List Subject: Re: OT: sample contracts and non-disclosure agreements On 4/27/05 7:47 PM, "Chris Sheffield" wrote: > Hi all, > > I am starting my very first contract job using Revolution, and I'm trying to > come up with a good contract for my client and me to sign. A NDA clause or > even a separate NDA would also be welcome. > > Does anyone have some samples they'd be willing to share? I just want to > make sure I do this right and protect myself and my client, and I don't have > much experience when it comes to the legal stuff. :-) Here's one I use: http://www.sonsothunder.com/services/nda.htm HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005 From fde101 at fjrhome.net Thu Apr 28 10:18:08 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Thu, 28 Apr 2005 10:18:08 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <60d87184f11dc1d70ebe5d22053fd475@writeme.com> References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> <034a2609c7d66955996ed4804e092ce4@writeme.com> <60d87184f11dc1d70ebe5d22053fd475@writeme.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I haven't actually tried it with this type of algorithm, so I really don't know, and I've already deleted the eMail with the sample code; you'd need to send that code out again for me to even try testing it for you. The docs for pl/pgsql are part of the standard PostgreSQL docs on their web site. On Apr 28, 2005, at 7:55 AM, Dennis Brown wrote: > Frank, > > That sounds interesting. How fast can PostgreSQL generate the simple > example I showed using an item by item algorithm? Will it really > execute faster than Transcript? > > Dennis > On Apr 27, 2005, at 6:39 PM, Frank D. Engel, Jr. wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Try PostgreSQL, which offers stored procedures. You could write the >> complex parts of the algorithms in pl/pgsql, if nothing else -- or >> pl/perl, or pl/python, or whatever. >> >> On Apr 27, 2005, at 12:07 PM, Dennis Brown wrote: >> >>> Stephen, >>> >>> The math I want to do is not regular --as in the simple example, but >>> very algorithmic on a item by item basis. The overhead of passing >>> the data to and from MySQL will kill the speed unless it can do all >>> the algorithms internally. Previous attempts have shown this. >>> >>> Dennis >>> >>> On Apr 26, 2005, at 9:06 PM, Stephen Barncard wrote: >>> >>>> MySQL can do math on columns like you want. Very Fast. No loops in >>>> transcript. >>>> Check out the GROUP BY (Aggregate) Functions. >>>> >>>> http://dev.mysql.com/doc/mysql/en/group-by-functions.html >>>> >>>> >>>> >>>> At 8:06 PM -0400 4/26/05, Dennis Brown wrote: >>>>> >>>>> >>>>> Can anyone think of another way to do this that would be faster >>>>> (for accessing parallel arrays, not the trivial adding them >>>>> together operation I am doing here). Of course the times are for >>>>> my machine and will vary on yours, but the >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> - ----------------------------------------------------------- >> Frank D. Engel, Jr. >> >> $ ln -s /usr/share/kjvbible /usr/manual >> $ true | cat /usr/manual | grep "John 3:16" >> John 3:16 For God so loved the world, that he gave his only begotten >> Son, that whosoever believeth in him should not perish, but have >> everlasting life. >> $ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (Darwin) >> >> iD8DBQFCcBSo7aqtWrR9cZoRAqPNAJwNlnoWWFlDlFUkH8iN5flftEyl+wCggQXb >> nYgvMmE+WiguK14yohNJ/W4= >> =ywu1 >> -----END PGP SIGNATURE----- >> >> >> >> ___________________________________________________________ >> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer >> 10 Personalized POP and Web E-mail Accounts, and much more. >> Signup at www.doteasy.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCcPCh7aqtWrR9cZoRArEPAJwPHbNQwyQrB9tjgYafbgBNJGgD0ACfZtJ5 insu3ilsQFOP1YzigsGenJw= =7UAW -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From simplsol at aol.com Thu Apr 28 10:47:35 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Thu, 28 Apr 2005 10:47:35 -0400 Subject: Problem with "convert it to seconds" In-Reply-To: References: <426CE3BD.ECEB146D@Club-Internet.fr> Message-ID: <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> Sarah, You can not rant often enough about Rev.'s time "peculiarities"! This is an undocumented time bomb waiting for evey new user. It should have been fixed at least two years ago. PL -----Original Message----- From: Sarah Reichelt To: How to use Revolution Sent: Thu, 28 Apr 2005 14:34:37 +1000 Subject: Re: Problem with "convert it to seconds" > When using the convert function in Rev cgi Linux and? > in Rev Mac OS9 (or Win XP) I get different results :? > - Rev cgi : 1114427491? > - Rev Win XP : 1114423891? >? > There's a 3600 seconds difference, and I vaguely remember? > a discussion (in the old MC days) about the fact that the cgi? > engine calling a unix convert function that doesn't take into? > account the summer / winter time change...? > Anyone has some info about this (or a workaround) ?? >? WARNING: long rant about Rev's time handling!!? ? I have only encountered this on Mac OS X but it is a real problem. I can confirm that it happens, but the only solution I worked out used AppleScript. There may be a Unix method you could use, so I'll explain what I do.? ? In Rev, I use "the internet date" to give me the time zone (it's the last word), then I use AppleScript to give me the number of minutes to GMT. AppleScript gives me the time zone INCLUDING any daylight savings component, rev's gives me the time zone ignoring daylight saving. I then use the difference between these 2 to get the current amount of daylight savings time, so I can apply this as necessary.? ? I have a further problem with "the seconds" which I will describe in case anyone else finds it a problem. It reports the number of seconds since midnight on 1/1/1970 GMT. The fact that it is GMT is crucial as it means that the number returned by the seconds is not an absolute date & time but depends on the time zone of the computer that is converting it. For example, I operate a remote computer in a different time zone that logs certain events using time stamps in seconds. It then sends me that log and I convert the time stamps to date & time. Because I am in a different time zone, the times change.? ? I am in time zone +1000 and the remote computer is in +0930. A log entry gets added at the remote computer at 5:30 am. It sends me the report and the log entry gets translated as having happened at 6 am. Now it was 6 am for me when it happened, so the seconds is reporting the actual moment in time, but I want to know what the local time was when the event happened, so again I am forced into weird convolutions where I have to allow for differences in time zones whenever data is transferred from a remote machine.? ? While I am stuck using the seconds because other programs depend on getting data in that format, I recommend using another method if at all possible. Julian time would now be my preferred option for a numeric time stamp. Unfortunately, my system originally used HyperCard where a numeric value in seconds ALWAYS translated to the same date & time regardless of time zones.? ? If you want to test this, try the following script:? ? put 1113336031 into t? convert t to short date and long time? put t? ? If I use my local time - Brisbane, Australia (+1000), I get: 4/13/05 6:00:31 AM? But if I switch to Adelaide, Australia (+0930), I get: 4/13/05 5:30:31 AM? ? You will get a varying date & time depending on your local time zone and current daylight savings setting.? ? Cheers,? Sarah? ? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? http://lists.runrev.com/mailman/listinfo/use-revolution? From stephenREVOLUTION at barncard.com Thu Apr 28 11:38:42 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 28 Apr 2005 08:38:42 -0700 Subject: MySQL Database Query Builder Question In-Reply-To: <20050428081929.09A0E9300AD@mail.runrev.com> References: <20050428081929.09A0E9300AD@mail.runrev.com> Message-ID: Dreamhost. <$10/month for all goodies. Great dedicated deals too. I host 15 sites there. Even the 'shared' hosting rocks... >Can anyone recommend a good ISP with 'proper' database hosting (MySQL PHP >etc...) > >Regards > >Martin McCarrick From mwieder at ahsoftware.net Thu Apr 28 11:53:05 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 28 Apr 2005 08:53:05 -0700 Subject: Variable question In-Reply-To: <9da417e83adc5568d1e84f153ddd9628@fjrhome.net> References: <64099c2fabcc564b3de18c8ab21c6984@adelphia.net> <9da417e83adc5568d1e84f153ddd9628@fjrhome.net> Message-ID: <171665114.20050428085305@ahsoftware.net> Frank- Thursday, April 28, 2005, 7:00:37 AM, you wrote: >>> Is it OK to ask " if item 1 is not among the lines of lSeq " >>> even though this is the first instance of lSeq? >> >> It should be, yes. It will just be FALSE, since lSeq is empty. FDEJ> No, if this is the first instance of lSeq, then lSeq will contain the FDEJ> value "lSeq". ...not if you declare your variables ...then things work as expected. -- -Mark Wieder mwieder at ahsoftware.net From see3d at writeme.com Thu Apr 28 11:59:15 2005 From: see3d at writeme.com (Dennis Brown) Date: Thu, 28 Apr 2005 11:59:15 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> <034a2609c7d66955996ed4804e092ce4@writeme.com> <60d87184f11dc1d70ebe5d22053fd475@writeme.com> Message-ID: On Apr 28, 2005, at 10:18 AM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I haven't actually tried it with this type of algorithm, so I really > don't know, and I've already deleted the eMail with the sample code; > you'd need to send that code out again for me to even try testing it > for you. > > The docs for pl/pgsql are part of the standard PostgreSQL docs on > their web site. > > > On Apr 28, 2005, at 7:55 AM, Dennis Brown wrote: > >> Frank, >> >> That sounds interesting. How fast can PostgreSQL generate the simple >> example I showed using an item by item algorithm? Will it really >> execute faster than Transcript? >> >> Dennis >> On Apr 27, 2005, at 6:39 PM, Frank D. Engel, Jr. wrote: >> Frank, This is a simplified algorithm that I think would best translate directly between Transcript and PostgreSQL for a time trial. Just make sure the PostgreSQL code is an item by item algorithm also. Thanks, Dennis Transcript output on my machine: 1,000,000 Element Sum = 500500000 Elapsed Time = 11.467659 seconds. on mouseUp global gTestArray if number of lines of the keys of gTestArray is not 1000000 then --already done the init put empty into gTestArray --start with an empty a variable repeat with x = 1 to 1000 repeat with y = 1 to 1000 put x into gTestArray[x,y] end repeat end repeat end if -- put the long seconds into st Method6 get the long seconds put " Elapsed Time ="&&(it - st)&&"seconds." after msg end mouseUp on Method6 -- Add elements using keyed arrays global gTestArray put 0 into total repeat with x = 1 to 1000 repeat with y = 1 to 1000 add gTestArray[x,y] to total end repeat end repeat put "1,000,000 Element Sum = "&total end Method6 -- From 3mcgrath at adelphia.net Thu Apr 28 14:32:46 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Apr 2005 14:32:46 -0400 Subject: Variable question In-Reply-To: <171665114.20050428085305@ahsoftware.net> References: <64099c2fabcc564b3de18c8ab21c6984@adelphia.net> <9da417e83adc5568d1e84f153ddd9628@fjrhome.net> <171665114.20050428085305@ahsoftware.net> Message-ID: Mark, Actually it worked as expected but I wanted to check here first on the 'right' way to do it since it did seem like it should not work. It may just be that the first time around in the repeat it was lSeq and item 1 was not that so it worked then the next time it was an actual item. So just to be sure, I should declare the lSeq local as a Local then it will be "" or empty but not lSeq ? Seems right. Local lSeg on handler.... if item 1 is not among the lines of lSeq then .... end if end handler..... Thanks Tom On Apr 28, 2005, at 11:53 AM, Mark Wieder wrote: > Frank- > > Thursday, April 28, 2005, 7:00:37 AM, you wrote: > >>>> Is it OK to ask " if item 1 is not among the lines of lSeq " >>>> even though this is the first instance of lSeq? >>> >>> It should be, yes. It will just be FALSE, since lSeq is empty. > > FDEJ> No, if this is the first instance of lSeq, then lSeq will > contain the > FDEJ> value "lSeq". > > ...not if you declare your variables ...then things work as expected. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Thu Apr 28 14:36:43 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Apr 2005 14:36:43 -0400 Subject: I hate mousedown In-Reply-To: <64878EF567131D4596246171F75FD4A97445A6@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445A6@m-epo-1.epo.cdc.gov> Message-ID: Jonathan, I did not understand this because I am not dragging anything. Are you saying that drag messages will be sent even if I am not dragging something? If so than I say HHMMM - didn't know that one.... Thanks Tom On Apr 27, 2005, at 3:58 PM, Lynch, Jonathan wrote: >> SO if I press the mouseDown I want to move from >> btn to btn and see a label for that btn and do some other things. > > I believe you can accomplish this with setting the dragdata on > mousedown, and using dragenter after that: > > On MouseDown > Set the dragdata to "Yo Mama" > End mousedown > > In the group, card, or stack script: > > On DragEnter > If the dragdata = "Yo Mama" then > Set the label of the target to "Greetings" > End if > End dragenter > > I will play with this approach in a stack, and see if it works. A > dragenter message is only sent of the dragdata is not empty. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas > McGrath III > Sent: Wednesday, April 27, 2005 3:48 PM > To: How to use Revolution > Subject: Re: I hate mousedown > > Jonathan, > > I have a palette of 18 buttons that I want to act upon once a mouse > down has been pressed. SO if I press the mouseDown I want to move from > btn to btn and see a label for that btn and do some other things. But > any messages are sent back to the original control that received the > mouseDown including the mouseUp, mousewithin, mouseenter, mouseleave, > mousestilldown etc. Even the mousemove gets sent. > > I had to use a mouseDown with a call to another message and do a 'send > in'. Then I had to do a 'if the mouse is up' and a 'if the mouse is > down' in order to do what I need. But now it only works sporadically. > > I just need a Down message that works when the mouse is down and KNOWS > what btn it is over. > > I used this script from Eric: > on mouseDown > global theKeys, thecheck > if the short name of the target is among the lines of theKeys then > -- > if "button" is in the target then > CheckOtherButtons -- ? > end if > end mouseDown > --------------------------------------- > on CheckOtherButtons > global theKeys, thecheck > if the mouse is up then > set the hilite of btn thecheck to false > revspeak "mouse up" && thecheck > put "" into thecheck > exit CheckOtherButtons > end if > if thecheck is not empty then > set the hilite of btn thecheck to false > end if > repeat for each line i in theKeys --with i = 1 to the number of btns > if the mouseLoc is within the rect of btn i then > set the hilite of btn i to true > put i into thecheck > cPreviewKey i > end if > end repeat > send "CheckOtherButtons" to me in 5 milliseconds -- 50 > end CheckOtherButtons > > On Apr 27, 2005, at 2:55 PM, Lynch, Jonathan wrote: > >> Is there a particular situation where it is not working? > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From 3mcgrath at adelphia.net Thu Apr 28 14:52:46 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Apr 2005 14:52:46 -0400 Subject: I hate mousedown In-Reply-To: <64878EF567131D4596246171F75FD4A946A18B@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A946A18B@m-epo-1.epo.cdc.gov> Message-ID: <09e79775f1e78edc34065a22419000ad@adelphia.net> Progress Report: Well I still have some bad feelings for all that mouseDown won't let me do, but I don't hate it any more. It turns out the problem was that the (Send "x" to ME in 50 milliseconds) was overriding my global that was set with ( put the short name of the target into xGlobal) in the repeat loop. It should have been obvious since the problem was me and not mousedown and there is the word ME staring me in the face. Oh well, I do feel better now though. Things I love: The Use Revolution List. if x is among the lines of y then if item 1 of x is not among the items of y then repeat for each line i in x if the mouseLoc is within the rect of btn i then if there is a btn x then if there is an image x then if the mouse is up if the mouse is down Things I have mixed feelings about: put the short name of the target into x (in repeats where it should stay the same but doesn't sometimes) send "function name" to me in 50 milliseconds (where me turns out to be the card this function is in, and makes the target be not the btn that mousedown was pressed in) Things I hate: hangnails abusive people and maybe the limitations in mouseDown Thanks to all of you for helping me, Tom > Oh, I know it hates me. I've been abusing it for four days now. > > On Apr 27, 2005, at 2:32 PM, Lynch, Jonathan wrote: > >> How do you suppose mousedown feels towards you? >> >> I hate mousedown Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From bnz2 at cdc.gov Thu Apr 28 14:55:18 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 28 Apr 2005 14:55:18 -0400 Subject: I hate mousedown Message-ID: <64878EF567131D4596246171F75FD4A97445A8@m-epo-1.epo.cdc.gov> Indeed... If you put something into the dragdata, then yes, drag messages will be sent. If what you want is for objects under a mouse to receive a message when the mouse enters the screen area of that message, while the mousebutton is currently being pressed, then that is the way to do it. Mouseenter does not work while the mouse button is down. Dragenter works, but only if something is being dragged. So - on mousedown for a given button, you put something into the dragdata - then something is being dragged and a dragenter message will be sent when the mouse enters another object. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Thursday, April 28, 2005 2:37 PM To: How to use Revolution Subject: Re: I hate mousedown Jonathan, I did not understand this because I am not dragging anything. Are you saying that drag messages will be sent even if I am not dragging something? If so than I say HHMMM - didn't know that one.... Thanks Tom On Apr 27, 2005, at 3:58 PM, Lynch, Jonathan wrote: >> SO if I press the mouseDown I want to move from >> btn to btn and see a label for that btn and do some other things. > > I believe you can accomplish this with setting the dragdata on > mousedown, and using dragenter after that: > > On MouseDown > Set the dragdata to "Yo Mama" > End mousedown > > In the group, card, or stack script: > > On DragEnter > If the dragdata = "Yo Mama" then > Set the label of the target to "Greetings" > End if > End dragenter > > I will play with this approach in a stack, and see if it works. A > dragenter message is only sent of the dragdata is not empty. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas > McGrath III > Sent: Wednesday, April 27, 2005 3:48 PM > To: How to use Revolution > Subject: Re: I hate mousedown > > Jonathan, > > I have a palette of 18 buttons that I want to act upon once a mouse > down has been pressed. SO if I press the mouseDown I want to move from > btn to btn and see a label for that btn and do some other things. But > any messages are sent back to the original control that received the > mouseDown including the mouseUp, mousewithin, mouseenter, mouseleave, > mousestilldown etc. Even the mousemove gets sent. > > I had to use a mouseDown with a call to another message and do a 'send > in'. Then I had to do a 'if the mouse is up' and a 'if the mouse is > down' in order to do what I need. But now it only works sporadically. > > I just need a Down message that works when the mouse is down and KNOWS > what btn it is over. > > I used this script from Eric: > on mouseDown > global theKeys, thecheck > if the short name of the target is among the lines of theKeys then > -- > if "button" is in the target then > CheckOtherButtons -- ? > end if > end mouseDown > --------------------------------------- > on CheckOtherButtons > global theKeys, thecheck > if the mouse is up then > set the hilite of btn thecheck to false > revspeak "mouse up" && thecheck > put "" into thecheck > exit CheckOtherButtons > end if > if thecheck is not empty then > set the hilite of btn thecheck to false > end if > repeat for each line i in theKeys --with i = 1 to the number of btns > if the mouseLoc is within the rect of btn i then > set the hilite of btn i to true > put i into thecheck > cPreviewKey i > end if > end repeat > send "CheckOtherButtons" to me in 5 milliseconds -- 50 > end CheckOtherButtons > > On Apr 27, 2005, at 2:55 PM, Lynch, Jonathan wrote: > >> Is there a particular situation where it is not working? > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Thu Apr 28 15:51:18 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 28 Apr 2005 12:51:18 -0700 (PDT) Subject: A Philosophical Point In-Reply-To: Message-ID: Marty, When is your conference? Judy On Thu, 28 Apr 2005, Marty Billingsley wrote: > replacement. In fact, at NECC (National Educators Computing Conference) > our presentation is a comparison of five multi-media environments for > those looking for a HyperStudio replacement. > > I think that Revolution should target this market; this may be what > they're aiming for with DreamCard. I wish they hadn't gone with such > a different name (RevCard or something), but that's beside the point. > > Now what they need to do is to become more high-profile and get some > documentation out there aimed at teachers (guess I'll have to write > that book I've been threatening to....). Now is the time to do it; > in a year or two the education market will have settled on a new product. From jbv.silences at Club-Internet.fr Thu Apr 28 16:54:18 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 28 Apr 2005 22:54:18 +0200 Subject: Problem with "convert it to seconds" References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> Message-ID: <42714D79.43478CAC@Club-Internet.fr> Thanks for the help Sarah. Actually I went for a similar solution : as I'm running Rev cgi on a Linux box, I do most of the time computations through MySQL... > Sarah, > You can not rant often enough about Rev.'s time "peculiarities"! This > is an undocumented time bomb waiting for evey new user. It should have > been fixed at least two years ago. > PL > I kind of agree with that... JB From simplsol at aol.com Thu Apr 28 18:07:25 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Thu, 28 Apr 2005 18:07:25 -0400 Subject: Problem with "convert it to seconds" In-Reply-To: <42714D79.43478CAC@Club-Internet.fr> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <42714D79.43478CAC@Club-Internet.fr> Message-ID: <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> JB You "kind of agree" ? This is an undocumented, non-intuitive way of handling dates and times which will break seconds and dateItem scripts created by non-suspecting users twice a year. How can the Rev. team justify the difficulty of doing what should be a simple process of getting the date for then next day - as late as Version 2.5? Paul Looney -----Original Message----- From: jbv To: How to use Revolution Sent: Thu, 28 Apr 2005 22:54:18 +0200 Subject: Re: Problem with "convert it to seconds" Thanks for the help Sarah. Actually I went for a similar solution : as I'm running Rev cgi on a Linux box, I do most of the time computations through MySQL... > Sarah, > You can not rant often enough about Rev.'s time "peculiarities"! This > is an undocumented time bomb waiting for evey new user. It should have > been fixed at least two years ago. > PL > I kind of agree with that... JB _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Thu Apr 28 18:07:50 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Apr 2005 18:07:50 -0400 Subject: I hate mousedown In-Reply-To: <64878EF567131D4596246171F75FD4A97445A8@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445A8@m-epo-1.epo.cdc.gov> Message-ID: <0ec212781cb0d717f6441ef518723206@adelphia.net> Jonathan, I did not know that at all. I haven't played with the drag stuff too many times. I am intrigued by it and am off to test some code. It is sort of like faking the drag in order to make use of the other messages. Very cool. Thank you very much, Tom On Apr 28, 2005, at 2:55 PM, Lynch, Jonathan wrote: > If you put something into the dragdata, then yes, drag messages will > be sent. > > If what you want is for objects under a mouse to receive a message > when the mouse enters the screen area of that message, while the > mousebutton is currently being pressed, then that is the way to do it. > > Mouseenter does not work while the mouse button is down. Dragenter > works, but only if something is being dragged. So - on mousedown for a > given button, you put something into the dragdata - then something is > being dragged and a dragenter message will be sent when the mouse > enters another object. Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From katir at hindu.org Thu Apr 28 20:10:32 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 28 Apr 2005 14:10:32 -1000 Subject: Unicode problem In-Reply-To: References: <765ff257564b98d4061bfc16ee292996@pandora.be> <1dae2cd3fa74b2cd8d470db1bb26627d@fjrhome.net> Message-ID: <04d9bb887102cfa5a30d9a96a211658e@hindu.org> Aloha, Ton: Could you send me your stack off list? I do a *lot* of work getting text in and out of InDesign, every day, every week. I'm interested in seeing how this works. You said: "InDesign uses OpenType or double-byte fonts. These are unicode fonts." Tell us more! :-) where can you get info on IDCS internal coding... I'm especially interested in controlling the encoding of exported XML files which would them be programatically worked over in Revolution or BBedit and then reloaded into InDesign. In particular, to find a way to have everything move through in the same encoding spec UTF-8 or UTF-16.. both of these give troubles in one context or another and I haven't quite figured out what is going on... and I don't see a place in IDCS to set the encoding format for XML export. and your S & R stack could be very useful here. Are you tying in with AppleScript? And (one more...) is the Revolution UnicodeText in UTF-8 or UTF-16... or is this not even a valid question? Typical scenarios here would be: export XML from InDesign, run through some program in Revolution, save as a text file, open in BBEdit manually fix things, save, use for the web or import with tags mapped to styles back into InDesign... at this point, I usually hit a wall at one transformation point or another...characters are all "messed up" and I don't know how to get back to what was in InDesign in the first place... Aside: Do you know if Adobe is using some unicode code points from the private block for white space? Best from Hawaii Sivakatirswami Himalayan Academy Publications at Kauai's Hindu Monastery katir at hindu.org www.HimalayanAcademy.com, www.HinduismToday.com On Apr 20, 2005, at 10:17 AM, Ton Kuypers wrote: > Sometimes life can be so simple... > > I tried > set the htmlText of line 7 of field "Target" to field "Source" > and > set the unicodeText of line 7 of field "Target" to field "Source" > > but just forgot to add the last part: the htmlText of field "Source" > > Using the htmlText for both fields works like a charm! > > > Thanks a lot!!!! > > > Ton Kuypers > Digital Media Partners bvba > Tel. +32 (0)477 / 739 530 > Fax +32 (0)14 / 71 03 04 > http://www.dmp-int.com > > > On 20-apr-05, at 16:55, Frank D. Engel, Jr. wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Did you try using the htmlText of that line rather than just the >> plaintext of the line? In other words, something like this: >> >> set the htmlText of line 7 of field "Target" to the htmlText of field >> "Source" >> >> >> On Apr 20, 2005, at 9:28 AM, Ton Kuypers wrote: >> >>> I've created a search & replace application to be used from within >>> Adobe Indesign and it works perfectly: >>> A list with search words, a second list with replace words, some >>> options and Indesign has got a supercharged S&R function with whole >>> lists of words replaced by one click on a button. >>> To add words to the list, one can enter it in a "Search" textfield, >>> the second part in the "replace" textfield. An add button adds it to >>> the list. >>> >>> But... >>> >>> InDesign uses OpenType or double-byte fonts. These are unicode fonts. >>> When copying a word from a page in InDesign the clipboard contains >>> te text with the special characters, but they are mixed (unicode and >>> regular). >>> >>> Problem: >>> - Paste in the entry field shows the correct text, moving it up to >>> the list doesn't. >>> Solution: >>> - Loop through the characters in the entry field and set the unicode >>> text or the regular text of the correct line in the list. >>> Question: >>> - Is there a better way to do this? >>> >>> Problem 2: >>> I know what number the last line of the list is, so I put this >>> number + 1 into a var. Each new line will be entered into line >>> varName. >>> - When the last line of the list is a unicode text, the next line is >>> entered on the same line, it seams that the linenumber in the var >>> doesn't have any effect anymore. >>> I've tried to add a CR after that line, but no luck :-( >>> >>> Anyone any solutions or remarks? >>> >>> >>> Regards, >>> >>> >>> Ton Kuypers >>> Digital Media Partners bvba >>> Tel. +32 (0)477 / 739 530 >>> Fax +32 (0)14 / 71 03 04 >>> http://www.dmp-int.com >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> - ----------------------------------------------------------- >> Frank D. Engel, Jr. >> >> $ ln -s /usr/share/kjvbible /usr/manual >> $ true | cat /usr/manual | grep "John 3:16" >> John 3:16 For God so loved the world, that he gave his only begotten >> Son, that whosoever believeth in him should not perish, but have >> everlasting life. >> $ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (Darwin) >> >> iD8DBQFCZm1h7aqtWrR9cZoRAuPVAJ4ivgljtrwI3PE58x4aJ+qz2DO/oQCfbwNV >> 9nZ5zk0hQ3d1+J41A4aB7ME= >> =wlpi >> -----END PGP SIGNATURE----- >> >> >> >> ___________________________________________________________ >> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer >> 10 Personalized POP and Web E-mail Accounts, and much more. >> Signup at www.doteasy.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From varen at veggio.com Fri Apr 29 02:03:51 2005 From: varen at veggio.com (Varen Swaab) Date: Thu, 28 Apr 2005 23:03:51 -0700 Subject: linebreak in text In-Reply-To: <4270291B.2060602@comcast.net> Message-ID: Thanks Phil, that worked perfectly. Var On 4/27/05 5:06 PM, "Phil Davis" wrote: > Varen Swaab wrote: >> Hi everybody, >> >> I know this is probably a really simple matter but I'm trying to take >> this line of code: >> >> put session_name&&"on date"&&session_date into fld "message" >> >> and display it so there is a line break before the words "on date", >> then, to make it more complicated, I'd like to change the size of the >> font for the first word only. > > Hi Varen, > > Try using 'cr' or 'return' to create line breaks, like this: > > put session_name & cr & "on date" & session_date into fld "message" > set the textSize of word 1 of fld "message" to 72 -- ha ha > > Phil Davis > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > Varen Swaab From jbv.silences at Club-Internet.fr Fri Apr 29 02:31:40 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 29 Apr 2005 08:31:40 +0200 Subject: Problem with "convert it to seconds" References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> Message-ID: <4271D4CB.2D87416C@Club-Internet.fr> Paul, My remark was a "kind of" understatement... Of course I DO agree... JB > JB > You "kind of agree" ? > This is an undocumented, non-intuitive way of handling dates and times > which will break seconds and dateItem scripts created by non-suspecting > users twice a year. > How can the Rev. team justify the difficulty of doing what should be a > simple process of getting the date for then next day - as late as > Version 2.5? > Paul Looney > > -----Original Message----- > From: jbv > To: How to use Revolution > Sent: Thu, 28 Apr 2005 22:54:18 +0200 > Subject: Re: Problem with "convert it to seconds" > > Thanks for the help Sarah. > Actually I went for a similar solution : as I'm running Rev cgi > on a Linux box, I do most of the time computations through > MySQL... > > > Sarah, > > You can not rant often enough about Rev.'s time "peculiarities"! > This > > is an undocumented time bomb waiting for evey new user. It should have > > been fixed at least two years ago. > > PL > > > > I kind of agree with that... > > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Apr 29 02:31:06 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 29 Apr 2005 01:31:06 -0500 Subject: Problem with "convert it to seconds" In-Reply-To: <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> Message-ID: <4271D4AA.5010504@fourthworld.com> > I have a further problem with "the seconds" which I will describe in > case anyone else finds it a problem. It reports the number of seconds > since midnight on 1/1/1970 GMT. The fact that it is GMT is crucial as it > means that the number returned by the seconds is not an absolute date & > time but depends on the time zone of the computer that is converting it. > For example, I operate a remote computer in a different time zone that > logs certain events using time stamps in seconds. It then sends me that > log and I convert the time stamps to date & time. Because I am in a > different time zone, the times change. > > I am in time zone +1000 and the remote computer is in +0930. A log > entry gets added at the remote computer at 5:30 am. It sends me the > report and the log entry gets translated as having happened at 6 am. Now > it was 6 am for me when it happened, so the seconds is reporting the > actual moment in time, but I want to know what the local time was when > the event happened, so again I am forced into weird convolutions where I > have to allow for differences in time zones whenever data is transferred > from a remote machine. > > While I am stuck using the seconds because other programs depend on > getting data in that format, I recommend using another method if at all > possible. Julian time would now be my preferred option for a numeric > time stamp. Unfortunately, my system originally used HyperCard where a > numeric value in seconds ALWAYS translated to the same date & time > regardless of time zones. > > If you want to test this, try the following script: > > put 1113336031 into t > convert t to short date and long time > put t > > If I use my local time - Brisbane, Australia (+1000), I get: 4/13/05 > 6:00:31 AM > But if I switch to Adelaide, Australia (+0930), I get: 4/13/05 5:30:31 AM > > You will get a varying date & time depending on your local time zone > and current daylight savings setting. While the old HyperCard method failed to take DST into account when needed, when not needed the Rev method fails. I'll toss in my votes for a way to let the developer choose the method most appropriate to the task at hand. What's the Bugzilla #? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jbv.silences at Club-Internet.fr Fri Apr 29 02:44:48 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 29 Apr 2005 08:44:48 +0200 Subject: Problem with "convert it to seconds" References: <426CE3BD.ECEB146D@Club-Internet.fr> <4271D4AA.5010504@fourthworld.com> Message-ID: <4271D7DF.7A908598@Club-Internet.fr> Richard, > > > You will get a varying date & time depending on your local time zone > > and current daylight savings setting. > > While the old HyperCard method failed to take DST into account when > needed, when not needed the Rev method fails. > > I'll toss in my votes for a way to let the developer choose the method > most appropriate to the task at hand. > > What's the Bugzilla #? I'm not sure but I wonder if there is any Bugzilla entrie for that... Furthermore, I wonder if my initial problem is related to the time zone problem : as said in my 1st post, I get different results on different platforms which are all in the same time zone... JB From jcarwardine at hfx.eastlink.ca Thu Apr 28 14:55:15 2005 From: jcarwardine at hfx.eastlink.ca (Jim Carwardine) Date: Thu, 28 Apr 2005 15:55:15 -0300 Subject: A Philosophical Point In-Reply-To: Message-ID: I don't need to know this, John. How is RunRev to stay in business if they don't charge for their product? You of all people should know how much overhead is required to produce bug-free code. RunRev could not sustain itself unless it turned open source and that's not the business model they are running on. For my sake, please stay off the list... Jim on 4/26/05 6:05 PM, Mathewson wrote: > I recently completed a Master's thesis at the University of > Abertay, Dundee. > It was mainly concerned with designing a new Graphic User > Interface for computers (and may be read, in its entirety, > on my website at http://members.maclaunch.com/richmond), > and had at its heart a prototype developed using a version > of Runtime Revolution. The reason I chose to use Runtime > Revolution was based largely on the fact that I have 12 > years of experience using what has come to be called > 'xTalk' but when I started was called 'HyperTalk'. > > While I believe that Runtime Revolution produce an > extremely good programming interface that uses a dialect of > 'xTalk' I have a major philosophical disagreement with > them, of which many people who work with Runtime Revolution > are aware, but may not realise the reasons for. > > On Friday 22 April I went to Sofia to the Webtech > conference and listened to Richard Stallman for close on > two hours. Dr Stallman's message was clear (and is well > known in programming circles), and for the first time I > heard somebody else say things that echoed, to a large > extent, my own ideas. > > About 4 years ago I downloaded Runtime Revolution 1 and > started to play with it; over a period of time I developed > a wide variety of 'widgets' that I either uploaded to their > user site or made available through my own website. > > During this time I developed a complete interactive CD-ROM > for an educational company based in St Andrews (Scotland); > my employer bought me the Runtime Revolution 1.1.1 manuals. > In working on this CD-ROM I developed various bits-and-bobs > that I spun off as 'widgets' made freely available via the > internet. > > This culminated in my designing a complex extended toolbar > for Runtime Revolution 2. At no time did I ask for any > money for these contributions, and never tried to exercise > any copyright control. This was based on the fact that > Runtime Revolution was available as a free download that > could be used in a relatively unrestricted way without > having to pay for it. When Runtime Revolution released > version 2.0.3 the company suddenly removed that freedom and > beyond a 30 day 'trial license' expected payment. I felt > betrayed and said so, forcefully; for which I was slammed, > forcefully. I subsequently stopped making widgets I > developed available via my website. > > I expect there are a large number of people who felt sad > about the end of a free version of Runtime Revolution ? > although nobody else went so far as to state that. > > What Runtime Revolution has done has ensured that their > product will only be used by commercial developers (i.e. > those who can pay), and stifled a whole section of the > programming community who would otherwise have contributed > to the growth of the product. > > For my masters thesis I used Runtime Revolution 2.0.1 ? the > last free version. None of the free versions are available > for download any more. > > John Richmond Mathewson. 27 April 2005 > --------------------------------------------------------------- > The Think Different Store > http://www.thinkdifferentstore.com/ > For All Your Mac Gear > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Phone: 902-823-2339. Fax: 902-823-2139 What?s New... * Have you ever hired an employee who didn?t work out? * Did you do that on purpose? Probably not... If you want to greatly improve your hiring process, check out our new hiring process... www.HiringSmart.ca/ns and... www.KeepingTheBest.ca/ns From richmond at mail.maclaunch.com Thu Apr 28 06:53:49 2005 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu, 28 Apr 2005 06:53:49 -0400 Subject: Richmond repays a Philosophical Debt Message-ID: Dear Runtime Revolution Afficionados, Sarah - You Got Me There! My website now sports a BIG PURPLE BUTTON which leads to the source code for my Master's Thesis - weighing in at 17MB in its zipped form. Go Get It! Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From richmond at mail.maclaunch.com Thu Apr 28 13:20:28 2005 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu, 28 Apr 2005 13:20:28 -0400 Subject: Richmond has uploaded 50+ RR widgets Message-ID: Dear Runtime Revolution Afficionados, I dug around in my hard-drives and uploaded about 50 bits of fluff - ranging from a Bulgarian Text Analyzer to a silly program that flashes colours. Do with them what you want. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From wouter.abraham at scarlet.be Fri Apr 29 06:07:22 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Fri, 29 Apr 2005 12:07:22 +0200 Subject: Making Revolution faster with really big arrays In-Reply-To: References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> <034a2609c7d66955996ed4804e092ce4@writeme.com> <60d87184f11dc1d70ebe5d22053fd475@writeme.com> Message-ID: <5a07780d1aeee2b270c6081778688ea0@scarlet.be> On 28 Apr 2005, at 17:59, Dennis Brown wrote: > Frank, > > This is a simplified algorithm that I think would best translate > directly between Transcript and PostgreSQL for a time trial. Just > make sure the PostgreSQL code is an item by item algorithm also. > > Thanks, > Dennis > > Transcript output on my machine: 1,000,000 Element Sum = 500500000 > Elapsed Time = 11.467659 seconds. > > on mouseUp > global gTestArray > if number of lines of the keys of gTestArray is not 1000000 then > --already done the init > put empty into gTestArray --start with an empty a variable > repeat with x = 1 to 1000 > repeat with y = 1 to 1000 > put x into gTestArray[x,y] > end repeat > end repeat > end if > -- > put the long seconds into st > Method6 > get the long seconds > put " Elapsed Time ="&&(it - st)&&"seconds." after msg > end mouseUp > > on Method6 -- Add elements using keyed arrays > global gTestArray > put 0 into total > repeat with x = 1 to 1000 > repeat with y = 1 to 1000 > add gTestArray[x,y] to total > end repeat > end repeat > put "1,000,000 Element Sum = "&total > end Method6 > -- > Hi, On my slowbook (400 mhz G4) Method6 takes around 27 - 28 seconds. In this case "all" values are added. So if the handler is changed accordingly: on Method6 -- Add elements using keyed arrays global gTestArray put 0 into total get the keys of gTestArray repeat for each line i in it add gTestArray[i] to total end repeat put "1,000,000 Element Sum = "&total end Method6 It only takes between 5 - 6 seconds (on my slowbook) Greetings, Wouter From wouter.abraham at scarlet.be Fri Apr 29 06:24:53 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Fri, 29 Apr 2005 12:24:53 +0200 Subject: Making Revolution faster with really big arrays In-Reply-To: <5a07780d1aeee2b270c6081778688ea0@scarlet.be> References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> <034a2609c7d66955996ed4804e092ce4@writeme.com> <60d87184f11dc1d70ebe5d22053fd475@writeme.com> <5a07780d1aeee2b270c6081778688ea0@scarlet.be> Message-ID: On 28 Apr 2005, at 17:59, Dennis Brown wrote: > Frank, > > This is a simplified algorithm that I think would best translate > directly between Transcript and PostgreSQL for a time trial. Just > make sure the PostgreSQL code is an item by item algorithm also. > > Thanks, > Dennis > > Transcript output on my machine: 1,000,000 Element Sum = 500500000 > Elapsed Time = 11.467659 seconds. > > on mouseUp > global gTestArray > if number of lines of the keys of gTestArray is not 1000000 then > --already done the init > put empty into gTestArray --start with an empty a variable > repeat with x = 1 to 1000 > repeat with y = 1 to 1000 > put x into gTestArray[x,y] > end repeat > end repeat > end if > -- > put the long seconds into st > Method6 > get the long seconds > put " Elapsed Time ="&&(it - st)&&"seconds." after msg > end mouseUp > > on Method6 -- Add elements using keyed arrays > global gTestArray > put 0 into total > repeat with x = 1 to 1000 > repeat with y = 1 to 1000 > add gTestArray[x,y] to total > end repeat > end repeat > put "1,000,000 Element Sum = "&total > end Method6 > -- > Hi again with a little addition, The initialization of the test array takes about 36 seconds. Following version does the same in much shorter time: on mouseUp put the long seconds into zap --if number of lines of the keys of gTestArray is not 1000000 then --already done the init put empty into gTestArray --start with an empty a variable repeat with i = 1 to 1000 put i&comma after x end repeat repeat 1000 put x after gTestArray end repeat split gTestArray by comma put the long seconds - zap --end if put the long seconds into st Method6 get the long seconds put " Elapsed Time ="&&(it - st)&&"seconds." after msg end mouseUp In this case the initialization takes about 10 seconds on the slowbook From marisa.kosaisaevee at netgalileo.com Fri Apr 29 06:46:24 2005 From: marisa.kosaisaevee at netgalileo.com (Marisa K.) Date: Fri, 29 Apr 2005 17:46:24 +0700 Subject: Unicode Displaying in Runtime Revolution #2 In-Reply-To: References: <426722DA.4020508@netgalileo.com> Message-ID: <42721080.3010308@netgalileo.com> Hi, I'm using Sybase. Does the direct connection mean the connection from RunRev? Is there a way I can connect to Sybase directly from RunRev?? However, the unicode can be displayed correctly , together with ODBC, through other SQL executing tool; JISQL. Do you think it's because of JDBC help so that I can view them correctly? Anyway, I'll try to check on the ODBC driver for any limitations. Thank you so much, Marisa Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > The only thing I can think of with regard to using ODBC is that this > may be a limitation of the ODBC driver? You should check any settings > the driver provides to see if there is something in there which may > affect this, and you should check the docs of the driver to see if > there is a limitation of some kind. > > On Apr 27, 2005, at 11:20 PM, Trevor DeVore wrote: > >> On Apr 25, 2005, at 1:20 AM, Marisa K. wrote: >> >>> Hello Trevor, >>> >>> Thank you so much for your reply. >>> >>> I had tried on your suggestion(using cursors) but it didn't work >>> with me, still. While, English texts can be displayed just fine, >>> Thai's texts cannot. >>> >>> Well, I connect to the database through ODBC. Do you think this is >>> where the problem is? >>> >>> Every suggestions are welcome as I'm willing to try. >> >> >> I haven't used ODBC much so I'm not sure if that could cause the >> problem or not. What database are you using? Can you try connecting >> directly to it and seeing if that solves the problem? >> >> >> -- >> Trevor DeVore >> Blue Mango Multimedia >> trevor at mangomultimedia.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCcO2D7aqtWrR9cZoRAuqhAJsEcrAyO9lX8NOVFsVYLz8eVanLAACfRhNW > MzJAEB1e3oQmKWu1e6BFciE= > =rEIF > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From see3d at writeme.com Fri Apr 29 08:20:02 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 29 Apr 2005 08:20:02 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> <034a2609c7d66955996ed4804e092ce4@writeme.com> <60d87184f11dc1d70ebe5d22053fd475@writeme.com> <5a07780d1aeee2b270c6081778688ea0@scarlet.be> Message-ID: <1516b74c40505b77b3ce067a8b295a54@writeme.com> Read the earlier versions of this thread for the fast methods. This example is just for a specific test between Transcript and PostgreSQL Dennis On Apr 29, 2005, at 6:24 AM, Wouter wrote: > > On 28 Apr 2005, at 17:59, Dennis Brown wrote: > > >> Frank, >> >> This is a simplified algorithm that I think would best translate >> directly between Transcript and PostgreSQL for a time trial. Just >> make sure the PostgreSQL code is an item by item algorithm also. >> >> Thanks, >> Dennis >> >> Transcript output on my machine: 1,000,000 Element Sum = 500500000 >> Elapsed Time = 11.467659 seconds. >> >> on mouseUp >> global gTestArray >> if number of lines of the keys of gTestArray is not 1000000 then >> --already done the init >> put empty into gTestArray --start with an empty a variable >> repeat with x = 1 to 1000 >> repeat with y = 1 to 1000 >> put x into gTestArray[x,y] >> end repeat >> end repeat >> end if >> -- >> put the long seconds into st >> Method6 >> get the long seconds >> put " Elapsed Time ="&&(it - st)&&"seconds." after msg >> end mouseUp >> >> on Method6 -- Add elements using keyed arrays >> global gTestArray >> put 0 into total >> repeat with x = 1 to 1000 >> repeat with y = 1 to 1000 >> add gTestArray[x,y] to total >> end repeat >> end repeat >> put "1,000,000 Element Sum = "&total >> end Method6 >> -- >> > > Hi again with a little addition, > > The initialization of the test array takes about 36 seconds. > Following version does the same in much shorter time: > > on mouseUp > put the long seconds into zap > --if number of lines of the keys of gTestArray is not 1000000 then > --already done the init > put empty into gTestArray --start with an empty a variable > repeat with i = 1 to 1000 > put i&comma after x > end repeat > repeat 1000 > put x after gTestArray > end repeat > split gTestArray by comma > put the long seconds - zap > --end if > put the long seconds into st > Method6 > get the long seconds > put " Elapsed Time ="&&(it - st)&&"seconds." after msg > end mouseUp > > In this case the initialization takes about 10 seconds on the slowbook > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bnz2 at cdc.gov Fri Apr 29 09:03:28 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 29 Apr 2005 09:03:28 -0400 Subject: I hate mousedown Message-ID: <64878EF567131D4596246171F75FD4A97445A9@m-epo-1.epo.cdc.gov> Your're welcome! The Drag stuff can get quite tricky. When the scripts are not set up properly, it can cause your stack to freeze up, or to act as if there is a script that keeps running and stopping in the background, causing RunRev to act very sluggish. For a button to receive a drapdrop, you need to have a script in the button itself like this: On Dragenter Set the acceptdrop to true Pass dragenter End dragenter This will allow the button to receive a dragdrop - I know this is counter-intuitive. You'd think that acceptdrop would be an object property, so that you have a script that says Set the acceptdrop of button "my button" to true But it is not set up that way, and that line causes an error. Good luck, Jonathan -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Thursday, April 28, 2005 6:08 PM To: How to use Revolution Subject: Re: I hate mousedown Jonathan, I did not know that at all. I haven't played with the drag stuff too many times. I am intrigued by it and am off to test some code. It is sort of like faking the drag in order to make use of the other messages. Very cool. Thank you very much, Tom On Apr 28, 2005, at 2:55 PM, Lynch, Jonathan wrote: > If you put something into the dragdata, then yes, drag messages will > be sent. > > If what you want is for objects under a mouse to receive a message > when the mouse enters the screen area of that message, while the > mousebutton is currently being pressed, then that is the way to do it. > > Mouseenter does not work while the mouse button is down. Dragenter > works, but only if something is being dragged. So - on mousedown for a > given button, you put something into the dragdata - then something is > being dragged and a dragenter message will be sent when the mouse > enters another object. Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From fde101 at fjrhome.net Fri Apr 29 09:30:05 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 29 Apr 2005 09:30:05 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <1516b74c40505b77b3ce067a8b295a54@writeme.com> References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> <034a2609c7d66955996ed4804e092ce4@writeme.com> <60d87184f11dc1d70ebe5d22053fd475@writeme.com> <5a07780d1aeee2b270c6081778688ea0@scarlet.be> <1516b74c40505b77b3ce067a8b295a54@writeme.com> Message-ID: <546f22874aef877c8ce7cc8b54adc16e@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Did my earlier reply even make it through? I'm not seeing it on the list. Transcript is actually faster than what I was able to come up with for PostgreSQL -- much faster, in fact. Ada is WAY faster than either one of them -- a fraction of a second for this test. On Apr 29, 2005, at 8:20 AM, Dennis Brown wrote: > Read the earlier versions of this thread for the fast methods. This > example is just for a specific test between Transcript and PostgreSQL > > Dennis > > On Apr 29, 2005, at 6:24 AM, Wouter wrote: > >> >> On 28 Apr 2005, at 17:59, Dennis Brown wrote: >> >> >>> Frank, >>> >>> This is a simplified algorithm that I think would best translate >>> directly between Transcript and PostgreSQL for a time trial. Just >>> make sure the PostgreSQL code is an item by item algorithm also. >>> >>> Thanks, >>> Dennis >>> >>> Transcript output on my machine: 1,000,000 Element Sum = 500500000 >>> Elapsed Time = 11.467659 seconds. >>> >>> on mouseUp >>> global gTestArray >>> if number of lines of the keys of gTestArray is not 1000000 then >>> --already done the init >>> put empty into gTestArray --start with an empty a variable >>> repeat with x = 1 to 1000 >>> repeat with y = 1 to 1000 >>> put x into gTestArray[x,y] >>> end repeat >>> end repeat >>> end if >>> -- >>> put the long seconds into st >>> Method6 >>> get the long seconds >>> put " Elapsed Time ="&&(it - st)&&"seconds." after msg >>> end mouseUp >>> >>> on Method6 -- Add elements using keyed arrays >>> global gTestArray >>> put 0 into total >>> repeat with x = 1 to 1000 >>> repeat with y = 1 to 1000 >>> add gTestArray[x,y] to total >>> end repeat >>> end repeat >>> put "1,000,000 Element Sum = "&total >>> end Method6 >>> -- >>> >> >> Hi again with a little addition, >> >> The initialization of the test array takes about 36 seconds. >> Following version does the same in much shorter time: >> >> on mouseUp >> put the long seconds into zap >> --if number of lines of the keys of gTestArray is not 1000000 then >> --already done the init >> put empty into gTestArray --start with an empty a variable >> repeat with i = 1 to 1000 >> put i&comma after x >> end repeat >> repeat 1000 >> put x after gTestArray >> end repeat >> split gTestArray by comma >> put the long seconds - zap >> --end if >> put the long seconds into st >> Method6 >> get the long seconds >> put " Elapsed Time ="&&(it - st)&&"seconds." after msg >> end mouseUp >> >> In this case the initialization takes about 10 seconds on the slowbook >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCcjbd7aqtWrR9cZoRAsWFAJ90AUksikgIFvNGJO7LAjozvn1aPgCeJ8+E yOYp6RJFKwtMPJttHbmw4ws= =PjBb -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From bnz2 at cdc.gov Fri Apr 29 09:40:34 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 29 Apr 2005 09:40:34 -0400 Subject: A Philosophical Point Message-ID: <64878EF567131D4596246171F75FD4A97445AA@m-epo-1.epo.cdc.gov> > For my sake, please stay off the list... Jim I strongly object to this sentiment. As one who participates in this list, I enjoyed this thread, and do not want John to "stay off the list." -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Carwardine Sent: Thursday, April 28, 2005 2:55 PM To: Revolution Listserve Subject: Re: A Philosophical Point I don't need to know this, John. How is RunRev to stay in business if they don't charge for their product? You of all people should know how much overhead is required to produce bug-free code. RunRev could not sustain itself unless it turned open source and that's not the business model they are running on. For my sake, please stay off the list... Jim From bill at bluewatermaritime.com Fri Apr 29 09:46:14 2005 From: bill at bluewatermaritime.com (Bill) Date: Fri, 29 Apr 2005 09:46:14 -0400 Subject: A Philosophical Point In-Reply-To: Message-ID: I thought John's comments were interesting. His upload of files is nice too but I wish there was some descriptions both so you would know what file to download and so search engines could find them. In addition to the coding examples and help I also enjoy the various conversations (Rev related) that occur on this list. On 4/28/05 2:55 PM, "Jim Carwardine" wrote: > I don't need to know this, John. How is RunRev to stay in business if they > don't charge for their product? You of all people should know how much > overhead is required to produce bug-free code. RunRev could not sustain > itself unless it turned open source and that's not the business model they > are running on. For my sake, please stay off the list... Jim > > on 4/26/05 6:05 PM, Mathewson wrote: > >> I recently completed a Master's thesis at the University of >> Abertay, Dundee. >> It was mainly concerned with designing a new Graphic User >> Interface for computers (and may be read, in its entirety, >> on my website at http://members.maclaunch.com/richmond), >> and had at its heart a prototype developed using a version >> of Runtime Revolution. The reason I chose to use Runtime >> Revolution was based largely on the fact that I have 12 >> years of experience using what has come to be called >> 'xTalk' but when I started was called 'HyperTalk'. >> >> While I believe that Runtime Revolution produce an >> extremely good programming interface that uses a dialect of >> 'xTalk' I have a major philosophical disagreement with >> them, of which many people who work with Runtime Revolution >> are aware, but may not realise the reasons for. >> >> On Friday 22 April I went to Sofia to the Webtech >> conference and listened to Richard Stallman for close on >> two hours. Dr Stallman's message was clear (and is well >> known in programming circles), and for the first time I >> heard somebody else say things that echoed, to a large >> extent, my own ideas. >> >> About 4 years ago I downloaded Runtime Revolution 1 and >> started to play with it; over a period of time I developed >> a wide variety of 'widgets' that I either uploaded to their >> user site or made available through my own website. >> >> During this time I developed a complete interactive CD-ROM >> for an educational company based in St Andrews (Scotland); >> my employer bought me the Runtime Revolution 1.1.1 manuals. >> In working on this CD-ROM I developed various bits-and-bobs >> that I spun off as 'widgets' made freely available via the >> internet. >> >> This culminated in my designing a complex extended toolbar >> for Runtime Revolution 2. At no time did I ask for any >> money for these contributions, and never tried to exercise >> any copyright control. This was based on the fact that >> Runtime Revolution was available as a free download that >> could be used in a relatively unrestricted way without >> having to pay for it. When Runtime Revolution released >> version 2.0.3 the company suddenly removed that freedom and >> beyond a 30 day 'trial license' expected payment. I felt >> betrayed and said so, forcefully; for which I was slammed, >> forcefully. I subsequently stopped making widgets I >> developed available via my website. >> >> I expect there are a large number of people who felt sad >> about the end of a free version of Runtime Revolution ? >> although nobody else went so far as to state that. >> >> What Runtime Revolution has done has ensured that their >> product will only be used by commercial developers (i.e. >> those who can pay), and stifled a whole section of the >> programming community who would otherwise have contributed >> to the growth of the product. >> >> For my masters thesis I used Runtime Revolution 2.0.1 ? the >> last free version. None of the free versions are available >> for download any more. >> >> John Richmond Mathewson. 27 April 2005 >> --------------------------------------------------------------- >> The Think Different Store >> http://www.thinkdifferentstore.com/ >> For All Your Mac Gear >> --------------------------------------------------------------- >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From bnz2 at cdc.gov Fri Apr 29 09:52:57 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 29 Apr 2005 09:52:57 -0400 Subject: Making Revolution faster with really big arrays Message-ID: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> How hard would it be to create a math and array processing external for RunRev? This would be useful for numerous things, including complex image processing. It would need to do two things: 1) allow the user to pass a script (like in C) for processing the array to the external 2) send the array(s) itself to the external, which then uses the previously sent script to process that array(s) and return the result. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Frank D. Engel, Jr. Sent: Friday, April 29, 2005 9:30 AM To: How to use Revolution Subject: Re: Making Revolution faster with really big arrays -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Did my earlier reply even make it through? I'm not seeing it on the list. Transcript is actually faster than what I was able to come up with for PostgreSQL -- much faster, in fact. Ada is WAY faster than either one of them -- a fraction of a second for this test. On Apr 29, 2005, at 8:20 AM, Dennis Brown wrote: > Read the earlier versions of this thread for the fast methods. This > example is just for a specific test between Transcript and PostgreSQL > > Dennis > > On Apr 29, 2005, at 6:24 AM, Wouter wrote: > >> >> On 28 Apr 2005, at 17:59, Dennis Brown wrote: >> >> >>> Frank, >>> >>> This is a simplified algorithm that I think would best translate >>> directly between Transcript and PostgreSQL for a time trial. Just >>> make sure the PostgreSQL code is an item by item algorithm also. >>> >>> Thanks, >>> Dennis >>> >>> Transcript output on my machine: 1,000,000 Element Sum = 500500000 >>> Elapsed Time = 11.467659 seconds. >>> >>> on mouseUp >>> global gTestArray >>> if number of lines of the keys of gTestArray is not 1000000 then >>> --already done the init >>> put empty into gTestArray --start with an empty a variable >>> repeat with x = 1 to 1000 >>> repeat with y = 1 to 1000 >>> put x into gTestArray[x,y] >>> end repeat >>> end repeat >>> end if >>> -- >>> put the long seconds into st >>> Method6 >>> get the long seconds >>> put " Elapsed Time ="&&(it - st)&&"seconds." after msg >>> end mouseUp >>> >>> on Method6 -- Add elements using keyed arrays >>> global gTestArray >>> put 0 into total >>> repeat with x = 1 to 1000 >>> repeat with y = 1 to 1000 >>> add gTestArray[x,y] to total >>> end repeat >>> end repeat >>> put "1,000,000 Element Sum = "&total >>> end Method6 >>> -- >>> >> >> Hi again with a little addition, >> >> The initialization of the test array takes about 36 seconds. >> Following version does the same in much shorter time: >> >> on mouseUp >> put the long seconds into zap >> --if number of lines of the keys of gTestArray is not 1000000 then >> --already done the init >> put empty into gTestArray --start with an empty a variable >> repeat with i = 1 to 1000 >> put i&comma after x >> end repeat >> repeat 1000 >> put x after gTestArray >> end repeat >> split gTestArray by comma >> put the long seconds - zap >> --end if >> put the long seconds into st >> Method6 >> get the long seconds >> put " Elapsed Time ="&&(it - st)&&"seconds." after msg >> end mouseUp >> >> In this case the initialization takes about 10 seconds on the slowbook >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCcjbd7aqtWrR9cZoRAsWFAJ90AUksikgIFvNGJO7LAjozvn1aPgCeJ8+E yOYp6RJFKwtMPJttHbmw4ws= =PjBb -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From see3d at writeme.com Fri Apr 29 10:06:09 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 29 Apr 2005 10:06:09 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <546f22874aef877c8ce7cc8b54adc16e@fjrhome.net> References: <4a5d8965c5890c77d2e2e09621980ded@writeme.com> <034a2609c7d66955996ed4804e092ce4@writeme.com> <60d87184f11dc1d70ebe5d22053fd475@writeme.com> <5a07780d1aeee2b270c6081778688ea0@scarlet.be> <1516b74c40505b77b3ce067a8b295a54@writeme.com> <546f22874aef877c8ce7cc8b54adc16e@fjrhome.net> Message-ID: <136b715ad92f3cfb30739e43512522fc@writeme.com> Frank, Your earlier reply did not make it through. This is kinda what I thought would be the case, even though I was hoping for better. It seems that the way to go is to use another compiled language for the number crunching and Rev for the UI. This is doable in my case because I write out all the intermediate files as .csv arrays. I have no experience with which compiled languages might be easy to read in the array from a file, do a bunch of math, and then write out a new array that Rev an read in and display. Time to start looking. Dennis On Apr 29, 2005, at 9:30 AM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Did my earlier reply even make it through? > > I'm not seeing it on the list. Transcript is actually faster than > what I was able to come up with for PostgreSQL -- much faster, in > fact. > > Ada is WAY faster than either one of them -- a fraction of a second > for this test. > > On Apr 29, 2005, at 8:20 AM, Dennis Brown wrote: > >> Read the earlier versions of this thread for the fast methods. This >> example is just for a specific test between Transcript and PostgreSQL >> >> Dennis >> >> On Apr 29, 2005, at 6:24 AM, Wouter wrote: >> >>> >>> On 28 Apr 2005, at 17:59, Dennis Brown wrote: >>> >>> >>>> Frank, >>>> >>>> This is a simplified algorithm that I think would best translate >>>> directly between Transcript and PostgreSQL for a time trial. Just >>>> make sure the PostgreSQL code is an item by item algorithm also. >>>> >>>> Thanks, >>>> Dennis >>>> >>>> Transcript output on my machine: 1,000,000 Element Sum = 500500000 >>>> Elapsed Time = 11.467659 seconds. >>>> >>>> on mouseUp >>>> global gTestArray >>>> if number of lines of the keys of gTestArray is not 1000000 then >>>> --already done the init >>>> put empty into gTestArray --start with an empty a variable >>>> repeat with x = 1 to 1000 >>>> repeat with y = 1 to 1000 >>>> put x into gTestArray[x,y] >>>> end repeat >>>> end repeat >>>> end if >>>> -- >>>> put the long seconds into st >>>> Method6 >>>> get the long seconds >>>> put " Elapsed Time ="&&(it - st)&&"seconds." after msg >>>> end mouseUp >>>> >>>> on Method6 -- Add elements using keyed arrays >>>> global gTestArray >>>> put 0 into total >>>> repeat with x = 1 to 1000 >>>> repeat with y = 1 to 1000 >>>> add gTestArray[x,y] to total >>>> end repeat >>>> end repeat >>>> put "1,000,000 Element Sum = "&total >>>> end Method6 >>>> -- >>>> >>> >>> Hi again with a little addition, >>> >>> The initialization of the test array takes about 36 seconds. >>> Following version does the same in much shorter time: >>> >>> on mouseUp >>> put the long seconds into zap >>> --if number of lines of the keys of gTestArray is not 1000000 then >>> --already done the init >>> put empty into gTestArray --start with an empty a variable >>> repeat with i = 1 to 1000 >>> put i&comma after x >>> end repeat >>> repeat 1000 >>> put x after gTestArray >>> end repeat >>> split gTestArray by comma >>> put the long seconds - zap >>> --end if >>> put the long seconds into st >>> Method6 >>> get the long seconds >>> put " Elapsed Time ="&&(it - st)&&"seconds." after msg >>> end mouseUp >>> >>> In this case the initialization takes about 10 seconds on the >>> slowbook >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCcjbd7aqtWrR9cZoRAsWFAJ90AUksikgIFvNGJO7LAjozvn1aPgCeJ8+E > yOYp6RJFKwtMPJttHbmw4ws= > =PjBb > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From see3d at writeme.com Fri Apr 29 10:27:55 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 29 Apr 2005 10:27:55 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> Message-ID: <069bbcd0af8c4d79909c2c5f38d0448d@writeme.com> Jon, I agree, this would be worthwhile to come up with. In my case all I really need is a minimal compiled language that can read a disk file, do a bunch of array math, and write the results back out. Don't really need the usual complexities of the GUI etc. Any suggestions? Dennis On Apr 29, 2005, at 9:52 AM, Lynch, Jonathan wrote: > How hard would it be to create a math and array processing external for > RunRev? > > This would be useful for numerous things, including complex image > processing. > > It would need to do two things: > 1) allow the user to pass a script (like in C) for processing the array > to the external > > 2) send the array(s) itself to the external, which then uses the > previously sent script to process that array(s) and return the result. > > From simplsol at aol.com Fri Apr 29 10:29:44 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Fri, 29 Apr 2005 10:29:44 -0400 Subject: Problem with "convert it to seconds" In-Reply-To: <4271D4CB.2D87416C@Club-Internet.fr> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> Message-ID: <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> JB, It is kind of you to say so. ;-) I hope someone in Scotland is listening to us... Paul Looney -----Original Message----- From: jbv To: How to use Revolution Sent: Fri, 29 Apr 2005 08:31:40 +0200 Subject: Re: Problem with "convert it to seconds" Paul, My remark was a "kind of" understatement... Of course I DO agree... JB > JB > You "kind of agree" ? > This is an undocumented, non-intuitive way of handling dates and times > which will break seconds and dateItem scripts created by non-suspecting > users twice a year. > How can the Rev. team justify the difficulty of doing what should be a > simple process of getting the date for then next day - as late as > Version 2.5? > Paul Looney > > -----Original Message----- > From: jbv > To: How to use Revolution > Sent: Thu, 28 Apr 2005 22:54:18 +0200 > Subject: Re: Problem with "convert it to seconds" > > Thanks for the help Sarah. > Actually I went for a similar solution : as I'm running Rev cgi > on a Linux box, I do most of the time computations through > MySQL... > > > Sarah, > > You can not rant often enough about Rev.'s time "peculiarities"! > This > > is an undocumented time bomb waiting for evey new user. It should have > > been fixed at least two years ago. > > PL > > > > I kind of agree with that... > > JB > > _______________________________________________ > 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 mikeythek at gmail.com Fri Apr 29 10:39:30 2005 From: mikeythek at gmail.com (Mikey) Date: Fri, 29 Apr 2005 10:39:30 -0400 Subject: Problem with "convert it to seconds" In-Reply-To: <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> Message-ID: <9b408d8e050429073953d53904@mail.gmail.com> I just put this on the TAO of RunRev blog. If y'all would email me, too, I'd get this posted faster. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From fde101 at fjrhome.net Fri Apr 29 10:41:02 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 29 Apr 2005 10:41:02 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <069bbcd0af8c4d79909c2c5f38d0448d@writeme.com> References: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> <069bbcd0af8c4d79909c2c5f38d0448d@writeme.com> Message-ID: <547c9a3ab452b099c282109d4161c531@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pascal is relatively easy to learn, and there are some very good compilers available for numerous platforms. I would suggest either FreePascal or GPC as a Pascal compiler. Ada is also a good language, but quite a bit fussier than Pascal and with a slightly larger learning curve. A good Ada compiler is GNAT, a free version of which is part of the GNU compiler collection (GCC). You can download the free version of GNAT for various platforms. If you are not already familiar with a compiled language, I would definitely avoid C. And Java will have most of the same performance problems with this that Rev will, so that won't help you quite as much. On Apr 29, 2005, at 10:27 AM, Dennis Brown wrote: > Jon, > > I agree, this would be worthwhile to come up with. In my case all I > really need is a minimal compiled language that can read a disk file, > do a bunch of array math, and write the results back out. Don't > really need the usual complexities of the GUI etc. Any suggestions? > > Dennis > On Apr 29, 2005, at 9:52 AM, Lynch, Jonathan wrote: > >> How hard would it be to create a math and array processing external >> for >> RunRev? >> >> This would be useful for numerous things, including complex image >> processing. >> >> It would need to do two things: >> 1) allow the user to pass a script (like in C) for processing the >> array >> to the external >> >> 2) send the array(s) itself to the external, which then uses the >> previously sent script to process that array(s) and return the result. >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCckd+7aqtWrR9cZoRAlyiAJ9uS54v7ct6mKlTVD8J7c+idEZZAQCdFCHS ZXexpk5uKMI8NT42HQJ6E4Y= =/SJ/ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From ambassador at fourthworld.com Fri Apr 29 11:18:48 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 29 Apr 2005 10:18:48 -0500 Subject: Problem with "convert it to seconds" In-Reply-To: <9b408d8e050429073953d53904@mail.gmail.com> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> <9b408d8e050429073953d53904@mail.gmail.com> Message-ID: <42725058.1060407@fourthworld.com> > I just put this on the TAO of RunRev blog. If y'all would email me, > too, I'd get this posted faster. > I hope someone in Scotland is listening to us... > Paul Looney Has anyone posted this enhancement request for optional DST-independent time calculations to Bugzilla? What's the BZ report number? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From mikeythek at gmail.com Fri Apr 29 11:55:11 2005 From: mikeythek at gmail.com (Mikey) Date: Fri, 29 Apr 2005 11:55:11 -0400 Subject: Problem with "convert it to seconds" In-Reply-To: <42725058.1060407@fourthworld.com> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> <9b408d8e050429073953d53904@mail.gmail.com> <42725058.1060407@fourthworld.com> Message-ID: <9b408d8e0504290855427a5c44@mail.gmail.com> In the interim, it still, IMHO needs to be on the Tao blog. The reason is that it is an unexpected behavior (despite the fact that it's documented). So, when y'all have things like this that come up I'd still like to know about them so I can get them on the list. -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Fri Apr 29 11:55:43 2005 From: mikeythek at gmail.com (Mikey) Date: Fri, 29 Apr 2005 11:55:43 -0400 Subject: Problem with "convert it to seconds" In-Reply-To: <9b408d8e0504290855427a5c44@mail.gmail.com> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> <9b408d8e050429073953d53904@mail.gmail.com> <42725058.1060407@fourthworld.com> <9b408d8e0504290855427a5c44@mail.gmail.com> Message-ID: <9b408d8e050429085550aca789@mail.gmail.com> Oops, sorry, I have the wrong blogs in the sig. http://www.taoofrunrev.blogspot.com -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dsc at swcp.com Fri Apr 29 12:26:06 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 29 Apr 2005 10:26:06 -0600 Subject: Displaying execution errors caught in 'try' during development In-Reply-To: <713e9f09071b2e82c1e2335f56ec9844@mangomultimedia.com> References: <8cf873291abab34cc7bcba8a7ec26202@swcp.com> <713e9f09071b2e82c1e2335f56ec9844@mangomultimedia.com> Message-ID: <545d568c4306ba4c221ad3109bf7870e@swcp.com> On Apr 22, 2005, at 10:29 AM, Trevor DeVore wrote: > I saw the same problem with trying to throw an error from within a > catch statement. What I've done is in the first catch statement I > assign the error text to a variable. Outside the try statement if the > variable isn't empty I then throw it. It works! Thanks! I originally checked to see if the environment is development before re-throwing. For libraries, I'm thinking of checking a custom property instead. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From mwieder at ahsoftware.net Fri Apr 29 12:38:31 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 29 Apr 2005 09:38:31 -0700 Subject: Problem with "convert it to seconds" In-Reply-To: <42725058.1060407@fourthworld.com> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> <42725058.1060407@fourthworld.com> Message-ID: <285132039.20050429093831@ahsoftware.net> Richard- Friday, April 29, 2005, 8:18:48 AM, you wrote: RG> Has anyone posted this enhancement request for optional DST-independent RG> time calculations to Bugzilla? RG> What's the BZ report number? I coulda sworn this was in bz, but the closest I could come was #2387, still categorized as "new", even after the note from tuviah confirming the bug. So I threw five votes that way in the hopes that the engine team will wake up and spend time fixing the date routines so that we can stop bringing it up on the list. Anyone else for making #2387 the focal point for this? -- -Mark Wieder mwieder at ahsoftware.net From heather at runrev.com Fri Apr 29 12:40:03 2005 From: heather at runrev.com (Heather Nagey) Date: Fri, 29 Apr 2005 17:40:03 +0100 Subject: Problem with "convert it to seconds" In-Reply-To: <20050429144239.E166F93018E@mail.runrev.com> Message-ID: > I hope someone in Scotland is listening to us... > Paul Looney We listen. Sometimes we even respond... And if the discussion gets out of hand I'll pop up and look stern :) But, and you can all sing along with me here ladies and gentlemen, if you want action, you need to post it to bugzilla: http://support.runrev.com/bugzilla This is your list, we observe but we do not intervene very often, and you should not assume that items reported here will make it onto the engineering fix list. And by the way, I'd like to congratulate everyone present on the fascinating, excellent and mature discussion sparked by what was potentially a very inflammatory post on "philosophy". As you all know, wine, cheese and politics are off topic and frowned on, we can now add philosophy to that list :) Warm regards Heather Sometimes listmom, always supportive -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ From dsc at swcp.com Fri Apr 29 12:46:44 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 29 Apr 2005 10:46:44 -0600 Subject: Format of thrown errors; IDE error integration Message-ID: <1b37b9030d9a5760fd44897e14d749ee@swcp.com> What is the format of thrown errors? How do I add to the error-code list? Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From see3d at writeme.com Fri Apr 29 13:05:00 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 29 Apr 2005 13:05:00 -0400 Subject: Making Revolution faster with really big arrays In-Reply-To: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> Message-ID: Jon, It should actually be very easy to create such a thing. This is something I have requested as far back as 6 or 7 years ago for Transcript (I was using SC back then). I was told that Keyed Arrays were coming and would solve all my problems... think again. It is no different than having a CPU and a separate vector processing unit in a chip. The main way to go about it, is to be able to allocate a fixed amount of contiguous memory to an array of n dimensions with n byte elements of a fixed type. The language needed to process it would be very simple set of conditional and repeat and math operators that have a direct equivalent to the usual machine code operations. It would be trivial for a compiler writer to create the machine code, or for that matter, a simple compiler could be written in transcript and with just a minor speed penalty, the compiled code could be machine independent byte codes with a teensy-tiny runtime package for each platform. It would run at least ten times faster than Transcript. Is there any reason that a large array of data could not be sent to an external along with a set of "bytecode instructions" for processing the array? It would be great to have it as a built in function for everyone to use, or an enterprising Rev developer might make an external add on. I would do it if I had more experience and time, but the last time I wrote something like this was 30 years ago for 6800 machines. It was a tiny universal "Machine Code" and compiler. Dennis On Apr 29, 2005, at 9:52 AM, Lynch, Jonathan wrote: > How hard would it be to create a math and array processing external for > RunRev? > > This would be useful for numerous things, including complex image > processing. > > It would need to do two things: > 1) allow the user to pass a script (like in C) for processing the array > to the external > > 2) send the array(s) itself to the external, which then uses the > previously sent script to process that array(s) and return the result. From jacque at hyperactivesw.com Fri Apr 29 14:28:58 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Apr 2005 13:28:58 -0500 Subject: Format of thrown errors; IDE error integration In-Reply-To: <1b37b9030d9a5760fd44897e14d749ee@swcp.com> References: <1b37b9030d9a5760fd44897e14d749ee@swcp.com> Message-ID: <42727CEA.2080902@hyperactivesw.com> On 4/29/05 11:46 AM, Dar Scott wrote: > What is the format of thrown errors? How do I add to the error-code > list? Some of it is in the docs under "errorDialog": > A list of possible execution errors is contained in the "cErrorsList" > property of the first card of the stack "revErrorDisplay". You can > view the list with the following statement: > > answer the cErrorsList of card 1 of stack "revErrorDisplay" You should be able to add to this list by altering that card property. The format is in the form of 3 comma-delimited items, with a possible fourth item, for example: 573,45,5,sor I got this error by typing "sor" into the message box, for which there was no equivalent handler. Item 1 is the error ID, which corresponds to a line number in the errors list stored in the revErrorDisplay stack. You'd grab this line in the errors list to display the text description of the error, which in this case is "can't find handler". Item 2 is the line number of the line in the script that errored. Item 3 is the token that errored in that line. The fourth item, if there is one, can be the value sent to the handler, the object that contains the handler, or the name of the message passed to it. Since each error can produce several lines of error code messages, the fourth item varies if it exists at all. The "sor" error I generated actually produced all these lines: 573,45,5,sor 253,41,1 253,40,1 241,40,1,returnInField 353,0,0,field id 1002 of card id 1001 of stack "Message Box" of stack "/Applications/MetaCard/MetaCard 2.6.1/mctools.mc" As you can see, I produced this in MetaCard instead of Revolution, since the error codes and messages are easier to access from MC. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at adelphia.net Fri Apr 29 15:23:15 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 29 Apr 2005 15:23:15 -0400 Subject: Correct syntax Message-ID: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> Hello to this most helpful of lists, I would like to ask if putting globals needs to be right after a handler name or is it OK to put it where I did below. My thinking is they only need declared if I am going to do something with them. Is this faster? The phover is a state where mouseDowns are not used so I don't want to waste time here. on mouseDown if the phover of this stack is "false" then global gTheKeys, gTheMKeys, gInputTrayText put the short name of the target into ltheCheck if (lTheCheck is among the lines of gTheKeys) or (lTheCheck is among the lines of gTheBKeys) then put field "Inputtray" into gInputTrayText CheckPreviewButtons -- else pass mouseDown end if end if end mouseDown ALSO, Is the 'pass mouseDown' necessary here? My thinking is that if we are in a state for using mouseDown but not in my 'special' keys then pass the message on to stack to deal with if needed. BUT I don't imagine needing it then SO is it really necessary? Thank you, Tom Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From larsbrehmer at mac.com Fri Apr 29 15:45:25 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Fri, 29 Apr 2005 22:45:25 +0300 Subject: Tiger and windowShape Message-ID: Has anyone installed Tiger and looked at a revStack or standalone that uses a windowShape other than rectangular? I just installed Tiger on my backup machine to try it out and one of my main Rev projects has three stacks with a shape that is basically rectangular with a small, round protrusion on the bottom (and slightly rounded corners). Both in rev and in the standalone, there is a strange outline parallel to the bottom of the window about 50 pixels lower. It's a little hard to describe, so if anyone out there is inclined to take a quick a look at this strangeness, let me know and I will send you screen shots. I already have made a new empty test stack, put the image on it and set the windowShape to the image, and the result is the same. I really want Tiger on my main machine, so any tips would be very appreciated! Cheers, Lars Brehmer From ps1 at softseven.org Fri Apr 29 15:47:04 2005 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 29 Apr 2005 14:47:04 -0500 Subject: MySQL connection accepted In-Reply-To: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> References: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> Message-ID: <6.1.1.1.2.20050429144202.03133928@softseven.org> Dear Rev Programmers I need a simple small stack that will try and connect to a MySQL db on a server shell. If it connects ok I want a message that says Connected else No Connection Anyone have such a stack. I don't know how to do this but I would think there should be 3 test boxes: URL, db login, db password Can some1 help Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From lists at mangomultimedia.com Fri Apr 29 15:54:15 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 29 Apr 2005 12:54:15 -0700 Subject: Our friend the proxy server Message-ID: <479188d327ac8e05a93b5e5eff2c4fde@mangomultimedia.com> I'm interested in hearing what people are doing (if anything) for proxy detection on Windows. Here is the situation I am up against. I have an app which grabs data from the web on occasion. Detecting and setting proxy settings on Windows is fine if they have manually configured IE since the settings show up in the registry. The big problem occurs when the computers are behind a proxy server and the computers are getting their proxy server info automatically from the server (from something like a .pac file). Windows doesn't seem to store this info in the registry. I have a way for users to manually configure their proxy settings but in one environment users will be moving to different offices with their laptops and proxy settings will change based on their IP subnet. Asking these (very) non-technical folks to configure every time they movie creates obvious problems. Anyone have any insight on how to detect proxy settings under any circumstances? Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From psahores at easynet.fr Fri Apr 29 15:58:15 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 29 Apr 2005 21:58:15 +0200 Subject: Correct syntax In-Reply-To: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> References: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> Message-ID: Hi Thomas, Your statement is OK. You just need to declare the global vars before using them in your handlers, so you can : 1.- declare them on top of your script, before any opened script, like : global MyGlobal1, MyGlobal2,... on mouseup put "1" into MyGlobal1 ... your code ... end mouseup 2.- declare them inside the handler, like : on mouseup ... your code ... global MyGlobal1 put "1" into MyGlobal1 ... your code ... end mouseup 3.- It's, by convention, best readable to have the global vars declared just after the begining of the handler or on top of the script. Hope this help, Best Regards, > Hello to this most helpful of lists, > > I would like to ask if putting globals needs to be right after a > handler name or is it OK to put it where I did below. My thinking is > they only need declared if I am going to do something with them. Is > this faster? > > The phover is a state where mouseDowns are not used so I don't want to > waste time here. > > on mouseDown > if the phover of this stack is "false" then > global gTheKeys, gTheMKeys, gInputTrayText > put the short name of the target into ltheCheck > if (lTheCheck is among the lines of gTheKeys) or (lTheCheck is > among the lines of gTheBKeys) then > put field "Inputtray" into gInputTrayText > CheckPreviewButtons -- > else > pass mouseDown > end if > end if > end mouseDown > > ALSO, Is the 'pass mouseDown' necessary here? My thinking is that if > we are in a state for using mouseDown but not in my 'special' keys > then pass the message on to stack to deal with if needed. BUT I don't > imagine needing it then SO is it really necessary? > > Thank you, > > Tom > > Thomas J. McGrath III > SCS > 1000 Killarney Dr. > Pittsburgh, PA 15234 > 412-885-8541 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From fde101 at fjrhome.net Fri Apr 29 16:00:38 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Fri, 29 Apr 2005 16:00:38 -0400 Subject: MySQL connection accepted In-Reply-To: <6.1.1.1.2.20050429144202.03133928@softseven.org> References: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> <6.1.1.1.2.20050429144202.03133928@softseven.org> Message-ID: <50e46835fe10d398a3fc88960df46bae@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The command you need to look at is revOpenDatabase; you can find that in the docs. If that function returns an integer, it is the handle number of the opened connection. Otherwise, it is an error message explaining why the connection failed. So you need something like this: global dbconn function amIConnected put revOpenDatabase("mysql", field "Hostname", field "Database Name", field "Username", field "Password", the hilite of button "Use SSL") into dbconn if dbconn is an integer then return "Connected" else return "No Connection" end if end if (note: button "Use SSL" is a checkbox here) Don't forget to close the connection when you are finished with it: revCloseDatabase dbconn On Apr 29, 2005, at 3:47 PM, Paul Salyers wrote: > > > Dear Rev Programmers > > I need a simple small stack that will try and connect to a MySQL db on > a server shell. > > If it connects ok I want a message that says Connected else No > Connection > > Anyone have such a stack. > > I don't know how to do this but I would think there should be 3 test > boxes: > > URL, db login, db password > > Can some1 help > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCcpJm7aqtWrR9cZoRAnAsAJ9FBLP/W0F7ZGNBg1pBoJQgFcU4fwCfdaD8 6Mypu8CVyxh4f7uN/CRkMTw= =p2lo -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From stephenREVOLUTION at barncard.com Fri Apr 29 16:00:08 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 29 Apr 2005 13:00:08 -0700 Subject: MySQL connection accepted In-Reply-To: <6.1.1.1.2.20050429144202.03133928@softseven.org> References: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> <6.1.1.1.2.20050429144202.03133928@softseven.org> Message-ID: Why would you want to access MySQL through the shell, when it's available in Rev? sqb At 2:47 PM -0500 4/29/05, Paul Salyers wrote: >Dear Rev Programmers > >I need a simple small stack that will try and connect to a MySQL db >on a server shell. > >If it connects ok I want a message that says Connected else No Connection > >Anyone have such a stack. > >I don't know how to do this but I would think there should be 3 test boxes: > >URL, db login, db password > >Can some1 help > >Paul Salyers >PS1 - Senior Rep. >PS1 at softseven.org >Http://ps1.SoftSeven.org From ps1 at softseven.org Fri Apr 29 16:03:47 2005 From: ps1 at softseven.org (Paul Salyers) Date: Fri, 29 Apr 2005 15:03:47 -0500 Subject: MySQL connection accepted In-Reply-To: References: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> <6.1.1.1.2.20050429144202.03133928@softseven.org> Message-ID: <6.1.1.1.2.20050429150228.02f89ba0@softseven.org> At 03:00 PM 4/29/2005, you wrote: >Why would you want to access MySQL through the shell, when it's available >in Rev? > >sqb Because we are butting up a non-rep program on a shell that will be accessed via http://address.com Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From psahores at easynet.fr Fri Apr 29 16:09:43 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 29 Apr 2005 22:09:43 +0200 Subject: Our friend the proxy server In-Reply-To: <479188d327ac8e05a93b5e5eff2c4fde@mangomultimedia.com> References: <479188d327ac8e05a93b5e5eff2c4fde@mangomultimedia.com> Message-ID: <2e7ce84d4500ed8a6b8d63691f94902e@easynet.fr> Trevor, Unfortunally, the windows based proxy servers don't works anytime (some times yes, sometimes no) as expected in the situation you are describing, even if your server-side forms are well formed, aka including the needed metatags : This problem will never occur if the proxy is set in using an unix OS, mac os x and linux included. Best, > I'm interested in hearing what people are doing (if anything) for > proxy detection on Windows. Here is the situation I am up against. > > I have an app which grabs data from the web on occasion. Detecting > and setting proxy settings on Windows is fine if they have manually > configured IE since the settings show up in the registry. > > The big problem occurs when the computers are behind a proxy server > and the computers are getting their proxy server info automatically > from the server (from something like a .pac file). Windows doesn't > seem to store this info in the registry. > > I have a way for users to manually configure their proxy settings but > in one environment users will be moving to different offices with > their laptops and proxy settings will change based on their IP subnet. > Asking these (very) non-technical folks to configure every time they > movie creates obvious problems. Anyone have any insight on how to > detect proxy settings under any circumstances? > > Thanks, > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From mikeythek at gmail.com Fri Apr 29 16:13:04 2005 From: mikeythek at gmail.com (Mikey) Date: Fri, 29 Apr 2005 16:13:04 -0400 Subject: Correct syntax In-Reply-To: References: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> Message-ID: <9b408d8e050429131338759b35@mail.gmail.com> > You just need to declare the global vars before using them in your > handlers, so you can : Hmm, so what happens if I assign a global before declaring it as such? put "crap" into myCrap global myCrap -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Fri Apr 29 16:16:41 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 29 Apr 2005 13:16:41 -0700 Subject: Our friend the proxy server In-Reply-To: <479188d327ac8e05a93b5e5eff2c4fde@mangomultimedia.com> References: <479188d327ac8e05a93b5e5eff2c4fde@mangomultimedia.com> Message-ID: I should probably clarify that I need the proxy settings to stuff in the HTTPProxy property. I don't need authentication, I just want to save the user from having to enter in their proxy info that they most likely will not know. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From rcozens at pon.net Fri Apr 29 16:18:34 2005 From: rcozens at pon.net (Rob Cozens) Date: Fri, 29 Apr 2005 13:18:34 -0700 Subject: Correct syntax In-Reply-To: References: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> Message-ID: <6.2.1.2.1.20050429131438.01e73358@pop3.pon.net> Hi Tom, >My thinking is they only need declared if I am going to do something with >them. Is this faster? I don't think so. A "global" statement is in essence a compiler directive specifying the scope of the variable name. I doubt it comes into play at runtime. Rob Cozens, Staff Conservator Mendonoma Marine Life Conservancy "That oil is toxic is now beyond dispute." -- Dr. Robert Howarth, Woods Hole Marine Biological Laboratory, 1983 From jacque at hyperactivesw.com Fri Apr 29 16:59:10 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Apr 2005 15:59:10 -0500 Subject: [ANN] Reminder - online scripting conferences Message-ID: <4272A01E.3020107@hyperactivesw.com> Just a reminder that the big kickoff is tomorrow. Here's a copy of the most recent news announcement. Note that you can also join the conference via the link on the web page at . ******* Don't forget! The first online conference is THIS SATURDAY, 30th April! Head on over to the Runtime Revolution Chat room at 11.30am EST (3.30pm GMT) and join the fun: Please note the change of venue from our previous email. Organised and run by the renowned Jacqueline Landman-Gay, these conferences will consist of a series of fortnightly moderated online chat sessions, free and open to all. The aim of the conferences is to introduce the basic techniques of programming in Dreamcard and Revolution to the widest possible audience, in a fun, exciting way. Don't know what a stack is? Don't know your background from your backyard? These conferences are for you. They will also be excellent refreshers for more experienced scripters, a forum where you can meet other Revolutionaries, and an all round exhilarating experience. Advanced Revolution users will be in attendance, so after the moderated discussion on the topic at hand, you can ask your own scripting questions and get real-time personalized answers from the pros. The introductory session will be presented by me, Kevin Miller, in person and will focus on Stack Structure. For more information, world time conversions and to download the stacks before each conference please visit: http://support.runrev.com/scriptingconferences/ I look forward to meeting you! Warm regards, Kevin Miller CEO Runtime Revolution Ltd We value your privacy. If you would prefer not to receive our news and special offers in the future, you may be removed from our lists by emailing support at runrev.com with "unsubscribe product announcements" in the subject line. For assistance or to contact us, please email support at runrev.com. ******* -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eijkhout at cs.utk.edu Fri Apr 29 17:35:33 2005 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Fri, 29 Apr 2005 17:35:33 -0400 Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <4272A01E.3020107@hyperactivesw.com> References: <4272A01E.3020107@hyperactivesw.com> Message-ID: <2b1c0e374a5b1ba597d7f9e1ca8724f8@cs.utk.edu> On Apr 29, 2005, at 4:59 PM, J. Landman Gay wrote: > 11.30am EST (3.30pm GMT) I thought EST was GMT-5. V. -- Victor Eijkhout Innovative Computing Lab, University of Tennessee, Knoxville 865 974 9308 From kray at sonsothunder.com Fri Apr 29 17:39:09 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 29 Apr 2005 16:39:09 -0500 Subject: Problem with "convert it to seconds" In-Reply-To: <285132039.20050429093831@ahsoftware.net> Message-ID: On 4/29/05 11:38 AM, "Mark Wieder" wrote: > Richard- > > Friday, April 29, 2005, 8:18:48 AM, you wrote: > > RG> Has anyone posted this enhancement request for optional DST-independent > RG> time calculations to Bugzilla? > > RG> What's the BZ report number? > > I coulda sworn this was in bz, but the closest I could come was #2387, > still categorized as "new", even after the note from tuviah confirming > the bug. So I threw five votes that way in the hopes that the engine > team will wake up and spend time fixing the date routines so that we > can stop bringing it up on the list. Anyone else for making #2387 the > focal point for this? Yes, that sounds good. In fact, one thing that people are interested in is a simple example of the problem at hand. Here is what I consider to be a simple example of the conversion issue (keep in mind that this year in the US, DST happened on 4/3/05 "Spring Forward", and will happen again on 10/30/05 "Fall Back"): ----- Date *before* Spring DST changeover ----- put "4/1/2005 05:00" into tDate convert tDate to seconds convert tDate to short date and short time put tDate -->> 4/1/05 4:00 ----- Date between Spring and Fall DST changes put "4/29/2005 05:00" into tDate convert tDate to seconds convert tDate to short date and short time put tDate -->> 4/29/05 5:00 ----- Date *after* Fall DST changeover ----- put "11/1/2005 05:00" into tDate convert tDate to seconds convert tDate to short date and short time put tDate -->> 11/1/05 4:00 As you can see, it all has to do with what "side" of DST you're on. If you ask for the conversion to handle a date on "this side" of DST (i.e. you ask for a date between 4/3 and 10/30 when the current system clock also registers a date between 4/3 and 10/30), everything's OK. If, on the other hand, you ask for a date that is on the "other side" of DST (i.e. you ask for a date between 10/31 and 4/2 when the current system clock registers a date between 4/3 and 10/30), you lose an hour. There are obviously other date/time conversion issues, but this helps to provide a simple example everyone can "grok". I have suggested a new "useDST" global property to put the conversion choice in the hands of the developer, and have added 5 of my votes to this. I strongly recommend that people pour their votes on this bug so we can get it fixed ASAP. Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Fri Apr 29 17:59:14 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 29 Apr 2005 14:59:14 -0700 Subject: Correct syntax In-Reply-To: <9b408d8e050429131338759b35@mail.gmail.com> References: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> <9b408d8e050429131338759b35@mail.gmail.com> Message-ID: <13824375399.20050429145914@ahsoftware.net> Mikey- Friday, April 29, 2005, 1:13:04 PM, you wrote: M> Hmm, so what happens if I assign a global before declaring it as such? M> put "crap" into myCrap M> global myCrap I believe the 2.5.1 will let you try this for yourself. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Apr 29 18:09:42 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 29 Apr 2005 15:09:42 -0700 Subject: Problem with "convert it to seconds" In-Reply-To: <9b408d8e050429085550aca789@mail.gmail.com> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> <42725058.1060407@fourthworld.com> <9b408d8e0504290855427a5c44@mail.gmail.com> <9b408d8e050429085550aca789@mail.gmail.com> Message-ID: <11125003282.20050429150942@ahsoftware.net> Mikey- I finally took a look at the blog. That's getting to be quite a collection. Thanks for putting that together. -- -Mark Wieder mwieder at ahsoftware.net Friday, April 29, 2005, 8:55:43 AM, you wrote: M> Oops, sorry, I have the wrong blogs in the sig. M> http://www.taoofrunrev.blogspot.com From 3mcgrath at adelphia.net Fri Apr 29 18:13:18 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 29 Apr 2005 18:13:18 -0400 Subject: Correct syntax In-Reply-To: <6.2.1.2.1.20050429131438.01e73358@pop3.pon.net> References: <7ae6fddfde289da68efb18d1bb0fc538@adelphia.net> <6.2.1.2.1.20050429131438.01e73358@pop3.pon.net> Message-ID: <28dcf8d65bf50494db009a679390116e@adelphia.net> Ok then, Thanks. I have been trying to keep my code clean and fast since I will be doing a lot of things. I thought it might be faster at first since in Debug mode I had to click to advance on each line. So if it is not faster at runtime and only at compile time I still might do it this way during my (long) debug sessions. As long as it is not going to 'hurt' anything. Thanks again Rob, Tom On Apr 29, 2005, at 4:18 PM, Rob Cozens wrote: >> My thinking is they only need declared if I am going to do something >> with them. Is this faster? > > I don't think so. > > A "global" statement is in essence a compiler directive specifying the > scope of the variable name. > > I doubt it comes into play at runtime. Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541 From jacque at hyperactivesw.com Fri Apr 29 18:17:54 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Apr 2005 17:17:54 -0500 Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <2b1c0e374a5b1ba597d7f9e1ca8724f8@cs.utk.edu> References: <4272A01E.3020107@hyperactivesw.com> <2b1c0e374a5b1ba597d7f9e1ca8724f8@cs.utk.edu> Message-ID: <4272B292.3080104@hyperactivesw.com> On 4/29/05 4:35 PM, Victor Eijkhout wrote: > > On Apr 29, 2005, at 4:59 PM, J. Landman Gay wrote: > >> 11.30am EST (3.30pm GMT) > > > I thought EST was GMT-5. > > V. We're on Daylight Savings Time right now, so everything shifted one hour. EST right now is -4. This fall, it will be -5 again. At least, I think so, because I'm in Central time zone and we are at -5 right now. One thing I am sure of is that I will be going online at 10:30 AM Central US time. Maybe that helps? We should get Sarah to figure out the seconds for us. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Apr 29 18:49:28 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 29 Apr 2005 23:49:28 +0100 Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <4272B292.3080104@hyperactivesw.com> References: <4272A01E.3020107@hyperactivesw.com> <2b1c0e374a5b1ba597d7f9e1ca8724f8@cs.utk.edu> <4272B292.3080104@hyperactivesw.com> Message-ID: <4272B9F8.6050306@tweedly.net> J. Landman Gay wrote: > > We're on Daylight Savings Time right now, so everything shifted one > hour. EST right now is -4. This fall, it will be -5 again. At least, I > think so, because I'm in Central time zone and we are at -5 right now. > Actually, EST never changes - right now the East Coast states are on EDT (Eastern Daylight Time) which is UTC-4 EST is (and always will be) UTC-5. UTC is close enough to GMT for our purposes (they can vary by up to 0.9 of a second !!) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005 From jacque at hyperactivesw.com Fri Apr 29 21:47:42 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Apr 2005 20:47:42 -0500 Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <4272B9F8.6050306@tweedly.net> References: <4272A01E.3020107@hyperactivesw.com> <2b1c0e374a5b1ba597d7f9e1ca8724f8@cs.utk.edu> <4272B292.3080104@hyperactivesw.com> <4272B9F8.6050306@tweedly.net> Message-ID: <4272E3BE.6060209@hyperactivesw.com> On 4/29/05 5:49 PM, Alex Tweedly wrote: > J. Landman Gay wrote: > >> >> We're on Daylight Savings Time right now, so everything shifted one >> hour. EST right now is -4. This fall, it will be -5 again. At least, I >> think so, because I'm in Central time zone and we are at -5 right now. >> > Actually, EST never changes - right now the East Coast states are on EDT > (Eastern Daylight Time) which is UTC-4 > EST is (and always will be) UTC-5. Ack. There is no denying your logic. ;) And here Heather even got in touch with me to double-check the time conversion, and I was, like, "Yeah, that's right...oh wait, no, it should be an hour earlier...oh! no wait, I'm wrong, it's, um...yeah, okay, that's right." I was so busy figuring out the numbers I forgot to look at the letters. > > UTC is close enough to GMT for our purposes (they can vary by up to 0.9 > of a second !!) Okay, that's it. I have the solution. We all stay online for 24 hours nonstop so we don't miss anybody. And no fair sleeping. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 29 22:16:28 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Apr 2005 21:16:28 -0500 Subject: Problem with "convert it to seconds" In-Reply-To: <11125003282.20050429150942@ahsoftware.net> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> <42725058.1060407@fourthworld.com> <9b408d8e0504290855427a5c44@mail.gmail.com> <9b408d8e050429085550aca789@mail.gmail.com> <11125003282.20050429150942@ahsoftware.net> Message-ID: <4272EA7C.9010103@hyperactivesw.com> On 4/29/05 5:09 PM, Mark Wieder wrote: > Mikey- > > I finally took a look at the blog. That's getting to be quite a > collection. Thanks for putting that together. > Good start, yes. Good work Mikey. A couple of them don't feel quite right though. I'm not sure whether they should be left alone because they are common things that might trip up newcomers, or if they should be corrected because they aren't really "problems". For example, this one: > debugger affects the execution of some scripts > > Try the following script in a field: > > on tabKey > answer the selectedChunk > end tabKey > > Now click in the field and type a character. Notice the answer that > results. > > Now edit the script, and set a debug checkpoint either on the on > tabKey or answer... lines. Exit the script, click in the field, and > type a character. Surprise! The answer dialog is empty. The script editor is just another stack, so of course when you change stacks the original selection is removed. So this isn't really something that's "wrong" with Revolution, it is just standard behavior. On the other hand, it is probably something that newcomers wouldn't expect so maybe it should stay in there. Use different wording, maybe. Also, the problem with the selection point in newly opened script editors isn't something I can reproduce, so I wonder if it is really related to how the editor is opened. I thought this was an old bug that got fixed. The blog is a good idea though Mikey, keep going. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jspencer78 at mac.com Fri Apr 29 22:17:59 2005 From: jspencer78 at mac.com (James Spencer) Date: Fri, 29 Apr 2005 21:17:59 -0500 Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <4272E3BE.6060209@hyperactivesw.com> References: <4272A01E.3020107@hyperactivesw.com> <2b1c0e374a5b1ba597d7f9e1ca8724f8@cs.utk.edu> <4272B292.3080104@hyperactivesw.com> <4272B9F8.6050306@tweedly.net> <4272E3BE.6060209@hyperactivesw.com> Message-ID: On Apr 29, 2005, at 8:47 PM, J. Landman Gay wrote: > On 4/29/05 5:49 PM, Alex Tweedly wrote: > > > J. Landman Gay wrote: > > > >> > >> We're on Daylight Savings Time right now, so everything shifted one > >> hour. EST right now is -4. This fall, it will be -5 again. At > least, I > >> think so, because I'm in Central time zone and we are at -5 > right now. > >> > > Actually, EST never changes - right now the East Coast states are > on EDT > > (Eastern Daylight Time) which is UTC-4 > > EST is (and always will be) UTC-5. > > Ack. There is no denying your logic. ;) And here Heather even got > in touch with me to double-check the time conversion, and I was, > like, "Yeah, that's right...oh wait, no, it should be an hour > earlier...oh! no wait, I'm wrong, it's, um...yeah, okay, that's > right." I was so busy figuring out the numbers I forgot to look at > the letters. > > > > > UTC is close enough to GMT for our purposes (they can vary by up > to 0.9 > > of a second !!) > > Okay, that's it. I have the solution. We all stay online for 24 > hours nonstop so we don't miss anybody. And no fair sleeping. For those of us who can't do this (stay online for the next 24 hours) :), what time is the conference: 3:30 GMT or 11:30 EST? Actually what I really want to know is whether it is at 11:30 Minneapolis time or 10:30 Minneapolis time (just in case you have problems converting from Minneapolis to Rochester time zones). Spence From jacque at hyperactivesw.com Fri Apr 29 22:52:42 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Apr 2005 21:52:42 -0500 Subject: [ANN] Reminder - online scripting conferences In-Reply-To: References: <4272A01E.3020107@hyperactivesw.com> <2b1c0e374a5b1ba597d7f9e1ca8724f8@cs.utk.edu> <4272B292.3080104@hyperactivesw.com> <4272B9F8.6050306@tweedly.net> <4272E3BE.6060209@hyperactivesw.com> Message-ID: <4272F2FA.5040404@hyperactivesw.com> On 4/29/05 9:17 PM, James Spencer wrote: >> Okay, that's it. I have the solution. We all stay online for 24 hours >> nonstop so we don't miss anybody. And no fair sleeping. > > > For those of us who can't do this (stay online for the next 24 hours) > :), what time is the conference: 3:30 GMT or 11:30 EST? Actually what > I really want to know is whether it is at 11:30 Minneapolis time or > 10:30 Minneapolis time (just in case you have problems converting from > Minneapolis to Rochester time zones). Just watch me. :) It is both 3:30 GMT (plus or minus 0.9 seconds) and 11:30 EDT (Eastern *Daylight* time) and I can do the Rochester conversion for both NY and MN: The conference doors open at 10:30 AM Minneapolis time, which is Central Daylight time, which is Rochester MN time (but NOT Rochester NY time,) which is the same as Dallas and Omaha time. Hah. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From b.xavier at internet.lu Fri Apr 29 23:17:14 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 30 Apr 2005 05:17:14 +0200 Subject: Our friend the proxy server In-Reply-To: <479188d327ac8e05a93b5e5eff2c4fde@mangomultimedia.com> Message-ID: <20050430032924.3EB759300E1@mail.runrev.com> > Asking these (very) non-technical folks to configure every > time they movie creates obvious problems. Anyone have any > insight on how to detect proxy settings under any circumstances? Trevor, Have you checked MSDN or shellcity.org? They might have what you need... bingo, somewhat... although - there's no info per say... Grrr Has a list of many different protocols... it's a start. For php, i found this... http://www.phpbuddy.com/article.php?id=22 Maybe google has more but i didn't read the 419000 links it found ;) Note that most "corporate" software distributes the settings required to run in their network (SMS, Novell NetInstall, Octopus, etc...). Nothing you can do about it other than ask the administrator to send you also that info... Any of these systems can deliver a file to your users' folders. IMOHO, you should contact their network administrator for a settings file delivery or their proxy setting delivery so you can adapt your software to their network. Im not sure all proxy settings can be detected... Also, given it's a multi-subnet lan, there's little way to know which lan the proxy is in... So, haveing the same conditions at work, we're forced to enter it manually. Most users however use preconfigured thin-clients where the problem would be the same for your application, and furthermore, your app may not have access to the registry entries due to security restrictions. cheers Xavier http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Trevor DeVore > Sent: Friday, April 29, 2005 21:54 > To: Revolution List > Subject: Our friend the proxy server > > I'm interested in hearing what people are doing (if anything) > for proxy detection on Windows. Here is the situation I am > up against. > > I have an app which grabs data from the web on occasion. > Detecting and setting proxy settings on Windows is fine if > they have manually configured IE since the settings show up > in the registry. > > The big problem occurs when the computers are behind a proxy > server and the computers are getting their proxy server info > automatically from the server (from something like a .pac > file). Windows doesn't seem to store this info in the registry. > > I have a way for users to manually configure their proxy > settings but in one environment users will be moving to > different offices with their laptops and proxy settings will > change based on their IP subnet. > Asking these (very) non-technical folks to configure every > time they movie creates obvious problems. Anyone have any > insight on how to detect proxy settings under any circumstances? > > Thanks, > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Fri Apr 29 23:27:44 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 30 Apr 2005 05:27:44 +0200 Subject: Format of thrown errors; IDE error integration In-Reply-To: <42727CEA.2080902@hyperactivesw.com> Message-ID: <20050430033952.49ACD9300E1@mail.runrev.com> > As you can see, I produced this in MetaCard instead of > Revolution, since > the error codes and messages are easier to access from MC. Jacky, I've been thinking of this for so long... Finally made a working "try-based" debugger this week and your message drops in the list while im looking at what each of those items meant! But this is just a bit of info I hadn't gone to dig yet (other than for display/linking) and I thank you for illuminating the items in it!!! You're the goddess of the Revolution ;)) It's about time someone documented it too I might add, although I had hoped it would come from the source for the best... Did I ever requested it on the list just once (after 3 i usually give up and just wait it comes up again...)? Now that I need it, you magically make it come black on white! What an insight!!! Here's why im so excited! Im just so impatient to release TAOO right now, my fingers can't type straight!!! In a situation reversal, Im playing piano no probs now even blind and the rythm is coming smoothly! Too much!!! It's a great time for me! Things work more and more by themselves... Alas not everything in life - too keep the challenge there ;)! I had to build an alternative GUI Geometry management strategy from RunRevs. Which is called MagicGM or MGM (just a project-code name - Archimedes sounds more appropriate for a TAOO Agent stack.) So the MagicGM has a bug reporter built-in to track errors because im barred from the debugger or crash happens. It has a somewhat better approach to find the location of the error than the debugger whithout the "in script tracing" which I dont really want to rewrite. I hadn't yet looked at what the errormessage/object that were in MC (despite having rewriten most of the script and error handling in MC long ago) or even started looking if it still exists in RR. The mail list/bugzilla request was sure to come up again! So this log of errors I generated came out like an extended error bug trace which is totally surprising - pleasant surprise that my code is working as expected too without trying!!! What an irony! Without trying! What's the penalty for using the try statement? 10-15% in a millisecond counted loopX1000000 for a get statement - with a catch statement it's an even gamble (same times usually)... With error processing a bit more depending on the trace information you need ... Time to process a real bug: minutes? Hours? It's better to catch bugs before they catch you! You get the picture... My problem was compounded that debugging with the revdebugger was an instant crash. So OK, no rant, DIY (do it yourself). Do it right... This is a major number of try statements... But the granularity of the errors is what makes it interesting... The result is not yet as cool as the error display from RR GUI wise - granted, (which is totally well done (except for the scrolling or (cough, cough) GM). Im jubilating because I got it without trying! The misterious path of least resistance I guess ;) OK, how does the extra debugging info work? In the magicGM (soon to be released...), i trap the resizestack handler, or a control in a stack (like a slider) calls some magicGM scripts. Every script that does a move on a control, does a loop for each object and "tries" to set each's prop to a value. If not, it returns an error log. Since the script that sent the "doresize" script also tries, it's get a result, plus it's errors. So the errors get "compounded" sort of via the calls. at the end you get a nice list of offenses to the system but the system doesn't crash or stop... And no reverror interuptions unless required! Im sure, you (the resourceful reader) will mix-in Jacky's great information along. Let's see who gets a cool bugInspector going first! i see RunRev as a sort of OS for my objects!!! -- The result is that you get a clear path of the message that errored. From the calling script (from where bad data could have come from) to the faulting script (that had bad-data indigestion). Anyone up for it? :) I have a dumb textual palette called insithiously the TAOODebug palette/stack to display, scroll around these errors. Sometimes, going your own route, can yield different inopinated results in TAOO ;) Anyway, im trying to do some releases this weekend so hopefully you'll see the result. cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > J. Landman Gay > Sent: Friday, April 29, 2005 20:29 > To: How to use Revolution > Subject: Re: Format of thrown errors; IDE error integration > > On 4/29/05 11:46 AM, Dar Scott wrote: > > > What is the format of thrown errors? How do I add to the error-code > > list? > > Some of it is in the docs under "errorDialog": > > > A list of possible execution errors is contained in the > "cErrorsList" > > property of the first card of the stack "revErrorDisplay". You can > > view the list with the following statement: > > > > answer the cErrorsList of card 1 of stack "revErrorDisplay" > > You should be able to add to this list by altering that card property. > > The format is in the form of 3 comma-delimited items, with a > possible fourth item, for example: > > 573,45,5,sor > > I got this error by typing "sor" into the message box, for > which there was no equivalent handler. > > Item 1 is the error ID, which corresponds to a line number in > the errors list stored in the revErrorDisplay stack. You'd > grab this line in the errors list to display the text > description of the error, which in this case is "can't find handler". > > Item 2 is the line number of the line in the script that errored. > > Item 3 is the token that errored in that line. > > The fourth item, if there is one, can be the value sent to > the handler, the object that contains the handler, or the > name of the message passed to it. Since each error can > produce several lines of error code messages, the fourth item > varies if it exists at all. The "sor" error I generated > actually produced all these lines: > > > 573,45,5,sor > 253,41,1 > 253,40,1 > 241,40,1,returnInField > 353,0,0,field id 1002 of card id 1001 of stack "Message Box" > of stack "/Applications/MetaCard/MetaCard 2.6.1/mctools.mc" > > > As you can see, I produced this in MetaCard instead of > Revolution, since > the error codes and messages are easier to access from MC. > > -- > 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 lists at mangomultimedia.com Sat Apr 30 00:05:06 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 29 Apr 2005 21:05:06 -0700 Subject: Our friend the proxy server In-Reply-To: <20050430032924.3EB759300E1@mail.runrev.com> References: <20050430032924.3EB759300E1@mail.runrev.com> Message-ID: <5D48880D-15E7-4249-82F5-98A41E6A035E@mangomultimedia.com> On Apr 29, 2005, at 8:17 PM, MisterX wrote: > > Have you checked MSDN or shellcity.org? > They might have what you need... I've search around MSDN a bit looking for an API to get the info but haven't found anything. > bingo, somewhat... > > randz/prot > ocol/automatic_web_proxy_detection.asp> > > > > although - there's no info per say... Grrr > > randz/prot > ocol/royalty_free_protocol_license_agreement.asp> > > Has a list of many different protocols... it's a start. > > For php, i found this... > http://www.phpbuddy.com/article.php?id=22 > > Maybe google has more but i didn't read the 419000 links it found ;) I've read up a bit on how the files work in networks that automatically detect proxy settings but I figure the Windows system knows what proxy it is using (at least IE does) so I would love to get the info from there. I don't want to parse the javascript function that passes out proxy addresses. Who knows, maybe that is the only way to do it. > Note that most "corporate" software distributes the settings > required to run > in their network (SMS, Novell NetInstall, Octopus, etc...). Nothing > you can > do about it other than ask the administrator to send you also that > info... > Any of these systems can deliver a file to your users' folders. > > IMOHO, you should contact their network administrator for a > settings file > delivery or their proxy setting delivery so you can adapt your > software to > their network. Im not sure all proxy settings can be detected... > Also, given > it's a multi-subnet lan, there's little way to know which lan the > proxy is > in... So, haveing the same conditions at work, we're forced to > enter it > manually. Most users however use preconfigured thin-clients where the > problem would be the same for your application, and furthermore, > your app > may not have access to the registry entries due to security > restrictions. Right now our app allows someone to manually enter proxy settings. The problem is the app is going to be distributed across corporate networks, hospital networks, etc. I will probably add a feature to load in a proxy settings file that will automatically configure it the first time it is launched. I haven't had much experience with proxy servers so I'm not sure how most software handles this. Of course I would just like everything to work for the user without any effort on their part but that may be asking too much here. Thanks, -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From b.xavier at internet.lu Sat Apr 30 00:18:39 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 30 Apr 2005 06:18:39 +0200 Subject: Our friend the proxy server In-Reply-To: <5D48880D-15E7-4249-82F5-98A41E6A035E@mangomultimedia.com> Message-ID: <20050430043047.E7E8293006B@mail.runrev.com> > Right now our app allows someone to manually enter proxy settings. > The problem is the app is going to be distributed across > corporate networks, hospital networks, etc. I will probably > add a feature to load in a proxy settings file that will > automatically configure it the first time it is launched. I > haven't had much experience with proxy servers so I'm not > sure how most software handles this. Of course I would just > like everything to work for the user without any effort on > their part but that may be asking too much here. Most apps i've seen, allow you to enter proxy settings in the application's options. Firefox or even TotalCommander do and they do not propose auto-detection. Many apps use a small ini file located in the apps folder. (more convenient than a registry setting since your program or other user can edit them easily - or even the network distribution server. Avoid the registry or make sure you test all windows versions for the different branchings, etc... cheers Xavier From jperryl at ecs.fullerton.edu Sat Apr 30 00:39:49 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 29 Apr 2005 21:39:49 -0700 (PDT) Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <4272E3BE.6060209@hyperactivesw.com> Message-ID: Yikes!!!! So, on the west US coast, do I drag my sorry *ss out of bed at 8:30 am or...? (okay, in my defense, I'll be trying to get the 4-y.o. twins to sleep in their own beds until midnight or so... sigh... maybe wake-up @ 2 am, crawl back to my own sleeping abode, have them wake me up 2 hours later for some yoghurt-protein bottles... I don't think I've had 6 hours of uninterrupted sleep since before I got pregnant!!!). UTC? That's a local mall (University Towne Center)... I don't think they open before 10 am. I hate mornings... @;-) Judy On Fri, 29 Apr 2005, J. Landman Gay wrote: > Ack. There is no denying your logic. ;) And here Heather even got in > touch with me to double-check the time conversion, and I was, like, > "Yeah, that's right...oh wait, no, it should be an hour earlier...oh! no > wait, I'm wrong, it's, um...yeah, okay, that's right." I was so busy > figuring out the numbers I forgot to look at the letters. > > Okay, that's it. I have the solution. We all stay online for 24 hours > nonstop so we don't miss anybody. And no fair sleeping. > From b.xavier at internet.lu Sat Apr 30 01:16:33 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 30 Apr 2005 07:16:33 +0200 Subject: A really cool trick! (medium level scripting) Message-ID: <20050430052842.3223893006B@mail.runrev.com> you probably dont know but this cool little script from HyperCard, somewhat modified across the life of its utility, is great to keep around. Many plugins already do it anyway... But that's not the point... on xy local lastxy repeat until the mouseClick get the mouseLoc && " horz:" & the mouseH && " vert:" & the mouseV if it is not lastxy then put it put it into lastxy end if end repeat end xy Here's the point... What about getting any property with the mousemove? I wanted to make a color set and needed to grab a color from a control nearby. -- RepeatShowGetItUntilClick is an ugly, hard to remember name. I noticed! on RepeatShowGetItUntilClick what local lastwhat repeat until the mouseClick do what if it is not lastwhat then put it put it into lastwhat end if end repeat end RepeatShowGetItUntilClick To use it, just pass a "get" or as a parameter. Note there's no error checking. Left as exercise... Example: Type this in the message box: RepeatShowGetItUntilClick "get the mousecolor" Any "mouse" property (mouseChar, mouseCharChunk, mouseControl, mouseLine, mouseLoc, mouseText,loc,h,v,etc... can be shown quite easily with this!!!). Here's the old (but updated) article on the stack i did with the previous xy in Metacard. Handles most cases. http://www.monsieurx.com/modules.php?name=News&file=article&sid=118 cheers Xavier http://monsieurx.com From b.xavier at internet.lu Sat Apr 30 01:18:11 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 30 Apr 2005 07:18:11 +0200 Subject: [ANN] Reminder - online scripting conferences In-Reply-To: Message-ID: <20050430053019.7CF11930069@mail.runrev.com> you can login now ;) > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Judy Perry > Sent: Saturday, April 30, 2005 06:40 > To: jacque at hyperactivesw.com; How to use Revolution > Subject: Re: [ANN] Reminder - online scripting conferences > > Yikes!!!! > > So, on the west US coast, do I drag my sorry *ss out of bed > at 8:30 am or...? > > (okay, in my defense, I'll be trying to get the 4-y.o. twins > to sleep in their own beds until midnight or so... sigh... > maybe wake-up @ 2 am, crawl back to my own sleeping abode, > have them wake me up 2 hours later for some yoghurt-protein > bottles... I don't think I've had 6 hours of uninterrupted > sleep since before I got pregnant!!!). > > UTC? That's a local mall (University Towne Center)... I > don't think they open before 10 am. > > I hate mornings... @;-) > > Judy > > On Fri, 29 Apr 2005, J. Landman Gay wrote: > > > Ack. There is no denying your logic. ;) And here Heather > even got in > > touch with me to double-check the time conversion, and I was, like, > > "Yeah, that's right...oh wait, no, it should be an hour > earlier...oh! > > no wait, I'm wrong, it's, um...yeah, okay, that's right." I was so > > busy figuring out the numbers I forgot to look at the letters. > > > > Okay, that's it. I have the solution. We all stay online > for 24 hours > > nonstop so we don't miss anybody. And no fair sleeping. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Sat Apr 30 01:47:38 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 29 Apr 2005 22:47:38 -0700 Subject: [ANN] Reminder - online scripting conferences In-Reply-To: References: Message-ID: <0d8e4f7843b5d23abde90aef5f36027b@danshafer.com> Judy.... You and I may not always see eye to eye, but on this point we are in harmony. Yuk. I'll *try* to be there, but no promises. On Apr 29, 2005, at 9:39 PM, Judy Perry wrote: > I hate mornings... @;-) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From jperryl at ecs.fullerton.edu Sat Apr 30 02:12:58 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 29 Apr 2005 23:12:58 -0700 (PDT) Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <20050430053019.7CF11930069@mail.runrev.com> Message-ID: Uhhh... It's only 11 pm local time now. I don't think that's quite right. No fair making me even more sleepless!!! Judy On Sat, 30 Apr 2005, MisterX wrote: > you can login now ;) From jperryl at ecs.fullerton.edu Sat Apr 30 02:14:32 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 29 Apr 2005 23:14:32 -0700 (PDT) Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <20050430053019.7CF11930069@mail.runrev.com> Message-ID: And, why am I even receiving this? WiFi rules... (beats watching 'The Incredibles' for the x-hundredth time ;-) ) I don't know which I've seen more... this or Nemo. Judy On Sat, 30 Apr 2005, MisterX wrote: > you can login now ;) From mwieder at ahsoftware.net Sat Apr 30 02:15:42 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 29 Apr 2005 23:15:42 -0700 Subject: Problem with "convert it to seconds" In-Reply-To: <4272EA7C.9010103@hyperactivesw.com> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> <9b408d8e0504290855427a5c44@mail.gmail.com> <9b408d8e050429085550aca789@mail.gmail.com> <4272EA7C.9010103@hyperactivesw.com> Message-ID: <11054162992.20050429231542@ahsoftware.net> Jacque- Friday, April 29, 2005, 7:16:28 PM, you wrote: JLG> The script editor is just another stack, so of course when you change JLG> stacks the original selection is removed. So this isn't really something JLG> that's "wrong" with Revolution, it is just standard behavior. On the JLG> other hand, it is probably something that newcomers wouldn't expect so JLG> maybe it should stay in there. Use different wording, maybe. I agree that it isn't necessarily a problem in the IDE, but only in hindsight when you start to analyze what's really going on. It is definitely something that can and will trip people up, so documenting the behavior is, IMO, the right thing to do. And I thought that was one of the purposes of a blog, anyway - documenting the journey so that others coming after won't trip in the same places. If there are actual bugs they belong in bugzilla. JLG> Also, the problem with the selection point in newly opened script JLG> editors isn't something I can reproduce, so I wonder if it is really JLG> related to how the editor is opened. I thought this was an old bug that JLG> got fixed. OTOH, *I* can reproduce it here without a problem, and it was a surprise to me... may be a Windows thing - I haven't had a chance to try it yet in OSX. -- -Mark Wieder mwieder at ahsoftware.net From jperryl at ecs.fullerton.edu Sat Apr 30 02:19:21 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 29 Apr 2005 23:19:21 -0700 (PDT) Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <0d8e4f7843b5d23abde90aef5f36027b@danshafer.com> Message-ID: Ditto... Dan... Awwww... are we in that much disagreement?? No promises here, either, but I'll try. MUST.... GET .... SLEEP!!! ... !!! (is there an x-talk script yet than can control 4-y.o.s? A special converter cable???). Desperately seeking sleep... Judy On Fri, 29 Apr 2005, Dan Shafer wrote: > Judy.... > > You and I may not always see eye to eye, but on this point we are in > harmony. > > Yuk. > > I'll *try* to be there, but no promises. From europe at ehug.info Sat Apr 30 05:25:52 2005 From: europe at ehug.info (Mark Schonewille) Date: Sat, 30 Apr 2005 11:25:52 +0200 Subject: Filter Message-ID: <42734F20.2050207@ehug.info> Hi, I have a long list with text. The syntax filter myLongList with "*a*|*b*" should return almost the complete list, but I don't get any data returned, while filter myLongList with "*a*" and filter myLongList with "*b*" both work. What's wrong here? Mark -- eHUG coordinator mailto:europe at ehug.info http://home.wanadoo.nl/mark.sch http://www.ehug.info From alex at tweedly.net Sat Apr 30 06:11:55 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Apr 2005 11:11:55 +0100 Subject: Filter In-Reply-To: <42734F20.2050207@ehug.info> References: <42734F20.2050207@ehug.info> Message-ID: <427359EB.3090603@tweedly.net> Mark Schonewille wrote: > Hi, > > I have a long list with text. The syntax > > filter myLongList with "*a*|*b*" > > should return almost the complete list, but I don't get any data > returned, while > > filter myLongList with "*a*" > > and > > filter myLongList with "*b*" > > both work. What's wrong here? > You should be able to do "*[ab]*" You're using "filter" as though it tok any normal Regular Epression. It doesn't - only > Wildcard expressions are similar to regular expressions. You can use > the following characters in a wildcard expression: > > * > Matches zero or more of any character. The wildcard expression A*C > matches "AC", "ABC", or "ADZXC". > > ? > Matches exactly one character. The wildcard expression A?C matches > "ABC", but not "AC" or "ADZXC". > > [chars] > Matches any one of the characters inside the brackets. The wildcard > expression A[BC]D matches "ABD" or "ACD", but not "AD" or "ABCD". > > [char-char] > Matches any character whose ASCII value is between the first character > and the second character. > -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005 From kevin at runrev.com Sat Apr 30 08:23:50 2005 From: kevin at runrev.com (Kevin Miller) Date: Sat, 30 Apr 2005 13:23:50 +0100 Subject: [ANN] Reminder - online scripting conferences In-Reply-To: <4272F2FA.5040404@hyperactivesw.com> Message-ID: On 30/4/05 3:52 am, "J. Landman Gay" wrote: > Just watch me. :) It is both 3:30 GMT (plus or minus 0.9 seconds) and > 11:30 EDT (Eastern *Daylight* time) and I can do the Rochester > conversion for both NY and MN: The conference doors open at 10:30 AM > Minneapolis time, which is Central Daylight time, which is Rochester MN > time (but NOT Rochester NY time,) which is the same as Dallas and Omaha > time. Hah. For those of you in the UK, don't forget that we are on British summer time, not GMT. So its 4:30PM UK time this afternoon. Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From JimCarwardine at OwnYourFuture-net.com Sat Apr 30 08:42:49 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sat, 30 Apr 2005 09:42:49 -0300 Subject: A Philosophical Point In-Reply-To: <64878EF567131D4596246171F75FD4A97445AA@m-epo-1.epo.cdc.gov> Message-ID: I didn't have my Cheerio's that morning. Sorry list. I'll work on my flexibility a little harder... Jim on 4/29/05 10:40 AM, Lynch, Jonathan wrote: >> For my sake, please stay off the list... Jim > > I strongly object to this sentiment. As one who participates in this > list, I enjoyed this thread, and do not want John to "stay off the > list." > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim > Carwardine > Sent: Thursday, April 28, 2005 2:55 PM > To: Revolution Listserve > Subject: Re: A Philosophical Point > > I don't need to know this, John. How is RunRev to stay in business if > they > don't charge for their product? You of all people should know how much > overhead is required to produce bug-free code. RunRev could not sustain > itself unless it turned open source and that's not the business model > they > are running on. For my sake, please stay off the list... Jim > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Phone: 902-823-2339. Fax: 902-823-2139 What?s New... * Have you ever hired an employee who didn?t work out? * Did you do that on purpose? Probably not... If you want to greatly improve your hiring process, check out our new hiring process... www.HiringSmart.ca/ns and... www.KeepingTheBest.ca/ns From JimCarwardine at OwnYourFuture-net.com Sat Apr 30 09:06:02 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sat, 30 Apr 2005 10:06:02 -0300 Subject: To Rev or not to Rev In-Reply-To: <42e0784d416dd90af2d985917cccb712@fjrhome.net> Message-ID: I know there has been lots of discussion on this topic since I joined the list and I know many Rev'ers on this list have converted to Rev as their dev language of first choice. I'm having a continuing conversation with my provider about using his sever to serve my Rev app. First was he highly recommended MSSQL, which the list took exception to. Then I suggested he take a look at RunRev as a development tool himself (hoping to get some local expertise using Rev on a server) and here was his reply... "it is more of scripting language that a real programming language ? which is awesome for the non-technical developers like me and you, but is not a true object oriented application language which is being taught in universities." I don't know what to say about that. Are there are x-talk/OOP languages that are compiled, or, a difference between an OOP and an x-talk language, or, maybe he just assumed that Rev is not a true OOP on first glance? ... Jim on 4/26/05 10:30 AM, Frank D. Engel, Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > It's one of the few databases I'd consider inferior to MySql, not > because it lacks cross-platform compatibility, but because it is a > Microsoft product ;-) > > Realistically, any of the major database servers will have advantages > and disadvantages compared to the others. I personally like > PostgreSQL: it is free for both noncommercial *and* commercial use > (unlike MySql, which is only free for non-commercial use), it is > reasonably fast and quite powerful, fully ACID-compliant, supports > stored procedures, views, and so forth, has a sizable user community, > etc. > > And it runs just fine on my OS X box, along with Windows, Linux, and a > variety of other platforms. > > On Apr 26, 2005, at 8:49 AM, Jim Carwardine wrote: > >> What about the differences between MySQL and MSSQL. The proponents of >> MSSQL >> are adamant that it is far better. Is it really? Of course, it's not >> x-platform, which is a mark against it in my books... Jim >> >> on 4/25/05 3:58 PM, Bill wrote: >> >>> Yes I agree that SQL is the way to go. I can't wait until the MySQL to >>> SQLite utility is released so that I can try SQLite. I think it will >>> be >>> faster at connecting. >>> >>> >>> On 4/25/05 2:17 PM, "Dan Shafer" wrote: >>> >>>> >>>> Anyone else thinking along these lines? >>> >>> | | | >>> )_) )_) )_) >>> )___))___))___)\ >>> )____)____)_____)\\ >>> _____|____|____|____\\\__ >>> -------\ /--------- http://www.bluewatermaritime.com >>> ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >>> ^^^^ ^^^^ ^^^ ^^ >>> ^^^^ ^^^ >>> >>> 24 hour cell: (787) 378-6190 >>> fax: (787) 809-8426 >>> >>> Blue Water Maritime >>> P.O. Box 91 >>> Puerto Real, PR 00740 >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> -- >> >> OYF is... Highly resourceful people working together. >> >> >> Own Your Future Consulting Services Limited, >> 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 >> Phone: 902-823-2339. Fax: 902-823-2139 >> >> What?s New... >> >> * Have you ever hired an employee who didn?t work out? >> >> * Did you do that on purpose? >> >> Probably not... >> >> If you want to greatly improve your hiring process, >> check out our new hiring process... www.HiringSmart.ca/ns >> >> and... >> www.KeepingTheBest.ca/ns >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > - ----------------------------------------------------------- > Frank D. Engel, Jr. > > $ ln -s /usr/share/kjvbible /usr/manual > $ true | cat /usr/manual | grep "John 3:16" > John 3:16 For God so loved the world, that he gave his only begotten > Son, that whosoever believeth in him should not perish, but have > everlasting life. > $ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > > iD8DBQFCbkJa7aqtWrR9cZoRAsoQAJ0aMN6w4NN3gIgLL0JSNe6qY67FzACfab9U > WgSg71YvUbOWBSxrn/KLB1k= > =mwRm > -----END PGP SIGNATURE----- > > > > ___________________________________________________________ > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > 10 Personalized POP and Web E-mail Accounts, and much more. > Signup at www.doteasy.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Phone: 902-823-2339. Fax: 902-823-2139 What?s New... * Have you ever hired an employee who didn?t work out? * Did you do that on purpose? Probably not... If you want to greatly improve your hiring process, check out our new hiring process... www.HiringSmart.ca/ns and... www.KeepingTheBest.ca/ns From mikeythek at gmail.com Sat Apr 30 09:30:11 2005 From: mikeythek at gmail.com (Mikey) Date: Sat, 30 Apr 2005 09:30:11 -0400 Subject: Problem with "convert it to seconds" In-Reply-To: <11125003282.20050429150942@ahsoftware.net> References: <426CE3BD.ECEB146D@Club-Internet.fr> <8C71A1859BBCA4B-578-170CA@FWM-D25.sysops.aol.com> <8C71A55CB34CEE1-E8C-1A453@FWM-R41.sysops.aol.com> <4271D4CB.2D87416C@Club-Internet.fr> <8C71ADF059BF96B-BF0-1F360@MBLK-M35.sysops.aol.com> <42725058.1060407@fourthworld.com> <9b408d8e0504290855427a5c44@mail.gmail.com> <9b408d8e050429085550aca789@mail.gmail.com> <11125003282.20050429150942@ahsoftware.net> Message-ID: <9b408d8e050430063076c0cc49@mail.gmail.com> It needs more. FEEEEEEEEEEEED MEEEEEEEEEEE -- http://taoof4d.blogspot.com http://4dwishlist.blogspot.com On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From larsbrehmer at mac.com Sat Apr 30 09:30:35 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Sat, 30 Apr 2005 16:30:35 +0300 Subject: Tiger and windowShape Message-ID: <66517d8a4ccedbf672ae953b5b9ab9b0@mac.com> If this appears twice, I'm not sure what happened. I sent it once and it didn't show up, at least not as fast as I am used to. Has anyone installed Tiger and looked at a revStack or standalone that uses a windowShape other than rectangular? I just installed Tiger on my backup machine to try it out and one of my main Rev projects has three stacks with a shape that is basically rectangular with a small, round protrusion on the bottom (and slightly rounded corners). Both in rev and in the standalone, there is a strange outline parallel to the bottom of the window about 50 pixels lower. It's a little hard to describe, so if anyone out there is inclined to take a quick a look at this strangeness, let me know and I will send you screen shots. I already have made a new empty test stack, put the image on it and set the windowShape to the image, and the result is the same, so it's not just my existing stacks that behave this way. I really want Tiger on my main machine, so any tips would be very appreciated! Cheers, Lars Brehmer From klaus at major-k.de Sat Apr 30 09:43:27 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 30 Apr 2005 15:43:27 +0200 Subject: Tiger and windowShape In-Reply-To: <66517d8a4ccedbf672ae953b5b9ab9b0@mac.com> References: <66517d8a4ccedbf672ae953b5b9ab9b0@mac.com> Message-ID: <65913ec55a542888ee9c42552225b4a0@major-k.de> Hi Lars, how's doing? :-) > If this appears twice, I'm not sure what happened. I sent it once and > it didn't show up, at least not as fast as I am used to. > > Has anyone installed Tiger and looked at a revStack or standalone that > uses a windowShape other than rectangular? > > I just installed Tiger on my backup machine to try it out and one of > my main Rev projects has three stacks with a shape that is basically > rectangular with a small, round protrusion on the bottom (and slightly > rounded corners). Both in rev and in the standalone, there is a > strange outline parallel to the bottom of the window about 50 pixels > lower. It's a little hard to describe, so if anyone out there is > inclined to take a quick a look at this strangeness, let me know and > I will send you screen shots. I already have made a new empty test > stack, put the image on it and set the windowShape to the image, and > the result is the same, so it's not just my existing stacks that > behave this way. > > I really want Tiger on my main machine, so any tips would be very > appreciated! My copy of the beast will arrive next week and i will check that one, promised :-) > Cheers, > > > Lars Brehmer Have a ncie weekend! Best Klaus Major klaus at major-k.de http://www.major-k.de From got at mindspring.com Sat Apr 30 10:03:07 2005 From: got at mindspring.com (Gordon Tillman) Date: Sat, 30 Apr 2005 09:03:07 -0500 Subject: Tiger and windowShape In-Reply-To: <66517d8a4ccedbf672ae953b5b9ab9b0@mac.com> References: <66517d8a4ccedbf672ae953b5b9ab9b0@mac.com> Message-ID: Howdy Lars, On Apr 30, 2005, at 08:30, Lars Brehmer wrote: > Has anyone installed Tiger and looked at a revStack or standalone > that uses a windowShape other than rectangular? > > I just installed Tiger on my backup machine to try it out and one > of my main Rev projects has three stacks with a shape that is > basically rectangular with a small, round protrusion on the bottom > (and slightly rounded corners). Both in rev and in the standalone, > there is a strange outline parallel to the bottom of the window > about 50 pixels lower. It's a little hard to describe, so if > anyone out there is inclined to take a quick a look at this > strangeness, let me know and I will send you screen shots. I > already have made a new empty test stack, put the image on it and > set the windowShape to the image, and the result is the same, so > it's not just my existing stacks that behave this way. I just tried the windowLab stack. This is the one that you can run from RevNet where you can draw an arbitrary shape and then create a window from that shape. It seemed to work just fine and I wasn't able to duplicate the effect that you mentioned. If you have a specific stack you would like for me to try I would be happy to do that. --gordy From fde101 at fjrhome.net Sat Apr 30 10:16:59 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Sat, 30 Apr 2005 10:16:59 -0400 Subject: To Rev or not to Rev In-Reply-To: References: Message-ID: <32629584404bcb1ae771b92a9390d445@fjrhome.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hmm... well, first of all, a scripting language *is* a real programming language. Just because a language isn't compiled doesn't mean it isn't real. In fact, every language is interpreted; even "compiled" languages are simply translated into machine language, which is interpreted by the computer's processor. It's just a matter of whether the language is interpreted by hardware, or by software. Second, I for one have a Masters degree in Computer Science, and would not have made a fraction of the progress I have on the project I am doing right now if I were using something other than Rev -- one of those so-called "real" programming languages. As for an object-oriented programming language, no Rev is *not* an object-oriented programming language, at least not in the traditional sense. For example, in Rev, let's say we want to change the label of the button; we do this with a command like: set the label of button "My Button" to "Hello" In other words, we are giving an instruction to Rev, such that our script code changes the button's label. In more traditional OOP, we instead send a message to the button, asking it to change its own label; something more like (pseudo-code, not necessarily in any "real" programming language): tell button "My Button" to set its label to "Hello" At first the distinction may seem quite subtle, and you may not recognize the benefits to this, but consider that I want to create a new type of button with certain characteristics, one of which is that the label of the button always begin with a digit. I can enforce this by having the button reject an attempt to set its label to anything other than a string starting with a digit (again with the pseudo-code): when asked to set my label to x if char 1 of x is a number then set the label of me to x else throw "Invalid Label" end if end when asked to set my label Note that the prior code would still work the same way, and would not need to know what kind of button it was dealing with (of course, it would have an exception raised with this kind of button, since "Hello" does not start with a digit...) We can't currently do this with Rev. On Apr 30, 2005, at 9:06 AM, Jim Carwardine wrote: > I know there has been lots of discussion on this topic since I joined > the > list and I know many Rev'ers on this list have converted to Rev as > their dev > language of first choice. > > I'm having a continuing conversation with my provider about using his > sever > to serve my Rev app. First was he highly recommended MSSQL, which the > list > took exception to. Then I suggested he take a look at RunRev as a > development tool himself (hoping to get some local expertise using Rev > on a > server) and here was his reply... > > "it is more of scripting language that a real programming language ? > which > is awesome for the non-technical developers like me and you, but is > not a > true object oriented application language which is being taught in > universities." > > I don't know what to say about that. > > Are there are x-talk/OOP languages that are compiled, > or, a difference between an OOP and an x-talk language, > or, maybe he just assumed that Rev is not a true OOP on first glance? > ... > Jim > > on 4/26/05 10:30 AM, Frank D. Engel, Jr. wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> It's one of the few databases I'd consider inferior to MySql, not >> because it lacks cross-platform compatibility, but because it is a >> Microsoft product ;-) >> >> Realistically, any of the major database servers will have advantages >> and disadvantages compared to the others. I personally like >> PostgreSQL: it is free for both noncommercial *and* commercial use >> (unlike MySql, which is only free for non-commercial use), it is >> reasonably fast and quite powerful, fully ACID-compliant, supports >> stored procedures, views, and so forth, has a sizable user community, >> etc. >> >> And it runs just fine on my OS X box, along with Windows, Linux, and a >> variety of other platforms. >> >> On Apr 26, 2005, at 8:49 AM, Jim Carwardine wrote: >> >>> What about the differences between MySQL and MSSQL. The proponents >>> of >>> MSSQL >>> are adamant that it is far better. Is it really? Of course, it's >>> not >>> x-platform, which is a mark against it in my books... Jim >>> >>> on 4/25/05 3:58 PM, Bill wrote: >>> >>>> Yes I agree that SQL is the way to go. I can't wait until the MySQL >>>> to >>>> SQLite utility is released so that I can try SQLite. I think it will >>>> be >>>> faster at connecting. >>>> >>>> >>>> On 4/25/05 2:17 PM, "Dan Shafer" wrote: >>>> >>>>> >>>>> Anyone else thinking along these lines? >>>> >>>> | | | >>>> )_) )_) )_) >>>> )___))___))___)\ >>>> )____)____)_____)\\ >>>> _____|____|____|____\\\__ >>>> -------\ /--------- >>>> http://www.bluewatermaritime.com >>>> ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ >>>> ^^^^ ^^^^ ^^^ ^^ >>>> ^^^^ ^^^ >>>> >>>> 24 hour cell: (787) 378-6190 >>>> fax: (787) 809-8426 >>>> >>>> Blue Water Maritime >>>> P.O. Box 91 >>>> Puerto Real, PR 00740 >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> -- >>> >>> OYF is... Highly resourceful people working together. >>> >>> >>> Own Your Future Consulting Services Limited, >>> 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 >>> Phone: 902-823-2339. Fax: 902-823-2139 >>> >>> What?s New... >>> >>> * Have you ever hired an employee who didn?t work out? >>> >>> * Did you do that on purpose? >>> >>> Probably not... >>> >>> If you want to greatly improve your hiring process, >>> check out our new hiring process... www.HiringSmart.ca/ns >>> >>> and... >>> www.KeepingTheBest.ca/ns >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> - ----------------------------------------------------------- >> Frank D. Engel, Jr. >> >> $ ln -s /usr/share/kjvbible /usr/manual >> $ true | cat /usr/manual | grep "John 3:16" >> John 3:16 For God so loved the world, that he gave his only begotten >> Son, that whosoever believeth in him should not perish, but have >> everlasting life. >> $ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (Darwin) >> >> iD8DBQFCbkJa7aqtWrR9cZoRAsoQAJ0aMN6w4NN3gIgLL0JSNe6qY67FzACfab9U >> WgSg71YvUbOWBSxrn/KLB1k= >> =mwRm >> -----END PGP SIGNATURE----- >> >> >> >> ___________________________________________________________ >> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer >> 10 Personalized POP and Web E-mail Accounts, and much more. >> Signup at www.doteasy.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > -- > > OYF is... Highly resourceful people working together. > > > Own Your Future Consulting Services Limited, > 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 > Phone: 902-823-2339. Fax: 902-823-2139 > > What?s New... > > * Have you ever hired an employee who didn?t work out? > > * Did you do that on purpose? > > Probably not... > > If you want to greatly improve your hiring process, > check out our new hiring process... www.HiringSmart.ca/ns > > and... > www.KeepingTheBest.ca/ns > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCc5Nb7aqtWrR9cZoRAl5EAJ4g0bfNZXF6WVG0mp/sBP5RRK6D0ACfZs51 StLOE+w8+HMSZIy8bG1Eebk= =ux2I -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From rcozens at pon.net Sat Apr 30 10:21:01 2005 From: rcozens at pon.net (Rob Cozens) Date: Sat, 30 Apr 2005 07:21:01 -0700 Subject: Rev & OOP Message-ID: <6.2.1.2.1.20050430070924.01e0adb8@pop3.pon.net> Hi All, I deleted the original message with the intention of passing on this [dare I say it, Heather] philosophical question; but a voice inside me keeps saying, "I won't let you concentrate until you respond", so: IMF(oole's)O, the programmer who ruled out RunRev as a development platform on the basis of it not being a true OOP language was simply looking for a reason to pan it rather than do the kind of in depth analysis required to properly evaluate its potential. The bottom lines for software development are real-world productivity and code maintainability, not compliance with the "buzz concept de jour". Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From psahores at easynet.fr Sat Apr 30 10:23:26 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 30 Apr 2005 16:23:26 +0200 Subject: To Rev or not to Rev In-Reply-To: References: Message-ID: Jim, > I know there has been lots of discussion on this topic since I joined > the > list and I know many Rev'ers on this list have converted to Rev as > their dev > language of first choice. > > I'm having a continuing conversation with my provider about using his > sever > to serve my Rev app. First was he highly recommended MSSQL, which the > list > took exception to. Then I suggested he take a look at RunRev as a > development tool himself (hoping to get some local expertise using Rev > on a > server) and here was his reply... > > "it is more of scripting language that a real programming language ? > which > is awesome for the non-technical developers like me and you, but is > not a > true object oriented application language which is being taught in > universities." > > I don't know what to say about that. > > Are there are x-talk/OOP languages that are compiled, > or, a difference between an OOP and an x-talk language, > or, maybe he just assumed that Rev is not a true OOP on first glance? > ... > Jim In the real production-state world, Rev TCP/IP applications servers are just : - running 10 times faster than any Tomcat's or JBoss's hosted app ; - developped by the app's designers them self in less time it take to teams to just tune SAP-based prebuild solutions : - a mix between the best OOP programming langages guidlines issued from the smalltalk paradigm and the power of the best functional langages ; - running as bytecode on top of a virtual machine that compile the scripts once before running them, just like Java try to do lots slower ; - a framework able to let us design and build all the "Model-View-Controler" n-tier based solutions the Java guys are dreaming about when they try to develop in using dozens of differents framworks (Tiles, Struts, Hibernate, ..., JMeter,...) without finding their "Graal". As a complement, you can translate what, Michel Lai (one of the bests french OOP expert and Java independant CTO, along universities and engeeniers schools Professor, the french Ecole Pratique des Hautes-Etudes institute where i got my distribued applications Master, included) wrote after first testing one of the apps i wrote recently : > Salut Pierre, > Ton appli est vaiment impressionnate. Jamais je n'aurais eu le courage > d'utiliser Tiles Strust et Hibernate pour g?rer des formulaires aussi > importants ! En tout cas cela donne envie de voir de plus pr?s ce que > repr?sente REVO. Dans ton cas d'appli tr?s orient?e formulaires et > SGBD (le fameux CRUD) c'est certainement tr?s performants et quasi > imbattable avec mes bien trop complexes frameworks Java. Cependant > quid des performances et de la "scalabilit?" de la run time. > Combien d'utilisateurs simultan?s pourraient tu traiter sur un serveur > plus cons?quent que ton Mac Mini, Par exemple un G5 avec Biprocesseur. > Utilise tu un gestionnaire de connexions ? la base de donn?es (Pools > de connexions). Peux tu faire du mapping objects /SGBDR ? Comment > g?res tu la r?cup?ration de la connexion si un utilisateur quitte le > site sans avoir cliqu? sur quitter ? As tu des exemples de site en > r?elle production supportant une disponibilit? de 99,9 % ? > A bient?t. > Michel Lai If that don't suffice, just let him ask me for a login/password on the app Professor Michel Lai is speaking about and i will be aware to let him test this web application online... Hope this can help, Best Regards, -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From webmaster at dreamscapesoftware.com Sat Apr 30 10:31:08 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 30 Apr 2005 09:31:08 -0500 Subject: To Rev or not to Rev In-Reply-To: References: Message-ID: <427396AC.4080709@dreamscapesoftware.com> > "it is more of scripting language that a real programming language ? which > is awesome for the non-technical developers like me and you, but is not a > true object oriented application language which is being taught in > universities." You know, this is exactly the kind of statement that I really don't enjoy hearing. Who is to say that a script is not a program. It does exactly the same thing. A computer follows code to determine what to do. Last time I checked, a computer does the same thing with a script. On top of that, so what if it's not taught in Universities! A statement like that is just like one from those people out there that say "Oh, it's NOT from Microsoft...well then it MUST be bad!" And one more thing. What programming language is not object oriented? Everything is an object. Pixels, fields, buttons, windows, cursors, icons, text, variables, arrays, and so on and so on. Revolution is object oriented, just like C++, Java, JavaScript, Basic and even HTML. But, if I'm wrong in any of these areas then maybe someone here can set me straight? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From rcozens at pon.net Sat Apr 30 10:37:10 2005 From: rcozens at pon.net (Rob Cozens) Date: Sat, 30 Apr 2005 07:37:10 -0700 Subject: To Rev or not to Rev In-Reply-To: <32629584404bcb1ae771b92a9390d445@fjrhome.net> References: <32629584404bcb1ae771b92a9390d445@fjrhome.net> Message-ID: <6.2.1.2.1.20050430072808.01e866c8@pop3.pon.net> Frank, et al: >As for an object-oriented programming language, no Rev is *not* an >object-oriented programming language, at least not in the traditional sense. > > >For example, in Rev, let's say we want to change the label of the button; >we do this with a command like: > >set the label of button "My Button" to "Hello" > > >In other words, we are giving an instruction to Rev, such that our script >code changes the button's label. In more traditional OOP, we instead send >a message to the button, asking it to change its own label; something more >like (pseudo-code, not necessarily in any "real" programming language): > >tell button "My Button" to set its label to "Hello" > > >At first the distinction may seem quite subtle, and you may not recognize >the benefits to this, but consider that I want to create a new type of >button with certain characteristics, one of which is that the label of the >button always begin with a digit. I can enforce this by having the button >reject an attempt to set its label to anything other than a string >starting with a digit (again with the pseudo-code): > >when asked to set my label to x > if char 1 of x is a number then > set the label of me to x > else > throw "Invalid Label" > end if >end when asked to set my label > > >Note that the prior code would still work the same way, and would not need >to know what kind of button it was dealing with (of course, it would have >an exception raised with this kind of button, since "Hello" does not start >with a digit...) > >We can't currently do this with Rev. In button script: on setMyLabel labelName if char 1 of labelName is a number then set the label of me to labelName return empty end if return "Invalid label name:"&&labelName end setMyLabel elsewhere: send "setMyLabel Hello" to button id targetButtonId ?? Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From jbv.silences at Club-Internet.fr Sat Apr 30 10:48:05 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Sat, 30 Apr 2005 16:48:05 +0200 Subject: To Rev or not to Rev References: Message-ID: <42739AA2.CED11616@Club-Internet.fr> Jim, In the early days of HC (circa 1987/88) I was already facing this kind of objection from C or Pascal programers... Even in the early 80's when I was experimenting with Logo, I used to hear similar comments... Tell your ISP that (today more than ever) only 1 thing matters : how much time (and therefore $$$) does it take to produce reliable and fast code to the satisfaction of your clients... Show him a few apps made with Rev and ask him how much time (and $$$) it would take to do the same with Java, C, etc. Then ask him to compare the learning curve between Rev, Java, C... One anecdote : a few years ago a friend of mine asked me to teach him the basics of HC (he already had an experience of coding in Basic). In less than 1 hr I managed to teach him the basic concepts, and soon he was up and running... I'm sure the same story could apply to Rev, since the basic concepts of both tools are similar... As someone already said, your ISP answer is a way to avoid any depth analysis of Rev capabilities... It's also the usual answer from ppl who usually struggle with complex programing environments and who are bitter to see other ppl developping sophisticated apps 2 to 5 times faster... JB > I know there has been lots of discussion on this topic since I joined the > list and I know many Rev'ers on this list have converted to Rev as their dev > language of first choice. > > I'm having a continuing conversation with my provider about using his sever > to serve my Rev app. First was he highly recommended MSSQL, which the list > took exception to. Then I suggested he take a look at RunRev as a > development tool himself (hoping to get some local expertise using Rev on a > server) and here was his reply... > > "it is more of scripting language that a real programming language ? which > is awesome for the non-technical developers like me and you, but is not a > true object oriented application language which is being taught in > universities." > > I don't know what to say about that. > > Are there are x-talk/OOP languages that are compiled, > or, a difference between an OOP and an x-talk language, > or, maybe he just assumed that Rev is not a true OOP on first glance? ... > Jim > > on 4/26/05 10:30 AM, Frank D. Engel, Jr. wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > It's one of the few databases I'd consider inferior to MySql, not > > because it lacks cross-platform compatibility, but because it is a > > Microsoft product ;-) > > > > Realistically, any of the major database servers will have advantages > > and disadvantages compared to the others. I personally like > > PostgreSQL: it is free for both noncommercial *and* commercial use > > (unlike MySql, which is only free for non-commercial use), it is > > reasonably fast and quite powerful, fully ACID-compliant, supports > > stored procedures, views, and so forth, has a sizable user community, > > etc. > > > > And it runs just fine on my OS X box, along with Windows, Linux, and a > > variety of other platforms. > > > > On Apr 26, 2005, at 8:49 AM, Jim Carwardine wrote: > > > >> What about the differences between MySQL and MSSQL. The proponents of > >> MSSQL > >> are adamant that it is far better. Is it really? Of course, it's not > >> x-platform, which is a mark against it in my books... Jim > >> > >> on 4/25/05 3:58 PM, Bill wrote: > >> > >>> Yes I agree that SQL is the way to go. I can't wait until the MySQL to > >>> SQLite utility is released so that I can try SQLite. I think it will > >>> be > >>> faster at connecting. > >>> > >>> > >>> On 4/25/05 2:17 PM, "Dan Shafer" wrote: > >>> > >>>> > >>>> Anyone else thinking along these lines? > >>> > >>> | | | > >>> )_) )_) )_) > >>> )___))___))___)\ > >>> )____)____)_____)\\ > >>> _____|____|____|____\\\__ > >>> -------\ /--------- http://www.bluewatermaritime.com > >>> ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ > >>> ^^^^ ^^^^ ^^^ ^^ > >>> ^^^^ ^^^ > >>> > >>> 24 hour cell: (787) 378-6190 > >>> fax: (787) 809-8426 > >>> > >>> Blue Water Maritime > >>> P.O. Box 91 > >>> Puerto Real, PR 00740 > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> -- > >> > >> OYF is... Highly resourceful people working together. > >> > >> > >> Own Your Future Consulting Services Limited, > >> 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 > >> Phone: 902-823-2339. Fax: 902-823-2139 > >> > >> What1s New... > >> > >> * Have you ever hired an employee who didn1t work out? > >> > >> * Did you do that on purpose? > >> > >> Probably not... > >> > >> If you want to greatly improve your hiring process, > >> check out our new hiring process... www.HiringSmart.ca/ns > >> > >> and... > >> www.KeepingTheBest.ca/ns > >> > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > > - ----------------------------------------------------------- > > Frank D. Engel, Jr. > > > > $ ln -s /usr/share/kjvbible /usr/manual > > $ true | cat /usr/manual | grep "John 3:16" > > John 3:16 For God so loved the world, that he gave his only begotten > > Son, that whosoever believeth in him should not perish, but have > > everlasting life. > > $ > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.4 (Darwin) > > > > iD8DBQFCbkJa7aqtWrR9cZoRAsoQAJ0aMN6w4NN3gIgLL0JSNe6qY67FzACfab9U > > WgSg71YvUbOWBSxrn/KLB1k= > > =mwRm > > -----END PGP SIGNATURE----- > > > > > > > > ___________________________________________________________ > > $0 Web Hosting with up to 200MB web space, 1000 MB Transfer > > 10 Personalized POP and Web E-mail Accounts, and much more. > > Signup at www.doteasy.com > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- > > OYF is... Highly resourceful people working together. > > > Own Your Future Consulting Services Limited, > 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 > Phone: 902-823-2339. Fax: 902-823-2139 > > What1s New... > > * Have you ever hired an employee who didn1t work out? > > * Did you do that on purpose? > > Probably not... > > If you want to greatly improve your hiring process, > check out our new hiring process... www.HiringSmart.ca/ns > > and... > www.KeepingTheBest.ca/ns > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Sat Apr 30 10:54:53 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Sat, 30 Apr 2005 16:54:53 +0200 Subject: OT : PearPC Message-ID: <42739C39.1899638F@Club-Internet.fr> Has anyone seen / used this : http://pearpc.sourceforge.net/about.html http://prasys.skidsoftware.com/intro.htm just curious... JB From fde101 at fjrhome.net Sat Apr 30 10:51:07 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Sat, 30 Apr 2005 10:51:07 -0400 Subject: To Rev or not to Rev In-Reply-To: <427396AC.4080709@dreamscapesoftware.com> References: <427396AC.4080709@dreamscapesoftware.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 30, 2005, at 10:31 AM, Derek Bump wrote: > On top of that, so what if it's not taught in Universities! A > statement like that is just like one from those people out there that > say "Oh, it's NOT from Microsoft...well then it MUST be bad!" I do the opposite: "Oh, it's a Microsoft product, so it MUST be bad!" > And one more thing. What programming language is not object oriented? > Everything is an object. Pixels, fields, buttons, windows, cursors, > icons, text, variables, arrays, and so on and so on. Revolution is > object oriented, just like C++, Java, JavaScript, Basic and even HTML. No, OOP is a somewhat specific paradigm for computer programming, and includes certain characteristics which are *not* present in Rev. Yes, many things are viewed as objects, and Rev even refers to things as objects (well, they are, actually), but this does not make Rev an object-oriented programming language. We cannot define custom object classes, for example. Before someone goes and says, "but we have inheritance -- the group intercepts messages not received by objects in the group, the card receives from the group, etc." -- there is a certain level of inheritance in place, and Rev does have many characteristics of an object-oriented language. But I for one would not pretend to call it an actual object-oriented language until we can define our own classes, subclass those classes *and* the built-in classes (such as button, field, group, card, stack...), and so on. There needs to be a degree of scripter-defined polymorphism present, as well. Note that others may disagree with me here, there are a number of conflicting opinions on what it takes to be an object-oriented language, but to my mind, you need unbounded subclassing capabilities and polymorphism in order to be object-oriented. Rev does not allow us to do these things right now. That doesn't mean that Transcript is a bad programming language; I think it is quite good for solving a large number of problems. It simply means that it is not an object-oriented programming language. Any more than it is a functional language, btw: Transcript is a procedural language with some object-oriented characteristics mixed in. A true functional language has no messages, procedure-equivalents, etc. LISP is an example of a functional language. In a functional language, the entire program is just one huge function call. A quick Google search reveals this, which may be helpful as far as classification of languages: http://c2.com/cgi/wiki?NygaardClassification > But, if I'm wrong in any of these areas then maybe someone here can > set me straight? I think I just did ;-) One more thing: HTML is *not* a programming language in any sense whatsoever. HTML has no constructs for repetition. HTML is a document markup language (which is what it stands for -- hyper-text MARKUP language) designed for embellishing statically-formatted documents. Things were added later which allow for some degree of interactivity (such as forms, etc.), but the actual processing is handled by another programming language (such as PHP, Perl, or Rev), *not* by HTML. OTOH, PostScript is a real programming language, a point which a lot of people seem to miss... - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCc5tb7aqtWrR9cZoRAhMuAJ995w0q4xHB7VQ83mmpLV/EOLME6gCeKmCn of9Tsm5e5caKi6gDoSWV0So= =Eq+/ -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From fde101 at fjrhome.net Sat Apr 30 10:55:14 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Sat, 30 Apr 2005 10:55:14 -0400 Subject: OT : PearPC In-Reply-To: <42739C39.1899638F@Club-Internet.fr> References: <42739C39.1899638F@Club-Internet.fr> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you read the license agreement for OS X, there is a clause which states that it cannot legally be installed on non-apple hardware. You could use that to run Linux, I'm sure, but you can't legally install OS X on that emulator (or any other, for that matter). On Apr 30, 2005, at 10:54 AM, jbv wrote: > Has anyone seen / used this : > http://pearpc.sourceforge.net/about.html > http://prasys.skidsoftware.com/intro.htm > > just curious... > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCc5xS7aqtWrR9cZoRAn2XAJ479ZqaVR2oO0dcwIUEy1xp/iR++wCdGi64 RtVM2vunoUNx8st5lsd9PJE= =qLvs -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From eijkhout at cs.utk.edu Sat Apr 30 11:36:03 2005 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Sat, 30 Apr 2005 11:36:03 -0400 Subject: To Rev or not to Rev In-Reply-To: <427396AC.4080709@dreamscapesoftware.com> References: <427396AC.4080709@dreamscapesoftware.com> Message-ID: <39ccaf35e880c909afa04d70c7bc7606@cs.utk.edu> On Apr 30, 2005, at 10:31 AM, Derek Bump wrote: > What programming language is not object oriented? Everything is an > object. Object-oriented refers to programmatic objects. Classes, inheritance, polymorphism. RR has very little of that. V. -- Victor Eijkhout Innovative Computing Lab, University of Tennessee, Knoxville 865 974 9308 From rcozens at pon.net Sat Apr 30 11:41:36 2005 From: rcozens at pon.net (Rob Cozens) Date: Sat, 30 Apr 2005 08:41:36 -0700 Subject: To Rev or not to Rev In-Reply-To: References: <427396AC.4080709@dreamscapesoftware.com> Message-ID: <6.2.1.2.1.20050430082538.01e65dc8@pop3.pon.net> Frank, et al: >Before someone goes and says, "but we have inheritance -- the group >intercepts messages not received by objects in the group, the card >receives from the group, etc." -- there is a certain level of inheritance >in place, and Rev does have many characteristics of an object-oriented >language. But I for one would not pretend to call it an actual >object-oriented language until we can define our own classes, subclass >those classes *and* the built-in classes (such as button, field, group, >card, stack...), and so on. There needs to be a degree of >scripter-defined polymorphism present, as well. I must admit that I fell prey to this line of thinking for the longest time, feeling "Give me an OOP concept, and I can script that functionality." It took me some time to realize the difference is that the functionality is already built in to the OOP when you open the box. Still, one can script much of OOP functionality fairly easily, and one is not prevented from incorporating OOP concepts in one's design; so I'd label RunRev as "quasi OOP". Example: if Frank's example involved changing a button's name instead of its label, on nameChanged oldName,newName if char 1 of newName is not a number then set the name of me to oldName end nameChanged Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From rcozens at pon.net Sat Apr 30 11:46:44 2005 From: rcozens at pon.net (Rob Cozens) Date: Sat, 30 Apr 2005 08:46:44 -0700 Subject: To Rev or not to Rev Message-ID: <6.2.1.2.1.20050430084449.01e79d78@pop3.pon.net> Frank, et al: >But I for one would not pretend to call it an actual object-oriented >language until we can define our own classes, subclass those classes *and* >the built-in classes (such as button, field, group, card, stack...), Again, groups and grouped groups can duplicate the functionality fairly easily. Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From see3d at writeme.com Sat Apr 30 11:57:05 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 30 Apr 2005 11:57:05 -0400 Subject: To Rev or not to Rev In-Reply-To: References: <427396AC.4080709@dreamscapesoftware.com> Message-ID: <872cdb7c1d29f58592412c798ff0c773@writeme.com> On Apr 30, 2005, at 10:51 AM, Frank D. Engel, Jr. wrote: > > OTOH, PostScript is a real programming language, a point which a lot > of people seem to miss... > As a point of interest, the PostScript syntax is directly related to a general machine independent programming language called Forth. Forth was used to control telescopes in the days of the minicomputer. It migrated to various microprocessors and was used a lot in process control applications. Forth is still alive and well today. Dennis From JimCarwardine at OwnYourFuture-net.com Sat Apr 30 12:12:22 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Sat, 30 Apr 2005 13:12:22 -0300 Subject: To Rev or not to Rev In-Reply-To: <872cdb7c1d29f58592412c798ff0c773@writeme.com> Message-ID: So, in summary, Rev can create an OOP, but an OOP can't create Rev... Jim on 4/30/05 12:57 PM, Dennis Brown wrote: > > On Apr 30, 2005, at 10:51 AM, Frank D. Engel, Jr. wrote: >> >> OTOH, PostScript is a real programming language, a point which a lot >> of people seem to miss... >> > > As a point of interest, the PostScript syntax is directly related to a > general machine independent programming language called Forth. Forth > was used to control telescopes in the days of the minicomputer. It > migrated to various microprocessors and was used a lot in process > control applications. Forth is still alive and well today. > > Dennis > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2 Phone: 902-823-2339. Fax: 902-823-2139 What?s New... * Have you ever hired an employee who didn?t work out? * Did you do that on purpose? Probably not... If you want to greatly improve your hiring process, check out our new hiring process... www.HiringSmart.ca/ns and... www.KeepingTheBest.ca/ns From simplsol at aol.com Sat Apr 30 13:27:30 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Sat, 30 Apr 2005 13:27:30 -0400 Subject: "convert it to seconds" & "Philosophy" In-Reply-To: Message-ID: <8C71BC105B9E3D7-338-22179@FWM-R27.sysops.aol.com> Hi Heather, It's nice to know someone IS listening. The response I was hoping for was something like this: "Yes, Mr. Looney, we are aware of this date/time problem from all of the other posts on the discussion group and bugzilla. We, too consider it serious and have dispatched the resources to fix it promptly. Estimated completion is tentatively scheduled for 7:13 pm GMT on May 17th of this year. We'd like to thank you, and all of the other people who brought this to our attention. We are committed to making Rev the best X-talk RAD in the history of civilized mankind. Thank you, again. Heather" OK, that was probably too much to hope for... ;-) I agree, in general, that bugzilla is the place for bugs. I only two problems with the bugzilla approach: 1. It seems to have turned into a celestial black hole, where things go in but do not come out. Don't misunderstand, the upgrades from Version 1 to 2, and 2 to 2.5 were very helpful. But there are critical items (like reliable dates) that have not been addressed in all of these versions over all of these years. 2. A lot of bugs do not get the votes they should. The date/time problem is a good example: people can write, test, and sell programs with date/time math that appear to work properly - until daylight savings time changes. They won't vote because they don't know they have a (serious) problem. Another non-voting group is the newbies who try Rev. and, before they can be impressed with the vast capacity, easy access, awesome speed, etc., they're gone forever because of their experience with the tables, menus, documentation, etc. - and, of course, they don't vote. Bugzilla is geared toward assisting the veteran Rev. programmer - not making Rev. more marketable to (the vital) new users. Many times on the list new users have observed the Rev. seems to be a beta product rather than a shipping program. I can see why they say this, there are design and usability issues beyond what one would expect when moving to a new programming environment. These do not get put into bugzilla because we veterans have learned to work around them. Some of us take a perverse pride in knowing obscure, undocumented, non-intuitive workarounds, mentioned on the list 8 to 10 months ago. None of these receive votes but they limit sales. And sales of Rev. are important to all users of Rev. If there was an interest, I could list the top ten items I believe are costing Rev. customers, items that may not have many bugzilla votes. Is there an interest? And last, "philosophy". I usually disagree with everything Richmond posts. I certainly do not see any long-term benefit from open sourcing Rev. I do like the idea of a free introductory product. But, beyond that, I like the idea and the experience of open discussion enjoyed on this list. We tend to learn more from those we disagree with anyway. As long as discussions are conducted with civility, propriety, and decorum please let them continue (under the watchful eyes of the ever-supportive listmom). Paul Looney -----Original Message----- From: Heather Nagey To: use-revolution at lists.runrev.com Sent: Fri, 29 Apr 2005 17:40:03 +0100 Subject: Re: Problem with "convert it to seconds" > I hope someone in Scotland is listening to us... > Paul Looney We listen. Sometimes we even respond... And if the discussion gets out of hand I'll pop up and look stern :) But, and you can all sing along with me here ladies and gentlemen, if you want action, you need to post it to bugzilla: http://support.runrev.com/bugzilla This is your list, we observe but we do not intervene very often, and you should not assume that items reported here will make it onto the engineering fix list. And by the way, I'd like to congratulate everyone present on the fascinating, excellent and mature discussion sparked by what was potentially a very inflammatory post on "philosophy". As you all know, wine, cheese and politics are off topic and frowned on, we can now add philosophy to that list :) Warm regards Heather Sometimes listmom, always supportive -- ** For a faster response to all licensing, support, and technical issues, please now send mail to support at runrev.com ** Heather Nagey ~ heather at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions & special offers ~~~ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From fde101 at fjrhome.net Sat Apr 30 13:39:27 2005 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Sat, 30 Apr 2005 13:39:27 -0400 Subject: "convert it to seconds" & "Philosophy" In-Reply-To: <8C71BC105B9E3D7-338-22179@FWM-R27.sysops.aol.com> References: <8C71BC105B9E3D7-338-22179@FWM-R27.sysops.aol.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 30, 2005, at 1:27 PM, simplsol at aol.com wrote: > Hi Heather, > It's nice to know someone IS listening. > The response I was hoping for was something like this: > "Yes, Mr. Looney, we are aware of this date/time problem from all of > the other posts on the discussion group and bugzilla. We, too consider > it serious and have dispatched the resources to fix it promptly. > Estimated completion is tentatively scheduled for 7:13 pm GMT on May > 17th of this year. We'd like to thank you, and all of the other people > who brought this to our attention. We are committed to making Rev the > best X-talk RAD in the history of civilized mankind. Thank you, again. > Heather" > OK, that was probably too much to hope for... ;-) Yep. > I agree, in general, that bugzilla is the place for bugs. I only two > problems with the bugzilla approach: > 1. It seems to have turned into a celestial black hole, where things > go in but do not come out. Don't misunderstand, the upgrades from > Version 1 to 2, and 2 to 2.5 were very helpful. But there are critical > items (like reliable dates) that have not been addressed in all of > these versions over all of these years. True for other bugs as well. There are *lots* of 'em in there. > 2. A lot of bugs do not get the votes they should. > The date/time problem is a good example: people can write, test, and > sell programs with date/time math that appear to work properly - until > daylight savings time changes. They won't vote because they don't know > they have a (serious) problem. > Another non-voting group is the newbies who try Rev. and, before they > can be impressed with the vast capacity, easy access, awesome speed, > etc., they're gone forever because of their experience with the > tables, menus, documentation, etc. - and, of course, they don't vote. > Bugzilla is geared toward assisting the veteran Rev. programmer - not > making Rev. more marketable to (the vital) new users. Many times on > the list new users have observed the Rev. seems to be a beta product > rather than a shipping program. I can see why they say this, there are > design and usability issues beyond what one would expect when moving > to a new programming environment. These do not get put into bugzilla > because we veterans have learned to work around them. Some of us take > a perverse pride in knowing obscure, undocumented, non-intuitive > workarounds, mentioned on the list 8 to 10 months ago. None of these > receive votes but they limit sales. And sales of Rev. are important to > all users of Rev. > If there was an interest, I could list the top ten items I believe > are costing Rev. customers, items that may not have many bugzilla > votes. Is there an interest? I'm sure I could list a bunch of my own too, that's not the point. And BZ was not meant for "veteran Rev programmers" either, it was meant to help us report problems to Rev as we find them, and to make feature requests. If you are looking to benefit the programmers, that would be the purpose of this list, correct? > And last, "philosophy". I usually disagree with everything Richmond > posts. I certainly do not see any long-term benefit from open sourcing > Rev. I do like the idea of a free introductory product. But, beyond > that, I like the idea and I see a benefit, and right here in this posting, too!! All these bugs everyone is complaining about would have a whole lot more people waiting to *fix* them, rather than just report them to an already far-too-busy support team! > the experience of open discussion enjoyed on this list. We tend to > learn more from those we disagree with anyway. As long as discussions > are conducted with civility, propriety, and decorum please let them > continue (under the watchful eyes of the ever-supportive listmom). That would be the general idea. - ----------------------------------------------------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCc8LP7aqtWrR9cZoRAqwxAJ4wd+jBvB+4wtTFSLy609KQlESwlACeKl8O GnWjds1EyshuXuPDB0pILCg= =c3bm -----END PGP SIGNATURE----- ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From revdan at danshafer.com Sat Apr 30 14:31:09 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 30 Apr 2005 11:31:09 -0700 Subject: Rev & OOP In-Reply-To: <6.2.1.2.1.20050430070924.01e0adb8@pop3.pon.net> References: <6.2.1.2.1.20050430070924.01e0adb8@pop3.pon.net> Message-ID: <6e009cc43adbe1242effe8cc2d14f5b1@danshafer.com> Oh, darn. I was sort of hoping this thread would fizzle out. Then you had to throw down a gauntlet, Rob, and you know how I am about gauntlets (and, for that matter, things littering the landscape like thrown gauntlets).... I spent MANY years training and conditioning myself to think about the world around me in terms of objects. From a programming perspective, I find myself always more comfortable dealing with objects in the sense in which Smalltalk and Java (and decidedly NOT C++) think about them. OOP languages and OODBMS tools have *always* been more productive for me than procedural and relational models because once I trained myself to "think in objects," those approaches felt -- and were -- unnatural to me. Far from being the "buzz concept du jour," OOP has been around, viable and in many places on the globe an all-but-inviolate standard for more than 30 years. Now, that is not to say or suggest that every programming language that isn't strict OOP isn't usable or useful. Far from it. I use Revolution and Transcript because, even though it's not an OO environment, it is what I refer to in my books as "object-LIKE." That is, it represents enough of an accommodation of the key ideas of object orientation to be usable and useful on medium-sized, single-programmer projects involving non-object data. But I must say that if I had a choice of using an equivalent development environment that was syntactically as clean as Transcript or Smalltalk or Python and gave me the advantages of Revolution (cross-platform delivery while developing on my platform of choice, true stand-alone creation, great widget library, transparent database access), I'd switch in a New York nanosecond. The truth is, no such tool exists yet. So I would agree that the programmer who rejected Revolution out of hand without digging more deeply into the advantages it offers and shares with OO environments was hasty and ill-advised (and probably, as you say, more interested in eliminating alternatives than in finding the correct one). But to dismiss OO out of hand is, IMNSHO, equally short-sighted. As you so rightly say, the two big concerns are programmer productivity and code maintainability. And in those respects, Transcript is awfully hard to beat. FWIW. On Apr 30, 2005, at 7:21 AM, Rob Cozens wrote: > IMF(oole's)O, the programmer who ruled out RunRev as a development > platform on the basis of it not being a true OOP language was simply > looking for a reason to pan it rather than do the kind of in depth > analysis required to properly evaluate its potential. > > The bottom lines for software development are real-world productivity > and code maintainability, not compliance with the "buzz concept de > jour". > > Rob Cozens CCW > Serendipity Software Company > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Sat Apr 30 14:44:07 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 30 Apr 2005 11:44:07 -0700 Subject: To Rev or not to Rev In-Reply-To: <427396AC.4080709@dreamscapesoftware.com> References: <427396AC.4080709@dreamscapesoftware.com> Message-ID: <2ae60567a9ee938a5ba88f20bdf38e36@danshafer.com> On Apr 30, 2005, at 7:31 AM, Derek Bump wrote: > > "it is more of scripting language that a real programming language ? > which > > is awesome for the non-technical developers like me and you, but is > not a > > true object oriented application language which is being taught in > > universities." > I've made a career study of scripting languages. Guys like Prof. John Ousterhout, who invented the scripting language Tcl and who can be presumed to know a good deal about the subject, have typically described the difference between a scripting language and a programming language as being one of intent. A scripting language, by their (and my) understanding is a language primarily intended to glue together processes and applications that would otherwise not be able to interact with one another. A programming language may be able to do some or all of that as well, but is more typically intended for the creation of independent programs. AppleScript is, IMNSHO, a classic example of that. You *can* write quasi-standalone applications in AppleScript but it's painful. But ask AppleScript to get data from file A, send it to Application B, lanch Application C and print something in a seamless process, and it fairly shines. People who say things like the above are typically only slightly informed (and you know what they say about a little knowledge and danger....) and tend to confuse the issue of scripting vs. programming languages with that of interpreted vs. compiled languages. I used to get a real kick out of demonstrating Smalltalk apps and having people ask me, "How does that thing run so fast?" and then replying nonchalantly, "Oh, that's because it's interpreted." Heads nodded sagely. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Sat Apr 30 14:48:12 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 30 Apr 2005 11:48:12 -0700 Subject: To Rev or not to Rev In-Reply-To: <872cdb7c1d29f58592412c798ff0c773@writeme.com> References: <427396AC.4080709@dreamscapesoftware.com> <872cdb7c1d29f58592412c798ff0c773@writeme.com> Message-ID: <8633e92f5a82bf75ace4d7c62db6d38f@danshafer.com> I couldn't resist jumping into this one just briefly. Forth is one of two programming languages I have tried to learn with complete lack of success. The other is LISP. Both are object-oriented (at least Forth is in some implementations and LISP is purely). I'm an object thinker but these two languages have syntaxes that get in my way. Others, I know, find them quite natural. That's why we have so many langauges! On Apr 30, 2005, at 8:57 AM, Dennis Brown wrote: > Forth is still alive and well today. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From revdan at danshafer.com Sat Apr 30 14:50:26 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 30 Apr 2005 11:50:26 -0700 Subject: To Rev or not to Rev In-Reply-To: References: Message-ID: <88f38d62cddad806e41ffbe283c2c716@danshafer.com> I suggest it's the other way around. One could write a Transcript interpreter and IDE to duplicate that of Revolution in Java or Smalltalk, e.g., but it would be all but impossible to write a Java compiler or interpreter and IDE in Transcript. But that's moot. Nobody's going to do either. Java is good for some things for which Rev is not suited (mostly apps requiring lots of interaction with system-level resources and multi-programmer projects) and Rev is good for some things for which Java is either overkill or cumbersome (almost everything else...LOL). On Apr 30, 2005, at 9:12 AM, Jim Carwardine wrote: > So, in summary, Rev can create an OOP, but an OOP can't create Rev... > Jim > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From dsc at swcp.com Sat Apr 30 15:26:28 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 30 Apr 2005 13:26:28 -0600 Subject: OT : PearPC In-Reply-To: References: <42739C39.1899638F@Club-Internet.fr> Message-ID: On Apr 30, 2005, at 8:55 AM, Frank D. Engel, Jr. wrote: > If you read the license agreement for OS X, there is a clause which > states that it cannot legally be installed on non-apple hardware. My Panther license says this: 2.A This License allows you to install and use one copy of the Apple Software on a single Apple-labeled computer at a time. This License does not allow the Apple Software to exist on more than one computer at a time [...] Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From jspencer78 at mac.com Sat Apr 30 15:55:18 2005 From: jspencer78 at mac.com (James Spencer) Date: Sat, 30 Apr 2005 14:55:18 -0500 Subject: To Rev or not to Rev In-Reply-To: <88f38d62cddad806e41ffbe283c2c716@danshafer.com> References: <88f38d62cddad806e41ffbe283c2c716@danshafer.com> Message-ID: <832F4D50-7971-4DB6-A6E3-17FFFC15D65A@mac.com> On Apr 30, 2005, at 1:50 PM, Dan Shafer wrote: > But that's moot. Nobody's going to do either. Java is good for some > things for which Rev is not suited (mostly apps requiring lots of > interaction with system-level resources and multi-programmer > projects) and Rev is good for some things for which Java is either > overkill or cumbersome (almost everything else...LOL). > Amen. Everytime I see one of these "language wars" start up I'm always amazed that folks have forgotten that these are TOOLS and like hardware tools, each tool has certain jobs that it is best suited for. There are lots of different hammers out there but I would not use a tack hammer for the same job that I would use an 8 lb maul. That does not mean that a tack hammer is better or worse than a maul. (This is not to say there are personal preferences; IMHO, for things that Rev is not good for, I would use almost anything rather than Java which I don't much care for.) Spence James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From dsc at swcp.com Sat Apr 30 17:22:11 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 30 Apr 2005 15:22:11 -0600 Subject: throw vs the result Message-ID: <052e8a03f505a95e3b8985d25f783197@swcp.com> I was wondering what people prefer as far as "fatal" errors in executing a custom command, such as in a library. Should that be in a non-empty value returned by result()? Or should that cause some error message to the thrown? Or does it depend on the error? Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From ps1 at softseven.org Sat Apr 30 17:26:43 2005 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 30 Apr 2005 16:26:43 -0500 Subject: saving settings. Message-ID: <6.1.1.1.2.20050430161738.031050f8@softseven.org> Dear Rev Programmer, I'm trying to get my program to save information into a text file. I'm using this format, is something wrong? put gDate1 && gDate2 && gDate3 && gDate4 && gDate5 && cr \ into url ("file:" & tFolderName & slash & "settings.txt") It's saving "gData1" instead on the information help in "gData1" These are global settings but they do not change. I want them do come out like so: "Settings1","Settings2","Settings3","Settings4","Settings5" They must be in this format to be compatible with VB programs not yet converted to Rev. Please help Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From alex at tweedly.net Sat Apr 30 17:41:41 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Apr 2005 22:41:41 +0100 Subject: saving settings. In-Reply-To: <6.1.1.1.2.20050430161738.031050f8@softseven.org> References: <6.1.1.1.2.20050430161738.031050f8@softseven.org> Message-ID: <4273FB95.3020708@tweedly.net> Paul Salyers wrote: > Dear Rev Programmer, > > I'm trying to get my program to save information into a text file. > > I'm using this format, is something wrong? > > put gDate1 && gDate2 && gDate3 && gDate4 && gDate5 && cr \ > into url ("file:" & tFolderName & slash & "settings.txt") > > It's saving "gData1" instead on the information help in "gData1" gDate1 or gData1 ? > These are global settings but they do not change. > > I want them do come out like so: > > "Settings1","Settings2","Settings3","Settings4","Settings5" > i.e. with the quotes ?? Do you, by any chance, actually have a line like the following ? put "gData1" && "gData2" && etc. You would probably want put quote & gData1 & quote & comma & quote & gData2 & etc. or perhaps put quote & comma & quote into myBetween put quote & gData1 & myBetween & gData2 & myBetween & etc. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005 From ps1 at softseven.org Sat Apr 30 17:53:43 2005 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 30 Apr 2005 16:53:43 -0500 Subject: saving settings. In-Reply-To: <4273FB95.3020708@tweedly.net> References: <6.1.1.1.2.20050430161738.031050f8@softseven.org> <4273FB95.3020708@tweedly.net> Message-ID: <6.1.1.1.2.20050430165017.02aeaa18@softseven.org> >You would probably want > >put quote & gData1 & quote & comma & quote & gData2 & etc. > >or perhaps >put quote & comma & quote into myBetween >put quote & gData1 & myBetween & gData2 & myBetween & etc. > >-- >Alex Tweedly http://www.tweedly.net Close I now have: "gData1","gData2","gData3","gData4","gData5 At least the quotes & comas are in place but the information in the data is not getting saved. I used: put quote & gData1 & quote & comma & quote & gData1 & quote & comma & quote & gData1 & quote & comma & quote & gData1 & quote & comma & quote & gData1 Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From revolution at jaedworks.com Sat Apr 30 18:08:09 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 30 Apr 2005 15:08:09 -0700 Subject: Working with animated gifs In-Reply-To: <3d8af41505042606426c51ee72@mail.gmail.com> References: <3d8af41505042606426c51ee72@mail.gmail.com> Message-ID: At 9:42 AM -0400 4/26/05, Glen Bojsza wrote: >I was wondering if there are some general guidelines on how to use >animated gifs in Rev on the XP platform? > >Turning the animation on and off would be my first question. I >understand that I can set the repeat and direction properties in the >property inspector and that actually shows the animation but how do >you do it at the script level? Check out these properties: repeatCount, currentFrame, frameCount, and palindromeFrames. To start the loop, set the repeatCount of the image to the number of repeats you want, or to -1 (to keep repeating indefinitely): set the repeatCount of image "My Animation" to 1 -- does 1 repeat set the repeatCount of image "My Animation" to -1 -- infinite loop To stop the loop, set the repeatCount of the image to zero. The image will keep displaying the frame it was on when you stopped it, so if you want to display the first frame, set the currentFrame to 1. To display the last frame, set the currentFrame to the image's frameCount: set the repeatCount of image "My Animation" to 0 -- stops repeating set the currentFrame of image "My Animation" to 1 -- displays first frame set the currentFrame of image "My Animation" \ to (the frameCount of image "My Animation") -- displays last frame -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revdan at danshafer.com Sat Apr 30 18:09:35 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 30 Apr 2005 15:09:35 -0700 Subject: To Rev or not to Rev In-Reply-To: <832F4D50-7971-4DB6-A6E3-17FFFC15D65A@mac.com> References: <88f38d62cddad806e41ffbe283c2c716@danshafer.com> <832F4D50-7971-4DB6-A6E3-17FFFC15D65A@mac.com> Message-ID: <3e848a494109bfe1f3f00659ee4e0817@danshafer.com> I used to feel this way. And I don't code in Java myself, preferring Python when Rev won't do. But the latest changes to Java and the brilliant IDEs (e.g., Eclipse) and widget toolkits (e.g., Windowbuildedr Pro), have really streamlined the dev process. OTOH, it's still Java, which is syntactically far too much like C/C++ for my personal taste. But when a client needed an app that did stuff nobody I could find could figure out how to do in Rev without a LOT of coding while there were dozens of Java libraries available for each of those tasks, I realized why a lot of people choose Java, Python and other languages with great third-party (and mostly free) libraries. On Apr 30, 2005, at 12:55 PM, James Spencer wrote: > IMHO, for things that Rev is not good for, I would use almost anything > rather than Java which I don't much care for ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest From see3d at writeme.com Sat Apr 30 18:10:18 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 30 Apr 2005 18:10:18 -0400 Subject: saving settings. In-Reply-To: <6.1.1.1.2.20050430165017.02aeaa18@softseven.org> References: <6.1.1.1.2.20050430161738.031050f8@softseven.org> <4273FB95.3020708@tweedly.net> <6.1.1.1.2.20050430165017.02aeaa18@softseven.org> Message-ID: <49390d8a6a9b0f08a4cbb562364c588f@writeme.com> Well that why you are only getting the data from gData1 everywhere. Look at what you used! Dennis On Apr 30, 2005, at 5:53 PM, Paul Salyers wrote: > >> You would probably want >> >> put quote & gData1 & quote & comma & quote & gData2 & etc. >> >> or perhaps >> put quote & comma & quote into myBetween >> put quote & gData1 & myBetween & gData2 & myBetween & etc. >> >> -- >> Alex Tweedly http://www.tweedly.net > > > Close I now have: > > "gData1","gData2","gData3","gData4","gData5 > > At least the quotes & comas are in place but the information in the > data is not getting saved. > > > I used: > > put quote & gData1 & quote & comma & quote & gData1 & quote & comma & > quote & gData1 & quote & comma & quote & gData1 & quote & comma & > quote & gData1 > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ps1 at softseven.org Sat Apr 30 18:23:21 2005 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 30 Apr 2005 17:23:21 -0500 Subject: saving settings. In-Reply-To: <49390d8a6a9b0f08a4cbb562364c588f@writeme.com> References: <6.1.1.1.2.20050430161738.031050f8@softseven.org> <4273FB95.3020708@tweedly.net> <6.1.1.1.2.20050430165017.02aeaa18@softseven.org> <49390d8a6a9b0f08a4cbb562364c588f@writeme.com> Message-ID: <6.1.1.1.2.20050430172259.029fdb08@softseven.org> it's data1, data2, etc. At 05:10 PM 4/30/2005, you wrote: >Well that why you are only getting the data from gData1 everywhere. >Look at what you used! > >Dennis > > >On Apr 30, 2005, at 5:53 PM, Paul Salyers wrote: > >> >>>You would probably want >>> >>>put quote & gData1 & quote & comma & quote & gData2 & etc. >>> >>>or perhaps >>>put quote & comma & quote into myBetween >>>put quote & gData1 & myBetween & gData2 & myBetween & etc. >>> >>>-- >>>Alex Tweedly http://www.tweedly.net >> >> >>Close I now have: >> >>"gData1","gData2","gData3","gData4","gData5 >> >>At least the quotes & comas are in place but the information in the data >>is not getting saved. >> >> >>I used: >> >>put quote & gData1 & quote & comma & quote & gData1 & quote & comma & >>quote & gData1 & quote & comma & quote & gData1 & quote & comma & quote & >>gData1 >> >>Paul Salyers >>PS1 - Senior Rep. >>PS1 at softseven.org >>Http://ps1.SoftSeven.org >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org (918) 465-7426 -- Cell (918) 967-1013 -- Home From webmaster at dreamscapesoftware.com Sat Apr 30 18:36:35 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 30 Apr 2005 17:36:35 -0500 Subject: To Rev or not to Rev In-Reply-To: <42739AA2.CED11616@Club-Internet.fr> References: <42739AA2.CED11616@Club-Internet.fr> Message-ID: <42740873.8090909@dreamscapesoftware.com> > As someone already said, your ISP answer is a way to avoid any depth > analysis of Rev capabilities... It's also the usual answer from ppl who > usually struggle with complex programing environments and who are > bitter to see other ppl developping sophisticated apps 2 to 5 times faster... I agree with this, as I at one time did it myself (I'm so ashamed). I'm a straight HTML coder, and nothing drove me more crazy than seeing someone use FrontPage or Dreamweaver to develop a web site. The scenario is just the same as someone writing a C++ app in 1 month and me writing the same app with Rev in just a few days. A little animosity. I now more or less don't care what one uses to develop a program, just as long as the final "result" is a decent program that is creative and solves a problem. And though I don't understand OOP, I do appreciate you fine folks trying to explain it to me. I guess I am forever convinced that xTalk is as object oriented as a language can get.... put key in ignition rotate key 120 degrees rotate key -120 degrees apply pressure to accelerator -- It all just "looks" like objects to me :) Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From webmaster at dreamscapesoftware.com Sat Apr 30 18:42:29 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 30 Apr 2005 17:42:29 -0500 Subject: throw vs the result In-Reply-To: <052e8a03f505a95e3b8985d25f783197@swcp.com> References: <052e8a03f505a95e3b8985d25f783197@swcp.com> Message-ID: <427409D5.7070609@dreamscapesoftware.com> Dar Scott wrote: > I was wondering what people prefer as far as "fatal" errors in executing > a custom command, such as in a library. > > Should that be in a non-empty value returned by result()? > > Or should that cause some error message to the thrown? > > Or does it depend on the error? > > Dar > I will tell you what I prefer, put it all into the result. My reason: I hate the idea that a custom library, or even the Rev IDE, will not allow my script to continue because it ran into an error doing something. For Example: When someone tries to modify an image with JPEGCompress, sometimes the IDE hick ups and spits out the "can't open file (or mask file)" error and stops my script completely. This is extremely annoying when it could just return that same error in a result which my script could test for and decide what to do. It's just easier on the target and gives the programmer more control. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From irog at mac.com Sat Apr 30 19:02:58 2005 From: irog at mac.com (Roger Guay) Date: Sat, 30 Apr 2005 16:02:58 -0700 Subject: Sorting Multiple Fields Message-ID: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> I have 6 list fields side-by-side each with the same number of lines, with synchronized scrolling and synchronized hilitedLines. Is there an easy way to sort the first field and have the data in the other fields follow the sort. That is to sort the whole group on the first field? Thanks, Roger From stephenREVOLUTION at barncard.com Sat Apr 30 19:10:02 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 30 Apr 2005 16:10:02 -0700 Subject: Sorting Multiple Fields In-Reply-To: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> References: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> Message-ID: Is there a certain reason you have to use synchronized fields at all? Won't tabbed fields work better for you, or are you doing a lot of stuff with column math? sqb At 4:02 PM -0700 4/30/05, Roger Guay wrote: >I have 6 list fields side-by-side each with the same number of >lines, with synchronized scrolling and synchronized hilitedLines. >Is there an easy way to sort the first field and have the data in >the other fields follow the sort. That is to sort the whole group >on the first field? > >Thanks, Roger From soapdog at mac.com Sat Apr 30 19:27:55 2005 From: soapdog at mac.com (Andre Garzia) Date: Sat, 30 Apr 2005 20:27:55 -0300 Subject: about Rev XML libs and XSLT files... Message-ID: Hi Folks, trying not to reinvent the wheel here, can RevXML library transform a given XML using a XSLT file or I'll have to write code for that (or maybe shell to some tool who can..) cheers andre -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From soapdog at mac.com Sat Apr 30 19:31:39 2005 From: soapdog at mac.com (Andre Garzia) Date: Sat, 30 Apr 2005 20:31:39 -0300 Subject: throw vs the result In-Reply-To: <052e8a03f505a95e3b8985d25f783197@swcp.com> References: <052e8a03f505a95e3b8985d25f783197@swcp.com> Message-ID: <55211be5e6b674a25917352ab63acf82@mac.com> On Apr 30, 2005, at 6:22 PM, Dar Scott wrote: > I was wondering what people prefer as far as "fatal" errors in > executing a custom command, such as in a library. > > Should that be in a non-empty value returned by result()? > > Or should that cause some error message to the thrown? > > Or does it depend on the error? > > Dar Dar, my convention is: * Use return codes if the error is not a critical one. more like a mistake then an error. * Use throw if the error is a karma-burning pyrotechinical mayhem from hell. This way I can split my code inside a Try/Catch structure, inside the try clause I work the code fine taking notice of possible mistakes and avoiding them. If something really wrong happens then the catch block will take care of it. This makes my code more manageable. Also it brings a distinction between errors and mistakes/warnings which I think is good. Cheers andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From mwieder at ahsoftware.net Sat Apr 30 19:38:36 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Apr 2005 16:38:36 -0700 Subject: Rev & OOP In-Reply-To: <6e009cc43adbe1242effe8cc2d14f5b1@danshafer.com> References: <6.2.1.2.1.20050430070924.01e0adb8@pop3.pon.net> <6e009cc43adbe1242effe8cc2d14f5b1@danshafer.com> Message-ID: <15730129473.20050430163836@ahsoftware.net> Dan- Saturday, April 30, 2005, 11:31:09 AM, you wrote: DS> world around me in terms of objects. From a programming perspective, I DS> find myself always more comfortable dealing with objects in the sense DS> in which Smalltalk and Java (and decidedly NOT C++) think about them. I'm in agreement with everything you said there (and I'm quite shocked to hear myself say something like that) except for the following: OOPness in java and in C++ is very much in the same "sense" if you're actually programming C++ as C++ and not as "a better C". I, on the other hand, have too much baggage of years of C programming behind me to do this properly. Java forces this on you while C++ lets it slide. Now, having said that and still having the floor, there are some elements of OOP in transcript as it is today: message inheritance is done right, even though you can't subclass objects (I'd *love* to be able to do that); polymorphism can, of course, be applied to any language - it's just a matter of how much work a given language requires to implement it; encapsulation is... well... you can fake it with custom properties. ...and I'm really taken with the eclipse IDE, especially with the jUnit plugin. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Apr 30 19:54:00 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Apr 2005 16:54:00 -0700 Subject: Filter In-Reply-To: <427359EB.3090603@tweedly.net> References: <42734F20.2050207@ehug.info> <427359EB.3090603@tweedly.net> Message-ID: <18431053232.20050430165400@ahsoftware.net> Alex- Saturday, April 30, 2005, 3:11:55 AM, you wrote: AT> You're using "filter" as though it tok any normal Regular Epression. It AT> doesn't - only I'm constantly running up against this one, too, so I just filed bugzilla #2805 for regex extensions in the filter command. http://support.runrev.com/bugdatabase/show_bug.cgi?id=2805 -- -Mark Wieder mwieder at ahsoftware.net ...also - you misspelled "espresso" From alex at tweedly.net Sat Apr 30 19:54:12 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 01 May 2005 00:54:12 +0100 Subject: Sorting Multiple Fields In-Reply-To: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> References: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> Message-ID: <42741AA4.504@tweedly.net> Roger Guay wrote: > I have 6 list fields side-by-side each with the same number of > lines, with synchronized scrolling and synchronized hilitedLines. > Is there an easy way to sort the first field and have the data in the > other fields follow the sort. That is to sort the whole group on the > first field? > Seems like there should be an easy way, doesn't it :-) but I couldn't think of one when I did something similar recently - here's what I came up with is (with 3 fields to save me typing) > set the itemDel to TAB > put 0 into ct > put empty into temp > repeat for each line L in field "F1" > put L & TAB & line ct of field "F2" & TAB & line ct of field "F3" > & cr after temp > add 1 to ct > end repeat > sort temp > put empty into field "F1" > put empty into field "F2" > put empty into field "F3" > repeat for each line L in temp > put item 1 of L & cr after field "F1" > put item 2 of L & cr after field "F2" > put item 3 of L & cr after field "F3" > end repeat > Note - it would be faster to copy the whole of each field into a variable before doing something like the above - then copying the whole variable back at the end; only worth it if these are very large fields. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005 From dsc at swcp.com Sat Apr 30 19:58:12 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 30 Apr 2005 17:58:12 -0600 Subject: throw vs the result In-Reply-To: <55211be5e6b674a25917352ab63acf82@mac.com> References: <052e8a03f505a95e3b8985d25f783197@swcp.com> <55211be5e6b674a25917352ab63acf82@mac.com> Message-ID: <9eeb4a3c59168b853152afdfe9357cf8@swcp.com> On Apr 30, 2005, at 5:31 PM, Andre Garzia wrote: > my convention is: > * Use return codes if the error is not a critical one. more like a > mistake then an error. > * Use throw if the error is a karma-burning pyrotechinical mayhem from > hell. I suppose if a library only used results you could do this: moveRobot robotName, plan if critical(the result) then throw "kbpm from hell" Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From dcragg at lacscentre.co.uk Sat Apr 30 20:06:17 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 1 May 2005 01:06:17 +0100 Subject: Sorting Multiple Fields In-Reply-To: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> References: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> Message-ID: On 1 May 2005, at 00:02, Roger Guay wrote: > I have 6 list fields side-by-side each with the same number of lines, > with synchronized scrolling and synchronized hilitedLines. Is there > an easy way to sort the first field and have the data in the other > fields follow the sort. That is to sort the whole group on the first > field? > One way is to keep a "master copy" of the data with tab-separated columns. You can store this in a custom property. When you need to sort, sort the master copy and then run a routine to re-display the data in the separate fields. This is what I usually do for tables made of synchronized scrolling fields. Cheers Dave From kray at sonsothunder.com Sat Apr 30 20:36:18 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 30 Apr 2005 19:36:18 -0500 Subject: Sorting Multiple Fields In-Reply-To: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> Message-ID: On 4/30/05 6:02 PM, "Roger Guay" wrote: > I have 6 list fields side-by-side each with the same number of > lines, with synchronized scrolling and synchronized hilitedLines. > Is there an easy way to sort the first field and have the data in the > other fields follow the sort. That is to sort the whole group on the > first field? Easiest way is to use a single field with tabstops set for the different columns. That way, it's all in one field and can be sorted like this: put fld "Data" into tData set the itemDel to tab sort lines of tData by item 1 of each put tData into fld "Data" Or, if you don't have a lot of data, you can do it directly with the field: sort lines of fld "Data" by item 1 of each HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dsc at swcp.com Sat Apr 30 22:53:00 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 30 Apr 2005 20:53:00 -0600 Subject: throw vs the result In-Reply-To: <427409D5.7070609@dreamscapesoftware.com> References: <052e8a03f505a95e3b8985d25f783197@swcp.com> <427409D5.7070609@dreamscapesoftware.com> Message-ID: <56520292e34874001229af7981a80e03@swcp.com> On Apr 30, 2005, at 4:42 PM, Derek Bump wrote: > I will tell you what I prefer, put it all into the result. My reason: > I hate the idea that a custom library, or even the Rev IDE, will not > allow my script to continue because it ran into an error doing > something. I understand. Some folks like the throw, so they don't have to bubble error results all the way up a series of calls, especially with functions. They prefer to use a try-catch at the top. Thanks, so much for your comments. Dar From dsc at swcp.com Sat Apr 30 23:01:12 2005 From: dsc at swcp.com (Dar Scott) Date: Sat, 30 Apr 2005 21:01:12 -0600 Subject: throw vs the result In-Reply-To: <052e8a03f505a95e3b8985d25f783197@swcp.com> References: <052e8a03f505a95e3b8985d25f783197@swcp.com> Message-ID: <75074f0e6ca8057e8a972d5f5c1a890d@swcp.com> On Apr 30, 2005, at 3:22 PM, Dar Scott wrote: > I was wondering what people prefer as far as "fatal" errors in > executing a custom command, such as in a library. > > Should that be in a non-empty value returned by result()? > Or should that cause some error message to the thrown? > Or does it depend on the error? OK, well, what about a library that exports lots of functions, such as a math library? Functions don't have a separate result for an error. Should the error be a special value in the result and propagated through? Or should an error function tell whether there was an error since the last call to error function? Or should an error be thrown? Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ********************************************** From jacque at hyperactivesw.com Sat Apr 30 23:05:03 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Apr 2005 22:05:03 -0500 Subject: saving settings. In-Reply-To: <6.1.1.1.2.20050430165017.02aeaa18@softseven.org> References: <6.1.1.1.2.20050430161738.031050f8@softseven.org> <4273FB95.3020708@tweedly.net> <6.1.1.1.2.20050430165017.02aeaa18@softseven.org> Message-ID: <4274475F.3030804@hyperactivesw.com> On 4/30/05 4:53 PM, Paul Salyers wrote: > Close I now have: > > "gData1","gData2","gData3","gData4","gData5 > > At least the quotes & comas are in place but the information in the data > is not getting saved. > > > I used: > > put quote & gData1 & quote & comma & quote & gData1 & quote & comma & > quote & gData1 & quote & comma & quote & gData1 & quote & comma & quote > & gData1 When you get the name of the variable instead of the contents, it is almost always because nothing has been put into the variable to initialize it. Your variable names start with "g" -- are they intended as global variables? Are they declared as globals? Also, try this in the message box: global gData1;put gData1 Does the message box show a value? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 30 23:43:38 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Apr 2005 22:43:38 -0500 Subject: Sorting Multiple Fields In-Reply-To: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> References: <9B937726-CB01-4EA4-A049-434993C903D0@mac.com> Message-ID: <4274506A.9050503@hyperactivesw.com> On 4/30/05 6:02 PM, Roger Guay wrote: > I have 6 list fields side-by-side each with the same number of lines, > with synchronized scrolling and synchronized hilitedLines. Is there an > easy way to sort the first field and have the data in the other fields > follow the sort. That is to sort the whole group on the first field? If you want to twist your brain in knots, you can sort using a function: local lKeyData, lLineCounter on sortBy keyField -- parallel sorting of linked flds put fld keyField into lKeyData put "data1,data2,data3" into dataFields -- fill in your fld names here repeat with i = 1 to the number of items of dataFields put 0 into lLineCounter -- must be reset prior to each sort sort lines of fld (item i of dataFields) by key() end repeat end sortBy function key add 1 to lLineCounter return line lLineCounter of lKeyData end key Based on an old HyperCard script by Brett Sher. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmond at mail.maclaunch.com Fri Apr 29 12:14:29 2005 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri, 29 Apr 2005 16:14:29 -0000 Subject: What price forgiveness? - Jim Cawardine Message-ID: Dear Jim Cawardine, I'm awfully soory if my "Philosopical Point" upset you -that was not my intention - I was stating my opinion in a civilized fashion. Some of us have stated points previously in rather rougher fashions (no, surely not ???) and been 'smacked' for that. The naughty boy may, just, have learnt his lesson (note jolly phrase inside quotes on first page of Richmond's web page - self-mockery is usually a sign of strength). I do hope you (while feeling free to express your opinion) don't suffer from a sufficiently anti-democratic spirit as to try and squash my opinions. I have come to respect Runtime Revolution's decision to go completely commercial - respect, but beg to disagree - all very civilized and grown-up. So, Jim, let's agree to disagree and not tread on each other's corns. Re the lack of documentation re all those awful files I uploaded - sorry about that; I have had an awful lot on my plate recently - In due course I trust I will see my way clear to proper documentation. My main problem at the moment is that my older son cannot for the life of him get his head round chords as part of his Solfeggio classes (a large component in musical education in Bulgaria) - so this weekend (Easter for those of the Orthodox persuasion) will largely be devoted to getting my head round a chord recognition program: and . . . I will bung the source code up for all you happy Runtime Revolution Afficionados just as soon as it is done. Love, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear ---------------------------------------------------------------